/* SUM RUSH marketing page. The game's own look (purple-to-blue sky, white sticker cards with a chunky
   edge, Fredoka, the yellow GO button), at page scale. The site's shared style.css is never loaded or
   edited; pages.css belongs to the privacy and support pages. */
@font-face { font-family: 'Fredoka'; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url('fonts/fredoka-latin.woff2') format('woff2-variations'), url('fonts/fredoka-latin.woff2') format('woff2'); }

:root {
  --bg1: #5B3FE0; --bg2: #2C8BEA; --deep: #2A1A8F;
  --ink: #1E1B3A; --muted: #5E5A86; --card: #fff; --soft: #F3F1FF; --line: #ECEAF8;
  --sun: #FFC83D; --sun-d: #D99400; --go: #FF7A1A; --go-d: #C24E00;
  --good: #22C76F; --bad: #FF4D6D; --blue: #2F80ED;
  --edge: rgba(24, 12, 104, .34);
  --drop: 0 16px 30px -12px rgba(16, 6, 70, .55);
  --font: 'Fredoka', 'Baloo 2', 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --key: #fff; --kink: #1E1B3A; --kedge: #C9C6E0;
}
* { box-sizing: border-box; }
html { background: #3a2bc7; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 var(--font); color: var(--ink); overflow-x: hidden;
  background: linear-gradient(170deg, var(--bg1) 0%, #4532D6 38%, #2F63E0 70%, var(--bg2) 100%); }
a { color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.1; margin: 0; font-weight: 700; }
p { margin: 0 0 14px; }
button { font: inherit; color: inherit; cursor: pointer; }
.vh, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 20; background: #fff; padding: 8px 14px; border-radius: 12px; }
:focus-visible { outline: 4px solid var(--sun); outline-offset: 3px; }
.small { font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; color: #fff; padding: 0 16px 48px; overflow: hidden;
  background: radial-gradient(120% 60% at 0% 0%, rgba(255,120,220,.38), transparent 60%),
              radial-gradient(90% 55% at 100% 100%, rgba(40,220,255,.32), transparent 60%); }
.sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sky i { position: absolute; font-style: normal; font-weight: 700; color: #fff; opacity: .12; will-change: transform;
  animation: drift linear infinite; }
@keyframes drift { from { transform: translateY(110vh) rotate(0deg); } to { transform: translateY(-20vh) rotate(260deg); } }
.sky b { position: absolute; font-weight: 700; color: var(--sun); pointer-events: none; animation: pop 1.1s ease-out forwards;
  text-shadow: 0 3px 0 rgba(24,12,104,.4); }
@keyframes pop { 0% { transform: translate(0,0) scale(.4); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1.3) rotate(var(--r)); opacity: 0; } }

.bar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; max-width: 1160px; margin: 0 auto; padding: 16px 0; }
.bar a { color: #fff; text-decoration: none; font-weight: 600; opacity: .92; }
.bar a:hover { opacity: 1; text-decoration: underline; }
.bar-store { background: rgba(255,255,255,.16); padding: 6px 14px; border-radius: 99px; }

.hero-in { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; display: grid; gap: 28px; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.mark { width: min(440px, 92%); margin: 0 0 6px -10px; }
.mark .spark { transform-origin: 300px 44px; animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.25) rotate(20deg); } }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); text-shadow: 0 4px 0 rgba(24,12,104,.45); max-width: 15ch; }
.lede { font-size: clamp(19px, 2.2vw, 24px); font-weight: 500; margin-top: 14px; max-width: 30ch; opacity: .96; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 22px 0 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; text-decoration: none; border-radius: 14px;
  padding: 10px 20px 10px 16px; box-shadow: 0 5px 0 rgba(0,0,0,.35), 0 14px 24px -10px rgba(0,0,0,.6); transition: transform .12s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 24px; height: 28px; fill: #fff; }
.store span { display: flex; flex-direction: column; font-size: 22px; font-weight: 600; line-height: 1; }
.store small { font-size: 11px; font-weight: 500; letter-spacing: .3px; margin-bottom: 3px; }
.facts { margin: 0; font-weight: 600; }
.facts i { font-style: normal; opacity: .6; margin: 0 2px; }
.try { font-size: 15px; opacity: .85; max-width: 38ch; }

/* ---------------------------------------------------------------- the race card (game UI at page scale) */
.stage { position: relative; }
.rc { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06)); border-radius: 30px;
  padding: 12px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.22), 0 24px 50px -20px rgba(10,4,60,.8); backdrop-filter: blur(6px); }
.rc-top { display: flex; align-items: center; gap: 10px; padding: 2px 4px 10px; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; background: rgba(255,255,255,.2); padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.rc[data-state="live"] .tag { background: var(--good); }
.clock { flex: 1; height: 14px; border-radius: 99px; background: rgba(0,0,0,.25); overflow: hidden; box-shadow: inset 0 2px 3px rgba(0,0,0,.25); }
.clock i { display: block; height: 100%; width: 100%; border-radius: 99px; transform-origin: left; background: linear-gradient(90deg, #FF4D6D, #FFC83D 45%, #22C76F); }
.secs { min-width: 2ch; text-align: right; font-size: 22px; }
.lanes { list-style: none; margin: 0 0 10px; padding: 8px 10px; background: rgba(20,10,80,.35); border-radius: 18px; }
.lanes li { display: grid; grid-template-columns: 7.2em 1fr 2.2em; align-items: center; gap: 8px; height: 34px; }
.lanes .nm { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .92; }
.lanes .me .nm { color: var(--sun); opacity: 1; }
.lanes b { text-align: right; font-size: 17px; }
.trk { position: relative; height: 26px; border-radius: 99px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 14px, rgba(255,255,255,.03) 14px 28px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.trk::after { content: ''; position: absolute; right: 2px; top: 3px; bottom: 3px; width: 8px; border-radius: 3px;
  background: repeating-conic-gradient(#fff 0 25%, #1E1B3A 0 50%) 0 0 / 8px 8px; opacity: .7; }
.me .trk { background: linear-gradient(90deg, rgba(255,200,61,.35), rgba(255,200,61,.08)); }
.av { position: absolute; top: 50%; left: 0; width: 30px; height: 30px; margin-top: -15px; transition: left .35s cubic-bezier(.3,1.4,.5,1); }
.av svg { width: 30px; height: 30px; display: block; }

.qcard { position: relative; background: linear-gradient(180deg, #fff, #FBFAFF); color: var(--ink); border-radius: 24px; text-align: center;
  padding: 26px 16px 22px; margin-bottom: 12px; box-shadow: inset 0 -3px 0 rgba(30,27,58,.05), 0 6px 0 var(--edge), var(--drop); }
.streak { position: absolute; top: 8px; left: 0; right: 0; font-size: 14px; font-weight: 700; color: var(--go); min-height: 18px; }
.q { font-size: clamp(40px, 9vw, 54px); font-weight: 700; letter-spacing: 1px; line-height: 1.1; min-height: 1.1em; }
.ans { margin: 12px auto 0; width: 64%; min-height: 58px; border-radius: 16px; border: 3px solid #DCD8F2; background: #FBFAFF;
  font-size: 34px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 2px 3px rgba(30,27,58,.08); }
.ans.good { border-color: var(--good); background: #E8FBF1; }
.ans.bad { border-color: var(--bad); background: #FFEEF1; animation: shake .3s; }
.ans .caret { width: 3px; height: 32px; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.qcard .count { font-size: 70px; color: var(--go); }

.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pad button { height: 58px; border: 0; border-radius: 16px; font-size: 28px; font-weight: 700; color: var(--kink); background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 55%), var(--key);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.7), 0 5px 0 var(--kedge), 0 10px 14px -8px rgba(10,4,60,.6); transition: transform .06s; touch-action: manipulation; }
.pad button.down, .pad button:active { transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255,255,255,.7), 0 1px 0 var(--kedge); }
.pad button.ok { background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0) 55%), var(--good); color: #fff; box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 5px 0 #138A4C, 0 10px 14px -8px rgba(10,4,60,.6); }
.pad button.fn { font-size: 24px; }
.rc[data-kp="neon"] .pad button:not(.ok) { background: var(--key); text-shadow: 0 0 10px var(--kink); box-shadow: inset 0 0 0 1.5px rgba(0,229,160,.55), 0 5px 0 #00A374, 0 0 16px -2px rgba(0,229,160,.45); }
.rc[data-kp="lava"] .pad button:not(.ok) { background: radial-gradient(120% 90% at 50% 120%, rgba(255,75,31,.55), transparent 60%), var(--key); text-shadow: 0 0 8px rgba(255,140,40,.8); }
.rc[data-kp="gold"] .pad button:not(.ok) { background: linear-gradient(160deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,.25) 55%, rgba(255,255,255,0) 70%), linear-gradient(180deg, #FFF0B0, #F5C842); }
.rc[data-kp="candy"] .pad button:not(.ok) { background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0) 55%), radial-gradient(circle at 80% 20%, rgba(255,255,255,.6) 0 8%, transparent 9%), var(--key); }
.rc[data-kp="ocean"] .pad button:not(.ok) { background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 50%), linear-gradient(180deg, var(--key), #A9DBFF); }
.rc[data-state="demo"] .pad button { pointer-events: none; }

.result { position: absolute; inset: 12px; z-index: 3; background: linear-gradient(180deg, #fff, #F6F4FF); color: var(--ink); border-radius: 24px; padding: 18px 18px 16px;
  overflow: auto; box-shadow: 0 6px 0 var(--edge), var(--drop); animation: rise .35s cubic-bezier(.3,1.4,.5,1); }
@keyframes rise { from { transform: translateY(24px) scale(.96); opacity: 0; } }
.result .place { display: flex; align-items: center; gap: 14px; }
.result .medal { width: 74px; height: 74px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 700; color: #fff;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.7), transparent 40%), var(--m, #E8B21E); box-shadow: 0 0 0 4px var(--ink), 0 6px 0 4px var(--edge); }
.result h3 { font-size: 26px; }
.result .sub { color: var(--muted); font-size: 15px; margin: 2px 0 0; }
.result .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.result .stats div { background: var(--soft); border-radius: 14px; padding: 8px 4px; text-align: center; }
.result .stats b { display: block; font-size: 24px; line-height: 1.1; }
.result .stats span { font-size: 12px; color: var(--muted); }
.result .earn { list-style: none; margin: 0 0 10px; padding: 0; font-size: 15px; }
.result .earn li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 3px 0; }
.result .earn li.tot { font-weight: 700; border: 0; font-size: 17px; }
.result .fix { background: #FFF6DD; border-radius: 14px; padding: 10px 12px; font-size: 15px; margin-bottom: 12px; }
.result .fix a { color: var(--blue); font-weight: 600; }
.result .row { display: flex; gap: 10px; flex-wrap: wrap; }
.result .note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

.setup { margin-top: 16px; display: grid; gap: 12px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.topics button { border: 0; border-radius: 99px; padding: 7px 13px; font-weight: 600; font-size: 15px; background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.2); }
.topics button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 0 var(--edge); }
.lvl { display: flex; align-items: center; justify-content: center; gap: 10px; }
.lvl button { width: 42px; height: 42px; border-radius: 50%; border: 0; font-size: 24px; font-weight: 700; background: #fff; color: var(--ink); box-shadow: 0 4px 0 var(--edge); }
.lvl button:disabled { opacity: .4; }
.lvl output { min-width: 15em; text-align: center; line-height: 1.2; }
.lvl output b { display: block; font-size: 18px; }
.lvl output span { font-size: 14px; opacity: .85; }
.go { justify-self: center; border: 0; border-radius: 20px; padding: 14px 46px; font-size: 26px; font-weight: 700; color: var(--ink);
  background: linear-gradient(180deg, #FFE77A, var(--sun)); box-shadow: inset 0 2px 0 rgba(255,255,255,.75), inset 0 -3px 0 rgba(176,100,0,.22), 0 6px 0 var(--sun-d), 0 14px 22px -8px rgba(140,70,0,.6); }
.go:active { transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255,255,255,.75), 0 2px 0 var(--sun-d); }
.hint { text-align: center; font-size: 14px; opacity: .8; margin: 0; }
.rc[data-state="live"] ~ .setup .topics, .rc[data-state="live"] ~ .setup .lvl, .rc[data-state="live"] ~ .setup .go { opacity: .35; pointer-events: none; }
.nos { background: rgba(0,0,0,.25); padding: 10px 14px; border-radius: 14px; }

.purse { position: fixed; z-index: 10; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink);
  border-radius: 99px; padding: 6px 14px 6px 6px; font-weight: 700; box-shadow: 0 5px 0 var(--edge), var(--drop); }
.purse[hidden] { display: none; }
.purse .mini { width: 38px; height: 38px; }
.purse .mini svg { width: 38px; height: 38px; display: block; }
.coin { display: inline-block; width: 18px; height: 18px; border-radius: 50%; vertical-align: -3px; margin-left: 3px;
  background: radial-gradient(circle at 35% 30%, #FFF6B0, #FFC83D 45%, #D99400); box-shadow: inset 0 0 0 2px #B57A00; }

/* ---------------------------------------------------------------- sections */
main { position: relative; }
.band { padding: 34px 16px; }
.wrap { max-width: 1100px; margin: 0 auto; background: #fff; border-radius: 34px; padding: 40px clamp(20px, 4vw, 52px);
  box-shadow: inset 0 -4px 0 rgba(30,27,58,.05), 0 9px 0 var(--edge), 0 30px 60px -30px rgba(10,4,60,.8); }
.band:nth-child(odd) .wrap { transform: rotate(-.6deg); }
.band:nth-child(even) .wrap { transform: rotate(.5deg); }
.band .wrap > *, .two > * { transform: none; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.kicker { font-weight: 700; color: var(--go); text-transform: uppercase; letter-spacing: 1px; font-size: 14px; margin-bottom: 8px; }
.band h2 { font-size: clamp(28px, 3.6vw, 42px); color: #3A22C4; margin-bottom: 16px; max-width: 22ch; }
.js .band .wrap { opacity: 0; translate: 0 40px; transition: opacity .6s, translate .6s cubic-bezier(.3,1.3,.5,1); }
.js .band.in .wrap { opacity: 1; translate: 0 0; }

.slips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 10px; }
.slip { background: var(--soft); border-radius: 22px; padding: 20px; }
.slip h3 { font-size: 22px; margin-bottom: 8px; }
.slip p { font-size: 15px; color: #3E3A66; }
.slip .rows { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.slip .rows li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 2px dotted #DCD8F2; }
.slip .rows b { color: #B57A00; white-space: nowrap; }
.ranks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: r; }
.ranks li { counter-increment: r; font-size: 13px; font-weight: 600; padding: 3px 9px 3px 4px; border-radius: 99px; background: #fff; display: flex; align-items: center; gap: 5px; }
.ranks li::before { content: counter(r); display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; font-size: 11px; background: var(--c, #8C93A8); }
.ranks li.here { outline: 3px solid var(--sun); }
.badges { background: linear-gradient(160deg, #FFF3C9, #FFE08A); }

.ward { background: var(--soft); border-radius: 26px; padding: 16px; }
.mirror { display: grid; place-items: center; height: 230px; }
.mirror img { width: 200px; height: 200px; border-radius: 40px; }
.mirror svg { width: 220px; height: 220px; filter: drop-shadow(0 10px 12px rgba(16,6,70,.25)); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.tabs button { flex: none; border: 0; border-radius: 99px; padding: 6px 12px; font-weight: 600; font-size: 14px; background: #fff; }
.tabs button[aria-selected="true"] { background: #3A22C4; color: #fff; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; padding: 2px; }
.items button { position: relative; border: 0; background: #fff; border-radius: 16px; padding: 6px 4px 6px; text-align: center; font-size: 12px; line-height: 1.15;
  box-shadow: 0 3px 0 #DCD8F2; }
.items button[aria-pressed="true"] { box-shadow: 0 0 0 3px #3A22C4, 0 3px 0 #DCD8F2; }
.items button svg { width: 56px; height: 56px; display: block; margin: 0 auto 2px; }
.items .pr { display: block; color: #B57A00; font-weight: 700; }
.items .r-l { background: linear-gradient(135deg, #fff 40%, #FFF2C7 50%, #fff 60%) 0 0 / 300% 300%; animation: shimmer 3s linear infinite; }
@keyframes shimmer { to { background-position: 100% 100%; } }
.kpsw { display: grid; grid-template-columns: repeat(3, 14px); gap: 3px; justify-content: center; margin: 8px auto 6px; }
.kpsw i { width: 14px; height: 12px; border-radius: 4px; background: var(--k); box-shadow: 0 2px 0 var(--e); }

.grid { display: grid; gap: 6px; margin-top: 18px; overflow-x: auto; padding-bottom: 6px; }
.gr { display: grid; grid-template-columns: 6.2em repeat(10, minmax(84px, 1fr)); gap: 6px; }
.gr > span:first-child { font-weight: 700; display: flex; align-items: center; color: var(--c, #3A22C4); }
.gr.head > span { font-size: 12px; color: var(--muted); text-align: center; font-weight: 600; }
.cell { border: 0; border-radius: 12px; padding: 10px 4px; font-weight: 600; font-size: 15px; white-space: nowrap; background: var(--soft); transition: transform .15s, background .3s;
  box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--c) 35%, transparent); }
.cell:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 0 0 2px var(--c), inset 0 -3px 0 color-mix(in srgb, var(--c) 35%, transparent); }
.cell.flip { animation: flip .5s; }
@keyframes flip { 50% { transform: rotateX(90deg); } }
.tables { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.tables b { margin-right: 4px; }
.tables button { border: 0; width: 46px; height: 46px; border-radius: 14px; font-weight: 700; font-size: 18px; background: #FFF3C9; box-shadow: 0 3px 0 #E8B21E; }

.divs { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.divs li { font-weight: 700; font-size: 14px; color: #fff; padding: 4px 11px; border-radius: 99px; background: var(--c); box-shadow: 0 3px 0 rgba(0,0,0,.18); }
.clock-line { font-weight: 600; color: #3A22C4; }
.room { list-style: none; margin: 0 0 10px; padding: 8px; background: var(--soft); border-radius: 22px; max-height: 470px; overflow-y: auto; }
.room li { display: grid; grid-template-columns: 2em 30px 1fr auto; gap: 8px; align-items: center; padding: 4px 8px; border-radius: 12px; font-size: 15px; }
.room li svg { width: 30px; height: 30px; display: block; }
.room li .pl { font-weight: 700; color: var(--muted); text-align: right; }
.room li .xp { font-weight: 700; }
.room li.up { background: #E3FAEE; }
.room li.down { background: #FFEEF1; }
.room li.me { box-shadow: 0 0 0 3px var(--sun); background: #FFF8DE; }
.room li .cc { font-size: 10px; font-weight: 600; padding: 1px 5px; border-radius: 6px; background: #ECEAF8; color: var(--muted); margin-left: 4px; }
.room .zone { font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; padding: 2px; background: none; display: block; }

.ask label { display: block; font-weight: 700; margin: 8px 0 6px; }
.ask div { display: flex; gap: 8px; }
.ask input { flex: 1; min-width: 0; font: inherit; font-size: 22px; font-weight: 700; padding: 8px 14px; border-radius: 14px; border: 3px solid #DCD8F2; color: var(--ink); background: #FBFAFF; }
.ask input:focus { border-color: var(--blue); outline: none; }
.ask button { border: 0; border-radius: 14px; padding: 0 18px; font-weight: 700; background: var(--sun); box-shadow: 0 4px 0 var(--sun-d); }
.ask .small { margin: 8px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 0; border-radius: 99px; padding: 4px 12px; font-weight: 600; background: var(--soft); }
.tip { margin: 0; background: linear-gradient(180deg, #fff, #F8F6FF); border-radius: 26px; padding: 22px; box-shadow: 0 0 0 3px #ECEAF8, 0 7px 0 var(--edge); }
.tip figcaption { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.tip figcaption b { font-size: 22px; }
.tip .pill { align-self: flex-start; font-size: 13px; font-weight: 700; color: #fff; background: #3A22C4; padding: 3px 11px; border-radius: 99px; }
.tip .art { display: grid; place-items: center; margin: 10px 0; }
.tip .art svg { max-width: 100%; height: auto; max-height: 260px; }
.tip ol { margin: 0; padding-left: 22px; font-weight: 600; }
.tip ol li { margin: 3px 0; }
.tip .ansline { margin-top: 10px; font-weight: 700; color: var(--good); font-size: 20px; }

.promise .wrap { text-align: center; background: linear-gradient(170deg, #fff 0%, #FFF8DE 100%); }
.promise h2 { margin: 0 auto 20px; }
.ticks { list-style: none; padding: 0; margin: 0 auto 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
.ticks li { background: #fff; border-radius: 20px; padding: 16px 12px; box-shadow: 0 0 0 2px #F3E3A8, 0 5px 0 #F0D27A; }
.ticks b { display: block; font-size: 20px; }
.privacy { max-width: 60ch; margin: 0 auto 18px; color: #3E3A66; }
.privacy a { color: var(--blue); }
.cta.end { justify-content: center; }
.again { font-weight: 600; color: #3A22C4; }

.foot { color: #fff; text-align: center; padding: 20px 16px 90px; font-size: 15px; opacity: .92; }
.foot p { margin: 4px 0; }

@media (min-width: 901px) {
  .hero { display: flex; flex-direction: column; }
  .hero-in { flex: 1; }
  .lanes li { height: 30px; }
  .qcard { padding: 22px 16px 16px; }
  .q { font-size: 46px; }
  .ans { min-height: 50px; margin-top: 8px; }
  .pad { gap: 8px; }
  .pad button { height: 48px; font-size: 25px; }
  .bar { width: 100%; }
  .setup { margin-top: 12px; gap: 10px 14px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .setup .topics, .setup .hint { grid-column: 1 / -1; }
  .lvl output { min-width: 0; flex: 1; }
  .go { padding: 11px 42px; font-size: 24px; }
}
@media (min-width: 901px) and (max-height: 820px) { .mark { width: min(340px, 80%); } }
/* ---------------------------------------------------------------- narrow */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .pitch { text-align: center; }
  .mark { margin: 0 auto 4px; }
  .hero h1, .lede, .try { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .stage { max-width: 440px; margin: 0 auto; width: 100%; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .slips { grid-template-columns: minmax(0, 1fr); }
  .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .band { padding: 22px 10px; }
  .wrap { border-radius: 26px; padding: 28px 18px; }
  .band:nth-child(n) .wrap { transform: none; }
  .lanes li { grid-template-columns: 6em 1fr 1.9em; }
  .pad button { height: 52px; }
  .lvl output { min-width: 0; flex: 1; }
  .purse { right: 10px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .band .wrap { opacity: 1; translate: none; }
  .sky i { display: none; }
}
