
/* VoraNext sells exam groups: each is a free community plus a paid Group
   Pass for that exam's test series, mocks and previous papers. Layout after
   iQuanta and Cracku: exam tabs under the header that switch the page to an
   exam, a sales hero with phone sign-up and a live product collage, a dark
   results band with rolling counters, exam groups by category, a bento of
   what's inside, the Group Pass with a Free-vs-Pass table, the mock
   interface, daily practice and the community, free tiles, the app, FAQ and
   a last call to join. Log in and sign-up open a two-pane dialog. */
:root {
  --page: #FFFFFF; --soft: #F4F7FC; --soft-2: #EAF1FB; --surface: #FFFFFF; --ink: #010825; --muted: #5C6680; --body2: #36405A; --line: #E2E8F2; --line-2: #D5DEEC;
  --action: #1F6FD1; --action-ink: #1A5DB0; --sky: #4091ED; --tint: #E8F2FD; --glow: #9CCBFF;
  --amber: #B45309; --amber-tint: #FFF4DB; --good: #0B7F6F; --good-tint: #E3F4F1; --bad: #C2410C; --bad-tint: #FFF0E6; --violet: #6D28D9; --violet-tint: #F1EAFE;
  --navy: #010825; --navy-2: #0F1A3E; --navy-3: #1E2A55; --on-navy: #EEF3FB; --on-navy-muted: #A3AECB;
  --head-bg: rgba(255, 255, 255, 0.86); --head-ink: #010825; --head-muted: #36405A; --head-line: #E2E8F2;
  --hero-bg: radial-gradient(60% 70% at 85% 0%, #D6E8FF 0%, transparent 60%), radial-gradient(40% 60% at 0% 100%, #E7F0FF 0%, transparent 70%), linear-gradient(180deg, #F6F9FF, #FFFFFF);
  --hero-grid: rgba(31, 111, 209, 0.07);
  --card-shadow: 0 1px 2px rgba(1, 8, 37, 0.05), 0 18px 40px -28px rgba(1, 8, 37, 0.35);
  --lift: 0 30px 70px -36px rgba(1, 8, 37, 0.45);
  /* "Deep" sections (results, featured tiles, community, app, footer, the
     dialog's side panel): light and airy here, navy in dark mode. */
  --deep-bg: radial-gradient(60% 80% at 100% 0%, #DCEBFF, transparent 60%), radial-gradient(50% 70% at 0% 100%, #EEE6FF, transparent 60%), #F6F9FF;
  --deep-ink: #010825; --deep-muted: #5C6680; --deep-sub: #36405A; --deep-card: #FFFFFF; --deep-line: #DCE5F3; --deep-chip-bg: #E8F2FD; --deep-chip-ink: #1A5DB0;
  --deep-bubble: #F1F5FB; --deep-btn-bg: #010825; --deep-btn-ink: #FFFFFF; --deep-step: #C8D5EA; --deep-shadow: 0 1px 2px rgba(1, 8, 37, 0.05), 0 18px 40px -28px rgba(1, 8, 37, 0.35);
  --foot-bg: #F4F7FC; --foot-line: #E2E8F2;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #010825; --soft: #050E2C; --soft-2: #0A1638; --surface: #0D1839; --ink: #EEF3FB; --muted: #A3AECB; --body2: #C3CBE0; --line: #1C2852; --line-2: #26346A;
    --action: #4091ED; --action-ink: #8CC0F8; --tint: #12264D; --amber: #FBBF24; --amber-tint: #2E2208; --good: #34D399; --good-tint: #0E2F2B; --bad: #FB923C; --bad-tint: #33190C; --violet: #A78BFA; --violet-tint: #1F1645;
    --head-bg: rgba(1, 8, 37, 0.82); --head-ink: #EEF3FB; --head-muted: #A3AECB; --head-line: #16204A;
    --hero-bg: radial-gradient(55% 70% at 85% 0%, rgba(64, 145, 237, 0.38) 0%, transparent 65%), radial-gradient(40% 60% at 0% 100%, rgba(31, 111, 209, 0.28) 0%, transparent 70%), linear-gradient(180deg, #010825, #020B2B);
    --hero-grid: rgba(156, 203, 255, 0.07);
    --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 20px 50px -30px rgba(0, 0, 0, 0.9);
    --lift: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
    color-scheme: dark;
    --deep-bg: radial-gradient(60% 80% at 100% 0%, rgba(64, 145, 237, 0.38), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(124, 58, 237, 0.3), transparent 60%), #010825;
    --deep-ink: #FFFFFF; --deep-muted: #A3AECB; --deep-sub: #C3CBE0; --deep-card: rgba(238, 243, 251, 0.05); --deep-line: #1E2A55; --deep-chip-bg: rgba(156, 203, 255, 0.14); --deep-chip-ink: #9CCBFF;
    --deep-bubble: rgba(238, 243, 251, 0.08); --deep-btn-bg: #FFFFFF; --deep-btn-ink: #010825; --deep-step: #26346A; --deep-shadow: none;
    --foot-bg: #010825; --foot-line: #1E2A55;
  }
}
:root[data-theme="dark"] {
  --page: #010825; --soft: #050E2C; --soft-2: #0A1638; --surface: #0D1839; --ink: #EEF3FB; --muted: #A3AECB; --body2: #C3CBE0; --line: #1C2852; --line-2: #26346A;
  --action: #4091ED; --action-ink: #8CC0F8; --tint: #12264D; --amber: #FBBF24; --amber-tint: #2E2208; --good: #34D399; --good-tint: #0E2F2B; --bad: #FB923C; --bad-tint: #33190C; --violet: #A78BFA; --violet-tint: #1F1645;
  --head-bg: rgba(1, 8, 37, 0.82); --head-ink: #EEF3FB; --head-muted: #A3AECB; --head-line: #16204A;
  --hero-bg: radial-gradient(55% 70% at 85% 0%, rgba(64, 145, 237, 0.38) 0%, transparent 65%), radial-gradient(40% 60% at 0% 100%, rgba(31, 111, 209, 0.28) 0%, transparent 70%), linear-gradient(180deg, #010825, #020B2B);
  --hero-grid: rgba(156, 203, 255, 0.07);
  --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 20px 50px -30px rgba(0, 0, 0, 0.9);
  --lift: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  color-scheme: dark;
  --deep-bg: radial-gradient(60% 80% at 100% 0%, rgba(64, 145, 237, 0.38), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(124, 58, 237, 0.3), transparent 60%), #010825;
  --deep-ink: #FFFFFF; --deep-muted: #A3AECB; --deep-sub: #C3CBE0; --deep-card: rgba(238, 243, 251, 0.05); --deep-line: #1E2A55; --deep-chip-bg: rgba(156, 203, 255, 0.14); --deep-chip-ink: #9CCBFF;
  --deep-bubble: rgba(238, 243, 251, 0.08); --deep-btn-bg: #FFFFFF; --deep-btn-ink: #010825; --deep-step: #26346A; --deep-shadow: none;
  --foot-bg: #010825; --foot-line: #1E2A55;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--action-ink); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.05; }
h3 { font-size: 20px; line-height: 1.2; }
.ico { width: 20px; height: 20px; flex-shrink: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--action-ink); font: 700 12px var(--body); letter-spacing: 0.1em; text-transform: uppercase; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lead { color: var(--muted); font-size: 18px; margin: 0; max-width: 62ch; }
.band { padding-block: clamp(64px, 8vw, 110px); position: relative; }
.band.soft { background: var(--soft); }
.head { display: grid; gap: 14px; justify-items: center; text-align: center; margin: 0 auto 44px; max-width: 760px; }
.head .lead { margin-inline: auto; }
.head.left { justify-items: start; text-align: left; margin-left: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform 140ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn.primary { background: var(--action); color: #fff; box-shadow: 0 12px 26px -12px rgba(31, 111, 209, 0.8); }
.btn.primary:hover { box-shadow: 0 16px 30px -12px rgba(31, 111, 209, 0.9); }
.btn.dark { background: var(--ink); color: var(--page); }
.btn.glow { background: var(--glow); color: #010825; }
.btn.line { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn.line:hover { border-color: var(--action); }
.btn.white { background: #fff; color: #010825; }
.btn.sm { height: 42px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.sample { display: inline-block; font: 800 10px var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); background: var(--amber-tint); padding: 3px 8px; border-radius: 999px; vertical-align: middle; }
.wm-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wm-light { display: none; } :root:not([data-theme="light"]) .wm-dark { display: block; } }
:root[data-theme="dark"] .wm-light { display: none; }
:root[data-theme="dark"] .wm-dark { display: block; }
/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* Promo bar */
.promo { background: linear-gradient(90deg, #1F6FD1, #4091ED 50%, #7C3AED); color: #fff; font-size: 14px; font-weight: 600; }
.promo .wrap { display: flex; align-items: center; justify-content: center; gap: 8px 14px; min-height: 42px; flex-wrap: wrap; padding-block: 6px; text-align: center; }
.promo .chip { font-variant-numeric: tabular-nums; background: rgba(255, 255, 255, 0.18); padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.promo a { color: #fff; font-weight: 800; text-underline-offset: 3px; }

/* Header + exam tabs */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--head-bg); backdrop-filter: saturate(170%) blur(14px); border-bottom: 1px solid var(--head-line); }
.site-head .wrap.bar { display: flex; align-items: center; gap: 18px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo img.icon { width: 38px; height: 38px; border-radius: 11px; }
.logo img.word { height: 21px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: 12px; }
.nav a { color: var(--head-muted); text-decoration: none; font-size: 15px; font-weight: 600; padding: 9px 12px; border-radius: 10px; }
.nav a:hover { color: var(--head-ink); background: var(--soft); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.head-actions .login { color: var(--head-ink); background: transparent; border: 0; font-size: 15px; font-weight: 700; padding: 9px 12px; border-radius: 10px; }
.head-actions .login:hover { background: var(--soft); }
.round { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--head-ink); display: grid; place-items: center; }
.theme-btn .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .sun { display: none; } :root:not([data-theme="light"]) .theme-btn .moon { display: block; } }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
.menu-btn { display: none; }
.exam-tabs { border-top: 1px solid var(--head-line); }
.exam-tabs .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; height: 50px; align-items: center; }
.exam-tabs .wrap::-webkit-scrollbar { display: none; }
.exam-tabs span.l { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 6px; white-space: nowrap; }
.exam-tabs button { position: relative; flex-shrink: 0; height: 36px; padding: 0 14px; border-radius: 10px; border: 0; background: none; font-weight: 700; font-size: 14px; color: var(--head-muted); }
.exam-tabs button:hover { color: var(--head-ink); background: var(--soft); }
.exam-tabs button[aria-pressed="true"] { color: var(--action-ink); background: var(--tint); }
.mobile-nav { display: none; }
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .mobile-nav:not([hidden]) { display: grid; padding: 6px max(20px, env(safe-area-inset-left, 0px)) 16px; border-top: 1px solid var(--head-line); }
  .mobile-nav a { color: var(--head-ink); text-decoration: none; padding: 13px 4px; font-weight: 600; border-bottom: 1px solid var(--head-line); }
}
@media (max-width: 520px) { .head-actions .btn, .head-actions .login { display: none; } .logo img.word { height: 18px; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--hero-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 80% at 60% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 60% 30%, #000, transparent 75%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; padding-block: 64px 72px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); font-size: 14px; font-weight: 600; color: var(--body2); }
.kicker b { background: var(--good-tint); color: var(--good); font-size: 12px; padding: 3px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.kicker b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: 0.3; } }
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); line-height: 1.02; letter-spacing: -0.045em; margin-top: 22px; }
.hero h1 .ex { background: linear-gradient(90deg, #1F6FD1, #4091ED 40%, #7C3AED); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; transition: opacity 200ms ease; }
.hero h1 .ex.swap { opacity: 0; }
.hero p.sub { color: var(--muted); font-size: 19px; margin: 22px 0 0; max-width: 54ch; }
.join { margin-top: 30px; display: flex; gap: 8px; max-width: 540px; padding: 7px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--lift); }
.join .cc { display: flex; align-items: center; gap: 6px; padding: 0 10px 0 12px; font-weight: 800; color: var(--body2); border-right: 1px solid var(--line); }
.join input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font-size: 16px; padding: 0 8px; outline: none; }
.join input::placeholder { color: var(--muted); }
.join .btn { height: 50px; }
.join-note { margin-top: 10px; font-size: 13px; color: var(--muted); min-height: 20px; }
.trust { display: flex; align-items: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.faces { display: flex; }
.faces span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 12px var(--body); border: 3px solid var(--page); margin-left: -10px; }
.faces span:first-child { margin-left: 0; }
.trust p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.35; }
.trust p b { color: var(--ink); font-size: 15px; }
.promises { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.promises li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--body2); }
.promises span { width: 20px; height: 20px; border-radius: 50%; background: var(--good-tint); color: var(--good); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.trending { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.trending span { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 2px; }
.trending a { font-size: 13px; font-weight: 600; text-decoration: none; color: var(--body2); padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.trending a:hover { border-color: var(--action); color: var(--action-ink); }

/* Hero collage: the group card, a scorecard, today's problem and a rank pill */
.collage { position: relative; height: 540px; }
.cl { position: absolute; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--lift); color: var(--ink); }
.cl-group { left: 2%; top: 0; width: 70%; overflow: hidden; animation: float 7s ease-in-out infinite; }
/* The cover is the app's Home banner: navy to blue, a glow and the dot grid. */
.cl-group .cv { position: relative; height: 128px; overflow: hidden; background: radial-gradient(60% 90% at 85% 10%, rgba(156, 203, 255, 0.45), transparent 60%), linear-gradient(120deg, #010825 0%, #10265E 60%, #1F56B8 100%); }
.cl-group .cv::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, 0.2) 1.1px, transparent 1.2px) 0 0 / 14px 14px; -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000); mask-image: linear-gradient(90deg, transparent 25%, #000); }
.cl-group .cv img { width: 100%; height: 100%; object-fit: cover; }
.cl-group .cv::after { content: ""; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(156, 203, 255, 0.25); box-shadow: 0 0 0 26px rgba(156, 203, 255, 0.05); }
.cl-group .cv b { position: absolute; left: 16px; bottom: 12px; z-index: 1; color: #fff; font: 700 21px var(--display); }
.cl-group .cv small { position: absolute; left: 16px; top: 12px; z-index: 1; color: #9CCBFF; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; background: rgba(156, 203, 255, 0.14); padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(4px); }
.cl-group .bd { padding: 14px 16px 16px; display: grid; gap: 12px; }
.cl-group .row1 { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.cl-group .mini { flex-shrink: 0; }
.cl-group .days { color: #EA580C; font-weight: 800; font-size: 14px; }
.cl-group .mini { display: flex; }
.cl-group .mini img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface); margin-left: -9px; }
.cl-group .mini img:first-child { margin-left: 0; }
.cl-group .mini em { font-style: normal; margin-left: 8px; font-size: 13px; font-weight: 700; color: var(--body2); align-self: center; }
.cl-group .next { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--soft); font-size: 13px; }
.cl-group .next b { display: block; font-size: 14px; }
.cl-group .next .go { margin-left: auto; font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 9px; background: var(--action); color: #fff; }
.cl-score { right: 0; top: 200px; width: 54%; padding: 18px; z-index: 2; animation: float 7s 1.2s ease-in-out infinite; }
.cl-score .t { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; color: var(--muted); }
.cl-score .t span { background: var(--good-tint); color: var(--good); padding: 3px 8px; border-radius: 999px; letter-spacing: 0; }
.cl-score .big { font: 700 46px var(--display); letter-spacing: -0.03em; margin-top: 6px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cl-score .big small { font: 600 15px var(--body); color: var(--muted); }
.cl-score .rows { display: grid; gap: 9px; margin-top: 12px; }
.cl-score .rows div { display: grid; grid-template-columns: 44px 1fr 28px; gap: 8px; align-items: center; font-size: 12px; color: var(--body2); font-weight: 700; }
.cl-score .rows i { height: 8px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.cl-score .rows i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, #1F6FD1, #4091ED); border-radius: 4px; animation: fill 1.4s 0.4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fill { from { width: 0; } }
.cl-score .rank { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); gap: 8px; }
.cl-score .rank b { color: var(--ink); }
.cl-potd { left: 0; bottom: 6px; width: 60%; padding: 14px; z-index: 3; animation: float 7s 2.4s ease-in-out infinite; }
.cl-potd .h { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: linear-gradient(135deg, #1F6FD1, #4091ED); color: #fff; font-weight: 700; font-size: 13px; }
.cl-potd .h span { font-variant-numeric: tabular-nums; background: rgba(255, 255, 255, 0.2); padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.cl-potd p { margin: 10px 2px 8px; font: 600 15px var(--display); }
.cl-potd .o2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cl-potd .o2 span { text-align: center; padding: 7px 0; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; font-size: 13px; }
.cl-potd .o2 span.ok { border-color: var(--good); background: var(--good-tint); color: var(--good); }
.cl-pill { right: 6%; bottom: 40px; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 999px; animation: float 7s 3.2s ease-in-out infinite; }
.cl-pill .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--violet-tint); color: var(--violet); }
.cl-pill b { display: block; font-size: 14px; }
.cl-pill small { color: var(--muted); font-size: 12px; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .cl { animation: none !important; } .cl-score .rows i::after { animation: none; } .kicker b::before { animation: none; } }
@media (max-width: 1020px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 44px 56px; } .collage { height: 520px; max-width: 560px; width: 100%; margin: 0 auto; } }
@media (max-width: 520px) { .collage { height: 600px; } .cl-group { width: 86%; left: 0; } .cl-score { width: 78%; top: 210px; } .cl-potd { width: 86%; } .cl-pill { right: 0; bottom: 200px; } }

/* Results band (dark in both themes) */
.results { background: radial-gradient(60% 80% at 100% 0%, rgba(64, 145, 237, 0.35), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(124, 58, 237, 0.3), transparent 60%), #010825; color: var(--on-navy); padding-block: clamp(60px, 7vw, 96px); overflow: hidden; }
.results .head .lead { color: var(--on-navy-muted); }
.results .eyebrow { background: rgba(156, 203, 255, 0.14); color: var(--glow); }
.results h2 { color: #fff; }
.odos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 44px; }
.odo { padding: 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(238, 243, 251, 0.07), rgba(238, 243, 251, 0.02)); border: 1px solid rgba(238, 243, 251, 0.12); display: grid; gap: 10px; justify-items: start; }
.odo .digits { display: flex; gap: 4px; align-items: center; }
.odo .d { width: 40px; height: 56px; border-radius: 10px; background: rgba(1, 8, 37, 0.65); border: 1px solid rgba(156, 203, 255, 0.2); overflow: hidden; position: relative; }
.odo .d .strip { position: absolute; left: 0; right: 0; top: 0; display: grid; transition: transform 1.6s cubic-bezier(.2, .8, .2, 1); }
.odo .d .strip span { height: 56px; display: grid; place-items: center; font: 700 30px var(--display); color: #fff; }
.odo .sep { font: 700 26px var(--display); color: var(--glow); padding: 0 2px; }
.odo b { font: 700 16px var(--display); color: #fff; }
.odo small { font-size: 13px; color: var(--on-navy-muted); }
@media (max-width: 960px) { .odos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .odos { grid-template-columns: 1fr; } .odo .d { width: 34px; height: 48px; } .odo .d .strip span { height: 48px; font-size: 26px; } }
.stories-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 0 0 18px; flex-wrap: wrap; }
.stories-head h3 { font-size: 24px; color: var(--deep-ink); }
.stories-head p { margin: 6px 0 0; color: var(--deep-muted); font-size: 15px; max-width: 70ch; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; gap: 16px; width: max-content; animation: slide 46s linear infinite; padding-block: 6px; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } .marquee { overflow-x: auto; } }
.topper { width: 250px; flex-shrink: 0; border-radius: 22px; background: #0D1839; border: 1px solid #1E2A55; overflow: hidden; display: grid; transition: transform 200ms ease; }
.topper:hover { transform: translateY(-4px); }
.topper .tt { height: 190px; position: relative; background: radial-gradient(70% 90% at 50% 100%, color-mix(in srgb, var(--c) 55%, #fff), var(--c)); overflow: hidden; }
.topper .tt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform 400ms ease; }
.topper:hover .tt img { transform: scale(1.05); }
.topper .tt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 8, 37, 0.25), transparent 35%, transparent 65%, rgba(1, 8, 37, 0.35)); }
.topper .badge-ex, .topper .samp { z-index: 2; }
.topper .badge-ex { position: absolute; left: 12px; top: 12px; z-index: 1; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: #010825; }
.topper .samp { position: absolute; right: 12px; top: 12px; z-index: 1; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(1, 8, 37, 0.45); color: #fff; }
.topper .bb { padding: 14px 16px 16px; display: grid; gap: 6px; }
.topper .pct { font: 700 32px var(--display); letter-spacing: -0.03em; color: #fff; line-height: 1; }
.topper .pct small { font: 600 13px var(--body); color: var(--on-navy-muted); }
.topper .who { font-size: 13px; color: var(--on-navy-muted); }
.topper .who b { color: #fff; }
.topper q { font-size: 13px; color: #C3CBE0; quotes: "“" "”"; }

/* Exam groups */
.cat-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.cat-tabs button { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 14px; color: var(--body2); }
.cat-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--page); border-color: var(--ink); }
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.group { border-radius: 24px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--card-shadow); overflow: hidden; display: grid; transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; animation: gIn 380ms cubic-bezier(.2, .8, .2, 1) both; }
@keyframes gIn { from { opacity: 0; transform: translateY(10px); } }
.group:hover { transform: translateY(-4px); box-shadow: var(--lift); border-color: color-mix(in srgb, var(--action) 35%, var(--line)); }
.group .gt { position: relative; padding: 18px; display: flex; gap: 12px; align-items: center; color: #fff; overflow: hidden; }
.group .gt::after { content: ""; position: absolute; right: -30px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, 0.09); }
.group .gt > * { position: relative; z-index: 1; }
.emblem { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; font: 700 13px var(--display); flex-shrink: 0; }
.group .gt .emblem { background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.3); }
.group .gt b { font: 700 20px var(--display); display: block; }
.group .gt small { opacity: 0.85; font-size: 13px; }
.group .gb { padding: 16px 18px 18px; display: grid; gap: 14px; }
.group .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.mini-faces { display: flex; align-items: center; }
.mini-faces i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--surface); margin-left: -7px; }
.mini-faces i:first-child { margin-left: 0; }
.mini-faces b { margin-left: 8px; color: var(--ink); }
.group .meta .d { color: #EA580C; font-weight: 700; }
.group .inc { display: grid; gap: 8px; font-size: 14px; color: var(--body2); }
.group .inc div { display: flex; gap: 8px; align-items: flex-start; }
.tag { font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; flex-shrink: 0; margin-top: 1px; }
.tag.t-free { color: var(--good); background: var(--good-tint); }
.tag.t-pass { color: var(--action-ink); background: var(--tint); }
.group .acts { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

/* Campus mosaic */
.campus-band { padding-bottom: clamp(48px, 6vw, 80px); }
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.mosaic figure { position: relative; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--card-shadow); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2, .8, .2, 1); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(1, 8, 37, 0.65)); }
.mosaic figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.mosaic figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9CCBFF; }
.mosaic .m1 { grid-row: span 2; }
.mosaic .m2 { grid-column: span 2; }
.credit { margin: 12px 0 0; font-size: 12px; color: var(--muted); text-align: right; }
@media (max-width: 860px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px; } .mosaic .m1 { grid-row: span 1; grid-column: span 2; } .mosaic .m2 { grid-column: span 2; } .mosaic .m5 { display: none; } }
@media (max-width: 480px) { .mosaic { grid-template-rows: 180px 150px 150px; } }
@media (prefers-reduced-motion: reduce) { .mosaic img { transition: none; } }

/* How it works */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; position: relative; }
.how::before { content: ""; position: absolute; left: 16%; right: 16%; top: 30px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px); }
.how li { position: relative; display: grid; justify-items: center; text-align: center; gap: 10px; padding: 0 12px; }
.how .hn { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--line-2); box-shadow: var(--card-shadow); font: 700 24px var(--display); color: var(--action-ink); }
.how li:nth-child(2) .hn { background: var(--action); color: #fff; border-color: var(--action); }
.how b { font: 700 20px var(--display); }
.how p { margin: 0; color: var(--muted); font-size: 15px; max-width: 34ch; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } .how::before { display: none; } }

/* Bento: what's in a group */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.tile { border-radius: 24px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--card-shadow); padding: 22px; display: grid; gap: 10px; align-content: start; position: relative; overflow: hidden; min-width: 0; }
.tile .ti { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.tile b { font: 700 19px var(--display); }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tile.navy { background: radial-gradient(70% 90% at 100% 0%, rgba(64, 145, 237, 0.45), transparent 60%), #010825; border-color: #16204A; color: var(--on-navy); }
.tile.navy p { color: var(--on-navy-muted); }
.chatlet { display: grid; gap: 10px; margin-top: 10px; }
.chatlet div { display: flex; gap: 10px; align-items: flex-end; max-width: 92%; }
.chatlet div.me { margin-left: auto; flex-direction: row-reverse; }
.chatlet .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.chatlet p { margin: 0; padding: 10px 13px; border-radius: 16px 16px 16px 4px; background: rgba(238, 243, 251, 0.08); border: 1px solid rgba(238, 243, 251, 0.1); color: #EEF3FB !important; font-size: 14px; }
.chatlet .me p { border-radius: 16px 16px 4px 16px; background: #1F6FD1; border-color: transparent; }
.chatlet small { display: block; font-size: 11px; color: var(--on-navy-muted); margin-bottom: 2px; }
.duel { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-top: 6px; text-align: center; }
.duel .p { display: grid; justify-items: center; gap: 4px; font-size: 13px; font-weight: 700; }
.duel .p span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; }
.duel .vs { font: 700 13px var(--display); padding: 6px 10px; border-radius: 999px; background: var(--violet-tint); color: var(--violet); }
.coins { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--amber); background: var(--amber-tint); padding: 5px 10px; border-radius: 999px; font-size: 13px; justify-self: start; }
.coins img { width: 18px; height: 18px; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile.big { grid-row: span 1; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile.big, .tile.wide { grid-column: auto; } }

/* Why you can trust our tests */
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-card { border-radius: 22px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--card-shadow); padding: 22px; display: grid; gap: 10px; align-content: start; }
.trust-card .tci { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.trust-card b { font: 700 19px var(--display); }
.trust-card p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } }

/* Group Pass */
.picker { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.picker button { border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 14px; padding: 0 16px; border-radius: 999px; height: 42px; color: var(--body2); }
.picker button[aria-pressed="true"] { background: var(--ink); color: var(--page); border-color: var(--ink); }
.pass-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 24px; align-items: start; }
.schedule { border-radius: 26px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--card-shadow); overflow: hidden; }
.schedule .sh { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; background: var(--soft); }
.schedule .sh b { font: 700 19px var(--display); }
.schedule .sh span { font-size: 13px; color: var(--muted); }
.tl { padding: 10px 22px 18px; }
.test { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; }
.test::before { content: ""; position: absolute; left: 28px; top: 0; bottom: 0; width: 2px; background: var(--line); z-index: 0; }
.test:first-child::before { top: 50%; }
.test:last-child::before { bottom: 50%; }
.date { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; align-content: center; background: var(--surface); border: 1.5px solid var(--line-2); text-align: center; line-height: 1.1; }
.test.done .date { border-color: var(--good); background: var(--good-tint); }
.test.live .date { border-color: var(--action); background: var(--action); color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--action) 18%, transparent); }
.test.live .date small { color: #DCEBFC; }
.date b { font: 700 20px var(--display); }
.date small { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.test .name b { display: block; font-size: 15px; }
.test .name span { font-size: 13px; color: var(--muted); }
.state { font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.state.done { color: var(--good); background: var(--good-tint); }
.state.live { color: #fff; background: var(--action); }
.state.soon { color: var(--muted); background: var(--soft); }
.plans { display: grid; gap: 14px; }
.plan { border-radius: 26px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--card-shadow); padding: 24px; display: grid; gap: 14px; position: relative; overflow: hidden; }
.plan.pop { border: 2px solid var(--action); }
.plan.pop::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--action) 18%, transparent), transparent 70%); }
.plan > * { position: relative; }
.plan .ph { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan .ph b { font: 700 18px var(--display); }
.plan .badge { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--action-ink); }
.plan.pop .badge { background: var(--action); color: #fff; }
.plan .price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.plan .price strong { font: 700 44px var(--display); letter-spacing: -0.03em; }
.plan .price s { color: var(--muted); }
.plan .price em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--good); background: var(--good-tint); padding: 3px 8px; border-radius: 999px; }
.plan small { color: var(--muted); }
.gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gets li { display: flex; gap: 10px; font-size: 15px; color: var(--body2); }
.gets svg { color: var(--good); flex-shrink: 0; margin-top: 2px; }
.fine { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); justify-content: center; }
.fine span::before { content: "✓ "; color: var(--good); font-weight: 800; }
.compare { margin-top: 28px; border-radius: 26px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--card-shadow); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--soft); font: 700 15px var(--display); }
.compare thead th:nth-child(3) { color: var(--action-ink); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare .y { color: var(--good); font-weight: 800; }
.compare .n { color: var(--muted); }
.compare td:nth-child(3) { background: color-mix(in srgb, var(--action) 5%, transparent); }
@media (max-width: 960px) { .pass-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .compare th, .compare td { padding: 12px 10px; font-size: 13px; } .tl { padding-inline: 14px; } .test { grid-template-columns: 50px minmax(0, 1fr); } .test .state { grid-column: 2; justify-self: start; } .date { width: 50px; height: 50px; } .test::before { left: 24px; } }

/* Mock experience */
.exp { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.feats { display: grid; gap: 14px; margin-top: 28px; }
.feat { display: flex; gap: 14px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color 160ms ease, transform 160ms ease; }
.feat:hover { border-color: var(--action); transform: translateX(4px); }
.feat .fi { width: 44px; height: 44px; border-radius: 13px; background: var(--tint); color: var(--action-ink); display: grid; place-items: center; flex-shrink: 0; }
.feat b { display: block; font-size: 16px; }
.feat span { color: var(--muted); font-size: 14px; }
.exam-wrap { position: relative; padding: 18px; }
.exam-ui { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--lift); font-size: 13px; }
.exam-ui .bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #010825; color: var(--on-navy); gap: 10px; flex-wrap: wrap; }
.exam-ui .bar b { font-family: var(--display); font-size: 15px; }
.exam-ui .clock { font: 700 15px var(--display); background: rgba(156, 203, 255, 0.16); color: var(--glow); padding: 4px 10px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.exam-ui .secs { display: flex; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.exam-ui .secs span { padding: 5px 10px; border-radius: 8px; background: var(--soft); font-weight: 700; color: var(--muted); }
.exam-ui .secs span.on { background: var(--tint); color: var(--action-ink); }
.exam-ui .body { display: grid; grid-template-columns: minmax(0, 1fr) 160px; }
.exam-ui .qa { padding: 16px; display: grid; gap: 10px; border-right: 1px solid var(--line); }
.exam-ui .qa p { margin: 0; font-weight: 600; font-size: 14px; }
.exam-ui .o { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); }
.exam-ui .o.sel { border-color: var(--action); background: var(--tint); font-weight: 700; }
.exam-ui .pal { padding: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; align-content: start; }
.exam-ui .pal span { aspect-ratio: 1; border-radius: 7px; display: grid; place-items: center; font-weight: 700; font-size: 11px; background: var(--soft); color: var(--muted); }
.exam-ui .pal span.a { background: var(--good); color: #fff; }
.exam-ui .pal span.r { background: #7C3AED; color: #fff; }
.exam-ui .pal span.c { outline: 2px solid var(--action); }
.callout { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: var(--page); font-size: 12px; font-weight: 700; box-shadow: var(--lift); white-space: nowrap; }
.callout i { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); }
.callout.c1 { top: 0; right: 4%; }
.callout.c2 { bottom: 0; left: 6%; }
@media (max-width: 960px) { .exp { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 560px) { .exam-ui .body { grid-template-columns: 1fr; } .exam-ui .qa { border-right: 0; border-bottom: 1px solid var(--line); } .exam-ui .pal { grid-template-columns: repeat(8, 1fr); } .callout { display: none; } }

/* Daily + community */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.card { border-radius: 26px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--card-shadow); padding: 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.card p { margin: 0; color: var(--muted); }
.potd-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #1F6FD1, #4091ED); color: #fff; }
.potd-head b { font-family: var(--display); font-size: 17px; }
.potd-head .chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); font-variant-numeric: tabular-nums; }
.q { font: 600 21px/1.35 var(--display); margin: 2px 0 0; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); text-align: left; font-size: 15px; transition: border-color 140ms ease, background-color 140ms ease; }
.opt:hover:not([disabled]) { border-color: var(--action); }
.opt .l { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--soft); font-weight: 800; color: var(--muted); flex-shrink: 0; }
.opt.right { border-color: var(--good); background: var(--good-tint); }
.opt.right .l { background: var(--good); color: #fff; }
.opt.wrong { border-color: var(--bad); background: var(--bad-tint); }
.opt.wrong .l { background: var(--bad); color: #fff; }
.opt[disabled] { cursor: default; }
.explain { padding: 12px 14px; border-radius: 14px; background: var(--tint); font-size: 14px; color: var(--body2); }
#potd { display: flex; flex-direction: column; }
.potd-stats { margin-top: auto; padding-top: 6px; display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.potd-stats b { color: var(--ink); }
@keyframes popk { 50% { transform: scale(1.03); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.opt.right.anim { animation: popk 380ms ease; }
.opt.wrong.anim { animation: shake 360ms ease; }
@media (prefers-reduced-motion: reduce) { .opt.anim { animation: none; } }
.community { background: radial-gradient(70% 80% at 100% 0%, rgba(64, 145, 237, 0.4), transparent 60%), #010825; border-color: #16204A; color: var(--on-navy); }
.community p { color: var(--on-navy-muted) !important; }
.community h3 { color: #fff; font-size: 26px; }
.big-num { font: 700 54px var(--display); letter-spacing: -0.04em; color: #fff; line-height: 1; }
.big-num small { font: 600 16px var(--body); color: var(--on-navy-muted); letter-spacing: 0; }
.socials { display: grid; gap: 10px; }
.social { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(238, 243, 251, 0.05); border: 1px solid #1E2A55; color: #fff; text-decoration: none; }
.social:hover { border-color: var(--glow); }
.social .si { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.social b { display: block; font-size: 15px; }
.social span { color: var(--on-navy-muted); font-size: 13px; }
.social em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 800; padding: 7px 12px; border-radius: 10px; background: #fff; color: #010825; white-space: nowrap; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .opts { grid-template-columns: 1fr; } }

/* Free tiles */
.free-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.free { position: relative; overflow: hidden; border-radius: 24px; padding: 22px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: #fff; min-height: 220px; transition: transform 180ms ease, box-shadow 180ms ease; }
.free:hover { transform: translateY(-4px); box-shadow: var(--lift); }
.free::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 150px; height: 150px; border-radius: 50%; border: 20px solid rgba(255, 255, 255, 0.1); }
.free > * { position: relative; z-index: 1; }
.free .fi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.28); }
.free b { font: 700 20px var(--display); }
.free span { opacity: 0.88; font-size: 14px; }
.free .go { margin-top: auto; font-weight: 800; font-size: 14px; opacity: 1; display: inline-flex; gap: 6px; align-items: center; }
.free:hover .go { gap: 10px; }
@media (max-width: 960px) { .free-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .free-grid { grid-template-columns: 1fr; } .free { min-height: 0; } }

/* App */
.app { border-radius: 34px; background: radial-gradient(60% 80% at 100% 0%, rgba(64, 145, 237, 0.5), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(124, 58, 237, 0.35), transparent 60%), #010825; color: var(--on-navy); padding: clamp(30px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; overflow: hidden; }
.app h2 { color: #fff; }
.app p { color: var(--on-navy-muted); margin: 14px 0 0; font-size: 17px; max-width: 46ch; }
.app-stats { display: flex; gap: 28px; margin-top: 24px; flex-wrap: wrap; }
.app-stats b { display: block; font: 700 26px var(--display); color: #fff; }
.app-stats span { font-size: 13px; color: var(--on-navy-muted); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; border-radius: 14px; background: #fff; color: #010825; text-decoration: none; }
.store small { display: block; font-size: 10px; opacity: 0.75; line-height: 1; }
.store b { display: block; font-size: 16px; line-height: 1.2; }
.app-visual { position: relative; height: 520px; }
.device { position: absolute; left: 50%; top: 0; transform: translateX(-50%) rotate(-4deg); width: 236px; height: 500px; border-radius: 42px; background: #0B1433; border: 8px solid #16204A; box-shadow: 0 40px 80px -30px rgba(1, 8, 37, 0.7); overflow: hidden; }
.device img.shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device::before { z-index: 2; content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 10px; background: #010825; }
.device .ah { display: flex; justify-content: space-between; align-items: center; color: #fff; font: 700 13px var(--display); }
.device .ah span { width: 26px; height: 26px; border-radius: 50%; background: #9CCBFF; color: #010825; display: grid; place-items: center; font-size: 10px; }
.device .bn { height: 82px; border-radius: 16px; background: linear-gradient(120deg, #010825, #1F56B8); border: 1px solid rgba(156, 203, 255, 0.25); padding: 10px; color: #fff; font-size: 11px; display: grid; align-content: end; }
.device .bn b { font: 700 13px var(--display); }
.device .ps { border-radius: 14px; background: #0F1A3E; border: 1px solid #1E2A55; padding: 10px; display: grid; gap: 6px; }
.device .ps i { display: block; height: 7px; border-radius: 4px; background: #1E2A55; }
.device .ps .who { display: flex; gap: 6px; align-items: center; }
.device .ps .who span { width: 20px; height: 20px; border-radius: 50%; }
.device .tb { position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: #0F1A3E; border-top: 1px solid #1E2A55; display: flex; justify-content: space-around; align-items: center; }
.device .tb i { width: 18px; height: 18px; border-radius: 6px; background: #1E2A55; }
.device .tb i.on { background: #9CCBFF; }
.app-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.app-points li { display: flex; gap: 10px; font-size: 15px; color: var(--deep-sub); }
.app-points span { width: 22px; height: 22px; border-radius: 50%; background: var(--good-tint); color: var(--good); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.fcard { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--lift); color: var(--ink); animation: float 7s ease-in-out infinite; }
.fcard b { display: block; font-size: 13px; }
.fcard small { font-size: 12px; color: var(--muted); }
.fi2 { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.fcard.f1 { left: -3%; top: 230px; }
.fcard.f2 { right: -3%; top: 330px; animation-delay: 1.4s; }
.fcard.f3 { left: -1%; bottom: 0; animation-delay: 2.6s; }
.fcard.f4 { right: -2%; top: 40px; display: grid; gap: 6px; padding: 12px 14px; width: 190px; animation-delay: 3.4s; }
.bars3 { display: grid; grid-template-columns: 1fr 34px; gap: 8px; align-items: center; font-size: 11px; font-weight: 700; color: var(--muted); }
.bars3 i { height: 7px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.bars3 i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: var(--action); }
@media (max-width: 560px) { .fcard.f1, .fcard.f4 { display: none; } .fcard.f2 { right: 0; } .fcard.f3 { left: 0; } }
@media (prefers-reduced-motion: reduce) { .fcard { animation: none; } }
.icon-orbit img { position: absolute; width: 74px; height: 74px; border-radius: 22%; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.8); transition: transform 240ms ease; }
.icon-orbit img:hover { transform: scale(1.08) rotate(-4deg); }
.icon-orbit img:nth-child(1) { left: 2%; top: 30px; }
.icon-orbit img:nth-child(2) { left: 6%; top: 170px; }
.icon-orbit img:nth-child(3) { left: 0; top: 310px; }
.icon-orbit img:nth-child(4) { right: 2%; top: 20px; }
.icon-orbit img:nth-child(5) { right: 6%; top: 160px; }
.icon-orbit img:nth-child(6) { right: 0; top: 300px; }
@media (max-width: 860px) { .app { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .icon-orbit img { width: 56px; height: 56px; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.faq-side { position: sticky; top: 140px; display: grid; gap: 16px; }
.help { border-radius: 22px; padding: 20px; background: var(--soft); border: 1px solid var(--line); display: grid; gap: 10px; }
.help b { font: 700 18px var(--display); }
.help p { margin: 0; color: var(--muted); font-size: 15px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: var(--surface); padding: 0 20px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.faq details[open] { border-color: color-mix(in srgb, var(--action) 45%, var(--line)); box-shadow: var(--card-shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 19px 0; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); font: 500 20px var(--display); color: var(--action-ink); flex-shrink: 0; transition: transform 200ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* Final call to join */
.final { border-radius: 34px; padding: clamp(32px, 5vw, 64px); background: linear-gradient(120deg, #1F6FD1, #4091ED 55%, #7C3AED); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, 0.16) 1.2px, transparent 1.3px) 0 0 / 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.final > * { position: relative; }
.final h2 { color: #fff; }
.final p { margin: 12px 0 0; color: #E6F0FD; font-size: 17px; }
.final .join { margin: 0; max-width: none; background: #fff; border-color: transparent; }
.final .join input { color: #010825; }
.final .join .cc { color: #36405A; border-color: #E2E8F2; }
.final .join-note { color: #E6F0FD; }
@media (max-width: 860px) { .final { grid-template-columns: 1fr; } }

/* Footer */
footer.site { background: #010825; color: var(--on-navy-muted); padding-block: 64px 34px; margin-top: 90px; font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 30px; }
.foot h4 { margin: 0 0 14px; color: var(--on-navy); font: 700 14px var(--body); letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot a { color: var(--on-navy-muted); text-decoration: none; }
.foot a:hover { color: var(--on-navy); }
.made { margin-top: 40px; padding-top: 22px; border-top: 1px solid #1E2A55; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.made b { color: var(--on-navy); }
@media (max-width: 860px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot > div:first-child { grid-column: 1 / -1; } }

/* ---------- Group preview (view only) ---------- */
.preview { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: var(--page); animation: fade 180ms ease; }
.preview[hidden] { display: none; }
.pv-bar { display: flex; align-items: center; gap: 12px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px -18px rgba(1, 8, 37, 0.5); flex-shrink: 0; }
.pv-bar .emblem { width: 40px; height: 40px; border-radius: 12px; font-size: 11px; }
.pv-t { flex: 1; min-width: 0; }
.pv-t b { display: block; font: 700 16px var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-t small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.preview iframe { flex: 1; width: 100%; border: 0; background: var(--page); }
@media (max-width: 520px) { .pv-bar .btn { display: none; } }

/* ---------- Log in / sign up: a two-pane dialog ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; overflow: hidden; background: rgba(1, 8, 37, 0.6); backdrop-filter: blur(8px); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); animation: fade 180ms ease; }
@keyframes fade { from { opacity: 0; } }
/* The dialog only ever scrolls up and down: fields shrink to their column
   instead of pushing the card wider. */
.dialog * { min-width: 0; }
.dialog input, .dialog select, .dialog button { max-width: 100%; }
.dialog input, .dialog select { width: 100%; }
.dialog .choice span { overflow: hidden; }
.dialog .choice b, .dialog .choice small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dialog { width: min(100%, 900px); height: min(720px, calc(100dvh - 32px)); display: grid; grid-template-columns: 340px minmax(0, 1fr); overflow: hidden; border-radius: 28px; background: var(--surface); color: var(--ink); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.65); animation: rise 240ms cubic-bezier(.2, .8, .2, 1); position: relative; }
.dialog.simple { width: min(100%, 480px); height: auto; max-height: calc(100dvh - 32px); grid-template-columns: minmax(0, 1fr); overflow-x: hidden; overflow-y: auto; }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@media (prefers-reduced-motion: reduce) { .overlay, .dialog { animation: none; } }
.dlg-side { position: relative; overflow: hidden; background: radial-gradient(80% 60% at 100% 0%, rgba(64, 145, 237, 0.55), transparent 60%), radial-gradient(70% 50% at 0% 100%, rgba(124, 58, 237, 0.4), transparent 60%), #010825; color: var(--on-navy); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.dlg-side::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, 0.12) 1.1px, transparent 1.2px) 0 0 / 18px 18px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%); pointer-events: none; }
.dlg-side > * { position: relative; }
.dlg-side .lg { display: flex; align-items: center; gap: 10px; }
.dlg-side .lg img { width: 36px; height: 36px; border-radius: 10px; }
.dlg-side .lg img.w { width: auto; height: 19px; border-radius: 0; }
.dlg-side h4 { font: 700 24px/1.15 var(--display); color: #fff; letter-spacing: -0.02em; }
.dlg-side p.t { margin: -10px 0 0; color: var(--on-navy-muted); font-size: 14px; }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.stepper li { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 14px; font-weight: 600; color: var(--on-navy-muted); }
.stepper li::before { content: ""; position: absolute; left: 13px; top: -6px; height: 12px; width: 2px; background: #1E2A55; }
.stepper li:first-child::before { display: none; }
.stepper .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; border: 2px solid #26346A; color: var(--on-navy-muted); flex-shrink: 0; background: #010825; transition: all 200ms ease; }
.stepper li.done { color: #C3CBE0; }
.stepper li.done .n { background: #34D399; border-color: #34D399; color: #010825; }
.stepper li.now { color: #fff; }
.stepper li.now .n { background: #9CCBFF; border-color: #9CCBFF; color: #010825; box-shadow: 0 0 0 5px rgba(156, 203, 255, 0.18); }
.dlg-side .quote { margin-top: auto; padding: 14px; border-radius: 16px; background: rgba(238, 243, 251, 0.06); border: 1px solid rgba(238, 243, 251, 0.12); font-size: 13px; color: #C3CBE0; display: grid; gap: 10px; }
.dlg-side .quote .who { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 700; color: #fff; }
.dlg-side .quote .sample { flex-shrink: 0; background: #2E2208; color: #FBBF24; }
.dlg-side .quote .who span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; }
.dlg-side .perk-list { display: grid; gap: 10px; margin-top: auto; }
.dlg-side .perk-list div { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #C3CBE0; }
.dlg-side .perk-list i { width: 28px; height: 28px; border-radius: 9px; background: rgba(156, 203, 255, 0.14); color: #9CCBFF; display: grid; place-items: center; font-style: normal; flex-shrink: 0; }
.dlg-main { position: relative; display: flex; flex-direction: column; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.dlg-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 18px 22px 0; background: var(--surface); }
.dlg-bar .mobile-logo { display: none; }
.dlg-x, .dlg-back { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); display: grid; place-items: center; flex-shrink: 0; }
.dlg-x { margin-left: auto; }
.dlg-x:hover, .dlg-back:hover { color: var(--ink); border-color: var(--line-2); }
.dlg-body { padding: 14px 34px 30px; display: grid; gap: 16px; align-content: start; flex: 1; }
.dlg-body h3 { font-size: 28px; letter-spacing: -0.03em; }
.dlg-body .sub { margin: -8px 0 0; color: var(--muted); font-size: 15px; }
.mprog { display: none; }
.field { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: var(--body2); }
.field input, .field select { height: 52px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--soft); padding: 0 14px; font-size: 16px; color: var(--ink); outline: none; transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease; }
.field input:focus, .field select:focus { border-color: var(--action); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--action) 15%, transparent); }
.field .note { font-weight: 600; font-size: 12px; color: var(--muted); margin-left: 4px; }
.phone-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; }
.phone-row .cc { height: 52px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--soft); display: grid; place-items: center; font-weight: 800; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.perks div { padding: 12px 8px; border-radius: 14px; background: var(--soft); text-align: center; font-size: 12px; color: var(--muted); }
.perks b { display: block; font: 700 17px var(--display); color: var(--ink); }
.terms { font-size: 12px; color: var(--muted); text-align: center; margin: 0; }
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp input { width: 100%; padding: 0; height: 60px; text-align: center; font: 700 24px var(--display); border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--soft); outline: none; min-width: 0; color: var(--ink); transition: border-color 140ms ease, transform 140ms ease; }
.otp input:focus { border-color: var(--action); background: var(--surface); transform: translateY(-2px); }
.otp input:not(:placeholder-shown) { border-color: color-mix(in srgb, var(--action) 50%, var(--line-2)); }
.resend { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); gap: 8px; flex-wrap: wrap; }
.resend button { border: 0; background: none; color: var(--action-ink); font-weight: 700; padding: 0; }
.err { color: var(--bad); font-size: 13px; font-weight: 600; min-height: 18px; margin: -6px 0 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.choice { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--surface); text-align: left; min-width: 0; transition: border-color 140ms ease, background-color 140ms ease, transform 140ms ease; }
.choice:hover { border-color: color-mix(in srgb, var(--action) 50%, var(--line)); }
.choice[aria-pressed="true"] { border-color: var(--action); background: var(--tint); }
.choice .emblem { width: 40px; height: 40px; border-radius: 12px; font-size: 11px; }
.choice b { display: block; font-size: 14px; }
.choice small { color: var(--muted); font-size: 12px; }
.choice .tick { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); flex-shrink: 0; display: grid; place-items: center; color: #fff; }
.choice[aria-pressed="true"] .tick { background: var(--action); border-color: var(--action); }
.choice-list { display: grid; gap: 8px; }
.choice-list .choice { padding: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 14px; height: 42px; transition: border-color 140ms ease, background-color 140ms ease; }
.chips button[aria-pressed="true"] { border-color: var(--action); background: var(--tint); color: var(--action-ink); }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.suggest button { border: 0; background: var(--tint); color: var(--action-ink); font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.welcome { text-align: center; justify-items: center; }
.welcome .ok { width: 76px; height: 76px; border-radius: 24px; background: var(--good-tint); color: var(--good); display: grid; place-items: center; animation: okpop 520ms cubic-bezier(.34, 1.56, .64, 1); }
@keyframes okpop { from { transform: scale(0.4); opacity: 0; } }
.next-list { display: grid; gap: 8px; width: 100%; text-align: left; }
.next-list a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.next-list a:hover { border-color: var(--action); }
.next-list a span { margin-left: auto; color: var(--muted); }
/* The main action stays in view while long lists scroll. */
.dlg-body > .btn.primary.block:last-child { position: sticky; bottom: 16px; z-index: 2; box-shadow: 0 -18px 24px 4px var(--surface), 0 12px 26px -12px rgba(31, 111, 209, 0.8); }
.step-in { animation: stepIn 260ms cubic-bezier(.2, .8, .2, 1); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } }
@media (prefers-reduced-motion: reduce) { .step-in, .welcome .ok { animation: none; } }
/* Theme chooser */
.looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.look { display: grid; gap: 8px; padding: 8px 8px 12px; border-radius: 18px; border: 2px solid var(--line); background: var(--surface); text-align: center; font-weight: 700; font-size: 14px; transition: border-color 140ms ease; }
.look:hover { border-color: color-mix(in srgb, var(--action) 50%, var(--line)); }
.look[aria-pressed="true"] { border-color: var(--action); }
.look .pv { height: 92px; border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: 22px 1fr; border: 1px solid rgba(1, 8, 37, 0.12); }
.look .pv .hb { display: flex; align-items: center; gap: 4px; padding: 0 8px; }
.look .pv .hb i { width: 6px; height: 6px; border-radius: 50%; background: #9CCBFF; }
.look .pv .bd { padding: 8px; display: grid; gap: 5px; align-content: start; }
.look .pv .bd i { height: 7px; border-radius: 4px; }
.look .pv.light .hb { background: #FFFFFF; border-bottom: 1px solid #E2E8F2; } .look .pv.light .bd { background: #F4F7FC; } .look .pv.light .bd i { background: #E2E8F2; } .look .pv.light .bd i:first-child { background: #1F6FD1; width: 60%; }
.look .pv.dark .hb { background: #010825; } .look .pv.dark .bd { background: #071030; } .look .pv.dark .bd i { background: #1E2A55; } .look .pv.dark .bd i:first-child { background: #4091ED; width: 60%; }
.look .pv.auto .hb { background: linear-gradient(90deg, #FFFFFF 50%, #010825 50%); }
.look .pv.auto .bd { background: linear-gradient(90deg, #F4F7FC 50%, #071030 50%); }
.look .pv.auto .bd i { background: linear-gradient(90deg, #E2E8F2 50%, #1E2A55 50%); }
.look .pv.auto .bd i:first-child { background: linear-gradient(90deg, #1F6FD1 50%, #4091ED 50%); width: 60%; }
.look small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.simple .dlg-band { height: 104px; background: radial-gradient(80% 100% at 100% 0%, rgba(64, 145, 237, 0.6), transparent 60%), #010825; }
.simple .dlg-icon { width: 64px; height: 64px; border-radius: 18px; border: 4px solid var(--surface); margin: -32px 0 0 26px; position: relative; background: var(--surface); }
.simple .dlg-icon img { width: 100%; height: 100%; border-radius: 14px; }
.simple .dlg-x { position: absolute; right: 16px; top: 16px; background: rgba(255, 255, 255, 0.14); border-color: transparent; color: #fff; }
@media (max-width: 380px) { .looks { grid-template-columns: 1fr; } .look { grid-template-columns: 90px 1fr; align-items: center; text-align: left; } .look .pv { height: 60px; } }
@media (max-width: 760px) {
  .dialog { grid-template-columns: minmax(0, 1fr); width: min(100%, 520px); height: auto; max-height: calc(100dvh - 32px); }
  .dlg-side { display: none; }
  .dlg-bar .mobile-logo { display: block; width: 36px; height: 36px; border-radius: 10px; }
  .mprog { display: grid; gap: 8px; }
  .mprog .lbl { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
  .mprog .bars { display: flex; gap: 6px; }
  .mprog .bars i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
  .mprog .bars i.on { background: var(--action); }
  .dlg-body { padding: 12px 22px 24px; }
}
@media (max-width: 520px) {
  .overlay { padding: 0; align-items: end; }
  .dialog, .dialog.simple { width: 100%; max-height: 92dvh; border-radius: 26px 26px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .choice-grid { grid-template-columns: 1fr; }
}

/* ---- Deep sections follow the theme: white in light mode, navy in dark ---- */
.results { background: var(--deep-bg); color: var(--deep-ink); border-block: 1px solid var(--deep-line); }
.results h2 { color: var(--deep-ink); }
.results .head .lead { color: var(--deep-muted); }
.results .eyebrow, .community .eyebrow, .app .eyebrow { background: var(--deep-chip-bg); color: var(--deep-chip-ink); }
.odo { background: var(--deep-card); border-color: var(--deep-line); box-shadow: var(--deep-shadow); }
.odo .d { background: var(--deep-bubble); border-color: var(--deep-line); }
.odo .d .strip span { color: var(--deep-ink); }
.odo .sep { color: var(--action); }
.odo b { color: var(--deep-ink); }
.odo small { color: var(--deep-muted); }
.topper { background: var(--deep-card); border-color: var(--deep-line); box-shadow: var(--deep-shadow); }
.topper .face { border-color: var(--surface); }
.topper .pct { color: var(--deep-ink); }
.topper .pct small, .topper .who { color: var(--deep-muted); }
.topper .who b { color: var(--deep-ink); }
.topper q { color: var(--deep-sub); }
.topper .ex { background: var(--deep-chip-bg); color: var(--deep-chip-ink); }
.tile.navy { background: var(--deep-bg); border-color: var(--deep-line); color: var(--deep-ink); }
.tile.navy b { color: var(--deep-ink); }
.tile.navy p { color: var(--deep-muted); }
.chatlet p { background: var(--deep-bubble); border-color: var(--deep-line); color: var(--deep-ink) !important; }
.chatlet .me p { background: #1F6FD1; color: #FFFFFF !important; }
.chatlet small { color: var(--deep-muted); }
.community { background: var(--deep-bg); border-color: var(--deep-line); color: var(--deep-ink); }
.community h3, .big-num { color: var(--deep-ink); }
.community p, .big-num small { color: var(--deep-muted) !important; }
.social { background: var(--deep-card); border-color: var(--deep-line); color: var(--deep-ink); }
.social:hover { border-color: var(--action); }
.social span { color: var(--deep-muted); }
.social em { background: var(--deep-btn-bg); color: var(--deep-btn-ink); }
.app { background: var(--deep-bg); color: var(--deep-ink); border: 1px solid var(--deep-line); }
.app h2 { color: var(--deep-ink); }
.app p, .app-stats span { color: var(--deep-muted); }
.app-stats b { color: var(--deep-ink); }
.store { background: var(--deep-btn-bg); color: var(--deep-btn-ink); }
footer.site { background: var(--foot-bg); color: var(--muted); border-top: 1px solid var(--foot-line); }
.foot h4, .made b { color: var(--ink); }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--action-ink); }
.made { border-color: var(--foot-line); }
.dlg-side { background: var(--deep-bg); color: var(--deep-ink); border-right: 1px solid var(--deep-line); }
.dlg-side::before { background: radial-gradient(color-mix(in srgb, var(--action) 18%, transparent) 1.1px, transparent 1.2px) 0 0 / 18px 18px; }
.dlg-side h4 { color: var(--deep-ink); }
.dlg-side p.t, .stepper li { color: var(--deep-muted); }
.stepper li::before { background: var(--deep-step); }
.stepper .n { background: var(--surface); border-color: var(--deep-step); color: var(--deep-muted); }
.stepper li.done { color: var(--deep-sub); }
.stepper li.done .n { background: var(--good); border-color: var(--good); color: #FFFFFF; }
.stepper li.now { color: var(--deep-ink); }
.stepper li.now .n { background: var(--action); border-color: var(--action); color: #FFFFFF; box-shadow: 0 0 0 5px color-mix(in srgb, var(--action) 18%, transparent); }
.dlg-side .quote { background: var(--deep-card); border-color: var(--deep-line); color: var(--deep-sub); }
.dlg-side .quote .who { color: var(--deep-ink); }
.dlg-side .quote .sample { background: var(--amber-tint); color: var(--amber); white-space: nowrap; min-width: max-content; }
.dlg-side .perk-list div { color: var(--deep-sub); }
.dlg-side .perk-list i { background: var(--deep-chip-bg); color: var(--deep-chip-ink); }
.simple .dlg-band { background: var(--deep-bg); border-bottom: 1px solid var(--deep-line); }
.simple .dlg-x { background: var(--surface); border-color: var(--line); color: var(--muted); }

/* Large screens: use the full width (the design stopped at 1240px). */
.wrap { max-width: 1760px; padding-left: max(clamp(20px, 4vw, 64px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(20px, 4vw, 64px), env(safe-area-inset-right, 0px)); }

/* Signed-in header: the learner's name with a menu (Dashboard, Log out). */
.vn-user { position: relative; }
.vn-user-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 600; }
.vn-user-btn img, .vn-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.vn-av { display: inline-grid; place-items: center; background: var(--action); color: #fff; font-weight: 700; }
.vn-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--lift); z-index: 60; }
.vn-menu-head { padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.vn-menu a, .vn-menu button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font-weight: 600; text-align: left; text-decoration: none; }
.vn-menu a:hover, .vn-menu button:hover { background: var(--soft); }
.vn-menu form button { color: var(--bad); }
.dlg .code-hint { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--amber-tint); color: var(--amber); font-size: 14px; }
@media (max-width: 640px) { .vn-name { display: none; } }
