/* ============================================================
   LITMUS — Landing page styles
   Warm editorial premium design language
   (inspired by Sierra, Duna, Aura, Wisepops)
   ============================================================ */
:root {
  --bg: #fbfaf7;            /* warm canvas */
  --bg-soft: #f2eee8;       /* warm off-white section */
  --surface: #ffffff;       /* elevated card */
  --surface-2: #f6f3ee;     /* tinted panel */
  --surface-warm: #ede7df;

  --panel: rgba(34, 34, 34, 0.03);
  --panel-strong: rgba(34, 34, 34, 0.05);
  --border: #e4e0dc;        /* Sierra gray-200 */
  --border-strong: #c9c1b7;

  --text: #302e2d;          /* Sierra gray-700 */
  --text-soft: #5f5a55;
  --text-dim: #827b73;

  --accent: #006838;        /* Sierra forest green (green-500) */
  --accent-deep: #05351d;   /* Sierra dark green (green-800) */
  --accent-soft: rgba(0, 104, 56, 0.1);
  --accent-wash: #dceadf;
  --pop: #b56b32;
  --pop-soft: #f0d6c2;

  --ink: #05351d;           /* dark green button/section */
  --ink-hover: #082f1c;

  --grad: linear-gradient(103deg, #006838 0%, #05351d 100%);
  --grad-warm: linear-gradient(115deg, #b56b32 0%, #006838 48%, #05351d 100%);

  --radius-lg: 16px;
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1160px;

  --shadow: 0 32px 80px -40px rgba(48, 46, 45, 0.34);
  --shadow-soft: 0 18px 44px -28px rgba(48, 46, 45, 0.3);
  --shadow-green: 0 22px 50px -32px rgba(0, 104, 56, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--display);
  background:
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 42%, #f6f3ee 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, .brand-name, .rotator, .stat-num, .stat-num-text, .score-num, .verdict-meta b {
  font-family: var(--display);
  letter-spacing: 0;
  line-height: 1.05;
  font-weight: 560;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.section { padding: clamp(44px, 5vw, 76px) 0; position: relative; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mob-only { display: none; }
em { font-style: normal; font-weight: 650; color: var(--accent); }

/* Remove noisy legacy layers */
body::before, .grain, .cursor-glow, .grid-overlay, .hero .aurora { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 650; font-size: 14px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: all 0.25s var(--ease);
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), var(--shadow-green);
}
.btn-primary:hover { background: var(--ink-hover); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 22px 46px -28px rgba(5,53,29,0.9); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn:disabled { cursor: wait; opacity: 0.72; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  transition: all 0.3s ease; border-bottom: 1px solid transparent; padding: 14px 0;
}
.site-header.scrolled { background: rgba(251, 250, 247, 0.84); backdrop-filter: blur(18px); border-bottom-color: rgba(228,224,220,0.9); padding: 9px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name { font-size: 21px; font-weight: 690; letter-spacing: 0; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; color: var(--accent); }
.nav-links { display: flex; gap: 34px; }
.nav-links a { color: var(--text-soft); font-size: 14.5px; font-weight: 550; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 16px; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text); transition: all 0.3s var(--ease); border-radius: 2px; }
.mobile-menu {
  display: none; flex-direction: column; gap: 0; padding: 0 28px;
  background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(16px);
  max-height: 0; overflow: hidden; transition: all 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.mobile-menu.open { max-height: 380px; padding: 12px 28px 26px; border-bottom-color: var(--border); }
.mobile-menu a { padding: 14px 0; color: var(--text-soft); font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu a.btn { border: none; justify-content: center; margin-top: 16px; color: #ffffff; }
/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 50px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(115deg, rgba(181, 107, 50, 0.16), transparent 34%),
    linear-gradient(245deg, rgba(0, 104, 56, 0.14), transparent 38%),
    repeating-linear-gradient(90deg, rgba(48,46,45,0.035) 0 1px, transparent 1px 84px);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.76) 48%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.76) 48%, transparent 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 4vw;
  right: 4vw;
  bottom: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(48,46,45,0.14), transparent);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.hero-copy, .hero-visual { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0; text-transform: uppercase; color: var(--accent-deep);
  padding: 8px 15px; border: 1px solid rgba(5,53,29,0.18); border-radius: 999px; background: rgba(255,255,255,0.72);
  backdrop-filter: blur(18px);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(0,104,56,0.1); }

.hero-title {
  font-size: clamp(48px, 6.2vw, 82px);
  margin: 26px 0;
  color: var(--text);
  font-weight: 620;
  line-height: 0.98;
  max-width: 720px;
}
.hero-sub { font-size: clamp(17px, 1.8vw, 20px); color: var(--text-soft); max-width: 560px; margin-bottom: 42px; line-height: 1.58; }
.rotator { display: inline-block; position: relative; height: 1.06em; overflow: hidden; vertical-align: bottom; }
.rotator-track { display: flex; flex-direction: column; transition: transform 0.6s var(--ease); }
.rotator-track > span {
  height: 1.06em;
  display: block;
  color: var(--accent);
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: rgba(181,107,50,0.34);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.1em;
}

.hero-trust { margin-top: 30px; font-family: var(--mono); font-size: 12px; color: var(--text-dim); }

/* waitlist form */
.waitlist-form { max-width: 500px; }
.waitlist-form, .field { width: 100%; }
.field {
  display: flex; gap: 8px; padding: 7px; border: 1px solid var(--border-strong); border-radius: 999px;
  background: rgba(255,255,255,0.78); transition: all 0.25s ease; box-shadow: 0 18px 42px -34px rgba(48,46,45,0.54);
  backdrop-filter: blur(16px);
}
.field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 20px 46px -34px rgba(5,53,29,0.7); }
.field input {
  flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 15px; padding: 0 18px; font-family: inherit; min-width: 0;
}
.field input::placeholder { color: var(--text-dim); font-weight: 400; }
.field .btn { flex-shrink: 0; }
.form-note { margin-top: 13px; font-size: 12.5px; color: var(--text-dim); }
.form-success {
  margin-top: 13px; font-size: 13.5px; font-weight: 600; color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 8px; animation: popIn 0.4s var(--ease);
}
.form-success[hidden] { display: none; }
.form-success svg { color: var(--accent); }
.form-error { margin-top: 13px; font-size: 13px; font-weight: 600; color: #9f2d20; }
.form-error[hidden] { display: none; }
@keyframes popIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- Hero visual: console ---------- */
.hero-visual { position: relative; perspective: 1200px; }
.signal-orbit {
  position: absolute;
  inset: -70px -48px;
  z-index: 1;
  pointer-events: none;
}
.orbit-ring {
  position: absolute;
  inset: 34px 20px;
  border: 1px solid rgba(5,53,29,0.14);
  border-radius: 50%;
  transform: rotate(-12deg);
}
.orbit-ring-2 {
  inset: 74px 58px;
  border-color: rgba(181,107,50,0.17);
  transform: rotate(14deg);
}
.orbit-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(0,104,56,0.09);
  animation: driftOne 7s var(--ease) infinite alternate;
}
.orbit-dot-1 { top: 98px; right: 40px; }
.orbit-dot-2 { left: 22px; bottom: 104px; background: var(--pop); box-shadow: 0 0 0 7px rgba(181,107,50,0.1); animation-name: driftTwo; animation-duration: 8s; }
.signal-beam {
  position: absolute;
  left: 12%;
  right: 9%;
  top: 45%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(181,107,50,0.65), rgba(0,104,56,0.55), transparent);
  transform: rotate(-17deg);
  animation: beamScan 4.6s ease-in-out infinite;
}
.console {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 26%),
    rgba(48, 46, 45, 0.94);
  color: #f8f5ef;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transform: rotateX(2deg) rotateY(-4deg);
  animation: consoleFloat 7s ease-in-out infinite;
}
.console::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.12), transparent 22%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 32px);
  opacity: 0.7;
}
.console-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.14); position: relative; z-index: 1; }
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.28); }
.console-dots i:first-child { background: var(--accent); opacity: 0.7; }
.console-title { font-family: var(--mono); font-size: 11px; color: rgba(248,245,239,0.58); letter-spacing: 0; text-transform: uppercase; font-weight: 500; }

.console-idea { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.14); position: relative; z-index: 1; }
.console-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0; text-transform: uppercase; color: rgba(248,245,239,0.5); font-weight: 500; margin-bottom: 8px; display: block; }
.console-idea p { font-size: 17px; color: #fffaf2; font-weight: 540; line-height: 1.35; overflow-wrap: break-word; }

.pipeline { list-style: none; padding: 20px 0; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.14); position: relative; z-index: 1; }
.stage {
  display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-dim);
  padding: 11px 15px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s var(--ease);
}
.stage-ico { width: 24px; height: 24px; display: grid; place-items: center; font-size: 12px; color: var(--pop-soft); }
.stage.active { color: #fffaf2; background: rgba(246,245,243,0.12); border-color: rgba(0, 104, 56, 0.86); box-shadow: 0 0 0 4px rgba(0,104,56,0.12), inset 0 1px 0 rgba(255,255,255,0.12); transform: translateX(4px); }
.stage.done { color: rgba(248,245,239,0.64); }

.verdict-card { padding-top: 20px; position: relative; z-index: 1; }
.verdict-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.verdict-badge {
  font-family: var(--mono); font-weight: 600; font-size: 11px; letter-spacing: 0;
  padding: 5px 11px; border-radius: 8px; background: rgba(220,234,223,0.13); color: #dceadf; border: 1px solid rgba(0,104,56,0.46);
}
.verdict-conf { font-family: var(--mono); font-size: 12px; color: rgba(248,245,239,0.58); font-weight: 500; }
.conf-meter { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.13); overflow: hidden; }
.conf-fill { display: block; height: 100%; width: 0; background: var(--grad-warm); transition: width 1.6s var(--ease); box-shadow: 0 0 18px rgba(0,104,56,0.6); }
.signal-wave { width: 100%; height: auto; margin-top: 18px; overflow: visible; }
.wave-grid { stroke: rgba(255,255,255,0.08); stroke-width: 1; }
.wave-line {
  fill: none;
  stroke: url(#waveGradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 6px 12px rgba(0,104,56,0.34));
  animation: drawSignal 2.5s var(--ease) 0.5s forwards, breatheSignal 3s ease-in-out 3s infinite;
}
.verdict-meta { display: flex; gap: 26px; margin-top: 16px; font-family: var(--mono); font-size: 12px; color: rgba(248,245,239,0.54); }
.verdict-meta b { color: #fffaf2; font-weight: 560; font-family: var(--display); }

/* floating chips */
.chip {
  position: absolute; z-index: 3; font-family: var(--mono); font-size: 11.5px; font-weight: 500; padding: 9px 17px; border-radius: 999px;
  background: rgba(255,253,249,0.74); border: 1px solid rgba(201,193,183,0.74); box-shadow: var(--shadow-soft);
  white-space: nowrap; color: var(--text);
  backdrop-filter: blur(16px);
  animation: chipFloat 5.6s ease-in-out infinite;
}
.chip-1 { top: 8%; left: -7%; }
.chip-2 { bottom: 20%; right: -6%; animation-delay: -1.8s; }
.chip-3 { bottom: -2%; left: 12%; animation-delay: -3.2s; }

/* ---------- Logo marquee ---------- */
.logo-marquee { margin-top: 42px; text-align: center; border-top: 1px solid var(--border); padding-top: 28px; }
.marquee-label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0; text-transform: uppercase; color: var(--text-dim); margin-bottom: 26px; font-weight: 500; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 42px; width: max-content; animation: marquee 30s linear infinite; align-items: center; }
.marquee-track span { font-weight: 560; font-size: 18px; color: var(--text-dim); letter-spacing: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section head ---------- */
.section-head { max-width: 720px; margin: 0 auto clamp(30px, 4vw, 42px); text-align: center; }
.kicker { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 54px); color: var(--text); font-weight: 600; }
.section-head .lead, .lead { font-size: clamp(16px, 1.8vw, 19px); color: var(--text-soft); margin-top: 18px; line-height: 1.62; }

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.problem-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(246,243,238,0.76));
  border: 1px solid rgba(201,193,183,0.72);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all 0.3s ease;
  overflow: hidden;
}
.problem-card::before,
.feature::before,
.aud-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--grad-warm);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.problem-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--border-strong); }
.problem-card:hover::before,
.feature:hover::before,
.aud-card:hover::before { opacity: 1; }
.problem-num { font-family: var(--mono); font-size: 13px; color: var(--accent); display: block; margin-bottom: 18px; font-weight: 600; letter-spacing: 0; }
.problem-card h3 { font-size: 21px; margin-bottom: 13px; font-weight: 650; }
.problem-card p { color: var(--text-soft); font-size: 14.5px; }

/* ---------- How / steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: linear-gradient(180deg, var(--surface-2), rgba(237,231,223,0.62));
  border: 1px solid rgba(201,193,183,0.68);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all 0.3s ease;
}
.step:hover { background: var(--surface); box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.step-index {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  font-family: var(--mono); font-size: 16px; color: #ffffff; font-weight: 600;
  background: var(--grad-warm); margin-bottom: 22px; box-shadow: var(--shadow-green);
}
.step-body h3 { font-size: 20px; margin-bottom: 11px; font-weight: 650; }
.step-body p { color: var(--text-soft); font-size: 14.5px; }

/* ---------- Why / features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { position: relative; overflow: hidden; background: rgba(255,255,255,0.78); border: 1px solid rgba(201,193,183,0.68); border-radius: var(--radius); padding: 34px 28px; transition: all 0.3s ease; }
.feature:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); border-color: var(--border-strong); }
.feature-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; font-size: 22px;
  background: linear-gradient(145deg, rgba(220,234,223,0.8), rgba(240,214,194,0.54)); border: 1px solid rgba(0,104,56,0.16); color: var(--accent); margin-bottom: 22px;
}
.feature h3 { font-size: 20px; margin-bottom: 13px; font-weight: 650; }
.feature p { color: var(--text-soft); font-size: 14.5px; }
/* ---------- Memo ---------- */
.memo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.memo-copy h2 { font-size: clamp(34px, 4vw, 50px); margin-top: 14px; font-weight: 600; }
.memo-copy .lead { margin-bottom: 34px; }
.memo-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.memo-list li { display: flex; align-items: center; gap: 14px; color: var(--text-soft); font-size: 15px; }
.memo-list span { color: var(--accent); font-weight: 700; flex-shrink: 0; }

.memo-doc {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(246,243,238,0.78)),
    var(--surface);
  border: 1px solid rgba(201,193,183,0.72);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.doc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.doc-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0; color: var(--text-dim); text-transform: uppercase; font-weight: 600; }
.doc-verdict { font-family: var(--mono); font-weight: 600; font-size: 11px; letter-spacing: 0; padding: 5px 10px; border-radius: 7px; background: var(--grad-warm); color: #ffffff; text-transform: uppercase; }
.memo-doc h4 { font-size: 24px; margin: 18px 0 26px; font-weight: 650; }
.doc-scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.score { padding: 12px 0; }
.score-num { display: block; font-size: 34px; color: var(--accent-deep); font-weight: 620; }
.score-lbl { font-family: var(--mono); font-size: 11px; color: var(--text-dim); margin-top: 4px; display: block; }
.doc-row { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--border); font-size: 13.5px; }
.doc-row b { color: var(--text-soft); font-weight: 560; }
.doc-row span { color: var(--text); text-align: right; }
.doc-next {
  margin-top: 18px; padding: 17px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; color: var(--text-soft);
  display: flex; align-items: center; gap: 10px;
}
.doc-next strong { color: var(--text); font-weight: 560; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pop); box-shadow: 0 0 0 0 rgba(181,107,50,0.44); animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(181,107,50,0.44); } 70% { box-shadow: 0 0 0 8px rgba(181,107,50,0); } 100% { box-shadow: 0 0 0 0 rgba(181,107,50,0); } }

/* ---------- Audience ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aud-card { position: relative; overflow: hidden; background: rgba(255,255,255,0.78); border: 1px solid rgba(201,193,183,0.68); border-radius: var(--radius); padding: 34px 26px; transition: all 0.3s ease; }
.aud-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--border-strong); }
.aud-card h3 { font-size: 19px; margin-bottom: 13px; font-weight: 650; }
.aud-card p { color: var(--text-soft); font-size: 14px; }

/* ---------- Stats (Duna-style oversized) ---------- */
.stats {
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(120deg, rgba(181,107,50,0.18), transparent 34%),
    linear-gradient(260deg, rgba(0,104,56,0.2), transparent 42%),
    var(--ink);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat { padding: 22px; }
.stat-num, .stat-num-text { font-size: clamp(48px, 6vw, 72px); color: #ffffff; display: block; margin-bottom: 10px; font-weight: 650; line-height: 0.98; }
.stat-num-text { color: var(--pop-soft); }
.stat-lbl { color: rgba(255,255,255,0.60); font-size: 14px; max-width: 210px; margin-inline: auto; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; background: var(--bg-soft); position: relative; overflow: hidden; padding: clamp(52px, 5vw, 78px) 0; }
.manifesto .aurora { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: linear-gradient(135deg, rgba(0,104,56,0.12), transparent 34%), linear-gradient(315deg, rgba(181,107,50,0.12), transparent 42%); }
.manifesto .aurora .blob { display: none; }
.manifesto-inner { max-width: 840px; margin: 0 auto; position: relative; z-index: 1; }
.manifesto-quote { font-size: clamp(34px, 5vw, 60px); margin: 22px 0 34px; color: var(--text); font-weight: 600; }
.grad-text { color: var(--accent); }
.manifesto-sub { font-size: clamp(16px, 2vw, 21px); color: var(--text-soft); line-height: 1.7; }

/* ---------- Pricing ---------- */
.pricing-hero {
  position: relative;
  padding: 154px 0 42px;
  overflow: hidden;
  text-align: center;
}
.pricing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(181, 107, 50, 0.14), transparent 34%),
    linear-gradient(245deg, rgba(0, 104, 56, 0.13), transparent 40%),
    repeating-linear-gradient(90deg, rgba(48,46,45,0.03) 0 1px, transparent 1px 84px);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.72) 56%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.72) 56%, transparent 100%);
}
.pricing-hero-inner { max-width: 880px; margin: 0 auto; }
.pricing-title {
  font-size: clamp(46px, 6.2vw, 82px);
  margin: 26px 0 22px;
  color: var(--text);
  font-weight: 620;
  line-height: 0.98;
}
.pricing-sub {
  max-width: 690px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.58;
}
.pricing-principles {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.pricing-principles span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(5,53,29,0.15);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.pricing-section { padding-top: 32px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  border: 1px solid rgba(201,193,183,0.72);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(246,243,238,0.74));
  box-shadow: 0 18px 44px -36px rgba(48,46,45,0.38);
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--grad-warm);
  opacity: 0;
}
.price-card-featured {
  border-color: rgba(0,104,56,0.38);
  box-shadow: var(--shadow);
  transform: translateY(-10px);
}
.price-card-featured::before { opacity: 1; }
.price-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.plan-label {
  display: block;
  font-size: 24px;
  font-weight: 680;
  line-height: 1.1;
}
.plan-pill {
  flex-shrink: 0;
  padding: 6px 10px;
  border: 1px solid rgba(0,104,56,0.18);
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
}
.plan-desc {
  min-height: 48px;
  color: var(--text-soft);
  font-size: 14.5px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 26px;
}
.price {
  color: var(--accent-deep);
  font-size: clamp(44px, 5vw, 58px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.95;
}
.price-custom { font-size: clamp(38px, 4.2vw, 50px); }
.price-unit {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 560;
}
.price-note {
  min-height: 24px;
  margin: 13px 0 22px;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 11.5px;
}
.plan-cta {
  justify-content: center;
  width: 100%;
  margin-bottom: 24px;
}
.plan-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: auto;
}
.plan-list li {
  display: flex;
  gap: 10px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.42;
}
.plan-list span {
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 800;
}
.pricing-explain {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-explain-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}
.explain-copy h2 {
  font-size: clamp(34px, 4vw, 50px);
  margin-top: 14px;
  font-weight: 600;
}
.explain-panel {
  border: 1px solid rgba(201,193,183,0.72);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.72);
  overflow: hidden;
}
.explain-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.explain-row:last-child { border-bottom: none; }
.explain-row b {
  color: var(--text);
  font-weight: 650;
}
.explain-row span {
  color: var(--text-soft);
  font-size: 14.5px;
}
.pricing-access-form { max-width: 560px; }
.plan-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 18px 42px -34px rgba(48,46,45,0.54);
}
.plan-selector label {
  position: relative;
  cursor: pointer;
}
.plan-selector input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.plan-selector span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 650;
  transition: all 0.2s ease;
}
.plan-selector input:checked + span {
  background: var(--ink);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}

/* ---------- Privacy policy ---------- */
.policy-hero {
  position: relative;
  padding: 150px 0 42px;
  overflow: hidden;
}
.policy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(181, 107, 50, 0.14), transparent 34%),
    linear-gradient(245deg, rgba(0, 104, 56, 0.12), transparent 38%),
    repeating-linear-gradient(90deg, rgba(48,46,45,0.035) 0 1px, transparent 1px 84px);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.72) 48%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.72) 48%, transparent 100%);
}
.policy-hero-inner {
  max-width: 860px;
}
.policy-title {
  max-width: 780px;
  margin: 24px 0 20px;
  color: var(--text);
  font-size: clamp(44px, 5.6vw, 72px);
  font-weight: 620;
  line-height: 1;
}
.policy-sub {
  max-width: 680px;
  color: var(--text-soft);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.58;
}
.policy-updated {
  margin-top: 26px;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 12px;
}
.policy-section {
  padding-top: 22px;
}
.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 780px);
  gap: 56px;
  align-items: start;
}
.policy-toc {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px;
  border: 1px solid rgba(201,193,183,0.72);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 18px 44px -38px rgba(48,46,45,0.36);
}
.policy-toc a {
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 560;
  transition: all 0.2s ease;
}
.policy-toc a:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.policy-content {
  min-width: 0;
}
.policy-block {
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 96px;
}
.policy-block:first-child {
  padding-top: 0;
}
.policy-block:last-child {
  border-bottom: none;
}
.policy-block h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 620;
}
.policy-block h3 {
  margin: 24px 0 10px;
  color: var(--accent-deep);
  font-size: 17px;
  font-weight: 660;
  line-height: 1.25;
}
.policy-block p,
.policy-block li {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.68;
}
.policy-block p + p {
  margin-top: 14px;
}
.policy-block ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 20px;
}
.policy-block li::marker {
  color: var(--accent);
}
/* ---------- FAQ ---------- */
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  background: none; border: none; color: var(--text); font-family: var(--display); font-size: 16.5px; font-weight: 620;
  padding: 26px 0; cursor: pointer; transition: color 0.2s ease;
}
.faq-q:hover { color: var(--accent); }
.faq-ico { position: relative; width: 15px; height: 15px; flex-shrink: 0; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; background: var(--accent); transition: transform 0.3s var(--ease); }
.faq-ico::before { top: 6.5px; left: 0; width: 15px; height: 2px; }
.faq-ico::after { top: 0; left: 6.5px; width: 2px; height: 15px; }
.faq-item.open .faq-ico::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 0 26px; color: var(--text-soft); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { text-align: center; border-top: 1px solid var(--border); background: var(--bg-soft); position: relative; overflow: hidden; }
.cta .aurora { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: linear-gradient(120deg, rgba(181,107,50,0.16), transparent 36%), linear-gradient(260deg, rgba(0,104,56,0.16), transparent 40%); }
.cta .aurora .blob { display: none; }
.cta-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.cta h2 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 26px; font-weight: 620; }
.cta p { font-size: clamp(16px, 2vw, 19px); color: var(--text-soft); margin-bottom: 42px; }
.waitlist-form-lg { max-width: 500px; margin: 0 auto; }
.waitlist-form-lg .form-note, .waitlist-form-lg .form-success, .waitlist-form-lg .form-error { text-align: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 34px; background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.footer-brand p { color: var(--text-dim); margin-top: 13px; font-size: 14px; }
.footer-brand .brand-mark { color: var(--accent); }
.footer-links { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--text-soft); font-size: 14px; transition: color 0.2s ease; font-weight: 550; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: var(--text-dim); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(8px);
  transition: opacity 0.75s var(--ease), transform 0.9s var(--ease), filter 0.75s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
  will-change: opacity, transform, filter;
}
.reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }
.section-motion {
  opacity: 0.92;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.section-motion.section-in { opacity: 1; transform: none; }

@keyframes consoleFloat {
  0%, 100% { transform: rotateX(2deg) rotateY(-4deg) translateY(0); }
  50% { transform: rotateX(1deg) rotateY(-2deg) translateY(-10px); }
}
@keyframes driftOne {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-18px, 22px, 0); }
}
@keyframes driftTwo {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(24px, -18px, 0); }
}
@keyframes beamScan {
  0%, 100% { opacity: 0.22; transform: rotate(-17deg) translateX(-20px); }
  50% { opacity: 0.82; transform: rotate(-17deg) translateX(20px); }
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes drawSignal {
  to { stroke-dashoffset: 0; }
}
@keyframes breatheSignal {
  0%, 100% { opacity: 0.82; }
  50% { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 620px; margin: 0 auto; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .waitlist-form { margin-inline: auto; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .memo-inner { grid-template-columns: 1fr; gap: 44px; }
  .problem-grid, .steps, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .price-card-featured { transform: none; }
  .pricing-explain-grid { grid-template-columns: 1fr; gap: 34px; }
  .policy-layout { grid-template-columns: 1fr; gap: 28px; }
  .policy-toc { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .header-actions .btn-sm { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .chip-1 { left: 0; }
  .chip-2 { right: -2%; }
  .console { transform: none; animation: none; }
  .signal-orbit { inset: -46px -24px; }
}
@media (max-width: 620px) {
  .section { padding: 40px 0; }
  .hero { padding: 122px 0 38px; }
  .policy-hero { padding: 122px 0 34px; }
  .pricing-hero { padding: 122px 0 34px; }
  .container { padding: 0 24px; }
  .pricing-hero-inner, .pricing-sub, .pricing-section .section-head, .pricing-grid, .price-card, .pricing-explain-grid, .explain-panel, .pricing-access-form {
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-copy, .hero-visual { width: 100%; max-width: 100%; }
  .hero-title { font-size: clamp(36px, 10.4vw, 42px); line-height: 1.06; }
  .policy-title { font-size: clamp(36px, 9.8vw, 42px); line-height: 1.06; }
  .pricing-title { font-size: clamp(32px, 8.6vw, 36px); line-height: 1.06; }
  .hero-title br { display: none; }
  .policy-sub { font-size: 16px; }
  .hero-sub, .pricing-sub { font-size: 16px; }
  .policy-toc { grid-template-columns: 1fr; padding: 14px; }
  .policy-block { padding: 28px 0; }
  .policy-block p, .policy-block li { font-size: 15.5px; }
  .problem-grid, .steps, .feature-grid, .audience-grid, .stats-grid { grid-template-columns: 1fr; }
  .problem-card, .step, .feature, .price-card { padding: 28px 24px; }
  .pricing-principles { justify-content: flex-start; }
  .pricing-principles span { width: 100%; justify-content: center; }
  .pricing-section .section-head h2 { font-size: clamp(30px, 8vw, 34px); }
  .plan-desc { min-height: 0; }
  .price-card-top { align-items: center; }
  .plan-pill { max-width: 100%; }
  .explain-row { grid-template-columns: 1fr; gap: 6px; padding: 20px; }
  .plan-selector { grid-template-columns: 1fr; border-radius: 20px; }
  .plan-selector span { border-radius: 14px; }
  .logo-marquee { margin-top: 36px; padding-top: 24px; }
  .manifesto { padding: 44px 0; }
  .field { flex-direction: column; padding: 9px; border-radius: 20px; }
  .field input { padding: 12px; text-align: center; }
  .field .btn { justify-content: center; width: 100%; }
  .mob-only { display: inline; }
  .verdict-meta { flex-direction: column; gap: 8px; }
  .chip { display: none; }
  .signal-orbit { display: none; }
  .console { padding: 20px; }
  .verdict-head { align-items: flex-start; flex-direction: column; gap: 9px; }
  .doc-scores { grid-template-columns: 1fr; }
  .doc-row { flex-direction: column; gap: 5px; }
  .doc-row span { text-align: left; }
  .footer-inner { flex-direction: column; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .section-motion { opacity: 1; transform: none; filter: none; }
}
