/*
 * landing.css — InkLift static landing-page styles.
 *
 * Cascade contract: this file MUST NOT declare CSS custom properties
 * (no --foo: ... definitions). All var(--…) tokens referenced here are
 * defined in /landing/css/design-system.css, which is loaded first by
 * landing/index.html and is a vendored copy of the backend canonical
 * design system (kept in sync via scripts/sync_landing_css.sh).
 *
 * Strict audit gate: scripts/audit_design_system.sh --strict enforces
 * (a) no token_def in this file, (b) all token_ref tokens exist in
 * design-system.css, (c) any raw hex color is on the allowlist.
 *
 * Layer order (last rule wins):
 *   1. Self-hosted @font-face block (Playfair / Inter / JetBrains Mono /
 *      Caveat, latin + latin-ext, served from /fonts/ — replaces the
 *      Google Fonts CDN link to cut FCP by ~300-500 ms on mobile).
 *   2. Reset + body baselines
 *   3. Skip-link + nav
 *   4. Prototype-derived landing sections (hero/pipeline/demo/features/
 *      devices/roadmap/trust/faq/footer/reveal/responsive)
 *   5. SAL-152 waitlist form CSS (appended verbatim at bottom so the
 *      shipped two-step form keeps its dark-on-black styling).
 */

/* === Self-hosted fonts — generated 2026-05-15 ===
   subsets: latin + latin-ext. unicode-range preserved so browsers only
   load files actually needed for the user's text. */

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/caveat-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/caveat-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/caveat-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/caveat-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/caveat-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/caveat-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/playfair-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/playfair-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/playfair-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/playfair-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--black);
  color: var(--white);
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 200;
}
.skip-link:focus { top: 0; }

/* ─── NAV ─────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-brand span { color: var(--accent-text); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-links a {
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--black); }
.nav-links .nav-cta {
  background: var(--black);
  color: var(--white);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
}
.nav-links .nav-cta:hover { background: var(--gray-900); }

/* ─── SECTIONS ────────────────────────────── */
section { padding: 6rem 2rem; }
.container { max-width: 1080px; margin: 0 auto; }

/* ─── HERO ────────────────────────────────── */
.hero {
  padding: 3rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--black);
  max-width: 720px;
  margin: 0 auto 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-text);
  font-weight: 600;
}
.hero p {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  transition: all 0.2s;
}
.hero-cta:hover { background: var(--gray-900); transform: translateY(-1px); }
.hero-cta svg { width: 18px; height: 18px; transition: transform 0.2s; }
.hero-cta:hover svg { transform: translateX(3px); }
.hero-secondary {
  display: inline-block;
  color: var(--gray-500);
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 1.5rem;
  transition: color 0.15s;
}
.hero-secondary:hover { color: var(--black); }

/* Hero animated demo */
.hero-demo {
  max-width: 880px;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: stretch;
  text-align: left;
}
.hero-demo-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 1.5rem;
  min-height: 260px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 12px 32px -12px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-demo-card.paper {
  background:
    repeating-linear-gradient(transparent, transparent 31px, rgba(0,0,0,0.06) 31px, rgba(0,0,0,0.06) 32px),
    var(--white);
}
.hero-demo-card.markdown { background: var(--gray-100); }
.hero-demo-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-demo-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.dest-rotator {
  display: inline-block;
  color: var(--accent-text);
  font-weight: 700;
  transition: opacity 0.25s ease;
  min-width: 7ch;
}
.dest-rotator.swap { opacity: 0; }
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.3); }
}
.hero-demo-arrow {
  align-self: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.hero-demo-arrow svg { width: 14px; height: 14px; }
.hw {
  font-family: var(--font-script);
  font-size: 1.45rem;
  line-height: 1.65;
  color: var(--gray-900);
}
.hw .ink {
  display: inline-block;
  overflow: hidden;
  white-space: pre;
  vertical-align: bottom;
  animation: ink-write 1.4s steps(40, end) both;
  animation-delay: 0s;
}
.hw .ink-d1 { animation-delay: 0.2s; }
.hw .ink-d2 { animation-delay: 0.7s; }
.hw .ink-d3 { animation-delay: 1.1s; }
.hw .ink-d4 { animation-delay: 1.4s; }
.hw .ink-d5 { animation-delay: 1.7s; }
@keyframes ink-write {
  from { width: 0; }
  to   { width: 100%; }
}
.md {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--gray-900);
  opacity: 0;
  animation: md-fade 0.5s ease-out forwards;
  animation-delay: 2s;
}
.md.md-d1 { animation-delay: 2.4s; }
.md .meta {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--gray-100);
}
.md .tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: 100px;
}
.md .heading {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  color: var(--black);
}
.md .item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.15rem 0;
}
.md .item .box {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1.5px solid var(--gray-300);
  flex-shrink: 0;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.md .item.done .box {
  background: #2d9e6f;
  border-color: #2d9e6f;
  color: var(--white);
}
.md .item.done .box::after {
  content: '✓';
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.md .item.done .text { color: var(--gray-700); text-decoration: line-through; text-decoration-color: var(--gray-300); }
.md .followup { margin-top: 0.6rem; color: var(--gray-700); font-size: 0.82rem; }
.md .link {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent-light);
  padding-bottom: 1px;
}
@keyframes md-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .hero-demo { grid-template-columns: 1fr; gap: 0.75rem; }
  .hero-demo-arrow { transform: rotate(90deg); }
}

/* ─── PIPELINE (How it works) ─────────────── */
.pipeline {
  background: var(--gray-100);
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pipeline-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 3rem;
}
.pipeline-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  max-width: 840px;
  margin: 0 auto;
}
.pipeline-step {
  text-align: center;
  padding: 0 1rem;
}
.pipeline-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.pipeline-icon svg { width: 24px; height: 24px; color: var(--black); }
.pipeline-step h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--black);
}
.pipeline-step p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}
.pipeline-arrow {
  display: flex;
  align-items: center;
  padding-top: 1rem;
  color: var(--gray-300);
}
.pipeline-arrow svg { width: 24px; height: 24px; }

/* ─── DEMO / PROOF ────────────────────────── */
.demo { padding: 6rem 2rem; }
.demo-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.demo-text h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.demo-text p {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.demo-text a {
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 1px;
  transition: border-color 0.15s;
}
.demo-text a:hover { border-color: var(--black); }
.demo-visual {
  background: var(--gray-100);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
}
.demo-handwriting {
  font-family: var(--font-script);
  font-size: 1.1rem;
  line-height: 2;
  color: var(--gray-700);
  border-bottom: 1px dashed var(--gray-300);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}
.demo-ocr {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--black);
}
.demo-ocr-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* ─── FEATURES ────────────────────────────── */
.features { background: var(--white); }
.features-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.features-header h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.features-header p {
  color: var(--gray-500);
  font-size: 1rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.feature-card {
  padding: 1.75rem;
  border-radius: 14px;
  border: 1px solid var(--gray-100);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover { border-color: var(--gray-300); box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon svg { width: 20px; height: 20px; color: var(--black); }
.feature-card h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--black);
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ─── DEVICES ─────────────────────────────── */
.devices {
  background: var(--gray-100);
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.devices-header {
  text-align: center;
  margin-bottom: 3rem;
}
.devices-header h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.devices-header p {
  color: var(--gray-500);
  font-size: 1rem;
}
.devices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}
.device-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
}
.device-card.available { border-color: var(--black); }
.device-status {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.device-status.ready { background: var(--black); color: var(--white); }
.device-status.soon { background: var(--gray-100); color: var(--gray-500); }
.device-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.device-icon svg { width: 32px; height: 32px; }
.device-card.available .device-icon svg { color: var(--black); }
.device-card:not(.available) .device-icon svg { color: var(--gray-300); }
.device-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.25rem;
}
.device-card:not(.available) h3 { color: var(--gray-500); }
.device-card p {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ─── ROADMAP (prototype timeline) ─────────── */
.roadmap-proto { background: var(--white); }
.roadmap-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.roadmap-header h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.roadmap-header p {
  color: var(--gray-500);
  font-size: 1rem;
}
.roadmap-proto-timeline {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}
.roadmap-proto-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--gray-300);
}
.roadmap-phase {
  position: relative;
  margin-bottom: 2.5rem;
}
.roadmap-phase:last-child { margin-bottom: 0; }
.roadmap-phase .roadmap-dot {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-300);
}
.roadmap-phase.active .roadmap-dot {
  background: var(--black);
  border-color: var(--black);
}
.roadmap-phase.active .roadmap-dot::after {
  content: '';
  position: absolute;
  top: -4px; left: -4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(17,17,17,0.15);
}
.roadmap-phase h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.15rem;
}
.roadmap-phase .roadmap-date {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.roadmap-items {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.roadmap-items li {
  font-size: 0.85rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.roadmap-items li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--gray-300);
  border-radius: 50%;
  flex-shrink: 0;
}
.roadmap-phase.active .roadmap-items li::before { background: var(--accent); }

/* ─── TRUST / LINKS ───────────────────────── */
.trust {
  border-top: 1px solid var(--gray-100);
  text-align: center;
  padding: 4rem 2rem;
}
.trust-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.trust-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-500);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}
.trust-link:hover { color: var(--black); }
.trust-link svg { width: 18px; height: 18px; }
.trust-caption {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ─── FAQ (prototype, no card-list) ────────── */
.faq-proto { background: var(--white); padding: 6rem 2rem; }
.faq-header { text-align: center; margin-bottom: 3rem; }
.faq-header .eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.faq-header h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.faq-proto-list {
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--gray-100);
}
.faq-proto-item {
  border-bottom: 1px solid var(--gray-100);
}
.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: color 0.15s;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--accent); }
.faq-question .chev {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--gray-500);
}
.faq-proto-item[open] .faq-question .chev { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
  padding: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray-700);
  max-width: 640px;
}
.faq-answer a { color: var(--accent); text-decoration: underline; }

/* ─── SCROLL REVEAL ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hw .ink, .md { animation: none !important; opacity: 1 !important; width: auto !important; }
}

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  .pipeline-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pipeline-arrow { display: none; }
  .demo-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .devices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero { padding: 5rem 1.5rem 4rem; }
  section { padding: 4rem 1.5rem; }
  .nav { padding: 0 1rem; }
}
@media (max-width: 480px) {
  .trust-links { flex-direction: column; gap: 1rem; align-items: center; }
}

/* ============================================================
 * SAL-152 waiting-list form CSS (appended verbatim).
 * Last block wins the cascade — keeps the dark two-step waitlist
 * styling that the shipped /api/waiting-list backend expects.
 * ============================================================ */

/* pricing / waitlist */
.waitlist {
  padding: 6rem 0;
  background: var(--black);
  color: var(--white);
}
.waitlist-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.waitlist-eyebrow { color: var(--accent); }
.waitlist-title { color: var(--white); margin-left: auto; margin-right: auto; }
.waitlist-sub { color: var(--gray-300); margin: 0 0 2rem; }

.wl-form {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: left;
  margin-top: 2rem;
}
.wl-form.is-hidden { display: none; }

.wl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .wl-row { grid-template-columns: 1fr; } }

.wl-field { display: flex; flex-direction: column; gap: 0.25rem; }
.wl-label { font-size: 0.85rem; color: var(--gray-300); }
.wl-form input[type="text"],
.wl-form input[type="email"],
.wl-form select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font: inherit;
}

.wl-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--gray-300);
}
.wl-consent a { color: var(--accent); }

.cf-turnstile { margin: 1rem 0; }

.wl-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wl-submit { margin-top: 1rem; width: 100%; }
.wl-status { margin-top: 0.75rem; font-size: 0.9rem; color: var(--gray-300); min-height: 1.2em; }

.wl-step2-h {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--white);
  margin: 0 0 0.5rem;
}
.wl-step2-sub { color: var(--gray-300); font-size: 0.95rem; margin: 0 0 1rem; }

.wl-fieldset { border: none; padding: 0; margin: 1.5rem 0; }
.wl-fieldset legend { font-weight: 600; color: var(--white); margin-bottom: 0.5rem; }
.wl-hint { color: var(--gray-500); font-size: 0.85rem; margin: 0 0 0.5rem; }

.wl-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wl-chips button {
  background: var(--gray-700);
  color: var(--white);
  border: 1px solid var(--gray-500);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
}
.wl-chips button:hover { border-color: var(--accent); }

.wl-ranker {
  padding: 0;
  margin: 0.75rem 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.wl-ranker li {
  background: var(--gray-700);
  color: var(--white);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  cursor: grab;
}

.wl-platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
@media (max-width: 480px) { .wl-platform-grid { grid-template-columns: 1fr; } }
.wl-platform-grid label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-300);
}

.waitlist-beta { margin-top: 2rem; font-size: 0.95rem; color: var(--gray-300); }
.waitlist-beta a { color: var(--accent); }
/* plugin */
.plugin { padding: 6rem 0; background: var(--gray-100); }
.plugin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 768px) { .plugin-grid { grid-template-columns: 1fr; } }
.plugin code {
  font-family: var(--font-mono);
  background: var(--gray-300);
  color: var(--black);
  padding: 0.1em 0.3em;
  border-radius: 3px;
}
.plugin-code {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 1.25rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 0;
}
.plugin-code code {
  background: transparent;
  color: var(--white);
  padding: 0;
}

/* roadmap */
.roadmap { padding: 6rem 0; }
.roadmap-timeline {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  position: relative;
}
.roadmap-timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--gray-300);
}
.roadmap-item {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.5rem;
}
.roadmap-dot {
  position: absolute;
  left: 4px;
  top: 0.4rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-300);
}
.roadmap-item.is-shipped .roadmap-dot { background: var(--accent); border-color: var(--accent); }
.roadmap-item.is-active .roadmap-dot { background: var(--white); border-color: var(--accent); }
.roadmap-item h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--black);
  margin: 0 0 0.25rem;
}
.roadmap-item p {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin: 0;
}

/* faq */
.faq { padding: 6rem 0; background: var(--gray-100); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-list { display: grid; gap: 0.75rem; margin-top: 2rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--black);
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.25rem;
  color: var(--accent);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--gray-700);
  font-size: 0.95rem;
}
/* final-cta */
.final-cta { padding: 6rem 0; text-align: center; }
.final-cta-inner { max-width: 720px; margin: 0 auto; }
.final-cta .section-title { margin-left: auto; margin-right: auto; }
.final-cta-sub { color: var(--gray-700); margin: 0 0 1.5rem; }

/* footer (also reused by /privacy.html) */
.footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 3rem 0 2rem;
}
.footer p a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer p a:hover { color: var(--accent); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.footer-tag { font-size: 0.9rem; margin: 0.25rem 0 0; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 600px) { .footer-links { justify-content: center; } }
.footer-links a { color: var(--gray-300); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 1.5rem 0 0;
}

/* policy page (privacy / terms) */
.policy-hero {
  padding: 5rem 0 2.5rem;
  text-align: center;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-300);
}
.policy-hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--black);
  margin: 0 0 0.5rem;
}
.policy-meta {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin: 0;
}
.policy-body {
  max-width: 780px;
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.policy-body h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--accent);
}
.policy-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 1.8rem 0 0.6rem;
}
.policy-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 1.4rem 0 0.5rem;
}
.policy-body p {
  margin: 0 0 1rem;
  color: var(--gray-700);
}
.policy-body ul,
.policy-body ol {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--gray-700);
}
.policy-body li { margin-bottom: 0.4rem; }
.policy-body a { color: var(--accent); text-decoration: underline; }
.policy-body a:hover { color: var(--accent-hover); }

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
  background: var(--white);
}
.policy-table th,
.policy-table td {
  text-align: left;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--gray-300);
}
.policy-table th {
  background: var(--gray-100);
  font-weight: 600;
  color: var(--black);
}
.policy-table td { color: var(--gray-700); }

.policy-callout {
  background: var(--gray-100);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--gray-900);
}
.policy-body code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--gray-100);
  color: var(--black);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}
