/* ═══════════════════════════════════════════════════════════
   Tropland Universe — LLM Documentation Stylesheet
   Static pages · No JavaScript · No Tailwind dependency
   ═══════════════════════════════════════════════════════════ */

:root {
  --brand-deep: #0D0A1A;
  --brand-purple: #1B0E36;
  --brand-cream: #F5F0EB;
  --brand-text: #F0ECE4;
  --brand-text-muted: #9A9490;
  --brand-dark-text: #1A1A1A;
  --brand-accent: #E85D3A;
  --brand-border: #2A2040;
  --brand-border-light: #D6CFC6;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Roboto', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--brand-deep);
  color: var(--brand-text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
}

/* ── Navigation ─────────────────────────────────────────── */

.doc-nav {
  max-width: 740px;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

.doc-nav-inner {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--brand-border);
}

.doc-nav-brand {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--brand-text);
  text-decoration: none;
  margin-right: 1rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.doc-nav-brand:hover {
  opacity: 1;
}

.doc-nav-sep {
  color: var(--brand-text-muted);
  opacity: 0.3;
  margin-right: 1rem;
  user-select: none;
}

.doc-nav-links {
  display: flex;
  gap: 0.15rem;
  flex-wrap: wrap;
  list-style: none;
}

.doc-nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--brand-text-muted);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.doc-nav-links a:hover {
  color: var(--brand-text);
  background: rgba(255,255,255,0.05);
}

.doc-nav-links a.active {
  color: var(--brand-accent);
  background: rgba(232,93,58,0.08);
}

/* ── Main Content ───────────────────────────────────────── */

.doc-main {
  max-width: 740px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

h1 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--brand-text);
  margin-bottom: 1.75rem;
}

h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--brand-text);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: rgba(240,236,228,0.78);
}

strong {
  color: var(--brand-text);
  font-weight: 500;
}

a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.75;
}

/* ── Key Facts Box ──────────────────────────────────────── */

.key-facts {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.25rem;
}

.key-facts-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 0.75rem;
}

.key-facts ul {
  list-style: none;
  padding: 0;
}

.key-facts li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: rgba(240,236,228,0.85);
}

.key-facts li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--brand-accent);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.5;
}

/* ── Content Lists ──────────────────────────────────────── */

.doc-main ul:not(.key-facts ul):not(.doc-nav-links) {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.doc-main ul:not(.key-facts ul):not(.doc-nav-links) li {
  margin-bottom: 0.35rem;
  color: rgba(240,236,228,0.78);
}

/* ── FAQ ────────────────────────────────────────────────── */

.faq-item {
  margin-bottom: 2rem;
}

.faq-item h2 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--brand-text);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 0.95rem;
}

/* ── Boilerplate Block (Press Kit) ──────────────────────── */

.boilerplate {
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--brand-accent);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 0 8px 8px 0;
}

.boilerplate p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ── Contact Block ──────────────────────────────────────── */

.contact-block {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(232,93,58,0.05);
  border: 1px solid rgba(232,93,58,0.15);
  border-radius: 10px;
}

.contact-block p {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

/* ── Footer ─────────────────────────────────────────────── */

.doc-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--brand-border);
  font-size: 0.8rem;
  color: var(--brand-text-muted);
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  .doc-main { padding: 2rem 1.25rem 3rem; }
  .doc-nav { padding: 1.5rem 1.25rem 0; }
}
