/* Keen home page: brand look. Cream page, white cards, deep green with a warm gold accent, dark green panels. Only index.html loads this file. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/jakarta.woff2?v=90544e5e37") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/jakarta-ext.woff2?v=38e3b8fd80") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Brand: cream, deep green, warm gold (the app icon's colours). Old names kept: emerald = the green accent, mint = soft green wash, gold = warm gold. */
  --bg: #fbf7ee;
  --card: #ffffff;
  --ink: #0b2a20;
  --ink-soft: #3f5a4f;
  --emerald: #0c3b2d;
  --emerald-2: #17604a;
  --mint: #e3f2e8;
  --mint-2: #bfe3cf;
  --peach: #fdebd9;
  --gold: #f5cb82;
  --line: rgba(11, 42, 32, 0.08);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --soft: 0 1px 2px rgba(11, 42, 32, 0.04), 0 8px 24px rgba(11, 42, 32, 0.06);
  --lift: 0 2px 4px rgba(11, 42, 32, 0.04), 0 24px 48px -24px rgba(12, 59, 45, 0.3), 0 48px 96px -48px rgba(11, 42, 32, 0.2);
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(24px, 5vw, 64px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; background: var(--bg); overflow-x: clip; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: var(--sans); font-size: 18px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
/* Soft light behind the whole page: mint from the right, peach from the left. */
body::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1500px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 620px at 88% 6%, rgba(245, 203, 130, 0.75), transparent 70%),
    radial-gradient(50vw 520px at 4% 0%, rgba(227, 242, 232, 0.8), transparent 70%),
    radial-gradient(40vw 500px at 40% 55%, rgba(245, 203, 130, 0.16), transparent 70%);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
::selection { background: var(--mint-2); color: var(--ink); }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2 { font-family: var(--display); font-weight: 750; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 3.7vw, 3.1rem); line-height: 1.12; }
h3 { font-size: 1.14rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: normal; color: transparent; background: var(--em, linear-gradient(100deg, #17604a 10%, #1f6e55 55%, #b8862b)); -webkit-background-clip: text; background-clip: text; }
:focus-visible { outline: 3px solid var(--emerald-2); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--emerald); color: #fff; padding: 12px 18px; border-radius: 12px; }
.skip:focus { top: 16px; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.26rem); color: var(--ink-soft); max-width: 34em; text-wrap: pretty; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 650; letter-spacing: 0.09em; text-transform: uppercase; color: var(--emerald-2); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(245, 203, 130, 0.3); }

/* Buttons */
.play, .btn {
  display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 28px 10px 22px;
  border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 650; color: #ffffff;
  background: linear-gradient(180deg, #1f6e55 0, #0c3b2d 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 18px 34px -16px rgba(12, 59, 45, 0.75);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.play:hover, .btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 26px 44px -18px rgba(12, 59, 45, 0.8); }
.play:active, .btn:active { transform: translateY(0) scale(0.98); }
.play svg { width: 26px; height: 26px; flex: none; color: var(--gold); }
.play span { display: grid; line-height: 1.15; text-align: left; font-size: 1.14rem; }
.play small { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.82; }
.btn.small { min-height: 46px; padding: 8px 20px; font-size: 0.95rem; }
.btn i, .burger + i { display: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--mint-2); transition: border-color 0.3s; }
.link-arrow:hover { border-color: var(--emerald-2); }
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* Nav: one floating glass pill */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1100px, 100% - 24px); display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.74); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 0 0 1px var(--line), 0 20px 40px -24px rgba(11, 42, 32, 0.3);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: 1.3rem; text-decoration: none; margin-right: auto; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 10px 14px; border-radius: 999px; font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; transition: background 0.25s, color 0.25s; }
.nav-links a:hover { background: var(--mint); color: var(--ink); }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--mint); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet {
  position: fixed; z-index: 49; top: 84px; left: 12px; right: 12px; display: grid; padding: 12px; border-radius: 28px;
  background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--lift);
  visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
}
.sheet a { padding: 14px 16px; border-radius: 16px; font-size: 1.1rem; font-weight: 550; text-decoration: none; }
.sheet a:hover { background: var(--mint); }
.menu-open .sheet { visibility: visible; opacity: 1; transform: none; }

/* Hero */
.hero { padding: clamp(130px, 15vw, 190px) 0 clamp(50px, 7vw, 90px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero h1 { margin: 22px 0 24px; font-size: clamp(2.5rem, 4.6vw, 4.1rem); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.proof li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); box-shadow: 0 0 0 1px var(--line); font-size: 0.93rem; font-weight: 550; }
.proof svg { width: 18px; height: 18px; color: var(--emerald-2); }
.scan { display: none; align-items: center; gap: 16px; margin-top: 30px; padding: 12px 22px 12px 12px; width: fit-content; border-radius: 24px; background: rgba(255, 255, 255, 0.8); box-shadow: 0 0 0 1px var(--line), var(--soft); }
.scan svg { width: 92px; height: 92px; border-radius: 12px; background: #fff; }
.scan b { display: block; font-size: 1rem; } .scan span { font-size: 0.93rem; color: var(--ink-soft); }
@media (min-width: 901px) and (hover: hover) { .scan { display: flex; } }

.stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.stage::before { content: ""; position: absolute; width: 118%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 203, 130, 0.45), rgba(227, 242, 232, 0.6) 62%, transparent); }
.stage::after { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(12, 59, 45, 0.16); box-shadow: 0 0 0 46px rgba(255, 255, 255, 0.22), 0 0 0 47px rgba(12, 59, 45, 0.08); }
.phone { position: relative; z-index: 1; padding: 8px; border-radius: 46px; background: linear-gradient(160deg, #1a5241, #082e22); box-shadow: 0 0 0 1px rgba(11, 42, 32, 0.08), 0 60px 90px -44px rgba(11, 42, 32, 0.6), 0 20px 40px -22px rgba(11, 42, 32, 0.3); }
.phone img { width: 100%; aspect-ratio: 600 / 1290; object-fit: cover; object-position: top; border-radius: 38px; background: var(--emerald); }
.stage .phone { width: min(300px, 70vw); }
.chip { position: absolute; z-index: 2; display: grid; padding: 12px 18px; border-radius: 20px; line-height: 1.3; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line), var(--lift); animation: float 7s ease-in-out infinite; }
.chip b { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: 1.25rem; } .chip span { font-size: 0.86rem; color: var(--ink-soft); }
.chip.c1 { left: -16%; top: 14%; } .chip.c2 { right: -14%; bottom: 18%; animation-delay: -3.5s; }
.mascot { position: absolute; z-index: 3; right: -2%; top: -2%; width: 108px; filter: drop-shadow(0 14px 18px rgba(11, 42, 32, 0.22)); animation: float 7s ease-in-out infinite -1.7s; pointer-events: none; }
.stage.playing .mascot { opacity: 0; transition: opacity 0.4s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* Marquee of everyday things */
.things { overflow: hidden; padding: 6px 0 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.things div { display: flex; gap: 14px; width: max-content; animation: slide 48s linear infinite; }
.things span { padding: 10px 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); box-shadow: 0 0 0 1px var(--line); font-size: 1.02rem; font-weight: 500; white-space: nowrap; color: var(--emerald-2); }
@keyframes slide { to { transform: translateX(calc(-50% - 7px)); } }

/* Sections */
.band { padding: clamp(80px, 11vw, 160px) 0; }
.intro { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 800px; }
.intro.center { margin-inline: auto; text-align: center; justify-items: center; }
.panel { border-radius: clamp(28px, 4vw, 48px); padding: clamp(40px, 6vw, 84px) clamp(20px, 5vw, 72px); }
.panel.night { color: #f6f1e4; background: radial-gradient(900px 500px at 85% -10%, rgba(12, 59, 45, 0.55), transparent 70%), linear-gradient(180deg, #0c3b2d, #082e22); box-shadow: var(--lift); }
.panel.night { --em: linear-gradient(100deg, #f5cb82, #e3f2e8); } .panel.night .lede, .panel.night figcaption { color: #b8cfc3; }
.panel.night .kicker { color: var(--mint-2); }
.panel.mint { background: linear-gradient(180deg, #e3f2e8, #fbf1e3); box-shadow: inset 0 0 0 1px rgba(12, 59, 45, 0.08); }

/* The small test: meet Ravi */
.meet { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: clamp(28px, 4vw, 44px); background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--soft); }
.face { width: clamp(110px, 16vw, 170px); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 8px #fff, 0 24px 40px -20px rgba(11, 42, 32, 0.4); }
.meet h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 10px 0 12px; }
.meet p { color: var(--ink-soft); max-width: 36em; }
.meet .stick { display: inline-block; margin-top: 16px; padding: 12px 18px; border-radius: 18px; background: var(--mint); color: var(--ink); font-size: 1rem; }
.meet .stick b { display: block; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald-2); }

/* Daily plan: the bar is cut to scale, one piece per step */
.bar { display: flex; gap: 6px; height: 18px; margin-bottom: 26px; }
.bar i { flex: var(--m) 1 0; border-radius: 999px; background: var(--c); transform-origin: left; }
.js .bar[data-rise] i { transform: scaleX(0); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i) * 0.14s); }
.js .bar[data-rise].in i { transform: none; }
.plan { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.plan li { padding: 24px 22px 26px; border-radius: 28px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--soft); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.plan li:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), var(--lift); }
.plan .m { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); font-weight: 750; letter-spacing: -0.04em; font-size: 2.8rem; line-height: 1; margin-bottom: 18px; }
.plan .m::before { content: ""; align-self: center; width: 12px; height: 12px; border-radius: 50%; background: var(--c); margin-right: 4px; }
.plan small { font-family: var(--sans); font-weight: 400; letter-spacing: 0; font-size: 0.85rem; color: var(--ink-soft); }
.plan p { margin-top: 8px; font-size: 0.97rem; line-height: 1.55; color: var(--ink-soft); }

/* Phones in a row */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 44px); justify-items: center; }
.trio figure { display: grid; gap: 22px; justify-items: center; text-align: center; }
.trio .phone { width: min(250px, 100%); }
.trio figure:nth-child(2) { margin-top: 44px; }
.trio figcaption { font-size: 1rem; color: var(--ink-soft); }
.trio figcaption b { display: block; font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: 1.2rem; color: inherit; }
.panel.night figcaption b { color: #f6f1e4; } .panel.mint figcaption b { color: var(--ink); }

/* Lessons */
.lessons { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.lesson-pic { position: sticky; top: 110px; }
.lesson-pic .core { position: relative; aspect-ratio: 4 / 4.4; border-radius: 40px; overflow: hidden; background: var(--mint); box-shadow: 0 0 0 8px #ffffff, 0 0 0 9px var(--line), var(--lift); }
.lesson-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 0.6s, transform 1.2s var(--ease); }
.lesson-pic img.on { opacity: 1; transform: none; }
.lesson-list { display: grid; gap: 8px; }
.lesson-list li { display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; padding: 18px 22px; border-radius: 24px; cursor: default; transition: background 0.35s, box-shadow 0.35s; }
.lesson-list li.on { background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--soft); }
.lesson-list .n { grid-row: span 2; font-family: var(--display); font-size: 1rem; padding-top: 3px; color: var(--emerald-2); opacity: 0.6; }
.lesson-list li.on .n { opacity: 1; }
.lesson-list p { font-size: 0.99rem; color: var(--ink-soft); }
.lesson-list .how { font-weight: 600; color: var(--emerald-2); }

/* Think */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split h2 { margin: 18px 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips span { padding: 8px 16px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 0.93rem; font-weight: 550; }
.small-note { margin-top: 20px; font-size: 0.97rem; color: var(--ink-soft); }
.puzzle { padding: clamp(24px, 3.5vw, 40px); border-radius: 36px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--lift); }
.tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--mint); font-size: 0.8rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--emerald-2); }
.puzzle .q { margin: 18px 0 20px; font-family: var(--display); letter-spacing: -0.02em; font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.35; }
.opts { display: grid; gap: 10px; }
.opts button { min-height: 58px; padding: 14px 20px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 1rem; text-align: left; cursor: pointer; transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease); }
.opts button:hover:not(:disabled) { border-color: var(--emerald-2); transform: translateX(4px); }
.opts button:disabled { cursor: default; color: var(--ink); }
.opts .right { background: #e3f2e8; border-color: var(--emerald-2); font-weight: 600; }
.opts .half { background: #fdebd9; border-color: #b8862b; }
.opts .miss { opacity: 0.55; }
.why, .answer { margin-top: 18px; padding: 16px 20px; border-radius: 18px; background: var(--mint); font-size: 1rem; }
.why span { display: block; margin-top: 8px; color: var(--ink-soft); }

/* Games */
.duo { display: flex; justify-content: center; }
.duo .phone { width: min(230px, 44%); }
.duo .phone:first-child { transform: rotate(-5deg) translate(14px, 14px); }
.duo .phone:last-child { transform: rotate(4deg) translate(-14px, -14px); }
.ticks { display: grid; gap: 16px; margin-top: 28px; }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.ticks svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--mint); color: var(--emerald-2); }
.ticks b { display: block; } .ticks span { color: var(--ink-soft); } .ticks b { color: var(--ink); }

/* Facts and cards */
.facts4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(36px, 5vw, 60px); }
.facts4 div { padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, 0.85); box-shadow: 0 0 0 1px var(--line); }
.facts4 p, .card2 p { margin-top: 6px; font-size: 0.97rem; color: var(--ink-soft); }
.cards { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.card2 { padding: clamp(24px, 3vw, 34px); border-radius: 32px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--soft); }
.card2 h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.03em; }
.card2.people { grid-row: span 2; background: linear-gradient(170deg, #ffffff, var(--peach)); }
.card2.wide { grid-column: span 2; }
.note { display: grid; gap: 2px; margin-top: 28px; padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: var(--soft); transform: rotate(-2deg); max-width: 300px; }
.note b { font-family: var(--display); font-weight: 700; font-size: 1.25rem; } .note span { font-size: 0.93rem; color: var(--ink-soft); }
.sizes { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; font-family: var(--display); color: var(--emerald-2); }
.sizes span:nth-child(1) { font-size: 1.2rem; } .sizes span:nth-child(2) { font-size: 1.8rem; } .sizes span:nth-child(3) { font-size: 2.6rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: center; max-width: 1020px; margin-inline: auto; }
.price-card { position: relative; display: grid; gap: 4px; padding: 34px 30px; border-radius: 32px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--soft); }
.price-card .price { margin-top: 14px; font-family: var(--display); font-weight: 750; letter-spacing: -0.04em; font-size: 3rem; line-height: 1.1; }
.price-card .per { font-size: 0.95rem; color: var(--ink-soft); }
.price-card p { margin-top: 14px; font-size: 0.98rem; color: var(--ink-soft); }
.price-card.best { padding-block: 46px; color: #f6f1e4; background: radial-gradient(500px 300px at 90% -10%, rgba(12, 59, 45, 0.6), transparent 70%), linear-gradient(180deg, #0f4433, #082e22); box-shadow: var(--lift); }
.price-card.best .per, .price-card.best p { color: #b8cfc3; }
.price-card.best .tag { background: rgba(255, 255, 255, 0.12); color: var(--mint-2); width: fit-content; }
.price-card .tag { width: fit-content; }
.badge { position: absolute; top: -14px; right: 26px; padding: 6px 16px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 0.86rem; font-weight: 700; box-shadow: 0 10px 20px -10px rgba(245, 203, 130, 0.9); }
.price-card .btn { margin-top: 22px; justify-content: center; background: var(--gold); color: var(--ink); box-shadow: 0 18px 34px -16px rgba(245, 203, 130, 0.7); }
.free-line { margin: 30px auto 0; max-width: 46em; text-align: center; font-size: 0.95rem; color: var(--ink-soft); }

/* The recall: who was this? */
.recall { display: grid; justify-items: center; text-align: center; gap: 18px; }
.recall .face { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.14), 0 30px 50px -20px rgba(0, 0, 0, 0.6); }
.recall .opts { grid-template-columns: repeat(4, 1fr); width: min(680px, 100%); margin-top: 10px; }
.recall .opts button { text-align: center; font-weight: 600; font-size: 1.1rem; }
.recall .opts .miss { opacity: 0.5; }
.recall .answer { max-width: 620px; background: rgba(255, 255, 255, 0.1); color: #f6f1e4; }
.recall .answer .play { margin-top: 16px; background: var(--gold); color: var(--ink); } .recall .answer .play svg { color: var(--emerald); }

/* Questions */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq h2 { margin-top: 18px; }
details { border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line); margin-bottom: 10px; transition: box-shadow 0.3s; }
details[open] { box-shadow: 0 0 0 1px var(--line), var(--soft); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.06rem; border-radius: 22px; }
summary::-webkit-details-marker { display: none; }
summary i { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--mint); transition: transform 0.4s var(--ease); }
summary i::before, summary i::after { content: ""; position: absolute; left: 10px; right: 10px; top: 15px; height: 2px; border-radius: 2px; background: var(--emerald-2); }
summary i::after { transform: rotate(90deg); }
details[open] summary i { transform: rotate(45deg); }
details p { padding: 0 22px 22px; color: var(--ink-soft); }

/* Closing */
.closing { text-align: center; display: grid; justify-items: center; gap: 20px; }
.closing .app-icon { border-radius: 22px; box-shadow: 0 24px 40px -16px rgba(0, 0, 0, 0.6); }
.closing .lede { color: #b8cfc3; }
.closing .play { background: var(--gold); color: var(--ink); box-shadow: 0 20px 40px -16px rgba(245, 203, 130, 0.6); } .closing .play svg { color: var(--emerald); }
.closing .scan { margin-top: 6px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); text-align: left; }
.closing .scan span { color: #b8cfc3; }

/* Footer */
footer { padding: 30px 0 110px; }
.foot { display: grid; grid-template-columns: 1fr repeat(3, auto); gap: 30px clamp(30px, 6vw, 90px); padding-top: 40px; border-top: 1px solid var(--line); } .foot > .brand { align-self: start; }
.foot h3 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald-2); margin-bottom: 10px; }
.foot nav { display: grid; align-content: start; }
.foot nav a { padding: 6px 0; font-size: 0.97rem; color: var(--ink-soft); text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.fine { margin-top: 36px; font-size: 0.88rem; color: var(--ink-soft); max-width: 60em; }

/* Phone-only install bar */
.install { display: none; }

/* Entry motion */
.js [data-rise] { opacity: 0; transform: translateY(22px); filter: blur(8px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-rise].in { opacity: 1; transform: none; filter: none; }
.js .bar[data-rise] { opacity: 1; transform: none; filter: none; }

@media (max-width: 1000px) {
  .nav-links { display: none; } .burger { display: block; }
  .plan { grid-template-columns: repeat(2, 1fr); } .plan li:first-child { grid-column: span 2; }
  .cards { grid-template-columns: 1fr 1fr; } .card2.people { grid-row: auto; grid-column: span 2; }
  .facts4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .lessons, .faq { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .stage { min-height: 0; padding: 40px 0 10px; }
  .stage .phone { width: min(290px, 78vw); }
  .chip.c1 { left: 0; top: -26px; } .chip.c2 { right: 0; }
  .mascot { width: 84px; right: 2%; top: 4px; }
  .lesson-pic { position: static; } .lesson-pic .core { aspect-ratio: 3 / 2; border-radius: 28px; }
  #games .duo { order: 2; }
  /* Phones become a swipe row; the page itself never scrolls sideways. */
  .trio { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * clamp(20px, 5vw, 72px)); padding: 10px clamp(20px, 5vw, 72px) 20px; justify-items: start; scrollbar-width: none; }
  .trio::-webkit-scrollbar { display: none; }
  .trio figure { flex: 0 0 230px; scroll-snap-align: center; } .trio figure:nth-child(2) { margin-top: 0; }
  .plans { grid-template-columns: 1fr; max-width: 460px; } .price-card.best { order: -1; }
  .foot { grid-template-columns: 1fr 1fr; } .foot > .brand { grid-column: span 2; }
  .install {
    position: fixed; z-index: 45; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 12px;
    padding: 8px 8px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 0 0 1px var(--line), 0 24px 44px -18px rgba(11, 42, 32, 0.5);
    transform: translateY(140%); transition: transform 0.5s var(--ease);
  }
  .install.show { transform: none; }
  .install img { border-radius: 10px; }
  .install div { display: grid; line-height: 1.25; margin-right: auto; min-width: 0; }
  .install b { font-size: 0.98rem; } .install span { font-size: 0.8rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .nav .btn.small { padding-inline: 16px; }
  .meet { grid-template-columns: 1fr; justify-items: start; }
  .plan { grid-template-columns: 1fr; } .plan li:first-child { grid-column: auto; }
  .plan li { display: grid; grid-template-columns: 84px 1fr; column-gap: 8px; padding: 20px; } .plan .m { grid-row: span 2; font-size: 2.3rem; margin: 0; align-self: start; }
  .cards, .facts4 { grid-template-columns: 1fr; } .card2.people, .card2.wide { grid-column: auto; }
  .recall .opts { grid-template-columns: 1fr 1fr; }
  .chip { padding: 9px 14px; } .chip b { font-size: 1.1rem; }
  .hero-cta .play { width: 100%; justify-content: center; }
  .foot { grid-template-columns: 1fr; } .foot > .brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-rise], .js .bar[data-rise] i { opacity: 1; transform: none; filter: none; }
  .things div { flex-wrap: wrap; justify-content: center; width: auto; } .things span:nth-child(n + 8) { display: none; }
}
@media (max-width: 560px) { .stage { margin-top: 44px; } }

/* ---- Touch and motion: small, slow, soft ---- */
/* Paper grain over everything, so flat colour feels like a surface. */
body::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.stage::before { animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); opacity: 0.85; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } }

/* Reading progress along the bottom of the nav pill. */
.nav { overflow: hidden; }
@supports (animation-timeline: scroll()) {
  .nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--mint-2), var(--gold)); transform-origin: left; transform: scaleX(0); animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* Buttons: a slow sheen on hover. */
.play, .btn { position: relative; overflow: hidden; }
.play::after, .btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0.9s var(--ease); pointer-events: none; }
.play:hover::after, .btn:hover::after { transform: translateX(120%); }
.play svg { transition: transform 0.4s var(--ease); } .play:hover svg { transform: translateX(2px) scale(1.1); }

/* Cards: a soft light follows the pointer (home.js sets --mx and --my). */
:is(.plan li, .card2, .puzzle, .meet, .facts4 div) { position: relative; }
:is(.plan li, .card2, .price-card, .puzzle, .meet, .facts4 div)::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.6s; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), var(--glow, rgba(245, 203, 130, 0.24)), transparent 70%); }
:is(.plan li, .card2, .price-card, .puzzle, .meet, .facts4 div):hover::after { opacity: 1; }
.price-card.best { --glow: rgba(255, 255, 255, 0.12); }
.card2, .price-card, .facts4 div { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.card2:hover, .price-card:hover, .facts4 div:hover { transform: translateY(-4px); }
.opts button:active:not(:disabled) { transform: scale(0.985); }
.why:not([hidden]), .answer:not([hidden]) { animation: pop 0.5s var(--ease); }
.things:hover div { animation-play-state: paused; }
.lesson-list li:hover .n { opacity: 1; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details::details-content { height: 0; overflow: clip; transition: height 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
  details[open]::details-content { height: auto; }
}

/* Hero phone: leans toward the pointer, and holds a round you can play. */
.stage { perspective: 1400px; }
.stage .phone { transition: transform 0.7s var(--ease); will-change: transform; }
.chip { transition: opacity 0.4s; pointer-events: none; } .stage.playing .chip { opacity: 0; }
.screen { position: relative; border-radius: 38px; overflow: hidden; background: var(--emerald); }
.try { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 16px 12px 12px; border: 0; border-radius: 26px; cursor: pointer; font: inherit; text-align: left; color: var(--ink); background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 44px -16px rgba(0, 0, 0, 0.65); transition: transform 0.4s var(--ease); }
.try:hover { transform: translateY(-3px) scale(1.015); } .try:active { transform: scale(0.98); }
.try i { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); }
.try i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(245, 203, 130, 0.7); animation: ping 2.4s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 16px rgba(245, 203, 130, 0); } }
.try svg { width: 18px; height: 18px; color: var(--emerald); margin-left: 2px; }
.try b { display: block; font-size: 0.98rem; line-height: 1.25; } .try small { font-size: 0.8rem; color: var(--ink-soft); }
.game { position: absolute; inset: 0; display: grid; grid-template-rows: auto auto 1fr; gap: 14px; padding: 30px 18px 20px; color: #f6f1e4; background: radial-gradient(400px 260px at 90% -10%, rgba(12, 59, 45, 0.55), transparent 70%), linear-gradient(180deg, #0c3b2d, #082e22); animation: pop 0.5s var(--ease); }
.game[hidden], .grid[hidden], .g-end[hidden], .try[hidden] { display: none; }
.game :focus-visible { outline-color: var(--gold); }
.g-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.dots { display: flex; gap: 5px; } .dots i { width: 18px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); transition: background 0.4s; } .dots i.on { background: var(--gold); }
.g-say { display: grid; place-items: center; min-height: 2.7em; font-family: var(--display); font-size: 1.12rem; letter-spacing: -0.02em; line-height: 1.3; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-self: center; }
.grid button { aspect-ratio: 1; padding: 0; border: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); cursor: pointer; transition: background 0.3s, transform 0.3s var(--ease), box-shadow 0.3s; }
.grid button:disabled { cursor: default; }
.grid button:not(:disabled):hover { background: rgba(255, 255, 255, 0.2); } .grid button:not(:disabled):active { transform: scale(0.92); }
.grid .lit, .grid .hit { background: var(--gold); box-shadow: 0 0 26px rgba(245, 203, 130, 0.55); transform: scale(1.04); }
.grid .hit { animation: bump 0.45s var(--ease); }
.grid .miss { background: rgba(242, 169, 138, 0.55); animation: shake 0.35s; }
.grid .was { box-shadow: inset 0 0 0 2px var(--gold); }
@keyframes bump { 40% { transform: scale(1.16); } }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.g-end { align-self: center; display: grid; justify-items: center; gap: 12px; text-align: center; animation: pop 0.6s var(--ease); }
.g-score { font-size: 0.95rem; color: #b8cfc3; } .g-score b { display: block; font-family: var(--display); font-weight: 750; letter-spacing: -0.04em; font-size: 4.4rem; line-height: 1; color: var(--gold); }
.g-end p { font-size: 0.95rem; line-height: 1.45; color: #e3f2e8; }
.g-end .play { min-height: 54px; padding: 8px 20px 8px 16px; background: var(--gold); color: var(--ink); box-shadow: 0 18px 34px -16px rgba(245, 203, 130, 0.7); }
.g-end .play svg { width: 22px; height: 22px; color: var(--emerald); } .g-end .play span { font-size: 1rem; }
.again { min-height: 44px; border: 0; background: none; color: #b8cfc3; font: inherit; font-size: 0.9rem; text-decoration: underline; cursor: pointer; }
