:root {
  --bg: #F7F9FD;
  --paper: #FFFFFF;
  --surface: #EAEFF6;
  --surface-2: #F1F4FA;
  --line: #DCE4F2;
  --ink: #0F1B2D;
  --ink-2: #374357;
  --muted: #4E5A6E;
  --primary: #1D5BE0;
  --primary-2: #3B74EC;
  --primary-deep: #0A2A6E;
  --primary-soft: #DCE7FF;
  --green: #006C49;
  --green-bright: #1FB57A;
  --mint: #7CF0C6;
  --green-soft: #D5F5E6;
  --amber: #F5A54A;
  --amber-ink: #653E00;
  --amber-soft: #FFDDB8;
  --red: #BA1A1A;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-1: 0 4px 12px rgba(30, 41, 59, 0.06);
  --shadow-2: 0 18px 40px -12px rgba(30, 41, 59, 0.18);
  --max: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--primary-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 0 var(--primary-deep); }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-1px); }
.btn-primary:active { box-shadow: 0 2px 0 var(--primary-deep); transform: translateY(3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ---------- Store badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 8px 18px 8px 14px; border-radius: 14px;
  background: #000; color: #fff; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.badge:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(0,0,0,.45); }
.badge svg { width: 26px; height: 26px; flex: none; }
.badge span { display: flex; flex-direction: column; line-height: 1.1; }
.badge small { font-size: 11px; font-weight: 500; opacity: .85; }
.badge strong { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.badge-light { background: #fff; color: #000; }

.badge.soon { cursor: default; }
.badge.soon:hover { transform: none; box-shadow: none; }
.soon-note { margin: 14px 0 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.cta .soon-note { color: #DCE7FF; }
.btn-mint { background: var(--mint); color: var(--primary-deep); box-shadow: 0 6px 0 #1FB57A; margin-top: 28px; }
.btn-mint:hover { transform: translateY(-1px); }
.btn-mint:active { box-shadow: 0 2px 0 #1FB57A; transform: translateY(3px); }
.cta .btn-mint + .badges { margin-top: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 249, 253, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.logo svg { width: 34px; height: 34px; }
.wordmark { font-size: 23px; font-weight: 800; letter-spacing: -0.028em; }
.wordmark b { color: var(--primary); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  display: inline-block; padding: 8px 12px; border-radius: 999px;
  color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none;
}
.nav-links a:not(.btn):hover { background: var(--surface); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.login-link { font-weight: 700; color: var(--ink); text-decoration: none; padding: 8px 10px; font-size: 15px; }
.login-link:hover { color: var(--primary); }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 0;
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.menu-btn svg { margin: auto; }

@media (max-width: 920px) {
  .menu-btn { display: block; }
  .nav-panel {
    position: fixed; inset: 72px 0 auto 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 12px 24px 24px;
    display: none; flex-direction: column; gap: 12px;
    box-shadow: var(--shadow-2);
  }
  .nav-panel.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a:not(.btn) { padding: 12px; font-size: 17px; }
  .nav-actions { justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--line); }
}
@media (min-width: 921px) {
  .nav-panel { display: flex; align-items: center; gap: 24px; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary);
}
.section { padding: 112px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); margin-top: 12px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 19px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.mark {
  background: linear-gradient(transparent 58%, var(--mint) 58%, var(--mint) 92%, transparent 92%);
  padding: 0 .08em;
}
.squiggle { position: relative; white-space: nowrap; color: var(--primary); }
.squiggle svg { position: absolute; left: 0; right: 0; bottom: -.18em; width: 100%; height: .32em; }
.squiggle path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.1s .5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 96px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); letter-spacing: -0.035em; }
.hero-lede { margin-top: 24px; font-size: 20px; color: var(--ink-2); max-width: 540px; }
.hero-cta { margin-top: 36px; }
.hero-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: 15px; font-weight: 500; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--green-bright); }
.lang-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 6px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 24px; box-shadow: var(--shadow-1);
}
.lang-pill i { font-style: normal; background: var(--primary-soft); color: var(--primary); border-radius: 999px; padding: 2px 10px; font-weight: 700; }

/* ---------- Phone mock ---------- */
.stage { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.stage::before {
  content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: var(--surface); top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.phone {
  position: relative; width: 310px; max-width: 100%;
  background: #0B1730; border-radius: 48px; padding: 11px;
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(255,255,255,.06) inset;
  transform: rotate(2deg);
}
.screen {
  background: var(--bg); border-radius: 38px; overflow: hidden;
  min-height: 600px; padding: 54px 18px 22px; position: relative;
  display: flex; flex-direction: column; gap: 14px;
}
.screen::before {
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px; border-radius: 20px; background: #0B1730;
}
.app-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; }
.app-top .lvl { background: var(--primary-soft); color: var(--primary); padding: 4px 10px; border-radius: 999px; font-size: 11px; }
.track { display: flex; gap: 5px; }
.track span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.track span.done { background: var(--green-bright); }
.track span.now { background: var(--primary); }
.card {
  background: var(--paper); border-radius: 22px; padding: 18px;
  box-shadow: var(--shadow-1); border: 1px solid #EAEEF6;
}
.card-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sentence { margin-top: 10px; font-size: 21px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.sentence .w { border-radius: 6px; padding: 0 2px; transition: background-color .35s ease, color .35s ease; }
.sentence .w.ok { background: var(--green-soft); color: #00452E; }
.sentence .w.mid { background: var(--amber-soft); color: var(--amber-ink); }
.translation { margin-top: 8px; font-size: 13px; color: var(--muted); }
.score-row { display: flex; align-items: center; gap: 14px; }
.ring { position: relative; width: 66px; height: 66px; flex: none; }
.ring svg { width: 66px; height: 66px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .bg { stroke: var(--line); }
.ring .fg { stroke: var(--green-bright); stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 176; transition: stroke-dashoffset 1.2s ease; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; font-weight: 800; }
.score-text strong { display: block; font-size: 15px; }
.score-text span { font-size: 13px; color: var(--muted); }
.tip { background: var(--surface); border-radius: 16px; padding: 12px 14px; font-size: 13px; color: #24324A; line-height: 1.45; }
.tip b { font-weight: 700; }
.mic-wrap { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wave { display: flex; align-items: center; gap: 4px; height: 30px; }
.wave i { width: 4px; border-radius: 2px; background: var(--primary); height: 8px; opacity: .35; }
.recording .wave i { animation: bar 0.9s ease-in-out infinite; opacity: 1; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .25s; }
.wave i:nth-child(4) { animation-delay: .05s; } .wave i:nth-child(5) { animation-delay: .3s; }
.wave i:nth-child(6) { animation-delay: .15s; } .wave i:nth-child(7) { animation-delay: .2s; }
@keyframes bar { 0%, 100% { height: 6px; } 50% { height: 28px; } }
.mic {
  width: 68px; height: 68px; border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-items: center; position: relative;
  box-shadow: 0 8px 18px -6px rgba(29, 91, 224, .6);
}
.recording .mic::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 3px solid var(--primary); opacity: .4; animation: pulse 1.2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(.85); opacity: .5; } to { transform: scale(1.25); opacity: 0; } }
.mic-hint { font-size: 12px; font-weight: 600; color: var(--muted); }

.float-note {
  position: absolute; background: var(--paper); border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow-2); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px;
  z-index: 2;
}
.float-note .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; font-size: 15px; font-weight: 800; }
.float-note small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.note-a { left: -6px; top: 4%; animation: bob 5s ease-in-out infinite; }
.note-b { right: -10px; bottom: 18%; animation: bob 5s 1.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.strip-track { display: flex; gap: 48px; padding: 22px 0; width: max-content; animation: marquee 40s linear infinite; }
.strip-track span { font-weight: 700; font-size: 18px; color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.strip-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step {
  background: var(--paper); border-radius: var(--radius-lg); padding: 28px 24px 30px;
  border: 1px solid var(--line); position: relative;
}
.step-num {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: 18px; margin-bottom: 22px;
}
.step:nth-child(2) .step-num { background: var(--green-soft); color: var(--green); }
.step:nth-child(3) .step-num { background: var(--amber-soft); color: var(--amber-ink); }
.step:nth-child(4) .step-num { background: var(--surface); color: #24324A; }
.step h3 { font-size: 21px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* ---------- Features ---------- */
.features { background: var(--paper); border-radius: 48px; margin: 0 12px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  background: var(--bg); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.tile h3 { font-size: 24px; }
.tile p { color: var(--muted); font-size: 16px; }
.tile .tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; } .span-4 { grid-column: span 4; }
.tile-visual { margin-top: auto; padding-top: 10px; }
.tile-dark { background: var(--primary-deep); color: #fff; border-color: transparent; }
.tile-dark p { color: #DCE7FF; }
.tile-dark .tag { background: rgba(255,255,255,.12); color: #fff; }

.levels { display: flex; flex-direction: column; gap: 10px; }
.level {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--paper); border-radius: 16px; padding: 14px 16px; border: 1px solid var(--line);
  font-weight: 700; font-size: 15px;
}
.level .bars { display: flex; gap: 3px; align-items: flex-end; }
.level .bars i { width: 5px; border-radius: 2px; background: var(--line); }
.level .bars i:nth-child(1) { height: 8px; } .level .bars i:nth-child(2) { height: 13px; } .level .bars i:nth-child(3) { height: 18px; }
.level .bars i.on { background: var(--green-bright); }
.level.current { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.level.current .bars i.on { background: var(--primary); }
.level.locked { color: var(--muted); background: var(--surface-2); }
.level em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }

.chat { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; }
.bubble.them { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.bubble.me { background: var(--primary); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.bubble .who { display: block; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.bubble.fix { background: var(--amber-soft); color: var(--amber-ink); align-self: flex-end; font-size: 13px; border-bottom-right-radius: 6px; }
.chat .bubble { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
.chat.in .bubble { opacity: 1; transform: none; }
.chat.in .bubble:nth-child(2) { transition-delay: .5s; }
.chat.in .bubble:nth-child(3) { transition-delay: 1s; }
.chat.in .bubble:nth-child(4) { transition-delay: 1.5s; }

.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--paper); border: 1px solid var(--line); }
.pill.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.sound-group { background: var(--paper); border-radius: 16px; padding: 14px; border: 1px solid var(--line); margin-top: 10px; }
.sound-group header { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 5px 11px; border-radius: 10px; font-size: 14px; font-weight: 600; background: var(--amber-soft); color: var(--amber-ink); }
.chip.ok { background: var(--green-soft); color: #00452E; }

.listen { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08); border-radius: 16px; padding: 12px; }
.play { width: 42px; height: 42px; border-radius: 50%; background: var(--mint); color: var(--primary-deep); display: grid; place-items: center; flex: none; }
.scrub { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.scrub::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--mint); border-radius: 3px; }
.in .scrub::after { animation: scrub 6s linear infinite; }
@keyframes scrub { to { width: 100%; } }
.vocab { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.vocab span { background: rgba(255,255,255,.1); color: #fff; border-radius: 10px; padding: 5px 10px; font-size: 13px; font-weight: 600; }

.week { display: flex; gap: 8px; align-items: flex-end; height: 110px; }
.week div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.week i { width: 100%; border-radius: 8px 8px 4px 4px; background: var(--primary-soft); height: 0; transition: height .9s cubic-bezier(.2,.8,.2,1); }
.week div.hit i { background: var(--primary); }
.week span { font-size: 12px; font-weight: 700; color: var(--muted); }
.streak { display: flex; align-items: center; gap: 14px; }
.streak-num { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; color: var(--primary); line-height: 1; }
.streak small { display: block; color: var(--muted); font-size: 14px; font-weight: 600; }

/* ---------- Split / why ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 22px; }
.why-list li { display: flex; gap: 16px; }
.why-list .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.why-list h3 { font-size: 19px; }
.why-list p { color: var(--muted); font-size: 16px; margin-top: 4px; }
.colour-key { background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 32px; box-shadow: var(--shadow-1); }
.colour-key h3 { font-size: 20px; margin-bottom: 18px; }
.key-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.key-row:first-of-type { border-top: 0; }
.swatch { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.key-row strong { display: block; font-size: 16px; }
.key-row span { font-size: 14px; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  background: var(--paper); border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px; margin: 0;
}
.stars { display: flex; gap: 3px; color: var(--amber); }
.stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; }
.review figcaption strong { display: block; font-size: 15px; }
.review figcaption span { font-size: 13px; color: var(--muted); }

/* ---------- Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post {
  display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.post-art { height: 170px; display: grid; place-items: center; font-size: 54px; font-weight: 800; letter-spacing: -0.03em; }
.post-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { font-size: 13px; font-weight: 600; color: var(--muted); }
.post h3 { font-size: 21px; }
.post p { color: var(--muted); font-size: 15px; }
.post .more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--primary); font-size: 15px; }
.art-1 { background: var(--primary-soft); color: var(--primary); }
.art-2 { background: var(--green-soft); color: var(--green); }
.art-3 { background: var(--amber-soft); color: var(--amber-ink); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.head-row .section-head { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta {
  background: var(--primary); color: #fff; border-radius: 48px; padding: 80px 56px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.cta h2 { font-size: clamp(34px, 4.6vw, 56px); }
.cta p { margin-top: 16px; font-size: 19px; color: #DCE7FF; max-width: 520px; }
.cta .badges { margin-top: 32px; }
.cta-art { position: relative; height: 100%; min-height: 220px; }
.cta-art .big-bubble { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 340px; color: rgba(255,255,255,.12); }
.cta-art .big-bubble path { fill: currentColor; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 40px; margin-top: 112px; border-top: 1px solid var(--line); background: var(--paper); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 300px; }
.foot-grid h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.foot-grid a:hover { color: var(--primary); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }

/* ---------- Inner pages ---------- */
.page-hero { padding: 72px 0 48px; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 60px); margin-top: 12px; }
.page-hero p { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 620px; }
.featured {
  display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 32px;
  border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: inherit; margin-bottom: 40px;
}
.featured .post-art { height: auto; min-height: 300px; font-size: 96px; }
.featured .post-body { padding: 40px; justify-content: center; }
.featured h2 { font-size: clamp(26px, 3vw, 36px); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button { font: inherit; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); cursor: pointer; min-height: 40px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.article { max-width: 720px; margin: 0 auto; padding: 56px 24px 0; }
.article .back { font-weight: 700; text-decoration: none; font-size: 15px; }
.article h1 { font-size: clamp(34px, 5vw, 52px); margin-top: 20px; }
.article .post-meta { margin-top: 16px; }
.article .post-art { border-radius: 28px; margin: 36px 0; height: 260px; font-size: 90px; }
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose p { margin: 0 0 22px; }
.prose h2 { font-size: 28px; margin: 44px 0 14px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { margin: 28px 0; padding: 20px 24px; background: var(--surface); border-radius: 18px; color: #24324A; font-weight: 500; }
.prose .ex { font-weight: 700; color: var(--ink); background: var(--green-soft); border-radius: 6px; padding: 1px 6px; }
.article-cta { margin: 48px 0 0; padding: 32px; border-radius: 28px; background: var(--primary-soft); display: flex; flex-direction: column; gap: 16px; }
.article-cta h3 { font-size: 24px; }

.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 72px; }
.support-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.support-card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.support-card h3 { font-size: 20px; }
.support-card p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.search { position: relative; max-width: 560px; margin-top: 28px; }
.search input { width: 100%; font: inherit; font-size: 17px; padding: 16px 20px 16px 52px; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--primary); }
.search svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 26px; margin-bottom: 16px; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; }
summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 17px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details > div { padding: 0 22px 22px; color: var(--muted); font-size: 16px; }
details > div p + p { margin-top: 10px; }
.no-results { display: none; padding: 24px; text-align: center; color: var(--muted); }
.contact {
  background: var(--primary-deep); color: #fff; border-radius: 32px; padding: 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.contact h2 { font-size: 32px; }
.contact p { color: #DCE7FF; margin-top: 8px; }
.contact .btn-primary { background: var(--mint); color: var(--primary-deep); box-shadow: 0 6px 0 #1FB57A; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .chat .bubble { opacity: 1; transform: none; }
  .squiggle path { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .split, .cta { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .span-3, .span-2, .span-4 { grid-column: span 6; }
  .reviews, .posts, .support-grid { grid-template-columns: 1fr; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-art { display: none; }
  .featured { grid-template-columns: 1fr; }
  .featured .post-art { min-height: 200px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .steps { grid-template-columns: 1fr; }
  .features { border-radius: 32px; margin: 0 6px; }
  .tile { padding: 24px; }
  .cta { padding: 48px 24px; border-radius: 32px; }
  .foot-grid { grid-template-columns: 1fr; }
  .note-a { left: 0; top: 0; } .note-b { right: 0; }
  .phone { transform: none; width: 290px; }
  .hero-lede { font-size: 18px; }
  .contact { padding: 32px 24px; }
  .featured .post-body { padding: 28px; }
}
