/* ==========================================================================
   Keydo — marketing site
   Design system mirrors the iOS app: pink #F55599 primary, blue #1CC2FF accent,
   white canvas, dark-slate ink, rounded-bold type, Duolingo-style 3D buttons and
   bordered cards.
   ========================================================================== */

:root {
  --pink: #F55599;
  --pink-edge: #C4447A;
  --pink-soft: #FFE9F2;
  --blue: #1CC2FF;
  --blue-edge: #12A6DE;
  --blue-soft: #E4F8FF;
  --gold: #FFC400;

  --ink: #1E1E2C;
  --muted: #6E6E82;
  --line: #E7E7EC;
  --card-edge: #E2E2E5;
  --bg: #FFFFFF;
  --bg-alt: #FBF7FA;

  --shadow-sm: 0 6px 18px rgba(30,30,44,.06);
  --shadow-md: 0 16px 40px rgba(30,30,44,.10);
  --shadow-pink: 0 18px 44px rgba(245,85,153,.30);

  --radius: 22px;
  --radius-lg: 30px;
  --maxw: 1180px;

  --font-display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --font-body: "Nunito", ui-rounded, system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 600;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--pink); background: var(--pink-soft);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow.blue { color: var(--blue-edge); background: var(--blue-soft); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--muted); font-weight: 600; max-width: 620px; }
.center .lead { margin-inline: auto; }
.section-head { max-width: 700px; margin: 0 auto clamp(40px, 6vw, 66px); }
.pink { color: var(--pink); }
.blue { color: var(--blue); }

/* ---- Buttons: Duolingo 3D press ---- */
.btn {
  --edge: var(--pink-edge);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  color: #fff; background: var(--pink);
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 5px 0 var(--edge), var(--shadow-sm);
  transition: transform .06s ease, box-shadow .06s ease, filter .15s ease;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--edge); }
.btn.blue-btn { background: var(--blue); --edge: var(--blue-edge); }
.btn.ghost {
  color: var(--ink); background: #fff; box-shadow: 0 5px 0 var(--card-edge), var(--shadow-sm);
  --edge: var(--card-edge);
}
.btn.lg { font-size: 1.12rem; padding: 18px 34px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.center .btn-row { justify-content: center; }

.appstore { display: inline-block; transition: transform .12s ease; }
.appstore img { height: 56px; width: auto; }
.appstore:hover { transform: translateY(-2px); }

/* ---- Navbar ---- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo { height: 30px; }
.wordmark {
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -.02em;
  color: var(--blue);
}
.wordmark .dot { color: var(--pink); }
.wordmark .do { color: var(--pink); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 700; color: var(--ink); font-size: .98rem; transition: color .15s; }
.nav-links a:hover { color: var(--pink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); border-radius: 3px; margin: 5px 0; transition: .25s; }

/* ---- Hero ---- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: .86rem; color: var(--ink);
  background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 8px 14px;
}
.chip b { color: var(--pink); font-family: var(--font-display); }

/* Key the Fox — video mascot. White-bg videos blend into white sections. */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 440px; }
.keyfox-video { width: 100%; max-width: 460px; height: auto; mix-blend-mode: multiply; }
.keyfox-video.contain { object-fit: contain; }
.float-chip {
  position: absolute; z-index: 2; background: #fff; border: 2px solid var(--card-edge);
  border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow-md);
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 7px;
  animation: floaty 4s ease-in-out infinite;
}
.float-chip.pink { background: var(--pink); color: #fff; border-color: var(--pink-edge); box-shadow: 0 8px 22px rgba(245,85,153,.4); }
.float-chip .xp { color: var(--muted); font-size: .72rem; }
.fc-1 { top: 8%; left: 2%; }
.fc-2 { top: 20%; right: 0%; animation-delay: 1s; }
.fc-3 { bottom: 12%; left: 6%; animation-delay: 2s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* fox video inside the app mockup's fox-stage */
.fox-stage video { width: 130%; height: 100%; object-fit: cover; object-position: center 30%; mix-blend-mode: multiply; }

.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; z-index: -1; }
.blob.a { width: 380px; height: 380px; background: var(--pink-soft); top: -80px; right: -60px; }
.blob.b { width: 300px; height: 300px; background: var(--blue-soft); bottom: -60px; left: -80px; }

/* ---- Phone mockup + app-screen replicas ---- */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; max-width: 82vw; aspect-ratio: 300 / 620;
  background: #101018; border-radius: 46px; padding: 12px;
  box-shadow: var(--shadow-md), 0 0 0 2px rgba(0,0,0,.04);
}
.phone::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 118px; height: 26px; background: #101018; border-radius: 0 0 16px 16px; z-index: 3;
}
.screen {
  position: relative; width: 100%; height: 100%; background: #fff;
  border-radius: 36px; overflow: hidden; display: flex; flex-direction: column;
  padding: 26px 14px 16px;
}
.phone.tilt { transform: rotate(-4deg); }
.phone.tilt-r { transform: rotate(4deg); }

/* app top bar */
.app-topbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.xp-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fff; border: 2px solid var(--card-edge); border-radius: 999px;
  padding: 5px 10px; font-family: var(--font-display); font-weight: 600; font-size: .82rem;
}
.xp-badge .xp { color: var(--muted); font-size: .68rem; }
.unlock-pill {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  background: var(--pink); color: #fff; font-family: var(--font-display); font-weight: 600;
  font-size: .74rem; padding: 7px 11px; border-radius: 999px; box-shadow: 0 3px 0 var(--pink-edge);
}
.streak-badge {
  display: inline-flex; align-items: center; gap: 3px; font-family: var(--font-display); font-weight: 600;
  font-size: .78rem; color: var(--ink); background: rgba(255,150,0,.14);
  border: 1.5px solid rgba(255,150,0,.4); border-radius: 999px; padding: 4px 9px;
}

.q-card {
  background: #fff; border: 2px solid var(--card-edge); border-radius: 18px;
  padding: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .96rem; line-height: 1.25;
}
.q-card .speaker {
  margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue-edge); display: grid; place-items: center; font-size: .9rem;
}
.answers { display: grid; gap: 9px; }
.ans {
  background: #fff; border: 2px solid var(--card-edge); border-radius: 15px;
  padding: 12px 13px; display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .9rem;
}
.ans .lt {
  flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--bg-alt);
  color: var(--muted); display: grid; place-items: center; font-family: var(--font-display); font-size: .8rem;
}
.ans.correct { border-color: #46C46A; }
.ans.correct .lt { background: #46C46A; color: #fff; }
.fox-stage {
  margin-top: auto; display: grid; place-items: center; padding-top: 10px;
}
.fox-stage .fox { font-size: 76px; line-height: 1; filter: drop-shadow(0 8px 12px rgba(0,0,0,.12)); }
.sparkle { position: absolute; font-size: 15px; animation: twinkle 2.4s ease-in-out infinite; }

@keyframes twinkle { 0%,100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

/* shop screen */
.shop-head { text-align: center; padding: 6px 0 12px; }
.shop-head .title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.shop-bal { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-display); font-weight: 600; margin-top: 4px; }
.tier {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border: 2px solid var(--card-edge); border-radius: 16px; padding: 12px; margin-bottom: 9px;
}
.tier .mins { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.tier .cost { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-display); font-weight: 600; color: var(--pink); }
.tier .ic { width: 36px; height: 36px; border-radius: 11px; background: var(--pink-soft); display: grid; place-items: center; font-size: 1.05rem; }

/* dashboard screen */
.dash-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.dash-head .t { font-family: var(--font-display); }
.dash-head .t small { display: block; font-size: .62rem; color: var(--muted); font-weight: 700; }
.dash-head .t .k { color: var(--pink); font-weight: 700; font-size: 1.15rem; }
.dash-head .gear { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: var(--pink-soft); display: grid; place-items: center; }
.dash-card { background: #fff; border: 2px solid var(--card-edge); border-radius: 16px; padding: 13px; margin-bottom: 11px; }
.profile-row { display: flex; align-items: center; gap: 11px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--pink-edge)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.profile-row .nm { font-family: var(--font-display); font-weight: 700; }
.profile-row .gr { font-size: .74rem; color: var(--muted); font-weight: 700; }
.ring-row { display: flex; align-items: center; gap: 14px; }
.ring {
  width: 84px; height: 84px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--pink) 0 68%, var(--card-edge) 68% 100%);
  display: grid; place-items: center; position: relative;
}
.ring::after { content: ""; position: absolute; inset: 10px; background: #fff; border-radius: 50%; }
.ring b { position: relative; z-index: 1; font-family: var(--font-display); font-size: 1.1rem; }
.stat-line { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; margin: 5px 0; }
.stat-line .d { width: 10px; height: 10px; border-radius: 50%; }

/* ---- Stat strip ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--pink); }
.stat:nth-child(even) .n { color: var(--blue); }
.stat .l { color: var(--muted); font-weight: 700; font-size: .95rem; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 30px 22px; }
.step { position: relative; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow-sm); }
.step .num {
  position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 13px;
  background: var(--pink); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; box-shadow: 0 4px 0 var(--pink-edge);
}
.step:nth-child(3n+2) .num { background: var(--blue); box-shadow: 0 4px 0 var(--blue-edge); }
.step:nth-child(3n) .num { background: var(--gold); box-shadow: 0 4px 0 #D8A600; color: #4a3a00; }
.step .emoji { font-size: 2.4rem; margin: 8px 0 12px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-weight: 600; }

/* ---- Features ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature .ic {
  width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 16px; background: var(--pink-soft);
}
.feature:nth-child(3n+2) .ic { background: var(--blue-soft); }
.feature:nth-child(3n) .ic { background: rgba(255,196,0,.16); }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-weight: 600; font-size: .98rem; }

/* ---- Showcase (alternating) ---- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.showcase + .showcase { margin-top: clamp(60px, 8vw, 110px); }
.showcase.rev .sc-media { order: 2; }
.sc-media { display: flex; justify-content: center; }
.sc-copy h2 { margin-bottom: 16px; }
.tick-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 11px; align-items: flex-start; font-weight: 700; }
.tick-list .tk { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #46C46A; color: #fff; display: grid; place-items: center; font-size: .8rem; margin-top: 2px; }

/* ---- Split (parents / kids) with photos ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.split-card { border-radius: var(--radius-lg); overflow: hidden; border: 2px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.split-card .ph { aspect-ratio: 16/11; overflow: hidden; }
.split-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.split-card .bd { padding: 26px 26px 30px; }
.split-card .tag { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.split-card.parents .tag { color: var(--blue-edge); background: var(--blue-soft); }
.split-card.kids .tag { color: var(--pink); background: var(--pink-soft); }
.split-card p { color: var(--muted); font-weight: 600; }

/* ---- Testimonials ---- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.tcard .stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.tcard p { font-weight: 700; font-size: 1.02rem; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.tcard .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.tcard .who b { font-family: var(--font-display); display: block; }
.tcard .who span { font-size: .82rem; color: var(--muted); font-weight: 700; }

/* ---- Pricing ---- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan.best { border-color: var(--pink); box-shadow: var(--shadow-pink); transform: translateY(-8px); }
.plan .best-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--pink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .76rem; padding: 6px 16px; border-radius: 999px; box-shadow: 0 4px 0 var(--pink-edge); }
.plan .pname { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.plan .pdesc { color: var(--muted); font-weight: 600; margin: 6px 0 20px; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.plan li { display: flex; gap: 9px; font-weight: 700; font-size: .96rem; }
.plan li::before { content: "✓"; color: var(--pink); font-weight: 900; }
.plan .btn { margin-top: auto; width: 100%; }

/* ---- FAQ ---- */
.faq { max-width: 780px; margin-inline: auto; }
.qa { background: #fff; border: 2px solid var(--line); border-radius: 18px; margin-bottom: 14px; overflow: hidden; }
.qa summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 1.6rem; color: var(--pink); transition: transform .2s; line-height: 1; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa .a { padding: 0 24px 22px; color: var(--muted); font-weight: 600; }

/* ---- Final CTA ---- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, var(--pink), #ff77b0);
  border-radius: var(--radius-lg); padding: clamp(48px, 7vw, 84px) 26px; color: #fff;
  box-shadow: var(--shadow-pink);
}
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.92); font-weight: 700; max-width: 560px; margin: 0 auto 30px; }
.cta .btn.ghost { color: var(--pink); }
.cta .sp { position: absolute; font-size: 2rem; opacity: .5; }

/* ---- Footer ---- */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer .wordmark { font-size: 1.5rem; }
.footer .tag { color: var(--muted); font-weight: 700; margin-top: 8px; max-width: 300px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.footer-col a:hover { color: var(--pink); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-weight: 700; font-size: .9rem; }

/* ---- Problem statement ---- */
.statement { max-width: 860px; margin-inline: auto; text-align: center; }
.statement h2 { margin-bottom: 20px; }
.statement p { font-size: clamp(1.05rem,1.7vw,1.24rem); color: var(--muted); font-weight: 600; max-width: 720px; margin: 0 auto 22px; }
.keymsg {
  display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem,2vw,1.5rem); color: var(--ink);
}
.keymsg span { color: var(--pink); }
.keymsg span:nth-child(2) { color: var(--blue); }

/* ---- Meet Key the Fox ---- */
.keycard {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px,5vw,60px); align-items: center;
  background: linear-gradient(135deg, #fff, var(--pink-soft));
  border: 2px solid var(--line); border-radius: var(--radius-lg); padding: clamp(30px,5vw,56px);
  box-shadow: var(--shadow-sm);
}
.key-portrait {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-lg);
  background: #fff; border: 2px solid var(--card-edge); display: grid; place-items: center; overflow: hidden;
}
.key-portrait video { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; mix-blend-mode: multiply; }
.key-portrait .sparkle { font-size: 22px; z-index: 2; }
.personality { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0; }
.tagline-quote { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--pink); margin-top: 8px; }

/* ---- Subjects / pathways ---- */
.subjects { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.subject-card { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.subject-card .ic { font-size: 2.1rem; margin-bottom: 12px; }
.subject-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.subject-card p { color: var(--muted); font-weight: 600; font-size: .92rem; }
.future-note { text-align: center; margin-top: 30px; color: var(--muted); font-weight: 700; }
.future-note b { color: var(--ink); }

/* ---- Brand pillars ---- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.pillar { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-sm); }
.pillar .pic { flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--pink-soft); display: grid; place-items: center; font-size: 1.3rem; }
.pillar:nth-child(3n+2) .pic { background: var(--blue-soft); }
.pillar:nth-child(3n) .pic { background: rgba(255,196,0,.16); }
.pillar h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; margin-bottom: 4px; }
.pillar p { color: var(--muted); font-weight: 600; font-size: .9rem; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero .lead, .hero-chips { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-copy { text-align: center; }
  .showcase, .split, .stats, .subjects, .pillars, .keycard { grid-template-columns: 1fr; }
  .keycard { text-align: center; }
  .key-portrait { max-width: 340px; margin-inline: auto; }
  .personality { justify-content: center; }
  .hero-visual { min-height: 360px; }
  .showcase.rev .sc-media { order: 0; }
  .sc-copy { text-align: center; }
  .sc-copy .tick-list { text-align: left; max-width: 420px; margin-inline: auto; }
  .steps, .features, .tgrid, .plans { grid-template-columns: 1fr; }
  .plan.best { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 20px 22px; gap: 18px;
  }
  .nav.open .nav-cta .btn { display: inline-flex; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .footer-cols { gap: 34px; }
}
