/*
VOICE: clear, confident exam coach — practical, never hype
IDEA: an OMR answer sheet — you learn by marking bubbles and getting told why
PICTURE: a live practice question in the hero, filled in like an exam sheet
COLOUR and TYPE: Optima Analytics greens — forest field, white sheets, lime for actions; Outfit 600 + Inter
LAYOUT: sky band hero (copy + sheet), white catalogue, ink band for companies, quiet FAQ, ink footer
*/
:root{
  color-scheme:light dark;
  --sky:#1f6a22;--lime:#9fd13c;--sky-2:light-dark(#eef6e1,#16301a);
  --bg:light-dark(#ffffff,#0c1a0e);--paper:light-dark(#ffffff,#142a17);
  --ink:light-dark(#14301a,#e9f4e4);--muted:light-dark(#4d6352,#a9c1a6);
  --line:light-dark(#d8e8cc,#2a4630);--orange:#9fd13c;--deep:#123d16;
  --ok:light-dark(#11804a,#4fd18b);--bad:light-dark(#c2361b,#ff8a6b);
  --head:"Outfit",system-ui,sans-serif;--body:"Inter",system-ui,sans-serif;
}
:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}
*{box-sizing:border-box;min-width:0}
html{scroll-padding-top:80px;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 var(--body);overflow-x:clip}
img,svg{max-width:100%}
a{color:inherit}
h1,h2,h3{font-family:var(--head);font-weight:600;line-height:1.08;text-wrap:balance;margin:0 0 .5em}
h1{font-size:clamp(34px,5vw,54px)}h2{font-size:clamp(28px,3.4vw,40px)}h3{font-size:21px;line-height:1.25}
p{margin:0 0 1em;max-width:66ch}
.wrap{max-width:1240px;margin:0 auto}
.band{padding:clamp(40px,6vw,88px) max(5vw,16px)}
.lead{font-size:18px;color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:999px;border:2px solid transparent;font:600 16px var(--body);text-decoration:none;cursor:pointer}
.btn.primary{background:var(--orange);color:#0f2a12}
.btn.primary:hover{background:#b3df5c}
.btn.ghost{border-color:currentColor;background:transparent;color:inherit}
.btn:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.row{display:flex;flex-wrap:wrap;gap:12px}

/* header */
.top{position:sticky;top:0;z-index:20;background:var(--bg);color:var(--ink);border-bottom:3px solid var(--orange)}
.top .wrap{display:flex;align-items:center;gap:20px;padding:10px max(5vw,16px);max-width:none}
.logo{display:flex;align-items:center;gap:10px;font:600 22px var(--head);text-decoration:none;margin-right:auto}
.logo svg{width:34px;height:34px;flex:none}
.nav{display:flex;gap:4px;flex-wrap:wrap}
.nav a{padding:10px 12px;border-radius:8px;text-decoration:none;font-weight:500}
.nav a:hover,.nav a[aria-current=page]{background:var(--sky-2)}
.menu{display:none;background:none;border:2px solid currentColor;border-radius:8px;min-height:44px;padding:0 14px;font:600 15px var(--body);color:inherit}
@media(max-width:860px){.menu{display:block}.nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--bg);border-bottom:3px solid var(--orange);flex-direction:column;padding:8px 16px 16px}.top.open .nav{display:flex}.top .cta{display:none}}

/* hero */
.hero{background:radial-gradient(120% 140% at 85% 10%,#2f8a2a 0,#1f6a22 45%,#123d16 100%);color:#fff}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(28px,5vw,72px);align-items:center}
.hero h1{font-size:clamp(36px,5.2vw,58px)}
.hero .lead{color:#d9efc6;font-size:19px}
.facts{display:flex;flex-wrap:wrap;gap:10px 28px;margin:26px 0 0;padding:0;list-style:none;font-weight:500}
.facts li{display:flex;gap:8px;align-items:center}
.facts li::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--lime)}
@media(max-width:900px){.hero .wrap{grid-template-columns:1fr}}

/* OMR practice sheet */
.sheet{background:#fff;color:#14301a;border-radius:18px;padding:clamp(20px,3vw,32px);box-shadow:0 24px 0 -10px rgba(18,61,22,.18),0 2px 0 rgba(18,61,22,.08);position:relative}
.sheet::before{content:"";position:absolute;left:0;top:22px;bottom:22px;width:8px;background:repeating-linear-gradient(#14301a 0 6px,transparent 6px 18px);border-radius:0 3px 3px 0;opacity:.85}
.sheet-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px;color:#4d6352;margin-bottom:14px;border-bottom:2px dashed #d8e8cc;padding-bottom:12px}
.sheet-head b{color:#14301a}
.sheet .q{font:600 clamp(18px,2vw,21px)/1.35 var(--head);margin:0 0 18px}
.opts{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.opt{display:flex;align-items:center;gap:14px;width:100%;min-height:52px;padding:8px 14px;border:2px solid #d8e8cc;border-radius:12px;background:#fff;color:#14301a;font:500 16px var(--body);text-align:left;cursor:pointer}
.opt:hover:not(:disabled){border-color:#9fd13c;background:#f5fbec}
.bub{flex:none;width:32px;height:32px;border-radius:50%;border:2px solid #14301a;display:grid;place-items:center;font:600 14px var(--head)}
.opt.picked .bub{background:#f0a020;border-color:#f0a020;color:#2a1600}
.opt.right{border-color:#11804a;background:#ecf8f1}.opt.right .bub{background:#11804a;border-color:#11804a;color:#fff}
.opt.wrong{border-color:#c2361b;background:#fdf0ec}
.opt:disabled{cursor:default}
.why{margin:16px 0 0;padding:14px 16px;border-radius:12px;background:#f2f8ea;font-size:15px;min-height:0}
.why[hidden]{display:none}
.why b{display:block;margin-bottom:2px}
.sheet-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}
.sheet-foot small{color:#4d6352}
.link-btn{background:none;border:0;padding:10px 0;font:600 15px var(--body);color:#14301a;text-decoration:underline;text-underline-offset:4px;cursor:pointer;min-height:44px}
@media (prefers-reduced-motion:no-preference){.opt.picked .bub,.opt.right .bub{animation:mark .35s ease-out}@keyframes mark{from{transform:scale(.4)}to{transform:scale(1)}}}

/* sections */
.sec-head{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:28px}
.sec-head p{margin:0}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.chip{min-height:44px;padding:0 18px;border-radius:999px;border:2px solid var(--line);background:var(--bg);color:var(--ink);font:500 15px var(--body);cursor:pointer}
.chip[aria-pressed=true]{background:var(--deep);border-color:var(--deep);color:#fff}
:root[data-theme=dark] .chip[aria-pressed=true]{background:var(--lime);border-color:var(--lime);color:#0f2a12}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .chip[aria-pressed=true]{background:var(--lime);border-color:var(--lime);color:#0f2a12}}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));gap:20px}
.course{display:flex;flex-direction:column;background:var(--paper);border:2px solid var(--line);border-radius:16px;padding:24px;text-decoration:none}
.course:hover{border-color:var(--lime)}
.course .code{font:600 14px var(--body);color:var(--muted);display:flex;justify-content:space-between;gap:8px}
.course h3{margin:6px 0 8px;font-size:23px}
.course p{color:var(--muted);font-size:15px}
.course .meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:14px;color:var(--muted);margin:auto 0 16px}
.course .price{display:flex;align-items:baseline;justify-content:space-between;gap:10px;border-top:2px dashed var(--line);padding-top:14px}
.price b{font:600 26px var(--head);white-space:nowrap}.price small{color:var(--muted);white-space:nowrap}
.tag{font-size:13px;font-weight:600;padding:3px 10px;border-radius:999px;background:var(--sky-2);color:var(--ink);white-space:nowrap}
.tag.soon{background:#fff1d1;color:#6b4300}
.course.is-bundle{border-color:var(--lime);background:linear-gradient(var(--sky-2),var(--paper) 70%)}

.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none;counter-reset:s}
.steps li{counter-increment:s;border-top:3px solid var(--deep);padding-top:16px}
:root[data-theme=dark] .steps li{border-color:var(--lime)}
.steps li::before{content:counter(s);display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:2px solid currentColor;font:600 17px var(--head);margin-bottom:12px}
.steps p{color:var(--muted);font-size:15px}
@media(max-width:860px){.steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.steps{grid-template-columns:1fr}}

.dark{background:var(--deep);color:#eef7e6}
.dark .lead,.dark p{color:#c3dab8}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:start}
@media(max-width:860px){.split{grid-template-columns:1fr}}
.ticks{list-style:none;margin:0 0 24px;padding:0;display:grid;gap:12px}
.ticks li{display:flex;gap:12px}
.ticks li::before{content:"";flex:none;width:22px;height:22px;margin-top:2px;border-radius:50%;background:var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2314301a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.who{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.who div{border:2px solid #2f5a32;border-radius:14px;padding:16px;font-weight:500}
.who small{display:block;color:#a9c9a0;font-weight:400;margin-top:4px}

details{border-bottom:2px solid var(--line);padding:4px 0}
summary{cursor:pointer;font:600 18px var(--head);padding:16px 36px 16px 0;list-style:none;position:relative;min-height:44px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";position:absolute;right:4px;top:12px;font-size:26px;line-height:1}
details[open] summary::after{content:"–"}
details p{color:var(--muted)}

/* form */
.form{display:grid;gap:14px;background:var(--paper);color:var(--ink);border-radius:18px;padding:clamp(20px,3vw,30px);border:2px solid var(--line)}
.form label{display:grid;gap:6px;font-weight:600;font-size:15px}
.form input,.form select,.form textarea{font:16px var(--body);min-height:48px;padding:10px 14px;border:2px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);width:100%}
.form textarea{min-height:96px;resize:vertical}
.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
@media(max-width:520px){.two{grid-template-columns:1fr}}
.note{font-size:14px;color:var(--muted);margin:0}
.status{font-weight:600;margin:0}

/* course page */
.crumbs{font-size:14px;margin-bottom:18px}.crumbs a{color:inherit}
.c-hero .wrap{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start}
@media(max-width:900px){.c-hero .wrap{grid-template-columns:1fr}}
.buy{background:#fff;color:#14301a;border-radius:18px;padding:24px;box-shadow:0 24px 0 -10px rgba(18,61,22,.18)}
.buy .opt-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:12px 0;border-bottom:2px dashed #d8e8cc}
.buy .opt-row b{font:600 28px var(--head);white-space:nowrap}
.buy .btn{width:100%;margin-top:12px}
.buy small{color:#4d6352}
.cols{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:clamp(28px,5vw,64px)}
@media(max-width:860px){.cols{grid-template-columns:1fr}}
.syl{list-style:none;margin:0;padding:0;counter-reset:m}
.syl li{counter-increment:m;display:flex;gap:16px;padding:14px 0;border-bottom:2px solid var(--line)}
.syl li::before{content:counter(m);flex:none;width:32px;height:32px;border-radius:50%;border:2px solid var(--ink);display:grid;place-items:center;font:600 14px var(--head)}
.box{background:var(--sky-2);border-radius:16px;padding:22px;margin-bottom:20px}
.box h3{margin-bottom:10px}
.box dl{margin:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 16px;font-size:15px}
.box dt{color:var(--muted)}.box dd{margin:0;font-weight:500}

/* legal */
.prose h2{font-size:28px;margin-top:1.6em}
.prose{max-width:760px}

/* footer */
.foot{background:#0f2a12;color:#c3dab8;font-size:15px}
.foot .wrap{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr));gap:32px}
.foot h3{color:#fff;font-size:17px}
.foot ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.foot a{color:#eef7e6}
.foot .fine{grid-column:1/-1;border-top:1px solid #2f5a32;padding-top:20px;font-size:13px;line-height:1.6}
.foot .fine p{max-width:none}
@media(max-width:760px){.foot .wrap{grid-template-columns:1fr}}
.wa{position:fixed;right:16px;bottom:16px;z-index:30;box-shadow:0 8px 24px rgba(18,61,22,.3)}
.wa[hidden]{display:none}

/* Optima Analytics parent brand */
.parent{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#fff;border-radius:14px;padding:12px 16px;margin-top:16px;color:#14301a;max-width:360px}
.parent img{height:46px;width:auto}
.parent span{font-size:13px;line-height:1.3}
.cta-band{background:var(--sky-2)}
.c-hero .crumbs a{color:#fff}
.foot .parent{color:#14301a;text-decoration:none}
.parent img{height:58px}
