/* QuickSage: public site styles. Tokens first, components after.
   The black band, the yellow and the three circles come from the covers of the channel's PDF notes. */
:root {
  --bg: #FAF8F2; --surface: #FFFFFF; --surface-2: #F3F0E6;
  --ink: #191919; --ink-2: #33312C; --muted: #6B675C; --line: #E4DFD1; --line-2: #D5CFBF;
  --brand: #F5C518; --brand-deep: #8A6A00; --accent: #E8702A; --link: #1D4E7A;
  --ok: #2F7D32; --ok-bg: #E7F3E6; --bad: #B3261E; --bad-bg: #FBE9E7;
  --box-alert: #FDECEA; --box-alert-b: #F3B9B3; --box-tip: #EAF6E9; --box-tip-b: #B9DCB7;
  --box-note: #E9F1F8; --box-note-b: #B7CFE3; --box-quote: #FFF8D6; --box-quote-b: #F1E3A1;
  --band: #151515; --band-ink: #FFFFFF; --band-muted: #CFCFCF;
  --radius: 14px; --radius-s: 9px;
  --display: 'Poppins', 'Hind', 'Noto Sans Devanagari', 'Segoe UI', system-ui, sans-serif;
  --body: 'Hind', 'Noto Sans Devanagari', 'Poppins', 'Segoe UI', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131312; --surface: #1C1B19; --surface-2: #242320;
    --ink: #F2EFE6; --ink-2: #DCD8CC; --muted: #A9A499; --line: #2E2C27; --line-2: #3B3831;
    --brand-deep: #F5C518; --link: #8FBBE8;
    --ok: #7CCB80; --ok-bg: #1E3A1F; --bad: #F28B82; --bad-bg: #3E1F1C;
    --box-alert: #3A211E; --box-alert-b: #6E3A34; --box-tip: #1F3320; --box-tip-b: #3C6B3E;
    --box-note: #1D2C3B; --box-note-b: #35597A; --box-quote: #3A3110; --box-quote-b: #7A6516;
    --band: #0E0E0E;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #131312; --surface: #1C1B19; --surface-2: #242320;
  --ink: #F2EFE6; --ink-2: #DCD8CC; --muted: #A9A499; --line: #2E2C27; --line-2: #3B3831;
  --brand-deep: #F5C518; --link: #8FBBE8;
  --ok: #7CCB80; --ok-bg: #1E3A1F; --bad: #F28B82; --bad-bg: #3E1F1C;
  --box-alert: #3A211E; --box-alert-b: #6E3A34; --box-tip: #1F3320; --box-tip-b: #3C6B3E;
  --box-note: #1D2C3B; --box-note-b: #35597A; --box-quote: #3A3110; --box-quote-b: #7A6516;
  --band: #0E0E0E;
  color-scheme: dark;
}

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.22; margin: 0; text-wrap: balance; }
p { margin: 0 0 .9em; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img, svg { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(720px, 100% - 40px); }
@media (max-width: 600px) { .wrap, .wrap.narrow { width: calc(100% - 32px); } }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #151515; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 10px; }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 50; background: var(--band); color: var(--band-ink); border-bottom: 3px solid var(--brand); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.22rem; white-space: nowrap; }
.logo b { color: var(--brand); font-weight: 700; }
.mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: #151515; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.15rem; flex: none; }
.nav { display: flex; gap: 2px; margin-left: 10px; }
.nav a { color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-family: var(--display); font-weight: 500; font-size: .93rem; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: var(--brand); }
.grow { flex: 1; }
.search { position: relative; color: #aaa; }
.search > svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; pointer-events: none; }
.search input { width: 210px; padding: 8px 12px 8px 34px; border-radius: 999px; border: 1px solid #444; background: #222; color: #fff; font-size: .95rem; }
.search input::placeholder { color: #999; }
.results { position: absolute; right: 0; top: calc(100% + 8px); width: min(420px, 92vw); background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .45); padding: 6px; display: none; }
.results.open { display: block; }
.results a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.results a:hover, .results a:focus { background: var(--surface-2); }
.results b { display: block; font-family: var(--display); font-weight: 600; font-size: .95rem; }
.results span { color: var(--muted); font-size: .85rem; }
.results .none { padding: 10px 12px; color: var(--muted); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #444; background: #222; color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn svg { width: 18px; height: 18px; }
.burger { display: none; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--band); flex-direction: column; padding: 8px 16px 14px; border-bottom: 3px solid var(--brand); margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 11px 12px; font-size: 1rem; }
  .burger { display: grid; }
}
.search-btn { display: none; }
@media (max-width: 620px) {
  /* on phones the search field opens under the header when the search button is tapped */
  .search-btn { display: grid; }
  .search { display: none; position: absolute; left: 16px; right: 16px; top: calc(100% + 10px); }
  .top.searching .search { display: block; }
  .search input { width: 100%; padding-top: 11px; padding-bottom: 11px; font-size: 1rem; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); }
  .results { left: 0; right: 0; width: auto; }
}

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid transparent; font-family: var(--display); font-weight: 600; font-size: .93rem; text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-brand { background: var(--brand); color: #151515; }
.btn-brand:hover { background: #FFD53D; }
.btn-yt { background: #D9210F; color: #fff; }
.btn-yt:hover { background: #F02A17; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(127, 127, 127, .14); }
.btn-dark { background: #151515; color: #fff; }
.btn-sm { padding: 7px 13px; font-size: .84rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- the PDF buttons: the main thing people come for */
.pdf-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pdf-btn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 10px; border-radius: 10px; background: var(--brand); color: #151515; font-family: var(--display); font-weight: 600; font-size: .86rem; text-decoration: none; line-height: 1.2; }
.pdf-btn:hover { background: #FFD53D; }
.pdf-btn svg { width: 18px; height: 18px; flex: none; }
.pdf-btn small { font-weight: 500; opacity: .72; margin-left: 2px; }
.pdf-btn.big { padding: 11px 18px 11px 14px; font-size: 1rem; border-radius: 12px; }
.pdf-btn.big svg { width: 22px; height: 22px; }

/* ---------- home hero */
.hero { position: relative; overflow: hidden; background: var(--band); color: var(--band-ink); border-radius: 22px; padding: clamp(26px, 5vw, 54px) clamp(22px, 5vw, 54px); margin-top: 26px; }
.circ { position: absolute; border-radius: 50%; }
.c1 { right: -80px; top: -110px; width: 320px; height: 320px; background: var(--accent); }
.c2 { right: 120px; top: -150px; width: 220px; height: 220px; background: var(--brand); }
.c3 { right: -40px; top: 130px; width: 120px; height: 120px; background: var(--brand); opacity: .35; }
.hero > :not(.circ) { position: relative; }
.pill { display: inline-block; background: var(--brand); color: #151515; font-family: var(--display); font-weight: 600; font-size: .8rem; padding: 4px 12px; border-radius: 999px; margin: 0; }
.hero h1 { font-size: clamp(1.85rem, 4.4vw, 3rem); font-weight: 700; margin: 16px 0 10px; max-width: 16ch; }
.hero .lede { max-width: 52ch; color: #E6E6E6; font-size: 1.06rem; margin-bottom: 22px; }
@media (max-width: 700px) {
  .hero { border-radius: 16px; padding-top: 74px; }
  .c1 { right: -150px; top: -230px; } .c2 { right: 70px; top: -170px; width: 200px; height: 200px; } .c3 { display: none; }
}

/* ---------- sections */
.sec { margin-top: 48px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.sec-head h2 { font-size: 1.45rem; font-weight: 700; }
.sec-head a { font-family: var(--display); font-weight: 600; font-size: .9rem; }
.page-head { padding: 34px 0 20px; }
.page-head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700; }
.page-head p { color: var(--muted); margin: 8px 0 0; max-width: 62ch; }
.page-head .lede { color: var(--ink-2); font-size: 1.08rem; }
.crumbs { margin: 0 0 6px !important; font-family: var(--display); font-weight: 600; font-size: .86rem; }
.crumbs a { color: var(--brand-deep); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- newest post */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(16px, 3vw, 30px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(14px, 2.4vw, 22px); }
.feature-media { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--band); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-text h3 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 700; margin: 4px 0 8px; }
.feature-text h3 a { color: var(--ink); text-decoration: none; }
.feature-text h3 a:hover { text-decoration: underline; }
.feature-text > p { color: var(--ink-2); }
.feature .pdf-row { margin: 14px 0 12px; }
.more { font-family: var(--display); font-weight: 600; font-size: .9rem; }
@media (max-width: 720px) { .feature { grid-template-columns: 1fr; } }

/* ---------- list of posts */
.rows { margin-top: 6px; }
.row { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.rows > .row:first-child { border-top: 0; }
.feature + .rows > .row:first-child { border-top: 0; margin-top: 8px; }
.thumb { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--band); align-self: start; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.none, .feature-media.none { display: grid; place-items: center; background: radial-gradient(circle at 84% 12%, var(--accent) 0 26%, transparent 27%), radial-gradient(circle at 58% -6%, var(--brand) 0 24%, transparent 25%), var(--band); text-decoration: none; }
.row h3 { font-size: 1.1rem; font-weight: 600; }
.row h3 a { color: var(--ink); text-decoration: none; }
.row h3 a:hover { text-decoration: underline; }
.row-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--muted); font-size: .86rem; margin: 3px 0 6px; }
.row-meta a { color: var(--brand-deep); font-weight: 600; text-decoration: none; }
.row-meta a:hover { text-decoration: underline; }
.row-sum { color: var(--ink-2); font-size: .96rem; margin-bottom: 10px; }
@media (max-width: 560px) { .row { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; } .row-sum { display: none; } .row h3 { font-size: 1.02rem; } .row-meta { margin-bottom: 9px; } }

/* ---------- subjects */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.tile { display: grid; gap: 2px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); }
.tile:hover { border-color: var(--line-2); border-left-color: var(--accent); }
.tile b { font-family: var(--display); font-weight: 600; font-size: 1.04rem; }
.tile span { color: var(--ink-2); font-size: .95rem; }
.tile small { color: var(--muted); font-size: .84rem; margin-top: 4px; }

/* ---------- black call-to-action band */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; background: var(--band); color: var(--band-ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.band h2 { font-size: 1.3rem; font-weight: 700; }
.band p { margin: 6px 0 0; color: var(--band-muted); }

/* ---------- topic page */
.topic .page-head { padding-bottom: 8px; }
.topic-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang button { border: 0; background: transparent; padding: 6px 15px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--band); color: #fff; }
.video { margin-top: 22px; max-width: 760px; }
.yt-lite { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.yt-lite .play { position: absolute; inset: 0; margin: auto; width: 74px; height: 52px; border-radius: 14px; background: #D9210F; color: #fff; display: grid; place-items: center; }
.yt-lite .play svg { width: 26px; height: 26px; }
.yt-lite:hover .play { background: #F02A17; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); display: block; }
.watch { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.notes { margin-top: 34px; max-width: 760px; }
.toc { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; padding: 14px 16px; background: var(--surface-2); border-radius: var(--radius-s); margin-bottom: 22px; font-size: .92rem; }
.toc b { font-family: var(--display); font-weight: 600; margin-right: 6px; }
.toc a { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; text-decoration: none; color: var(--ink-2); }
.toc a:hover { border-color: var(--brand); }
.source { color: var(--muted); font-size: .9rem; margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--line); }
.draft-note { margin: 18px 0 0; padding: 10px 14px; background: var(--box-quote); border: 1px solid var(--box-quote-b); border-radius: var(--radius-s); font-weight: 500; }

/* ---------- notes text */
.prose { font-size: 1.04rem; overflow-wrap: break-word; }
.prose[lang="hi"] { line-height: 1.8; }
.prose h2 { font-size: 1.4rem; font-weight: 700; margin: 1.7em 0 .5em; padding-left: 12px; border-left: 5px solid var(--brand); }
.prose h3 { font-size: 1.14rem; font-weight: 600; margin: 1.4em 0 .4em; }
.prose h4 { font-size: 1rem; font-weight: 600; margin: 1.2em 0 .3em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose mark { background: #FFF3B0; color: #191919; padding: 0 3px; border-radius: 3px; }
.prose blockquote { margin: 1em 0; padding: 10px 16px; border-left: 4px solid var(--line-2); color: var(--ink-2); }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); font-family: var(--display); font-weight: 600; font-size: .9rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }
.box { margin: 1.1em 0; padding: 12px 16px; border-radius: var(--radius-s); border: 1px solid; }
.box > :last-child { margin-bottom: 0; }
.box::before { display: block; font-family: var(--display); font-weight: 600; font-size: .86rem; margin-bottom: 4px; }
.box.alert { background: var(--box-alert); border-color: var(--box-alert-b); }
.box.alert::before { content: "Exam alert"; color: var(--bad); }
.box.tip { background: var(--box-tip); border-color: var(--box-tip-b); }
.box.tip::before { content: "Memory trick"; color: var(--ok); }
.box.note { background: var(--box-note); border-color: var(--box-note-b); }
.box.quote { background: var(--box-quote); border-color: var(--box-quote-b); }
[lang="hi"] .box.alert::before, .box.alert:lang(hi)::before { content: "परीक्षा में पूछा जाता है"; }
[lang="hi"] .box.tip::before, .box.tip:lang(hi)::before { content: "याद रखने की ट्रिक"; }

/* ---------- filters */
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; }
.filters label { display: grid; gap: 4px; font-family: var(--display); font-weight: 600; font-size: .84rem; color: var(--ink-2); }
.filters select { min-width: 150px; max-width: 100%; padding: 9px 10px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg); font-family: var(--body); font-weight: 400; font-size: 1rem; }
.filters .check { display: flex; align-items: center; gap: 8px; font-family: var(--body); font-weight: 400; font-size: 1rem; padding-bottom: 9px; }
.filters .check input { width: 18px; height: 18px; accent-color: #151515; }
.filters .lang { margin-left: auto; }
@media (max-width: 560px) { .filters label:not(.check) { flex: 1 1 140px; } .filters select { width: 100%; min-width: 0; } .filters .lang { margin-left: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chips button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-family: var(--display); font-weight: 500; font-size: .88rem; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--band); border-color: var(--band); color: #fff; }

/* ---------- quiz */
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 760px; margin-bottom: 26px; }
.quiz .bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--band); color: #fff; font-family: var(--display); font-weight: 600; font-size: .9rem; }
.quiz .bar b { color: var(--brand); }
.num { font-variant-numeric: tabular-nums; }
.prog { height: 4px; background: var(--surface-2); }
.prog i { display: block; height: 100%; background: var(--brand); transition: width .25s; }
.quiz .body { padding: 18px; }
.qmeta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag { display: inline-block; font-family: var(--display); font-weight: 600; font-size: .76rem; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); text-decoration: none; }
.tag.pyq, .yr { background: var(--brand); color: #151515; }
.qtext { font-size: 1.08rem; font-weight: 500; margin-bottom: 14px; white-space: pre-line; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); cursor: pointer; font-size: 1rem; line-height: 1.45; }
.opt:hover:not([disabled]) { border-color: var(--ink); }
.opt .l { font-family: var(--display); font-weight: 600; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; flex: none; font-size: .84rem; }
.opt[disabled] { cursor: default; }
.opt.ok { border-color: var(--ok); background: var(--ok-bg); }
.opt.ok .l { background: var(--ok); color: #fff; }
.opt.bad { border-color: var(--bad); background: var(--bad-bg); }
.opt.bad .l { background: var(--bad); color: #fff; }
.fb { margin-top: 14px; padding: 12px 14px; background: var(--surface-2); border-radius: 10px; font-size: .98rem; }
.fb .v { display: block; font-family: var(--display); font-weight: 600; margin-bottom: 4px; }
.fb .v.ok { color: var(--ok); } .fb .v.bad { color: var(--bad); }
.src { display: block; color: var(--muted); font-size: .84rem; margin-top: 6px; }
.qfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px; border-top: 1px solid var(--line); }
.qfoot .hint { color: var(--muted); font-size: .9rem; }
.result { text-align: center; padding: 8px 0 4px; }
.ring { --p: 0; width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--surface-2) 0); }
.ring div { width: 92px; height: 92px; border-radius: 50%; background: var(--surface); display: grid; place-content: center; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
.ring small { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); }
.result h3 { font-size: 1.1rem; font-weight: 600; }
.result p { color: var(--muted); margin: 6px 0 0; }
.review { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.review > b { font-family: var(--display); font-weight: 600; }
.wrong { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.wrong:last-child { border-bottom: 0; }

/* ---------- previous-year question cards */
.pyq { padding: 18px 0; border-top: 1px solid var(--line); max-width: 760px; }
.pyq:first-child { border-top: 0; padding-top: 4px; }
.pyq ol { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 4px; }
.pyq li { padding: 5px 10px; border-radius: 8px; }
.pyq li.ok { background: var(--ok-bg); color: var(--ok); font-weight: 600; }
.pyq .exp { margin-top: 12px; padding: 12px 14px; background: var(--surface-2); border-radius: 10px; font-size: .98rem; }

/* ---------- empty states, footer */
.empty { text-align: center; padding: 44px 20px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius); margin-top: 28px; }
.empty h1, .empty h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 46ch; margin: 0 auto; }
.about-cta { margin-top: 26px; }
.foot { margin-top: 64px; background: var(--band); color: var(--band-muted); padding: 38px 0 26px; border-top: 3px solid var(--brand); font-size: .92rem; }
.cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.foot h2 { color: #fff; font-size: .98rem; font-weight: 600; margin-bottom: 10px; }
.foot a { color: #E0E0E0; text-decoration: none; display: block; padding: 3px 0; }
.foot a:hover { color: var(--brand); }
.fine { border-top: 1px solid #333; margin: 26px 0 0; padding-top: 16px; font-size: .82rem; }
@media (max-width: 700px) { .cols { grid-template-columns: 1fr; gap: 20px; } }
