/* ==========================================================================
   NoteFlow landing

   Material: layered neutral surfaces, a hairline border plus a 1px top sheen
   on anything raised. No glows, no gradient fills, no coloured accent — the
   logo carries the only colour on the page.
   Type: Inter for text, Inter Tight for headings, IBM Plex Mono for indices,
   figures and UI captions. The mono is what carries the editorial voice.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #07080A;
  --bg-2: #0B0D10;
  --surface: #17191F;
  --surface-2: #1E2128;
  --screen: #14171C;      /* content area inside a window frame: reads clearly above the page */

  --edge: rgba(255, 255, 255, 0.12);
  --edge-2: rgba(255, 255, 255, 0.21);
  --sheen: rgba(255, 255, 255, 0.06);

  --text: #ECEBE8;
  --text-2: #9A9A98;
  --text-3: #64656A;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 24px -14px rgba(0, 0, 0, 0.7);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.4), 0 40px 80px -32px rgba(0, 0, 0, 0.75);

  --sans: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Inter Tight", "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;

  --r-sm: 7px;
  --r-md: 10px;
  --r-lg: 14px;

  --container: 1120px;
  --container-wide: 1340px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #FCFCFB;
    --bg-2: #F4F4F2;
    --surface: #FFFFFF;
    --surface-2: #F7F7F5;
    --screen: #FFFFFF;
    --edge: rgba(18, 18, 22, 0.11);
    --edge-2: rgba(18, 18, 22, 0.20);
    --sheen: rgba(255, 255, 255, 0.9);
    --text: #14141A;
    --text-2: #58585D;
    --text-3: #86868C;
    --shadow-1: 0 1px 2px rgba(18, 18, 22, 0.06), 0 8px 20px -12px rgba(18, 18, 22, 0.14);
    --shadow-2: 0 1px 3px rgba(18, 18, 22, 0.07), 0 32px 64px -32px rgba(18, 18, 22, 0.22);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #FCFCFB;
  --bg-2: #F4F4F2;
  --surface: #FFFFFF;
  --surface-2: #F7F7F5;
  --screen: #FFFFFF;
  --edge: rgba(18, 18, 22, 0.11);
  --edge-2: rgba(18, 18, 22, 0.20);
  --sheen: rgba(255, 255, 255, 0.9);
  --text: #14141A;
  --text-2: #58585D;
  --text-3: #86868C;
  --shadow-1: 0 1px 2px rgba(18, 18, 22, 0.06), 0 8px 20px -12px rgba(18, 18, 22, 0.14);
  --shadow-2: 0 1px 3px rgba(18, 18, 22, 0.07), 0 32px 64px -32px rgba(18, 18, 22, 0.22);
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}

::selection { background: var(--text); color: var(--bg); }

img, svg { display: inline-block; vertical-align: middle; }
img { max-width: 100%; }
a { color: var(--text); text-decoration: none; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }

/* Type ------------------------------------------------------------------- */

h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.9rem, 8.2vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.042em;
}
h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
}
h3 { font-size: 0.975rem; line-height: 1.4; font-weight: 600; letter-spacing: -0.005em; }

/* The mono index is the page's one recurring signature. */
.idx {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.06em; color: var(--text-3); font-variant-numeric: tabular-nums;
}
.label {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.82rem; font-weight: 500; color: var(--text-2); letter-spacing: -0.003em;
}
.lede { font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.58; color: var(--text-2); max-width: 34em; }
.section-lede { font-size: 1rem; color: var(--text-2); max-width: 40em; }
.fine { font-size: 0.83rem; color: var(--text-3); line-height: 1.6; }
.fine a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--edge-2); }
.fine a:hover { color: var(--text); text-decoration-color: currentColor; }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.68rem 1.05rem; border-radius: var(--r-sm);
  font-weight: 500; font-size: 0.9rem; line-height: 1; border: 1px solid transparent; cursor: pointer;
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease), transform 0.16s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 0.48rem 0.8rem; font-size: 0.85rem; }
.btn-lg { padding: 0.85rem 1.25rem; font-size: 0.94rem; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active { transform: none; }
.btn-ghost {
  background: var(--surface); color: var(--text); border-color: var(--edge);
  box-shadow: inset 0 1px 0 var(--sheen);
}
.btn-ghost:hover { border-color: var(--edge-2); transform: translateY(-1px); }
.btn-ghost:active { transform: none; }

/* ==========================================================================
   Header

   A floating capsule rather than a full-width bar. Over the intro it has no
   chrome at all, so the opening stays clean; once you scroll past it the
   capsule materialises and starts marking which section you are in.
   ========================================================================== */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 12px var(--gutter) 0;
  pointer-events: none;          /* only the capsule itself is clickable */
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 1.35rem;
  width: max-content; max-width: 100%; margin-inline: auto;
  height: 46px; padding: 0 6px 0 15px;
  border: 1px solid transparent; border-radius: 999px;
  background: transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled .nav {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-color: var(--edge);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--sheen);
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
}

.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.94rem; letter-spacing: -0.012em; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 0.15rem; }
.nav-links a {
  display: block; padding: 0.4rem 0.7rem; border-radius: 999px;
  color: var(--text-2); font-size: 0.865rem; font-weight: 500;
  transition: color 0.16s, background 0.24s var(--ease);
}
.nav-links a:hover { color: var(--text); }
/* Marks the section you are currently reading. */
.nav-links a.is-here { color: var(--text); background: color-mix(in srgb, var(--text) 9%, transparent); }

.nav-actions { display: flex; align-items: center; gap: 0.4rem; }
.theme-toggle {
  width: 32px; height: 32px; border-radius: 999px; display: inline-grid; place-items: center;
  border: 1px solid transparent; background: transparent; color: var(--text-2); cursor: pointer;
  transition: color 0.16s, background 0.16s;
}
.theme-toggle:hover { color: var(--text); background: color-mix(in srgb, var(--text) 9%, transparent); }
.theme-toggle .ico-sun { display: none; }
.theme-toggle .ico-moon { display: block; }
:root[data-theme="light"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="light"] .theme-toggle .ico-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .ico-sun { display: block; }
  :root:not([data-theme="dark"]) .theme-toggle .ico-moon { display: none; }
}
.nav .btn-sm { border-radius: 999px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav { gap: 0.75rem; }
}

/* ==========================================================================
   Scroll intro
   ========================================================================== */

.intro { position: relative; height: 400vh; }
.intro-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden;
  display: grid; place-items: center;
}
.intro-stage > * { grid-area: 1 / 1; }

/* A zero-size anchor at the stage centre; its perspective gives the cards depth. */
.orbit { list-style: none; position: relative; width: 0; height: 0; z-index: 2; perspective: 1200px; }
.orb {
  position: absolute; left: 0; top: 0;
  translate: -50% -50%;
  padding: 0.62rem 0.95rem;
  border: 1px solid var(--edge); border-radius: var(--r-md);
  background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--sheen);
  font-size: 0.875rem; font-weight: 500; white-space: nowrap; letter-spacing: -0.008em;
  will-change: transform, opacity;
}
.intro:not(.ready) .orb { opacity: 0; }

.intro-stack {
  display: flex; flex-direction: column; align-items: center; gap: clamp(1.5rem, 2.6vw, 2.2rem);
  width: min(var(--container), 100% - var(--gutter) * 2);
  padding-top: 62px;
  will-change: transform;
}

/* Mark and kicker share one box so the eye stays on a single point. */
.mark {
  display: grid; place-items: center;
  width: clamp(76px, 8.5vw, 104px); height: clamp(76px, 8.5vw, 104px);
}
.mark > * { grid-area: 1 / 1; }
.mark img { width: 100%; height: 100%; display: block; opacity: 0; will-change: transform, opacity; }
.intro-kicker {
  font-size: 0.85rem; font-weight: 500; color: var(--text-3); white-space: nowrap;
  will-change: transform, opacity;
}

.intro-copy {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem;
  pointer-events: none;
}
.intro-copy h1 { max-width: 15ch; }
.intro-copy > :not(h1) { opacity: 0; will-change: transform, opacity; }

/* Headline lines rise out of their own mask. The padding/margin pair keeps
   descenders from being clipped by the overflow. */
.line { display: block; overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.line > span { display: block; transform: translateY(108%); will-change: transform; }

.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 0.3rem; }
.hero-note { font-family: var(--mono); font-size: 0.75rem; color: var(--text-3); letter-spacing: -0.01em; }

.scroll-hint {
  align-self: end; justify-self: center; margin-bottom: 1.8rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3);
}
.scroll-hint i { display: block; width: 1px; height: 36px; background: linear-gradient(var(--edge-2), transparent); }

/* Reduced motion: no scrub, just the finished composition. */
.intro.static { height: auto; margin-top: 0; }
.intro.static .intro-stage { position: static; height: auto; padding: clamp(4rem, 8vw, 6.5rem) 0 0; }
.intro.static .intro-stage > * { grid-area: auto; }
.intro.static .orbit, .intro.static .intro-kicker, .intro.static .scroll-hint { display: none; }
.intro.static .intro-stack { padding-top: 0; }
.intro.static .mark img { opacity: 1; }
.intro.static .intro-copy { pointer-events: auto; }
.intro.static .intro-copy > * { opacity: 1; }
.intro.static .line > span { transform: none; }

/* Below 900px the ring collapses into a column (see main.js), so the centre
   of the stage is contested and the kicker has nowhere to sit. */
@media (max-width: 900px) { .intro-kicker { display: none; } }
@media (max-width: 720px) { .intro { height: 340vh; } .orb { padding: 0.5rem 0.8rem; font-size: 0.8rem; } }
@media (max-width: 420px) { .orb { padding: 0.42rem 0.7rem; font-size: 0.75rem; } }
@media (max-width: 720px) and (max-height: 700px) {
  .intro-stack { padding-top: 48px; gap: 1rem; }
  .intro-copy { gap: 0.85rem; }
  .intro-copy h1 { font-size: clamp(1.9rem, 9vw, 2.5rem); }
  .intro-copy .lede { font-size: 0.94rem; }
}

/* ==========================================================================
   Window frames

   Every product visual sits in the same chrome, so real screenshots will drop
   straight in: replace the contents of .frame-body with an <img>.
   ========================================================================== */

.frame {
  margin: 0;
  border: 1px solid var(--edge); border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--sheen);
  overflow: hidden;
}
.frame-lg { box-shadow: var(--shadow-2), inset 0 1px 0 var(--sheen); }

.frame-bar {
  display: flex; align-items: center; gap: 0.65rem;
  height: 34px; padding: 0 0.8rem;
  border-bottom: 1px solid var(--edge);
  background: var(--surface-2);
}
.frame-dots { display: flex; gap: 5px; }
.frame-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--edge-2); }
.frame-title { font-family: var(--mono); font-size: 0.68rem; color: var(--text-3); letter-spacing: -0.01em; }

/* Heights are capped so an empty placeholder never becomes a void. A real
   screenshot fills the same slot and crops from the top. */
.frame-body {
  width: 100%;   /* definite width, so max-height letterboxes instead of narrowing */
  aspect-ratio: 16 / 10; max-height: 360px;
  display: grid; place-content: center; justify-items: center; gap: 0.3rem;
  background: var(--screen);
  text-align: center;
}
.frame-lg .frame-body { aspect-ratio: 16 / 9; max-height: 520px; }
.frame-body img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* The placeholder is a small plate, not an empty void, so an unfinished
   section still reads as a deliberate composition. */
.ph-name {
  font-size: 0.85rem; font-weight: 500; color: var(--text-2);
  padding: 0.5rem 0.9rem; border: 1px solid var(--edge); border-radius: var(--r-sm);
  background: var(--surface); box-shadow: inset 0 1px 0 var(--sheen);
}
.ph-dims { font-family: var(--mono); font-size: 0.68rem; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Sections
   ========================================================================== */

.product { padding-top: clamp(0.5rem, 2vw, 1.5rem); }
.section { padding: clamp(5rem, 9vw, 8rem) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--edge); }

.section-head {
  display: flex; flex-direction: column; gap: 0.9rem;
  padding-top: 1.15rem; border-top: 1px solid var(--edge);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 { max-width: 24ch; }
.section-head .section-lede { margin-top: 0.2rem; }

/* Showcase: one sticky app window, four chapters of copy scrolling past it.
   The window's own rail lights up the tool each chapter is about, so the
   section reads as a walk through the app rather than four unrelated rows. */

.showcase { padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem); }
.showcase-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}

.chapter {
  display: flex; flex-direction: column; justify-content: center; gap: 1.05rem;
  min-height: 82vh;
  border-top: 1px solid var(--edge); padding-top: 1.15rem;
  opacity: 0.38; transition: opacity 0.5s var(--ease);
}
.chapter.is-active { opacity: 1; }
.chapter h2 { max-width: 18ch; }
.chapter > p { color: var(--text-2); font-size: 1rem; max-width: 34em; }
.chapter:first-child { min-height: 74vh; }

.showcase-stage {
  position: sticky; top: calc(62px + clamp(1.5rem, 4vh, 3rem));
  display: flex; flex-direction: column; gap: 0.9rem;
}

/* The window itself */
.app .frame-bar b { font-weight: 500; color: var(--text-2); }
.app-body { display: grid; grid-template-columns: 46px minmax(0, 1fr); height: clamp(300px, 56vh, 480px); }
.app-rail {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 0; border-right: 1px solid var(--edge); background: var(--surface);
}
.rail-item {
  width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center;
  color: var(--text-3); position: relative;
  transition: color 0.35s var(--ease), background 0.35s var(--ease);
}
.rail-item svg { width: 15px; height: 15px; }
.rail-item.is-on { color: var(--text); background: var(--surface-2); }
.rail-item.is-on::before {
  content: ""; position: absolute; left: -5px; top: 7px; bottom: 7px; width: 2px;
  border-radius: 2px; background: var(--text);
}

.app-screens { display: grid; background: var(--screen); min-width: 0; }
.screen {
  grid-area: 1 / 1;
  display: grid; place-content: center; justify-items: center; gap: 0.3rem;
  text-align: center;
  opacity: 0; transform: scale(0.985);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}
.screen.is-active { opacity: 1; transform: none; pointer-events: auto; }
.screen img { display: block; width: 100%; height: 100%; object-fit: cover; }

.stage-caption {
  display: flex; align-items: baseline; gap: 0.6rem;
  font-size: 0.85rem; color: var(--text-2);
}
.stage-caption .stage-of { margin-left: auto; font-family: var(--mono); font-size: 0.7rem; color: var(--text-3); }

/* Lists inside a chapter */
.checks { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.3rem; font-size: 0.925rem; color: var(--text); }
.checks li { position: relative; padding-left: 1.35rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.55rem; height: 1px; background: var(--edge-2); }

.intervals {
  display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 1.75rem;
  justify-content: start; margin-top: 0.5rem; padding-top: 1.1rem; border-top: 1px solid var(--edge);
}
.intervals div { display: flex; flex-direction: column; gap: 0.2rem; }
.intervals dt { font-size: 0.75rem; color: var(--text-3); }
.intervals dd { font-family: var(--mono); font-size: 0.95rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

@media (max-width: 900px) {
  /* The window moves to the top and stays there; the chapters run underneath. */
  .showcase-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .showcase-stage { order: -1; top: calc(62px + 0.75rem); }
  .app-body { height: clamp(220px, 34vh, 300px); }
  .chapter { min-height: 70vh; opacity: 1; }
  .chapter:first-child { min-height: 60vh; }
}
@media (max-width: 520px) { .intervals { grid-template-columns: repeat(2, minmax(0, auto)); gap: 1rem 1.75rem; } }


/* Also inside ------------------------------------------------------------ */

.more-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem 2.5rem; }
.more-grid li { display: flex; flex-direction: column; gap: 0.35rem; padding-top: 1rem; border-top: 1px solid var(--edge); }
.more-grid .idx { margin-bottom: 0.35rem; }
.more-grid p { color: var(--text-2); font-size: 0.9rem; }
@media (max-width: 860px) { .more-grid { grid-template-columns: repeat(2, 1fr); gap: 1.9rem; } }
@media (max-width: 520px) { .more-grid { grid-template-columns: 1fr; } }

/* Pricing: a comparison table. Hairlines only, tabular figures, and the
   recommended column carried by a lighter surface rather than a badge box. */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.plans {
  width: 100%; min-width: 640px;
  border-collapse: collapse;
  text-align: left;
}
table.plans th, table.plans td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--edge);
  vertical-align: middle;
}
table.plans thead th { border-bottom: none; padding-bottom: 0.5rem; vertical-align: bottom; }
table.plans tbody th, table.plans tbody td { font-size: 0.9rem; }
table.plans tbody th { font-weight: 400; color: var(--text-2); width: 30%; }
table.plans tbody td { color: var(--text); }
table.plans .num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

.plan-name { display: block; font-size: 0.85rem; font-weight: 600; }
table.plans thead em {
  display: block; margin-top: 0.25rem;
  font-style: normal; font-family: var(--mono); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3);
}
.row-price th { font-weight: 400; color: var(--text-2); font-size: 0.9rem; }
.row-price td { padding-top: 0.4rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--edge-2); }
.row-price b {
  display: block; font-family: var(--display); font-size: 2.1rem; font-weight: 600;
  letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums;
}
.row-price span { display: block; margin-top: 0.3rem; font-family: var(--mono); font-size: 0.68rem; color: var(--text-3); }

/* Yes / no marks, drawn rather than typed so they align on the baseline grid. */
.yes::before, .no::before {
  content: ""; display: block; width: 13px; height: 13px; background: currentColor;
}
.yes::before {
  color: var(--text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4l3 3 6-6.8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4l3 3 6-6.8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.no::before {
  color: var(--text-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7h8' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7h8' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* The recommended column reads as one continuous panel down the table. */
table.plans .is-featured { background: var(--surface); }
table.plans thead th.is-featured { border-radius: var(--r-md) var(--r-md) 0 0; box-shadow: inset 0 1px 0 var(--sheen); }
table.plans tfoot .is-featured { border-radius: 0 0 var(--r-md) var(--r-md); }
table.plans tfoot td { border-bottom: none; padding-top: 1.1rem; }
table.plans tfoot .btn { width: 100%; }

table.plans + .fine { margin-top: 1.4rem; max-width: 60ch; }

/* FAQ -------------------------------------------------------------------- */

.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; }
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--edge); }
.faq details { border-bottom: 1px solid var(--edge); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; font-weight: 500; font-size: 0.975rem; transition: color 0.16s;
}
.faq summary:hover { color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  background: var(--text-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0v10M0 5h10' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0v10M0 5h10' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 0 1.25rem; max-width: 62ch; font-size: 0.925rem; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* Footer ----------------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--edge); padding: clamp(2.5rem, 5vw, 4rem) 0 2.5rem; }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.foot-brand img { order: -1; }
.foot-brand span { font-weight: 600; font-size: 0.94rem; letter-spacing: -0.012em; }
.foot-brand p { font-size: 0.85rem; color: var(--text-3); max-width: 26ch; }
.foot-col h3 { font-size: 0.75rem; font-weight: 500; color: var(--text-3); margin-bottom: 0.85rem; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.foot-col a { color: var(--text-2); font-size: 0.875rem; transition: color 0.16s; }
.foot-col a:hover { color: var(--text); }
.foot-copy { grid-column: 1 / -1; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--edge); font-size: 0.78rem; color: var(--text-3); }
@media (max-width: 640px) { .foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }


/* ==========================================================================
   Full-bleed stages

   Sections that own the whole screen rather than sitting in a column, plus
   the hard cut to the opposite polarity. Going black to white mid-page is
   what gives a launch page its rhythm, and it works in either theme because
   .invert just redefines the tokens for its subtree.
   ========================================================================== */

.container-wide { width: min(var(--container-wide), 100% - var(--gutter) * 2); margin-inline: auto; }

.invert {
  --bg: #FCFCFB; --bg-2: #F4F4F2; --surface: #FFFFFF; --surface-2: #F7F7F5; --screen: #FFFFFF;
  --edge: rgba(18, 18, 22, 0.11); --edge-2: rgba(18, 18, 22, 0.20); --sheen: rgba(255, 255, 255, 0.9);
  --text: #14141A; --text-2: #58585D; --text-3: #86868C;
  --shadow-1: 0 1px 2px rgba(18, 18, 22, 0.06), 0 8px 20px -12px rgba(18, 18, 22, 0.14);
  --shadow-2: 0 1px 3px rgba(18, 18, 22, 0.07), 0 32px 64px -32px rgba(18, 18, 22, 0.22);
  background: var(--bg); color: var(--text);
}
:root[data-theme="light"] .invert,
:root:not([data-theme="dark"]) .invert {
  --bg: #07080A; --bg-2: #0B0D10; --surface: #17191F; --surface-2: #1E2128; --screen: #14171C;
  --edge: rgba(255, 255, 255, 0.12); --edge-2: rgba(255, 255, 255, 0.21); --sheen: rgba(255, 255, 255, 0.06);
  --text: #ECEBE8; --text-2: #9A9A98; --text-3: #64656A;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 24px -14px rgba(0, 0, 0, 0.7);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.4), 0 40px 80px -32px rgba(0, 0, 0, 0.75);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .invert {
    --bg: #07080A; --bg-2: #0B0D10; --surface: #17191F; --surface-2: #1E2128; --screen: #14171C;
    --edge: rgba(255, 255, 255, 0.12); --edge-2: rgba(255, 255, 255, 0.21); --sheen: rgba(255, 255, 255, 0.06);
    --text: #ECEBE8; --text-2: #9A9A98; --text-3: #64656A;
  }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .invert {
    --bg: #FCFCFB; --bg-2: #F4F4F2; --surface: #FFFFFF; --surface-2: #F7F7F5; --screen: #FFFFFF;
    --edge: rgba(18, 18, 22, 0.11); --edge-2: rgba(18, 18, 22, 0.20); --sheen: rgba(255, 255, 255, 0.9);
    --text: #14141A; --text-2: #58585D; --text-3: #86868C;
  }
}

/* The capsule floats over whatever section is beneath it. Over the inverted
   stage it has to flip too, or its text lands on a ground of the same value. */
.site-header.on-invert .nav {
  --surface: #FFFFFF; --edge: rgba(18, 18, 22, 0.11); --edge-2: rgba(18, 18, 22, 0.20);
  --sheen: rgba(255, 255, 255, 0.9); --text: #14141A; --text-2: #58585D; --text-3: #86868C;
  --bg: #FCFCFB;
  --shadow-1: 0 1px 2px rgba(18, 18, 22, 0.06), 0 8px 20px -12px rgba(18, 18, 22, 0.14);
  color: var(--text);
}
:root[data-theme="light"] .site-header.on-invert .nav {
  --surface: #17191F; --edge: rgba(255, 255, 255, 0.12); --edge-2: rgba(255, 255, 255, 0.21);
  --sheen: rgba(255, 255, 255, 0.06); --text: #ECEBE8; --text-2: #9A9A98; --text-3: #64656A;
  --bg: #07080A;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 24px -14px rgba(0, 0, 0, 0.7);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .site-header.on-invert .nav {
    --surface: #17191F; --edge: rgba(255, 255, 255, 0.12); --edge-2: rgba(255, 255, 255, 0.21);
    --sheen: rgba(255, 255, 255, 0.06); --text: #ECEBE8; --text-2: #9A9A98; --text-3: #64656A;
    --bg: #07080A;
  }
}

/* ==========================================================================
   Statement sequence

   A pinned stage that holds one enormous line at a time. Scroll swaps the
   line; nothing else on screen moves. This is the section that carries the
   privacy argument, which is the one worth slowing the reader down for.
   ========================================================================== */

.statement { position: relative; height: 380vh; }
.statement-track {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; place-items: center; overflow: hidden;
}
.statement-stage {
  width: min(var(--container-wide), 100% - var(--gutter) * 2);
  display: flex; flex-direction: column; align-items: center; gap: clamp(2rem, 5vh, 3.5rem);
  text-align: center;
}
.statement-label { font-size: 0.85rem; font-weight: 500; color: var(--text-3); }

.statement-lines { position: relative; width: 100%; display: grid; place-items: center; }
.stmt {
  grid-area: 1 / 1;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.1rem, 6.4vw, 5.5rem);
  line-height: 1.02; letter-spacing: -0.04em;
  max-width: 18ch; text-wrap: balance;
  opacity: 0; will-change: transform, opacity;
}

.statement-foot { max-width: 52ch; }
.statement-count { display: flex; gap: 0.4rem; }
.statement-count i {
  width: 22px; height: 2px; border-radius: 2px; background: var(--edge-2);
  transition: background 0.4s var(--ease);
}
.statement-count i.on { background: var(--text); }

/* ==========================================================================
   Scroll reveals

   Everything below the intro used to be static, which read as the page
   giving up after the opening. One shared observer lifts each block in.
   ========================================================================== */

/* Gated on a class the script adds, so a script failure can never leave the
   page invisible: without .js-reveal the content is simply shown. */
.js-reveal [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
.js-reveal [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
  .statement { height: auto; }
  .statement-track { position: static; height: auto; padding: clamp(4rem, 9vw, 7rem) 0; }
  .statement-lines { display: flex; flex-direction: column; gap: 1.5rem; }
  .stmt { grid-area: auto; opacity: 1 !important; transform: none !important; }
  .statement-count { display: none; }
}

/* ==========================================================================
   Closing stage
   ========================================================================== */

.cta-final {
  border-top: none;
  min-height: 92vh; display: grid; place-items: center;
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.cta-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.6rem; }
.cta-box h2 { font-size: clamp(2.6rem, 7.5vw, 6rem); max-width: 14ch; }
.cta-mark { opacity: 0.9; }

/* ==========================================================================
   Motion preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
