/* ============================================================
   5LVES — shared shell + dossier landing page
   Light, calm, content-first. Tokens taken verbatim from the
   dossier app's light theme so site and app feel like one product.
   ============================================================ */

:root {
  /* --- palette (OKLCH, from the app's light theme) --- */
  --surface:      oklch(0.976 0.005 290);
  --surface-2:    oklch(0.955 0.008 290);
  --panel:        oklch(1 0 0);
  --ink:          oklch(0.245 0.012 286);
  --muted:        oklch(0.505 0.012 286);
  --faint:        oklch(0.645 0.010 286);
  --line:         oklch(0.905 0.008 286);
  --accent:       oklch(0.575 0.215 296);
  --accent-hover: oklch(0.515 0.220 296);
  --accent-soft:  oklch(0.955 0.030 296);
  --accent-ink:   oklch(0.99 0.005 296);
  --ok:           oklch(0.605 0.115 150);
  --warn:         oklch(0.685 0.115 70);
  --info:         oklch(0.620 0.100 245);

  /* type */
  --font-display: "Schibsted Grotesk", -apple-system, "SF Pro Display", system-ui, sans-serif;
  --font-sans: -apple-system, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* shape */
  --r-card: 16px;
  --r-win: 13px;
  --r-sub: 11px;
  --r-pill: 999px;

  /* the signature background wash (app continuity cue) */
  --wash:
    radial-gradient(135% 120% at 0% 0%,  oklch(0.985 0.014 296) 0%, transparent 60%),
    radial-gradient(120% 120% at 100% 0%, oklch(0.982 0.012 250) 0%, transparent 55%),
    var(--surface);

  --shadow-soft: 0 10px 34px -12px rgba(50,40,90,0.18), 0 2px 8px rgba(50,40,90,0.05);
  --shadow-win: 0 40px 90px -28px rgba(45,35,85,0.40), 0 12px 30px -14px rgba(45,35,85,0.20);
  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.section { position: relative; padding: clamp(64px, 11vh, 132px) 0; }
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.lead { font-size: clamp(15px, 1.4vw, 17px); color: var(--muted); line-height: 1.62; max-width: 62ch; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; color: var(--ink); line-height: 1.06; }
h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; }
h3 { font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.02em; line-height: 1.2; }

/* =====================================================
   NAV (5LVES shell)
   ===================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 28px;
  background: oklch(0.985 0.004 290 / 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, padding .3s;
}
.nav.scrolled { border-bottom-color: var(--line); padding-block: 11px; }
.nav .brand { display: flex; align-items: baseline; gap: 10px; }
.nav .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.02em; color: var(--ink); }
.nav .sep { color: var(--line); font-size: 15px; }
.nav .product { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: -0.01em; }
.nav .spacer { flex: 1; }
.nav .nav-links { display: flex; align-items: center; gap: 26px; }
.nav .nav-links a { font-size: 14px; color: var(--muted); transition: color .15s; }
.nav .nav-links a:hover { color: var(--ink); }

/* =====================================================
   SIDE SCROLL-SPY RAIL (Framer-style section menu)
   ===================================================== */
.sidenav {
  position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; gap: 3px;
}
.sidenav a { display: flex; align-items: center; gap: 11px; padding: 5px 6px; color: var(--faint); }
.sidenav .sd-dot {
  width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px currentColor;
  transition: background .2s, box-shadow .2s; flex: none;
}
.sidenav .sd-label {
  font-size: 12px; font-weight: 550; white-space: nowrap; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 4px 11px; box-shadow: var(--shadow-soft);
  opacity: 0; transform: translateX(-6px); pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.sidenav a.active { color: var(--accent); }
.sidenav a.active .sd-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), inset 0 0 0 1.6px var(--accent); }
.sidenav:hover a .sd-label { opacity: 1; transform: none; }
.sidenav a.active .sd-label { color: var(--accent-hover); border-color: color-mix(in oklch, var(--accent) 30%, var(--line)); }
@media (max-width: 1280px) { .sidenav { display: none; } }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 560; letter-spacing: -0.01em;
  padding: 12px 22px; border-radius: var(--r-pill); cursor: pointer; border: 1px solid transparent;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -6px oklch(0.575 0.215 296 / 0.55); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 26px -8px oklch(0.575 0.215 296 / 0.6); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: var(--panel); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--faint); transform: translateY(-2px); }
.cta-sub { font-size: 12.5px; color: var(--faint); margin-top: 13px; display: flex; align-items: center; gap: 7px; justify-content: center; }
.cta-sub .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }

/* =====================================================
   HERO
   ===================================================== */
.hero { position: relative; padding-top: 150px; padding-bottom: 40px; overflow: hidden; }
.hero-wash, .cta-wash { position: absolute; inset: 0; background: var(--wash); z-index: -2; }
.hero-glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  top: -22%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, oklch(0.6 0.2 296 / 0.10) 0%, transparent 62%);
  filter: blur(20px);
}
.hero-inner { text-align: center; max-width: 920px; margin-inline: auto; }
.hero-mark { display: block; width: 64px; margin: 0 auto 26px; }
.hero-mark svg { width: 64px; height: 64px; border-radius: 16px; display: block; box-shadow: 0 10px 26px -6px oklch(0.575 0.215 296 / 0.5); transition: transform .25s; }
.hero-mark:hover svg { transform: translateY(-2px) scale(1.04); }
.hero h1 {
  font-size: clamp(36px, 6.2vw, 70px); line-height: 1.02; letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero h1 .nowrap { white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .subhead { font-size: clamp(16px, 1.7vw, 20px); color: var(--muted); max-width: 60ch; margin: 0 auto 32px; line-height: 1.55; }
.hero-cta { display: flex; flex-direction: column; align-items: center; }

/* hero screenshot stage */
.hero-stage { position: relative; margin-top: clamp(40px, 7vw, 80px); perspective: 1800px; }
.hero-shot { position: relative; z-index: 2; margin-inline: auto; max-width: 1180px; will-change: transform; }
.hero-badges { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 9px 15px 9px 12px; font-size: 13px; font-weight: 540; color: var(--ink);
  box-shadow: var(--shadow-soft); white-space: nowrap; will-change: transform;
}
.float-chip .ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.float-chip .ic svg { width: 14px; height: 14px; }
.float-chip.c1 { top: 14%; left: -2%; }
.float-chip.c2 { top: 60%; right: -3%; }
.float-chip.c3 { bottom: -4%; left: 12%; }

/* =====================================================
   WINDOW FRAME (recreated app screenshots)
   ===================================================== */
.win {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-win);
  overflow: hidden; box-shadow: var(--shadow-win);
}
.win-bar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); position: relative; }
.win-dots { display: flex; gap: 8px; }
.win-dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.wd-r { background: #ff5f57; } .wd-y { background: #febc2e; } .wd-g { background: #28c840; }
.win-title { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12.5px; font-weight: 560; color: var(--faint); pointer-events: none; }
.win-body { background: var(--wash); }

/* =====================================================
   RECREATED-UI PRIMITIVES (mini dossier surfaces)
   ===================================================== */
.app { display: flex; font-size: 13px; color: var(--ink); }
.app-aside { width: 200px; flex: none; border-right: 1px solid var(--line); padding: 12px 9px; background: oklch(1 0 0 / 0.4); }
.grp-label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); padding: 9px 8px 5px; }
.frow { display: flex; align-items: center; gap: 9px; padding: 6px 9px; border-radius: 8px; color: var(--ink); }
.frow .fic { width: 16px; height: 16px; color: var(--muted); flex: none; }
.frow .fic svg { width: 16px; height: 16px; stroke-width: 1.7; }
.frow .fname { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.frow .fcount { font-family: var(--font-mono); font-size: 11px; color: var(--faint); }
.frow.sel { background: var(--accent-soft); }
.frow.sel .fname { color: var(--accent-hover); font-weight: 560; }
.frow.sel .fic { color: var(--accent); }
.frow.indent { padding-left: 24px; }

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-head { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.app-head .ttl { font-size: 12.5px; font-weight: 640; }
.app-head .ttl span { color: var(--faint); font-weight: 400; margin-left: 6px; }

/* file rows (list) */
.flist { padding: 7px; display: flex; flex-direction: column; gap: 1px; }
.fitem { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 10px; }
.fitem.sel { background: var(--accent-soft); }
.ftype { font-family: var(--font-mono); font-size: 9px; font-weight: 600; color: var(--faint); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 0; text-align: center; }
.fmain { min-width: 0; }
.ftitle { font-size: 13px; font-weight: 540; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.005em; }
.fitem.sel .ftitle { color: var(--accent-hover); }
.fsub { font-size: 11px; color: var(--faint); font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.fmeta { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.fmeta .md { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); }
.fmeta .sp { color: var(--line); }

.spill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 8px; border-radius: var(--r-pill); font-size: 10.5px; font-weight: 540; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.sdot { width: 7px; height: 7px; border-radius: 50%; background: var(--d, var(--faint)); box-shadow: 0 0 0 3px color-mix(in oklch, var(--d, var(--faint)) 16%, transparent); flex: none; }
.spill.ok { --d: var(--ok); } .spill.inbox { --d: var(--accent); } .spill.warn { --d: var(--warn); } .spill.dupe { --d: var(--faint); }

/* context / proposal panel */
.app-ctx { width: 246px; flex: none; border-left: 1px solid var(--line); padding: 13px; background: oklch(1 0 0 / 0.4); display: flex; flex-direction: column; gap: 11px; }
.ctx-card { border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 12px; }
.ctx-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.ctx-h b { font-size: 12px; font-weight: 640; }
.conf { font-size: 10px; font-weight: 620; color: var(--ok); background: color-mix(in oklch, var(--ok) 15%, transparent); border-radius: var(--r-pill); padding: 3px 8px; display: inline-flex; align-items: center; gap: 5px; }
.conf::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.ctx-path { font-family: var(--font-mono); font-size: 10.5px; line-height: 1.5; color: var(--accent-hover); background: var(--accent-soft); border: 1px solid color-mix(in oklch, var(--accent) 22%, transparent); border-radius: 9px; padding: 8px 10px; word-break: break-word; }
.ctx-reason { font-size: 11.5px; line-height: 1.5; color: var(--muted); margin: 9px 0; }
.ctx-actions { display: flex; gap: 7px; }
.mini-btn { font-size: 11.5px; font-weight: 560; padding: 7px 12px; border-radius: 8px; border: 1px solid transparent; cursor: default; }
.mini-btn.pri { background: var(--accent); color: var(--accent-ink); }
.mini-btn.ghost { background: var(--surface-2); border-color: var(--line); color: var(--muted); }

/* chips (parsed path) */
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 12px; }
.chip .cdot { width: 8px; height: 8px; border-radius: 3px; background: var(--c, var(--accent)); flex: none; }
.chip.lg { font-size: 13.5px; padding: 9px 15px; }

/* batch run sheet */
.batch { padding: 18px; display: flex; flex-direction: column; gap: 15px; }
.batch-top { display: flex; align-items: center; justify-content: space-between; }
.batch-title { font-size: 15px; font-weight: 640; display: flex; align-items: center; gap: 9px; }
.batch-title .spin { width: 17px; height: 17px; color: var(--accent); }
.bar { height: 9px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; border: 1px solid var(--line); }
.bar > i { display: block; height: 100%; width: 62%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), oklch(0.66 0.18 286)); }
.batch-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bstat { background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; padding: 12px; text-align: center; }
.bstat .v { font-family: var(--font-display); font-size: 23px; font-weight: 600; letter-spacing: -0.02em; }
.bstat .l { font-size: 10.5px; color: var(--faint); margin-top: 3px; }
.bstat.filed .v { color: var(--ok); } .bstat.review .v { color: var(--warn); } .bstat.accent .v { color: var(--accent); }

/* settings model picker */
.setrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.setrow:last-child { border-bottom: 0; }
.set-name { font-size: 13px; font-weight: 540; }
.set-sub { font-size: 11px; color: var(--faint); margin-top: 2px; }
.opt { display: flex; align-items: center; gap: 9px; border: 1.5px solid var(--line); border-radius: 11px; padding: 10px 13px; background: var(--panel); flex: 1; }
.opt.on { border-color: var(--accent); background: var(--accent-soft); }
.opt .rad { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.opt.on .rad { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 4px, transparent 5px); }
.opt .on-name { font-size: 12.5px; font-weight: 560; }
.opt .on-tag { font-size: 10px; color: var(--faint); font-family: var(--font-mono); }

/* compare dialog */
.cmp { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; }
.cmp-side { padding: 15px; }
.cmp-side.dup { background: oklch(0.99 0.01 70 / 0.5); }
.cmp-mid { width: 1px; background: var(--line); position: relative; }
.cmp-doc { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); aspect-ratio: 3/3.4; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.cmp-doc .ln { height: 5px; border-radius: 3px; background: var(--surface-2); }
.cmp-doc .ln.s { width: 60%; } .cmp-doc .ln.m { width: 85%; } .cmp-doc .ln.hl { background: color-mix(in oklch, var(--warn) 35%, transparent); }
.cmp-cap { font-size: 11px; color: var(--faint); margin-top: 9px; display: flex; align-items: center; gap: 7px; }
.cmp-meter { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 11px; font-size: 11px; font-weight: 620; color: var(--warn); white-space: nowrap; box-shadow: var(--shadow-soft); }

/* search results */
.srch { padding: 13px; display: flex; flex-direction: column; gap: 9px; }
.srch-bar { display: flex; align-items: center; gap: 9px; padding: 9px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; font-size: 12.5px; color: var(--muted); }
.srch-bar svg { width: 15px; height: 15px; color: var(--faint); }
.srch-bar .q { color: var(--ink); }
.sres { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.sres:last-child { border: 0; }
.sres .hl { background: color-mix(in oklch, var(--accent) 18%, transparent); border-radius: 3px; padding: 0 2px; }

/* tags / clips panel */
.tags-wrap { padding: 15px; display: flex; flex-wrap: wrap; gap: 9px; align-content: flex-start; }
.tagp { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 13px; }
.tagp .td { width: 8px; height: 8px; border-radius: 3px; }
.tagp .tc { font-family: var(--font-mono); font-size: 11px; color: var(--faint); }

/* generic doc/notes detail */
.detail { padding: 16px; }
.note-line { height: 8px; border-radius: 4px; background: var(--surface-2); margin-bottom: 9px; }

/* =====================================================
   THE SHIFT (statement band)
   ===================================================== */
.shift { text-align: center; }
.shift p { font-family: var(--font-display); font-size: clamp(20px, 2.7vw, 30px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.32; color: var(--ink); max-width: 24ch; margin-inline: auto; }
.shift p .mut { color: var(--faint); }

/* =====================================================
   FEATURES — Framer-style sticky menu + scrolling shots
   ===================================================== */
.featscroll { padding: clamp(50px, 8vh, 110px) 0; }
.featscroll-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(36px, 5vw, 84px); align-items: start; }

.fs-menu {
  position: sticky; top: 0; align-self: start;
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.fs-eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.fs-item {
  display: flex; align-items: baseline; gap: 15px; background: none; border: 0; cursor: pointer; text-align: left;
  padding: 8px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(21px, 2.5vw, 33px);
  letter-spacing: -0.02em; line-height: 1.12; color: var(--ink); opacity: 0.32;
  transition: opacity .3s, color .3s, transform .3s;
}
.fs-item .fs-num { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--faint); flex: none; transform: translateY(-2px); }
.fs-item:hover { opacity: 0.6; }
.fs-item.active { opacity: 1; color: var(--ink); }
.fs-item.active .fs-num { color: var(--accent); }

.fs-stage { display: flex; flex-direction: column; gap: clamp(56px, 11vh, 132px); padding-block: clamp(40px, 16vh, 150px); }
.fs-shot { position: relative; }
.fs-cap { margin-top: 22px; max-width: 54ch; }
.fs-cap h4 { font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; color: var(--ink); }
.fs-cap p { color: var(--muted); font-size: clamp(14.5px, 1.3vw, 16px); line-height: 1.6; }
.b-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--accent); background: var(--accent-soft); border-radius: var(--r-pill); padding: 5px 12px; margin-top: 16px; }
.b-tag svg { width: 14px; height: 14px; }

/* =====================================================
   SHOWCASE BAND
   ===================================================== */
.showcase { padding-block: clamp(70px, 10vw, 130px); background: var(--surface-2); border-block: 1px solid var(--line); overflow: hidden; }
.showcase .wrap { text-align: center; }
.showcase h2 { margin-bottom: 12px; }
.showcase .lead { margin: 0 auto; text-align: center; }
.drift { margin-top: 54px; display: flex; gap: 26px; width: max-content; padding-inline: 28px; will-change: transform; }
.drift .win { width: 544px; flex: none; }

/* =====================================================
   HOW IT WORKS / TRUST
   ===================================================== */
.how { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 90px); align-items: start; }
.steps { display: flex; flex-direction: column; gap: 6px; counter-reset: s; }
.step { display: flex; gap: 18px; padding: 20px; border-radius: var(--r-card); transition: background .2s; }
.step:hover { background: var(--surface-2); }
.step .n { counter-increment: s; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.step .n::before { content: counter(s); }
.step h3 { font-size: 18px; margin-bottom: 5px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.trust-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow-soft); position: sticky; top: 100px; }
.trust-card h3 { font-size: 16px; margin-bottom: 16px; }
.trust-list { display: flex; flex-direction: column; gap: 14px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in oklch, var(--ok) 16%, transparent); color: var(--ok); display: grid; place-items: center; margin-top: 1px; }
.trust-item .ck svg { width: 13px; height: 13px; }
.trust-item b { font-size: 14px; font-weight: 600; display: block; }
.trust-item span { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* =====================================================
   FINAL CTA
   ===================================================== */
.final { position: relative; text-align: center; overflow: hidden; }
.final h2 { font-size: clamp(30px, 5vw, 52px); margin-bottom: 18px; letter-spacing: -0.035em; }
.final .subhead { color: var(--muted); font-size: clamp(15px,1.5vw,18px); max-width: 50ch; margin: 0 auto 30px; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { border-top: 1px solid var(--line); padding: 44px 0 40px; background: var(--surface); }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .f-brand { display: flex; flex-direction: column; gap: 4px; }
.footer .f-brand .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.02em; }
.footer .f-brand span { font-size: 12.5px; color: var(--faint); }
.footer .f-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer .f-links a { font-size: 13.5px; color: var(--muted); transition: color .15s; }
.footer .f-links a:hover { color: var(--accent); }
.footer .copy { font-size: 12.5px; color: var(--faint); width: 100%; padding-top: 8px; }

/* =====================================================
   ANIMATION BASE (GSAP toggles these; reduced-motion shows end state)
   ===================================================== */
.reveal { opacity: 0; transform: translateY(26px); }
.is-ready .reveal { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}
/* if JS fails to load, never leave content hidden */
.no-js .reveal { opacity: 1; transform: none; }
/* nicer anchor landing under the fixed nav */
#overview, #b-reads, #b-folders, #b-private, #b-batch, #showcase, #how, #download { scroll-margin-top: 84px; }
/* print / PDF / no-scroll renderers: never hide below-fold content */
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .how, .cmp { grid-template-columns: 1fr; gap: 28px; }
  .featscroll-grid { grid-template-columns: 1fr; gap: 0; }
  .fs-menu { display: none; }
  .fs-stage { padding-block: 0; gap: 56px; }
  .trust-card { position: static; }
  .app-aside { display: none; }
  .nav .nav-links { display: none; }
  .float-chip.c1 { left: 0; } .float-chip.c2 { right: 0; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .app-ctx { display: none; }
  .drift .win { width: 320px; }
  .float-chip { display: none; }
}

/* ============================================================
   IN THE BOX — specs grid (formats, providers, feature sellers)
   ============================================================ */
.specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.spec-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px 26px;
  box-shadow: var(--shadow-soft);
}
.spec-card h3 { font-family: var(--font-display); font-size: 16.5px; letter-spacing: -0.01em; margin-bottom: 8px; }
.spec-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
@media (max-width: 980px) { .specs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .specs-grid { grid-template-columns: 1fr; } }
