:root{
  --ink:#0b1220; --bg:#f6f7f9; --surface:#ffffff; --surface-2:#f1f2f5;
  --border:#e5e7eb; --border-strong:#d7dae0;
  --text:#111827; --text-2:#5b6472; --text-muted:#8b93a1;
  --accent:#1b3a5c; --accent-ink:#12283f; --accent-bg:#e7edf3;
  --success:#0f7a4d; --success-bg:#e7f6ee;
  --danger:#c0293c; --danger-bg:#fdecef;
  --warn:#a15c00; --warn-bg:#fdf2e0;
  --radius:10px; --radius-lg:16px;
  --shadow-sm: 0 1px 2px rgba(11,18,32,0.05);
  --shadow-md: 0 8px 24px rgba(11,18,32,0.08);
  --shadow-lg: 0 24px 70px rgba(11,18,32,0.18);
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; font-family: var(--font); background: var(--bg); color: var(--text); line-height:1.6; font-size:15px; -webkit-font-smoothing:antialiased; }
a { color: inherit; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
h1,h2,h3,h4 { letter-spacing:-0.015em; margin:0; }
.eyebrow { font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color: var(--accent-ink); }

/* scroll-reveal — deliberately does NOT touch opacity. An earlier version
   started elements at opacity:0 and relied on reveal.js's IntersectionObserver
   to reveal them; a fast/instant scroll (a real trackpad fling, or landing
   mid-page from an anchor link) can skip the frame where the observer would
   have fired, leaving real content permanently invisible. A slide-up-only
   transform still reads as a nice reveal but can never hide the content. */
.reveal { transform: translateY(18px); transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { transform:none; }

/* brand */
.brand { display:flex; align-items:center; gap:9px; text-decoration:none; }
.brand-mark { width:26px; height:26px; flex:none; }
.brand-word { font-size:16px; font-weight:700; color: var(--ink); }
.brand-word b { font-weight:800; }

/* nav */
nav.topnav {
  position: sticky; top:0; z-index:40; background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
nav.topnav .container { display:flex; align-items:center; justify-content:space-between; height:64px; }
nav.topnav .links { display:flex; align-items:center; gap:28px; font-size:14px; font-weight:600; color: var(--text-2); }
nav.topnav .links a:hover { color: var(--text); }
nav.topnav .links a.current { color: var(--accent-ink); }
nav.topnav .cta { display:flex; align-items:center; gap:10px; }
.nav-toggle { display:none; background:none; border:none; cursor:pointer; padding:6px; margin:-6px 0 -6px 2px; color: var(--text); }
.nav-toggle svg { width:22px; height:22px; display:block; }

/* buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 20px; border-radius:9px; font-weight:700; font-size:14px; text-decoration:none; border:1px solid var(--border-strong); background:var(--surface); color:var(--text); cursor:pointer; transition: all .15s ease; }
.btn:hover { border-color:#c7cbd4; background:var(--surface-2); transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color:#fff; box-shadow: var(--shadow-sm); }
.btn.primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn.lg { padding:14px 26px; font-size:15px; border-radius:11px; }
.btn.ghost { border-color: transparent; background: transparent; }

/* hero — a faint ledger-line grid stands in for the usual soft gradient
   blob; it nods at "bound book" instead of looking like a generic template */
.hero { padding: 92px 0 60px; position:relative; overflow:hidden; }
.hero::before {
  content:""; position:absolute; top:0; right:0; bottom:0; width:58%; z-index:0; pointer-events:none;
  background-image:
    repeating-linear-gradient(0deg, rgba(27,58,92,0.07) 0, rgba(27,58,92,0.07) 1px, transparent 1px, transparent 44px),
    repeating-linear-gradient(90deg, rgba(27,58,92,0.07) 0, rgba(27,58,92,0.07) 1px, transparent 1px, transparent 44px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 32%, #000 88%, transparent);
}
.hero .container { position:relative; z-index:1; }
.hero-grid { display:grid; grid-template-columns: 1.1fr 1fr; gap:56px; align-items:center; }
.hero h1 { font-size:46px; font-weight:800; line-height:1.1; margin:14px 0 18px; }
.hero p.lead { font-size:17.5px; color: var(--text-2); max-width:500px; margin:0 0 26px; }
.hero .cta-row { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:20px; }
.hero .fineprint { font-size:12.5px; color: var(--text-muted); margin-bottom:22px; }

.trust-chips { display:flex; flex-wrap:wrap; gap:8px; }
.trust-chip { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600; color: var(--text-2); background: var(--surface); border:1px solid var(--border); padding:6px 11px; border-radius:999px; }
.trust-chip svg { width:12px; height:12px; flex:none; color: var(--accent-ink); }

/* mock browser window */
.mock-wrap { animation: mockIn 0.9s cubic-bezier(.2,.7,.3,1) both; animation-delay:.15s; }
@keyframes mockIn { from { opacity:0; transform: translateY(24px) scale(.98); } to { opacity:1; transform:none; } }
.mock { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border:1px solid var(--border); overflow:hidden; }
.mock-bar { background: var(--ink); padding:10px 14px; display:flex; align-items:center; gap:10px; }
.mock-dots { display:flex; gap:6px; }
.mock-dot { width:10px; height:10px; border-radius:50%; background:#3a3f55; }
.mock-urlbar { flex:1; background: rgba(255,255,255,0.08); border-radius:6px; padding:5px 10px; font-size:11px; color:#aeb4c8; display:flex; align-items:center; gap:6px; }
.mock-body { padding:20px; }
.mock-row { display:flex; align-items:center; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--border); font-size:12.5px; }
.mock-row:last-child { border-bottom:none; }
.mock-serial { font-family: ui-monospace, Menlo, monospace; color: var(--text-2); }
.mock-tag { font-size:10.5px; font-weight:700; padding:3px 8px; border-radius:999px; }
.mock-tag.ok { background: var(--success-bg); color: var(--success); }
.mock-tag.flag { background: var(--warn-bg); color: var(--warn); }
.mock-tag.acc { background: var(--accent-bg); color: var(--accent-ink); }
.mock-stats { display:grid; grid-template-columns: repeat(3,1fr); gap:10px; margin-bottom:16px; }
.mock-stat { background: var(--surface-2); border-radius:9px; padding:10px 12px; }
.mock-stat b { display:block; font-size:18px; }
.mock-stat span { font-size:11px; color: var(--text-2); }
.mock-banner { background: var(--accent-bg); color: var(--accent-ink); font-size:11.5px; font-weight:600; padding:8px 10px; border-radius:8px; margin-bottom:14px; display:flex; align-items:center; gap:7px; }
.mock-banner svg { width:14px; height:14px; flex:none; }

/* sections */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
.section-head { max-width:640px; margin: 0 auto 46px; text-align:center; }
.section-head h2 { font-size:33px; font-weight:800; margin:10px 0 12px; }
.section-head p { color: var(--text-2); font-size:15.5px; }

/* features */
.features-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:18px; }
.feature-card { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg); padding:22px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.feature-icon { width:38px; height:38px; border-radius:10px; background: var(--accent-bg); color: var(--accent-ink); display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.feature-icon svg { width:19px; height:19px; }
.feature-card h3 { font-size:15.5px; margin-bottom:7px; }
.feature-card p { font-size:13.5px; color: var(--text-2); margin:0; }

/* security band */
.security-band { background: var(--surface-2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.security-grid { display:grid; grid-template-columns: repeat(5, 1fr); gap:16px; }
.security-card { text-align:center; }
.security-icon { width:44px; height:44px; margin:0 auto 12px; border-radius:12px; background: var(--surface); border:1px solid var(--border); color: var(--accent-ink); display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-sm); }
.security-icon svg { width:20px; height:20px; }
.security-card h4 { font-size:13px; margin-bottom:5px; text-transform:none; letter-spacing:normal; color: var(--text); }
.security-card p { font-size:12.5px; color: var(--text-2); margin:0; }

/* honest band */
.honest-band { background: var(--ink); color:#e7e9f5; }
.honest-band .container { display:grid; grid-template-columns: 1fr 1fr; gap:40px; align-items:center; }
.honest-band h2 { color:#fff; font-size:27px; margin-bottom:12px; }
.honest-band p { color:#b6bad2; font-size:14.5px; }
.honest-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.honest-list li { display:flex; gap:10px; font-size:14px; color:#dfe1f2; }
.honest-list li b { color:#fff; }

/* founder note */
.note-card { max-width:760px; margin:0 auto; background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg); padding:34px 38px; box-shadow: var(--shadow-sm); position:relative; }
.note-card .mark { font-size:44px; color: var(--accent-bg); position:absolute; top:18px; left:26px; font-family: Georgia, serif; line-height:1; }
.note-card p.body { font-size:16px; color: var(--text); margin:8px 0 18px; padding-left:6px; }
.note-card .sig { font-size:13px; color: var(--text-2); font-weight:600; }

/* comparison (paper vs nexus, two-column) */
.compare { display:grid; grid-template-columns: 1fr 1fr; gap:0; border:1px solid var(--border); border-radius: var(--radius-lg); overflow:hidden; background:var(--surface); box-shadow: var(--shadow-sm); }
.compare > div { padding:28px 30px; }
.compare .paper { background: var(--surface-2); }
.compare h4 { font-size:13px; text-transform:uppercase; letter-spacing:0.04em; color: var(--text-2); margin-bottom:16px; }
.compare ul { margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:11px; font-size:13.5px; }
.compare .paper li { color: var(--text-2); }
.compare .nexus li { color: var(--text); font-weight:600; }
.compare li::before { content:"—"; margin-right:8px; color: var(--text-muted); }
.compare .nexus li::before { content:"✓"; color: var(--success); font-weight:800; }

/* pricing */
.pricing-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; align-items:stretch; }
.plan { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg); padding:28px 26px; display:flex; flex-direction:column; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.popular { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg), var(--shadow-md); position:relative; }
.plan.popular::before { content:"Most popular"; position:absolute; top:-12px; left:26px; background:var(--accent); color:#fff; font-size:11px; font-weight:700; padding:4px 10px; border-radius:999px; }
.plan h3 { font-size:16px; margin-bottom:4px; }
.plan .price { font-size:34px; font-weight:800; margin:14px 0 2px; }
.plan .price span { font-size:14px; font-weight:600; color: var(--text-2); }
.plan .desc { font-size:13px; color: var(--text-2); margin-bottom:18px; }
.plan ul { list-style:none; margin:0 0 22px; padding:0; display:flex; flex-direction:column; gap:10px; font-size:13.5px; flex:1; }
.plan li { display:flex; gap:8px; }
.plan li::before { content:"✓"; color: var(--success); font-weight:800; }
.plan .btn { width:100%; }
.pricing-foot { text-align:center; margin-top:26px; color: var(--text-2); font-size:13.5px; }

/* faq */
.faq { max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
details.faq-item { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding:6px 20px; }
details.faq-item summary { cursor:pointer; padding:14px 0; font-weight:700; font-size:14.5px; list-style:none; display:flex; justify-content:space-between; align-items:center; }
details.faq-item summary::-webkit-details-marker { display:none; }
details.faq-item summary::after { content:"+"; font-size:20px; color: var(--text-muted); font-weight:400; }
details.faq-item[open] summary::after { content:"–"; }
details.faq-item p { margin:0 0 16px; color: var(--text-2); font-size:13.5px; }

/* final cta */
.final-cta { text-align:center; background: linear-gradient(180deg, var(--surface), var(--accent-bg)); border-top:1px solid var(--border); }
.final-cta h2 { font-size:31px; margin-bottom:14px; }
.final-cta p { color: var(--text-2); margin-bottom:24px; }

/* footer */
footer.site { border-top:1px solid var(--border); padding:36px 0; }
footer.site .container { display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:20px; }
footer.site .disclaimer { max-width:640px; font-size:12px; color: var(--text-muted); }
footer.site .copy { font-size:12.5px; color: var(--text-muted); }
footer.site .sitemap-links { width:100%; display:flex; gap:18px; flex-wrap:wrap; margin-bottom:6px; }
footer.site .sitemap-links a { font-size:13px; font-weight:600; color: var(--text-2); text-decoration:none; }
footer.site .sitemap-links a:hover { color: var(--accent-ink); }

/* ---------------------------------------------------------------------- */
/* matrix comparison table (used on /compare)                             */
/* ---------------------------------------------------------------------- */
.matrix-wrap { overflow-x: auto; border:1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: var(--surface); }
table.matrix { width:100%; border-collapse: collapse; font-size:13.5px; min-width: 920px; }
table.matrix th, table.matrix td { padding:13px 16px; text-align:left; border-bottom:1px solid var(--border); vertical-align:top; }
table.matrix thead th { background: var(--surface-2); font-size:12px; text-transform:uppercase; letter-spacing:0.03em; color: var(--text-2); font-weight:700; position:sticky; top:0; }
table.matrix thead th.us { background: var(--accent-bg); color: var(--accent-ink); }
table.matrix tbody th { font-weight:600; color: var(--text); white-space:nowrap; }
table.matrix td.us { background: rgba(27,58,92,0.05); font-weight:600; }
table.matrix tr:last-child td, table.matrix tr:last-child th { border-bottom:none; }
table.matrix .yes { color: var(--success); font-weight:800; }
table.matrix .no { color: var(--text-muted); }
table.matrix .partial { color: var(--warn); font-weight:600; }
table.matrix sup a { color: var(--accent-ink); text-decoration:none; font-size:10.5px; }
.matrix-note { font-size:12.5px; color: var(--text-muted); margin-top:14px; }
.matrix-legend { display:flex; gap:18px; flex-wrap:wrap; font-size:12.5px; color: var(--text-2); margin:14px 0 22px; }
.matrix-legend span.yes, .matrix-legend span.partial, .matrix-legend span.no { font-weight:700; margin-right:4px; }

.footnotes { max-width:760px; margin:40px auto 0; font-size:12.5px; color: var(--text-muted); }
.footnotes ol { padding-left:20px; }
.footnotes li { margin-bottom:8px; }
.footnotes a { color: var(--accent-ink); }

.verdict-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:18px; }
.verdict-card { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg); padding:22px 24px; box-shadow: var(--shadow-sm); }
.verdict-card h4 { font-size:14.5px; margin-bottom:8px; }
.verdict-card p { font-size:13.5px; color: var(--text-2); margin:0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .security-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .honest-band .container { grid-template-columns: 1fr; }
  .verdict-grid { grid-template-columns: 1fr; }

  /* Below the breakpoint the link row is a dropdown revealed by the
     hamburger button (see nav.js) instead of just vanishing. */
  .nav-toggle { display:flex; align-items:center; justify-content:center; }
  nav.topnav .links {
    display:none;
    position:absolute; top:64px; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0;
    background: var(--surface); border-bottom:1px solid var(--border);
    padding:4px 20px 12px; box-shadow: var(--shadow-sm);
  }
  nav.topnav.nav-open .links { display:flex; }
  nav.topnav .links a { padding:12px 0; border-bottom:1px solid var(--border); }
  nav.topnav .links a:last-child { border-bottom:none; }
}

/* True phone widths. The 900px breakpoint above targets tablets and still
   leaves two-column grids that get uncomfortably tight on a real phone
   (~375-430px) — text crowds the icons and columns feel like they're
   running into each other. Below this point everything goes to one column
   and type scales down instead of wrapping awkwardly. */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 52px 0 36px; }
  .hero h1 { font-size:30px; }
  .hero p.lead { font-size:15px; }
  .hero .fineprint { font-size:12px; }
  .features-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .mock-stats { grid-template-columns: 1fr; }
  .mock-body { padding:16px; }
  section { padding: 52px 0; }
  section.tight { padding: 40px 0; }
  .section-head h2 { font-size:24px; }
  .honest-band h2 { font-size:22px; }
  .honest-band .container { gap:28px; }
  .note-card { padding:26px 20px; }
  .note-card .mark { display:none; }
  .note-card p.body { padding-left:0; }
  .final-cta h2 { font-size:23px; }
  .verdict-grid { gap:14px; }
  footer.site .container { gap:14px; }
}
