:root {
  --bg: #f4efe6;
  --paper: #fffaf1;
  --paper-soft: #ece2d2;
  --ink: #061123;
  --ink-soft: #334055;
  --muted: #6f6a61;
  --faint: #9c9488;
  --line: rgba(6, 17, 35, 0.13);
  --line-strong: rgba(197, 159, 113, 0.45);
  --brass: #c59f71;
  --brass-soft: #e2c39b;
  --sage: #061123;
  --sage-soft: #e9edf3;
  --clay: #a45d4f;
  --clay-soft: #f5e7e3;
  --whatsapp: #128c4a;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "DM Mono", monospace;
  --max: 1080px;
  --section: 88px;
  --radius: 8px;
  --nav-height: 70px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(18, 140, 74, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(164, 93, 79, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--sage);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 740px;
  text-align: center;
}

.section {
  padding: var(--section) 0;
  border-top: 1px solid var(--line);
}

.label,
.eyebrow,
.trust-line,
.chat-label,
.setup,
.popular,
.plan-badge,
.reel-kicker,
.reel-toggle,
.feature-chip {
  font-family: var(--font-mono);
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow,
.label {
  display: block;
  width: fit-content;
  color: var(--sage);
  font-size: 0.72rem;
  line-height: 1.45;
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.08;
  margin: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.55rem, 5vw, 4.4rem);
}

h2 {
  max-width: 820px;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

h3 {
  font-size: clamp(1.28rem, 1.7vw, 1.65rem);
}

em {
  color: var(--sage);
  font-style: normal;
}

.highlight {
  color: var(--sage);
  font-style: normal;
  background: linear-gradient(180deg, transparent 58%, rgba(197, 159, 113, 0.34) 58%);
}

p {
  color: var(--muted);
  margin: 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head p:not(.label) {
  max-width: 720px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 17px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.menu-toggle:focus-visible,
.tab:focus-visible,
input:focus-visible,
.tooltip:focus-visible,
.feature-chip:focus-visible,
.reel-toggle:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--sage);
}

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

.btn-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(31, 36, 32, 0.04);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-small {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 0.9rem;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 540ms ease, transform 540ms ease;
}

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

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: var(--nav-height);
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 250, 241, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, backdrop-filter 180ms ease, transform 280ms ease;
}

.site-nav.nav-hidden {
  transform: translateY(-100%);
}

#ask-auvrai,
#demo,
#features,
#pricing {
  scroll-margin-top: var(--nav-height);
}

.site-nav.scrolled {
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
}

.site-nav.menu-open {
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  width: fit-content;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.26rem;
  font-weight: 800;
  line-height: 1;
}

.logo-mark {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 6px;
  overflow: hidden;
}

.logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.9);
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.93rem;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.site-nav .btn {
  justify-self: end;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.86);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-nav.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-nav.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 40px;
  padding-bottom: 78px;
  border-top: 0;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.88), rgba(244, 239, 230, 0.9)),
    radial-gradient(circle at 0 0, rgba(18, 140, 74, 0.1), transparent 34%),
    var(--bg);
}

.hero::before {
  display: none;
}

.hero-grid {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 382px;
  align-items: center;
  gap: 54px;
}

.hero-copy {
  min-width: 0;
}

.hero-sub {
  max-width: 660px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.13rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions.center {
  justify-content: center;
}

.trust-line {
  margin-top: 16px;
  color: var(--faint);
  font-size: 0.72rem;
}

.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  max-width: 620px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-weight: 750;
}

.hero-proof-list span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
}

.hero-proof-list span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--whatsapp);
}

.phone-wrap {
  justify-self: end;
  width: 100%;
}

.phone {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 12px;
  box-shadow: 18px 18px 0 rgba(18, 140, 74, 0.08);
}

.phone-top {
  display: none;
}

.chat {
  min-height: 0;
  border-radius: 6px;
  background: #edf3ec;
  padding: 18px;
}

.chat-label {
  margin-bottom: 12px;
  color: #63706a;
  font-size: 0.68rem;
}

.chat-bubble {
  position: relative;
  background: #fff;
  color: #1f2a20;
  border: 1px solid #d7dfd7;
  border-radius: 8px;
  padding: 16px;
}

.chat-bubble p {
  color: #263126;
  margin-bottom: 11px;
  font-size: 0.91rem;
  line-height: 1.48;
}

.chat-bubble p:last-of-type {
  margin-bottom: 6px;
}

.loss {
  color: #9c493f;
  font-weight: 800;
}

.ticks {
  color: #517da7;
  text-align: right;
  font-weight: 800;
}

/* ── ASK AUVRAI ── */
.assistant-spotlight {
  background:
    linear-gradient(90deg, rgba(7, 19, 38, 0.04), transparent 36%),
    #fffaf1;
}

.assistant-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 28px;
  align-items: center;
}

.assistant-copy p:not(.label) {
  max-width: 660px;
  margin-top: 16px;
  color: var(--ink-soft);
}

.curiosity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.curiosity-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  padding: 8px 11px;
  font-size: 0.9rem;
}

.advisor-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(18, 140, 74, 0.18), transparent 38%),
    #071326;
  color: #fff;
  padding: 22px;
}

.advisor-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.advisor-top span {
  color: var(--brass-soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.advisor-top strong {
  color: #fff;
}

.advisor-question {
  width: fit-content;
  max-width: 92%;
  min-height: 4.5em;
  border-radius: 8px;
  background: #fffaf1;
  color: var(--ink);
  padding: 12px 14px;
  font-weight: 700;
  line-height: 1.45;
}

.advisor-answer {
  margin-top: 14px;
  min-height: 10em;
  border-left: 3px solid var(--brass);
  color: #f8efe3;
  padding-left: 14px;
}

.advisor-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.advisor-prompt {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: #d6dfef;
  padding: 8px 10px;
  cursor: pointer;
}

.advisor-prompt.active {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
  font-weight: 800;
}

/* ── PROBLEM ── */
.problem {
  background: var(--paper);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-card,
.feature-card,
.price-card,
.calculator,
.founding-strip,
.feature-reel,
.mini-feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.stat-card {
  padding: 22px;
}

.stat-card strong {
  display: block;
  color: var(--sage);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.stat-card p {
  margin-top: 12px;
  font-size: 0.95rem;
}

/* ── DEMO ── */
.demo {
  background: var(--bg);
}

.calculator {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent),
    var(--paper);
}

.platform-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  margin-bottom: 22px;
}

.tab {
  min-width: 96px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 9px 15px;
  cursor: pointer;
}

.tab.active {
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  align-items: stretch;
}

.calc-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

label span {
  font-size: 0.91rem;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
}

input::placeholder {
  color: var(--faint);
}

.tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.tooltip:hover::after,
.tooltip:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 5;
  width: 230px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.35;
}

.calc-button {
  width: 100%;
  margin-top: 4px;
}

.results-panel {
  min-height: 400px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px;
}

.results-panel.has-results .empty-state {
  display: none;
}

.results-content {
  display: none;
}

.results-panel.has-results .results-content {
  display: block;
}

.empty-state {
  min-height: 330px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 10px;
}

.empty-state span {
  color: var(--sage);
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.result-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(31, 36, 32, 0.08);
}

.result-row span {
  color: var(--muted);
}

.result-row strong {
  color: var(--ink);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.result-row.negative strong {
  color: var(--clay);
}

.result-divider {
  height: 1px;
  margin: 8px 0;
  background: var(--line-strong);
}

.result-row.total {
  align-items: baseline;
  border-bottom: 0;
}

.result-row.total strong {
  color: var(--sage);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.result-row.rate strong {
  color: var(--brass);
}

.split-bar {
  display: flex;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  margin: 16px 0 15px;
  background: rgba(31, 36, 32, 0.1);
}

.split-yours {
  background: var(--sage);
  flex-basis: 0%;
}

.split-platform {
  background: var(--clay);
  flex: 1;
}

.rate-0 .split-yours { flex-basis: 0%; }
.rate-5 .split-yours { flex-basis: 5%; }
.rate-10 .split-yours { flex-basis: 10%; }
.rate-15 .split-yours { flex-basis: 15%; }
.rate-20 .split-yours { flex-basis: 20%; }
.rate-25 .split-yours { flex-basis: 25%; }
.rate-30 .split-yours { flex-basis: 30%; }
.rate-35 .split-yours { flex-basis: 35%; }
.rate-40 .split-yours { flex-basis: 40%; }
.rate-45 .split-yours { flex-basis: 45%; }
.rate-50 .split-yours { flex-basis: 50%; }
.rate-55 .split-yours { flex-basis: 55%; }
.rate-60 .split-yours { flex-basis: 60%; }
.rate-65 .split-yours { flex-basis: 65%; }
.rate-70 .split-yours { flex-basis: 70%; }
.rate-75 .split-yours { flex-basis: 75%; }
.rate-80 .split-yours { flex-basis: 80%; }
.rate-85 .split-yours { flex-basis: 85%; }
.rate-90 .split-yours { flex-basis: 90%; }
.rate-95 .split-yours { flex-basis: 95%; }
.rate-100 .split-yours { flex-basis: 100%; }

.insight {
  border-left: 2px solid var(--sage);
  padding-left: 12px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.calc-note {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.calc-disclaimer {
  margin-top: 8px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.5;
}

/* ── FEATURES ── */
.features {
  background: var(--paper);
}

.feature-reel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(18, 140, 74, 0.06), transparent 52%),
    var(--paper);
  touch-action: pan-y;
}

.reel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 356px;
  padding: 14px;
}

.reel-kicker {
  color: var(--sage);
  font-size: 0.72rem;
  margin-bottom: 12px;
}

.reel-copy h3 {
  margin-bottom: 12px;
}

.reel-copy p:not(.reel-kicker) {
  color: var(--ink-soft);
  font-size: 1rem;
}

.reel-points {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  margin-top: 18px;
}

.reel-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  padding: 7px 10px;
  font-size: 0.85rem;
}

.reel-toggle {
  width: fit-content;
  border: 0;
  background: transparent;
  color: var(--sage);
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0;
}

.reel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.reel-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.reel-nav:hover {
  border-color: var(--line-strong);
  background: var(--paper-soft);
}

.reel-nav:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.reel-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef3ee;
  padding: 16px;
}

.reel-progress {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 5px;
  margin-bottom: 14px;
}

.reel-progress span {
  position: relative;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(88, 117, 99, 0.22);
}

.reel-progress span.active {
  background: rgba(88, 117, 99, 0.22);
}

.reel-progress span.active::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  border-radius: inherit;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  animation: reelProgress 3600ms linear forwards;
}

.reel-progress.is-paused span.active::after {
  animation-play-state: paused;
}

.reel-message {
  min-height: 264px;
  border: 1px solid #d7dfd7;
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}

.reel-message p {
  color: #263126;
  margin-bottom: 12px;
  font-size: 0.96rem;
}

.reel-message .chat-label {
  color: #63706a;
}

.feature-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}

.feature-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  font-size: 0.68rem;
  cursor: pointer;
}

.feature-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.feature-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mini-feature {
  padding: 16px;
}

.mini-feature.priority {
  background: #071326;
  border-color: var(--line-strong);
  grid-column: span 2;
}

.mini-feature.priority strong,
.mini-feature.priority p {
  color: #fffaf1;
}

.mini-feature.priority span {
  color: var(--brass-soft);
}

.mini-feature strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.mini-feature span {
  display: block;
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mini-feature p {
  font-size: 0.9rem;
}

/* ── PRICING ── */
.pricing {
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 24px;
}

.price-card.highlighted {
  border-color: var(--line-strong);
  background: #fff;
}

.popular {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--brass);
  padding: 5px 9px;
  font-size: 0.64rem;
  margin-bottom: 14px;
}

.price {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.4vw, 2.1rem);
  line-height: 1.08;
  margin-top: 16px;
}

.price span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
}

.setup {
  color: var(--brass);
  font-size: 0.72rem;
  margin: 7px 0 16px;
}

.price-card h4 {
  color: var(--ink-soft);
  margin: 18px 0 8px;
  font-size: 0.96rem;
}

ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

li {
  margin: 7px 0;
}

.founding-strip {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  margin-top: 16px;
  padding: 24px;
  border-color: var(--line-strong);
  background: #071326;
  color: #fff;
}

.founding-strip h3 {
  color: #fffaf1;
  margin-bottom: 9px;
}

.founding-strip p {
  color: #d6dfef;
}

.founding-strip .label {
  color: var(--brass-soft);
}

.offer-math {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.offer-math span {
  border: 1px solid rgba(226, 195, 155, 0.34);
  border-radius: 999px;
  color: #fffaf1;
  padding: 7px 10px;
  font-size: 0.84rem;
}

.spots {
  display: grid;
  justify-items: center;
  min-width: 94px;
}

.spots span {
  color: var(--brass-soft);
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 0.95;
}

.spots small {
  color: #d6dfef;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.64rem;
}

/* ── FINAL CTA ── */
.final-cta {
  background: var(--paper);
}

.final-cta p:not(.trust-line) {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: var(--paper);
}

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

.footer-logo .logo-mark {
  width: 56px;
  height: 56px;
}

.footer-logo span {
  font-size: 1.34rem;
}

.footer p {
  color: var(--faint);
  font-size: 0.9rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reelProgress {
  to {
    transform: scaleX(1);
  }
}

/* ── TABLET ── */
@media (max-width: 1024px) {
  :root {
    --section: 76px;
  }

  .hero-grid,
  .calc-grid,
  .pricing-grid,
  .founding-strip,
  .feature-reel,
  .assistant-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .phone-wrap {
    justify-self: start;
    max-width: 520px;
  }

  .pricing-grid {
    max-width: 680px;
  }

  .feature-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mini-feature.priority {
    grid-column: auto;
  }

  .founding-strip {
    justify-items: start;
  }

  .founding-strip .btn {
    width: 100%;
  }
}

/* ── MOBILE ── */
@media (max-width: 700px) {
  :root {
    --section: 60px;
    --nav-height: 64px;
  }

  body {
    font-size: 15px;
  }

  .advisor-question {
    min-height: 6.25em;
  }

  .advisor-answer {
    min-height: 15em;
  }

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px 12px;
  }

  .menu-toggle {
    display: block;
    grid-column: 2;
  }

  .site-nav > .btn {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.98);
    box-shadow: 0 18px 36px rgba(6, 17, 35, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    border-radius: 6px;
    padding: 11px 12px;
    color: var(--ink);
    font-weight: 700;
  }

  .brand {
    min-width: 0;
    font-size: 1.18rem;
  }

  .logo-mark {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
  }

  .btn-small {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 50px;
  }

  .hero-grid {
    gap: 26px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.92rem, 8.6vw, 2.46rem);
    line-height: 1.1;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(1.82rem, 8vw, 2.36rem);
    line-height: 1.12;
  }

  h3 {
    font-size: 1.22rem;
  }

  .eyebrow,
  .label {
    max-width: 100%;
    font-size: 0.62rem;
    overflow-wrap: break-word;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  .hero-sub,
  .section-head p:not(.label),
  .final-cta p:not(.trust-line) {
    font-size: 0.97rem;
  }

  .hero-sub {
    margin-top: 14px;
    line-height: 1.52;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-actions,
  .hero-actions.center {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    min-height: 44px;
  }

  .hero-actions .btn {
    padding-inline: 12px;
    font-size: 0.91rem;
    white-space: nowrap;
  }

  .chat,
  .chat-bubble,
  .reel-message {
    padding: 14px;
  }

  .hero-proof-list {
    gap: 7px 13px;
    margin-top: 16px;
  }

  .hero-proof-list span {
    font-size: 0.84rem;
  }

  .stats-grid,
  .feature-summary-grid {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .price-card,
  .calculator,
  .founding-strip,
  .results-panel,
  .feature-reel,
  .advisor-card {
    padding: 18px;
  }

  .reel-copy {
    padding: 0;
    min-height: 340px;
    justify-content: flex-start;
  }

  .reel-controls {
    flex-wrap: wrap;
  }

  .reel-screen {
    padding: 12px;
  }

  .reel-message {
    min-height: 358px;
  }

  .feature-selector {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .feature-chip {
    flex: 0 0 auto;
  }

  .platform-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .tab {
    min-width: 0;
    padding-inline: 8px;
    text-align: center;
  }

  .empty-state {
    min-height: 210px;
  }

  .result-row {
    align-items: flex-start;
    gap: 12px;
  }

  .result-row span {
    max-width: 62%;
  }

  .result-row strong {
    font-size: 0.82rem;
  }

  .result-row.total strong {
    font-size: 1.42rem;
  }

  .founding-strip .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo .logo-mark {
    width: 50px;
    height: 50px;
  }
}

/* Wider mobile / small-tablet phones wrap to fewer lines, so the feature-reel
   card needs less reserved height here than on narrow phones. Lowering it
   brings the chat-mockup box closer to the "Play reel" controls without
   risking the per-slide height variance that caused the layout shift. */
@media (min-width: 431px) and (max-width: 700px) {
  .reel-copy {
    min-height: 332px;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(calc(100% - 22px), var(--max));
  }

  .site-nav {
    padding-inline: 10px;
  }

  .brand {
    font-size: 1.08rem;
  }

  .logo-mark {
    width: 44px;
    height: 44px;
  }

  h1 {
    font-size: clamp(1.9rem, 9vw, 2.28rem);
  }

  .hero-actions .btn {
    padding-inline: 8px;
    font-size: 0.82rem;
  }
}
