/* ===================================================
   OASIS WEBSITE — Design System & Styles
   Fonts: Newsreader (serif) · DM Sans (sans)
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;1,6..72,300;1,6..72,400;1,6..72,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  /* Raw RGB channels for alpha support */
  --canvas-ch:   244 243 240;
  --card-ch:     253 253 252;
  --ink-ch:      26 25 24;
  --terra-ch:    140 90 77;
  --sage-ch:     74 93 80;

  /* Semantic */
  --bg:          rgb(var(--canvas-ch));
  --surface:     rgb(var(--card-ch));
  --text:        rgb(var(--ink-ch));
  --accent:      rgb(var(--terra-ch));
  --accent2:     rgb(var(--sage-ch));
  --muted:       rgb(var(--ink-ch) / 0.45);
  --border:      rgb(var(--ink-ch) / 0.11);
  --subtle:      rgb(var(--ink-ch) / 0.06);

  /* Typography */
  --serif:  'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:   'DM Sans', system-ui, -apple-system, sans-serif;
  --mono:   'SF Mono', 'Fira Code', 'Courier New', monospace;

  /* Radii — matching the app */
  --r-card: 16px;
  --r-btn:  8px;
  --r-chip: 6px;

  /* Layout */
  --max-w:  1140px;
  --pad-x:  40px;
  --sec-py: 120px;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --canvas-ch: 28 27 25;
    --card-ch:   36 34 32;
    --ink-ch:    234 231 226;
    --bg:        rgb(28 27 25);
    --surface:   rgb(36 34 32);
    --text:      rgb(234 231 226);
    --muted:     rgb(234 231 226 / 0.45);
    --border:    rgb(234 231 226 / 0.1);
    --subtle:    rgb(234 231 226 / 0.06);
  }
}

[data-theme="dark"] {
  --canvas-ch: 28 27 25;
  --card-ch:   36 34 32;
  --ink-ch:    234 231 226;
  --bg:        rgb(28 27 25);
  --surface:   rgb(36 34 32);
  --text:      rgb(234 231 226);
  --muted:     rgb(234 231 226 / 0.45);
  --border:    rgb(234 231 226 / 0.1);
  --subtle:    rgb(234 231 226 / 0.06);
}


/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grain texture — premium tactile feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='280' height='280' filter='url(%23g)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; }


/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgb(var(--terra-ch));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1001;
  transition: transform 0.05s linear;
}


/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section { padding: var(--sec-py) 0; }

.divider {
  height: 1px;
  background: var(--border);
}


/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(48px, 8vw, 96px); }
h2 { font-size: clamp(34px, 5vw, 62px); }
h3 { font-size: clamp(22px, 3vw, 30px); }

p { font-size: 16px; line-height: 1.72; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgb(var(--terra-ch));
}

.eyebrow-sage { color: rgb(var(--sage-ch)); }

.text-muted  { color: var(--muted); }
.text-accent { color: rgb(var(--terra-ch)); }
.text-sage   { color: rgb(var(--sage-ch)); }
.text-serif  { font-family: var(--serif); }
.italic      { font-style: italic; }


/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgb(var(--canvas-ch) / 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.65; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a:not(.btn) {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
  font-weight: 400;
}
.nav-links a:not(.btn):hover { color: var(--text); }


/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--r-btn);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border: none;
  outline: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover  { opacity: 0.72; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: rgb(var(--ink-ch));
  color: rgb(var(--canvas-ch));
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: var(--subtle);
  opacity: 1;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

.btn-full { width: 100%; }


/* ===== CHIPS ===== */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-chip);
  font-size: 11px;
  font-weight: 500;
  font-family: var(--sans);
}

.chip-muted {
  background: var(--subtle);
  color: var(--muted);
}

.chip-accent {
  background: rgb(var(--terra-ch) / 0.1);
  color: rgb(var(--terra-ch));
}

.chip-sage {
  background: rgb(var(--sage-ch) / 0.1);
  color: rgb(var(--sage-ch));
}


/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: 160px 0 100px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow { margin-bottom: 28px; }

.hero-headline {
  margin-bottom: 24px;
  line-height: 1.08;
}

.hero-headline em {
  font-style: italic;
  color: var(--muted);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.68;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-footnote {
  font-size: 12px;
  color: rgb(var(--ink-ch) / 0.35);
}


/* ===== HERO VISUAL (animated mockup) ===== */
.hero-visual {
  position: relative;
  height: 500px;
}

/* — inbox chaos panel — */
.inbox-panel {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.inbox-panel.dissolving {
  opacity: 0;
  transform: scale(0.975) translateY(-6px);
  pointer-events: none;
}

.inbox-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.topbar-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgb(var(--ink-ch) / 0.1);
}

.topbar-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  flex: 1;
}

.topbar-count {
  font-size: 11px;
  color: rgb(var(--terra-ch));
  font-weight: 600;
}

.inbox-list { }

.inbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid rgb(var(--ink-ch) / 0.05);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.inbox-row.in { opacity: 1; transform: translateX(0); }

.inbox-row.unread { background: rgb(var(--ink-ch) / 0.018); }

.row-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgb(var(--ink-ch) / 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
}

.row-body { flex: 1; min-width: 0; }

.row-sender {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-row:not(.unread) .row-sender { font-weight: 400; color: var(--muted); }

.row-subject {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-time {
  font-size: 10px;
  color: rgb(var(--ink-ch) / 0.3);
  flex-shrink: 0;
}

/* — oasis brief panel — */
.brief-panel {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.975) translateY(6px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  pointer-events: none;
}

.brief-panel.appearing {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.brief-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.brief-view-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(var(--terra-ch));
}

.brief-counter {
  font-size: 11px;
  color: var(--muted);
}

.brief-from {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.brief-subject {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 22px;
}

.brief-hr {
  height: 1px;
  background: var(--border);
  margin-bottom: 18px;
}

.brief-ai-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(var(--sage-ch));
  margin-bottom: 10px;
}

.brief-body {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
}

.brief-chips {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.brief-chip {
  padding: 8px 16px;
  border-radius: var(--r-btn);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: default;
}

.brief-chip.primary {
  background: rgb(var(--ink-ch));
  color: rgb(var(--canvas-ch));
  border-color: transparent;
}

.brief-dots {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 20px;
}

.brief-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--border);
}
.brief-dot.on { background: rgb(var(--ink-ch) / 0.5); }


/* ===== PROBLEM SECTION ===== */
.problem-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.stats-col {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.stat-item {}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 80px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgb(var(--terra-ch));
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.problem-text h2 { margin-bottom: 20px; }

.problem-text p {
  color: var(--muted);
  max-width: 440px;
}

.problem-text p + p { margin-top: 14px; }

.problem-quote {
  margin-top: 32px;
  padding: 24px 28px;
  border-left: 2px solid rgb(var(--terra-ch) / 0.35);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.65;
}


/* ===== FEATURES SECTION ===== */
.features-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 72px;
}

.features-header .eyebrow { margin-bottom: 14px; }
.features-header h2 { margin-bottom: 16px; }
.features-header p { color: var(--muted); font-size: 17px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--border);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  margin-bottom: 2px;
}

.feature-card {
  background: var(--bg);
  padding: 44px 36px;
  transition: background 0.25s ease;
  cursor: pointer;
}

.feature-card:hover { background: var(--surface); }

.feature-card.active {
  background: var(--surface);
}
.feature-card.active .feature-label {
  color: rgb(var(--ink-ch));
  opacity: 0.9;
}

.feature-icon {
  width: 36px; height: 36px;
  margin-bottom: 22px;
  opacity: 0.55;
  color: var(--text);
}

.feature-label { margin-bottom: 10px; }

.feature-title {
  font-family: var(--serif);
  font-size: 21px;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}


/* ===== FEATURE PANELS ===== */
.feature-panels-section {
  padding: 0 0 120px;
}

.feature-panels {
  display: grid;
  padding-top: 72px;
}

.feature-panel {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.feature-panel.active {
  opacity: 1;
  pointer-events: auto;
}


/* ===== SPOTLIGHT SECTIONS ===== */
.spotlight-section { }

.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.spotlight:last-child { margin-bottom: 0; }

.spotlight.flip { direction: rtl; }
.spotlight.flip > * { direction: ltr; }

.spotlight-text .eyebrow { margin-bottom: 14px; }
.spotlight-text h2       { margin-bottom: 18px; }
.spotlight-text p        { color: var(--muted); margin-bottom: 14px; }

.spotlight-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  min-height: 360px;
}


/* — Kiosk mockup — */
.kiosk-mock-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kiosk-mock-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
}

.kiosk-chips {
  display: flex;
  gap: 6px;
}

.kiosk-chip {
  padding: 3px 10px;
  border-radius: var(--r-chip);
  font-size: 10px;
  font-weight: 500;
  background: var(--subtle);
  color: var(--muted);
}

.kiosk-chip.on {
  background: rgb(var(--ink-ch));
  color: rgb(var(--canvas-ch));
}

.kiosk-mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
}

.kiosk-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.kiosk-pub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(var(--terra-ch));
  margin-bottom: 7px;
}

.kiosk-title {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.kiosk-meta {
  font-size: 10px;
  color: var(--muted);
}


/* — Command palette mockup — */
.palette-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
}

.palette-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.palette-search-icon {
  color: var(--muted);
  font-size: 15px;
  flex-shrink: 0;
}

.palette-typed {
  font-size: 14px;
  color: var(--text);
  flex: 1;
}

.palette-cursor {
  width: 2px;
  height: 16px;
  background: rgb(var(--terra-ch));
  display: inline-block;
  animation: blink 1.1s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.palette-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  cursor: default;
  border-bottom: 1px solid var(--border);
}

.palette-result:last-child { border-bottom: none; }

.palette-result.sel { background: var(--subtle); }

.pr-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgb(var(--ink-ch) / 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.pr-info { }

.pr-title {
  font-size: 13px;
  font-weight: 500;
}

.pr-sub {
  font-size: 11px;
  color: var(--muted);
}


/* — Ledger mockup — */
.ledger-mock {
  font-family: var(--mono);
  font-size: 11px;
  padding: 20px;
  line-height: 2;
  color: var(--muted);
}

.ledger-row {
  display: flex;
  gap: 12px;
  padding: 2px 0;
  border-bottom: 1px solid rgb(var(--ink-ch) / 0.04);
}

.ledger-date { color: rgb(var(--ink-ch) / 0.3); width: 50px; flex-shrink: 0; }
.ledger-sender { width: 120px; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger-subj { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger-cat {
  color: rgb(var(--sage-ch));
  width: 80px;
  flex-shrink: 0;
  text-align: right;
}


/* ===== PRIVACY SECTION ===== */
.privacy-band {
  background: rgb(var(--sage-ch) / 0.06);
  border-top: 1px solid rgb(var(--sage-ch) / 0.12);
  border-bottom: 1px solid rgb(var(--sage-ch) / 0.12);
}

.privacy-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.privacy-inner .eyebrow { margin-bottom: 14px; }
.privacy-inner h2       { margin-bottom: 18px; }
.privacy-inner p        { color: var(--muted); font-size: 17px; }

/* Data flow diagram */
.data-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 48px 0;
  flex-wrap: wrap;
}

.flow-node {
  text-align: center;
}

.flow-box {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  font-size: 13px;
  font-weight: 500;
  background: var(--surface);
  margin-bottom: 6px;
}

.flow-box.yours {
  border-color: rgb(var(--sage-ch) / 0.5);
  background: rgb(var(--sage-ch) / 0.06);
}

.flow-box.blocked {
  opacity: 0.35;
}

.flow-sublabel {
  font-size: 10px;
  color: var(--muted);
}

.flow-arrow {
  font-size: 18px;
  color: var(--muted);
  padding: 0 10px;
  margin-bottom: 24px;
}

.flow-arrow.no {
  color: rgb(var(--terra-ch));
}

.flow-no-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(var(--terra-ch));
  text-align: center;
}

/* Privacy grid */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
}

.privacy-card {
  background: var(--bg);
  padding: 36px;
  transition: background 0.2s;
}

.privacy-card:hover { background: var(--surface); }

.privacy-card-icon {
  font-size: 22px;
  margin-bottom: 16px;
}

.privacy-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.privacy-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}


/* ===== PRICING ===== */
.pricing-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 60px;
}

.pricing-header .eyebrow { margin-bottom: 12px; }
.pricing-header h2       { margin-bottom: 16px; }
.pricing-header p        { color: var(--muted); font-size: 16px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
}

.pricing-card {
  background: var(--bg);
  padding: 44px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: var(--surface);
}

.pricing-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: var(--r-chip);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgb(var(--terra-ch));
  color: rgb(var(--canvas-ch));
  margin-bottom: 20px;
}

.pricing-tier {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price sup {
  font-size: 22px;
  vertical-align: super;
}

.pricing-period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features {
  margin-bottom: 36px;
}

.pricing-features li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  padding: 9px 0;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}

.pricing-features li:first-child { border-top: none; }

.pricing-features li::before {
  content: '—';
  color: rgb(var(--terra-ch));
  flex-shrink: 0;
}


/* ===== CTA BAND ===== */
.cta-band {
  padding: calc(var(--sec-py) * 1.3) 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.cta-inner .eyebrow { margin-bottom: 14px; }
.cta-inner h2       { margin-bottom: 18px; }
.cta-inner p        { color: var(--muted); font-size: 17px; margin-bottom: 40px; }

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-footnote {
  margin-top: 20px;
  font-size: 12px;
  color: rgb(var(--ink-ch) / 0.35);
}


/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--text);
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text); }

.footer-copy {
  font-size: 12px;
  color: rgb(var(--ink-ch) / 0.28);
}


/* ===== WAITLIST PAGE ===== */
.wl-page {
  min-height: 100vh;
  padding: 160px 0 100px;
  display: flex;
  align-items: center;
}

.wl-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.wl-text .eyebrow { margin-bottom: 16px; }
.wl-text h1       { font-size: clamp(36px, 5vw, 54px); margin-bottom: 18px; }
.wl-text .sub     { color: var(--muted); font-size: 16px; line-height: 1.7; }

.wl-perks {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wl-perk {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  align-items: flex-start;
}

.wl-perk-icon {
  flex-shrink: 0;
  color: rgb(var(--sage-ch));
}

.wl-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 44px;
}

.wl-form-title {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 6px;
}

.wl-form-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus {
  border-color: rgb(var(--ink-ch) / 0.4);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 4.5L11 1' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-note {
  font-size: 12px;
  color: rgb(var(--ink-ch) / 0.38);
  margin-top: 14px;
  line-height: 1.55;
}

.wl-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
}

.wl-success.show { display: block; }

.wl-success-mark {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgb(var(--sage-ch) / 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 20px;
}

.wl-success h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.wl-success p { color: var(--muted); font-size: 15px; }


/* ===== DOWNLOAD PAGE ===== */
.dl-page {
  min-height: 100vh;
  padding: 160px 0 100px;
  display: flex;
  align-items: center;
}

.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.dl-text .eyebrow { margin-bottom: 14px; }
.dl-text h1       { font-size: clamp(36px, 5vw, 56px); margin-bottom: 18px; }
.dl-text p        { color: var(--muted); margin-bottom: 14px; }

.dl-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.dl-reqs {
  margin-top: 36px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
}

.dl-reqs-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.dl-reqs ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dl-reqs li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  align-items: flex-start;
}

.dl-reqs li::before {
  content: '→';
  color: rgb(var(--sage-ch));
  flex-shrink: 0;
}

.dl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 40px;
}

.dl-app-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: rgb(var(--ink-ch));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: rgb(var(--canvas-ch));
  letter-spacing: -0.02em;
}

.dl-card h3 { font-size: 22px; margin-bottom: 4px; }

.dl-version {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
}

.dl-btn { margin-bottom: 10px; }

.dl-checksums {
  font-family: var(--mono);
  font-size: 10px;
  color: rgb(var(--ink-ch) / 0.3);
  word-break: break-all;
  line-height: 1.7;
}

.dl-steps-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 32px 0 16px;
}

.dl-step {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}

.dl-step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 1px;
}

.dl-step-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 3px;
}

.dl-step-desc {
  font-size: 12px;
  color: var(--muted);
}


/* ===== LEGAL PAGES (privacy, terms) ===== */
.legal-hero {
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--border);
}

.legal-hero .eyebrow { margin-bottom: 14px; }
.legal-hero h1       { font-size: clamp(36px, 5vw, 64px); margin-bottom: 16px; }
.legal-hero .sub     { font-size: 16px; color: var(--muted); max-width: 560px; }

.legal-meta {
  margin-top: 24px;
  font-size: 12px;
  color: rgb(var(--ink-ch) / 0.35);
}

.legal-body {
  padding: 80px 0 120px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 100px;
}

.legal-toc-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.legal-toc-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal-toc-links a {
  font-size: 13px;
  color: var(--muted);
  padding: 5px 0;
  transition: color 0.2s;
  border-left: 2px solid transparent;
  padding-left: 12px;
}

.legal-toc-links a:hover,
.legal-toc-links a.active {
  color: var(--text);
  border-left-color: rgb(var(--terra-ch));
}

.legal-content { max-width: 680px; }

.legal-section {
  margin-bottom: 56px;
}

.legal-section h2 {
  font-size: 24px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.legal-section h3 {
  font-size: 17px;
  margin: 20px 0 8px;
}

.legal-section p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.75;
}

.legal-section ul {
  list-style: none;
  margin-bottom: 12px;
}

.legal-section ul li {
  font-size: 15px;
  color: var(--muted);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}

.legal-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgb(var(--terra-ch));
}

.legal-callout {
  padding: 20px 24px;
  background: rgb(var(--sage-ch) / 0.06);
  border: 1px solid rgb(var(--sage-ch) / 0.15);
  border-radius: var(--r-card);
  margin: 20px 0;
}

.legal-callout p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.legal-callout strong {
  color: var(--text);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 13px;
}

.data-table th {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  vertical-align: top;
  line-height: 1.55;
}

.data-table td:first-child {
  color: var(--text);
  font-weight: 500;
}

.data-table tr:last-child td { border-bottom: none; }

.status-yes {
  color: rgb(var(--sage-ch));
  font-weight: 600;
}

.status-no {
  color: rgb(var(--terra-ch));
  font-weight: 600;
}


/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }


/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  :root {
    --sec-py: 80px;
    --pad-x: 28px;
  }

  .hero-grid    { grid-template-columns: 1fr; }
  .hero-visual  { height: 420px; }

  .problem-grid { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr 1fr; }

  .spotlight      { grid-template-columns: 1fr; }
  .spotlight.flip { direction: ltr; }

  .privacy-grid { grid-template-columns: 1fr; }

  .pricing-grid  { grid-template-columns: 1fr; gap: 16px; background: none; }
  .pricing-card  { border: 1px solid var(--border); border-radius: var(--r-card); }

  .wl-inner  { grid-template-columns: 1fr; }
  .dl-grid   { grid-template-columns: 1fr; }

  .legal-body { grid-template-columns: 1fr; }
  .legal-toc  { display: none; }
}

@media (max-width: 640px) {
  :root { --pad-x: 20px; }

  h1 { font-size: clamp(36px, 10vw, 52px); }
  h2 { font-size: clamp(28px, 8vw, 44px); }

  .nav-links a:not(.btn) { display: none; }
  .nav-links { gap: 16px; }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .privacy-grid  { grid-template-columns: 1fr; }

  .hero-actions  { flex-direction: column; align-items: flex-start; }
  .cta-actions   { flex-direction: column; }

  .kiosk-mock-grid { grid-template-columns: 1fr; }

  .wl-form-card { padding: 28px; }
  .dl-card      { padding: 28px; }
}
