/* xNAUT product site — instrument black × beacon amber */

@font-face { font-family: 'Space Grotesk'; src: url('../fonts/space-grotesk.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #0A0B0D;
  --panel: #101216;
  --panel-deep: #0D0F12;
  --line: #1A1D22;
  --line-strong: #262A31;
  --border-card: #1E2127;
  --text: #ECEDEF;
  --text-soft: #B7BCC4;
  --muted: #878E99;
  --faint: #5C626C;
  --amber: #F5B840;
  --amber-ink: #16130A;
  --green: #3DD68C;
  --red: #E5484D;
  --sans: 'Inter', system-ui, sans-serif;
  --disp: 'Space Grotesk', var(--sans);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--disp); letter-spacing: -0.02em; }
.mono { font-family: var(--mono); }
.amber { color: var(--amber); }
.green { color: var(--green); }
.red { color: var(--red); }
.dim { color: var(--muted); }
.dim2 { color: var(--faint); }
.muted { color: var(--faint); }
.fine { font-size: 12.5px; color: var(--faint); }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot.lg { width: 8px; height: 8px; }
.dot-amber { background: var(--amber); }
.dot-green { background: var(--green); }
.dot-red { background: var(--red); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; font-weight: 600; font-size: 16px; padding: 14px 28px; transition: filter .15s, background .15s; }
.btn:hover { filter: brightness(1.08); }
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-ghost { border: 1px solid #2A2E36; color: var(--text-soft); background: var(--panel); font-weight: 500; }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 8px; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border: 1px solid #2A2E36; border-radius: 999px; background: var(--panel); font-size: 12px; color: var(--text-soft); letter-spacing: .04em; }
.pill-xs { gap: 6px; padding: 5px 10px; font-size: 11px; background: none; letter-spacing: 0; white-space: nowrap; }
.badge-nobody { gap: 8px; color: var(--muted); }
.badge-nobody .nobody-mark { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; background: var(--amber); color: var(--amber-ink); border-radius: 4px; font-weight: 700; font-size: 12px; }
.badge-nobody .amber { font-weight: 600; }
.badge-nobody .sep { color: var(--faint); }

/* ---- nav ---- */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 72px; border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: var(--amber); border-radius: 7px; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--amber-ink); }
.logo-mark.sm { width: 22px; height: 22px; font-size: 10px; border-radius: 5px; }
.logo-name { font-family: var(--disp); font-size: 18px; font-weight: 600; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 36px; }
.nav-actions { gap: 14px; }
.nav a:not(.btn):not(.logo) { font-size: 14px; font-weight: 500; color: var(--text-soft); }
.nav a:not(.btn):hover { color: var(--text); }
.icon-link { display: inline-flex; align-items: center; padding: 8px; border-radius: 8px; }
.icon-link:hover { background: var(--panel); }
.gh-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #2A2E36; border-radius: 8px; font-size: 13px !important; background: var(--panel); }
.gh-pill:hover { border-color: #3A3E46; }

/* ---- hero ---- */
.hero { display: flex; flex-direction: column; align-items: center; padding: 96px 72px 0; gap: 28px; text-align: center; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; max-width: 900px; }
.hero .sub { font-size: 19px; color: var(--muted); line-height: 1.58; max-width: 640px; }
.cta-row { display: flex; align-items: center; gap: 16px; padding-top: 8px; flex-wrap: wrap; justify-content: center; }
.footnote { font-size: 13px; color: var(--faint); }

/* ---- terminal mock ---- */
.term { width: min(1100px, 100%); margin-top: 40px; background: var(--panel); border: 1px solid var(--line-strong); border-bottom: none; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 -20px 80px rgba(245,184,64,.06); text-align: left; }
.term-chrome { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border-card); background: var(--panel-deep); }
.term-lights { display: flex; gap: 8px; width: 250px; flex-shrink: 0; }
.term-lights i { width: 12px; height: 12px; border-radius: 50%; background: #3A3E46; }
.term-tabs { display: flex; gap: 6px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 7px; font-size: 12px; color: #6B7079; }
.tab .dot { width: 6px; height: 6px; }
.tab-active { background: #1A1D23; color: var(--text); font-weight: 500; }
.term-agents { display: flex; gap: 8px; width: 250px; flex-shrink: 0; justify-content: flex-end; }
.term-agents .pill-xs { border: 1px solid #2A2E36; border-radius: 999px; color: var(--text-soft); }
.term-panes { display: flex; height: 330px; }
.pane { padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 22px; }
.pane-main { flex: 1; border-right: 1px solid var(--border-card); }
.pane-side { width: 400px; flex-shrink: 0; }
.ln { white-space: pre-wrap; }
.ln.dim { color: var(--muted); }
.ln.label { font-size: 12px; color: var(--faint); }
.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---- stats ---- */
.stats { display: flex; justify-content: center; padding: 56px 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel-deep); }
.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 296px; text-align: center; }
.stat + .stat { border-left: 1px solid #23262C; }
.stat b { font-family: var(--disp); font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---- sections ---- */
.section { padding: 110px 72px; }
.kicker { font-size: 13px; font-weight: 500; color: var(--amber); letter-spacing: .08em; margin-bottom: 16px; }
.section h2 { font-size: clamp(32px, 3.5vw, 44px); font-weight: 700; line-height: 1.14; }
.body { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 660px; margin-top: 16px; }
.body.center { margin-left: auto; margin-right: auto; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.section-head.split h2 { max-width: 620px; }
.section-aside { font-size: 16px; color: var(--muted); line-height: 1.63; max-width: 400px; }

/* ---- feature grid ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: var(--panel); border: 1px solid var(--border-card); border-radius: 14px; }
.card-hl { border-color: #2A2E36; }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.59; }
.card-visual { display: flex; align-items: center; gap: 8px; min-height: 22px; font-size: 14px; font-weight: 500; color: var(--muted); }
.swatches i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; margin-right: 6px; }
.nodes { gap: 0; font-size: 11px; }
.node { padding: 5px 12px; border: 1px solid #2A2E36; border-radius: 7px; background: var(--panel-deep); color: var(--muted); white-space: nowrap; }
.node-amber { border-color: #6B5320; background: var(--amber-ink); color: var(--amber); }
.edge { width: 16px; height: 1px; background: #3A3E46; flex-shrink: 0; }
.label { font-size: 11px; color: var(--faint); }
.mcp { flex-direction: row; align-items: center; gap: 56px; margin-top: 20px; border-color: #2A2E36; }
.mcp-copy { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.mcp-copy h3 { font-size: 24px; }
.mcp-copy p { font-size: 15px; }
.mcp-snippet { flex-shrink: 0; width: 460px; max-width: 100%; background: var(--panel-deep); border: 1px solid var(--border-card); border-radius: 10px; padding: 20px 24px; font-size: 12.5px; line-height: 21px; color: var(--text-soft); overflow-x: auto; }
@media (max-width: 1080px) { .mcp { flex-direction: column; align-items: stretch; } .mcp-snippet { width: 100%; } }

/* ---- proof of work ---- */
.pow { display: flex; align-items: center; gap: 80px; padding-top: 130px; padding-bottom: 130px; }
.pow-copy { flex: 1; }
.checks { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.checks li { font-size: 15px; color: var(--text-soft); padding-left: 30px; position: relative; }
.checks li::before { content: '✓'; position: absolute; left: 0; font-family: var(--mono); color: var(--amber); }
.receipt { width: 520px; flex-shrink: 0; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; font-size: 13px; }
.receipt-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--border-card); background: var(--panel-deep); font-weight: 500; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border: 1px solid #2E4B36; border-radius: 999px; background: #121A15; font-size: 11px; font-weight: 500; color: var(--green); }
.badge .dot { width: 6px; height: 6px; }
.receipt-rows { padding: 10px 24px; }
.rr { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text-soft); }
.rr span:last-child { color: var(--text); }
.rr-total { border-bottom: none; font-weight: 600; }
.rr-total span:first-child { color: var(--text); }
.receipt-foot { display: flex; justify-content: space-between; padding: 16px 24px; border-top: 1px solid var(--border-card); background: var(--panel-deep); font-size: 11px; color: var(--faint); }

/* ---- local-first AI ---- */
.ai { text-align: center; border-top: 1px solid var(--line); background: var(--panel-deep); }
.ai h2 { max-width: 760px; margin: 0 auto; }
.providers { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 40px; }
.prov { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1px solid #22252B; border-radius: 10px; font-size: 13px; color: var(--muted); }
.prov-local { border-color: #2A2E36; background: var(--panel); color: var(--text); }
.prov em { font-style: normal; font-size: 11px; color: var(--faint); }

/* ---- comparison ---- */
.compare { border-top: 1px solid var(--line); }
.compare .section-head { margin-bottom: 56px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border-card); border-radius: 14px; background: var(--panel-deep); }
.cmp { width: 100%; border-collapse: collapse; font-size: 13px; }
.cmp th, .cmp td { padding: 16px 12px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp td:first-child { text-align: left; padding-left: 24px; font-family: var(--sans); font-size: 14.5px; font-weight: 500; color: var(--text); min-width: 220px; }
.cmp th { font-family: var(--disp); font-size: 15px; font-weight: 600; color: var(--text-soft); padding: 18px 12px; }
.cmp td { color: var(--muted); }
.cmp td:not(.me):not(:first-child) { color: var(--faint); }
.cmp .me { background: var(--amber-ink); color: var(--amber); font-weight: 600; width: 200px; }
.cmp th.me { color: var(--amber); font-weight: 700; border-top: 2px solid var(--amber); }
.punchline { margin-top: 56px; }
.punchline p { font-family: var(--disp); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.45; max-width: 980px; }
.punchline .fine { font-family: var(--sans); font-weight: 400; padding-top: 10px; }

/* ---- final CTA / footer ---- */
.final { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 140px 72px; border-top: 1px solid var(--line); text-align: center; }
.final h2 { font-size: clamp(38px, 4.5vw, 56px); letter-spacing: -0.025em; max-width: 800px; }
.footer { display: flex; align-items: center; justify-content: space-between; padding: 28px 72px; border-top: 1px solid var(--line); }
.footer .logo { gap: 10px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ---- FAQ ---- */
.faq { border-top: 1px solid var(--line); background: var(--panel-deep); }
.faq .section-head { margin-bottom: 24px; text-align: center; }
.faq .section-head .body { margin-left: auto; margin-right: auto; }
.faq-list { max-width: 780px; margin: 40px auto 0; }
.faq-list details { border-top: 1px solid var(--line-strong); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; cursor: pointer; padding: 26px 4px; font-family: var(--disp); font-size: 19px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; transition: color .15s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '❯'; font-family: var(--mono); font-size: 15px; font-weight: 400; color: var(--faint); flex-shrink: 0; width: 24px; text-align: center; transform: rotate(90deg); transition: transform .2s, color .15s; }
.faq-list details[open] summary::after { transform: rotate(-90deg); color: var(--amber); }
.faq-list summary:hover { color: var(--amber); }
.faq-list summary:hover::after { color: var(--amber); }
.faq-list details p { padding: 2px 48px 30px 4px; font-size: 16px; color: var(--muted); line-height: 1.75; }
.faq-list details a { color: var(--amber); }
.faq-list details .mono { font-size: 14px; color: var(--text-soft); }

/* ---- legal pages ---- */
.legal { max-width: 760px; margin: 0 auto; padding: 80px 32px 120px; }
.legal h1 { font-size: 40px; font-weight: 700; margin-bottom: 8px; }
.legal .updated { font-family: var(--mono); font-size: 13px; color: var(--faint); margin-bottom: 48px; display: block; }
.legal h2 { font-size: 22px; font-weight: 600; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 15.5px; color: var(--text-soft); line-height: 1.7; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--amber); }
.legal .tldr { background: var(--panel); border: 1px solid var(--border-card); border-left: 3px solid var(--amber); border-radius: 10px; padding: 20px 24px; margin-bottom: 40px; }
.legal .tldr p { margin: 0; color: var(--text); }

/* ---- responsive ---- */
@media (max-width: 1080px) {
  .nav, .hero, .stats, .section, .final, .footer { padding-left: 32px; padding-right: 32px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pow { flex-direction: column; gap: 48px; }
  .receipt { width: 100%; max-width: 520px; }
  .pane-side { width: 300px; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .grid { grid-template-columns: 1fr; }
  .stats { flex-wrap: wrap; gap: 32px; }
  .stat + .stat { border-left: none; }
  .term-agents, .term-lights { width: auto; }
  .term-agents { display: none; }
  .pane-side { display: none; }
  .pane-main { border-right: none; }
}
