/* Homepage (pages/index.html). Mobile first.
   Idea: back to school, second chance. The page is squared exercise-book paper (katak daftar), the course is a
   path of green nodes like the dashboard map, and the fox from the lessons walks the visitor through it.
   Brand green from the menu/dashboard; the fox brings orange and hoodie blue. */
:root {
  --paper: #fbfdf8;
  --grid: rgba(31, 95, 209, .07);
  --ink: #1a2433;
  --muted: #5b6878;
  --line: #dde5ee;
  --green: #58cc02;
  --green-dark: #46a302;
  --green-ink: #2f7d04;
  --green-soft: #ebf8df;
  --forest: #2e7a00;
  --fox: #f2711c;
  --fox-soft: #fff1e6;
  --blue: #1f5fd1;
  --blue-soft: #e8f0fd;
  --navy: #13213f;
  --navy-2: #22355e;
  --display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 26px 26px;
  min-height: 100vh;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.home-nav { margin-top: 14px; }
/* a first-time visitor has no goal or points yet: the menu's counters would only say 0 */
.is-new-visitor .shared-menu__stat { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 16px; padding: 14px 22px;
  font: 800 16px/1.2 var(--body); text-align: center; cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.btn:active { transform: translateY(4px); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 6px 0 var(--green-dark); }
.btn--green:active { box-shadow: 0 2px 0 var(--green-dark); }
.btn--plain { background: #fff; color: var(--ink); border: 2px solid var(--line); box-shadow: 0 6px 0 var(--line); }
.btn--plain:active { box-shadow: 0 2px 0 var(--line); }
.btn--white { background: #fff; color: var(--forest); box-shadow: 0 6px 0 rgba(0, 0, 0, .22); }
.btn--white:active { box-shadow: 0 2px 0 rgba(0, 0, 0, .22); }
.btn--big { padding: 17px 26px; font-size: 17px; border-radius: 18px; }

/* ---------- returning learner ---------- */
.welcome {
  margin-top: 18px; display: grid; grid-template-columns: 64px 1fr; gap: 6px 14px; align-items: center;
  background: #fff; border: 2px solid var(--green); border-radius: 24px; padding: 14px 16px 16px;
  box-shadow: 0 8px 0 var(--green-soft); animation: drop .5s cubic-bezier(.2, 1.2, .4, 1) both;
}
.welcome__fox { width: 64px; height: auto; }
.welcome__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.welcome__text b { font: 800 19px/1.2 var(--display); }
.welcome__text span { color: var(--muted); font-weight: 600; font-size: 15px; }
.welcome__text .welcome__due { color: var(--blue); font-weight: 800; }
.welcome__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 8px; }
.welcome__actions .btn { padding: 12px 18px; }
.welcome__all { color: var(--green-ink); font-weight: 800; font-size: 15px; }

/* ---------- hero ---------- */
.hero { display: grid; gap: 8px; padding: 40px 0 20px; align-items: center; }
.hero__title {
  font: 800 clamp(46px, 12.5vw, 92px)/.95 var(--display); letter-spacing: -.035em;
  animation: rise .6s .05s both;
}
.zero {
  display: inline-grid; place-items: center; width: 1.02em; height: 1.02em; margin: 0 .02em;
  border-radius: 50%; background: var(--green); color: #fff; font-size: .78em; line-height: 1;
  vertical-align: .06em; box-shadow: 0 .09em 0 var(--green-dark);
  animation: node .7s .55s cubic-bezier(.2, 1.6, .4, 1) both;
}
.hero__lead { margin-top: 22px; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 34em; animation: rise .6s .15s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; animation: rise .6s .25s both; }
.hero__note { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--muted); animation: rise .6s .3s both; }

.hero__stage { position: relative; height: 380px; margin-top: 12px; }
.stage__glow { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; background: var(--green-soft); }
.stage__fox {
  position: absolute; left: 50%; bottom: 0; width: 250px; transform: translateX(-50%);
  animation: fox-in .8s .2s cubic-bezier(.2, 1.1, .4, 1) both;
}
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 10px 14px;
  box-shadow: 0 6px 0 rgba(26, 36, 51, .07); font-weight: 800; white-space: nowrap;
  animation: pop .5s cubic-bezier(.2, 1.5, .4, 1) both;
}
.chip--word { left: 0; top: 18px; animation-delay: .7s; }
.chip--word b { display: block; font: 800 22px/1 var(--display); }
.chip--word small { display: block; color: var(--muted); font-weight: 700; font-size: 13px; margin-top: 3px; }
.chip__speaker { display: flex; align-items: center; gap: 3px; height: 30px; padding: 0 8px; border-radius: 10px; background: var(--blue-soft); }
.chip__speaker i { width: 4px; height: 10px; border-radius: 2px; background: var(--blue); animation: bar .9s ease-in-out 1.2s 4 alternate; }
.chip__speaker i:nth-child(2) { height: 18px; animation-delay: 1.35s; }
.chip__speaker i:nth-child(3) { height: 13px; animation-delay: 1.5s; }
.chip--type { left: 4px; bottom: 54px; font-family: var(--body); font-size: 16px; animation-delay: 1s; }
.chip__typed { overflow: hidden; border-right: 2px solid var(--ink); width: 9ch; animation: type 1.1s 1.4s steps(9) both, caret .8s 2.5s 3 step-end; }
.chip__ok { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; animation: pop .4s 2.5s cubic-bezier(.2, 1.6, .4, 1) both; }
.chip--mic { right: 0; top: 46%; color: var(--forest); animation-delay: 1.25s; }
.chip__mic { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); }
.chip__mic svg, .art-speak__mic svg { width: 62%; height: 62%; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.chip__mic svg rect, .art-speak__mic svg rect { fill: #fff; }
.chip__mic::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--green); animation: ring 1.8s 1.8s ease-out infinite; opacity: 0; }
.chip--xp { right: 10px; top: 0; background: var(--fox); border-color: var(--fox); color: #fff; box-shadow: 0 6px 0 #c95510; animation-delay: 2.7s; }

/* ---------- shared section heads ---------- */
main > section { padding: 64px 0 0; }
.section-intro { max-width: 640px; margin-bottom: 30px; }
.section-intro h2 { font: 800 clamp(32px, 7.5vw, 52px)/1.02 var(--display); letter-spacing: -.03em; }
.section-intro p { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.section-intro--light h2 { color: #fff; }
.section-intro--light p { color: #b9c6e0; }

/* entrances: once, when the block reaches the screen (home.js adds .is-in) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .3, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- how a lesson works: a real sequence, so the steps are numbered ---------- */
.steps__list { list-style: none; counter-reset: step; display: grid; gap: 14px; }
.step {
  counter-increment: step; position: relative;
  display: grid; grid-template-columns: 132px 1fr; gap: 4px 16px; align-items: start;
  background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 14px;
}
.step::before {
  content: counter(step); position: absolute; left: -8px; top: -10px; z-index: 1;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; font: 800 15px/1 var(--display);
}
.step__art {
  grid-row: span 2; position: relative; height: 112px; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 8px;
}
.step h3 { font: 800 21px/1.15 var(--display); align-self: end; padding-top: 4px; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.js .step.reveal:nth-child(2) { transition-delay: .08s; }
.js .step.reveal:nth-child(3) { transition-delay: .16s; }
.js .step.reveal:nth-child(4) { transition-delay: .24s; }
.js .step.reveal:nth-child(5) { transition-delay: .32s; }

.art-listen { background: var(--blue-soft); }
.art-listen__word { font: 800 19px/1 var(--display); color: var(--blue); }
.art-listen__bars { display: flex; align-items: center; gap: 4px; height: 28px; }
.art-listen__bars i { width: 5px; height: 8px; border-radius: 3px; background: var(--blue); }
.is-in .art-listen__bars i { animation: bar .7s ease-in-out infinite alternate; }
.art-listen__bars i:nth-child(2) { animation-delay: .15s !important; }
.art-listen__bars i:nth-child(3) { animation-delay: .3s !important; }
.art-listen__bars i:nth-child(4) { animation-delay: .1s !important; }
.art-listen__bars i:nth-child(5) { animation-delay: .25s !important; }

.art-rule { background: var(--fox-soft); align-items: flex-start; padding-left: 12px; font-size: 13px; font-weight: 700; }
.art-rule__en { font: 800 15px/1.2 var(--display); }
.art-rule b { color: var(--fox); }
.art-rule__uz { color: var(--muted); }

.art-write { background: var(--green-soft); align-items: stretch; padding: 10px; }
.art-write__ask { font-size: 11px; font-weight: 700; color: var(--green-ink); }
.art-write__field { background: #fff; border: 2px solid var(--green); border-radius: 9px; padding: 6px 7px; font-size: 12px; font-weight: 800; }
.art-write__text { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: 0; border-right: 2px solid var(--ink); }
.is-in .art-write__text { animation: type-full 1.6s .5s steps(16) forwards, caret .8s 2.1s 4 step-end; }

.art-speak { background: #eefbe4; }
.art-speak__mic { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green); box-shadow: 0 4px 0 var(--green-dark); }
.art-speak__mic::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 3px solid var(--green); opacity: 0; }
.is-in .art-speak__mic::after { animation: ring 1.8s .4s ease-out infinite; }
.art-speak__said { font-size: 12px; font-weight: 800; color: var(--forest); }

.art-review { background: #f2f4fb; }
.art-review__card {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px;
  font: 800 16px/1 var(--display); box-shadow: 0 4px 0 rgba(26, 36, 51, .07);
}
.art-review__card small { font: 700 10px/1 var(--body); color: #fff; background: var(--fox); border-radius: 99px; padding: 4px 7px; }
.art-review__card--back { transform: translate(-14px, -14px) rotate(-8deg); color: #b5bfcc; }
.is-in .art-review__card:not(.art-review__card--back) { animation: return 1s .5s cubic-bezier(.2, 1.3, .4, 1) both; }

.helper {
  display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; margin-top: 22px;
  background: var(--fox-soft); border-radius: 22px; padding: 14px 18px 14px 10px;
}
.helper img { width: 84px; }
.helper p { font-size: 15px; line-height: 1.6; color: #6b4a33; }
.helper b { color: var(--ink); }

/* ---------- lesson worlds ---------- */
.worlds { background: var(--navy); color: #fff; margin-top: 72px; padding: 64px 0 56px !important; }
.worlds__track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 10px max(16px, (100% - 1160px) / 2) 30px; scroll-padding-inline: max(16px, (100% - 1160px) / 2);
  scrollbar-width: thin; scrollbar-color: var(--navy-2) transparent;
}
.world { flex: none; width: min(62vw, 230px); scroll-snap-align: start; }
.world:nth-child(even) { margin-top: 28px; }
.world img {
  width: 100%; aspect-ratio: 488 / 950; object-fit: cover; object-position: top;
  border: 6px solid var(--navy-2); border-radius: 28px; background: var(--navy-2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.world figcaption { margin-top: 12px; font-size: 13px; color: #9fb0d3; line-height: 1.4; }
.world figcaption b { display: block; color: #fff; font: 800 17px/1.2 var(--display); }
.js .worlds .world { opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .7s cubic-bezier(.2, 1, .3, 1); }
.js .worlds.is-in .world { opacity: 1; transform: none; }
.worlds.is-in .world:nth-child(2) { transition-delay: .08s; }
.worlds.is-in .world:nth-child(3) { transition-delay: .16s; }
.worlds.is-in .world:nth-child(4) { transition-delay: .24s; }
.worlds.is-in .world:nth-child(5) { transition-delay: .32s; }
.worlds.is-in .world:nth-child(n+6) { transition-delay: .4s; }
.worlds__nav { display: none; gap: 10px; }
.worlds__nav button {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--navy-2); background: transparent; color: #fff;
  font: 700 26px/1 var(--body); cursor: pointer; transition: background .2s, border-color .2s;
}
.worlds__nav button:hover:not(:disabled) { background: var(--navy-2); border-color: #3a5288; }
.worlds__nav button:disabled { opacity: .35; cursor: default; }

/* ---------- the course path (like the dashboard map) ---------- */
.path__list { list-style: none; position: relative; max-width: 720px; }
.path__list::before {
  content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 6px; border-radius: 3px;
  background: repeating-linear-gradient(var(--line) 0 12px, transparent 12px 20px);
}
.level { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 0 0 30px; }
.level:last-child { padding-bottom: 0; }
.level__node {
  position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #fff; border: 3px solid var(--line); box-shadow: 0 6px 0 var(--line);
  font: 800 19px/1 var(--display); color: var(--muted);
}
.level--start .level__node { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 6px 0 var(--green-dark); }
.level--goal .level__node { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 0 #17489f; }
.is-in.level--start .level__node { animation: node .7s .2s cubic-bezier(.2, 1.6, .4, 1) both; }
.level__body { padding-top: 6px; }
.level h3 { font: 800 23px/1.15 var(--display); }
.level h3 small { font: 700 14px/1 var(--body); color: var(--muted); margin-left: 6px; white-space: nowrap; }
.level p { margin-top: 6px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.level__words {
  display: inline-block; margin-top: 10px; border-radius: 99px; padding: 6px 12px;
  background: var(--green-soft); color: var(--green-ink); font-weight: 800; font-size: 14px;
}
.level--goal .level__words { background: var(--blue-soft); color: var(--blue); }
.level__fox { display: none; }

/* ---------- prices ---------- */
.prices__grid { display: grid; gap: 20px; }
.price {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 24px 22px 22px;
}
.price--free { background: transparent; border-style: dashed; border-color: #b9c4d2; }
.price--best { border-color: var(--green); box-shadow: 0 8px 0 var(--green-soft); }
.price__badge {
  position: absolute; top: -14px; left: 22px; background: var(--green); color: #fff;
  border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 800;
}
.price h3 { font: 800 22px/1.2 var(--display); }
.price__sum { font-weight: 700; color: var(--muted); }
.price__sum b { font: 800 46px/1 var(--display); color: var(--ink); letter-spacing: -.02em; margin-right: 4px; }
.price__per { color: var(--green-ink); font-weight: 800; font-size: 14px; }
.price ul { list-style: none; display: grid; gap: 9px; margin: 14px 0 20px; color: var(--muted); font-weight: 600; font-size: 15px; }
.price li { position: relative; padding-left: 26px; line-height: 1.4; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--green-ink); font-weight: 900; }
.price .btn { margin-top: auto; }
.prices__pay { margin-top: 22px; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.7; max-width: 640px; }
.prices__pay img { display: inline-block; height: 13px; width: auto; vertical-align: -1px; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 760px; border-top: 2px solid var(--line); }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 2px; font: 700 18px/1.35 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-ink); font: 700 22px/1 var(--body); transition: transform .25s, background .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq details p { padding: 0 2px 20px; color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 62ch; }
.faq details[open] p { animation: rise .35s both; }

/* ---------- final call ---------- */
.finale { padding-bottom: 56px !important; }
.finale__card {
  position: relative; display: grid; gap: 10px; justify-items: center; text-align: center;
  background: var(--forest); color: #fff; border-radius: 32px; padding: 0 22px 34px; margin-top: 90px;
}
.finale__fox { width: 170px; margin-top: -86px; }
.finale h2 { font: 800 clamp(28px, 6.5vw, 46px)/1.08 var(--display); letter-spacing: -.02em; max-width: 18ch; }
.finale p { color: #d9efc8; font-size: 17px; line-height: 1.6; max-width: 36em; margin-bottom: 14px; }
.finale small { display: block; margin-top: 14px; color: #bfe2a6; font-weight: 600; font-size: 14px; }

/* ---------- "before lesson 1" notes ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(19, 33, 63, .62); }
.overlay.show { display: flex; }
.modal { width: min(620px, 100%); background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, .3); animation: modal-in .3s ease both; }
.modal-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 2px solid var(--line); }
.modal-brand { font-weight: 800; color: var(--muted); }
.close { border: 0; background: #f1f4f8; width: 40px; height: 40px; border-radius: 14px; cursor: pointer; font-size: 22px; color: var(--ink); }
.modal-body { padding: 26px 22px; }
.note-step { min-height: 240px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.note-emoji { font-size: 54px; margin-bottom: 14px; animation: pop .5s ease both; }
.note-title { font: 800 clamp(26px, 6vw, 40px)/1.08 var(--display); letter-spacing: -.02em; margin-bottom: 12px; }
.note-text { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 520px; margin: 0 auto; }
.note-text strong { color: var(--ink); }
.timer-box { margin: 22px auto 0; background: #f6f8fb; border-radius: 16px; padding: 12px 14px; max-width: 380px; }
.timer-label { font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 8px; }
.timer-track { height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.timer-fill { height: 100%; width: 0; background: var(--green); border-radius: 99px; transition: width 1s linear; }
.step-count { text-align: center; color: var(--muted); font-weight: 700; font-size: 13px; margin-top: 12px; }
.modal-actions { display: flex; gap: 12px; padding: 0 22px 24px; }
.modal-btn { flex: 1; border: 0; border-radius: 16px; padding: 15px 16px; font-weight: 800; font-size: 16px; cursor: pointer; }
.modal-btn.next { background: var(--green); color: #fff; box-shadow: 0 6px 0 var(--green-dark); }
.modal-btn.next:disabled { background: #cbd5e1; box-shadow: 0 6px 0 #94a3b8; cursor: not-allowed; }
.modal-btn.back { background: #f1f4f8; color: #475569; }

/* ---------- keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes node { from { transform: scale(.2); } to { transform: none; } }
@keyframes fox-in { from { opacity: 0; transform: translate(-50%, 40px); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes bar { to { transform: scaleY(2.1); } }
@keyframes type { from { width: 0; } }
@keyframes type-full { to { width: 16ch; } }
@keyframes caret { 50% { border-color: transparent; } }
@keyframes ring { 0% { opacity: .8; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes return { from { opacity: 0; transform: translateX(60px) rotate(12deg); } to { opacity: 1; transform: none; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- wider screens ---------- */
@media (min-width: 620px) {
  .welcome { grid-template-columns: 72px 1fr auto; padding: 14px 18px; }
  .welcome__fox { width: 72px; }
  .welcome__actions { grid-column: auto; margin-top: 0; justify-content: flex-end; }
  .hero__stage { height: 440px; }
  .stage__fox { width: 290px; }
  .stage__glow { width: 360px; height: 360px; margin: -180px 0 0 -180px; }
  .chip--word { left: 8%; }
  .chip--type { left: 6%; }
  .chip--mic { right: 8%; }
  .chip--xp { right: 14%; }
  .steps__list { grid-template-columns: 1fr 1fr; gap: 20px; }
  .prices__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .price { padding: 26px 18px 20px; }
  .finale__card { grid-template-columns: 200px 1fr; justify-items: start; text-align: left; align-items: end; padding: 38px 40px 38px 20px; margin-top: 40px; }
  .finale__fox { width: 200px; margin: -80px 0 -38px; align-self: end; }
}

@media (min-width: 960px) {
  .hero { grid-template-columns: 1.08fr .92fr; gap: 30px; padding: 64px 0 24px; }
  .hero__lead { font-size: 19px; }
  .hero__stage { height: 540px; margin-top: 0; }
  .stage__fox { width: 340px; }
  .stage__glow { width: 420px; height: 420px; margin: -210px 0 0 -210px; }
  .chip--word { left: 0; top: 40px; }
  .chip--type { left: -10px; bottom: 90px; }
  .chip--mic { right: -6px; top: 52%; }
  .chip--xp { right: 30px; top: 22px; }
  main > section { padding-top: 96px; }
  .section-intro { margin-bottom: 40px; }
  .steps__list { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .prices__grid { grid-template-columns: repeat(4, 1fr); }
  .step { grid-template-columns: 1fr; align-content: start; padding: 14px 14px 18px; }
  .step__art { grid-row: auto; height: 124px; margin-bottom: 10px; }
  .step h3 { padding-top: 0; align-self: auto; }
  .worlds__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
  .worlds__nav { display: flex; margin-bottom: 40px; }
  .helper { max-width: 720px; grid-template-columns: 96px 1fr; margin-top: 28px; }
  .helper img { width: 96px; }
  .worlds { margin-top: 96px; padding: 88px 0 72px !important; }
  .world { width: 236px; }
  .path { display: grid; grid-template-columns: 1fr; position: relative; }
  .level__fox { display: block; position: absolute; left: 100%; top: -10px; width: 210px; margin-left: 40px; }
  .faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
  .faq .section-intro { position: sticky; top: 110px; }
  .faq summary { font-size: 19px; }
  .finale { padding-bottom: 80px !important; }
  .finale__card { grid-template-columns: 280px 1fr; padding: 54px 56px 54px 30px; margin-top: 70px; }
  .finale__fox { width: 270px; margin: -110px 0 -54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .chip__typed { width: 9ch; }
  .art-write__text { width: 16ch; }
}
