/* ERB Academy · erbacademy.org — Atoms / Eole design language: paper, navy, ERB teal, gold; Fredoka + Nunito. */
:root {
  --paper: #FAF8F4; --white: #FFFFFF; --ink: #1B2440; --slate: #5E6678; --line: #E6E2DA;
  --teal: #2F7F70; --teal2: #3E9A88; --tealpale: #E3F2EE; --gold: #E9A92A; --goldpale: #FFF3D6;
  --sun: #FFD966; --mint: #A8E6CF; --lav: #B9B4FF; --sky: #9FD2FF; --coral: #FF9F8C; --peach: #FFC59E;
  --r: 22px; --shadow: 0 1px 2px rgba(27,36,64,.05), 0 12px 32px rgba(27,36,64,.08);
  --display: 'Fredoka', 'Nunito', system-ui, sans-serif; --sans: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--slate); }
.small { font-size: .9rem; }
.kicker { font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--teal); margin-bottom: .6rem; display: inline-block; }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; background: var(--goldpale); color: #7a5300; font-weight: 800; font-size: .82rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 800 1rem var(--sans); padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(47,127,112,.28); }
.btn-primary:hover { background: #276B5E; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 20px rgba(233,169,42,.3); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(250,248,244,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand small { display: block; font: 800 .68rem var(--sans); color: var(--slate); letter-spacing: .06em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 800; padding: .5rem .8rem; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--tealpale); color: var(--teal); }
.nav .btn { margin-left: 6px; }
.cartbtn { position: relative; }
.cartbtn .n { position: absolute; top: -4px; right: -4px; background: var(--gold); color: var(--ink); font-size: .72rem; font-weight: 900; border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 4px; }
.burger { display: none; margin-left: auto; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--paper); padding: 12px 22px 22px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s ease; }
  .nav.open { transform: none; }
  .nav .btn { margin: 6px 0 0; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.hero h1 .hl { color: var(--teal); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--sun); z-index: -1; border-radius: 6px; transform-origin: left; animation: sweep 1s .6s both cubic-bezier(.2,.8,.2,1); }
.hero .lead { font-size: 1.2rem; color: var(--slate); max-width: 34em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 14px; }
.hero-art { position: relative; height: 540px; }
.hero-art .phone { position: absolute; right: 8%; top: 10px; width: 270px; animation: floaty 6s ease-in-out infinite; }
.hero-art .eole { position: absolute; left: 0; bottom: 0; width: 250px; animation: bob 4.5s ease-in-out infinite; filter: drop-shadow(0 18px 24px rgba(27,36,64,.18)); }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1; animation: drift 14s ease-in-out infinite alternate; }
.orb.a { width: 420px; height: 420px; background: var(--mint); top: -120px; right: -80px; }
.orb.b { width: 360px; height: 360px; background: var(--sun); bottom: -160px; left: -120px; animation-delay: -5s; }
.orb.c { width: 260px; height: 260px; background: var(--lav); top: 30%; left: 45%; animation-delay: -9s; opacity: .35; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; color: var(--slate); font-weight: 700; font-size: .95rem; }
.trust b { color: var(--ink); font-family: var(--display); font-size: 1.4rem; display: block; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { height: 430px; } .hero-art .phone { width: 220px; right: 4%; } .hero-art .eole { width: 190px; } }

/* phone frame */
.phone { border-radius: 38px; padding: 9px; background: #12162a; box-shadow: 0 30px 60px rgba(27,36,64,.28), inset 0 0 0 2px #3a4466; }
.phone img { border-radius: 30px; width: 100%; }

/* choice cards */
section { padding: 70px 0; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.choice { position: relative; border-radius: var(--r); padding: 26px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; transition: transform .25s ease, box-shadow .25s; overflow: hidden; }
.choice:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(27,36,64,.14); }
.choice .tag { position: absolute; top: 16px; right: 16px; }
.choice .price { font-family: var(--display); font-size: 2rem; font-weight: 700; }
.choice .price small { font: 700 .95rem var(--sans); color: var(--slate); }
.choice ul { margin: 0; padding-left: 1.1em; color: var(--slate); }
.choice .btn { margin-top: auto; }
.choice.atoms { background: linear-gradient(160deg, #E3F2EE, #FFFFFF 60%); border-color: #BFE3D8; }
.choice.exam { background: linear-gradient(160deg, #FFF3D6, #FFFFFF 60%); border-color: #F3DDA4; }
.choice.book { background: linear-gradient(160deg, #EEEBFF, #FFFFFF 60%); border-color: #D9D5FF; }
.choice .ic { font-size: 2.2rem; }
@media (max-width: 900px) { .choices { grid-template-columns: 1fr; } }

/* bands */
.band { background: var(--ink); color: #fff; border-radius: 32px; padding: 42px; position: relative; overflow: hidden; }
.band h2 { color: #fff; }
.band p { color: #C9CFE3; }
.band .orb { opacity: .35; }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 34px 0; }
.feature.flip .ftext { order: 2; }
.feature .fshot { display: flex; justify-content: center; position: relative; }
.feature .fshot .phone { width: 290px; }
.feature .fshot .blob { position: absolute; inset: 10% 15%; border-radius: 40% 60% 55% 45%; z-index: -1; filter: blur(4px); animation: morph 12s ease-in-out infinite; }
.feature ul.ticks { list-style: none; padding: 0; margin: 0; }
.feature ul.ticks li { padding: .3rem 0 .3rem 1.8rem; position: relative; }
.feature ul.ticks li::before { content: '✓'; position: absolute; left: 0; top: .3rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--tealpale); color: var(--teal); font-weight: 900; font-size: .8rem; display: grid; place-items: center; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 26px; } .feature.flip .ftext { order: 0; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.plan.best { border: 2px solid var(--teal); transform: scale(1.03); }
.plan .price { font-family: var(--display); font-size: 2.4rem; font-weight: 700; }
.plan .price small { font: 700 1rem var(--sans); color: var(--slate); }
.plan ul { padding-left: 1.1em; color: var(--slate); margin: 6px 0 12px; }
.plan .btn { margin-top: auto; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan.best { transform: none; } }

/* demo player */
.demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.demo .screen { position: relative; width: 300px; margin: 0 auto; }
.demo .screen img.shot { position: absolute; inset: 9px; width: calc(100% - 18px); border-radius: 30px; opacity: 0; transition: opacity .6s ease; }
.demo .screen img.shot.on { opacity: 1; }
.demo .screen .phone { aspect-ratio: 390 / 844; }
.demo ol { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.demo ol li { counter-increment: s; padding: 14px 16px 14px 58px; position: relative; border-radius: 16px; cursor: pointer; transition: background .2s; }
.demo ol li::before { content: counter(s); position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-weight: 900; transition: background .2s, color .2s; }
.demo ol li.on { background: var(--white); box-shadow: var(--shadow); }
.demo ol li.on::before { background: var(--teal); color: #fff; }
.demo ol li .bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 8px; overflow: hidden; display: none; }
.demo ol li.on .bar { display: block; }
.demo ol li.on .bar i { display: block; height: 100%; background: var(--teal); animation: fill 4.5s linear forwards; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }

/* shop */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 18px; }
.chip { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: .5rem .95rem; font: 800 .92rem var(--sans); cursor: pointer; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.search { width: 100%; max-width: 520px; padding: .9rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); font: 600 1rem var(--sans); background: var(--white); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(27,36,64,.12); }
.card .k { font-weight: 900; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; }
.card .k.examfile { color: #9a6a00; } .card .k.booklet { color: #5a4fd6; } .card .k.pack, .card .k.combo { color: var(--teal); }
.card h3 { font-size: 1.08rem; margin: 0; }
.card .desc { font-size: .92rem; color: var(--slate); }
.card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card .p { font-family: var(--display); font-size: 1.35rem; font-weight: 700; }
.lvl { display: inline-block; font-size: .75rem; font-weight: 800; padding: .15rem .55rem; border-radius: 999px; background: var(--tealpale); color: var(--teal); }

/* cart drawer */
.drawer { position: fixed; inset: 0 0 0 auto; width: min(440px, 100%); background: var(--paper); z-index: 80; box-shadow: -20px 0 50px rgba(27,36,64,.2); transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer .body { padding: 18px 20px; overflow: auto; flex: 1; }
.drawer .line { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.drawer form label { display: block; font-weight: 800; font-size: .9rem; margin: 10px 0 4px; }
.drawer input, .drawer select { width: 100%; padding: .75rem .9rem; border-radius: 12px; border: 1px solid var(--line); font: 600 1rem var(--sans); background: var(--white); }
.scrim { position: fixed; inset: 0; background: rgba(27,36,64,.35); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.err { color: #C0392B; font-weight: 700; min-height: 1.2em; }

/* faq */
details.faq { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin: 10px 0; }
details.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
details.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--teal); transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }

/* Eole helper */
.eole-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 74px; height: 74px; border-radius: 50%; border: 0; cursor: pointer; background: var(--white); box-shadow: 0 12px 30px rgba(27,36,64,.25); padding: 4px; animation: bob 4s ease-in-out infinite; }
.eole-fab img { width: 100%; height: 100%; object-fit: contain; }
.eole-fab .dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; background: var(--gold); border-radius: 50%; border: 2px solid #fff; }
.eole-panel { position: fixed; right: 18px; bottom: 104px; z-index: 61; width: min(380px, calc(100% - 36px)); max-height: min(560px, calc(100vh - 140px)); background: var(--white); border-radius: 24px; box-shadow: 0 24px 60px rgba(27,36,64,.3); display: flex; flex-direction: column; overflow: hidden; transform: translateY(20px) scale(.96); opacity: 0; pointer-events: none; transition: all .28s cubic-bezier(.2,.8,.2,1); }
.eole-panel.open { transform: none; opacity: 1; pointer-events: auto; }
.eole-panel header { background: var(--teal); color: #fff; padding: 12px 16px; display: flex; gap: 10px; align-items: center; }
.eole-panel header img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 50%; }
.eole-panel header b { font-family: var(--display); font-size: 1.1rem; display: block; }
.eole-panel header button { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; }
.eole-panel .msgs { padding: 14px; overflow: auto; flex: 1; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: .95rem; animation: pop .25s ease both; }
.msg.e { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.u { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opts button, .opts a { border: 1px solid var(--teal); color: var(--teal); background: var(--white); border-radius: 999px; padding: .45rem .8rem; font: 800 .86rem var(--sans); cursor: pointer; text-decoration: none; }
.opts button:hover, .opts a:hover { background: var(--teal); color: #fff; }

/* footer */
footer.site { background: var(--ink); color: #C9CFE3; padding: 50px 0 30px; margin-top: 40px; }
footer.site a { color: #fff; text-decoration: none; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
footer.site h4 { color: #fff; font-family: var(--display); margin: 0 0 10px; }
footer.site ul { list-style: none; padding: 0; margin: 0; } footer.site li { margin: 6px 0; }
@media (max-width: 900px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }

/* motion */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
.ticker { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding: 14px 0; background: var(--white); }
.ticker .row { display: inline-flex; gap: 40px; animation: marquee 38s linear infinite; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--slate); }
.ticker .row span::before { content: '⚛'; color: var(--teal); margin-right: 12px; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-16px) rotate(-1deg); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,-30px) scale(1.12); } }
@keyframes sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes morph { 0%,100% { border-radius: 40% 60% 55% 45%; } 50% { border-radius: 58% 42% 45% 55%; } }
@keyframes fill { from { width: 0; } to { width: 100%; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cartbtn .n[hidden] { display: none; }
.cartbtn { text-decoration: none; font-size: 1.15rem; padding: .4rem .6rem !important; }
.card .foot { flex-wrap: wrap; row-gap: 10px; }
.card .p { white-space: nowrap; }
.card .foot > span:last-child { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* ===== v2.2: calmer finish, floating notifications, community stage ===== */
:root { --paper: #F7F6F3; }
.choice.atoms, .choice.exam, .choice.book { background: var(--white); border-color: var(--line); }
.choice::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; }
.choice.atoms::before { background: var(--teal); } .choice.exam::before { background: var(--gold); } .choice.book::before { background: #8F86F0; }
.orb { opacity: .35; }
.notif { position: absolute; z-index: 3; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; padding: 9px 13px; box-shadow: 0 14px 32px rgba(27,36,64,.14); display: flex; flex-direction: column; font-size: .85rem; min-width: 190px; opacity: 0; animation: notifIn 9s ease-in-out infinite; }
.notif b { font-weight: 900; } .notif span { color: var(--slate); font-size: .8rem; }
.notif.n1 { right: 0; top: 40px; animation-delay: .4s; } .notif.n2 { left: 24%; top: 4px; animation-delay: 2.6s; } .notif.n3 { right: 2%; top: 300px; animation-delay: 4.8s; } .notif.n4 { left: 30%; bottom: 40px; animation-delay: 7s; }
@keyframes notifIn { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 6%, 26% { opacity: 1; transform: none; } 32%, 100% { opacity: 0; transform: translateY(-10px) scale(.98); } }
.social { background: linear-gradient(180deg, transparent, #EEF2EF 30%, #EEF2EF 70%, transparent); overflow: hidden; }
.stage { position: relative; height: 560px; margin: 10px auto 30px; max-width: 980px; }
.stage .ph { position: absolute; width: 230px; transition: transform .4s; } .stage .ph .phone { width: 100%; }
.stage .p1 { left: 4%; top: 60px; transform: rotate(-8deg); animation: floaty 7s ease-in-out infinite; }
.stage .p2 { left: 28%; top: 0; transform: rotate(-2deg); animation: floaty 8s ease-in-out infinite -2s; z-index: 2; }
.stage .p3 { right: 28%; top: 30px; transform: rotate(3deg); animation: floaty 7.5s ease-in-out infinite -4s; z-index: 2; }
.stage .p4 { right: 4%; top: 80px; transform: rotate(8deg); animation: floaty 9s ease-in-out infinite -1s; }
.stage .ph:hover { z-index: 5; }
.bub { position: absolute; z-index: 6; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem; font-weight: 900; font-size: .9rem; box-shadow: 0 10px 26px rgba(27,36,64,.12); animation: bob 5s ease-in-out infinite; }
.bub.b1 { left: 0; top: 10px; } .bub.b2 { left: 22%; bottom: 40px; animation-delay: -1s; } .bub.b3 { right: 22%; top: -6px; animation-delay: -2s; } .bub.b4 { right: 0; bottom: 70px; animation-delay: -3s; } .bub.b5 { left: 44%; bottom: 0; animation-delay: -1.5s; } .bub.b6 { right: 2%; top: 20px; animation-delay: -2.5s; }
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scard { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.scard span { font-size: 1.6rem; display: block; margin-bottom: 4px; } .scard b { font-family: var(--display); font-size: 1.15rem; } .scard p { color: var(--slate); margin: 4px 0 0; font-size: .95rem; }
@media (max-width: 900px) {
  .stage { height: 440px; } .stage .ph { width: 170px; } .stage .p1 { left: -4%; } .stage .p4 { right: -4%; } .stage .p2 { left: 18%; } .stage .p3 { right: 18%; }
  .sgrid { grid-template-columns: 1fr; } .notif { min-width: 160px; font-size: .78rem; } .notif.n2 { left: 0; } .notif.n4 { left: 0; }
}
@media (max-width: 520px) { .stage .p1, .stage .p4 { display: none; } .stage .p2 { left: 2%; } .stage .p3 { right: 2%; } .bub { font-size: .78rem; } }
.once { font: 800 .72rem var(--sans); color: var(--slate); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 8px; }
.btn, .chip, .nav a { min-height: 44px; } .btn-sm { min-height: 38px; }
.gift { margin: 2px 0 4px; font-size: .9rem; color: var(--ink); background: var(--goldpale); border-radius: 12px; padding: .5rem .7rem; }
.giftbar { margin: 4px 0 14px; padding: .8rem 1rem; border-radius: 16px; background: var(--goldpale); border: 1px solid #F3DDA4; font-size: .98rem; }
.card .inc { font-size: .82rem; font-weight: 800; color: #7a5300; background: var(--goldpale); border-radius: 10px; padding: .3rem .55rem; align-self: flex-start; }

/* WhatsApp channel: top bar + home card */
.wa-bar { display: flex; align-items: center; gap: 10px; justify-content: center; padding: 10px 16px; background: #128C4A; color: #fff; text-decoration: none; font-size: .95rem; line-height: 1.35; text-align: left; }
.wa-bar:hover { background: #0F7A40; } .wa-bar b { color: #fff; } .wa-more { opacity: .92; text-decoration: underline; text-underline-offset: 3px; }
.wa-ic, .wa-btn::before { width: 22px; height: 22px; flex: none; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M16 3a13 13 0 0 0-11.2 19.6L3 29l6.6-1.7A13 13 0 1 0 16 3zm0 23.6c-2 0-4-.6-5.7-1.6l-.4-.2-3.9 1 1-3.8-.3-.4A10.6 10.6 0 1 1 16 26.6zm5.8-7.9c-.3-.2-1.9-.9-2.2-1-.3-.1-.5-.2-.7.2l-1 1.2c-.2.2-.4.2-.7.1-.3-.2-1.4-.5-2.6-1.6-1-.9-1.6-1.9-1.8-2.2-.2-.3 0-.5.1-.7l.5-.6.3-.5v-.5l-1-2.4c-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-.3.3-1.2 1.1-1.2 2.8s1.2 3.2 1.4 3.5c.2.2 2.4 3.7 5.8 5.1 2.8 1.1 3.4.9 4 .8.6-.1 1.9-.8 2.2-1.5.3-.8.3-1.4.2-1.5 0-.2-.3-.3-.6-.4z'/%3E%3C/svg%3E"); display: inline-block; }
.wa-go { font-size: 1.4rem; line-height: 1; }
@media (max-width: 560px) { .wa-more { display: none; } .wa-bar { font-size: .88rem; } }
.wa-sec { padding: 28px 0 8px; }
.wa-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; background: linear-gradient(135deg, #E8F8EE, #F6FFF9); border: 1.5px solid #BFE8CF; border-radius: 28px; padding: 30px; }
.wa-card h2 { margin: 6px 0 8px; font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.1; }
.wa-list { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 8px; } .wa-list li { padding-left: 30px; position: relative; } .wa-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #25D366; color: #fff; font: 900 .8rem/22px sans-serif; text-align: center; }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; background: #25D366 !important; color: #08341C !important; border: 0 !important; font-weight: 800; box-shadow: 0 10px 24px rgba(37,211,102,.35); }
.wa-btn::before { content: ""; filter: brightness(0) saturate(100%) invert(14%) sepia(34%) saturate(1230%) hue-rotate(104deg); }
.wa-note { margin-top: 10px; }
.wa-art { display: flex; justify-content: center; } .wa-phone { width: 100%; max-width: 300px; background: #ECE5DD; border-radius: 26px; padding: 18px 14px; box-shadow: 0 20px 40px rgba(18,140,74,.18); border: 6px solid #fff; display: grid; gap: 10px; }
.wa-msg { background: #fff; border-radius: 4px 14px 14px 14px; padding: 10px 12px; font-size: .9rem; color: #1B2440; box-shadow: 0 1px 2px rgba(0,0,0,.08); animation: wapop .6s both; } .wa-msg.b { animation-delay: .5s; } .wa-msg.c { animation-delay: 1s; background: #DCF8C6; justify-self: end; border-radius: 14px 4px 14px 14px; }
@keyframes wapop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .wa-msg { animation: none; } }
@media (max-width: 760px) { .wa-card { grid-template-columns: 1fr; padding: 22px; } .wa-art { order: -1; } }

/* ---------- Element (primary school) · added 8 Oct 2026 ---------- */
.choices { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) { .choices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .choices { grid-template-columns: 1fr; } }
.choice.element { background: linear-gradient(160deg, #DDF3F2, #FFFFFF 60%); border-color: #B5DEDA; }
.el-strip { display: flex; align-items: center; gap: 14px; margin: 18px auto 0; max-width: 860px; padding: 12px 18px; border-radius: var(--r); background: linear-gradient(120deg, #DDF3F2, #FFF6DA); border: 1px solid #B5DEDA; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.el-strip img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.el-strip .go { margin-left: auto; font-weight: 800; color: var(--teal); white-space: nowrap; }
.el-strip:hover { transform: translateY(-2px); transition: transform .2s; }
@media (max-width: 640px) { .el-strip { flex-wrap: wrap; } .el-strip .go { margin-left: 70px; } }
.el-hero { background: radial-gradient(900px 420px at 85% 10%, #DDF3F2, transparent 70%); }
.el-banner { margin: 0; border-radius: 28px; overflow: hidden; position: relative; box-shadow: var(--shadow); background: #DDF3F2; }
.el-banner img { width: 100%; height: auto; aspect-ratio: 1200 / 480; object-fit: cover; }
.el-banner figcaption { position: absolute; left: 18px; bottom: 18px; right: 18px; max-width: 560px; background: rgba(255,255,255,.92); border-radius: 16px; padding: 10px 14px; font-size: .95rem; }
@media (max-width: 640px) { .el-banner figcaption { position: static; max-width: none; border-radius: 0; } }
.el-plans { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
@media (max-width: 900px) { .el-plans { grid-template-columns: 1fr; } }
.choices .choice .price small { display: block; margin-top: 4px; line-height: 1.35; font-size: .88rem; }
.choices .choice { padding: 24px 22px; }
.phone img { height: auto; }

/* Atoms with Element inside (v1.2) */
.nav a .navin{display:inline-block;margin-left:5px;padding:1px 6px;border-radius:999px;background:var(--tealpale);color:var(--teal);font:800 .62rem var(--sans);letter-spacing:.02em;vertical-align:2px;text-transform:uppercase}
.choices.v2{grid-template-columns:repeat(2,1fr)}
.duo{grid-column:1/-1;border-radius:28px;padding:26px;background:linear-gradient(135deg,#1B2440 0%,#24345A 100%);color:#fff;box-shadow:var(--shadow);position:relative;overflow:hidden}
.duo-head{display:flex;gap:16px;align-items:center;margin-bottom:18px}.duo-head img{width:72px;height:72px;object-fit:contain;flex:none}
.duo-head h3{color:#fff;font-size:1.7rem;margin:2px 0 6px}.duo-head .muted{color:#C9CFE3;margin:0;max-width:760px}.duo .kicker{color:var(--sun)}
.duo-row{display:grid;grid-template-columns:1fr auto 1.08fr;gap:16px;align-items:stretch}
.duo-pane{border-radius:22px;padding:22px;display:flex;flex-direction:column;gap:8px;color:var(--ink)}
.duo-pane.atoms{background:#fff}
.duo-pane.element{background:linear-gradient(140deg,#DDF3F2,#FFF6DA);border:2px dashed #2F7F70;box-shadow:inset 0 0 0 6px rgba(255,255,255,.55)}
.duo-pane h4{font-family:var(--display);font-size:1.6rem;margin:0;display:flex;align-items:center;gap:8px}.duo-pane p{margin:0;color:var(--slate)}
.duo-hermes{width:44px;height:44px;object-fit:contain}
.duo-k{font:800 .78rem var(--sans);letter-spacing:.04em;text-transform:uppercase;color:var(--teal)}.duo-pane.atoms .duo-k{color:#3B4A8F}
.duo-pane .price{font-family:var(--display);font-size:1.7rem;font-weight:700}.duo-pane .price small{font:700 .9rem var(--sans);color:var(--slate)}
.duo-cta{margin-top:auto;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.btn-teal{background:var(--teal);color:#fff}.btn-teal:hover{filter:brightness(1.08)}
.duo-switch{align-self:center;display:flex;flex-direction:column;align-items:center;gap:6px}
.duo-switch span{display:block;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font:800 .9rem var(--sans)}
.duo-switch span.on{background:#2F7F70}.duo-switch small{color:#C9CFE3;font-weight:700}
@media(max-width:860px){.choices.v2{grid-template-columns:1fr}.duo{padding:18px}.duo-row{grid-template-columns:1fr}.duo-switch{flex-direction:row}.duo-head img{width:56px;height:56px}.duo-head h3{font-size:1.35rem}}
.duo-pane .price{line-height:1.1}.duo-pane .price small{display:block;margin-top:4px;line-height:1.4}
/* Gratis PSAC (Grade 6) */
.nav a.nav-psac{background:var(--goldpale);border:1px solid #F3DDA4;border-radius:999px;padding-left:.85rem;padding-right:.85rem;font-weight:900;color:#7a5300}
.nav a.nav-psac[aria-current="page"]{background:#F3DDA4}
.elico{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;padding:.25rem .65rem .25rem .3rem;border-radius:999px;background:var(--tealpale);color:var(--teal);font:800 .8rem var(--sans);text-decoration:none;border:1px solid rgba(15,138,148,.25)}
.elico img{width:24px;height:24px;border-radius:50%;object-fit:cover;background:#fff}
.elico:hover{background:#d9f0f1}
#psac{display:grid;gap:22px;margin-top:22px}
.psac-card{display:grid;grid-template-columns:200px 1fr;gap:24px;background:var(--white);border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:var(--shadow)}
.psac-cov{position:relative;display:block;border-radius:14px;overflow:hidden;box-shadow:0 12px 28px rgba(27,36,64,.22);align-self:start}
.psac-cov img{display:block;width:100%;height:auto}
.psac-cov span{position:absolute;left:10px;bottom:10px;background:var(--gold, #E9B949);color:#1B2440;font:900 .72rem var(--sans);letter-spacing:.06em;text-transform:uppercase;padding:.3rem .6rem;border-radius:999px}
.psac-body{display:flex;flex-direction:column;gap:9px}
.psac-body h3{margin:0;font-size:1.35rem}
.psac-f{margin:4px 0 2px;padding-left:1.1rem;color:var(--slate);font-size:.95rem}
.psac-f li{margin:2px 0}
.psac-buy{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:6px}
.psac-full{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}
.psac-full .p{font-family:var(--display);font-size:1.35rem;font-weight:700;white-space:nowrap}
.psac-note{margin-top:22px;padding:1rem 1.1rem;border-radius:18px;background:var(--tealpale);border:1px solid rgba(15,138,148,.2);display:flex;gap:14px;align-items:center}
.psac-note img{width:64px;height:64px;flex:none}
@media (max-width:640px){.psac-card{grid-template-columns:1fr;padding:16px}.psac-cov{max-width:220px;margin:0 auto}.psac-buy .btn{width:100%}.psac-full{width:100%;justify-content:space-between}}
.nav a,.brand span{white-space:nowrap}
@media (min-width:901px) and (max-width:1380px){.nav{gap:0}.nav a{padding:.5rem .55rem}.nav a.nav-psac{padding-left:.7rem;padding-right:.7rem}.nav .btn{margin-left:3px}.nav a .navin{display:none}}
@media (min-width:901px) and (max-width:1100px){.brand small{display:none}.nav a{padding:.45rem .4rem;font-size:.92rem}.nav .btn-sm{padding-left:.7rem;padding-right:.7rem}}
@media (min-width:901px) and (max-width:990px){.brand span{font-size:.92rem}.brand img{width:40px;height:auto}.nav a{padding:.4rem .32rem}}
/* contrast (WCAG AA) */
.kicker{color:#23695C}
.btn-wa{background:#13853F}
/* free version + daily predictions on WhatsApp */
.wa-free{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.wa-free svg{flex:none}
.wa-ch{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.wa-ch svg{flex:none}
/* PSAC buying options */
.psac-opts{display:grid;gap:10px;margin-top:8px}
.psac-opt{position:relative;display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:#fff}
.psac-opt.best{border:2px solid var(--gold);background:var(--goldpale);padding-top:18px}
.psac-best{position:absolute;top:-11px;left:14px;background:var(--gold);color:#1B2440;font:900 .7rem var(--sans);letter-spacing:.05em;text-transform:uppercase;padding:.2rem .6rem;border-radius:999px}
.psac-on{display:flex;flex-direction:column;gap:2px}
.psac-opt .p{font-family:var(--display);font-size:1.25rem;font-weight:700;white-space:nowrap}
@media (max-width:640px){.psac-opt{grid-template-columns:1fr auto}.psac-opt .btn{grid-column:1 / -1;width:100%}}

.ch-line{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;font-weight:700;color:#13853F;margin:8px 0 0;text-decoration:none}
.ch-line:hover{text-decoration:underline}
.ch-line svg{flex:none}
/* payment upload page (/pay/) */
.payform label { display: block; font-weight: 800; font-size: .95rem; margin: 12px 0 4px; }
.payform input { width: 100%; min-height: 48px; padding: .75rem .9rem; border-radius: 12px; border: 1px solid var(--line); font: 600 1rem var(--sans); background: var(--white); }
.payform input[type=file] { padding: .6rem; }
.payinfo { margin: 10px 0 0; padding: 12px 14px; border-radius: 14px; background: #E3F2EE; color: #1B2440; font-weight: 700; }
