/* ═══════════════════════ Learndini — site styles ═══════════════════════ */
:root {
  --bg: #f7f5ff;
  --bg-2: #fdf4ff;
  --surface: #ffffff;
  --text: #1e1b4b;
  --ink: #1e293b;
  --muted: #64748b;
  --border: #e7e3f7;
  --primary: #7c3aed;
  --primary-2: #ec4899;
  --blue: #0ea5e9;
  --navy: #232b5c;
  --soft: #ede9fe;
  --gold: #f7cf4a;
  --good: #16a34a;
  --bad: #e11d48;
  --grad: linear-gradient(135deg, var(--primary), var(--primary-2));
  --brand-grad: linear-gradient(90deg, #9333ea, #0ea5e9);
  --shadow: 0 18px 40px -18px rgba(76, 29, 149, .35);
  --shadow-sm: 0 6px 18px -8px rgba(76, 29, 149, .3);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 400 17px/1.6 Nunito, system-ui, sans-serif; color: var(--text);
  background: linear-gradient(180deg, var(--bg), var(--bg-2) 40%, var(--bg) 100%);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { font-family: Fredoka, Nunito, sans-serif; line-height: 1.15; margin: 0 0 .4em; color: var(--text); }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -.5px; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* ── Wordmark ── */
.wm { font: 700 1.6rem/1 Quicksand, Nunito, sans-serif; color: var(--ink); letter-spacing: -.5px; white-space: nowrap; }
.wm b { font-weight: 700; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm .lasti { position: relative; display: inline-block; }
.wm-star { position: absolute; width: .24em; height: .24em; left: 50%; top: .06em; transform: translateX(-50%) rotate(14deg); fill: var(--blue); animation: twinkle 2.6s ease-in-out infinite; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .8em 1.4em; border-radius: 999px; font: 800 1rem/1 Nunito, sans-serif; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(124, 58, 237, .7); }
.btn.primary:hover { box-shadow: 0 16px 30px -10px rgba(124, 58, 237, .75); }
.btn.ghost { background: var(--surface); color: var(--primary); border-color: var(--border); }
.btn.ghost:hover { border-color: var(--primary); }
.btn.lg { padding: 1em 1.6em; font-size: 1.06rem; }
.btn.sm { padding: .62em 1.1em; font-size: .92rem; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Animated sky ── */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 420px; height: 420px; background: #c4b5fd; top: -120px; left: -120px; }
.b2 { width: 380px; height: 380px; background: #fbcfe8; top: 30%; right: -140px; animation-duration: 22s; }
.b3 { width: 340px; height: 340px; background: #bae6fd; bottom: -120px; left: 20%; animation-duration: 26s; }
.star { position: absolute; color: var(--gold); font-size: 22px; animation: twinkle 3s ease-in-out infinite; }
.st1 { top: 14%; left: 8%; } .st2 { top: 26%; right: 12%; animation-delay: .8s; color: #c084fc; }
.st3 { top: 62%; left: 4%; animation-delay: 1.4s; font-size: 16px; } .st4 { top: 78%; right: 6%; animation-delay: .4s; color: #38bdf8; }
.st5 { top: 46%; left: 48%; animation-delay: 2s; font-size: 14px; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }
.wm-star { animation-name: twinkleStar; }
@keyframes twinkleStar { 0%, 100% { transform: translateX(-50%) rotate(14deg) scale(1); } 50% { transform: translateX(-50%) rotate(40deg) scale(1.25); } }

/* ── Header ── */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px;
  padding: 10px max(16px, calc((100% - 1160px) / 2)); background: rgba(247, 245, 255, .72);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.top.scrolled { border-color: var(--border); box-shadow: 0 6px 20px -16px rgba(30, 27, 75, .5); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.brand .brand-mascot { width: auto; height: 46px; transition: transform .3s; }
.brand .brand-word { width: auto; height: 30px; margin-top: 4px; }
.brand:hover .brand-mascot { transform: rotate(-8deg) scale(1.06); }
.nav { display: flex; gap: 6px; }
.nav a { white-space: nowrap; color: var(--text); text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--soft); color: var(--primary); }
.menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu span { display: block; width: 24px; height: 3px; border-radius: 3px; background: var(--text); margin: 4px 0; transition: transform .25s, opacity .25s; }

/* ── Hero ── */
.hero { overflow-x: clip; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding: 56px 0 40px; }
.pill { display: inline-block; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: .92rem; color: var(--primary); box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.lead { font-size: 1.18rem; color: #3f3a6b; max-width: 36em; }
.mini-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 26px 0 0; color: var(--muted); font-weight: 700; }
.mini-stats b { color: var(--text); font: 700 1.35rem Fredoka, sans-serif; margin-right: 4px; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 480px; justify-self: center; width: 100%; }
.halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(196, 181, 253, .65), rgba(251, 207, 232, .35) 55%, transparent 70%); animation: pulse 5s ease-in-out infinite; }
.mascot { position: absolute; inset: 10%; animation: float 4.5s ease-in-out infinite; }
.mascot svg, .mascot-img { width: 100%; height: 100%; object-fit: contain; overflow: visible; filter: drop-shadow(0 24px 30px rgba(76, 29, 149, .25)); }
.mascot-img { animation: wiggle 6s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-3deg); } 60% { transform: rotate(2.5deg); } }
.mascot .ld-hat { transform-origin: 160px 120px; animation: hat 6s ease-in-out infinite; }
.mascot .ld-eyes { transform-origin: 160px 196px; animation: blink 5s infinite; }
.mascot .ld-liquid { animation: slosh 3.2s ease-in-out infinite alternate; }
.mascot .ld-bubble { animation: bubble 3.4s ease-in infinite; }
.mascot .b2 { animation-delay: 1.1s; } .mascot .b3 { animation-delay: 2.1s; } .mascot .b4 { animation-delay: .6s; }
.mascot .sp { transform-box: fill-box; transform-origin: center; animation: twinkle 2.4s ease-in-out infinite; }
.mascot .s2 { animation-delay: .5s; } .mascot .s3 { animation-delay: 1s; } .mascot .s4 { animation-delay: 1.5s; } .mascot .s5 { animation-delay: .8s; } .mascot .s6 { animation-delay: 1.8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.07); opacity: 1; } }
@keyframes hat { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 60% { transform: rotate(3deg); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes slosh { from { transform: translateX(-30px); } to { transform: translateX(10px); } }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-80px); opacity: 0; } }
.float-card {
  position: absolute; background: var(--surface); border-radius: 16px; padding: 8px 14px; font-size: .95rem;
  box-shadow: var(--shadow); white-space: nowrap; animation: bob 5s ease-in-out infinite; border: 1px solid var(--border);
}
.fc1 { top: 8%; left: -2%; } .fc2 { top: 22%; right: -4%; animation-delay: 1s; }
.fc3 { bottom: 20%; left: -6%; animation-delay: 2s; } .fc4 { bottom: 6%; right: 4%; animation-delay: 1.5s; }
.fc5 { top: -2%; right: 22%; animation-delay: 2.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

/* ── Story ── */
.story { padding: 10px 0 20px; }
.story-card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); text-align: center; }
.story-card p { max-width: 46em; margin: 16px auto 0; color: #3f3a6b; font-size: 1.08rem; }
.story-eq { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.chip { background: var(--soft); color: var(--primary); border-radius: 999px; padding: 8px 16px; font: 600 1.15rem Fredoka, sans-serif; }
.chip.hot { background: var(--grad); color: #fff; animation: glow 2.6s ease-in-out infinite; }
.op { font: 700 1.5rem Fredoka, sans-serif; color: var(--muted); }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, .0); } 50% { box-shadow: 0 0 0 8px rgba(236, 72, 153, .15); } }

/* ── Sections ── */
.section { padding: 64px 0 20px; scroll-margin-top: 70px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.section-head p { color: #3f3a6b; font-size: 1.08rem; }
.kicker { display: inline-block; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--primary-2); margin-bottom: 8px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.spell { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); position: relative; overflow: hidden; transition: transform .25s; }
.spell:hover { transform: translateY(-4px); }
.spell::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 181, 253, .45), transparent 70%); }
.spell-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.8rem; background: var(--grad); margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.spell-sub { font-weight: 800; color: var(--primary); margin-top: -4px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 28px; position: relative; margin: 6px 0; font-weight: 700; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #dcfce7; color: var(--good); font-size: .8rem; display: grid; place-items: center; margin-top: 3px; }

.curve-card { margin-top: 22px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-weight: 700; font-size: .92rem; color: var(--muted); }
.legend i { display: inline-block; width: 22px; height: 4px; border-radius: 4px; vertical-align: middle; margin-right: 6px; }
.lg-a { background: #cbd5e1; } .lg-b { background: var(--brand-grad); }
.curve { width: 100%; height: auto; }
.curve .axis { stroke: #cbd5e1; stroke-width: 2; }
.curve .ax { font: 700 12px Nunito, sans-serif; fill: var(--muted); }
.curve .tag { fill: var(--primary); }
.curve .draw { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.curve .fade { stroke: #cbd5e1; }
.curve .boost { stroke: var(--primary); }
.curve .dots circle { fill: var(--primary-2); opacity: 0; }
.curve-card.in .draw { animation: draw 2.2s ease forwards; }
.curve-card.in .boost { animation-delay: .5s; }
.curve-card.in .dots circle { animation: pop .4s ease forwards; }
.curve-card.in .dots circle:nth-child(1) { animation-delay: 1.1s; } .curve-card.in .dots circle:nth-child(2) { animation-delay: 1.5s; } .curve-card.in .dots circle:nth-child(3) { animation-delay: 2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.curve .dots circle { transform-box: fill-box; transform-origin: center; }

.fun-strip { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fun-strip > div { background: rgba(255, 255, 255, .7); border: 1px solid var(--border); border-radius: 20px; padding: 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.fun-strip span { font-size: 1.8rem; grid-row: span 2; }
.fun-strip small { color: var(--muted); font-size: .93rem; }

/* ── Featured course ── */
.feature-card {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center;
  background: var(--surface); border-radius: 30px; padding: 36px; box-shadow: var(--shadow);
}
.feature-card::before {
  content: ""; position: absolute; inset: -3px; border-radius: 33px; z-index: -1;
  background: linear-gradient(120deg, #9333ea, #ec4899, #0ea5e9, #9333ea); background-size: 300% 300%; animation: border 8s linear infinite;
}
@keyframes border { to { background-position: 300% 0; } }
.feature-desc { font-size: 1.14rem; }
.exam-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.exam-chips span { background: var(--soft); color: var(--primary); font-weight: 800; border-radius: 10px; padding: 6px 12px; font-size: .92rem; }
.big-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.big-stats div { background: linear-gradient(160deg, #f5f3ff, #fdf4ff); border-radius: 18px; padding: 14px; text-align: center; }
.big-stats b { display: block; font: 700 2rem/1.1 Fredoka, sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-stats small { color: var(--muted); font-weight: 800; }
.subjects { margin-bottom: 22px; }
.subjects summary { cursor: pointer; font-weight: 800; color: var(--primary); }
.subjects ul { columns: 2; padding-left: 0; list-style: none; margin: 10px 0 0; font-weight: 700; }
.subjects li { margin: 4px 0; break-inside: avoid; }

/* phone + demo question */
.phone { position: relative; justify-self: center; width: 100%; max-width: 340px; border-radius: 40px; background: #1e1b4b; padding: 14px; box-shadow: 0 30px 60px -25px rgba(30, 27, 75, .7); animation: float 6s ease-in-out infinite; }
.phone-notch { width: 90px; height: 20px; border-radius: 0 0 14px 14px; background: #1e1b4b; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2; }
.demo { background: linear-gradient(180deg, #f5f3ff, #fff); border-radius: 28px; padding: 40px 16px 20px; min-height: 440px; }
.demo-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.demo-chip { background: var(--soft); color: var(--primary); font-weight: 800; border-radius: 999px; padding: 4px 10px; font-size: .82rem; }
.demo-xp { font-weight: 900; color: var(--primary-2); font-size: .9rem; transition: transform .3s; }
.demo-xp.bump { transform: scale(1.35); }
.demo-q { font: 600 1.08rem/1.35 Fredoka, sans-serif; margin-bottom: 14px; }
.demo-choices { display: grid; gap: 9px; }
.demo-choices button {
  text-align: left; font: 700 .95rem/1.3 Nunito, sans-serif; color: var(--text); background: #fff; border: 2px solid var(--border);
  border-bottom-width: 4px; border-radius: 14px; padding: 11px 12px; cursor: pointer; transition: transform .12s, border-color .2s, background .2s;
}
.demo-choices button:hover:not(:disabled) { border-color: #c4b5fd; transform: translateY(-1px); }
.demo-choices button:disabled { cursor: default; }
.demo-choices .right { background: #dcfce7; border-color: #4ade80; }
.demo-choices .wrong { background: #ffe4e6; border-color: #fb7185; animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.demo-why { margin: 12px 0 0; font-size: .9rem; background: #fff; border-radius: 12px; padding: 10px 12px; border: 1px dashed #c4b5fd; }
.demo-again { margin-top: 10px; background: none; border: 0; color: var(--primary); font: 800 .92rem Nunito, sans-serif; cursor: pointer; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; border-radius: 40px; }

.audience { margin-top: 34px; }
.audience-title { text-align: center; font-size: 1.6rem; margin-bottom: 16px; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.audience-grid article { background: linear-gradient(160deg, #ffffff, #f5f3ff); border: 2px solid #ddd6fe; border-radius: 22px; padding: 20px; text-align: center; transition: transform .25s, border-color .25s; }
.audience-grid article:hover { transform: translateY(-5px); border-color: var(--primary); }
.audience-grid span { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--grad); font-size: 1.8rem; box-shadow: var(--shadow-sm); margin-bottom: 10px; }
.audience-grid h3, .audience-grid h4 { font: 600 1.1rem/1.2 Fredoka, sans-serif; margin: 0 0 6px; }
.audience-grid p { color: var(--muted); font-size: .94rem; margin: 0; }
.labs-band { margin-top: 34px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: center; background: linear-gradient(135deg, #1e1b4b, #4c1d95 60%, #0c4a6e); color: #fff; border-radius: 30px; padding: 34px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.labs-band::after { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(14, 165, 233, .35), transparent 70%); }
.labs-band h2, .labs-band h3 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 700; }
.labs-band p { color: #ddd6fe; }
.labs-band .kicker { color: #f9a8d4; }
.labs-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.labs-list li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); border-radius: 14px; padding: 10px 12px; font-weight: 700; font-size: .95rem; display: flex; gap: 8px; align-items: center; }
.labs-fine { color: #c4b5fd; font-size: .9rem; margin: -8px 0 20px; }
.labs-list li { overflow-wrap: anywhere; }
.labs-art { position: relative; z-index: 1; }
.lb { background: #fff; color: var(--text); border-radius: 22px; padding: 16px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); animation: float 5s ease-in-out infinite; }
.lb-head { font: 600 1rem Fredoka, sans-serif; margin-bottom: 10px; color: var(--primary); }
.lb-row { display: grid; grid-template-columns: 28px 34px 1fr auto; align-items: center; gap: 6px; padding: 9px 8px; border-radius: 12px; font-weight: 800; font-size: .92rem; }
.lb-row + .lb-row { margin-top: 6px; }
.lb-row.r1 { background: #fef3c7; } .lb-row.r2 { background: #f1f5f9; } .lb-row.r3 { background: #ffedd5; }
.lb-row .av { font-size: 1.3rem; } .lb-row em { font-style: normal; color: var(--primary); }
.labs-band.in .lb-row { animation: slideIn .5s ease both; }
.labs-band.in .r2 { animation-delay: .15s; } .labs-band.in .r3 { animation-delay: .3s; } .labs-band.in .r4 { animation-delay: .45s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.features { margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.features article { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 20px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.features article:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow); }
.features span { font-size: 2rem; display: inline-block; transition: transform .3s; }
.features article:hover span { transform: scale(1.2) rotate(-8deg); }
.features h3 { margin: 8px 0 4px; font-size: 1.15rem; }
.features p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ── Services ── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px 20px 20px; box-shadow: var(--shadow-sm); transition: transform .25s; }
.steps li:hover { transform: translateY(-5px); }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 50%; transform: translateY(-50%); font: 700 1.3rem Fredoka, sans-serif; color: #c4b5fd; z-index: 1; }
.step-n { position: absolute; top: -12px; left: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 .95rem/30px Fredoka, sans-serif; text-align: center; box-shadow: var(--shadow-sm); }
.step-ico { font-size: 2rem; display: block; margin-bottom: 6px; }
.steps h3 { font-size: 1.12rem; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.svc-cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(135deg, #ede9fe, #fce7f3 60%, #e0f2fe); border-radius: 24px; padding: 24px 28px; }
.svc-cta p { margin: 0; max-width: 40em; }

/* ── Coming soon ── */
.brewing { display: flex; align-items: center; gap: 28px; background: linear-gradient(135deg, #1e1b4b, #4c1d95); color: #fff; border-radius: 30px; padding: 34px; box-shadow: var(--shadow); }
.brewing h2 { color: #fff; }
.brewing p { color: #ddd6fe; max-width: 40em; }
.brewing .btn.ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
.cauldron { position: relative; flex: none; width: 110px; height: 110px; display: grid; place-items: center; font-size: 4rem; }
.cauldron img { width: 110px; height: 110px; animation: float 3s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(255, 255, 255, .3)); }
.cauldron i { position: absolute; bottom: 40%; width: 12px; height: 12px; border-radius: 50%; background: #a7f3d0; opacity: 0; animation: bubble 2.6s ease-in infinite; }
.cauldron i:nth-of-type(1) { left: 40%; } .cauldron i:nth-of-type(2) { left: 55%; animation-delay: .9s; width: 8px; height: 8px; } .cauldron i:nth-of-type(3) { left: 48%; animation-delay: 1.7s; width: 10px; height: 10px; background: #f9a8d4; }

/* ── Contact ── */
.contact { text-align: center; background: var(--surface); border-radius: 30px; padding: 40px 24px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact p { color: #3f3a6b; max-width: 36em; margin-inline: auto; }
.mail { display: inline-block; padding: 10px 6px; min-height: 44px; margin-top: 0; font: 600 clamp(1.2rem, 3.5vw, 1.7rem) Fredoka, sans-serif; text-decoration: none; overflow-wrap: anywhere; transition: transform .2s; }
.mail:hover { transform: scale(1.04); }
.mail-txt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Footer ── */
.foot { margin-top: 70px; padding: 30px 0 24px; border-top: 1px solid var(--border); background: rgba(255, 255, 255, .6); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.foot-brand img { width: auto; height: 80px; }
.foot-brand small { display: block; color: var(--muted); font-weight: 700; }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot nav a { color: var(--text); font-weight: 800; text-decoration: none; }
.foot nav a:hover { color: var(--primary); }
.fine { color: var(--muted); font-size: .82rem; margin-top: 18px; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ── Legal pages ── */
.doc { max-width: 820px; margin: 40px auto 0; background: var(--surface); border-radius: 26px; padding: clamp(22px, 5vw, 48px); box-shadow: var(--shadow); border: 1px solid var(--border); }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.doc h2 { font-size: 1.35rem; margin-top: 1.8em; }
.doc li { margin: .35em 0; }
.doc .updated { color: var(--muted); font-weight: 700; }
.doc .callout { background: var(--soft); border-radius: 14px; padding: 14px 16px; font-weight: 600; }
.doc p, .doc li { overflow-wrap: anywhere; }


/* ── Brand tag, flow strip, example card, FAQ, chips ── */
.brand-tag { margin-left: 4px; background: var(--grad); color: #fff; font: 800 .72rem/1 Nunito, sans-serif; letter-spacing: .04em; padding: 5px 8px; border-radius: 999px; text-transform: uppercase; }
.nav a.nav-ext { color: var(--primary); }
.flow { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.flow li { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: .92rem; box-shadow: var(--shadow-sm); }
.flow li + li::before { content: "→ "; color: #c4b5fd; }
.features.six { grid-template-columns: repeat(3, 1fr); }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.example-card { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; background: repeating-linear-gradient(135deg, #fff, #fff 14px, #faf8ff 14px, #faf8ff 28px); border: 3px dashed #c4b5fd; border-radius: 30px; padding: 44px 32px 32px; }
.example-badge { position: absolute; top: -16px; left: 24px; background: #1e1b4b; color: #fff; font-weight: 900; font-size: .85rem; letter-spacing: .03em; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.example-main h3 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; margin-bottom: 6px; }
.example-main p { color: #3f3a6b; }
.example-stats { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; color: var(--muted); }
.example-stats b { font: 700 1.3rem Fredoka, sans-serif; color: var(--primary); margin-right: 3px; }
.subject-chips { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.subject-chips li { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-weight: 800; font-size: .92rem; }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 0 18px; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font: 600 1.08rem/1.3 Fredoka, sans-serif; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--primary); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 16px; color: #3f3a6b; }
.small-note { margin-top: 14px; color: var(--muted); font-weight: 700; }


/* ── Simple layout pieces: brand video, why row, example, CTA with video ── */
.hero-video { justify-self: center; width: 100%; max-width: 560px; background: #f6f9f2; border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid #e9ecdf; }
.brand-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #f6f9f2; }
.whys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.whys > div { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 22px; text-align: center; box-shadow: var(--shadow-sm); }
.whys span { font-size: 2rem; }
.whys h3 { margin: 6px 0 4px; }
.whys p { margin: 0; color: var(--muted); }
.example-simple { position: relative; text-align: center; border: 3px dashed #c4b5fd; border-radius: 28px; padding: 40px 24px 28px; background: rgba(255, 255, 255, .7); }
.example-simple .example-badge { left: 50%; transform: translateX(-50%); white-space: nowrap; }
.example-simple p { color: #3f3a6b; max-width: 34em; margin: 0 auto 18px; }
.example-simple .row { justify-content: center; }
.cta-video { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: #f6f9f2; border: 1px solid #e9ecdf; border-radius: 30px; padding: 24px; box-shadow: var(--shadow); }
.cta-video .brand-video { border-radius: 18px; }
.labs-band .btn.primary { margin-top: 4px; }

/* Example banner on the MedTech page */
.example-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; margin-top: 16px; padding: 10px 16px; border: 2px dashed #c4b5fd; border-radius: 16px; background: rgba(255, 255, 255, .75); font-size: .95rem; }
.example-strip a { font-weight: 800; text-decoration: none; }
.contact.cta-video { text-align: left; }

/* ── Responsive ── */
@media (max-width: 1060px) {
  .menu { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(255, 255, 255, .97); padding: 10px 16px 16px; border-bottom: 1px solid var(--border); box-shadow: 0 20px 30px -20px rgba(30, 27, 75, .4); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px; }
  .menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 760px) {
  .cta-top { display: none; }
}
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .steps li:nth-child(2)::after { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 30px; }
  .hero .row, .mini-stats { justify-content: center; }
  .lead { margin-inline: auto; }
  .hero-art { max-width: 380px; order: -1; }
  .hero-video { order: -1; max-width: 460px; }
  .feature-card, .labs-band, .example-card { grid-template-columns: 1fr; padding: 24px; }
  .example-card { padding-top: 40px; }
  .features.six { grid-template-columns: repeat(2, 1fr); }
  .hero .flow { justify-content: center; }
  .features, .audience-grid, .features.six { grid-template-columns: repeat(2, 1fr); }
  .curve-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .duo, .fun-strip, .steps, .steps.three, .whys, .cta-video { grid-template-columns: 1fr; }
  .cta-video { text-align: center; }
  .steps li::after { display: none; }
  .svc-cta { text-align: center; justify-content: center; }
  .brewing { flex-direction: column; text-align: center; }
  .float-card { font-size: .82rem; padding: 6px 10px; }
  .fc3 { left: 0; } .fc2 { right: 0; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .features, .features.six { grid-template-columns: 1fr 1fr; gap: 10px; }
  .flow li { font-size: .82rem; padding: 5px 10px; }
  .brand-tag { display: none; }
  .features article { padding: 14px; border-radius: 18px; }
  .features h3 { font-size: 1rem; }
  .features p { font-size: .85rem; }
  .subjects ul { columns: 1; }
  .labs-list { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .big-stats b { font-size: 1.6rem; }
  .brand .brand-mascot { height: 40px; }
  .brand .brand-word { height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .curve .draw { stroke-dashoffset: 0; } .curve .dots circle { opacity: 1; }
}
