@font-face { font-family: Manrope; src: url(fonts/Manrope-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-ExtraBold.ttf) format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --blue: #2458BB; --blue-deep: #17449B; --sky: #DCE9FF; --mist: #E8F0FF;
  --canvas: #F3F7FC; --card: #FFFFFF; --ink: #121F3D; --body: #344363; --muted: #526382; --faint: #73839F;
  --line: #D5E0F0; --shadow: rgba(36, 88, 187, .12);
  --green: #1E7A4F; --green-soft: #E1F4E8; --coral: #D83A55; --coral-soft: #FDE5EA; --amber: #8A6400; --amber-soft: #FFF1D6;
  --orange: #E0702A; --lilac: #ECE6FA; --aqua: #DDF1F5;
  --do: #D83A55; --re: #E08A00; --mi: #2E9E6B; --fa: #1A9E94; --sol: #2F7DE0; --la: #2458BB; --si: #B8357D;
  --r: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--body); background: var(--canvas); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--ink); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); background: rgba(243, 247, 252, .78); border-bottom: 1px solid rgba(213, 224, 240, .6); }
.nav .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.1rem; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.logo small { color: var(--faint); font-weight: 600; font-size: .8rem; }
.spacer { flex: 1; }
.lang { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { font: inherit; font-size: .8rem; font-weight: 800; border: 0; background: none; color: var(--muted); padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; border-radius: 999px; padding: 13px 22px; transition: transform .15s ease, box-shadow .15s ease; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px var(--shadow); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.nav .btn { padding: 9px 16px; font-size: .9rem; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; text-align: center; background:
  radial-gradient(60% 50% at 15% 10%, #E1ECFE 0%, transparent 70%),
  radial-gradient(50% 45% at 90% 20%, var(--lilac) 0%, transparent 70%),
  radial-gradient(45% 40% at 50% 100%, var(--aqua) 0%, transparent 70%); }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { font-size: clamp(2.6rem, 7.2vw, 5.4rem); line-height: 1.02; margin: 18px auto 20px; letter-spacing: -.035em; }
.hero h1 .l2 { display: block; background: linear-gradient(90deg, var(--blue) 0%, #6C5CE0 55%, var(--si) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em; }
.lead { font-size: 1.15rem; max-width: 640px; margin: 0 auto; color: var(--muted); }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 28px 0 18px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; list-style: none; padding: 0; margin: 0 0 40px; font-size: .86rem; font-weight: 700; color: var(--muted); }
.trust li::before { content: "✓"; color: var(--green); margin-right: 6px; font-weight: 800; }

/* stage */
.stage { position: relative; height: 640px; max-width: 1040px; margin: 0 auto; }
.phone { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 300px; height: 620px; border-radius: 46px; background: #0E1B33; padding: 11px; box-shadow: 0 40px 80px rgba(18, 31, 61, .22), 0 0 0 1px #2A4470 inset; }
.screen { width: 100%; height: 100%; border-radius: 36px; background: linear-gradient(180deg, #F0F5FF 0%, #E1ECFE 45%, var(--canvas) 100%); overflow: hidden; text-align: left; padding: 40px 16px 16px; position: relative; }
.screen .notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; background: #0E1B33; border-radius: 20px; }

.float { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(213, 224, 240, .8); border-radius: 18px; padding: 10px 14px; box-shadow: 0 14px 34px var(--shadow); text-align: left; font-size: .82rem; color: var(--muted); width: max-content; max-width: 250px; animation: bob 6s ease-in-out infinite; }
.float b { display: block; color: var(--ink); font-size: .9rem; }
.float i { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-weight: 800; }
.f1 { left: 2%; top: 40px; } .f2 { left: 6%; top: 210px; animation-delay: -2s; } .f3 { left: 0; top: 390px; animation-delay: -4s; }
.f4 { right: 2%; top: 70px; animation-delay: -1s; } .f5 { right: 5%; top: 250px; animation-delay: -3s; } .f6 { right: 0; top: 430px; animation-delay: -5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.keys { display: flex; justify-content: center; gap: 4px; margin: 28px auto 0; max-width: 560px; }

/* sections */
section.sec { padding: 96px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .copy { order: 2; }
.sec h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; margin: 14px 0 16px; }
.sec h2 .l2 { display: block; color: var(--blue); }
.sec p.big { font-size: 1.1rem; color: var(--muted); margin: 0 0 22px; }
.bullets { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.bullets li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: var(--ink); font-size: .95rem; }
.bullets i { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-style: normal; background: var(--mist); }
.fine { font-size: .85rem; color: var(--faint); margin-top: 18px; }

.panel { background: var(--card); border-radius: 28px; padding: 26px; box-shadow: 0 24px 60px var(--shadow); border: 1px solid rgba(213, 224, 240, .7); position: relative; }
.tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--mist); color: var(--blue); }
.sample { position: absolute; top: 14px; right: 16px; font-size: .68rem; font-weight: 700; color: var(--faint); }

/* quiz panel */
.q-title { font-size: 1.3rem; font-weight: 800; color: var(--ink); margin: 14px 0 16px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; font-weight: 800; color: var(--ink); background: #fff; }
.opt.ok { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.opt.no { border-color: var(--coral); background: var(--coral-soft); color: var(--coral); }
.explain { margin-top: 16px; border-radius: 16px; padding: 14px; background: var(--amber-soft); color: #5A4300; font-size: .9rem; }
.explain b { color: var(--ink); }
.staff { display: flex; gap: 8px; margin-top: 14px; }
.staff span { flex: 1; text-align: center; padding: 8px 0; border-radius: 12px; font-weight: 800; font-size: .85rem; background: var(--mist); color: var(--ink); }
.staff span.hit { background: var(--blue); color: #fff; }
.staff span.miss { background: var(--coral-soft); color: var(--coral); text-decoration: line-through; }

/* range card */

/* exam list */
.exam li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--mist); font-weight: 700; color: var(--ink); }
.exam li:last-child { border: 0; }
.exam ul { list-style: none; padding: 0; margin: 12px 0 0; }
.exam i { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-style: normal; }
.exam small { display: block; color: var(--faint); font-weight: 600; font-size: .78rem; }
.exam .pill { margin-left: auto; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--blue); }

/* choir */
.choir .row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--mist); }
.choir .row:last-child { border: 0; }
.av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .8rem; }
.choir .who { font-weight: 800; color: var(--ink); font-size: .92rem; }
.choir .who small { display: block; color: var(--faint); font-weight: 600; font-size: .75rem; }
.st { margin-left: auto; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.st.ok { background: var(--green-soft); color: var(--green); } .st.wait { background: var(--amber-soft); color: var(--amber); } .st.note { background: var(--mist); color: var(--blue); }
.choir-bird { position: absolute; right: -56px; bottom: -84px; width: 120px; }

/* grid */
.center { text-align: center; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.cell { background: var(--card); border-radius: var(--r); padding: 20px; border: 1px solid rgba(213, 224, 240, .7); box-shadow: 0 8px 22px rgba(36, 88, 187, .06); text-align: left; }
.cell i { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-style: normal; font-size: 1.1rem; margin-bottom: 12px; }
.cell b { display: block; color: var(--ink); font-size: 1rem; }
.cell span { font-size: .88rem; color: var(--muted); }
.cell .ind { display: inline-block; margin-top: 8px; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); background: var(--amber-soft); padding: 3px 8px; border-radius: 999px; }

/* parents */
.parents { background: var(--ink); color: #DCE6F5; border-radius: 34px; padding: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.parents h2 { color: #fff; }
.parents h2 .l2 { color: #9CC2FF; }
.parents ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.parents li { background: #16294A; border: 1px solid #2A4470; border-radius: 16px; padding: 14px 16px; font-weight: 700; color: #F4F7FF; }
.parents li small { display: block; color: #9FB3D6; font-weight: 600; }

/* faq */
.faq { max-width: 760px; margin: 36px auto 0; }
details { background: var(--card); border-radius: 18px; border: 1px solid rgba(213, 224, 240, .8); margin-bottom: 10px; padding: 4px 20px; }
summary { cursor: pointer; list-style: none; font-weight: 800; color: var(--ink); padding: 14px 0; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--muted); }

/* final */
.final { text-align: center; padding: 96px 0 80px; background: radial-gradient(50% 60% at 50% 40%, #E1ECFE 0%, transparent 75%); }
.final img { width: 170px; margin: 0 auto 10px; }
.final h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .88rem; color: var(--faint); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--blue); }

/* reveal */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}

/* responsive */
@media (max-width: 960px) {
  .float.f3, .float.f6 { display: none; }
  .f1, .f2 { left: -10px; } .f4, .f5 { right: -10px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .parents { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 760px) {
  .hero { padding-top: 40px; }
  .float, .float.f1, .float.f4 { display: none; }
  .stage { height: 560px; }
  .phone { width: 260px; height: 540px; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .copy { order: 0; }
  .bullets { grid-template-columns: 1fr; }
  section.sec { padding: 64px 0; }
  .nav .btn { display: none; }
  .choir-bird { display: none; }
  .panel.choir { margin-bottom: 50px; }
}
@media (max-width: 480px) { .grid { grid-template-columns: 1fr; } .opts { grid-template-columns: 1fr 1fr; } }

/* ---------- creative layer ---------- */
@property --p { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.sing { position: relative; display: inline-block; }
.squiggle { position: absolute; left: 2%; right: 2%; bottom: -.2em; width: 96%; height: .24em; overflow: visible; }
.squiggle path { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.4s .5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.orb { position: absolute; left: 50%; top: 300px; width: 0; height: 0; z-index: 0; }
.orb span { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 3px dotted rgba(36, 88, 187, .28); transform: translate(-50%, -50%) scale(.6); opacity: 0; animation: ring 6s linear infinite; }
.orb span { width: 560px; height: 560px; }
.orb span:nth-child(2) { animation-delay: -2s; border-color: rgba(108, 92, 224, .24); }
.orb span:nth-child(3) { animation-delay: -4s; border-color: rgba(184, 53, 125, .2); }
@keyframes ring { 0% { transform: translate(-50%, -50%) scale(.45); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.25); opacity: 0; } }
.phone, .float { z-index: 1; }

.notes { position: absolute; left: calc(50% + 190px); top: 380px; width: 60px; height: 10px; z-index: 2; pointer-events: none; }
.notes i { position: absolute; left: var(--x); bottom: 0; font-style: normal; font-size: 1.5rem; color: var(--blue); opacity: 0; animation: fly 5.6s var(--d) ease-out infinite; }
.notes i:nth-child(2) { color: var(--si); } .notes i:nth-child(3) { color: var(--mi); } .notes i:nth-child(4) { color: var(--orange); }
@keyframes fly { 0% { transform: translate(0, 0) rotate(-10deg); opacity: 0; } 12% { opacity: 1; } 100% { transform: translate(30px, -150px) rotate(14deg); opacity: 0; } }

.keys { position: relative; z-index: 2; }
.keys button { flex: 1; height: 64px; border-radius: 0 0 12px 12px; background: #FFFDF7; border: 1px solid #D9D2C2; position: relative; font: inherit; font-size: .74rem; font-weight: 800; color: var(--c); display: flex; align-items: flex-end; justify-content: center; padding: 0 0 8px; cursor: pointer; box-shadow: 0 6px 0 #E9E2D2, 0 10px 20px rgba(18, 31, 61, .08); transition: transform .08s ease, box-shadow .08s ease; }
.keys button::before { content: ""; position: absolute; top: 0; left: 6px; right: 6px; height: 6px; border-radius: 0 0 4px 4px; background: var(--c); }
.keys button:hover { background: #fff; }
.keys button:active, .keys button.hit { transform: translateY(4px); box-shadow: 0 2px 0 #E9E2D2, 0 4px 10px rgba(18, 31, 61, .08); }
.keys button.hit::after { content: ""; position: absolute; inset: -6px; border-radius: 14px; box-shadow: 0 0 0 0 var(--c); animation: glow .7s ease-out; pointer-events: none; }
@keyframes glow { from { box-shadow: 0 0 0 0 var(--c); opacity: .6; } to { box-shadow: 0 0 0 14px var(--c); opacity: 0; } }
.keys button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.keys-hint { font-size: .82rem; font-weight: 700; color: var(--muted); margin: 14px 0 0; }

/* ear game */
.game-sec { padding-top: 40px; }
.game { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, #17449B 0%, #2458BB 50%, #5B4FD6 100%); border-radius: 36px; padding: 52px; color: #DCE6F5; box-shadow: 0 30px 70px rgba(23, 68, 155, .3); }
.game h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; margin: 14px 0 16px; }
.game h2 .l2 { color: #FFD08A; }
.game .eyebrow { color: #CFE0FF; }
.game p.big { color: #DCE6F5; }
.staff-bg { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 160px; transform: translateY(-50%); opacity: .12; pointer-events: none; }
.staff-bg path { stroke: #fff; stroke-width: 1.2; }
.game-box { position: relative; background: rgba(255, 255, 255, .97); border-radius: 26px; padding: 26px; color: var(--body); text-align: center; min-height: 300px; display: flex; flex-direction: column; align-items: center; gap: 14px; box-shadow: 0 20px 40px rgba(14, 27, 51, .25); }
.dots { display: flex; gap: 8px; }
.dots b { width: 30px; height: 6px; border-radius: 6px; background: var(--line); transition: background .3s; }
.dots b.ok { background: var(--green); } .dots b.no { background: var(--coral); }
.g-q { font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.play { width: 78px; height: 78px; border-radius: 50%; border: 0; cursor: pointer; background: radial-gradient(circle at 35% 30%, #3B6FD6, var(--blue-deep)); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(36, 88, 187, .35), 0 0 0 8px var(--mist); transition: transform .12s; position: relative; }
.play:active { transform: scale(.94); }
.play .pi { font-size: 1.5rem; margin-left: 4px; }
.play .eq { display: none; gap: 3px; align-items: flex-end; height: 24px; }
.play.on .pi { display: none; } .play.on .eq { display: flex; }
.play .eq i { width: 4px; background: #fff; border-radius: 2px; animation: eq .6s ease-in-out infinite alternate; }
.play .eq i:nth-child(2) { animation-delay: .15s; } .play .eq i:nth-child(3) { animation-delay: .3s; } .play .eq i:nth-child(4) { animation-delay: .1s; } .play .eq i:nth-child(5) { animation-delay: .25s; }
@keyframes eq { from { height: 5px; } to { height: 24px; } }
.g-opts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.g-opt { font: inherit; font-weight: 800; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 11px 16px; cursor: pointer; transition: transform .1s, border-color .2s; }
.g-opt:hover:not(:disabled) { border-color: var(--blue); transform: translateY(-1px); }
.g-opt.ok { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.g-opt.no { border-color: var(--coral); background: var(--coral-soft); color: var(--coral); }
.g-opt:disabled { cursor: default; }
.g-msg { font-size: .92rem; min-height: 1.4em; max-width: 340px; }
.g-msg.ok { color: var(--green); } .g-msg.no { color: #8A2A3D; }
.g-next[hidden], .play[hidden] { display: inline-flex; visibility: hidden; }

/* range dial fill */

/* hero staff texture */
.hero::after { content: ""; position: absolute; inset: auto 0 120px 0; height: 120px; background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(36, 88, 187, .07) 22px 23px); pointer-events: none; z-index: 0; mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.hero .wrap { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .orb, .notes { display: none; }
  .squiggle path { animation: none; stroke-dashoffset: 0; }

  .play .eq i { animation: none; height: 14px; }
}
@media (max-width: 760px) {
  .game { grid-template-columns: 1fr; padding: 30px 22px; gap: 24px; }
  .notes { left: calc(50% + 110px); top: 420px; }
  .orb span { width: 380px; height: 380px; }
  .keys button { height: 54px; font-size: .66rem; }
}

/* phone: a real render of the app's Today screen (test/site/site_shots_test.dart) */
.phone:has(.shot) { height: auto; }
.screen.shot { padding: 34px 0 0; height: auto; background: #DCE7FD; }
.screen.shot img { width: 100%; height: auto; display: block; }
.screen.shot .sb { position: absolute; top: 13px; left: 26px; font-size: .72rem; font-weight: 800; color: var(--ink); }
.screen.shot .sb-r { left: auto; right: 22px; letter-spacing: 1px; }
.screen.shot .notch { z-index: 2; }
html[lang="en"] .shot-tr, html:not([lang="en"]) .shot-en { display: none; }
@media (max-width: 760px) { .notes { display: none; } }
.screen.shot svg.sb { top: 15px; fill: var(--ink); color: var(--ink); }

/* ---------- focus areas ---------- */
.focus-sec { padding-top: 56px; }
.focus-h { font-size: clamp(2rem, 4.4vw, 3rem); margin: 14px 0 34px; }
.focus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fcard { position: relative; display: flex; flex-direction: column; gap: 8px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 24px 22px 22px; color: var(--body); box-shadow: 0 10px 30px rgba(18, 31, 61, .06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; overflow: hidden; }
.fcard::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--fc); }
.fcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18, 31, 61, .1); border-color: var(--fc); }
.fcard i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-style: normal; font-size: 1.5rem; background: var(--fb); color: var(--fc); margin-bottom: 6px; }
.fcard b { font-size: 1.2rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.fcard > span:not(.soon) { font-size: .93rem; line-height: 1.5; flex: 1; }
.fcard em { font-style: normal; font-weight: 800; font-size: .9rem; color: var(--fc); margin-top: 4px; }
.soon { position: absolute; top: 18px; right: 16px; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #6C4BC2; background: var(--lilac); border-radius: 99px; padding: 4px 9px; }
.everyone { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; background: var(--ink); color: #DCE6F5; border-radius: 22px; padding: 18px 24px; }
.everyone b { color: #fff; font-size: 1.05rem; font-weight: 800; }
.everyone ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.everyone li { font-size: .86rem; font-weight: 700; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 99px; padding: 6px 12px; }

/* ---------- breathing: port of the app's breath screen ---------- */
.breath { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 26px 26px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; box-shadow: 0 20px 50px rgba(18, 31, 61, .08); }
.breath .sample { position: absolute; top: 16px; right: 18px; }
/* ---------- programmes ---------- */
.panel.cert .levels { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.levels li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-weight: 700; color: var(--ink); }
.levels li i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .85rem; background: var(--mist); color: var(--blue); flex: none; }
.levels li span { flex: 1; }
.levels li em { font-style: normal; color: var(--amber); font-size: .9rem; letter-spacing: 1px; }
.levels li.ok i { background: var(--green-soft); color: var(--green); }
.levels li.now { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 88, 187, .12); }
.levels li.now em { background: var(--blue); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: 0; border-radius: 99px; padding: 3px 9px; }
.levels li:last-child { opacity: .55; }
.cert-card { position: relative; margin-top: 14px; display: flex; align-items: center; gap: 14px; border-radius: 18px; padding: 16px; background: linear-gradient(135deg, #F4EEFF, #FFF4E2); border: 1.5px dashed #C9B8F0; }
.cert-card i { font-style: normal; font-size: 1.8rem; }
.cert-card b { display: block; color: var(--ink); font-weight: 800; }
.cert-card small { color: var(--muted); font-weight: 600; }
.cert-card .soon { top: 50%; transform: translateY(-50%); }

@media (max-width: 980px) { .focus { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .focus { grid-template-columns: 1fr; gap: 12px; }
  .everyone { flex-direction: column; align-items: flex-start; }
}

/* ---------- sound demos v2 ---------- */
.keys-hint b { color: var(--ink); }
.keys-hint.pop { animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.06); } }
.mute-hint { font-size: .74rem; color: var(--faint); margin: 4px 0 0; }
.g-top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.g-lvl { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--mist); border-radius: 99px; padding: 4px 10px; }
.mini-kb { position: relative; width: 100%; max-width: 320px; height: 58px; display: flex; gap: 2px; }
.mini-kb .wk { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 0 0 6px 6px; position: relative; transition: background .12s; }
.mini-kb .bk { position: absolute; top: 0; width: 6.4%; height: 58%; background: #1D2B48; border-radius: 0 0 4px 4px; z-index: 1; transition: background .12s; }
.mini-kb .lit { background: var(--blue) !important; box-shadow: 0 0 14px rgba(36, 88, 187, .55); }
.mini-kb .wk.lit::after { content: attr(data-n); position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-size: .56rem; font-weight: 800; color: #fff; }
.g-opt.cmp { cursor: pointer; }
.g-opt.cmp::after { content: " 🔊"; font-size: .8em; }
.g-opt.hear { animation: pop .35s ease; }
.g-msg b { display: inline; }
.g-msg small { display: block; margin-top: 6px; color: var(--muted); font-weight: 700; font-size: .8rem; }
.game-box { min-height: 360px; }
/* range card: the app's real 9:16 share card (test/site/site_shots_test.dart) */
.rshot { width: 300px; max-width: 78vw; margin: 0 auto; border-radius: 36px; box-shadow: 0 30px 70px rgba(36, 88, 187, .22), 0 0 0 1px rgba(36, 88, 187, .08); transform: rotate(-3deg); transition: transform .4s ease; }
.rshot:hover { transform: rotate(0deg) scale(1.02); }
.rshot img { width: 100%; height: auto; display: block; border-radius: 36px; }
@media (prefers-reduced-motion: reduce) { .rshot { transform: none; transition: none; } }

/* game box: fixed slots so nothing jumps between question, answer and result */
.game-box { min-height: 0; display: grid; grid-template-rows: auto auto 78px 58px var(--opts-h, 112px) var(--msg-h, 7.4em) auto; justify-items: center; align-items: center; gap: 14px; }
.game-box > .g-top { align-self: start; }
.g-q { min-height: 1.6em; display: flex; align-items: center; justify-content: center; }
.g-opts { width: 100%; height: 100%; align-content: center; }
.g-msg { width: 100%; max-width: 400px; height: 100%; min-height: 0; overflow: hidden; align-self: start; opacity: 0; transform: translateY(4px); transition: opacity .25s ease, transform .25s ease; }
.g-msg:not(:empty) { opacity: 1; transform: none; }
.g-next { min-width: 150px; justify-content: center; }
@media (max-width: 760px) { .game-box { --opts-h: 168px; --msg-h: 9.6em; padding: 22px 18px; } }


.bf-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 8px; }
.bf-chips span { font-size: .74rem; font-weight: 800; color: var(--muted); background: var(--canvas); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; }
.bf-chips .warn { color: #8A5A00; background: #FFF4DC; border-color: #F5DFAE; }
.bf-stage { position: relative; width: 300px; max-width: 100%; aspect-ratio: 1; }
.bf-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bf-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 42%; aspect-ratio: 1; border-radius: 50%; border: 0; cursor: pointer; font: inherit; color: var(--ink); background: radial-gradient(circle, #fff 55%, rgba(36, 88, 187, .06)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.bf-center:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.bf-center b { font-size: 3.4rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.bf-center span { font-size: .98rem; font-weight: 800; letter-spacing: -.01em; max-width: 9em; line-height: 1.2; }
.bf-stage.done .bf-center b { color: var(--green); }
.bf-track { display: flex; gap: 10px; width: 100%; max-width: 330px; }
.bf-track div { display: flex; flex-direction: column; gap: 6px; }
.bf-track span { font-size: .8rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.bf-track span.on { font-weight: 800; color: var(--ink); }
.bf-track i { display: block; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bf-track em { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 6px; }
.bf-safe { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }
#bstart { min-width: 170px; justify-content: center; }
@media (max-width: 760px) { .bf-stage { width: 260px; } .bf-center b { font-size: 2.8rem; } }
button.btn { border: 0; font: inherit; font-weight: 800; cursor: pointer; }
