/* ============================================================
   Oakamo — Marketing Site V2
   A calm, editorial reading sanctuary.
   Built on the Oakamo design tokens (colors_and_type.css).
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* band-warmth tweak knob: lighter -> warmer alternate fills */
  --band: var(--surface-soft);
  --band-line: var(--border);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
i[data-lucide] { stroke-width: 1.75; }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 56px); }
.wrap--wide { max-width: 1320px; }
.section { padding-block: clamp(72px, 10vw, 132px); }
.section--tight { padding-top: clamp(52px, 7vw, 96px);padding-bottom: 0px; }

/* editorial eyebrow */
.eyebrow {
  font-family: var(--font-ui); font-weight: 600; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-walnut);
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent-gold); display: inline-block; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 22px; height: 1px; background: var(--accent-gold); display: inline-block; }

/* display headings */
.display {
  font-family: var(--font-display); font-weight: 600; color: var(--text-strong);
  line-height: 1.02; letter-spacing: 0; margin: 0;
}
.h-section {
  font-family: var(--font-display); font-weight: 600; color: var(--text-strong);
  font-size: 56px; line-height: 1.06; letter-spacing: 0; margin: 0;
}
.h-band {
  font-family: var(--font-display); font-weight: 600; color: var(--text-strong);
  font-size: 44px; line-height: 1.08; letter-spacing: 0; margin: 0;
}
.lead { font-size: 20px; line-height: 1.7; color: var(--text-muted); margin: 0; }

/* ornamental sprig divider */
.sprig { display: flex; justify-content: center; margin: 22px auto 0; color: var(--accent-gold); opacity: .9; }
.sprig svg { width: 46px; height: 18px; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-ui); font-weight: 600; font-size: 15px;
  border-radius: var(--r-control); padding: 13px 22px; border: 1px solid transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  cursor: pointer; transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--text-onplum); box-shadow: 0 8px 22px rgba(110,71,90,0.22); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(110,71,90,0.28); }
.btn-secondary { background: var(--surface); color: var(--text-strong); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-soft); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-strong); }
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--primary-ring); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 96%, transparent); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 34px; width: auto; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 25px; color: var(--text-strong); line-height: 1; letter-spacing: .01em; }
.brand__tag { display: block; font-family: var(--font-ui); font-weight: 400; font-size: 11px; letter-spacing: .03em; color: var(--text-muted); margin-top: 3px; white-space: nowrap; }
.nav__links { display: flex; gap: 30px; margin-left: 22px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--text); position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px; background: var(--primary); transition: right var(--dur) var(--ease); }
.nav__links a:hover { color: var(--text-strong); }
.nav__links a:hover::after { right: 0; }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav__login { font-size: 15px; font-weight: 500; color: var(--text-strong); }
.nav__login:hover { color: var(--primary); }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: var(--r-control);
  background: var(--surface); color: var(--text-strong); align-items: center; justify-content: center; cursor: pointer; }
.nav__burger:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--primary-ring); }
.nav__mobile { display: none; overflow: hidden; max-height: 0; border-bottom: 1px solid transparent;
  visibility: hidden; background: color-mix(in srgb, var(--bg) 97%, transparent);
  transition: max-height var(--dur-slow) var(--ease), visibility 0s linear var(--dur-slow); }
.nav__mobile.open { max-height: 420px; visibility: visible; border-bottom-color: var(--border); transition-delay: 0s; }
.nav__mobile .wrap { display: flex; flex-direction: column; gap: 4px; padding-block: 16px 22px; }
.nav__mobile a { font-size: 17px; font-weight: 500; color: var(--text-); padding: 12px 4px; border-bottom: 1px solid var(--border); }
.nav__mobile a.m-login { border-bottom: none; }
.nav__mobile .btn { margin-top: 10px; width: 100%; color: var(--text-onplum); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); gap: clamp(28px, 3.6vw, 56px);
  align-items: center; padding-block: clamp(38px, 5vw, 72px) clamp(34px, 4vw, 54px); }
.hero__body { max-width: 610px; align-self: center; }
.hero__title { font-size: clamp(3.65rem, 4.7vw, 5.2rem); line-height: .98; max-width: 13.2ch; text-wrap: balance; }
.hero__sub { margin: clamp(18px, 2vw, 24px) 0 clamp(22px, 2.5vw, 30px); max-width: 38ch; font-size: clamp(18px, 1.35vw, 21px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions .btn-lg { padding: 14px 20px; font-size: 15px; }
.hero__media { position: relative; display: flex; align-items: center; justify-content: flex-end; align-self: center; padding-top: 0; }
.illus { mix-blend-mode: multiply; }
.hero__illus { width: 100%; max-width: 540px; margin-left: auto; filter: saturate(1.02); }
.hero-product-frame {
  position: relative;
  width: min(100%, 790px);
  aspect-ratio: 1.4;
  margin: 0 -12px 32px auto;
  isolation: isolate;
}
.hero-product-shot {
  max-width: none;
  display: block;
  filter: drop-shadow(0 28px 46px rgba(63, 43, 31, 0.18));
  user-select: none;
}
.hero-product-shot--laptop {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 1;
}
.hero-product-shot--phone {
  position: absolute;
  left: -5%;
  bottom: -4%;
  width: clamp(126px, 27%, 176px);
  z-index: 2;
  filter: drop-shadow(0 24px 38px rgba(63, 43, 31, 0.2));
}
.hero__support { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; align-items: center;
  gap: clamp(24px, 4vw, 48px); margin-top: clamp(8px, 1.5vw, 18px); padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid color-mix(in srgb, var(--border) 78%, transparent); }

/* trust row */
.trust { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 34px); width: 100%; margin-top: 0; }
.trust__item { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; }
.trust__ic { width: 38px; height: 38px; border-radius: var(--r-control); background: var(--surface);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.trust__ic i { width: 19px; height: 19px; }
.trust__label { font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--text-muted); }

/* social proof */
.proof { display: flex; align-items: center; justify-content: flex-start; gap: 12px 14px; margin-top: 0; flex-wrap: wrap; max-width: 480px; }
.proof__avatars { display: flex; }
.proof__avatars span { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--bg); margin-left: -11px;
  background-size: cover; background-position: center; box-shadow: var(--shadow-xs); }
.proof__avatars span:first-child { margin-left: 0; }
.proof__avatars span:nth-child(1) { background: radial-gradient(circle at 35% 30%, #F5EFE6 0 18%, #C9985B 19% 33%, #6E475A 34% 100%); }
.proof__avatars span:nth-child(2) { background: radial-gradient(circle at 45% 30%, #F5EFE6 0 18%, #B7B79F 19% 34%, #7B7E55 35% 100%); }
.proof__avatars span:nth-child(3) { background: radial-gradient(circle at 42% 28%, #F5EFE6 0 17%, #D8C6B2 18% 35%, #8B5A66 36% 100%); }
.proof__avatars span:nth-child(4) { background: radial-gradient(circle at 40% 32%, #F5EFE6 0 18%, #C9985B 19% 34%, #3F2B1F 35% 100%); }
.proof__stars { display: flex; gap: 2px; color: var(--accent-gold); }
.proof__stars i { width: 16px; height: 16px; fill: var(--accent-gold); }
.proof__text { font-size: 14px; color: var(--text-muted); }
.proof__text b { color: var(--text-strong); font-weight: 600; }

/* ============================================================
   SANCTUARY STRIP
   ============================================================ */
.strip { border-block: 1px solid var(--border); background: color-mix(in srgb, var(--band) 55%, var(--bg)); }
.strip__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 3vw, 48px); padding-block: 26px; }
.strip__lead { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-style: italic;
  font-size: 27px; color: var(--text-strong); line-height: 1.25; }
.strip__lead img { height: 30px; opacity: .9; }
.strip__points { display: flex; align-items: center; gap: clamp(16px, 1.4vw, 34px); margin-left: 0; flex-wrap: wrap; justify-content: flex-end; }
.strip__point { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--text-muted); }
.strip__point i { width: 18px; height: 18px; color: var(--accent-moss); }

/* ============================================================
   SECTION INTRO
   ============================================================ */
.intro { text-align: center; }
.intro .h-section { margin-inline: auto; }

/* ============================================================
   FEATURE STORIES — editorial alternating bands
   ============================================================ */
.stories { --gap: clamp(36px, 5vw, 80px); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center;
  padding-block: clamp(48px, 6.5vw, 92px); }
.story + .story { border-top: 1px solid var(--border); }
.story__media { order: 2; }
.story__body { order: 1; }
.story.is-flip .story__media { order: 1; }
.story.is-flip .story__body { order: 2; }
.story__kicker { font-family: var(--font-ui); font-weight: 600; font-size: 12px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent-walnut); margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.story__kicker .n { font-family: var(--font-display); font-style: italic; font-size: 19px; letter-spacing: 0; color: var(--accent-gold); text-transform: none; font-weight: 500; }
.story__title { margin: 0 0 18px; }
.story__problem { font-size: 19px; line-height: 1.65; color: var(--text-muted); margin: 0 0 14px; }
.story__problem b { color: var(--text-strong); font-weight: 600; font-style: italic; font-family: var(--font-display); font-size: 1.18em; }
.story__solution { font-size: 18px; line-height: 1.7; color: var(--text); margin: 0; max-width: 46ch; }
.story__solution + .story__solution { margin-top: 12px; }
.story__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; font-weight: 600; font-size: 15px; color: var(--primary); }
.story__link i { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.story__link:hover i { transform: translateX(4px); }

/* watercolor media for stories that use illustration */
.story__art { mix-blend-mode: multiply; width: 100%; }
.story__image { display: block; width: 100%; height: auto; border-radius: 16px; }
.story__image--save { max-width: 620px; margin-inline: auto; filter: drop-shadow(0 22px 58px rgba(63, 43, 31, 0.13)); }
.story__image--highlight { max-width: 360px; margin-inline: auto; filter: drop-shadow(0 22px 58px rgba(63, 43, 31, 0.13));  border: 1px solid var(--border); border-radius: var(--r-xl);}

/* mockup frame shared */
.mock {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.mock__bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.mock__bar .dot:nth-child(1){ background:#D8A38B; } .mock__bar .dot:nth-child(2){ background:#D9C28B; } .mock__bar .dot:nth-child(3){ background:#A9C29A; }
.mock__bar .ttl { margin-left: 8px; font-size: 12px; color: var(--text-muted); }

/* reader mockup */
.reader-mock { padding: 30px clamp(24px,3vw,42px) 34px; }
.reader-mock .src { font-size: 12px; letter-spacing:.06em; text-transform:uppercase; color: var(--accent-walnut); font-weight:600; }
.reader-mock h4 { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height:1.12; color: var(--text-strong); margin: 12px 0 18px; }
.reader-mock p { font-family: var(--font-reader); font-size: 19px; line-height: 1.78; color: var(--text); margin: 0 0 14px; }
.reader-mock .drop::first-letter { font-family: var(--font-display); font-size: 3.1em; float: left; line-height: .82; padding: 6px 10px 0 0; color: var(--accent-walnut); font-weight: 600; }
.reader-toolbar { display:flex; align-items:center; gap:10px; padding: 11px 16px; border-top:1px solid var(--border); background: var(--surface-soft); }
.reader-toolbar .seg { display:flex; gap:4px; background: var(--surface); border:1px solid var(--border); border-radius: var(--r-pill); padding:3px; }
.reader-toolbar .seg b { font-size:12px; padding:5px 11px; border-radius: var(--r-pill); color: var(--text-muted); font-weight:500; }
.reader-toolbar .seg b.on { background: var(--primary-soft); color: var(--primary); font-weight:600; }
.reader-toolbar .aa { margin-left:auto; font-family: var(--font-display); color: var(--text-muted); display:flex; align-items:baseline; gap:2px; }
.reader-toolbar .aa span:first-child{ font-size:14px; } .reader-toolbar .aa span:last-child{ font-size:22px; }

/* continue-reading mockup */
.continue { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.cr-head { display:flex; align-items:center; justify-content:space-between; }
.cr-head .lbl { font-size:12px; letter-spacing:.12em; text-transform:uppercase; color: var(--text-muted); font-weight:600; }
.cr-head .pill { font-size:12px; color: var(--accent-moss); font-weight:600; display:flex; align-items:center; gap:6px;}
.cr-card { display:flex; gap:16px; align-items:center; padding:16px; border:1px solid var(--border); border-radius: var(--r-lg); background: var(--surface-input); }
.cr-thumb { width:70px; height:70px; border-radius: var(--r-md); flex:none; background:
  linear-gradient(160deg,#E6DCC8,#CdBfA6); position:relative; overflow:hidden; }
.cr-thumb::after{ content:""; position:absolute; inset:0; background:
  radial-gradient(circle at 30% 120%, rgba(123,126,85,.5), transparent 60%),
  radial-gradient(circle at 80% 0%, rgba(201,152,91,.45), transparent 55%); }
.cr-meta { flex:1; min-width:0; }
.cr-meta .t { font-family: var(--font-display); font-weight:600; font-size:19px; color: var(--text-strong); line-height:1.15; }
.cr-meta .s { font-size:13px; color: var(--text-muted); margin-top:3px; }
.cr-bar { height:6px; border-radius:99px; background: var(--surface-sunk); margin-top:12px; overflow:hidden; }
.cr-bar i { display:block; height:100%; border-radius:99px; background: linear-gradient(90deg, var(--accent-gold), var(--primary)); width:0; }
.cr-pct { font-size:12px; color: var(--text-muted); margin-top:7px; text-align:right; }
.cr-list { display:flex; flex-direction:column; gap:9px; }
.cr-row { display:flex; align-items:center; gap:11px; font-size:14px; color: var(--text-muted); }
.cr-row .ck { width:18px;height:18px;border-radius:50%; border:1.5px solid var(--border-strong); flex:none; display:flex;align-items:center;justify-content:center; }
.cr-row.done .ck { background: var(--accent-moss); border-color: var(--accent-moss); color: var(--text-onplum); }
.cr-row.done span { text-decoration: line-through; opacity:.7; }

/* highlights mockup */
.hl { padding: 26px clamp(22px,2.6vw,34px) 24px; }
.hl p { font-family: var(--font-reader); font-size: 18px; line-height: 1.85; color: var(--text); margin: 0 0 14px; }
.hl mark { background: transparent; color: inherit; padding: 1px 3px; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl mark.g { background: rgba(201,152,91,.34); }
.hl mark.m { background: rgba(123,126,85,.30); }
.hl mark.p { background: rgba(110,71,90,.20); }
.hl__swatches { display:flex; gap:10px; align-items:center; margin-top:6px; padding-top:18px; border-top:1px solid var(--border); }
.hl__swatches .sw { width:22px;height:22px;border-radius:50%; cursor:pointer; box-shadow: inset 0 0 0 1px rgba(63,43,31,.08); }
.hl__swatches .lbl { font-size:13px; color: var(--text-muted); margin-right:4px; }
.hl__note { margin-left:auto; font-size:13px; color: var(--primary); font-weight:600; display:flex; align-items:center; gap:6px; }

/* audio mockup */
.audio { padding: 24px; }
.audio__top { display:flex; gap:15px; align-items:center; margin-bottom:20px; }
.audio__cover { width:64px; height:64px; border-radius: var(--r-md); flex:none; overflow:hidden; position:relative;
  background: linear-gradient(150deg,#7B7E55,#5d5f3f); display:flex;align-items:center;justify-content:center; color:#F5EFE6; }
.audio__cover i { width:26px;height:26px; }
.audio__info { flex: 1; min-width: 0; }
.audio__info .t { font-family: var(--font-display); font-weight:600; font-size:20px; color: var(--text-strong); line-height:1.15; }
.audio__info .s { font-size:13px; color: var(--text-muted); margin-top:3px; }
.wave { display:flex; align-items:center; gap:3px; height:46px; margin: 4px 0 14px; }
.wave i { flex:1; background: var(--border-strong); border-radius:99px; transition: background var(--dur) var(--ease); }
.wave i.on { background: var(--primary); }
.audio__track { height:5px; border-radius:99px; background: var(--surface-sunk); overflow:hidden; }
.audio__track i { display:block; height:100%; background: var(--primary); border-radius:99px; width:38%; }
.audio__time { display:flex; justify-content:space-between; font-size:12px; color: var(--text-muted); margin-top:7px; }
.audio__ctrls { display:flex; align-items:center; justify-content:center; gap:22px; margin-top:16px; color: var(--text-strong); }
.audio__ctrls i { width:22px; height:22px; cursor:pointer; }
.audio__play { width:54px;height:54px;border-radius:50%; background: var(--primary); color: var(--text-onplum);
  display:flex;align-items:center;justify-content:center; box-shadow: 0 10px 24px rgba(110,71,90,.3); }
.audio__play i { width:24px;height:24px; }

/* devices media */
.story__devices { mix-blend-mode: multiply; width: 100%; max-width: 520px; border-radius: 16px; }

/* feature GRID variant (tweak) */
.grid-features { display: none; }
body[data-features="grid"] .stories { display: none; }
body[data-features="grid"] .grid-features { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 26px); }
.gf-card { background: var(--surface); border:1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm); padding: 28px; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.gf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gf-card .ic { width:46px;height:46px;border-radius: var(--r-control); background: var(--primary-soft);
  display:flex;align-items:center;justify-content:center; color: var(--primary); margin-bottom:18px; }
.gf-card .ic i { width:22px;height:22px; }
.gf-card h3 { font-family: var(--font-display); font-weight:600; font-size:25px; color: var(--text-strong); margin:0 0 8px; line-height:1.1; }
.gf-card p { font-size:15px; line-height:1.6; color: var(--text-muted); margin:0; }

/* ============================================================
   BRAND "CALM" BAND
   ============================================================ */
.calm { background: var(--band); border-block: 1px solid var(--border); }
.calm__inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px,4vw,64px); align-items: center; }
.calm__art { mix-blend-mode: multiply; width: 100%; max-width: 360px;
  -webkit-mask-image: radial-gradient(ellipse 86% 80% at 50% 48%, #000 56%, transparent 100%);
  mask-image: radial-gradient(ellipse 86% 80% at 50% 48%, #000 56%, transparent 100%); }
.calm__copy .h-band { margin-bottom: 22px; }
.calm__copy p { font-size: 20px; line-height: 1.72; color: var(--text); margin: 0 0 18px; max-width: 52ch; }
.calm__nots { display:flex; gap: 10px; flex-wrap:wrap; margin-top: 26px; }
.calm__nots span { font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--text-muted); }
.calm__nots span::after { content: "·"; margin-left: 12px; color: var(--accent-gold); }
.calm__nots span:last-child::after { display:none; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { text-align: center; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px,2vw,26px); max-width: 1240px;
  margin: clamp(40px,5vw,60px) auto 0; text-align: left; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: clamp(28px,3vw,40px); overflow: hidden; display: flex; flex-direction: column; }
.plan__art { position:absolute; pointer-events:none; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, #000 52%, transparent 100%); }
.plan--free .plan__art { right: 18px; top: 18px; width: 116px; opacity:.92; }
.plan--sup { border-color: var(--primary); box-shadow: 0 24px 60px rgba(110,71,90,.16); }
.plan--sup .plan__art { right: -8px; bottom: -10px; width: clamp(124px,11vw,154px); opacity:1; }
.plan--pro { border-color: color-mix(in srgb, var(--primary) 28%, var(--border)); background:
  linear-gradient(180deg, var(--surface) 0%, color-mix(in srgb, var(--surface-soft) 62%, var(--surface)) 100%); }
.plan__badge { position:absolute; top:0; right:28px; background: var(--primary); color: var(--text-onplum);
  font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; padding:7px 14px; border-radius:0 0 12px 12px; display:flex; align-items:center; gap:6px; white-space:nowrap; }
.plan__badge i { width:13px; height:13px; fill: currentColor; }
.plan__name { font-family: var(--font-display); font-weight:600; font-size: 36px; color: var(--text-strong); margin:0; line-height:1; }
.plan__price { display:flex; align-items:baseline; gap:8px; margin: 14px 0 6px; }
.plan__price .amt { font-family: var(--font-display); font-weight:600; font-size: clamp(44px,3.1vw,56px); color: var(--text-strong); line-height:1; }
.plan__price .per { font-size:14px; color: var(--text-muted); }
.plan__tag { font-size:14px; color: var(--text-muted); margin: 0 0 22px; max-width: 30ch; }
.plan__list { list-style:none; padding:0; margin: 0 0 26px; display:flex; flex-direction:column; gap:12px; max-width: 28ch; }
.plan__list li { display:flex; align-items:center; gap:11px; font-size:15px; color: var(--text); }
.plan__list li i { width:18px;height:18px; color: var(--accent-moss); flex:none; }
.plan--sup .plan__list li i { color: var(--primary); }
.plan--pro .plan__list li i { color: var(--accent-walnut); }
.plan .btn { width: fit-content; margin-top: auto; }
.plan__name,
.plan__price,
.plan__tag,
.plan__list,
.plan .btn { position: relative; z-index: 1; }
.plan__badge { z-index: 2; }

/* ============================================================
   COMING SOON
   ============================================================ */
.soon { background: var(--band); border-block: 1px solid var(--border); }
.soon__grid { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: clamp(16px,2vw,26px); align-items: stretch; }
.soon__lead .h-band { margin-bottom: 12px; }
.soon__lead p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; max-width: 36ch; }
.soon__card { background: var(--surface); border:1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; display:flex; flex-direction:column; gap:12px; min-height: 188px; }
.soon__ic { width:42px;height:42px;border-radius: var(--r-control); background: var(--surface-soft);
  display:flex;align-items:center;justify-content:center; color: var(--accent-walnut); }
.soon__ic i { width:21px;height:21px; }
.soon__card h4 { font-family: var(--font-ui); font-weight:600; font-size:16px; color: var(--text-strong); margin:0; }
.soon__card p { font-size:13px; line-height:1.5; color: var(--text-muted); margin:0; }
.soon__badge { margin-top:auto; align-self:flex-start; font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; white-space:nowrap;
  color: var(--accent-gold); background: color-mix(in srgb, var(--accent-gold) 14%, var(--surface)); border:1px solid color-mix(in srgb, var(--accent-gold) 30%, transparent);
  padding:5px 11px; border-radius:99px; }
.soon__newsletter { grid-column: 1 / -1; display:grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(20px,3vw,40px); align-items:center;
  background: color-mix(in srgb, var(--surface) 82%, var(--band)); border:1px solid var(--border); border-radius: var(--r-xl);
  padding: clamp(24px,3vw,34px); box-shadow: 0 20px 52px rgba(65,45,36,.07); }
.soon__newsletter-copy h3 { font-family: var(--font-display); font-weight:600; font-size: clamp(34px,3vw,46px); line-height:1.04; color: var(--text-strong); margin: 0 0 10px; }
.soon__newsletter-copy p:not(.eyebrow) { font-size: 16px; line-height:1.6; color: var(--text-muted); margin:0; max-width: 34ch; }
.soon__form { display:flex; flex-direction:column; gap:10px; margin-top: 32px;}
.soon__form-row { display:grid; grid-template-columns: minmax(0, 1fr) auto; gap:10px; align-items:center; }
.soon__form input[type="email"] { width:100%; min-height: 52px; border:1px solid var(--border); border-radius: var(--r-control); background: var(--surface);
  color: var(--text); font-family: var(--font-ui); font-size: 15px; padding: 0 16px; outline: none; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.soon__form input[type="email"]::placeholder { color: color-mix(in srgb, var(--text-muted) 70%, transparent); }
.soon__form input[type="email"]:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(110,71,90,.12); }
.soon__form .btn { min-height: 52px; white-space: nowrap; }
.soon__trap { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; pointer-events:none; }
.soon__privacy { font-size: 13px; line-height:1.5; color: var(--text-muted); margin:0; }
.soon__message { min-height: 20px; font-size: 14px; line-height:1.45; margin:0; color: var(--primary); }
.soon__message.is-error { color: #9C3D3D; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { text-align:center; }
.final__card { background: var(--oakamo-plum); color: var(--text-onplum); border-radius: var(--r-2xl);
  padding: clamp(48px,6vw,84px) clamp(28px,5vw,72px); position: relative; overflow: hidden; }
.final__card::before, .final__card::after { content:""; position:absolute; border-radius:50%;
  background: radial-gradient(circle, rgba(255,249,240,.10), transparent 70%); pointer-events:none; }
.final__card::before { width:380px;height:380px; top:-160px; left:-120px; }
.final__card::after { width:420px;height:420px; bottom:-200px; right:-130px; }
.final__inner { position:relative; }
.final__card .eyebrow { color: var(--accent-gold); }
.final__card .eyebrow::before, .final__card .eyebrow::after { background: var(--accent-gold); }
.final h2 { font-family: var(--font-display); font-weight:600; font-size: 60px; line-height:1.05; letter-spacing:0; margin:0 auto 18px; max-width: 28ch; }
.final p { font-size: 20px; opacity:.82; margin: 0 auto 32px; max-width: 50ch; }
.final__actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.final__actions .btn-primary { background: var(--surface); color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.final__actions .btn-primary:hover { background: var(--text-onplum); }
.final__actions .btn-secondary { background: transparent; color: var(--text-onplum); border-color: rgba(255,249,240,.4); }
.final__actions .btn-secondary:hover { background: rgba(255,249,240,.1); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding-block: clamp(48px,6vw,72px) 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: clamp(24px,3vw,48px); }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0 0 20px; max-width: 26ch; }
.footer__social { display:flex; gap:10px; }
.footer__social a { width:40px;height:40px;border-radius: var(--r-control); border:1px solid var(--border);
  background: var(--surface); display:flex;align-items:center;justify-content:center; color: var(--text-muted); transition: all var(--dur) var(--ease); }
.footer__social a:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.footer__social i { width:18px;height:18px; }
.footer__col h5 { font-size:12px; letter-spacing:.12em; text-transform:uppercase; color: var(--text-strong); margin:0 0 16px; font-weight:600; }
.footer__col a { display:block; font-size:14px; color: var(--text-muted); padding:6px 0; }
.footer__col a:hover { color: var(--primary); }
.footer__bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
  margin-top: clamp(36px,4vw,56px); padding-top: 24px; border-top:1px solid var(--border); font-size:13px; color: var(--text-muted); }
.footer__bottom .links { display:flex; gap:20px; }

/* ============================================================
   SUPPORT / LEGAL PAGES
   ============================================================ */
.subpage-main { min-height: 60vh; }
.page-hero {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--band) 34%, var(--bg));
}
.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  padding-block: clamp(56px, 8vw, 104px) clamp(44px, 6vw, 72px);
}
.page-hero__copy { max-width: 760px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--text-strong);
  margin: 0;
}
.page-hero p {
  margin: 22px 0 0;
  color: var(--text-muted);
  font-size: 19px;
  line-height: 1.72;
  max-width: 58ch;
}
.page-hero__note {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.page-hero__note span {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-walnut);
  font-weight: 600;
  margin-bottom: 10px;
}
.page-hero__note strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.12;
  color: var(--text-strong);
  font-weight: 600;
}
.page-body { padding-block: clamp(52px, 7vw, 92px); }
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.policy-content {
  max-width: 780px;
}
.policy-content h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.12;
  color: var(--text-strong);
  margin: 0 0 14px;
}
.policy-content h2:not(:first-child) { margin-top: 42px; }
.policy-content p,
.policy-content li {
  color: var(--text);
  font-size: 16px;
  line-height: 1.78;
}
.policy-content p { margin: 0 0 16px; }
.policy-content ul { margin: 0 0 20px; padding-left: 22px; }
.policy-meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.side-panel {
  position: sticky;
  top: 104px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.side-panel h2,
.side-panel h3 {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--text-strong);
}
.side-panel a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
}
.side-panel a:hover { color: var(--primary); }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 0;
}
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.contact-card i { width: 22px; height: 22px; color: var(--primary); margin-bottom: 16px; }
.contact-card h2,
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.1;
  margin: 0 0 8px;
  color: var(--text-strong);
}
.contact-card p,
.contact-card a {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.contact-card a { color: var(--primary); font-weight: 600; }
.shortcut-band {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  background: color-mix(in srgb, var(--surface) 78%, var(--band));
  padding: clamp(24px, 4vw, 38px);
}
.shortcut-band h2 {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--text-strong);
}
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.shortcut-grid a {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 16px;
  color: var(--text-muted);
  font-weight: 600;
}
.shortcut-grid a:hover { color: var(--primary); border-color: var(--primary); }
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin-inline: auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.faq-item h2,
.faq-item h3 {
  margin: 0;
  font: inherit;
}
.faq-item button {
  cursor: pointer;
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  color: var(--text-strong);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}
.faq-item button:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: -4px;
}
.faq-item button i {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex: 0 0 auto;
  transition: transform .2s var(--ease);
}
.faq-item.is-open button i {
  transform: rotate(180deg);
}
.faq-panel {
  overflow: hidden;
  transition: height .28s var(--ease), opacity .22s var(--ease);
}
.faq-panel.is-collapsing,
.faq-panel.is-expanding {
  display: block;
}
.faq-panel p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.faq-panel p:not(:last-child) {
  padding-bottom: 10px;
}
.faq-item > p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.home-faq { background: var(--bg); scroll-margin-top: 96px; padding-bottom: clamp(56px, 6vw, 88px); }
.home-faq + .final { padding-top: 0; }
.home-faq__head { text-align:center; margin: 0 auto clamp(32px,4vw,48px); max-width: 760px; }
.home-faq__head .h-section { margin-bottom: 14px; }
.home-faq__head > p:not(.eyebrow) { margin:0 auto; max-width: 42ch; color: var(--text-muted); font-size: 18px; line-height:1.65; }
.home-faq__list { max-width: 900px; }
.home-faq__cta { max-width: 900px; margin: 18px auto 0; display:flex; align-items:center; justify-content:space-between; gap: 20px;
  border:1px solid var(--border); border-radius: var(--r-xl); background: color-mix(in srgb, var(--surface) 78%, var(--band));
  padding: clamp(22px,3vw,30px); box-shadow: var(--shadow-xs); }
.home-faq__cta h3 { font-family: var(--font-display); font-weight:600; font-size: clamp(28px,2.4vw,36px); line-height:1.05; margin:0 0 8px; color: var(--text-strong); }
.home-faq__cta p { margin:0; color: var(--text-muted); font-size:15px; line-height:1.65; max-width: 52ch; }
.home-faq__cta .btn { flex: 0 0 auto; }

/* ============================================================
   404
   ============================================================ */
.not-found-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 50%, color-mix(in srgb, var(--accent-gold) 12%, transparent) 0 24%, transparent 46%),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--surface-soft) 36%, var(--bg)) 100%);
}
.not-found-page__inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  min-height: 100vh;
  padding-block: clamp(34px, 6vh, 72px);
}
.not-found-page__copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: clamp(34px, 5vh, 54px);
  min-width: 0;
}
.not-found-page__brand {
  align-self: start;
}
.not-found-page__brand img {
  height: 38px;
}
.not-found-page__message {
  display: grid;
  gap: 18px;
  max-width: 620px;
}
.not-found-page__code,
.not-found-page__message h1,
.not-found-page__message p {
  margin: 0;
}
.not-found-page__code {
  font-family: var(--font-display);
  font-size: clamp(96px, 11vw, 164px);
  font-weight: 700;
  line-height: .78;
  color: var(--text-strong);
}
.not-found-page__message h1 {
  max-width: 11.5ch;
  font-family: var(--font-display);
  font-size: clamp(42px, 4.8vw, 66px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--text-strong);
  text-wrap: balance;
}
.not-found-page__message p {
  max-width: 36ch;
  font-family: var(--font-ui);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
  color: var(--text-muted);
}
.not-found-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.not-found-page__actions .btn {
  min-height: 54px;
  box-shadow: none;
}
.not-found-page__actions .btn-primary {
  box-shadow: 0 10px 26px rgba(110, 71, 90, .2);
}
.not-found-page__actions .btn-secondary {
  background: color-mix(in srgb, var(--surface) 72%, var(--bg));
}
.not-found-page__art {
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(100%, 620px);
}
.not-found-page__art::before {
  content: "";
  position: absolute;
  inset: 10% 6% 4% 8%;
  z-index: -1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-sage) 20%, transparent);
  filter: blur(36px);
}
.not-found-page__art img {
  width: 100%;
  filter: drop-shadow(0 22px 42px rgba(63, 43, 31, .09));
}

/* ============================================================
   REVEAL MOTION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; } .reveal.d4 { transition-delay: .28s; }
body[data-motion="off"] .reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE — tablet
   ============================================================ */
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav__login { display: none; }
  .nav__burger { display: flex; }
  .nav__actions .btn-primary { display: none; }
  .nav__mobile { display: block; }

  .hero__grid { grid-template-columns: 1fr; gap: 18px; padding-block: 52px 46px; }
  .hero__body { max-width: 620px; margin-inline: auto; text-align: center; }
  .hero__media { justify-content: center; transform: none; }
  .hero-product-frame { width: min(100%, 720px); margin-inline: auto; }
  .hero-product-shot--phone { left: -1%; }
  .hero__illus { max-width: 440px; margin-inline: auto; }
  .hero__title { font-size: clamp(3.4rem, 8vw, 4.4rem); max-width: 14ch; margin-inline: auto; }
  .hero__sub { font-size: 18px; max-width: 40ch; margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__support { justify-content: center; margin-top: 20px; }
  .trust { justify-content: center; gap: 18px 22px; }
  .trust__item { align-items: center; text-align: center; }
  .proof { justify-content: center; max-width: 560px; }

  .strip__points { margin-left: 0; }

  .story { grid-template-columns: 1fr; gap: 30px; }
  .story__body, .story.is-flip .story__body { order: 1; }
  .story__media, .story.is-flip .story__media { order: 2; }
  .story__art, .story__devices { max-width: 480px; margin-inline: auto; }

  .calm__inner { grid-template-columns: 1fr; text-align: center; }
  .calm__art { max-width: 240px; margin: 0 auto; }
  .calm__copy p { margin-inline: auto; }
  .calm__nots { justify-content: center; }

  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  body[data-features="grid"] .grid-features { grid-template-columns: repeat(2, 1fr); }

  .soon__grid { grid-template-columns: repeat(2, 1fr); }
  .soon__lead { grid-column: 1 / -1; }
  .soon__newsletter { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .page-hero__inner,
  .content-grid { grid-template-columns: 1fr; }
  .page-hero__note,
  .side-panel { position: static; }
  .contact-cards { grid-template-columns: 1fr; }
  .shortcut-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 720px) and (max-width: 1023px) {
  .nav__actions .btn-primary { display: inline-flex; }
}

/* ============================================================
   RESPONSIVE — mobile
   ============================================================ */
@media (max-width: 640px) {
  .h-section { font-size: 34px; }
  .h-band { font-size: 30px; }
  .lead { font-size: 17px; }
  .strip__lead { font-size: 21px; }
  .reader-mock h4 { font-size: 27px; }

  .hero__grid { padding-block: 58px 38px; gap: 10px; }
  .hero__media { padding-top: 8px; }
  .hero__illus { max-width: min(360px, 86vw); }
  .hero__title { font-size: clamp(2.35rem, 10.5vw, 2.85rem); line-height: 1.02; max-width: 14.5ch; }
  .hero__sub { font-size: 16px; line-height: 1.55; margin: 12px auto 18px; max-width: 29ch; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; max-width: 380px; margin-inline: auto; min-height: 44px; }
  .hero__actions .btn-lg { padding: 13px 18px; font-size: 15px; }
  .hero__support { margin-top: 34px; }
  .hero-product-frame { width: min(calc(100% - 28px), 390px); aspect-ratio: 1.08; margin-top: 0; }
  .hero-product-shot--laptop { width: 106%; right: -3%; bottom: 20%; transform: none; opacity: .96; }
  .hero-product-shot--phone { width: min(34%, 130px); left: -1%; bottom: 12%; transform: none; }

  .story__problem { font-size: 17px; }
  .story__solution { font-size: 16px; }
  .calm__copy p { font-size: 17px; }
  .plan__name { font-size: 30px; }
  .plan__price .amt { font-size: 44px; }
  .final h2 { font-size: 36px; }
  .final p { font-size: 17px; }
  .page-hero h1 { font-size: 42px; }
  .page-hero p { font-size: 17px; }
  .page-body { padding-block: 44px; }
  .policy-content h2,
  .shortcut-band h2 { font-size: 30px; }
  .shortcut-grid { grid-template-columns: 1fr; }
  .faq-item button { padding: 18px; }
  .faq-panel p,
  .faq-item > p { padding: 0 18px 18px; }

  .trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 16px 14px; }
  .trust__item { max-width: none; align-items: center; width: 100%; gap: 8px; }
  .trust__label { font-size: 13px; text-align: center; }
  .trust__ic { width: 34px; height: 34px; }
  .proof { justify-content: center; gap: 10px 12px; text-align: center; max-width: 330px; margin-inline: auto; }
  .proof__text { width: 100%; }

  .strip__inner { grid-template-columns: 1fr; align-items: center; justify-items: center; gap: 18px; text-align: center; }
  .strip__lead { justify-content: center; max-width: 45ch; }
  .strip__points { justify-content: center; gap: 14px 18px; }
  .strip__point { font-size: 14px; }

  .price-grid { grid-template-columns: 1fr; }
  .plan--free .plan__art { width: 92px; }
  .plan .btn { width: 100%; }

  body[data-features="grid"] .grid-features { grid-template-columns: 1fr; }

  .soon__grid { grid-template-columns: 1fr; }
  .soon__card { min-height: 0; }
  .soon__newsletter { padding: 22px; }
  .soon__form-row { grid-template-columns: 1fr; }
  .soon__form .btn { width: 100%; }
  .home-faq__cta { flex-direction: column; align-items: stretch; text-align: left; }
  .home-faq__cta .btn { width: 100%; }

  .not-found-page {
    align-items: start;
  }
  .not-found-page__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 100vh;
    padding-block: 28px 40px;
  }
  .not-found-page__copy {
    gap: 26px;
  }
  .not-found-page__message {
    gap: 12px;
  }
  .not-found-page__message h1 {
    max-width: 12.5ch;
    font-size: clamp(36px, 12vw, 48px);
  }
  .not-found-page__message p {
    font-size: 16px;
    line-height: 1.6;
  }
  .not-found-page__art {
    width: min(100%, 440px);
    justify-self: center;
    order: 2;
  }
  .not-found-page__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    order: 3;
  }
  .not-found-page__actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .not-found-page {
    align-items: start;
  }
  .not-found-page__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 38px 52px;
  }
  .not-found-page__copy {
    max-width: 680px;
    gap: 32px;
  }
  .not-found-page__message h1 {
    max-width: 13ch;
  }
  .not-found-page__art {
    width: min(76vw, 560px);
    justify-self: center;
  }
}

/* keep illustrations from exploding on small screens */
@media (max-width: 400px) {
  .hero__illus { max-width: min(300px, 84vw); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
}

/* ============================================================
   COOKIE CONSENT BANNER
   Calm bottom card. Hidden until site.js reveals it (no decision
   yet). Outer is a transparent positioner; the card is the only
   interactive surface so it never blocks page content.
   ============================================================ */
.cookie-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: none;
  padding: 16px clamp(16px, 4vw, 28px);
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.cookie-consent.is-visible { display: block; }
.cookie-consent:focus { outline: none; }

.cookie-consent__card {
  pointer-events: auto;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px clamp(18px, 2.5vw, 26px);
}

.cookie-consent__text { flex: 1 1 auto; min-width: 0; }
.cookie-consent__title {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  color: var(--text-strong);
  margin: 0 0 4px;
}
.cookie-consent__body {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.cookie-consent__link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.cookie-consent__link:hover { color: var(--primary-hover); }
.cookie-consent__link:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow: 0 0 0 3px var(--primary-ring);
}

.cookie-consent__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-consent__btn { white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  .cookie-consent.is-visible .cookie-consent__card {
    animation: cookieRise var(--dur-slow) var(--ease) both;
  }
}
@keyframes cookieRise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* mobile: stacked card, full-width buttons (Accept on top) */
@media (max-width: 640px) {
  .cookie-consent__card { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-consent__actions { flex-direction: column-reverse; }
  .cookie-consent__btn { width: 100%; }
}

/* footer "Cookie preferences" — an action styled like the sibling links */
.footer__linkbtn {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.footer__linkbtn:hover { color: var(--primary); }
.footer__linkbtn:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow: 0 0 0 3px var(--primary-ring);
}
