/* marketing layer: landing, docs/legal chrome. same tokens as the app; more air,
   bigger type, one amber glow per section max, hairlines instead of shadows. */

@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('./fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2'); }

:root { --font-sans: 'IBM Plex Sans'; --font-mono: 'IBM Plex Mono'; }

.site { min-height: 100%; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 760px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dim { color: var(--ink-2); }

/* type */
.display { font-size: clamp(38px, 6vw, 64px); font-weight: 500; line-height: 1.02; letter-spacing: -0.025em; margin: 14px 0 18px; color: var(--ink-0); }
.site-main h2 { font-size: clamp(26px, 3.2vw, 32px); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; margin: 6px 0 10px; color: var(--ink-0); }
.site-main h3 { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 6px; color: var(--ink-0); }
.lead { font-size: 17px; line-height: 1.55; color: var(--ink-1); max-width: 62ch; margin: 0 0 22px; letter-spacing: -0.005em; }
.lead.small { font-size: 15px; color: var(--ink-2); }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); margin: 0 0 8px; }
.inline-link { color: var(--ink-0); border-bottom: 1px solid var(--line-2); }
.inline-link:hover { border-color: var(--amber); }
.more { display: inline-block; margin-top: 14px; font-size: 13.5px; color: var(--ink-1); }
.more:hover { color: var(--amber); }

/* buttons: primary is near-white, amber is punctuation */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; white-space: nowrap; transition: transform var(--t-fast) var(--ease), background var(--t-std) var(--ease), border-color var(--t-std) var(--ease); }
.btn-primary { background: #e8eaed; color: #0b0d10; }
.btn-primary:hover { transform: translateY(-1px); background: #fff; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink-0); background: transparent; }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.28); background: var(--bg-1); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }


/* hero */
.hero { position: relative; padding: 96px 0 0; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; left: 0; right: 0; top: -10%; height: 720px; pointer-events: none; background: radial-gradient(60% 50% at 50% 0%, var(--amber-glow), transparent 70%); }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(var(--line-1) 1px, transparent 1px) 0 0 / 24px 24px; mask-image: radial-gradient(60% 45% at 50% 0%, #000 20%, transparent 100%); -webkit-mask-image: radial-gradient(60% 45% at 50% 0%, #000 20%, transparent 100%); opacity: 0.7; }
.hero > * { position: relative; z-index: 1; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero-copy .display { max-width: 16ch; }
.hero-copy .lead { text-align: center; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.hero-embed { position: relative; margin: 72px auto 0; border: 1px solid var(--line-1); border-radius: var(--r-card); background: var(--bg-1); overflow: hidden; text-align: left; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 24px 64px -24px rgba(0, 0, 0, 0.7); }

.embed-bar { height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid var(--line-0); font-size: 12px; color: var(--ink-2); background: var(--bg-2); }

.section { position: relative; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line-0); }

.source-row { display: flex; flex-wrap: wrap; gap: 1px; list-style: none; margin: 10px 0 18px; padding: 0; background: var(--line-0); border: 1px solid var(--line-0); border-radius: var(--r-card); overflow: hidden; }

.source-row li { flex: 1 1 180px; background: var(--bg-0); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }

.source-row b { font-weight: 500; color: var(--ink-0); font-size: 14px; }

.source-row span { font-size: 12.5px; color: var(--ink-2); }

/* faq */
.faq-list { margin-top: 18px; border-top: 1px solid var(--line-0); }
.faq-list details { border-bottom: 1px solid var(--line-0); }
.faq-list summary { cursor: pointer; list-style: none; padding: 16px 0; font-size: 16px; color: var(--ink-0); display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-family: var(--mono); color: var(--ink-3); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { margin: 0 0 18px; color: var(--ink-1); line-height: 1.6; font-size: 15px; max-width: 68ch; }

/* cta band */
.cta-band { text-align: center; background: radial-gradient(60% 80% at 50% 100%, var(--amber-glow), transparent 70%); }
.cta-band h2 { margin-bottom: 20px; }

/* Static navigation stays visible at every width. */
.site-header { border-bottom: 1px solid var(--line-0); background: var(--bg-0); }
.site-header-in { max-width: var(--container-wide); margin: auto; padding: 12px var(--gutter); min-height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-family: var(--mono); font-weight: 600; font-size: 12.5px; letter-spacing: 0.12em; color: var(--ink-0); }
.wordmark img { flex: none; }
.wordmark i { font-style: normal; color: var(--amber); }
.site-nav { display: flex; flex-wrap: wrap; gap: 2px; }
.site-nav a { display: inline-flex; align-items: center; padding: 10px 12px; min-height: 44px; border-radius: 6px; color: var(--ink-1); font-size: 14px; }
.site-nav a:hover { color: var(--ink-0); background: var(--bg-2); }
.site-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--amber); }
.btn { min-height: 44px; height: auto; padding-top: 10px; padding-bottom: 10px; }
.status { display: flex; align-items: center; gap: 9px; color: var(--amber); }
.status span { width: 6px; height: 6px; background: var(--amber); border-radius: 50%; }
.hero { padding-bottom: 56px; }
.hero-embed { margin-top: 56px; }
.embed-bar { min-height: 40px; height: auto; gap: 12px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.entry-outline { margin: 0; padding: 8px 24px; }
.entry-outline > div { display: grid; grid-template-columns: 210px 1fr; gap: 14px 28px; padding: 22px 0; border-bottom: 1px solid var(--line-0); }
.entry-outline > div:last-child { border-bottom: 0; }
.entry-outline dt { color: var(--amber); font-family: var(--mono); font-size: 13px; }
.entry-outline dd { margin: 0; color: var(--ink-1); font-size: 16px; line-height: 1.6; max-width: 65ch; }
.outline-note { color: var(--ink-2); font-size: 13px; margin: 16px 0 0; }
.coverage-list { border-top: 1px solid var(--line-1); margin-top: 32px; }
.coverage-list article { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px 48px; padding: 26px 0; border-bottom: 1px solid var(--line-1); }
.coverage-list p { font-size: 16px; line-height: 1.6; color: var(--ink-1); margin: 0; }
.faq-list summary::after { color: var(--ink-2); }
.faq-list a, .prose a { text-decoration: underline; text-underline-offset: 3px; }
.cta-band .lead { margin-left: auto; margin-right: auto; }
.site-footer { border-top: 1px solid var(--line-0); padding: 48px 0 28px; color: var(--ink-2); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand p { line-height: 1.6; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid nav a { min-height: 32px; padding: 4px 0; color: var(--ink-1); }
.footer-grid nav a:hover { color: var(--amber); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-0); font-size: 12px; }
.document { padding: 72px 0 80px; }
.prose { max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--ink-1); }
.prose h1 { color: var(--ink-0); font-weight: 500; font-size: clamp(38px, 6vw, 56px); letter-spacing: -0.025em; line-height: 1.1; margin: 14px 0 22px; }
.site-main .prose h2 { font-size: 24px; margin-top: 36px; }
.prose p { margin: 0 0 18px; }
a, p, dd { overflow-wrap: anywhere; }
section[id] { scroll-margin-top: 24px; }
@media (max-width: 640px) {
  .site-header-in { gap: 0; padding-top: 8px; padding-bottom: 4px; }
  .site-nav { width: 100%; margin-left: -12px; }
  .hero { padding-top: 56px; }
  .hero-embed { margin-top: 40px; }
  .entry-outline { padding: 0 18px; }
  .entry-outline > div, .coverage-list article { grid-template-columns: 1fr; gap: 8px; }
  .entry-outline > div { padding: 20px 0; }
  .embed-bar { font-size: 11px; padding-left: 12px; padding-right: 12px; }
  .hero-ctas { gap: 10px; }
  .cta-band .btn { white-space: normal; overflow-wrap: anywhere; }
  .document { padding-top: 48px; }
  .footer-grid nav a { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
}
