/* KursusMatematika.com — static landing */
:root {
  --ink: #1D2B4F;
  --ink-2: #44506F;
  --muted: #6B7591;
  --bg: #FFFBF3;
  --tint: #FFF3DC;
  --line: #EDE3CF;
  --white: #fff;
  --y: #FFC531;
  --y-soft: #FFF0BF;
  --c: #FF6B4A;
  --c-soft: #FFE1D8;
  --t: #13A89E;
  --t-soft: #D5F4EF;
  --b: #4C8DFF;
  --b-soft: #DDE9FF;
  --p: #7A5CF0;
  --r: 22px;
  --shadow: 0 10px 30px rgba(29, 43, 79, .10);
  --font-h: "Baloo 2", system-ui, sans-serif;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-h); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--b); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); font-size: .95rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 10px 18px; font-size: .95rem; }
.btn--primary { background: var(--c); color: #fff; box-shadow: 0 6px 0 #D9472A; }
.btn--primary:hover { box-shadow: 0 8px 0 #D9472A; }
.btn--primary:active { box-shadow: 0 3px 0 #D9472A; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-l { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn--ghost-l:hover { background: #fff; color: var(--ink); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 251, 243, .88); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-h); font-weight: 700; font-size: 1.35rem; }
.brand b { color: var(--c); font-weight: 800; }
.brand__mark { width: 40px; height: 40px; }
.brand--light { color: #fff; }
.brand--light b { color: var(--y); }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a:not(.btn) { text-decoration: none; font-weight: 700; color: var(--ink-2); }
.menu a:not(.btn):hover { color: var(--c); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.burger span { display: block; height: 3px; background: var(--ink); border-radius: 3px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* hero */
.hero { position: relative; padding: 48px 0 90px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 85% 20%, var(--y-soft) 0 180px, transparent 181px),
  radial-gradient(circle at 8% 90%, var(--t-soft) 0 140px, transparent 141px);
  z-index: -1; }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c); margin-bottom: 14px; }
.eyebrow--light { color: var(--y); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: .08em; height: .38em; border-radius: 6px; z-index: -1; transform-origin: left; animation: mark 0.8s cubic-bezier(.2,.8,.2,1) both; }
.hl--y::after { background: var(--y); animation-delay: .3s; }
.hl--t::after { background: #8EE3D8; animation-delay: .6s; }
.hl--c::after { background: #FFB7A6; animation-delay: .9s; }
@keyframes mark { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.hero__art { position: relative; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: var(--tint); clip-path: ellipse(75% 100% at 50% 100%); }

/* hero svg motion */
.stage { width: 100%; height: auto; overflow: visible; }
.svg-label { font-family: var(--font-h); font-weight: 700; font-size: 22px; fill: var(--muted); }
.svg-eq { font-family: var(--font-h); font-weight: 800; font-size: 40px; fill: var(--ink); }
.eq-a { fill: var(--p); }
.eq-b { fill: var(--c); }
.tile { font-family: var(--font-h); font-weight: 800; font-size: 36px; text-anchor: middle; fill: var(--ink); }
.tile--w { fill: #fff; }
.d { fill: var(--c); transform-box: fill-box; transform-origin: center; animation: pop 10s infinite both; }
.d--b { fill: var(--t); }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .25s; } .d3 { animation-delay: .4s; } .d4 { animation-delay: .55s; }
.d5 { animation-delay: .7s; } .d6 { animation-delay: .85s; } .d7 { animation-delay: 1s; } .d8 { animation-delay: 1.15s; }
.d--stay { animation-delay: 2s; }
.d--move { animation: popmove 10s infinite both; animation-delay: 2s; }
@keyframes pop {
  0% { opacity: 0; transform: scale(0); }
  4% { opacity: 1; transform: scale(1.15); }
  6%, 82% { opacity: 1; transform: scale(1); }
  88%, 100% { opacity: 0; transform: scale(.6); }
}
@keyframes popmove {
  0% { opacity: 0; transform: translate(134px, 0) scale(0); }
  4% { opacity: 1; transform: translate(134px, 0) scale(1.15); }
  6%, 22% { opacity: 1; transform: translate(134px, 0) scale(1); }
  27% { transform: translate(60px, -24px) scale(1.1); }
  32%, 82% { opacity: 1; transform: translate(0, 0) scale(1); }
  88%, 100% { opacity: 0; transform: translate(0, 0) scale(.6); }
}
.eq-a, .eq-b { opacity: 0; animation: show 10s infinite both; }
.eq-a { animation-delay: 5.6s; }
.eq-b { animation-delay: 6.6s; }
@keyframes show { 0% { opacity: 0; } 4%, 26% { opacity: 1; } 32%, 100% { opacity: 0; } }
.float { animation: bob 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.f2 { animation-duration: 6s; animation-delay: -1s; }
.f3 { animation-duration: 5.5s; animation-delay: -2s; }
.f4 { animation-duration: 6.5s; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(6deg); } }
.spin { animation: spin 14s linear infinite; transform-box: fill-box; transform-origin: center; }
.spin--rev { animation-direction: reverse; animation-duration: 18s; }
@keyframes spin { to { transform: rotate(360deg); } }
.pulse { animation: pulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: .5; } }

/* sections */
.sec { padding: 92px 0; }
.sec--tint { background: var(--tint); }
.sec--ink { background: var(--ink); color: #fff; }
.sec__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sub { color: var(--ink-2); font-size: 1.08rem; }

/* learning loop */
.loop { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.loop__item { background: #fff; border-radius: var(--r); padding: 26px 24px; box-shadow: var(--shadow); position: relative; }
.loop__item p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.loop__item:not(:last-child)::after { content: "→"; position: absolute; right: -19px; top: 50px; font-weight: 800; font-size: 1.3rem; color: var(--c); }
.loop__ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 16px; }
.loop__ic svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.loop__ic svg .fill { fill: var(--ink); }
.ic--y { background: var(--y-soft); } .ic--t { background: var(--t-soft); } .ic--c { background: var(--c-soft); } .ic--b { background: var(--b-soft); }
.loop__item:hover .loop__ic svg { animation: wiggle .5s ease; }
@keyframes wiggle { 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }

/* program cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border-radius: var(--r); padding: 26px 24px 22px; border-top: 8px solid; box-shadow: var(--shadow); transition: transform .2s; }
.card:hover { transform: translateY(-6px); }
.card--y { border-color: var(--y); } .card--t { border-color: var(--t); } .card--c { border-color: var(--c); } .card--b { border-color: var(--b); }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tag { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 8px; }
.card--y .tag { background: var(--y-soft); } .card--t .tag { background: var(--t-soft); } .card--c .tag { background: var(--c-soft); } .card--b .tag { background: var(--b-soft); }
.age { font-size: .85rem; color: var(--muted); font-weight: 700; }
.card ul { list-style: none; padding: 0; margin: 0; }
.card li { padding: 7px 0 7px 26px; position: relative; border-top: 1px dashed var(--line); font-size: .97rem; }
.card li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 10px; border-radius: 3px; background: currentColor; opacity: .25; }
.card--y li::before { background: var(--y); opacity: 1; } .card--t li::before { background: var(--t); opacity: 1; } .card--c li::before { background: var(--c); opacity: 1; } .card--b li::before { background: var(--b); opacity: 1; }

/* metode */
.metode { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.metode__text p { color: #D4DAEA; }
.steps { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; counter-reset: st; }
.steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; background: rgba(255,255,255,.07); border-radius: 16px; padding: 12px 16px; counter-increment: st; }
.steps li::before { content: counter(st); grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--y); color: var(--ink); display: grid; place-items: center; font-family: var(--font-h); font-weight: 800; font-size: 1.3rem; }
.steps b { font-family: var(--font-h); font-size: 1.15rem; }
.steps span { color: #C5CDE2; font-size: .95rem; }
.note { border-left: 4px solid var(--y); padding-left: 14px; font-size: .97rem; }

.demo { background: #fff; color: var(--ink); border-radius: 28px; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.demo__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.demo__head h3 { margin: 0; }
.demo__badge { background: var(--c-soft); color: #C2401F; font-weight: 800; font-size: .78rem; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.demo__q { font-family: var(--font-h); font-weight: 800; font-size: 2.4rem; margin: 6px 0 14px; min-height: 1.3em; }
.demo__q .ok { color: var(--c); }
.frames { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.frame { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; background: #F4F1FF; padding: 8px; border-radius: 16px; transition: box-shadow .3s; }
.frame--b { background: #E3F8F5; }
.slot { aspect-ratio: 1; border-radius: 10px; background: rgba(255,255,255,.7); display: grid; place-items: center; }
.dot { width: 72%; height: 72%; border-radius: 50%; background: var(--c); animation: dotin .35s cubic-bezier(.3,1.6,.5,1) both; }
.dot--b { background: var(--t); }
.dot.is-leaving { animation: dotout .35s ease both; }
@keyframes dotin { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes dotout { to { transform: scale(0); opacity: 0; } }
.frame.is-full { box-shadow: 0 0 0 4px var(--y); }
.demo__exp { min-height: 3.2em; margin: 16px 0; color: var(--ink-2); font-size: 1.02rem; }
.demo__exp b { color: var(--ink); }
.demo__ctl { display: flex; gap: 10px; flex-wrap: wrap; }
.demo .btn--ghost-l { border-color: var(--ink); color: var(--ink); }
.demo .btn--ghost-l:hover { background: var(--ink); color: #fff; }

/* elemen */
.elemen { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.el { background: #fff; border: 2px solid var(--line); border-radius: var(--r); padding: 22px 18px; text-align: center; display: grid; gap: 6px; transition: border-color .2s, transform .2s; }
.el:hover { border-color: var(--y); transform: translateY(-4px); }
.el__ic { font-size: 2.2rem; }
.el b { font-family: var(--font-h); font-size: 1.15rem; }
.el small { color: var(--muted); font-size: .9rem; line-height: 1.45; }

/* olimpiade */
.olim { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.olim__lv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.olim__lv > div { background: #fff; border-radius: 16px; padding: 16px; }
.olim__lv p { margin: 8px 0 0; font-size: .95rem; color: var(--ink-2); }
.lv { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 8px; }
.lv--1 { background: var(--t-soft); color: #0B7A72; } .lv--2 { background: #E9E3FF; color: #5236C9; }
.topics { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics li { border: 2px solid var(--ink); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: .92rem; }
.tantangan { background: #fff; border-radius: 28px; padding: 30px; box-shadow: var(--shadow); border: 3px solid var(--ink); position: relative; }
.tantangan__tag { position: absolute; top: -16px; left: 24px; background: var(--y); font-weight: 800; padding: 4px 14px; border-radius: 999px; border: 3px solid var(--ink); font-size: .9rem; }
.tantangan__q { font-family: var(--font-h); font-weight: 700; font-size: 1.45rem; line-height: 1.3; margin-top: 8px; }
.tantangan__opt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tantangan__opt button, .quiz__opts button { border: 2px solid var(--line); background: var(--bg); border-radius: 14px; padding: 14px 8px; font-family: var(--font-h); font-weight: 800; font-size: 1.3rem; color: var(--ink); transition: border-color .15s, transform .15s, background .15s; }
.tantangan__opt button:hover:not(:disabled), .quiz__opts button:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-2px); }
button.is-right { background: #D9F7E8 !important; border-color: #1EA866 !important; }
button.is-wrong { background: #FFE1DB !important; border-color: var(--c) !important; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.tantangan__ans { margin-top: 18px; padding-top: 16px; border-top: 2px dashed var(--line); }

/* quiz */
.quiz { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 28px; padding: 34px; box-shadow: var(--shadow); border: 2px solid var(--line); }
.quiz__lbl { font-weight: 800; text-align: center; }
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.levels button { border: 2px solid var(--line); background: var(--bg); border-radius: 18px; padding: 18px 8px; font-weight: 800; color: var(--ink); display: grid; gap: 4px; justify-items: center; transition: transform .15s, border-color .15s; }
.levels button span { font-size: 2rem; }
.levels button:hover { border-color: var(--c); transform: translateY(-3px); }
.quiz__bar { height: 12px; background: var(--tint); border-radius: 99px; overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--y), var(--c)); border-radius: 99px; transition: width .4s ease; }
.quiz__count { font-weight: 800; color: var(--muted); margin: 12px 0 4px; font-size: .9rem; }
.quiz__q { font-family: var(--font-h); font-weight: 700; font-size: 1.6rem; line-height: 1.3; margin-bottom: 20px; min-height: 2.6em; }
.quiz__q .objs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 2.1rem; margin-top: 8px; line-height: 1; }
.quiz__q .objs span { animation: dotin .3s cubic-bezier(.3,1.6,.5,1) both; }
.quiz__q .cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.quiz__q .cmp > div { background: var(--bg); border-radius: 14px; padding: 10px; font-size: 1.7rem; text-align: center; }
.quiz__q .cmp small { display: block; font-size: .95rem; color: var(--muted); }
.quiz__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.quiz__fb { min-height: 1.6em; margin: 16px 0 0; font-weight: 800; text-align: center; }
.quiz__fb.ok { color: #1EA866; } .quiz__fb.no { color: var(--c); }
.quiz__end { text-align: center; }
.stars { font-size: 2.6rem; letter-spacing: 6px; }
.stars span { display: inline-block; animation: dotin .4s cubic-bezier(.3,1.6,.5,1) both; }
.stars .off { filter: grayscale(1); opacity: .3; }
.cert-form { margin: 18px auto; max-width: 520px; text-align: left; }
.cert-form label { font-weight: 800; display: block; margin-bottom: 6px; }
.cert-form__row { display: flex; gap: 10px; }
.cert-form input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 2px solid var(--line); font: inherit; background: var(--bg); }
.cert-form input:focus { outline: none; border-color: var(--b); }
.cert-out { margin: 18px 0; display: grid; gap: 14px; justify-items: center; }
.cert-out canvas { width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow); }
.quiz__again { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* certificate */
.cert { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cert-mock { background: linear-gradient(135deg, var(--y), var(--c)); padding: 14px; border-radius: 20px; transform: rotate(-3deg); box-shadow: 0 24px 50px rgba(29,43,79,.2); transition: transform .3s; }
.cert-mock:hover { transform: rotate(0); }
.cert-mock__in { background: #fff; border-radius: 10px; border: 2px dashed var(--y); padding: 34px 24px; text-align: center; display: grid; gap: 4px; position: relative; }
.cert-mock__in small { color: var(--muted); font-weight: 700; }
.cert-mock__in strong { font-family: var(--font-h); font-size: 2.4rem; letter-spacing: .12em; color: var(--ink); }
.cert-mock__in span { color: var(--muted); font-size: .92rem; }
.cert-mock__in em { font-family: var(--font-h); font-style: normal; font-size: 1.9rem; color: var(--c); border-bottom: 2px solid var(--line); padding-bottom: 4px; margin: 2px 20% 6px; }
.cert-mock__in b { font-family: var(--font-h); font-size: 1.2rem; }
.cert-mock__seal { position: absolute; right: 18px; bottom: 12px; font-size: 2.6rem; animation: bob 4s ease-in-out infinite; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 34px; position: relative; font-weight: 700; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--t); color: #fff; display: grid; place-items: center; font-size: .8rem; }

/* start */
.start { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.start li { background: #fff; border-radius: var(--r); padding: 28px; border: 2px solid var(--line); }
.start li > span { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--y); display: grid; place-items: center; font-family: var(--font-h); font-weight: 800; font-size: 1.5rem; margin-bottom: 14px; }
.start p { color: var(--ink-2); margin: 0; }

/* faq */
.faq { max-width: 820px; }
.faq details { background: #fff; border-radius: 16px; margin-bottom: 12px; border: 2px solid transparent; transition: border-color .2s; }
.faq details[open] { border-color: var(--y); }
.faq summary { padding: 18px 56px 18px 22px; font-weight: 800; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--ink-2); }

/* cta + footer */
.cta { background: var(--c); color: #fff; padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; border: 18px solid rgba(255,255,255,.14); }
.cta::before { width: 260px; height: 260px; left: -80px; top: -90px; }
.cta::after { width: 200px; height: 200px; right: -50px; bottom: -80px; }
.cta p { font-size: 1.15rem; opacity: .95; }
.cta .hero__cta { justify-content: center; margin-bottom: 0; }
.cta .btn--primary { background: var(--ink); box-shadow: 0 6px 0 #0D1630; }
.foot { background: var(--ink); color: #C5CDE2; padding: 52px 0 24px; }
.foot__in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: flex-start; }
.foot nav a { text-decoration: none; font-weight: 700; }
.foot nav a:hover { color: var(--y); }
.foot__copy { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; margin-top: 28px; font-size: .9rem; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); z-index: 40; }
.wa-float svg { width: 32px; height: 32px; }
[hidden] { display: none !important; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1020px) {
  .loop, .cards { grid-template-columns: repeat(2, 1fr); }
  .loop__item::after { display: none; }
  .elemen { grid-template-columns: repeat(3, 1fr); }
  .metode, .olim, .cert { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 72px 0 auto 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .25s ease; box-shadow: var(--shadow); }
  .menu.is-open { transform: none; }
  .menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 14px; }
  .hero { padding-top: 24px; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .sec { padding: 64px 0; }
  .loop, .cards, .start { grid-template-columns: 1fr; }
  .elemen { grid-template-columns: repeat(2, 1fr); }
  .levels { grid-template-columns: repeat(2, 1fr); }
  .tantangan__opt { grid-template-columns: repeat(2, 1fr); }
  .olim__lv { grid-template-columns: 1fr; }
  .quiz, .demo { padding: 22px 18px; }
  .quiz__q { font-size: 1.35rem; }
  .cert-form__row { flex-direction: column; }
  .demo__q { font-size: 2rem; }
  .hero__cta .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .d, .d--move, .eq-a, .eq-b, .float, .spin, .pulse { animation: none !important; opacity: 1; }
}
@media (max-width: 460px) {
  .frames { grid-template-columns: 1fr; }
}
