/* Click Mtaa: open test build. Orange, black, white. Inter (Display at large sizes via optical sizing). */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2-variations'), url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --surface: #151515;
  --surface-2: #1f1f1f;
  --line: #2b2b2b;
  --white: #fff;
  --muted: #a3a3a3;
  --orange: #f36b1c;
  --orange-press: #d95a10;
  --orange-soft: rgba(243, 107, 28, 0.15);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 30px;
  --pad: clamp(18px, 4vw, 40px);
  --max: 1120px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display {
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0;
}
h1.display { font-size: clamp(48px, 9vw, 112px); }
h2.display { font-size: clamp(34px, 5.5vw, 64px); }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 6px; }
p { margin: 0 0 14px; }
.lede { font-size: clamp(18px, 2.1vw, 22px); color: var(--muted); max-width: 34ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- logo ---------- */
.logo { display: inline-block; line-height: 0; border-radius: 8px; }
.logo img { height: 52px; width: auto; }
@media (min-width: 900px) { .site-head .logo img { height: 68px; } }
.app-top .logo img { height: 44px; }
.foot-logo { height: 72px; width: auto; margin-bottom: 8px; }
@media (max-width: 560px) { .logo img { height: 46px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--orange); color: var(--black); font-weight: 750; font-size: 17px;
  text-decoration: none; cursor: pointer; transition: transform 0.12s var(--ease), background 0.12s;
}
.btn:active { transform: scale(0.97); background: var(--orange-press); }
.btn.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.white { background: var(--white); color: var(--black); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.35; cursor: not-allowed; transform: none; }
.linkbtn { background: none; border: 0; padding: 8px 0; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- site header ---------- */
.site-head { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--pad); max-width: var(--max); margin: 0 auto; }
.site-head nav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.site-head nav a { text-decoration: none; color: var(--muted); }
.site-head nav a.btn { color: var(--black); min-height: 42px; padding: 0 18px; font-size: 15px; white-space: nowrap; }
@media (max-width: 560px) { .site-head nav a.hide-s { display: none; } }

/* ---------- landing ---------- */
.hero { max-width: var(--max); margin: 0 auto; padding: 8px var(--pad) 64px; display: grid; gap: 22px; }
.hero h1 { margin-bottom: 14px; font-size: clamp(44px, 9vw, 112px); }
.hero .lede { margin: 0; }
.hero .fine { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 1fr; grid-template-areas: 'copy phone' 'cta phone'; column-gap: 48px; row-gap: 28px; padding-top: 48px; }
  .hero-copy { grid-area: copy; align-self: end; }
  .hero-cta { grid-area: cta; align-self: start; }
  .hero .phone { grid-area: phone; }
  .hero h1 { margin-bottom: 22px; }
}

.phone {
  width: 100%; max-width: 410px; margin: 0 auto; height: 720px; max-height: calc(100svh - 40px);
  border-radius: 44px; background: var(--black); position: relative;
  box-shadow: 0 0 0 10px var(--surface), 0 0 0 11px var(--line), 0 40px 120px -30px rgba(243, 107, 28, 0.35);
  overflow: hidden; display: flex; flex-direction: column;
}
@media (max-width: 520px) {
  .phone { border-radius: 26px; height: min(640px, calc(100svh - 80px)); box-shadow: 0 0 0 1px var(--line), 0 30px 80px -30px rgba(243, 107, 28, 0.35); }
}

.band { border-top: 1px solid var(--line); }
.section { max-width: var(--max); margin: 0 auto; padding: 80px var(--pad); }
.section > h2 { margin-bottom: 36px; max-width: 14ch; }

.cats { display: grid; gap: 0; }
.cat { display: grid; gap: 6px 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.cat:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .cat { grid-template-columns: 280px 1fr auto; align-items: baseline; } }
.cat .name { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.025em; }
.cat .q { color: var(--muted); font-size: 18px; }
.cat .soon { font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; justify-self: start; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-size: 64px; font-weight: 850; letter-spacing: -0.04em; color: var(--orange); line-height: 1; margin-bottom: 12px; }
.steps p { color: var(--muted); max-width: 30ch; }

.open-test { background: var(--orange); color: var(--black); }
.open-test .section { display: grid; gap: 28px; }
@media (min-width: 860px) { .open-test .section { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.open-test p { font-size: 19px; max-width: 46ch; }
.open-test p.gap { margin-top: 18px; }
.slogan { font-size: clamp(30px, 5vw, 52px); color: var(--white); margin-bottom: 10px; }
.open-test .btn { background: var(--black); color: var(--white); }

.site-foot { max-width: var(--max); margin: 0 auto; padding: 40px var(--pad) 60px; color: var(--muted); font-size: 14px; display: grid; gap: 14px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-foot a { color: var(--white); }

/* ---------- trial player ---------- */
.trial { display: flex; flex-direction: column; height: 100%; min-height: 0; background: var(--black); position: relative; }
.trial-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); flex: none; }
.trial-head .t { flex: 1; min-width: 0; }
.trial-head .t strong { display: block; font-size: 16px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trial-head .t span { font-size: 13px; color: var(--muted); }
.iconbtn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface-2); display: grid; place-items: center; cursor: pointer; flex: none; }
.timer { height: 4px; background: var(--surface-2); flex: none; overflow: hidden; }
.timer i { display: block; height: 100%; background: var(--orange); width: 100%; transform-origin: left; }
.timer.urgent i { background: var(--white); }

.chat { flex: 1; overflow-y: auto; padding: 18px 14px 8px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 15.5px; line-height: 1.42; animation: pop 0.28s var(--ease) both; overflow-wrap: anywhere; }
.msg .from { display: block; font-size: 12.5px; font-weight: 650; color: var(--orange); margin-bottom: 2px; }
.msg.them, .msg.sms { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 6px; }
.msg.sms { background: #232323; box-shadow: inset 0 0 0 1px var(--line); }
.msg.sms .from { color: var(--muted); }
.msg.me { background: var(--orange); color: var(--black); align-self: flex-end; border-bottom-right-radius: 6px; font-weight: 520; }
.msg.note { align-self: center; background: none; color: var(--muted); font-size: 13.5px; text-align: center; max-width: 92%; padding: 4px 8px; font-style: italic; }
.typing { align-self: flex-start; background: var(--surface-2); border-radius: 18px; padding: 12px 16px; display: flex; gap: 5px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

.ending { align-self: stretch; border-radius: var(--radius-m); padding: 18px; margin-top: 6px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); animation: pop 0.3s var(--ease) both; }
.ending.best { box-shadow: inset 0 0 0 2px var(--orange); }
.ending h3 { font-size: 24px; letter-spacing: -0.02em; }
.ending p { color: #d6d6d6; font-size: 15.5px; }

.dock { flex: none; padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--black); display: grid; gap: 10px; max-height: 62%; overflow-y: auto; }
.dock .prompt { font-weight: 750; font-size: 17px; margin: 0; }
.evidence { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.evidence button { flex: none; border: 1.5px dashed #555; background: transparent; border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.evidence button.seen { border-style: solid; border-color: var(--orange); color: var(--orange); }
.choices { display: grid; gap: 8px; }
.choice { text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 11px 14px; font-size: 15px; line-height: 1.35; cursor: pointer; transition: border-color 0.12s, background 0.12s; }
.choice:hover { border-color: #555; }
.choice:active, .choice.picked { border-color: var(--orange); background: var(--orange-soft); }
.choice[disabled] { cursor: default; }

.sheet-wrap { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); display: flex; align-items: flex-end; z-index: 5; animation: fade 0.15s both; }
.sheet { background: var(--surface); width: 100%; border-radius: 22px 22px 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); animation: rise 0.22s var(--ease) both; max-height: 80%; overflow-y: auto; }
.sheet h3 { margin-bottom: 12px; }
.sheet ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; }
.sheet li { padding: 12px 14px; background: var(--black); border-radius: 12px; font-size: 15.5px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }

/* rank */
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rank li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 8px 8px 8px 12px; font-size: 15px; }
.rank li .n { font-weight: 850; color: var(--orange); font-size: 18px; }
.rank li .mv { display: flex; gap: 4px; }
.rank li .mv button { width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--surface-2); cursor: pointer; }
.rank li.hit { border-color: var(--orange); }
.rank li .verdict { font-size: 12.5px; color: var(--muted); grid-column: 2 / 4; }

/* allocate */
.budget-left { display: flex; justify-content: space-between; align-items: baseline; }
.budget-left strong { font-size: 30px; font-weight: 850; letter-spacing: -0.03em; }
.budget-left strong.zero { color: var(--orange); }
.alloc { display: grid; gap: 6px; }
.alloc .row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; background: var(--surface); border-radius: 12px; padding: 8px 8px 8px 12px; }
.alloc .row .lbl { font-size: 15px; font-weight: 650; }
.alloc .row .hint { font-size: 12.5px; color: var(--muted); }
.alloc .row.off { box-shadow: inset 0 0 0 1.5px #555; }
.alloc .row.ok { box-shadow: inset 0 0 0 1.5px var(--orange); }
.stepper { display: flex; align-items: center; gap: 6px; grid-row: span 2; }
.stepper button { width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--surface-2); font-size: 20px; cursor: pointer; }
.stepper output { min-width: 62px; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; font-size: 15px; }

/* ---------- debrief ---------- */
.debrief { overflow-y: auto; height: 100%; padding: 22px 18px 40px; display: grid; gap: 26px; align-content: start; }
.score-hero { display: grid; gap: 4px; }
.score-hero .num { font-size: clamp(104px, 30vw, 168px); font-weight: 900; letter-spacing: -0.06em; line-height: 0.82; font-variant-numeric: tabular-nums; }
.score-hero .num small { font-size: 0.24em; letter-spacing: -0.02em; color: var(--muted); font-weight: 700; margin-left: 6px; }
.score-hero .ending-name { font-size: 22px; font-weight: 750; letter-spacing: -0.015em; }
.xp-gain { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.xp-gain b { color: var(--orange); }
.skills { display: grid; gap: 10px; }
.skill { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 14.5px; }
.skill .bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.skill .bar i { display: block; height: 100%; background: var(--orange); border-radius: 99px; transition: width 0.8s var(--ease); }
.clues { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.clues li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 12px 14px; border-radius: 14px; font-size: 15px; line-height: 1.4; }
.clues li.found { background: var(--orange-soft); }
.clues li.missed { box-shadow: inset 0 0 0 1.5px var(--line); color: #d0d0d0; }
.clues li .mk { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 1px; }
.clues li.found .mk { background: var(--orange); color: var(--black); }
.clues li.missed .mk { box-shadow: inset 0 0 0 1.5px #666; color: #888; }
.principle { background: var(--orange); color: var(--black); border-radius: var(--radius-m); padding: 22px 20px; }
.principle .k { font-size: 14px; font-weight: 650; opacity: 0.75; margin-bottom: 6px; }
.principle .p { font-size: clamp(26px, 6vw, 34px); font-weight: 850; letter-spacing: -0.03em; line-height: 1.02; }
.explain p { color: #d6d6d6; }
.tip { border-left: 3px solid var(--orange); padding-left: 14px; color: var(--white); }
.crowd { font-size: 14px; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; }
.actions { display: grid; gap: 10px; }
.rival { background: var(--surface); border-radius: 14px; padding: 14px; font-size: 15px; }
.rival b { color: var(--orange); }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--white); color: var(--black); padding: 12px 18px; border-radius: 999px; font-weight: 650; font-size: 15px; z-index: 50; animation: pop 0.25s both; max-width: 90vw; text-align: center; }

/* ---------- app shell (arena) ---------- */
.app { min-height: 100svh; display: flex; flex-direction: column; }
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--pad); max-width: 760px; width: 100%; margin: 0 auto; }
.lvl-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 999px; padding: 6px 12px 6px 6px; font-size: 14px; font-weight: 650; text-decoration: none; }
.view { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 8px var(--pad) 110px; }
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: flex; justify-content: center; padding-bottom: env(safe-area-inset-bottom); z-index: 20; }
.tabbar a { flex: 1; max-width: 160px; text-align: center; padding: 12px 4px 14px; text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 600; display: grid; gap: 4px; justify-items: center; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current='page'] { color: var(--orange); }

.greet { margin: 10px 0 22px; }
.greet h1 { font-size: clamp(34px, 7vw, 52px); }
.statline { display: flex; gap: 22px; margin-top: 14px; flex-wrap: wrap; }
.stat strong { display: block; font-size: 26px; font-weight: 850; letter-spacing: -0.03em; }
.stat span { font-size: 13px; color: var(--muted); }

.daily { display: block; text-decoration: none; background: var(--orange); color: var(--black); border-radius: var(--radius-l); padding: 24px 22px 22px; position: relative; overflow: hidden; }
.daily .when { font-size: 14px; font-weight: 650; opacity: 0.75; }
.daily .title { font-size: clamp(34px, 8vw, 50px); font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; margin: 10px 0 10px; }
.daily .teaser { font-size: 17px; max-width: 30ch; margin-bottom: 18px; }
.daily .meta { padding-right: 64px; display: flex; gap: 8px; flex-wrap: wrap; font-size: 13.5px; font-weight: 650; }
.daily .meta span { background: rgba(0, 0, 0, 0.12); border-radius: 999px; padding: 4px 11px; }
.daily .go { position: absolute; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; }
.daily.done { background: var(--surface); color: var(--white); box-shadow: inset 0 0 0 2px var(--orange); }
.daily.done .meta span { background: var(--surface-2); }
.daily.done .go { background: var(--orange); color: var(--black); }

.h-sec { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 36px 0 12px; }
.tlist { display: grid; gap: 10px; }
.titem { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; text-decoration: none; background: var(--surface); border-radius: var(--radius-m); padding: 16px 18px; }
.titem .nm { font-weight: 750; font-size: 18px; letter-spacing: -0.01em; }
.titem .sub { font-size: 13.5px; color: var(--muted); }
.titem .sc { grid-row: span 2; font-size: 26px; font-weight: 850; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.titem .sc.none { font-size: 14px; font-weight: 650; color: var(--orange); }

.xpbar { height: 10px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin: 8px 0 4px; }
.xpbar i { display: block; height: 100%; background: var(--orange); }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.badge { background: var(--surface); border-radius: 16px; padding: 14px; font-size: 14px; }
.badge strong { display: block; font-size: 15.5px; margin: 8px 0 2px; }
.badge.locked { opacity: 0.45; }
.badge .medal { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; color: var(--black); font-weight: 900; }
.badge.locked .medal { background: var(--surface-2); color: var(--muted); }

.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 850; color: var(--black); flex: none; overflow: hidden; }
.avatar.lg { width: 76px; height: 76px; font-size: 30px; }
.av-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.av-pick button { border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer; }
.av-pick button[aria-pressed='true'] .avatar { box-shadow: 0 0 0 3px var(--black), 0 0 0 5px var(--white); }
.field { display: grid; gap: 6px; margin: 16px 0; }
.field label { font-size: 14px; color: var(--muted); }
.field input { background: var(--surface); border: 1.5px solid var(--line); color: var(--white); border-radius: 12px; padding: 14px; font: inherit; }
.field input:focus { border-color: var(--orange); outline: none; }
.note-box { background: var(--surface); border-radius: var(--radius-m); padding: 18px; color: #d6d6d6; font-size: 15.5px; }
.trial-screen { position: fixed; inset: 0; z-index: 40; background: var(--black); display: flex; justify-content: center; }
.trial-screen > .trial, .trial-screen > .debrief { width: 100%; max-width: 560px; }
.trial-screen > .debrief { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.history { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.history li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.history li span { color: var(--muted); font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- simple pages ---------- */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(40px, 7vw, 72px); margin-bottom: 20px; }
.prose h3 { margin-top: 30px; }
.prose p { color: #d6d6d6; max-width: 64ch; }

.newbadges { display: flex; flex-wrap: wrap; gap: 8px; }
.newbadges span { display: inline-flex; align-items: center; gap: 8px; background: var(--orange-soft); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14.5px; font-weight: 650; }
.newbadges span i { width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: var(--black); display: grid; place-items: center; font-style: normal; font-size: 13px; }

.allplayed { margin: 4px 0 14px; border: 1.5px solid var(--orange); }

/* ---------- plans and payment ---------- */
.titem .sc.lock { color: var(--muted); }
.titem.locked .nm { color: #d6d6d6; }
.planbox h3 { margin-bottom: 6px; }
.planbox.offer { border: 1.5px solid var(--orange); }
.planbox .btn { margin-top: 4px; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.plan { display: grid; gap: 2px; text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-m); padding: 16px; cursor: pointer; }
.plan .nm { font-weight: 700; font-size: 15px; color: var(--muted); }
.plan .pr { font-size: 28px; font-weight: 850; letter-spacing: -0.03em; }
.plan .sub { font-size: 13px; color: var(--muted); }
.plan[aria-checked='true'] { border-color: var(--orange); background: var(--orange-soft); }
.plan[aria-checked='true'] .nm { color: var(--white); }
.form-err { color: #ff9a62; font-size: 15px; min-height: 0; margin: 0 0 10px; }
.form-err:empty { display: none; }
.paysteps { padding-left: 22px; display: grid; gap: 12px; margin: 0 0 20px; }
.paysteps li { padding-left: 4px; }
.payrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--surface); border-radius: 12px; padding: 10px 12px; }
.payrow .k { color: var(--muted); font-size: 14px; }
.payrow .v { font-size: 20px; font-weight: 800; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; margin-right: auto; }
.mini { background: var(--surface-2); border: 0; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 650; cursor: pointer; }
.mini:active { background: var(--orange); color: var(--black); }
.waiting { display: flex; align-items: center; gap: 12px; font-weight: 650; margin: 8px 0 10px; }
.waiting .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); animation: pulse 1.2s var(--ease) infinite; flex: none; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }
.claim { margin-top: 18px; padding-top: 6px; border-top: 1px solid var(--line); }
.claim h3 { margin-top: 14px; }
.paid-ok { display: grid; gap: 10px; }
.paid-ok h2.display { font-size: clamp(44px, 10vw, 72px); color: var(--orange); }
.paid-ok h3 { margin-top: 14px; }
.acct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 4px; }
.prose ul { color: #d6d6d6; max-width: 64ch; padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* ---------- more from Click Mtaa ---------- */
.suite { --gap: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 170px)); gap: var(--gap); }
@media (min-width: 860px) { .suite { --gap: 48px; grid-template-columns: repeat(4, 200px); } }
.suite-card { position: relative; display: block; text-decoration: none; border-radius: 12px; }
.suite-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); transition: transform 0.25s var(--ease), border-color 0.25s var(--ease); }
.suite-card:hover img, .suite-card:focus-visible img { transform: translateY(-3px); border-color: var(--orange); }
/* orange separators: between columns, and between rows on phones */
.suite-card:nth-child(even)::before, .suite-card:nth-child(n+3)::after { content: ''; position: absolute; background: var(--orange); border-radius: 2px; }
.suite-card:nth-child(even)::before { left: calc(var(--gap) / -2 - 1px); top: 15%; width: 2px; height: 70%; }
.suite-card:nth-child(n+3)::after { top: calc(var(--gap) / -2 - 1px); left: 15%; height: 2px; width: 70%; }
@media (min-width: 860px) {
  .suite-card::after { display: none; }
  .suite-card:not(:first-child)::before { content: ''; position: absolute; background: var(--orange); border-radius: 2px; left: calc(var(--gap) / -2 - 1px); top: 15%; width: 2px; height: 70%; }
}
.site-foot nav { flex-wrap: wrap; }
.section > h2.suite-h { font-size: clamp(26px, 3.4vw, 36px); max-width: none; margin-bottom: 24px; }
