/* home.css - the Dec 1, 2026 home page redesign (Chris: "make this thing pop"). Loaded last on the home
   page only. Same brand: the Ejuu logo, Sora + Nunito Sans, brand blue #3458f5, ink #182244, yellow #f5d94f.
   Motion runs only while the page's own motion setting is on (Pause animations button, reduce-motion). */

body.home-v2 {
  --hx-blue: #3458f5; --hx-blue-2: #2742d9; --hx-blue-3: #1a2aa6; --hx-ink: #182244; --hx-yellow: #f5d94f;
  --hx-yellow-2: #ffc93c; --hx-page: #f5f7ff; --hx-mint: #2fbf71; --hx-display: 'Sora', 'Nunito Sans', system-ui, sans-serif;
  --hx-read: 'Nunito Sans', system-ui, sans-serif;
  background: var(--hx-page);
  color: var(--hx-ink);
  overflow-x: hidden;
}
body.home-v2 .site-header { position: relative; z-index: 6; }
body.home-v2 h1, body.home-v2 h2, body.home-v2 h3 { font-family: var(--hx-display); }
body.home-v2 main { overflow-x: clip; }

/* ---------- shared bits ---------- */
.home-v2 .kick {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font: 800 12.5px/1 var(--hx-read); letter-spacing: .14em; text-transform: uppercase; color: var(--hx-blue);
}
.home-v2 .kick:before { content: ''; width: 18px; height: 3px; border-radius: 3px; background: currentColor; }
.home-v2 .kick-light { color: #9db4ff; }
.home-v2 .kick-yellow { color: #b07c00; }
.home-v2 .sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.home-v2 .sec-head h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 14px; }
.home-v2 .sec-head p { font-size: 18px; line-height: 1.6; color: #58627e; margin: 0; }

/* ---------- 1. HERO ---------- */
.hx {
  position: relative; isolation: isolate; color: #fff;
  margin-top: -122px; padding: 150px 0 120px;
  background:
    radial-gradient(900px 520px at 12% 8%, #6d8bff 0%, transparent 62%),
    radial-gradient(800px 600px at 92% 95%, #1b28a3 0%, transparent 60%),
    linear-gradient(165deg, #3e63ff 0%, var(--hx-blue) 38%, var(--hx-blue-2) 70%, var(--hx-blue-3) 100%);
}
.hx-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hx-glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hx-glow-a { width: 520px; height: 520px; right: -120px; top: 40px; background: radial-gradient(circle, #8fd3ff 0%, transparent 70%); }
.hx-glow-b { width: 420px; height: 420px; left: -140px; bottom: -80px; background: radial-gradient(circle, #f5d94f66 0%, transparent 70%); }
.hx-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(#ffffff2e 1.2px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 68%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 68%);
}
.hx-confetti { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.hx-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 14px 8px 10px;
  border-radius: 999px; background: #ffffff1f; border: 1px solid #ffffff38; backdrop-filter: blur(8px);
  font: 700 14px/1.2 var(--hx-read); color: #eef2ff;
}
.hx-kicker-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hx-yellow); box-shadow: 0 0 0 4px #f5d94f40; }
.hx-title {
  font-size: clamp(54px, 7.4vw, 104px); line-height: .98; letter-spacing: -.055em; font-weight: 800;
  margin: 0 0 22px; color: #fff; text-shadow: 0 10px 40px #0b16662e;
}
.hx-title span { display: inline-block; }
.hx-earn {
  background: linear-gradient(180deg, #fff6c4 0%, var(--hx-yellow) 55%, var(--hx-yellow-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hx-play { position: relative; }
.hx-play:after {
  content: ''; position: absolute; left: -2%; right: 6%; bottom: -.02em; height: .16em; border-radius: 99px;
  background: var(--hx-yellow); transform: rotate(-2.5deg); z-index: -1; box-shadow: 0 6px 18px #f5d94f55;
}
.hx-lede { font: 500 19px/1.6 var(--hx-read); color: #dfe6ff; max-width: 520px; margin: 0 0 26px; }
.hx-lede strong { color: #fff; font-weight: 800; }

.hx-steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 540px; }
.hx-steps li {
  position: relative; padding: 14px 12px 13px 14px; border-radius: 18px;
  background: linear-gradient(160deg, #ffffff2b, #ffffff12); border: 1px solid #ffffff3d;
  box-shadow: inset 0 1px 0 #ffffff40, 0 10px 30px #0a145522; backdrop-filter: blur(10px);
}
.hx-steps li + li:before {
  content: ''; position: absolute; left: -9px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-top: 2px solid #ffffff99; border-right: 2px solid #ffffff99; transform: rotate(45deg);
}
.hx-steps b { display: block; font: 800 18px/1.15 var(--hx-display); color: #fff; letter-spacing: -.02em; }
.hx-steps li:nth-child(2) b { color: var(--hx-yellow); }
.hx-steps span { display: block; margin-top: 4px; font: 600 13px/1.3 var(--hx-read); color: #d6deff; }

.hx-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.home-v2 .hx-cta {
  position: relative; overflow: hidden; gap: 12px; min-height: 64px; padding: 20px 30px;
  border-radius: 18px; font: 800 19px/1 var(--hx-display); letter-spacing: -.01em;
  color: var(--hx-ink); background: linear-gradient(180deg, #ffe27a 0%, var(--hx-yellow) 45%, var(--hx-yellow-2) 100%);
  box-shadow: 0 2px 0 #fff8 inset, 0 -3px 0 #d9a51f inset, 0 18px 40px #0b166655, 0 0 0 6px #ffffff1c;
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-v2 .hx-cta:hover { transform: translateY(-2px); box-shadow: 0 2px 0 #fff8 inset, 0 -3px 0 #d9a51f inset, 0 24px 50px #0b166666, 0 0 0 8px #ffffff26; }
.home-v2 .hx-cta:after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, #ffffffa0, transparent); transform: skewX(-20deg);
}
:root[data-motion="on"] .home-v2 .hx-cta:after { animation: hx-shine 4.5s ease-in-out 1.2s infinite; }
@keyframes hx-shine { 0%, 70% { left: -60%; } 100% { left: 140%; } }
.hx-cta-arrow { transition: transform .2s; }
.hx-cta:hover .hx-cta-arrow { transform: translateX(4px); }
.home-v2 .hx-price { margin: 0; max-width: 270px; font: 600 14px/1.45 var(--hx-read); color: #dfe6ff; }
.hx-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.hx-trust li {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
  background: #0b166630; border: 1px solid #ffffff2e; font: 700 13px/1 var(--hx-read); color: #f1f4ff;
}
.hx-trust li:before { content: '\2713'; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--hx-mint); color: #fff; font-size: 11px; }

/* the device */
.hx-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.hx-ring {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: conic-gradient(from 200deg, #ffffff00, #ffffff30, #f5d94f55, #ffffff00 70%);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 64%, transparent 65%);
  mask: radial-gradient(circle, transparent 62%, #000 63%, #000 64%, transparent 65%);
  opacity: .8;
}
:root[data-motion="on"] .hx-ring { animation: hx-spin 22s linear infinite; }
@keyframes hx-spin { to { transform: rotate(360deg); } }
.hx-device {
  position: relative; z-index: 2; padding: 14px; border-radius: 40px;
  background: linear-gradient(150deg, #2b3157 0%, #0e1330 60%, #1d2246 100%);
  box-shadow: 0 0 0 2px #ffffff22, 0 40px 80px #06104a80, 0 12px 24px #06104a55, inset 0 1px 0 #ffffff30;
  transform: rotate(-3deg);
}
.hx-cam { position: absolute; top: 5px; left: 50%; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: #3a4170; }
.home-v2 .hx-video {
  display: block; height: 470px; width: auto; aspect-ratio: 432 / 632; max-width: none;
  border-radius: 28px; background: #2a2017; object-fit: cover; box-shadow: none;
}
.hx-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 16px; font: 800 15px/1 var(--hx-display); letter-spacing: -.01em;
  box-shadow: 0 16px 36px #06104a55;
}
.hx-chip-right { left: -4%; top: 22%; background: #fff; color: var(--hx-ink); }
.hx-tick { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--hx-mint); color: #fff; font-size: 13px; }
.hx-chip-time { right: -2%; bottom: 24%; background: var(--hx-yellow); color: var(--hx-ink); transform: rotate(4deg); }
.hx-bubble {
  position: absolute; z-index: 1; width: 74px; height: 74px; padding: 6px; border-radius: 22px;
  background: #fff; box-shadow: 0 18px 36px #06104a50;
}
.hx-bubble img { width: 100%; height: 100%; border-radius: 16px; display: block; object-fit: cover; }
.hx-bubble-math { right: 4%; top: 6%; transform: rotate(9deg); }
.hx-bubble-spell { left: 2%; bottom: 10%; transform: rotate(-10deg); }
.hx-bubble-gram { right: 10%; bottom: 3%; width: 58px; height: 58px; border-radius: 18px; transform: rotate(-6deg); }
:root[data-motion="on"] .hx-chip-right { animation: hx-bob 5.5s ease-in-out infinite; }
:root[data-motion="on"] .hx-chip-time { animation: hx-bob2 6.5s ease-in-out .6s infinite; }
:root[data-motion="on"] .hx-bubble-math { animation: hx-bob3 7s ease-in-out infinite; }
:root[data-motion="on"] .hx-bubble-spell { animation: hx-bob3 8s ease-in-out 1s infinite reverse; }
:root[data-motion="on"] .hx-bubble-gram { animation: hx-bob 6s ease-in-out 1.6s infinite; }
@keyframes hx-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes hx-bob2 { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }
@keyframes hx-bob3 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.hx-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; color: var(--hx-page); }

/* ---------- 2. GET IT (store badges) ---------- */
.get { position: relative; z-index: 4; margin-top: -64px; }
.get-card {
  display: flex; align-items: center; justify-content: space-between; gap: 22px 40px; flex-wrap: wrap;
  padding: 26px 32px; border-radius: 26px; background: #fff;
  box-shadow: 0 1px 0 #fff inset, 0 24px 60px #1d3dc01f, 0 4px 10px #1822440d; border: 1px solid #e6eaf7;
}
.get-title { margin: 0 0 4px; font: 800 19px/1.3 var(--hx-display); letter-spacing: -.02em; }
.get-note { margin: 0; font: 500 14px/1.5 var(--hx-read); color: #66708c; max-width: 420px; }
.home-v2 .get .hero-stores { margin: 0; padding: 0; border: 0; max-width: none; }
.home-v2 .get .store-badges-hero .store-badge img { height: 46px; transition: transform .2s; }
.home-v2 .get .store-badge:hover img { transform: translateY(-2px); }

/* ---------- 3. FACTS ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.fact {
  position: relative; padding: 26px 22px 24px; border-radius: 24px; background: #fff; overflow: hidden;
  border: 1px solid #e6eaf7; box-shadow: 0 10px 30px #1d3dc00d;
}
.fact:after { content: ''; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: #3458f50f; }
.fact b { display: block; font: 800 44px/1 var(--hx-display); letter-spacing: -.05em; color: var(--hx-blue); margin-bottom: 10px; }
.fact b span { color: #9db0ff; }
.fact b .fact-plus { color: var(--hx-yellow-2); }
.fact:nth-child(3) b { color: var(--hx-ink); }
.fact > span { display: block; font: 600 15px/1.45 var(--hx-read); color: #58627e; }

/* ---------- 4. WHY ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; padding: 110px 0 60px; }
.why-art { position: relative; height: 430px; }
.why-tile {
  position: absolute; width: 170px; height: 170px; padding: 10px; border-radius: 34px; background: #fff;
  box-shadow: 0 30px 60px #1d3dc022, 0 4px 10px #18224412;
}
.why-tile img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; display: block; }
.why-tile-a { left: 4%; top: 2%; transform: rotate(-8deg); }
.why-tile-b { right: 6%; top: 10%; transform: rotate(7deg); }
.why-tile-c { left: 14%; bottom: 0; transform: rotate(5deg); }
.why-tile-d { right: 0; bottom: 8%; transform: rotate(-6deg); }
.why-badge {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; padding: 18px 22px;
  border-radius: 22px; background: var(--hx-ink); color: #fff; text-align: center;
  font: 800 19px/1.2 var(--hx-display); letter-spacing: -.02em; box-shadow: 0 24px 50px #18224455; rotate: -3deg;
}
.why-copy h2 { font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 20px; }
.why-copy p { font: 500 18px/1.7 var(--hx-read); color: #4d5774; margin: 0 0 16px; max-width: 560px; }
.why-turn { padding-left: 18px; border-left: 4px solid var(--hx-yellow); }
.why-turn strong { color: var(--hx-ink); }

/* ---------- 5. HOW ---------- */
.how { padding: 90px 0 100px; background: linear-gradient(180deg, transparent, #e9eeff 22%, #e9eeff 78%, transparent); }
.how-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-grid:before {
  content: ''; position: absolute; left: 12%; right: 12%; top: 46px; height: 0; border-top: 3px dashed #b7c6ff; z-index: 0;
}
.how-card {
  position: relative; z-index: 1; padding: 30px 28px 30px; border-radius: 28px; background: #fff;
  border: 1px solid #e3e8f8; box-shadow: 0 20px 50px #1d3dc014; transition: transform .25s ease, box-shadow .25s ease;
}
.how-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px #1d3dc022; }
.how-num {
  position: absolute; top: -14px; right: 22px; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 14px; font: 800 20px/1 var(--hx-display); color: #fff;
  background: linear-gradient(150deg, #5b7bff, var(--hx-blue-2)); box-shadow: 0 10px 22px #3458f566;
}
.how-b .how-num { background: linear-gradient(150deg, #ffe27a, var(--hx-yellow-2)); color: var(--hx-ink); box-shadow: 0 10px 22px #f5b93c66; }
.how-c .how-num { background: linear-gradient(150deg, #4fd88f, #1fa35c); box-shadow: 0 10px 22px #2fbf7166; }
.how-ic { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; display: block; margin-bottom: 20px; box-shadow: 0 10px 22px #1d3dc022; }
.how-card h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.03em; margin: 0 0 10px; }
.how-card p { font: 500 16px/1.65 var(--hx-read); color: #58627e; margin: 0; }

/* ---------- 6. TRY THE DEMO ---------- */
.try {
  position: relative; isolation: isolate; color: #fff; padding: 110px 0;
  background:
    radial-gradient(700px 400px at 85% 20%, #3458f566, transparent 70%),
    radial-gradient(600px 400px at 10% 90%, #f5d94f22, transparent 70%),
    linear-gradient(160deg, #1b244d, #121936 60%, #0d1330);
}
.try:before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(#ffffff14 1px, transparent 1.2px); background-size: 24px 24px;
}
.try-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.try-copy h2 { color: #fff; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.045em; margin: 0 0 18px; }
.try-copy p { font: 500 18px/1.65 var(--hx-read); color: #c5cdea; margin: 0 0 14px; }
.home-v2 .try-copy .try-note { font-size: 14px; color: #8f9ac0; }
.home-v2 .try .demo-stage { margin: 0; justify-self: center; width: 100%; max-width: 560px; transform: rotate(1.2deg); box-shadow: 0 40px 90px #00000066, 0 0 0 1px #ffffff1a; }

/* ---------- 7. A DAY AT HOME ---------- */
.day { padding: 110px 0 70px; }
.day-line { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; position: relative; }
.day-line:before { content: ''; position: absolute; left: 66px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(#3458f5, #f5d94f, #2fbf71); }
.day-line li { position: relative; display: grid; grid-template-columns: 134px 1fr; gap: 26px; padding: 0 0 34px; }
.day-time {
  position: relative; z-index: 1; justify-self: start; align-self: start; padding: 10px 14px; border-radius: 14px;
  font: 800 15px/1 var(--hx-display); color: #fff; background: var(--hx-ink); box-shadow: 0 10px 24px #18224433;
}
.day-line li:nth-child(2) .day-time { background: var(--hx-yellow); color: var(--hx-ink); }
.day-line li:nth-child(3) .day-time { background: var(--hx-mint); }
.day-line li > div { padding: 22px 26px; border-radius: 24px; background: #fff; border: 1px solid #e6eaf7; box-shadow: 0 14px 40px #1d3dc00f; }
.day-line h3 { font-size: 22px; letter-spacing: -.03em; margin: 0 0 6px; }
.day-line p { font: 500 16px/1.65 var(--hx-read); color: #58627e; margin: 0; }

/* ---------- 8. FOR PARENTS ---------- */
.pp { padding: 100px 0; background: linear-gradient(180deg, #fff8dc, #fff1bf); position: relative; overflow: hidden; }
.pp:before { content: ''; position: absolute; right: -160px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: #ffffff80; }
.pp-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.pp-copy h2 { font-size: clamp(38px, 5vw, 58px); line-height: 1.04; letter-spacing: -.045em; margin: 0 0 18px; }
.pp-copy p { font: 500 18px/1.7 var(--hx-read); color: #5a5640; margin: 0 0 18px; max-width: 520px; }
.home-v2 .pp-quote { font: 800 22px/1.35 var(--hx-display); color: var(--hx-ink); letter-spacing: -.02em; padding: 18px 22px; border-radius: 20px; background: #fff; box-shadow: 0 14px 34px #b07c001f; }
.pp-link { font-weight: 800; }
.pp-cards { display: grid; gap: 16px; }
.pp-cards article {
  display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 22px 24px; border-radius: 24px;
  background: #fff; box-shadow: 0 16px 40px #b07c001a; border: 1px solid #f3e2a6; transition: transform .25s;
}
.pp-cards article:hover { transform: translateX(6px); }
.pp-ic { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; font-size: 26px; background: #eef2ff; }
.pp-cards h3 { font-size: 20px; letter-spacing: -.02em; margin: 2px 0 6px; }
.pp-cards p { font: 500 15.5px/1.6 var(--hx-read); color: #5d6680; margin: 0; }

/* ---------- 9. SETUP ---------- */
.setup { padding: 100px 0 60px; }
.setup-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.setup-side h2 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -.04em; margin: 0 0 16px; }
.setup-side p { font: 500 18px/1.65 var(--hx-read); color: #58627e; margin: 0 0 24px; }
.home-v2 .setup-go { border-radius: 16px; min-height: 58px; padding: 18px 26px; box-shadow: 0 16px 34px #3458f544; }
.home-v2 .setup .setup-box { margin: 0; border-radius: 28px; box-shadow: 0 24px 60px #1d3dc018; border: 1px solid #e3e8f8; background: #fff; }

/* ---------- 10. GUIDES ---------- */
.gd { padding: 90px 0 40px; }
.gd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gd-card {
  position: relative; display: block; padding: 24px 24px 54px; border-radius: 24px; background: #fff; color: inherit;
  text-decoration: none; border: 1px solid #e6eaf7; box-shadow: 0 10px 30px #1d3dc00d; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.gd-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px #1d3dc01f; border-color: #c9d4ff; }
.gd-tag { display: inline-block; margin-bottom: 14px; padding: 6px 10px; border-radius: 999px; font: 800 11.5px/1 var(--hx-read); letter-spacing: .06em; text-transform: uppercase; color: var(--hx-blue); background: #eef2ff; }
.gd-card h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 8px; }
.gd-card p { font: 500 15px/1.6 var(--hx-read); color: #66708c; margin: 0; }
.gd-go { position: absolute; left: 24px; bottom: 20px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--hx-ink); color: #fff; font-weight: 800; transition: transform .25s, background .25s; }
.gd-card:hover .gd-go { transform: translateX(4px); background: var(--hx-blue); }
.gd-all { text-align: center; margin-top: 28px; }

/* ---------- 11. FAQ (existing markup) ---------- */
.home-v2 .faq-section { padding: 90px 0 40px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.home-v2 .faq-section > div:first-child h2 { font-size: clamp(36px, 4.6vw, 54px); letter-spacing: -.045em; line-height: 1.05; margin: 8px 0 12px; }
.home-v2 .faq-section .eyebrow { color: var(--hx-blue); letter-spacing: .14em; font-weight: 800; }
.home-v2 .faqs { display: grid; gap: 12px; }
.home-v2 .faqs details { border-radius: 20px; background: #fff; border: 1px solid #e6eaf7; padding: 4px 22px; box-shadow: 0 8px 24px #1d3dc00a; transition: box-shadow .25s; }
.home-v2 .faqs details[open] { box-shadow: 0 18px 40px #1d3dc01a; border-color: #c9d4ff; }
.home-v2 .faqs summary { font: 800 17px/1.4 var(--hx-display); letter-spacing: -.01em; padding: 16px 0; }

/* ---------- 12. CLOSING ---------- */
body.home-v2 .cl { display: block; max-width: none; margin: 80px 0 0; padding: 0 0 40px; background: none; border: 0; box-shadow: none; }
.cl-inner {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
  padding: 80px 32px 70px; border-radius: 40px;
  background:
    radial-gradient(600px 360px at 20% 0%, #7b95ff, transparent 70%),
    radial-gradient(600px 360px at 90% 100%, #1b28a3, transparent 70%),
    linear-gradient(160deg, #3e63ff, var(--hx-blue-2));
  box-shadow: 0 40px 90px #3458f540;
}
.cl-inner:before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(#ffffff26 1.2px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); mask-image: radial-gradient(ellipse at center, #000, transparent 70%); }
.cl-logo { width: 190px; height: auto; display: inline-block; padding: 14px 22px; border-radius: 22px; background: #fff; box-shadow: 0 16px 34px #0b166640; margin-bottom: 26px; }
.home-v2 .cl h2 { color: #fff; font-size: clamp(40px, 6vw, 76px); line-height: 1; letter-spacing: -.055em; margin: 0 0 14px; }
.home-v2 .cl-inner > p { font: 600 20px/1.5 var(--hx-read); color: #dfe6ff; margin: 0 0 30px; }
.home-v2 .cl-cta {
  min-height: 64px; padding: 20px 32px; border-radius: 18px; gap: 12px; font: 800 19px/1 var(--hx-display); color: var(--hx-ink);
  background: linear-gradient(180deg, #ffe27a, var(--hx-yellow) 45%, var(--hx-yellow-2));
  box-shadow: 0 2px 0 #fff8 inset, 0 -3px 0 #d9a51f inset, 0 18px 40px #0b166655;
}
.home-v2 .cl-inner .cl-note { font: 500 13px/1.6 var(--hx-read); color: #c4cffb; max-width: 560px; margin: 22px auto 0; }

/* ---------- reveal on scroll (motion.js marks .section-heading) ---------- */

/* ---------- TABLET ---------- */
@media (max-width: 1100px) {
  .hx-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .home-v2 .hx-video { height: 420px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .gd-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- PHONE ---------- */
@media (max-width: 800px) {
  .hx { margin-top: -96px; padding: 104px 0 70px; }
  .hx-inner { grid-template-columns: 1fr; gap: 0; text-align: center; }
  .hx-copy { display: contents; }
  .hx-kicker, .hx-lede { display: none; }
  .hx-title { order: 1; font-size: clamp(42px, 12vw, 56px); margin: 0 0 14px; }
  .hx-steps { order: 2; margin: 0 auto 6px; gap: 6px; width: 100%; }
  .hx-steps li { padding: 9px 6px 8px; border-radius: 14px; text-align: center; }
  .hx-steps li + li:before { display: none; }
  .hx-steps b { font-size: 15px; }
  .hx-steps span { font-size: 11.5px; margin-top: 2px; }
  .hx-stage { order: 3; min-height: 0; padding: 16px 0 18px; }
  .hx-ring { width: 300px; height: 300px; }
  .hx-device { padding: 9px; border-radius: 30px; transform: rotate(-2deg); }
  .home-v2 .hx-video { height: 250px; border-radius: 22px; }
  .hx-chip { padding: 8px 11px; font-size: 12.5px; border-radius: 12px; }
  .hx-tick { width: 19px; height: 19px; font-size: 11px; }
  .hx-chip-right { left: 2%; top: 30%; }
  .hx-chip-time { right: 2%; bottom: 22%; }
  .hx-bubble { width: 52px; height: 52px; padding: 4px; border-radius: 16px; }
  .hx-bubble img { border-radius: 12px; }
  .hx-bubble-math { right: 6%; top: 4%; }
  .hx-bubble-spell { left: 6%; bottom: 4%; }
  .hx-bubble-gram { display: none; }
  .hx-cta-row { order: 4; flex-direction: column; gap: 8px; }
  .home-v2 .hx-cta { width: 100%; min-height: 60px; font-size: 18px; justify-content: center; }
  .home-v2 .hx-price { max-width: none; font-size: 12.5px; }
  .hx-trust { order: 5; justify-content: center; margin-top: 12px; gap: 6px; }
  .hx-trust li { padding: 6px 9px; font-size: 11.5px; gap: 5px; }
  .hx-trust li:before { width: 15px; height: 15px; font-size: 10px; }
  .hx-wave { height: 50px; }

  .get { margin-top: -34px; }
  .get-card { padding: 20px; border-radius: 22px; flex-direction: column; align-items: flex-start; }
  .home-v2 .get .store-badges-hero .store-badge img { height: 40px; }
  .facts { margin-top: 34px; gap: 10px; }
  .fact { padding: 18px 16px; border-radius: 20px; }
  .fact b { font-size: 32px; }
  .fact > span { font-size: 13.5px; }

  .why { grid-template-columns: 1fr; gap: 30px; padding: 70px 0 30px; }
  .why-art { height: 300px; max-width: 360px; width: 100%; margin: 0 auto; }
  .why-tile { width: 120px; height: 120px; border-radius: 26px; padding: 7px; }
  .why-tile img { border-radius: 20px; }
  .why-badge { font-size: 16px; padding: 14px 16px; }
  .why-copy p { font-size: 17px; }

  .how { padding: 60px 0 70px; }
  .how-grid { grid-template-columns: 1fr; gap: 26px; }
  .how-grid:before { display: none; }

  .try { padding: 70px 0; }
  .try-inner { grid-template-columns: 1fr; gap: 34px; }
  .home-v2 .try .demo-stage { transform: none; }

  .day { padding: 70px 0 40px; }
  .day-line:before { left: 18px; }
  .day-line li { grid-template-columns: 1fr; gap: 10px; padding-left: 40px; }
  .day-line li > div { padding: 18px 18px; }

  .pp { padding: 70px 0; }
  .pp-inner { grid-template-columns: 1fr; gap: 30px; }
  .pp-cards article { grid-template-columns: 46px 1fr; padding: 18px; column-gap: 14px; }
  .pp-ic { width: 46px; height: 46px; font-size: 22px; border-radius: 14px; }

  .setup { padding: 70px 0 30px; }
  .setup-wrap { grid-template-columns: 1fr; gap: 26px; }
  .gd { padding: 60px 0 20px; }
  .gd-grid { grid-template-columns: 1fr; }
  .home-v2 .faq-section { grid-template-columns: 1fr; gap: 20px; padding: 60px 0 20px; }
  body.home-v2 .cl { margin-top: 50px; }
  .cl-inner { padding: 56px 22px 50px; border-radius: 30px; }
  .cl-logo { width: 150px; }
  .home-v2 .cl-cta { width: 100%; justify-content: center; }
}

/* Short phones (iPhone SE): keep the button and price on screen one. */
@media (max-width: 800px) and (max-height: 760px) {
  .hx-title { font-size: 40px; margin-bottom: 10px; }
  .home-v2 .hx-video { height: 196px; }
  .hx-stage { padding: 12px 0 14px; }
  .hx-ring { width: 240px; height: 240px; }
  .hx-steps span { font-size: 11px; }
  .home-v2 .hx-cta { min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-v2 *, .home-v2 *:before, .home-v2 *:after { animation: none !important; transition: none !important; }
}

/* fixes after the first look */
body.home-v2 .site-header { background: #fffffff5; box-shadow: 0 14px 40px #0b166633; border-color: #ffffff; }
@media (max-width: 800px) { .hx-confetti { display: none; } }
/* the old .section-heading grid (styles.css) must not lay out the new headings */
body.home-v2 .section-heading { display: block; max-width: none; column-gap: 0; }
body.home-v2 .sec-head.section-heading { max-width: 640px; }
body.home-v2 .section-heading h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.045em; margin: 0 0 16px; }
body.home-v2 .section-heading > p:not(.kick) { font: 500 18px/1.65 var(--hx-read); color: #58627e; max-width: 560px; margin: 0 0 16px; }
body.home-v2 .sec-head.section-heading > p:not(.kick) { margin: 0 auto; }
body.home-v2 .pp-copy.section-heading > p:not(.kick):not(.pp-quote) { color: #5a5640; }
body.home-v2 .why-copy.section-heading .why-turn { color: #4d5774; }
/* the demo keeps its own dark-on-light text inside the dark section */
body.home-v2 .try .demo-stage .tablet { color: var(--hx-ink); }
body.home-v2 .try .demo-stage .tablet h2 { font-family: inherit; font-size: 18px; letter-spacing: 0; color: var(--hx-ink); }
/* FAQ heading in ink */
body.home-v2 .faq-section h2, body.home-v2 .faq-section > div:first-child p { color: var(--hx-ink); }
body.home-v2 .faq-section > div:first-child p:last-child { color: #58627e; }
.fact b .fact-to { font-size: .42em; letter-spacing: 0; margin: 0 .25em; vertical-align: .55em; color: #9db0ff; }
.home-v2 .cl-cta, .home-v2 .hx-cta, .home-v2 .setup-go { box-sizing: border-box; max-width: 100%; }

/* phone pass, Dec 1 */
.home-v2 .sec-head .kick:before { display: none; }
.home-v2 .faqs details { padding: 0 22px; }
.home-v2 .faqs summary { padding: 18px 0; }
.home-v2 .faqs details > p { margin: 0 0 18px; }
.home-v2 .pp-link { display: inline-flex; align-items: center; min-height: 44px; }
.home-v2 .sticky-cta-copy span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 800px) {
  body.home-v2 .cl-inner { padding: 56px 20px 48px; width: auto; margin-inline: 16px; }
  body.home-v2 footer { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
  body.home-v2 footer > a { min-height: 40px; display: inline-flex; align-items: center; }
  .home-v2 .sec-head .kick { font-size: 11.5px; letter-spacing: .12em; }
}
@media (max-width: 800px) {
  .home-v2 .hx-cta, .home-v2 .cl-cta, .home-v2 .setup-go { white-space: nowrap; font-size: clamp(15px, 4.5vw, 18px); padding-left: 14px; padding-right: 14px; gap: 8px; }
  body.home-v2 footer > *, body.home-v2 footer > a { margin: 0; justify-self: start; align-self: flex-start; text-align: left; }
}

/* Dec 1, 2026: Learn / Earn / Play steps with icon badges (Chris: "this needs to be better"). */
.hx-steps { gap: 14px; max-width: 560px; counter-reset: none; }
.hx-steps li.hs {
  display: flex; align-items: center; gap: 11px; padding: 13px 14px 13px 12px; border-radius: 20px;
  background: linear-gradient(155deg, #ffffff33, #ffffff10 70%); border: 1px solid #ffffff52;
  box-shadow: inset 0 1px 0 #ffffff59, 0 14px 34px #0a145533; overflow: visible;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hx-steps li.hs:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #ffffff66, 0 18px 40px #0a145544; }
.hx-steps li.hs + li.hs:before {
  content: ''; left: -15px; width: 16px; height: 16px; margin-top: -8px; border: 0; transform: none; z-index: 2;
  border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4l4 4-4 4' fill='none' stroke='%233458f5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  box-shadow: 0 4px 10px #0a145540;
}
.hs-ico {
  position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  margin: 0 !important; color: #3458f5; background: #fff; box-shadow: 0 6px 16px #0a145533, inset 0 -3px 0 #0a145512;
}
.hs-ico svg { width: 25px; height: 25px; }
.hs-ico i {
  position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  font: 800 11px/1 var(--hx-display); font-style: normal; color: #182244; background: #f5d94f; border: 2px solid #3458f5;
}
.hx-steps .hs-ico { color: #3458f5; }
.hx-steps .hs-earn .hs-ico { color: #182244; background: #f5d94f; }
.hs-earn .hs-ico i { background: #fff; }
.hx-steps .hs-play .hs-ico { color: #fff; background: linear-gradient(145deg, #ff8a5c, #f2545b); }
.hs-txt { display: block; margin: 0 !important; min-width: 0; }
.hx-steps .hs-txt b { font-size: 19px; }
.hx-steps .hs-txt em { display: block; margin-top: 3px; font: 600 13px/1.3 var(--hx-read); font-style: normal; color: #e3e9ff; }
.hx-steps li.hs-earn b { color: var(--hx-yellow); }
.hx-steps li.hs-play b { color: #ffd0c2; }

/* Log in, up top. */
.header-login {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 13px;
  font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink, #182244); border: 2px solid #182244;
  background: #fff; transition: background .2s, color .2s, transform .2s; white-space: nowrap;
}
.header-login:hover { background: #182244; color: #fff; transform: translateY(-2px); }

@media (max-width: 800px) {
  .hx-steps { gap: 10px; max-width: none; }
  .hx-steps li.hs { flex-direction: column; justify-content: flex-start; gap: 7px; padding: 12px 6px 10px; text-align: center; border-radius: 18px; }
  .hx-steps li.hs + li.hs:before { display: block; left: -13px; top: 31px; margin-top: 0; width: 16px; height: 16px; background-size: 11px; }
  .hs-ico { width: 38px; height: 38px; border-radius: 12px; }
  .hs-ico svg { width: 22px; height: 22px; }
  .hs-ico i { width: 18px; height: 18px; font-size: 10px; top: -6px; right: -8px; }
  .hx-steps .hs-txt b { font-size: 16px; }
  .hx-steps .hs-txt em { font-size: 11.5px; margin-top: 2px; }
  .header-login { min-height: 40px; padding: 0 12px; font-size: 13px; }
}
@media (max-width: 800px) and (max-height: 760px) {
  .hs-ico { width: 32px; height: 32px; }
  .hs-ico svg { width: 19px; height: 19px; }
  .hx-steps li.hs { padding: 9px 5px 8px; gap: 5px; }
  .hx-steps li.hs + li.hs:before { top: 25px; }
  .hx-steps .hs-txt em { font-size: 11px; }
}
@media (max-width: 400px) {
  .header-login { padding: 0 9px; font-size: 12px; border-width: 1.5px; }
}
@media (prefers-reduced-motion: reduce) { .hx-steps li.hs, .header-login { transition: none; } }
/* Desktop: icon above the words, like on phones, so three lines of text have room. */
@media (min-width: 801px) {
  .hx-steps { max-width: 620px; gap: 16px; }
  .hx-steps li.hs { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 16px 15px; }
  .hx-steps li.hs + li.hs:before { top: 38px; margin-top: 0; left: -16px; }
  .hx-steps .hs-txt em { font-size: 13.5px; }
}
/* Phones (Chris, Dec 1): room under the header, and the three store badges in one even column. */
@media (max-width: 800px) {
  .hx-inner { padding-top: 16px; }
  .home-v2 .get .hero-stores, .home-v2 .get .store-badges-hero { width: 100%; }
  .home-v2 .get .store-badges-hero .store-badges-row { flex-direction: column; align-items: center; gap: 12px; width: 100%; }
  .home-v2 .get .store-badges-hero .store-badge { width: 200px; justify-content: center; }
  .home-v2 .get .store-badges-hero .store-badge img { width: 200px; height: auto; }
}
/* "flashcard-style" stands out in the line under the headline (Chris, Dec 1). */
.hx-lede .hx-flash { color: #1b2a6b; background: #f5d94f; padding: 1px 8px 2px; border-radius: 8px; white-space: nowrap; box-shadow: 0 3px 0 #d9b92e; }
