/* =========================================================================
   OnCallBank — main stylesheet
   Edit the color tokens in :root to re-theme the whole site.
   ========================================================================= */

:root { color-scheme: only light; }
html, body { background-color: #FFFFFF; }

:root {
  /* Brand colors */
  --ink: #0B1F3A;          /* headings, primary text */
  --ink-2: #3B4B64;        /* body text */
  --ink-3: #66758C;        /* muted text */
  --blue: #1652D9;         /* OnCallBank blue — buttons, links */
  --blue-dark: #0E3CA8;    /* hover / pressed */
  --blue-deep: #0A1A33;    /* dark bands, footer */
  --sky: #4DA3FF;          /* accent on dark backgrounds */
  --mist: #EAF2FF;         /* light blue tint */
  --mist-2: #D6E6FF;
  --paper: #F5F8FC;        /* alternate section background */
  --white: #FFFFFF;
  --line: #DCE3EE;
  --line-2: #C6D2E3;

  /* Answer states (QBank vernacular) */
  --correct: #0F8A5F;
  --correct-bg: #E7F6EF;
  --wrong: #C8352E;
  --wrong-bg: #FCECEB;
  --highlight: #FFF1A8;

  /* Type */
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 18px;
  --shadow-card: 0 1px 2px rgba(11, 31, 58, .06), 0 8px 24px rgba(11, 31, 58, .06);
  --shadow-float: 0 2px 4px rgba(11, 31, 58, .06), 0 24px 60px rgba(11, 31, 58, .16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); z-index: 1000; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); }
h3 { font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.005em; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.kicker { display: inline-block; font-size: .95rem; font-weight: 600; color: var(--blue); margin-bottom: .75rem; }
.on-dark .kicker { color: var(--sky); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.bg-paper { background: var(--paper); }
.bg-mist { background: var(--mist); }
.on-dark { background: var(--blue-deep); color: #C9D6EA; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark a:not(.btn) { color: #9CC9FF; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.12rem; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.wide-left { grid-template-columns: 1.1fr .9fr; }
.split.reverse > :first-child { order: 2; }
.stack > * + * { margin-top: 16px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split.wide-left { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 36px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  border-radius: var(--radius-s); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(14, 60, 168, .3), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { background: var(--mist); color: var(--blue-dark); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Utility bar + header ---------- */
.utility-bar { background: var(--blue-deep); color: #B9C7DD; font-size: .85rem; }
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.utility-bar a { color: #DCE7F7; }
.utility-bar a:hover { color: #fff; }
.utility-bar .u-left, .utility-bar .u-right { display: flex; align-items: center; gap: 20px; }
.utility-bar .dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34D399; margin-right: 8px; box-shadow: 0 0 0 3px rgba(52, 211, 153, .2); }
@media (max-width: 760px) { .utility-bar .u-hide-sm { display: none; } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.32rem; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand .brand-img { height: 36px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius-s);
  color: var(--ink); font-weight: 500; font-size: .98rem; background: none; border: 0; cursor: pointer;
}
.main-nav > a:hover, .nav-drop > button:hover, .nav-drop.open > button { background: var(--mist); color: var(--blue-dark); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--blue); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; transition: transform .15s; }
.nav-drop.open > button svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: calc(100% + 10px); left: -16px; width: 560px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: var(--shadow-float); padding: 12px; display: none;
  grid-template-columns: 1fr 1fr; gap: 4px;
}
.nav-drop.open .drop-panel { display: grid; }
.drop-panel a { display: flex; gap: 12px; padding: 12px; border-radius: var(--radius-s); color: var(--ink); }
.drop-panel a:hover { background: var(--paper); text-decoration: none; }
.drop-panel strong { display: block; font-size: .95rem; }
.drop-panel span.d { display: block; font-size: .84rem; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .login { color: var(--ink); font-weight: 600; padding: 10px 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1180px) {
  .main-nav, .header-actions .login, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.mobile-drawer.open { display: block; }
.mobile-drawer .scrim { position: absolute; inset: 0; background: rgba(10, 26, 51, .45); }
.mobile-drawer .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 92vw); background: #fff; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer .panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mobile-drawer .panel a.m-link { padding: 14px 12px; border-radius: var(--radius-s); color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-drawer .panel a.m-link:hover { background: var(--paper); text-decoration: none; }
.mobile-drawer .panel .btn { margin-top: 12px; }

/* ---------- Icon + image slots ---------- */
.icon-slot {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px; border-radius: var(--radius-m);
  background: var(--mist); color: var(--blue);
}
.icon-slot svg { width: 24px; height: 24px; }
.icon-slot img { width: 60%; height: 60%; object-fit: contain; }
.icon-slot.sm { width: 36px; height: 36px; border-radius: 10px; }
.icon-slot.sm svg { width: 18px; height: 18px; }
.icon-slot.lg { width: 60px; height: 60px; border-radius: 16px; }
.icon-slot.lg svg { width: 28px; height: 28px; }
.on-dark .icon-slot { background: rgba(77, 163, 255, .14); color: var(--sky); }
.icon-slot.plain { background: none; width: auto; height: auto; }

.img-slot {
  position: relative; overflow: hidden; border-radius: var(--radius-l);
  background:
    linear-gradient(135deg, rgba(22,82,217,.07), rgba(77,163,255,.12)),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(22,82,217,.045) 14px 15px),
    var(--mist);
  border: 1.5px dashed var(--line-2);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--blue-dark); min-height: 160px;
}
.img-slot .slot-label { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px; font-size: .88rem; line-height: 1.35; }
.img-slot .slot-label svg { width: 34px; height: 34px; opacity: .7; }
.img-slot .slot-label b { font-weight: 600; color: var(--ink); }
.img-slot .slot-label code { font-size: .8rem; color: var(--ink-3); background: rgba(255,255,255,.7); padding: 2px 6px; border-radius: 4px; }
.img-slot.filled { border: 0; background: none; }
.img-slot.filled img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.on-dark .img-slot { background: linear-gradient(135deg, rgba(77,163,255,.10), rgba(77,163,255,.04)), repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.035) 14px 15px), #10264A; border-color: rgba(255,255,255,.18); color: #9CC9FF; }
.on-dark .img-slot .slot-label b { color: #fff; }
.on-dark .img-slot .slot-label code { background: rgba(255,255,255,.08); color: #B9C7DD; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-21x9 { aspect-ratio: 21 / 9; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%;
  background: radial-gradient(closest-side, rgba(77,163,255,.18), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; padding: 0; list-style: none; font-size: .95rem; color: var(--ink-2); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--correct); flex: none; }
@media (max-width: 1024px) { .hero .container { grid-template-columns: 1fr; } .hero { padding: 48px 0 72px; } }

/* Page hero (inner pages) */
.page-hero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--paper), #fff); border-bottom: 1px solid var(--line); }
.page-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.page-hero.solo .container { grid-template-columns: 1fr; max-width: 900px; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.breadcrumb { font-size: .88rem; color: var(--ink-3); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb span[aria-hidden] { color: var(--line-2); }
@media (max-width: 1024px) { .page-hero .container { grid-template-columns: 1fr; } .page-hero { padding: 48px 0; } }

/* ---------- Exam-style question card (signature element) ---------- */
.qcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-float); overflow: hidden; font-size: .97rem;
}
.qcard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--blue-deep); color: #C9D6EA; font-size: .85rem; }
.qcard-top .q-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.qcard-top .q-meta b { color: #fff; font-weight: 600; }
.qcard-top .q-timer { font-variant-numeric: tabular-nums; color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.qcard-top .q-timer svg { width: 15px; height: 15px; }
.qcard-tools { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--paper); flex-wrap: wrap; }
.tool-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 7px; border: 1px solid transparent; background: none; font-size: .84rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.tool-btn svg { width: 16px; height: 16px; }
.tool-btn:hover { background: #fff; border-color: var(--line); color: var(--blue); }
.tool-btn[aria-pressed="true"] { background: var(--mist); color: var(--blue-dark); border-color: var(--mist-2); }
.tool-btn.ai { margin-left: auto; color: var(--blue); }
.qcard-body { padding: 22px 22px 18px; }
.q-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--mist); color: var(--blue-dark); }
.tag.hy { background: #FFF4D6; color: #8A5A00; }
.q-stem { color: var(--ink); line-height: 1.6; margin-bottom: 16px; }
.q-stem mark { background: var(--highlight); color: inherit; padding: 0 1px; border-radius: 2px; }
.q-ask { font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.q-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.q-option label {
  display: flex; align-items: flex-start; gap: 12px; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff;
  transition: border-color .12s, background-color .12s;
}
.q-option label:hover { border-color: var(--line-2); background: var(--paper); }
.q-option input { position: absolute; opacity: 0; pointer-events: none; }
.q-option .letter { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; color: var(--ink-3); }
.q-option .opt-text { flex: 1; color: var(--ink); padding-top: 1px; }
.q-option .opt-why { display: none; font-size: .88rem; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.q-option input:checked + label { border-color: var(--blue); background: var(--mist); }
.q-option input:checked + label .letter { background: var(--blue); border-color: var(--blue); color: #fff; }
.q-option input:focus-visible + label { outline: 3px solid var(--sky); outline-offset: 2px; }
.qcard.answered .q-option label { cursor: default; }
.qcard.answered .q-option .opt-why { display: block; }
.qcard.answered .q-option.is-correct label { border-color: var(--correct); background: var(--correct-bg); }
.qcard.answered .q-option.is-correct .letter { background: var(--correct); border-color: var(--correct); color: #fff; }
.qcard.answered .q-option.is-wrong label { border-color: var(--wrong); background: var(--wrong-bg); }
.qcard.answered .q-option.is-wrong .letter { background: var(--wrong); border-color: var(--wrong); color: #fff; }
.q-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.q-result { font-weight: 700; font-size: .95rem; }
.q-result.ok { color: var(--correct); }
.q-result.bad { color: var(--wrong); }
.q-explain { display: none; border-top: 1px solid var(--line); background: var(--paper); padding: 18px 22px; font-size: .93rem; }
.qcard.answered .q-explain { display: block; }
.q-explain h4 { margin-bottom: 6px; font-size: .95rem; }
.q-ref { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .87rem; }
.q-ref svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 2px; }
.ai-panel { display: none; border-top: 1px solid var(--line); padding: 16px 22px 20px; background: linear-gradient(180deg, #F3F8FF, #fff); }
.ai-panel.open { display: block; }
.ai-msg { display: flex; gap: 10px; margin-bottom: 12px; font-size: .92rem; }
.ai-msg .who { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: #fff; }
.ai-msg .who svg { width: 16px; height: 16px; }
.ai-msg.user .who { background: var(--line); color: var(--ink); font-size: .75rem; font-weight: 700; }
.ai-msg .bubble { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: var(--ink); line-height: 1.5; }
.ai-msg.user .bubble { background: var(--mist); border-color: var(--mist-2); }
.ai-input { display: flex; gap: 8px; }
.ai-input input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: .92rem; }
.ai-input input:focus { border-color: var(--blue); outline: none; }
.demo-note { font-size: .78rem; color: var(--ink-3); margin-top: 8px; }
.typing span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); margin-right: 3px; animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (max-width: 520px) {
  .qcard-body, .q-explain { padding-left: 16px; padding-right: 16px; }
  .tool-btn .t-label { display: none; }
  .tool-btn.ai .t-label { display: inline; }
}

/* ---------- Logo strip ---------- */
.logo-strip { padding: 40px 0; border-bottom: 1px solid var(--line); }
.logo-strip p { text-align: center; font-size: .95rem; color: var(--ink-3); margin-bottom: 20px; }
.logo-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-row .img-slot { min-height: 56px; border-radius: 10px; }
.logo-row .img-slot .slot-label { font-size: .75rem; padding: 6px; flex-direction: row; }
.logo-row .img-slot .slot-label svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .logo-row { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Proof bar (non-numeric guarantees) ---------- */
.proof-bar { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; }
.proof-bar > div { padding: 26px 24px; display: flex; gap: 14px; align-items: flex-start; }
.proof-bar > div + div { border-left: 1px solid var(--line); }
.proof-bar strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 2px; }
.proof-bar span.d { font-size: .9rem; color: var(--ink-3); line-height: 1.45; display: block; }
@media (max-width: 1024px) { .proof-bar { grid-template-columns: 1fr 1fr; } .proof-bar > div:nth-child(3) { border-left: 0; } .proof-bar > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .proof-bar { grid-template-columns: 1fr; } .proof-bar > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Feature groups ---------- */
.feature-group { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--line); }
.feature-group:first-of-type { border-top: 0; padding-top: 0; }
.feature-group .fg-head h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.01em; }
.feature-group .fg-head p { color: var(--ink-3); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; list-style: none; margin: 0; padding: 0; }
.feature-list li { display: flex; gap: 16px; }
.feature-list h4 { font-size: 1.05rem; margin-bottom: 4px; color: var(--ink); }
.feature-list p { margin: 0; font-size: .96rem; color: var(--ink-2); }
@media (max-width: 1024px) { .feature-group { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 640px) { .feature-list { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px; }
.card h3 { margin-top: 16px; }
.card p:last-child { margin-bottom: 0; }
.card.raised { box-shadow: var(--shadow-card); border-color: transparent; }
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; border-color: var(--blue); }
.card-link:hover h3 { color: var(--blue); }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--correct-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F8A5F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.on-dark .checklist li::before { background-color: rgba(52, 211, 153, .15); }

/* ---------- Steps (a real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps li { list-style: none; padding: 0 28px 0 0; position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 18px;
  position: relative; z-index: 1; box-shadow: 0 0 0 6px #fff;
}
.steps li::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; height: 2px; background: var(--mist-2); }
.steps li:last-child::after { display: none; }
.steps { padding: 0; margin: 0; }
.bg-paper .steps li::before { box-shadow: 0 0 0 6px var(--paper); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 32px; } .steps li::after { display: none; } }

/* ---------- AI tutor band ---------- */
.ai-band { position: relative; overflow: hidden; }
.ai-band::before { content: ""; position: absolute; left: -15%; bottom: -40%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(22,82,217,.45), transparent 70%); pointer-events: none; }
.ai-band .container { position: relative; }
.chat-mock { background: #0F2546; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-l); padding: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.chat-mock .ai-msg .bubble { background: #15305A; border-color: rgba(255,255,255,.08); color: #E3ECF9; }
.chat-mock .ai-msg.user .bubble { background: var(--blue); border-color: var(--blue); color: #fff; }
.chat-mock .ai-msg.user .who { background: #2A4572; color: #fff; }
.chat-mock .src { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; font-size: .8rem; color: #9CC9FF; background: rgba(77,163,255,.1); padding: 4px 8px; border-radius: 6px; }
.chat-mock .src svg { width: 14px; height: 14px; }
.chat-mock .chat-input { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #0A1A33; border: 1px solid rgba(255,255,255,.12); color: #7F93B3; font-size: .9rem; }
.chat-mock .chat-input svg { width: 18px; height: 18px; margin-left: auto; color: var(--sky); }

/* ---------- Device section ---------- */
.device-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.device-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .92rem; font-weight: 600; color: var(--ink); }
.device-list svg { width: 18px; height: 18px; color: var(--blue); }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.store-badge:hover { background: #000; color: #fff; text-decoration: none; }
.store-badge svg { width: 24px; height: 24px; }
.store-badge small { display: block; font-size: .7rem; opacity: .8; line-height: 1.1; }
.store-badge b { display: block; font-size: 1.02rem; line-height: 1.2; }
.on-dark .store-badge { background: #fff; color: var(--ink); }
.on-dark .store-badge:hover { background: var(--mist); color: var(--ink); }

/* ---------- Section picker (homepage) ---------- */
.picker { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; font-size: .94rem; cursor: pointer;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip .chk { width: 16px; height: 16px; display: none; }
.chip[aria-pressed="true"] .chk { display: block; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 24px; font-family: var(--font-display); font-size: 1.18rem; line-height: 1.5; color: var(--ink); flex: 1; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .img-slot { width: 48px; height: 48px; min-height: 0; border-radius: 50%; flex: none; }
.quote .who .img-slot .slot-label { padding: 0; }
.quote .who .img-slot .slot-label svg { width: 20px; height: 20px; }
.quote .who strong { display: block; color: var(--ink); }
.quote .who span { font-size: .88rem; color: var(--ink-3); }
.stars { display: flex; gap: 2px; color: #F2B01E; margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; }
.slot-note { display: inline-block; font-size: .78rem; color: var(--blue-dark); background: var(--mist); padding: 3px 8px; border-radius: 6px; margin-bottom: 12px; }

/* ---------- Pricing ---------- */
.price-toggle { display: inline-flex; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; gap: 4px; flex-wrap: wrap; justify-content: center; }
.price-toggle button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.price-toggle button[aria-pressed="true"] { background: #fff; color: var(--blue-dark); box-shadow: 0 1px 3px rgba(11,31,58,.12); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 32px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow-float); }
.plan .badge { position: absolute; top: -13px; left: 32px; background: var(--blue); color: #fff; font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.25rem; margin: 0 0 6px; }
.plan .plan-desc { color: var(--ink-3); font-size: .95rem; min-height: 3em; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
.plan .price .amt { font-family: var(--font-display); font-size: 3rem; font-weight: 600; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price .per { color: var(--ink-3); font-size: .95rem; }
.plan .price-note { font-size: .88rem; color: var(--ink-3); margin-bottom: 22px; min-height: 1.4em; }
.plan .checklist { margin: 24px 0 0; font-size: .95rem; }
@media (max-width: 1024px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.builder { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.builder-subjects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.subject-opt input { position: absolute; opacity: 0; pointer-events: none; }
.subject-opt label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-weight: 600; color: var(--ink); font-size: .93rem; height: 100%; }
.subject-opt label:hover { border-color: var(--line-2); }
.subject-opt .box { flex: none; width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; }
.subject-opt .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.subject-opt input:checked + label { border-color: var(--blue); background: var(--mist); }
.subject-opt input:checked + label .box { background: var(--blue); border-color: var(--blue); }
.subject-opt input:checked + label .box svg { opacity: 1; }
.subject-opt input:focus-visible + label { outline: 3px solid var(--sky); outline-offset: 2px; }
.summary-card { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; box-shadow: var(--shadow-card); }
.summary-card .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .95rem; }
.summary-card .row + .row { border-top: 1px solid var(--line); }
.summary-card .total { font-family: var(--font-display); font-size: 2.2rem; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.summary-card select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; margin: 6px 0 14px; }
@media (max-width: 1024px) { .builder { grid-template-columns: 1fr; } .summary-card { position: static; } .builder-subjects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .builder-subjects { grid-template-columns: 1fr; } }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--paper); color: var(--ink); font-weight: 700; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--correct); font-weight: 700; }
.compare .no { color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231652D9' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 4px 22px; max-width: 70ch; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 36px; box-shadow: var(--shadow-card); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; font-size: 1rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(22, 82, 217, .12); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: .85rem; color: var(--ink-3); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .form-card { padding: 24px; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.divider-text { display: flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: .88rem; margin: 22px 0; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-status { display: none; padding: 12px 14px; border-radius: 10px; margin-top: 14px; font-size: .93rem; background: var(--correct-bg); color: var(--correct); font-weight: 600; }
.form-status.show { display: block; }

.auth-page { min-height: calc(100vh - 114px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--blue-deep); color: #C9D6EA; padding: 64px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side::before { content: ""; position: absolute; right: -30%; top: -30%; width: 90%; height: 90%; background: radial-gradient(closest-side, rgba(22,82,217,.5), transparent 70%); }
.auth-side > * { position: relative; }
.auth-side h2 { color: #fff; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px var(--gutter); background: var(--paper); }
.auth-main .form-card { width: 100%; max-width: 460px; }
@media (max-width: 960px) { .auth-page { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* ---------- Courses ---------- */
.course-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; display: flex; flex-direction: column; }
.course-card .img-slot { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
.course-card .cc-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.course-card h3 { margin: 8px 0 6px; font-size: 1.12rem; }
.course-card p { font-size: .94rem; color: var(--ink-2); flex: 1; }
.course-meta { display: flex; gap: 16px; font-size: .85rem; color: var(--ink-3); flex-wrap: wrap; }
.course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.course-meta svg { width: 15px; height: 15px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }

/* ---------- Team ---------- */
.member .img-slot { border-radius: var(--radius-m); margin-bottom: 14px; }
.member strong { display: block; color: var(--ink); }
.member span { font-size: .9rem; color: var(--ink-3); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue-dark), var(--blue) 60%, #2F7BF0); color: #E3ECF9; border-radius: var(--radius-l); padding: 64px; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 48px solid rgba(255,255,255,.06); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 1.1rem; max-width: 40em; }
.cta-band .btn-row { position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 40px 28px; } }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.notice { padding: 16px 18px; border-radius: 10px; background: #FFF8E1; border: 1px solid #F3DE9A; color: #6B4E00; font-size: .93rem; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: #A9B8D0; font-size: .94rem; padding: 72px 0 32px; }
.site-footer a { color: #D2DDEE; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { max-width: 30em; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: inline-flex; align-items: center; justify-content: center; color: #D2DDEE; }
.socials a:hover { background: var(--blue); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; flex-wrap: wrap; font-size: .86rem; }
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.disclaimer { font-size: .82rem; color: #7F93B3; margin-top: 24px; max-width: 900px; }
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: .93rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 300; box-shadow: var(--shadow-float); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Misc ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.stat-hidden { display: none; }
.subject-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.subject-grid a, .subject-grid div.s { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .95rem; }
.subject-grid a:hover { border-color: var(--blue); text-decoration: none; color: var(--blue); }
@media (max-width: 1024px) { .subject-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .subject-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .subject-grid { grid-template-columns: 1fr; } }

.mode-card { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px; background: #fff; }
.mode-card .mode-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.mode-card h3 { margin: 0; }

.support-channels .card { text-align: left; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--correct); background: var(--correct-bg); padding: 6px 12px; border-radius: 999px; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--correct); }

.error-page { padding: 120px 0; text-align: center; }
.error-page .code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); color: var(--mist-2); line-height: 1; font-weight: 600; }

/* ---------- Refinements ---------- */
.quote { margin: 0; }
.tag .icon-slot svg { width: 13px; height: 13px; }
.qcard-tools { flex-wrap: nowrap; overflow-x: auto; gap: 2px; padding: 8px 10px; scrollbar-width: none; }
.qcard-tools::-webkit-scrollbar { display: none; }
.tool-btn { padding: 7px 8px; flex: none; }
.tool-btn .icon-slot, .q-timer .icon-slot, .q-ref .icon-slot { color: inherit; }
.tool-btn .icon-slot svg { width: 16px; height: 16px; }
.q-timer .icon-slot svg { width: 15px; height: 15px; }
.q-ref .icon-slot svg { width: 18px; height: 18px; color: var(--blue); }
.ai-msg .who .icon-slot { color: inherit; }
.ai-msg .who .icon-slot svg { width: 16px; height: 16px; }
.chat-mock .chat-input .icon-slot { margin-left: auto; color: var(--sky); }
.chat-mock .src .icon-slot { color: inherit; }
.chat-mock .src .icon-slot svg { width: 14px; height: 14px; }
.store-badge .icon-slot { color: inherit; }
.site-footer .store-badge { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; }
.site-footer .store-badge:hover { background: rgba(255,255,255,.14); color: #fff; }
.socials .icon-slot { color: inherit; font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.device-list .icon-slot { color: var(--blue); }
.device-list .icon-slot svg { width: 18px; height: 18px; }
.course-meta .icon-slot { color: inherit; }
.course-meta .icon-slot svg { width: 15px; height: 15px; }
.logo-row .img-slot code, .logo-row .img-slot .slot-label span { display: none; }
.logo-row .img-slot .slot-label b { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.btn .icon-slot { color: inherit; }
.btn .icon-slot svg { width: 18px; height: 18px; }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .steps.steps-4 { grid-template-columns: 1fr 1fr; gap: 32px; } .steps.steps-4 li::after { display: none; } }
@media (max-width: 640px) { .steps.steps-4 { grid-template-columns: 1fr; } }
.steps[style*="grid-template-columns:1fr"] li::after { display: none; }
.center .icon-slot.plain { display: inline-flex; vertical-align: -3px; color: var(--ink-3); }
.center .icon-slot.plain svg { width: 16px; height: 16px; }
@media (max-width: 520px) { .qcard-top .q-meta span:nth-child(2) { display: none; } }

/* ---------- Double-check with AI ---------- */
.verify-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; color: var(--ink-2); font-size: .94rem; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.verify-card .vc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.verify-card .vc-head b { display: block; color: var(--ink); font-size: 1.02rem; }
.verify-card .vc-head span { font-size: .85rem; color: var(--ink-3); }
.vc-status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; color: var(--correct); background: var(--correct-bg); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.vc-status svg { width: 14px; height: 14px; }
.vc-status.bad { color: var(--wrong); background: var(--wrong-bg); }
.vc-label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.verify-card .vc-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.verify-card .vc-row b { color: var(--ink); }
.vc-source { display: flex; gap: 12px; margin: 14px 0; padding: 14px; border-radius: 12px; background: var(--mist); border: 1px solid var(--mist-2); }
.vc-source > .icon-slot { color: var(--blue); }
.vc-source > .icon-slot svg { width: 20px; height: 20px; }
.vc-source b { display: block; color: var(--ink); }
.vc-source span:not(.vc-label) { display: block; font-size: .88rem; color: var(--blue-dark); font-weight: 600; }
.vc-source blockquote { margin: 10px 0 0; padding-left: 12px; border-left: 3px solid var(--blue); font-family: var(--font-display); font-size: .98rem; color: var(--ink); line-height: 1.5; }
.vc-why ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink); }
.vc-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-3); }

.verify-panel { display: none; border-top: 1px solid var(--line); padding: 18px 22px 20px; background: linear-gradient(180deg, #F0F7FF, #fff); }
.verify-panel.open { display: block; }
.verify-panel .vp-loading { display: none; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 600; font-size: .93rem; }
.verify-panel.loading .vp-loading { display: flex; }
.verify-panel.loading .vp-result { display: none; }
.verify-panel .verify-card { box-shadow: none; padding: 18px; }
.verify-panel .vc-note { margin: 10px 0 0; font-weight: 600; color: var(--ink); }
.verify-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 14px; border-radius: 12px; background: #fff; border: 1.5px solid var(--mist-2); }
.verify-cta p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.verify-cta b { color: var(--ink); display: block; }
.tool-btn.verify { color: var(--correct); }
.tool-btn.verify:hover { color: var(--correct); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--mist-2); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.verify-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .verify-steps { grid-template-columns: 1fr; } }
.highlight-band { background: linear-gradient(180deg, var(--mist), #fff); }

/* ---------- Community mock ---------- */
.community-mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-float); overflow: hidden; font-size: .93rem; }
.cm-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.cm-head b { display: block; color: var(--ink); }
.cm-head span:not(.icon-slot):not(.btn) { font-size: .84rem; color: var(--ink-3); }
.cm-head .btn { margin-left: auto; pointer-events: none; }
.cm-session { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cm-date { flex: none; width: 56px; text-align: center; border-radius: 10px; background: var(--blue); color: #fff; padding: 6px 0; line-height: 1.2; }
.cm-date b { display: block; font-size: .95rem; }
.cm-date span { font-size: .8rem; opacity: .85; }
.cm-info { flex: 1; min-width: 0; }
.cm-info b { display: block; color: var(--ink); }
.cm-info span { font-size: .85rem; color: var(--ink-3); }
.cm-session .tag .icon-slot svg { width: 13px; height: 13px; }
.cm-session .tag .icon-slot { color: inherit; }
.cm-thread { padding: 16px 18px; }
.cm-q { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.cm-q .icon-slot { color: var(--blue); }
.cm-q .icon-slot svg { width: 18px; height: 18px; }
.cm-post { display: flex; gap: 10px; margin-bottom: 12px; }
.cm-post .avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); color: var(--blue-dark); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
.cm-post .avatar.alt { background: #E7F6EF; color: var(--correct); }
.cm-post b { font-size: .85rem; color: var(--ink); }
.cm-post p { margin: 2px 0 0; color: var(--ink-2); line-height: 1.5; }
.cm-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: var(--ink-3); padding-top: 10px; border-top: 1px solid var(--line); }
.cm-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cm-meta .icon-slot { color: var(--blue); }
.cm-meta .icon-slot svg { width: 15px; height: 15px; }
.vc-status.bad svg { display: none; }
