/*
  Vireo landing — https://vireo.coach/
  Palette + type mirror the Lumen tokens (apps/mobile/lib/core/theme/lumen_tokens.dart)
  and the legal pages (/legal.css). Plain CSS, no build step.
*/

:root {
  --bg: #EFEADD;
  --surface: #FBF8F0;
  --surface-alt: #F1ECDD;
  --ink: #2E2F22;
  --ink-soft: #6B6B57;
  --ink-mute: #9E9D86;
  --olive: #AFB36E;
  --olive-deep: #6E7235;
  --forest: #3B3D28;
  --forest-deep: #1E2013;
  --on-forest: #EFEAD9;
  /* Soft pale-olive accent (a Lumen leaf tone) — replaces the old acid lime. */
  --olive-bright: #CDD389;
  --line: #DED8C6;
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1120px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { letter-spacing: -0.02em; margin: 0; }

a { color: inherit; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--olive-deep), var(--olive), var(--olive-bright));
  z-index: 100;
  transition: width 0.08s linear;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 28px; font-size: 16px; }

.btn-solid {
  background: var(--forest);
  color: var(--on-forest);
  box-shadow: 0 8px 24px -12px rgba(30, 32, 19, 0.6);
}
.btn-solid:hover { background: var(--forest-deep); box-shadow: 0 14px 30px -12px rgba(30, 32, 19, 0.7); }

.btn-line {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-line:hover { border-color: var(--olive-deep); color: var(--olive-deep); }

.btn-ghost { background: transparent; color: var(--ink); padding: 9px 14px; }
.btn-ghost:hover { color: var(--olive-deep); }

/* On the dark hero, line buttons flip to light */
.hero .btn-line { border-color: rgba(239, 234, 217, 0.32); color: var(--on-forest); }
.hero .btn-line:hover { border-color: var(--olive-bright); color: var(--olive-bright); }
.hero .btn-solid { background: var(--olive); color: var(--forest-deep); }
.hero .btn-solid:hover { background: var(--olive-bright); }

/* ---------- Brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: inherit;
}
.brand-dot {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--olive);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--forest);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 17px;
}
.brand-dot-lg {
  width: 56px; height: 56px;
  border-radius: 16px;
  font-size: 30px;
  margin: 0 auto 8px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(251, 248, 240, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
/* While over the dark hero (top of page), nav text is light */
.nav:not(.scrolled) .brand,
.nav:not(.scrolled) .nav-links a { color: var(--on-forest); }
.nav:not(.scrolled) .btn-ghost { color: var(--on-forest); }

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: 8px;
}
.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--olive-deep); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--on-forest);
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-canvas canvas { width: 100%; height: 100%; }
/* Veil keeps text legible over the tree without hiding it */
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 18% 40%, rgba(10, 12, 6, 0.78) 0%, rgba(10, 12, 6, 0.35) 45%, rgba(10, 12, 6, 0) 70%),
    linear-gradient(180deg, rgba(10, 12, 6, 0.45) 0%, rgba(10, 12, 6, 0) 30%, rgba(10, 12, 6, 0.55) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  pointer-events: none;
}
.hero-inner > * { pointer-events: auto; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-forest);
  background: rgba(205, 211, 137, 0.1);
  border: 1px solid rgba(205, 211, 137, 0.32);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--olive-bright);
  box-shadow: 0 0 0 0 rgba(205, 211, 137, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(205, 211, 137, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(205, 211, 137, 0); }
  100% { box-shadow: 0 0 0 0 rgba(205, 211, 137, 0); }
}

.hero-title {
  font-size: clamp(38px, 7vw, 78px);
  font-weight: 800;
  line-height: 1.04;
  max-width: 16ch;
  margin-bottom: 22px;
}
.hero-title .accent {
  color: var(--olive-bright);
  position: relative;
}
.hero-lede {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.55;
  color: #D7D2BE;
  max-width: 56ch;
  margin: 0 0 32px;
}
.hero-lede strong { color: var(--olive-bright); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-hint {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: var(--ink-mute);
  margin: 26px 0 0;
  letter-spacing: 0.03em;
}

.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(239, 234, 217, 0.4);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--olive-bright);
  border-radius: 2px;
  animation: cue 1.7s infinite;
}
@keyframes cue {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Strip / marquee ---------- */
.strip {
  background: var(--forest);
  color: var(--on-forest);
  padding: 36px 0;
  overflow: hidden;
}
.strip-label {
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 22px;
}
.marquee { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  font-size: clamp(20px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-forest);
  animation: marquee 26s linear infinite;
  will-change: transform;
}
.marquee-track .sep { color: var(--olive); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 130px) 0; }
.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(28px, 4.6vw, 46px); font-weight: 700; line-height: 1.08; margin: 12px 0 0; }
.section-sub { color: var(--ink-soft); font-size: clamp(16px, 2vw, 19px); margin: 18px 0 0; max-width: 60ch; }

.kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.kicker .num { color: var(--ink-mute); }

.grid { display: grid; gap: 20px; }
.features { grid-template-columns: repeat(3, 1fr); }
.two { grid-template-columns: repeat(2, 1fr); }
.tiers { grid-template-columns: repeat(3, 1fr); align-items: start; }

/* ---------- Feature cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  left: 0; top: 0; height: 100%; width: 4px;
  background: linear-gradient(180deg, var(--olive), var(--olive-deep));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(46, 47, 34, 0.45); border-color: var(--olive); }
.card:hover::after { transform: scaleY(1); }
.card h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.card p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

.card-ic {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  margin-bottom: 18px;
  position: relative;
}
.card-ic::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--olive-deep);
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 22px; mask-size: 22px;
}
.card:hover .card-ic { background: var(--forest); border-color: var(--forest); }
.card:hover .card-ic::before { background: var(--olive-bright); }

.card-ic[data-ic="diary"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h13a2 2 0 0 1 2 2v14H6a2 2 0 0 1-2-2Z'/%3E%3Cpath d='M8 8h7M8 12h7M8 16h4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h13a2 2 0 0 1 2 2v14H6a2 2 0 0 1-2-2Z'/%3E%3Cpath d='M8 8h7M8 12h7M8 16h4'/%3E%3C/svg%3E"); }
.card-ic[data-ic="plan"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M9 4v16'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M9 4v16'/%3E%3C/svg%3E"); }
.card-ic[data-ic="chat"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.5 7.2L4 20l1-4.5A8 8 0 1 1 21 12Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.5 7.2L4 20l1-4.5A8 8 0 1 1 21 12Z'/%3E%3C/svg%3E"); }
.card-ic[data-ic="metrics"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l5-5 4 4 8-8'/%3E%3Cpath d='M16 8h5v5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l5-5 4 4 8-8'/%3E%3Cpath d='M16 8h5v5'/%3E%3C/svg%3E"); }
.card-ic[data-ic="calendar"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.card-ic[data-ic="invite"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M3 20a6 6 0 0 1 12 0'/%3E%3Cpath d='M18 7v6M21 10h-6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M3 20a6 6 0 0 1 12 0'/%3E%3Cpath d='M18 7v6M21 10h-6'/%3E%3C/svg%3E"); }

/* ---------- Copilot ---------- */
.copilot { background: var(--surface-alt); }
.copilot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.copilot-copy h2 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 700; line-height: 1.08; margin: 12px 0 0; }
.copilot-list { list-style: none; padding: 0; margin: 26px 0 30px; }
.copilot-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 16px;
}
.copilot-list li::before {
  content: "";
  position: absolute; left: 2px; top: 9px;
  width: 14px; height: 14px;
  border-radius: 5px;
  background: var(--olive);
  box-shadow: inset 0 0 0 2px var(--surface-alt), 0 0 0 1px var(--olive-deep);
}
.copilot-list strong { color: var(--ink); }

.copilot-demo { display: flex; justify-content: center; }
.demo-card {
  width: 100%;
  max-width: 420px;
  background: var(--forest-deep);
  color: var(--on-forest);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(205, 211, 137, 0.12);
  box-shadow: 0 40px 80px -40px rgba(30, 32, 19, 0.7);
  overflow: hidden;
  transform: rotate(-1.4deg);
  transition: transform 0.5s var(--ease);
}
.copilot-demo:hover .demo-card { transform: rotate(0deg) translateY(-4px); }
.demo-head {
  display: flex; align-items: center; gap: 9px;
  padding: 16px 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--olive);
  border-bottom: 1px solid rgba(239, 234, 217, 0.08);
}
.demo-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--olive-bright); box-shadow: 0 0 10px var(--olive-bright); }
.demo-body { padding: 20px; }
.demo-line {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; color: #D7D2BE;
  margin: 0 0 13px;
}
.tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.tag-ok { background: rgba(205, 211, 137, 0.16); color: var(--olive-bright); }
.tag-warn { background: rgba(224, 122, 95, 0.18); color: #F0A58C; }
.tag-info { background: rgba(175, 179, 110, 0.18); color: var(--olive); }
.demo-typing { display: flex; gap: 5px; padding: 8px 0 4px; }
.demo-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--olive);
  animation: blink 1.3s infinite both;
}
.demo-typing span:nth-child(2) { animation-delay: 0.2s; }
.demo-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
.demo-reco {
  margin: 10px 0 0;
  padding: 14px 16px;
  background: rgba(175, 179, 110, 0.1);
  border: 1px solid rgba(205, 211, 137, 0.14);
  border-radius: 14px;
  font-size: 14.5px;
  color: var(--on-forest);
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 34px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  color: var(--forest);
  background: var(--olive);
  width: 42px; height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.step p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* ---------- Two audiences ---------- */
.panel {
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.panel h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin: 10px 0 12px; }
.panel p { font-size: 16.5px; margin: 0 0 24px; }
.panel .btn { margin-top: auto; }
.panel-coach {
  background: var(--forest-deep);
  color: var(--on-forest);
}
.panel-coach .kicker { color: var(--olive); }
.panel-coach .kicker .num { color: var(--olive); opacity: 0.6; }
.panel-coach p { color: #D7D2BE; }
.panel-coach .btn-solid { background: var(--olive); color: var(--forest-deep); }
.panel-coach .btn-solid:hover { background: var(--olive-bright); }
.panel-client {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}
.panel-client p { color: var(--ink-soft); }
.panel-client p strong { color: var(--olive-deep); }
.soon {
  margin-top: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--ink-mute);
  border: 1px dashed var(--line);
  padding: 9px 14px;
  border-radius: 999px;
}

/* ---------- Pricing ---------- */
.pricing { background: var(--surface-alt); }
.tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.tier:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(46, 47, 34, 0.4); }
.tier h3 { font-size: 24px; font-weight: 700; margin: 0 0 4px; }
.tier-for { color: var(--ink-mute); font-size: 14px; margin: 0 0 22px; font-family: "JetBrains Mono", monospace; }
.tier ul { list-style: none; padding: 0; margin: 0; }
.tier li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 15.5px;
}
.tier li::before {
  content: "";
  position: absolute; left: 2px; top: 8px;
  width: 12px; height: 8px;
  border-left: 2px solid var(--olive-deep);
  border-bottom: 2px solid var(--olive-deep);
  transform: rotate(-45deg);
}
.tier li.muted-li { color: var(--ink-mute); }
.tier li.muted-li::before { border-color: var(--ink-mute); transform: none; top: 11px; height: 2px; width: 10px; border-left: 0; border-bottom: 2px solid var(--ink-mute); }
.tier-pop {
  border-color: var(--olive);
  box-shadow: 0 24px 60px -34px rgba(110, 114, 53, 0.55);
}
.tier-pop::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(160deg, var(--olive), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.tier-badge {
  position: absolute;
  top: -12px; left: 30px;
  background: var(--olive);
  color: var(--forest-deep);
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 500;
}
.pricing-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 15px;
  margin: 36px 0 0;
}

/* ---------- Privacy band ---------- */
.privacy-band { background: var(--forest); color: var(--on-forest); }
.privacy-inner { max-width: 760px; }
.privacy-band .kicker { color: var(--olive); }
.privacy-band .kicker .num { color: var(--olive); opacity: 0.6; }
.privacy-band h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 700; margin: 12px 0 0; }
.privacy-band .section-sub { color: #D7D2BE; }
.privacy-band .chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 22px; }
.privacy-band .chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  background: rgba(239, 234, 217, 0.06);
  border: 1px solid rgba(239, 234, 217, 0.16);
  color: var(--on-forest);
  border-radius: 999px;
  padding: 7px 15px;
}
.privacy-band .chip::before { content: "✕ "; color: var(--olive); }
.privacy-links { font-size: 15px; margin: 8px 0 0; }
.privacy-links a { color: var(--olive); text-decoration: none; }
.privacy-links a:hover { color: var(--olive-bright); }
.privacy-links .sep { color: rgba(239, 234, 217, 0.3); margin: 0 8px; }

/* ---------- Final CTA ---------- */
.cta-final { padding-bottom: clamp(80px, 12vw, 140px); }
.cta-card {
  text-align: center;
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-alt) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 80px) 28px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 40px 90px -50px rgba(46, 47, 34, 0.4);
}
.cta-card h2 { font-size: clamp(28px, 4.6vw, 48px); font-weight: 700; line-height: 1.06; margin: 8px 0 14px; }
.cta-card p { color: var(--ink-soft); font-size: 18px; margin: 0 0 30px; }
.cta-card .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  background: var(--forest-deep);
  color: var(--on-forest);
  padding: 46px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 22px 32px;
  flex-wrap: wrap;
}
.footer .brand { color: var(--on-forest); }
.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-left: 12px;
}
.footer-links a {
  text-decoration: none;
  color: #C9C4B0;
  font-size: 15px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--olive-bright); }
.footer-meta {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: var(--ink-mute);
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .copilot-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
/* Touch devices have no cursor — the "move the cursor over the tree" hint is moot. */
@media (pointer: coarse) {
  .hero-hint { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .nav-cta .btn-ghost { display: none; }
  .footer-meta { margin-left: 0; width: 100%; }
  .hero-inner { padding-bottom: 110px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .pill-dot, .scroll-cue span, .demo-typing span { animation: none; }
  .btn:hover, .card:hover, .tier:hover { transform: none; }
}
