/* Layout: Clean white civic tool on a 12-column grid (Roster + Landica references): zinc neutrals, white cards,
   one blue accent with soft blue glows; verdict colours only for verdicts. Type: Open Sans for English; Noto Sans Kannada / Devanagari for kn / hi. */
:root {
  --bg: #ffffff;
  --bg-top: #ffffff;
  --bg-bottom: #ffffff;
  --surface: #ffffff;
  --sunk: #f4f4f5;
  --ink: #09090b;
  --ink-2: #27272a;
  --muted: #63636b;
  --line: #e4e4e7;
  --line-2: #d4d4d8;
  --blue: #2563eb;
  --blue-ink: #1d4ed8;
  --on-blue: #ffffff;
  --lav: #eff6ff;
  --lav-line: #bfdbfe;
  --ok: #047857; --ok-bg: #ecfdf5; --ok-line: #a7e3c9;
  --warn: #a14a07; --warn-bg: #fff8e6; --warn-line: #f1d08a;
  --bad: #b91c1c; --bad-bg: #fef2f2; --bad-line: #f5b5b5;
  --none: #4b5563; --none-bg: #f3f4f6; --none-line: #d6d8dc;
  --info: #1d4ed8; --info-bg: #eff6ff; --info-line: #bfdbfe;
  --focus: #2563eb;
  --shadow-sm: 0 1px 2px rgba(23,23,26,.06);
  --shadow: 0 1px 2px rgba(23,23,26,.04), 0 12px 32px -16px rgba(23,23,26,.18);
  --shadow-lg: 0 2px 4px rgba(23,23,26,.04), 0 24px 60px -24px rgba(23,23,26,.28);
  --display: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --font: "Open Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-read: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Verdana, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-sm: 10px; --r: 14px; --r-card: 20px; --r-lg: 28px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --scale: 1;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #09090b; --bg-top: #09090b; --bg-bottom: #09090b; --surface: #131316; --sunk: #1d1d21; --ink: #fafafa; --ink-2: #d4d4d8; --muted: #a1a1aa; --line: #27272a; --line-2: #3f3f46;
    --blue: #60a5fa; --blue-ink: #93c5fd; --on-blue: #06142e; --lav: #0f1d33; --lav-line: #1e3a5f;
    --ok: #6ee7b7; --ok-bg: #0d2a20; --ok-line: #1f5a43;
    --warn: #fcd34d; --warn-bg: #2b2007; --warn-line: #5c4512;
    --bad: #fca5a5; --bad-bg: #2e1313; --bad-line: #6a2626;
    --none: #cbd0d8; --none-bg: #23252b; --none-line: #3a3d45;
    --info: #93c5fd; --info-bg: #0f1d33; --info-line: #1e3a5f;
    --focus: #93c5fd;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4); --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px -16px rgba(0,0,0,.7); --shadow-lg: 0 24px 60px -24px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #09090b; --bg-top: #09090b; --bg-bottom: #09090b; --surface: #131316; --sunk: #1d1d21; --ink: #fafafa; --ink-2: #d4d4d8; --muted: #a1a1aa; --line: #27272a; --line-2: #3f3f46;
  --blue: #60a5fa; --blue-ink: #93c5fd; --on-blue: #06142e; --lav: #0f1d33; --lav-line: #1e3a5f;
  --ok: #6ee7b7; --ok-bg: #0d2a20; --ok-line: #1f5a43;
  --warn: #fcd34d; --warn-bg: #2b2007; --warn-line: #5c4512;
  --bad: #fca5a5; --bad-bg: #2e1313; --bad-line: #6a2626;
  --none: #cbd0d8; --none-bg: #23252b; --none-line: #3a3d45;
  --info: #93c5fd; --info-bg: #0f1d33; --info-line: #1e3a5f;
  --focus: #93c5fd;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4); --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px -16px rgba(0,0,0,.7); --shadow-lg: 0 24px 60px -24px rgba(0,0,0,.8);
  color-scheme: dark;
}
/* Accessibility settings, set on <html> by app.js */
:root.a-contrast {
  --bg: #ffffff; --bg-top: #ffffff; --bg-bottom: #ffffff; --surface: #ffffff; --sunk: #f2f2f2; --ink: #000; --ink-2: #000; --muted: #1f1f1f; --line: #000; --line-2: #000;
  --blue: #0010c9; --blue-ink: #000a8a; --lav: #fff; --lav-line: #000; --ok: #00502f; --warn: #6b3200; --bad: #8a0000; --none: #000;
  --shadow-sm: none; --shadow: none; --shadow-lg: none;
}
:root.a-contrast[data-theme="dark"] {
  --bg: #000; --bg-top: #000; --bg-bottom: #000; --surface: #000; --sunk: #111; --ink: #fff; --ink-2: #fff; --muted: #f0f0f0; --line: #fff; --line-2: #fff;
  --blue: #ffe14d; --blue-ink: #ffe14d; --on-blue: #000; --lav: #000; --lav-line: #fff;
  --ok: #7dffc4; --ok-bg: #000; --warn: #ffd166; --warn-bg: #000; --bad: #ff9a9a; --bad-bg: #000; --none: #fff; --none-bg: #000;
}
:root.a-lg { --scale: 1.14; }
:root.a-xl { --scale: 1.3; }
:root.a-readable { --font: var(--font-read); --display: var(--font-read); }
:root[lang="kn"] { --font: "Noto Sans Kannada", "Open Sans", sans-serif; --display: "Noto Sans Kannada", "Open Sans", sans-serif; }
:root[lang="hi"] { --font: "Noto Sans Devanagari", "Open Sans", sans-serif; --display: "Noto Sans Devanagari", "Open Sans", sans-serif; }
:root[lang="kn"] body, :root[lang="hi"] body { line-height: 1.7; }

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(100% * var(--scale)); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
html { background-color: var(--bg-bottom); }
body {
  margin: 0; color: var(--ink);
  background-color: var(--bg);
  font-family: var(--font); font-size: 1rem; line-height: 1.55; font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
:root.a-readable body { letter-spacing: .01em; line-height: 1.7; }
:root.a-calm *, :root.a-calm *::before, :root.a-calm *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s var(--ease); }
a:hover { color: var(--blue-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; text-wrap: balance; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { max-width: 100%; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; color: var(--bg); }

.wrap {
  width: 100%; max-width: calc(var(--wrap) + 64px); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

/* Type scale (1.25) */
.display { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem); line-height: 1; letter-spacing: -0.04em; font-weight: 600; }
.h2 { font-size: clamp(1.85rem, 1.35rem + 1.9vw, 2.75rem); line-height: 1.05; letter-spacing: -0.03em; }
.h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.015em; }
.lede { font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); line-height: 1.55; color: var(--muted); max-width: 56ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--blue); }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: .88em; }
.prose { max-width: 66ch; display: grid; gap: 14px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }

/* Buttons and chips */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: -0.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: var(--on-blue); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -8px color-mix(in srgb, var(--blue) 70%, transparent); }
.btn-primary:hover { background: var(--blue-ink); color: var(--on-blue); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { color: var(--bg); background: var(--ink-2); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .86rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; background: var(--sunk); color: var(--ink-2); white-space: nowrap; line-height: 1.6; }
.chip-blue { background: var(--lav); color: var(--blue-ink); }
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.chip-warn { background: var(--warn-bg); color: var(--warn); }
.chip-bad { background: var(--bad-bg); color: var(--bad); }
.chip-none { background: var(--none-bg); color: var(--none); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.topline { background: #1d4ed8; color: #ffffff; font-size: .8rem; }
.topline .wrap { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding-block: 8px; flex-wrap: wrap; }
.topline a { color: #fff; font-weight: 600; text-decoration: none; }
.topline a:hover { color: #fff; text-decoration: underline; }
.topline .live { display: inline-flex; align-items: center; gap: 8px; }
.topline .live::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: #86efac; box-shadow: 0 0 0 3px rgba(134,239,172,.3); }
.topline .links { display: flex; gap: 18px; }
@media (max-width: 640px) { .topline .links { display: none; } }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.14rem; letter-spacing: -0.025em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand .tld { color: var(--muted); font-weight: 500; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .93rem; transition: background-color .2s var(--ease), color .2s var(--ease); }
.nav a:hover { background: var(--sunk); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.head-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { height: 42px; min-width: 42px; padding: 0 10px; gap: 6px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); font-weight: 600; font-size: .85rem; transition: border-color .2s var(--ease); }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 19px; height: 19px; }
.lang { position: relative; }
.lang select { appearance: none; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); padding: 0 30px 0 14px; font-weight: 600; font-size: .85rem; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.lang select:hover { border-color: var(--ink); }
.menu-btn { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-left, 0px)) 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; animation: drop .25s var(--ease); }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .menu-btn { display: inline-flex; }
  .head-actions { margin-left: auto; }
}
@media (max-width: 560px) { .head-cta { display: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Accessibility panel */
.a11y-panel {
  position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); top: calc(100% + 8px); width: min(360px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-lg); padding: 18px; display: grid; gap: 14px; z-index: 30;
  animation: drop .2s var(--ease);
}
.a11y-panel h2 { font-size: 1.05rem; }
.a11y-row { display: grid; gap: 8px; }
.seg { display: flex; background: var(--sunk); border-radius: 999px; padding: 4px; gap: 4px; }
.seg button { flex: 1; min-height: 38px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-weight: 600; transition: background-color .2s var(--ease); }
.seg button[aria-pressed="true"] { background: var(--surface); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; cursor: pointer; }
.toggle input { width: 22px; height: 22px; accent-color: var(--blue); }

/* Sections */
main { display: block; }
.section { padding-block: clamp(56px, 6.5vw, 96px); }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 720px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-row { display: flex; gap: 24px; justify-content: space-between; align-items: end; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-row .sec-head { margin: 0; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }

/* Hero */
.hero { padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 96px); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { display: grid; gap: 24px; align-content: start; min-width: 0; padding-top: clamp(0px, 3vw, 40px); }
.hero-copy .display em { font-style: normal; color: var(--blue); }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); padding-top: 18px; max-width: 520px; }
.hero-facts div { display: grid; gap: 2px; padding-right: 12px; }
.hero-facts b { font-family: var(--display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.sources { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sources .label { font-size: .8rem; color: var(--muted); margin-right: 6px; }
.src { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: .78rem; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: border-color .2s var(--ease); }
a.src:hover { border-color: var(--ink); color: var(--ink); }

/* App card: tabs + form + verdict, styled like a product window */
.app { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0; }
.app-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--sunk) 55%, var(--surface)); }
.tabs { display: flex; gap: 4px; background: var(--sunk); border-radius: 999px; padding: 4px; }
.tabs button { border: 0; background: transparent; border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .86rem; color: var(--muted); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.app-bar .session { font-size: .78rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 480px) { .app-bar .session { display: none; } }
.app-body { padding: 16px; display: grid; gap: 14px; }
.app-panel { display: grid; gap: 12px; }

.fields { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field { position: relative; background: var(--sunk); border: 1px solid transparent; border-radius: var(--r); padding: 9px 14px 7px; display: grid; gap: 1px; min-width: 0; transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.field:hover { border-color: var(--line-2); }
.field:focus-within { background: var(--surface); border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 15%, transparent); }
.field label, .field .lbl { font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.field input, .field select, .field textarea { border: 0; background: transparent; padding: 2px 0 3px; font-size: 1rem; width: 100%; min-width: 0; outline: none; }
.field select { appearance: none; cursor: pointer; padding-right: 22px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%; background-size: 5px 5px; background-repeat: no-repeat; text-overflow: ellipsis; }
.field select option { background: var(--surface); color: var(--ink); }
.field.boxed { background: var(--surface); border-color: var(--line-2); }
.form-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.form-row .btn { flex: 1 1 auto; min-height: 50px; }
.suggest { position: absolute; left: -1px; right: -1px; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); z-index: 15; max-height: 340px; overflow: auto; padding: 6px; list-style: none; animation: drop .15s var(--ease); }
.suggest li { padding: 9px 10px; border-radius: 10px; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--lav); }
.suggest .s-name { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest .s-meta { grid-column: 1; font-size: .78rem; color: var(--muted); }
.suggest .chip { grid-row: 1 / span 2; grid-column: 2; }
.hint { font-size: .8rem; color: var(--muted); }

/* Verdict */
.verdict { display: grid; gap: 14px; min-width: 0; }
.verdict.enter { animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.v-inst { display: flex; justify-content: space-between; gap: 12px; align-items: start; flex-wrap: wrap; }
.v-inst .name { font-family: var(--display); font-size: 1.08rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.v-inst .meta { font-size: .82rem; color: var(--muted); }
.v-band { border-radius: var(--r-card); padding: 16px 18px; display: grid; gap: 6px; border: 1px solid; }
.v-band.ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.v-band.warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn); }
.v-band.bad { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad); }
.v-band.none { background: var(--none-bg); border-color: var(--none-line); color: var(--none); }
.v-light { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.v-light svg { width: 20px; height: 20px; flex: none; }
.v-head { font-family: var(--display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; color: var(--ink); }
.v-why { color: var(--ink-2); font-size: .93rem; }
.checks { list-style: none; display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.checks li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 11px 14px; border-top: 1px solid var(--line); font-size: .9rem; }
.checks li:first-child { border-top: 0; }
.ic { width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; margin-top: 1px; }
.ic svg { width: 13px; height: 13px; }
.ic.ok { background: var(--ok-bg); color: var(--ok); box-shadow: inset 0 0 0 1px var(--ok-line); }
.ic.warn { background: var(--warn-bg); color: var(--warn); box-shadow: inset 0 0 0 1px var(--warn-line); }
.ic.bad { background: var(--bad-bg); color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad-line); }
.ic.none { background: var(--none-bg); color: var(--none); box-shadow: inset 0 0 0 1px var(--none-line); }
.ck-title { font-weight: 600; }
.ck-text { color: var(--muted); font-size: .85rem; }
.ck-tag { font-size: .74rem; color: var(--muted); white-space: nowrap; font-weight: 600; text-decoration: none; padding-top: 2px; }
a.ck-tag:hover { color: var(--blue); }
.progs { font-size: .82rem; color: var(--ink-2); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px; }
.progs span { background: var(--sunk); border-radius: 6px; padding: 1px 7px; }
.v-foot { display: flex; gap: 8px; flex-wrap: wrap; }
.v-foot .btn { min-height: 40px; padding: 0 14px; font-size: .86rem; }
.v-example { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); background: var(--lav); padding: 3px 9px; border-radius: 999px; }
.notice { background: var(--lav); border: 1px solid var(--lav-line); border-radius: var(--r); padding: 11px 14px; font-size: .86rem; color: var(--ink); display: flex; gap: 10px; align-items: start; }
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--blue-ink); }

/* Results (URL checker) */
.result { border-radius: var(--r); padding: 14px 16px; display: grid; gap: 6px; border: 1px solid; font-size: .92rem; animation: rise .3s var(--ease); }
.result.ok { background: var(--ok-bg); border-color: var(--ok-line); }
.result.warn { background: var(--warn-bg); border-color: var(--warn-line); }
.result.bad { background: var(--bad-bg); border-color: var(--bad-line); }
.result.none { background: var(--none-bg); border-color: var(--none-line); }
.result .r-title { font-weight: 700; display: flex; gap: 8px; align-items: center; }
.result .r-title svg { width: 20px; height: 20px; flex: none; }
.result.ok .r-title { color: var(--ok); } .result.warn .r-title { color: var(--warn); } .result.bad .r-title { color: var(--bad); } .result.none .r-title { color: var(--none); }
.result ul { padding-left: 1.1em; display: grid; gap: 4px; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-sm); }
.stat { padding: 26px 24px; display: grid; gap: 6px; align-content: start; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .n { font-family: var(--display); font-size: clamp(2rem, 1.5rem + 1.5vw, 2.7rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { font-size: .9rem; color: var(--ink-2); max-width: 26ch; }
.stat .s { font-size: .76rem; color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 440px) { .stats { grid-template-columns: minmax(0, 1fr); } .stat { border-left: 0; } .stat + .stat { border-top: 1px solid var(--line); } }

/* Three checks */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
@media (max-width: 860px) { .trio { grid-template-columns: minmax(0, 1fr); } }
.trio-item { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 2px solid var(--ink); }
.trio-item .step { font-family: var(--font); letter-spacing: .04em; font-size: .78rem; color: var(--muted); }
.trio-item p { color: var(--muted); }

/* Rules table */
.rules { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.rule { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; align-items: start; padding: 20px 24px; border-top: 1px solid var(--line); transition: background-color .2s var(--ease); }
.rule:first-child { border-top: 0; }
.rule:hover { background: color-mix(in srgb, var(--sunk) 50%, var(--surface)); }
.rule .when { font-weight: 500; color: var(--ink-2); }
.rule .says { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; font-size: 1.05rem; }
.rule .why { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.rules-head { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; padding: 12px 24px; background: var(--sunk); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .rule { grid-template-columns: minmax(0, 1fr); gap: 8px; } .rules-head { display: none; } }

/* Lists */
.list { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 180px 160px 24px; gap: 18px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color .2s var(--ease); }
.row:first-child { border-top: 0; }
a.row:hover { background: color-mix(in srgb, var(--sunk) 60%, var(--surface)); color: var(--ink); }
a.row:hover .arrow { transform: translateX(3px); color: var(--ink); }
.row .r-name { font-weight: 600; letter-spacing: -0.01em; min-width: 0; }
.row .r-sub { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: 2px; }
.row .r-col { font-size: .88rem; color: var(--muted); min-width: 0; }
.row .arrow { width: 18px; height: 18px; color: var(--muted); transition: transform .2s var(--ease), color .2s var(--ease); }
@media (max-width: 760px) { .row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; } .row .r-col { grid-column: 1; } .row .r-col + .r-col { grid-column: 1; } .row .arrow { grid-row: 1; grid-column: 2; } }

/* Cards */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .grid3, .grid4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; transition: border-color .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
a.card { text-decoration: none; color: var(--ink); }
a.card:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.card .card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card .abbr { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; font-size: 1.3rem; }
.card .big { font-family: var(--display); font-size: 2.2rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.card p { color: var(--muted); font-size: .93rem; }
.card .card-link { font-weight: 600; font-size: .9rem; text-decoration: none; margin-top: 2px; }

/* Dark band */
.band { background: var(--ink); color: var(--bg); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.band h2 { color: var(--bg); }
.band .eyebrow, .band .lede { color: color-mix(in srgb, var(--bg) 70%, transparent); }
@media (max-width: 900px) { .band { grid-template-columns: minmax(0, 1fr); } }
.urlbox { background: var(--surface); color: var(--ink); border-radius: var(--r-card); padding: 12px; display: grid; gap: 10px; box-shadow: var(--shadow-lg); }
.urlbox form { display: flex; gap: 8px; flex-wrap: wrap; }
.urlbox .field { flex: 1 1 220px; }
.urlbox .btn { flex: 0 0 auto; min-height: 54px; }

/* Split + ticks */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.ticks { list-style: none; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.ticks .ic { width: 26px; height: 26px; background: var(--lav); color: var(--blue-ink); }
.ticks b { display: block; font-weight: 600; }
.ticks span { color: var(--muted); font-size: .93rem; }

/* PwD */
.matcher { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 14px; display: grid; gap: 10px; }
.matcher .fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 560px) { .matcher .fields { grid-template-columns: minmax(0, 1fr); } }
.match-out { display: grid; gap: 10px; }
.match-count { font-size: .9rem; color: var(--muted); padding: 2px 4px; }
.scheme { border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px; display: grid; gap: 10px; background: var(--surface); animation: rise .3s var(--ease); }
.scheme.yes { border-color: var(--ok-line); }
.scheme .s-top { display: flex; justify-content: space-between; gap: 10px; align-items: start; flex-wrap: wrap; }
.scheme h3 { font-size: 1.05rem; }
.scheme .prov { font-size: .8rem; color: var(--muted); }
.scheme .benefit { font-weight: 600; }
.scheme .who { color: var(--muted); font-size: .9rem; }
.scheme .alert { font-size: .87rem; background: var(--warn-bg); color: var(--ink); border: 1px solid var(--warn-line); border-radius: 12px; padding: 10px 12px; }
.scheme details summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--blue); }
.scheme details ul { margin-top: 8px; padding-left: 1.2em; display: grid; gap: 4px; font-size: .9rem; }
.scheme .s-links { display: flex; gap: 14px; flex-wrap: wrap; font-size: .88rem; font-weight: 600; align-items: center; }
.rights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .rights { grid-template-columns: minmax(0, 1fr); } }
.right { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; display: grid; gap: 12px; align-content: start; }
.right .law { font-size: .76rem; font-weight: 600; color: var(--blue-ink); background: var(--lav); padding: 4px 10px; border-radius: 999px; justify-self: start; }
.right .big { font-family: var(--display); font-size: 2.4rem; font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.right p { color: var(--muted); font-size: .93rem; }
.right .say { background: var(--sunk); border-radius: 12px; padding: 12px 14px; font-size: .9rem; color: var(--ink); }
.tracker { list-style: none; display: grid; gap: 10px; }
.track { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 20px; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: start; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.track input { width: 24px; height: 24px; accent-color: var(--ok); margin: 2px 0 0; cursor: pointer; }
.track label { font-weight: 600; cursor: pointer; }
.track p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.track .time { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.track.done { background: var(--ok-bg); border-color: var(--ok-line); }
.progress { height: 8px; border-radius: 999px; background: var(--sunk); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--ok); width: 0; transition: width .4s var(--ease); }

/* Directory + explorer */
.dir { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .dir { grid-template-columns: minmax(0, 1fr); } }
.filters { display: grid; gap: 10px; }
.dir-side { position: sticky; top: 88px; align-self: start; display: grid; gap: 0; min-width: 0; }
@media (max-width: 900px) { .dir-side { position: static; } }
@media (max-width: 900px) { .filters { position: static; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.filters .field { background: var(--surface); border-color: var(--line-2); }
.check-row { display: flex; gap: 10px; align-items: center; font-size: .9rem; padding: 8px 4px; cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--blue); }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; font-size: .88rem; color: var(--muted); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; background: var(--sunk); position: sticky; top: 0; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background-color .15s var(--ease); }
tbody tr:hover { background: color-mix(in srgb, var(--sunk) 50%, var(--surface)); }
td.n { font-variant-numeric: tabular-nums; color: var(--muted); width: 48px; }
td a { font-weight: 600; text-decoration: none; color: var(--ink); }
td a:hover { color: var(--blue); text-decoration: underline; }
.empty { padding: 32px; text-align: center; color: var(--muted); }

/* Report page */
.report-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 980px) { .report-grid { grid-template-columns: minmax(0, 1fr); } }
.stack { display: grid; gap: 16px; align-content: start; min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; display: grid; gap: 14px; min-width: 0; }
.panel > h2 { font-size: 1.15rem; letter-spacing: -0.015em; }
.facts { display: grid; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.fact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; padding: 13px 20px; border-top: 1px solid var(--line); font-size: .92rem; }
.fact:first-child { border-top: 0; }
.fact dt { color: var(--muted); }
.fact dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.fact dd .muted { font-weight: 400; }
.callout { border-radius: var(--r-card); padding: 22px; display: grid; gap: 10px; border: 1px solid var(--line); background: var(--surface); }
.callout.bad { background: var(--bad-bg); border-color: var(--bad-line); }
.callout.bad .h2 { color: var(--bad); }
.deb-block { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 6px; }
.deb-block:first-of-type { border-top: 0; padding-top: 0; }
.deb-block .period { font-size: .8rem; color: var(--muted); }
.deb-block ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.deb-block li { font-size: .8rem; background: var(--sunk); border-radius: 8px; padding: 3px 9px; }
.page-head { padding-block: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 40px); display: grid; gap: 16px; }
.crumbs { font-size: .84rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-head .display { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem); }
.head-chips { display: flex; gap: 6px; flex-wrap: wrap; }

/* Ads */
.ad { display: grid; gap: 6px; justify-items: center; margin-block: 8px; }
.ad-label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ad-slot { width: 100%; min-height: 100px; border-radius: var(--r); display: grid; place-items: center; }
.ad-slot.placeholder { border: 1px dashed var(--line-2); background: repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--sunk) 60%, transparent) 10px 20px); color: var(--muted); font-size: .8rem; }
.ad-slot.tall { min-height: 260px; }
.ad.in-list { margin: 0; padding: 14px 22px; border-top: 1px solid var(--line); }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.015em; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line-2); background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 22px; max-width: 70ch; color: var(--muted); display: grid; gap: 10px; animation: rise .25s var(--ease); }

/* Closing CTA */
.cta { background: var(--blue); color: var(--on-blue); border-radius: var(--r-lg); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px; align-items: end; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 999px; border: 48px solid color-mix(in srgb, var(--on-blue) 10%, transparent); }
.cta .h2 { color: var(--on-blue); max-width: 16ch; }
.cta p { max-width: 52ch; margin-top: 12px; }
.cta .actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta .btn-primary { background: var(--on-blue); color: var(--blue); box-shadow: none; }
.cta .btn-primary:hover { background: var(--on-blue); color: var(--blue-ink); }
.cta .btn-ghost { background: transparent; color: var(--on-blue); border-color: color-mix(in srgb, var(--on-blue) 45%, transparent); }
.cta .btn-ghost:hover { border-color: var(--on-blue); color: var(--on-blue); }
@media (max-width: 760px) { .cta { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: clamp(24px, 3vw, 40px); padding-block: 56px 36px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }
.foot-grid h2 { font-family: var(--font); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.foot-grid ul { list-style: none; display: grid; gap: 8px; }
.foot-grid a { color: var(--ink-2); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-grid p { color: var(--muted); max-width: 38ch; margin-top: 12px; }
.disclaimer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; display: grid; gap: 14px; }
.disclaimer p { max-width: 120ch; }
.disclaimer b { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: .88rem; z-index: 60; box-shadow: var(--shadow-lg); animation: rise .25s var(--ease); }
@media (max-width: 480px) {
  .site-head .wrap { gap: 8px; }
  .brand { font-size: 1.02rem; gap: 8px; }
  .brand svg { width: 26px; height: 26px; }
  .brand .tld { display: none; }
  .head-actions { gap: 6px; }
  .lang select { padding: 0 24px 0 10px; height: 40px; background-position: calc(100% - 12px) 52%, calc(100% - 7px) 52%; }
  .icon-btn { height: 40px; min-width: 40px; padding: 0 8px; }
}
.nav a { white-space: nowrap; }
:root[lang="kn"] .display, :root[lang="hi"] .display, :root[lang="kn"] .h2, :root[lang="hi"] .h2 { letter-spacing: 0; line-height: 1.2; }
@media (max-width: 1360px) {
  :root[lang="kn"] .nav, :root[lang="hi"] .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-left, 0px)) 16px; box-shadow: var(--shadow); }
  :root[lang="kn"] .nav.open, :root[lang="hi"] .nav.open { display: flex; }
  :root[lang="kn"] .menu-btn, :root[lang="hi"] .menu-btn { display: inline-flex; }
  :root[lang="kn"] .head-actions, :root[lang="hi"] .head-actions { margin-left: auto; }
}

/* Info state: "check with the council" (not a warning) */
.chip-info { background: var(--info-bg); color: var(--info); }
.v-band.info { background: var(--info-bg); border-color: var(--info-line); color: var(--info); }
.ic.info { background: var(--info-bg); color: var(--info); box-shadow: inset 0 0 0 1px var(--info-line); }
.result.info { background: var(--info-bg); border-color: var(--info-line); }
.result.info .r-title { color: var(--info); }
/* Report fact explanations and glossary */
.fact-help { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.fact-link { grid-template-columns: minmax(0, 1fr); background: color-mix(in srgb, var(--sunk) 50%, var(--surface)); }
.fact-link .link-arrow { font-size: .88rem; }
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
@media (max-width: 760px) { .terms { grid-template-columns: minmax(0, 1fr); } }
.term { padding: 16px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.term dt { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.term dd { margin: 4px 0 0; color: var(--muted); font-size: .93rem; }
.term:target { background: var(--info-bg); border-radius: 12px; padding-inline: 12px; }

/* ---------- Hero v3: Roster-style mock + Landica-style glow ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) 0; position: relative; overflow: hidden; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero-copy { padding-top: 0; gap: 26px; }
.hero-copy .display { font-size: clamp(2.6rem, 1.5rem + 4vw, 4.6rem); }
.pill-eyebrow { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--lav); color: var(--blue-ink); font-size: .8rem; font-weight: 600; border: 1px solid var(--lav-line); }
.pill-eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--blue); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 1rem; border-radius: 14px; }
.btn-lg svg { width: 18px; height: 18px; }
.btn-dark svg.arrow { color: currentColor; }
.hero-ticks { list-style: none; display: flex; gap: 8px 22px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.hero-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-ticks svg { width: 16px; height: 16px; padding: 2px; border-radius: 999px; border: 1.5px solid var(--muted); color: var(--muted); }

.mock-wrap { position: relative; padding: 0 28px 40px 0; }
.mock { display: grid; grid-template-columns: 172px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 1px 2px rgba(9,9,11,.04), 0 30px 60px -30px rgba(29,78,216,.28); overflow: hidden; font-size: .86rem; }
.mock-side { background: var(--sunk); padding: 16px 12px; display: grid; gap: 10px; align-content: start; border-right: 1px solid var(--line); }
.mock-brand { display: flex; align-items: center; gap: 8px; font-size: .9rem; padding: 0 4px 6px; }
.mock-brand svg { width: 22px; height: 22px; }
.mock-nav, .mock-recent { list-style: none; display: grid; gap: 2px; }
.mock-nav li { padding: 7px 10px; border-radius: 9px; color: var(--ink-2); }
.mock-nav li.on { background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--ink); font-weight: 600; }
.mock-label { font-size: .72rem; color: var(--muted); padding: 8px 6px 0; }
.mock-recent li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; color: var(--ink-2); font-size: .78rem; line-height: 1.3; }
.sdot { width: 7px; height: 7px; border-radius: 999px; flex: none; }
.sdot.ok { background: var(--ok); } .sdot.bad { background: var(--bad); } .sdot.warn { background: var(--warn); }
.mock-main { padding: 18px 20px 16px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.mock-top { display: flex; justify-content: space-between; align-items: center; }
.mock-title { font-family: var(--display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.mock-tabs { display: flex; gap: 4px; background: var(--sunk); border-radius: 12px; padding: 4px; margin-top: 6px; }
.mock-tabs span { flex: 1; text-align: center; padding: 7px 6px; border-radius: 9px; color: var(--muted); white-space: nowrap; }
.mock-tabs span.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(9,9,11,.08); }
.mock-tabs b { color: var(--blue); font-weight: 600; margin-left: 4px; }
.mock-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.mock-table th { background: transparent; text-transform: none; letter-spacing: 0; font-size: .74rem; padding: 8px 6px; position: static; }
.mock-table td { padding: 9px 6px; vertical-align: middle; }
.mock-table td:first-child { max-width: 0; width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-table tbody tr:first-child { background: var(--sunk); }
.mock-foot { padding-top: 4px; }
.mock-toast { position: absolute; left: 20%; bottom: 0; display: flex; gap: 10px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: 0 18px 40px -18px rgba(9,9,11,.3); max-width: 300px; font-size: .84rem; animation: floaty 6s ease-in-out infinite; }
.mock-toast .ic { width: 26px; height: 26px; flex: none; font-weight: 700; font-size: .8rem; }
.mock-toast b { display: block; font-size: .76rem; color: var(--muted); font-weight: 500; }
.mock-seal { position: absolute; right: 0; bottom: 34px; width: 104px; height: 104px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 40px -18px rgba(29,78,216,.45); display: grid; place-items: center; align-content: center; gap: 2px; color: var(--blue); font-weight: 600; font-size: .78rem; animation: floaty 7s ease-in-out infinite reverse; }
.mock-seal svg { width: 34px; height: 34px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .mock-wrap { max-width: 640px; } }
@media (max-width: 600px) { .mock { grid-template-columns: minmax(0, 1fr); } .mock-side { display: none; } .mock-wrap { padding-right: 0; } .mock-seal { width: 80px; height: 80px; bottom: 44px; } .mock-toast { left: 8px; right: 70px; } }

/* Search zone with soft blue glow */
.search-zone { position: relative; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); isolation: isolate; }
.glow { position: absolute; inset: -60px -10vw 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 55%, transparent 100%);
  background:
    radial-gradient(42% 60% at 16% 55%, rgba(37,99,235,.55), transparent 70%),
    radial-gradient(38% 55% at 52% 60%, rgba(96,165,250,.45), transparent 72%),
    radial-gradient(30% 50% at 88% 55%, rgba(253,186,116,.38), transparent 70%);
  filter: blur(24px); opacity: .9; }
:root[data-theme="dark"] .glow, :root.a-contrast .glow { opacity: .35; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .glow { opacity: .35; } }
.searchbar { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, .9fr) auto; gap: 6px; align-items: stretch; background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-radius: 22px; padding: 8px; box-shadow: 0 1px 2px rgba(9,9,11,.04), 0 24px 60px -24px rgba(29,78,216,.45); }
.sb-field { position: relative; display: grid; align-content: center; gap: 1px; padding: 6px 14px; border-radius: 14px; min-width: 0; transition: background-color .2s var(--ease); }
.sb-field:hover { background: var(--sunk); }
.sb-field:focus-within { background: var(--sunk); box-shadow: inset 0 0 0 2px var(--blue); }
.sb-main { grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 10px; }
.sb-main svg { width: 20px; height: 20px; color: var(--muted); }
.sb-main input { border: 0; background: transparent; font-size: 1.05rem; outline: none; min-height: 48px; width: 100%; min-width: 0; }
.sb-select { background: var(--sunk); }
.sb-select label { font-size: .7rem; font-weight: 600; color: var(--muted); }
.sb-select select { appearance: none; border: 0; background: transparent; font-size: .95rem; padding: 0 18px 2px 0; outline: none; cursor: pointer; width: 100%; min-width: 0; text-overflow: ellipsis; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 7px) 55%, calc(100% - 2px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.sb-select select option { background: var(--surface); color: var(--ink); }
.sb-go { min-height: 60px; border-radius: 14px; padding: 0 26px; font-size: 1rem; }
.searchbar .suggest { left: 0; right: 0; top: calc(100% + 12px); }
@media (max-width: 1020px) { .searchbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .sb-main { grid-column: 1 / -1; } .sb-go { grid-column: 1 / -1; } }
@media (max-width: 480px) { .searchbar { grid-template-columns: minmax(0, 1fr); } }
.popular { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.popular .label { font-size: .88rem; font-weight: 600; color: var(--ink-2); margin-right: 4px; }
.chip-btn { border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); border-radius: 999px; padding: 7px 14px; font-size: .86rem; font-weight: 500; cursor: pointer; color: var(--ink); transition: border-color .2s var(--ease), transform .2s var(--ease); backdrop-filter: blur(6px); }
.chip-btn:hover { border-color: var(--blue); color: var(--blue-ink); transform: translateY(-1px); }
.search-zone .hint { margin-top: 10px; }
.verdict-panel { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); max-width: 880px; }

/* SEO page parts */
.answer strong { color: var(--ink); font-weight: 600; }
.lede.answer { max-width: 70ch; }
.link-list { list-style: none; display: grid; gap: 8px; }
.link-list a { text-decoration: none; font-weight: 500; }
.link-list a:hover { text-decoration: underline; }
.facts-table th { background: transparent; text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--muted); font-weight: 400; width: 42%; position: static; }
.facts-table td { font-weight: 600; overflow-wrap: anywhere; }
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.state-grid a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--surface); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.state-grid a:hover { border-color: var(--blue); transform: translateY(-1px); color: var(--ink); }
.state-grid b { color: var(--muted); font-weight: 500; font-size: .86rem; }
.mock-seal { bottom: -4px; right: -4px; width: 96px; height: 96px; }
.facts-table td a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

#college-verdict { min-height: 420px; }

/* ---------- Phone UX pass ---------- */
@media (max-width: 640px) {
  .topline { display: none; }
  /* Search first, example report after it */
  .hero { display: flex; flex-direction: column; }
  .hero > .hero-grid { display: contents; }
  .hero-copy { order: 1; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .hero > .search-zone { order: 2; padding-top: 28px; padding-bottom: 36px; }
  .mock-wrap { order: 3; margin: 0 max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-ctas .btn-ghost { display: none; }
  /* Tables become stacked cards */
  .rtable thead { display: none; }
  .rtable, .rtable tbody, .rtable tr, .rtable td { display: block; width: 100%; }
  .rtable tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .rtable tr:last-child { border-bottom: 0; }
  .rtable td { border: 0; padding: 2px 0; }
  .rtable td:first-child { font-weight: 600; font-size: .98rem; padding-bottom: 4px; }
  .rtable td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 400; }
  .rtable td.n { display: none; }
  .table-wrap { overflow-x: visible; }
}
/* Filters fold away on phones */
.filters-fold > summary { display: none; }
@media (max-width: 900px) {
  .filters-fold { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
  .filters-fold > summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; cursor: pointer; font-weight: 600; list-style: none; }
  .filters-fold > summary::-webkit-details-marker { display: none; }
  .filters-fold > summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--muted); }
  .filters-fold[open] > summary::after { content: "–"; }
  .filters-fold .filters { padding: 0 12px 12px; grid-template-columns: minmax(0, 1fr); }
  .filters-fold .filters .field { border-color: var(--line); }
}
.dir-search { margin-bottom: 10px; }

/* PwD block and badge on university pages */
.pwd-row { display: grid; gap: 6px; }
.badge-code { font-family: var(--mono); font-size: .78rem; background: var(--sunk); border-radius: 10px; padding: 10px 12px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; color: var(--ink-2); }
.vc-badge-demo { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--lav-line); border-radius: 999px; background: var(--lav); color: var(--blue-ink); font-weight: 600; font-size: .86rem; text-decoration: none; }
.phone-link { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 40; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; font-size: .86rem; padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-lg); }
.phone-link:hover { color: var(--bg); background: var(--ink-2); }
@media (max-width: 640px) { .phone-link { display: none; } }
.cta-eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--on-blue) 16%, transparent); }
.cta .h2 { max-width: 20ch; }
.disclaimer .disc-title { font-family: var(--font); font-size: .9rem; font-weight: 600; color: var(--ink); }
.disclaimer em { font-style: normal; }

/* PwD Hub v2 */
.page-sub { line-height: 1.3; font-family: var(--display); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 600; letter-spacing: -0.015em; color: var(--ink-2); }
.fineprint { font-size: .84rem; font-style: italic; color: var(--muted); max-width: 72ch; margin-top: 16px; }
.track.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.track.doc p { margin: 0; }
.doc-head { display: grid; gap: 2px; }
.doc-sub { font-size: .86rem; font-weight: 600; color: var(--muted); }
.doc-meta { display: grid; gap: 4px; font-size: .88rem; color: var(--muted); }
.doc-check { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: var(--sunk); font-weight: 600; cursor: pointer; }
.doc-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--ok); flex: none; }
.track.done .doc-check { background: color-mix(in srgb, var(--ok-bg) 60%, var(--surface)); }
.track.done label { text-decoration: none; }
.pwd-top { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); align-items: start; }
.pwd-intro { display: grid; gap: 16px; align-content: start; min-width: 0; }
.pwd-intro .display { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem); }
.pwd-matcher-head { display: grid; gap: 14px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.pwd-top .matcher { margin-top: clamp(0px, 4vw, 44px); }
@media (max-width: 900px) { .pwd-top .matcher { position: static; margin-top: 0; } }
.rights-head { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.rights-title { grid-column: 1 / span 2; display: grid; gap: 14px; }
.rights-head .lede { grid-column: 3; font-size: 1rem; }
@media (max-width: 900px) { .rights-head { grid-template-columns: minmax(0, 1fr); } .rights-title, .rights-head .lede { grid-column: 1; } }

/* Forms, legal pages, paid tools */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: start; font-size: .86rem; color: var(--ink-2); padding: 4px 2px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.form-msg.ok { color: var(--ok); font-weight: 600; }
.field textarea { border: 0; background: transparent; padding: 2px 0 3px; font-size: 1rem; width: 100%; outline: none; resize: vertical; min-height: 110px; }
.legal-body { max-width: 72ch; padding-bottom: 24px; }
.legal-body h2 { font-size: 1.15rem; margin-top: 18px; letter-spacing: -0.01em; }
.legal-body ul { padding-left: 1.2em; display: grid; gap: 8px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.chip-paid { background: #fef3c7; color: #92400e; }
:root[data-theme="dark"] .chip-paid { background: #3a2a06; color: #fcd34d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip-paid { background: #3a2a06; color: #fcd34d; } }
.card.premium { padding: 28px; }
.touch { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--r-card); background: color-mix(in srgb, var(--lav) 55%, var(--surface)); }
.touch .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.touch p { max-width: 60ch; margin-top: 6px; }
.compare-bar { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .9fr) auto; margin-bottom: 8px; }
@media (max-width: 1020px) { .compare-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 480px) { .compare-bar { grid-template-columns: minmax(0, 1fr); } }
.cmp-out { margin-top: 16px; position: relative; }
.cmp-table th[scope="row"] { background: transparent; text-transform: none; letter-spacing: 0; font-size: .88rem; color: var(--muted); font-weight: 500; width: 26%; position: static; }
.cmp-table thead th { font-size: .8rem; text-transform: none; letter-spacing: 0; color: var(--ink); }
.cmp-table td { width: 37%; }
.cmp-table tr.locked td { filter: blur(5px); user-select: none; pointer-events: none; }
.unlock-box { margin-top: -120px; position: relative; z-index: 2; display: flex; justify-content: center; padding: 0 16px 24px; }
.unlock-inner { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-lg); padding: 22px; max-width: 460px; width: 100%; display: grid; gap: 12px; }
.unlock-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.unlock-form { display: grid; gap: 10px; }
.topics { border: 0; padding: 0; margin: 4px 0; display: grid; gap: 4px; }
.topics legend { font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.state-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0 12px; max-height: 220px; overflow: auto; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r); }
.state-checks .check-row { padding: 4px 2px; font-size: .86rem; }
.foot-base a { color: var(--muted); }

/* ---------- Content pass, Oct 2026 ---------- */
.nav a[aria-current="page"] { background: color-mix(in srgb, var(--blue) 10%, var(--bg)); color: var(--blue-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 30%, transparent); font-weight: 600; }
.hero-q { color: var(--ink); font-weight: 500; }
.hero-copy .lede + .lede { margin-top: 10px; }

.foot-intro { display: grid; gap: 12px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.foot-intro p { color: var(--muted); max-width: none; font-size: 1rem; }
.disclaimer p { max-width: none; }
.foot-base { flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }

.touch { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; padding: clamp(24px, 4vw, 44px);
  border: 1px solid color-mix(in srgb, var(--blue) 28%, var(--line)); background: color-mix(in srgb, var(--blue) 6%, var(--surface)); }
.touch .h2 { margin-top: 8px; }
.touch-head p { max-width: 60ch; margin-top: 12px; color: var(--ink-2); }
.touch-side { display: grid; gap: 10px; }
.touch-opt { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease); }
.touch-opt:hover { border-color: var(--blue); }
.touch-opt strong { color: var(--blue-ink); }
.touch-side .btn { justify-self: start; }
@media (max-width: 820px) { .touch { grid-template-columns: minmax(0, 1fr); } }

.url-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: center; margin-top: 40px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.url-band .h3 { margin: 8px 0 6px; }
.url-band .urlbox { border: 1px solid var(--line); }
@media (max-width: 820px) { .url-band { grid-template-columns: minmax(0, 1fr); } }
.foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: auto; } }

/* Back to top */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 40; width: 48px; height: 48px; border-radius: 999px;
  display: grid; place-items: center; background: var(--surface); color: var(--blue-ink); border: 1px solid var(--line); box-shadow: var(--shadow-lg); cursor: pointer; transition: transform .2s var(--ease), border-color .2s var(--ease); }
.to-top svg { width: 22px; height: 22px; }
.to-top:hover { border-color: var(--blue); transform: translateY(-2px); }
.to-top:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.phone-link ~ .to-top, .to-top:has(~ .phone-link) { bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 56px); }
@media (max-width: 640px) { .to-top:has(~ .phone-link) { bottom: max(16px, env(safe-area-inset-bottom, 0px)); } }

/* ---------- Brand wash, alignment, copy guard and screenshot stamp ---------- */
:root {
  --wash-a: #eaf1ff; --wash-b: #fff1e6;
  --wash: linear-gradient(115deg, var(--wash-a) 0%, var(--surface) 46%, var(--surface) 58%, var(--wash-b) 100%);
  --wash-soft: linear-gradient(115deg, color-mix(in srgb, var(--wash-a) 55%, var(--surface)) 0%, var(--surface) 50%, color-mix(in srgb, var(--wash-b) 55%, var(--surface)) 100%);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --wash-a: #10203d; --wash-b: #2a1b12; } }
:root[data-theme="dark"] { --wash-a: #10203d; --wash-b: #2a1b12; }

/* Filled information boxes get the soft blue-to-peach wash. */
.right, .panel, .facts, .card, .track, .verdict-panel, .callout:not(.bad), .stats, .rules, .unlock-inner, .touch-opt, .app { background: var(--wash-soft); }
.right, .panel, .verdict-panel, .stats, .touch { background: var(--wash); }
.hero { background: linear-gradient(180deg, transparent 0%, transparent 60%, color-mix(in srgb, var(--wash-a) 45%, transparent) 100%); }
.list > * , .facts .fact { background: transparent; }

/* Rights cards: equal height, quote and link sit on the same line across cards. */
.rights { align-items: stretch; }
.right { display: flex; flex-direction: column; gap: 12px; }
.right .say { margin-top: auto; }
.right .law, .right .link-arrow { align-self: flex-start; }

/* Directory and explorer: results bar spans the top, so the search box and first row start level. */
.wrap > .results-bar { margin-bottom: 12px; }

/* Text cannot be selected or copied, except inside form fields. */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable] { -webkit-user-select: text; user-select: text; }

/* Every information box says where it came from, so screenshots carry the source. */
.right::after, .panel::after, .facts::after, .scheme::after, .card::after, .track::after, .callout::after {
  content: "verifycampus.com"; align-self: flex-end; justify-self: end; font: 600 .68rem/1 var(--font); letter-spacing: .04em; color: var(--muted); opacity: .75; pointer-events: none;
}
.facts::after { padding: 8px 14px 10px; }
.vc-stamp { margin: 6px 0 0; font-size: .72rem; font-weight: 600; letter-spacing: .03em; color: var(--muted); text-align: right; }
@media print {
  body::before { content: "Printed from verifycampus.com · check the live page for current status"; display: block; padding: 8px 0; font: 600 12px var(--font); color: #444; border-bottom: 1px solid #ccc; }
}
.legal-body h3 { font-size: 1rem; margin-top: 12px; }

/* Language picker: same pill as the icon buttons beside it. */
.site-head .lang { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; }
.site-head .lang:hover { border-color: var(--ink); }
.site-head .lang:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.site-head .lang select { appearance: none; -webkit-appearance: none; width: auto; min-width: 0; height: 40px; border: 0; padding: 0 22px 0 0; margin-right: -20px; background: transparent; color: inherit; font: 600 .86rem/1 var(--font); cursor: pointer; }
.site-head .lang select:focus { outline: none; }
.site-head .lang svg { width: 17px; height: 17px; flex: none; pointer-events: none; }
.site-head .lang .chev { width: 14px; height: 14px; color: var(--muted); }

/* Footer: brand blue with white text. */
:root { --foot-bg: #1d4ed8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --foot-bg: #0f2c74; } }
:root[data-theme="dark"] { --foot-bg: #0f2c74; }
.site-foot { background: var(--foot-bg); border-top: 0; color: #fff;
  --ink: #ffffff; --ink-2: rgba(255,255,255,.94); --muted: rgba(255,255,255,.82); --line: rgba(255,255,255,.24); --blue: #ffffff; --on-blue: var(--foot-bg); }
.site-foot a { color: #fff; }
.site-foot .foot-grid a:hover, .site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot :focus-visible { outline-color: #fff; }

/* Header: more menu items, so collapse earlier; Pricing stands out; Sign in pill. */
@media (max-width: 1240px) and (min-width: 1081px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-left, 0px)) 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .menu-btn { display: inline-flex; }
  .head-actions { margin-left: auto; }
}
.nav a[href$="pricing.html"] { color: var(--blue-ink); font-weight: 600; }
.acct-btn { text-decoration: none; padding: 0 14px 0 11px; }
.acct-btn.on { background: var(--blue); color: var(--on-blue); border-color: var(--blue); }
@media (max-width: 640px) { .acct-btn .acct-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .acct-btn { padding: 0 10px; } }

/* ---------- Pricing ---------- */
.pricing-head .display em { font-style: normal; color: var(--blue); }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 980px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }
.price-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); min-width: 0; }
.price-card.hl { border: 2px solid var(--blue); box-shadow: 0 24px 60px -28px color-mix(in srgb, var(--blue) 55%, transparent); background: var(--wash); }
.price-flag { position: absolute; top: -13px; left: 24px; background: var(--blue); color: var(--on-blue); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .02em; }
.price-head { display: grid; gap: 8px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.price b { font-family: var(--display); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price span { color: var(--muted); font-weight: 500; }
.price-cta { justify-content: center; }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; }
.price-list .ic { flex: none; width: 22px; height: 22px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin-top: 1px; }
.price-list .ic svg { width: 13px; height: 13px; }
.plan-shot { margin: auto 0 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.plan-shot figcaption { font-size: .74rem; color: var(--muted); padding: 8px 12px 10px; border-top: 1px solid var(--line); }
.shot-bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; background: var(--sunk); border-bottom: 1px solid var(--line); font-size: .74rem; }
.shot-bar span { width: 8px; height: 8px; border-radius: 999px; background: var(--line-2); }
.shot-bar b { margin-left: 6px; font-weight: 600; color: var(--ink-2); }
.shot-table { width: 100%; border-collapse: collapse; font-size: .76rem; }
.shot-table th, .shot-table td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.shot-table thead th { font-weight: 600; color: var(--muted); font-size: .7rem; }
.shot-table tbody th { font-weight: 500; color: var(--muted); }
.shot-table tr:last-child > * { border-bottom: 0; }
.shot-table .chip { font-size: .68rem; padding: 2px 8px; }
.shot-chat { padding: 12px; display: grid; gap: 8px; background: color-mix(in srgb, var(--ok-bg) 45%, var(--surface)); }
.bubble { margin: 0; background: var(--surface); border-radius: 4px 14px 14px 14px; padding: 9px 12px; font-size: .78rem; line-height: 1.45; box-shadow: var(--shadow-sm); max-width: 92%; }
.bubble b { display: block; font-size: .8rem; }
.bubble.warn b { color: var(--bad); }
.bubble u { color: var(--blue-ink); text-decoration: none; font-weight: 600; }
.shot-time { font-size: .68rem; color: var(--muted); justify-self: end; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { display: flex; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--wash-soft); }
.steps li p { margin: 4px 0 0; }
.step-n { flex: none; width: 30px; height: 30px; border-radius: 999px; background: var(--blue); color: var(--on-blue); display: grid; place-items: center; font-weight: 700; }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 14px 18px; }
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { margin: 10px 0 0; color: var(--ink-2); }
.alerts-cta .price b { font-size: 2.2rem; }

/* ---------- My account ---------- */
.acct-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .acct-auth { grid-template-columns: minmax(0, 1fr); } }
.auth-card .tabs { display: flex; gap: 4px; padding: 6px; background: var(--sunk); border-bottom: 1px solid var(--line); }
.auth-card .tabs button { flex: 1; height: 40px; border: 0; border-radius: 10px; background: transparent; font: 600 .92rem var(--font); color: var(--muted); cursor: pointer; }
.auth-card .tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.acct-form { display: grid; gap: 14px; }
.plan-pick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.plan-pick legend { font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.plan-pick label { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; background: var(--surface); }
.plan-pick label:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 16%, transparent); }
.plan-pick span { display: grid; gap: 2px; font-size: .86rem; } .plan-pick small { color: var(--muted); }
@media (max-width: 520px) { .plan-pick { grid-template-columns: minmax(0, 1fr); } }
.demo-note { margin-bottom: 16px; }
.acct-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.acct-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
@media (max-width: 760px) { .acct-plans { grid-template-columns: minmax(0, 1fr); } }
.acct-plan { display: grid; gap: 12px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--wash-soft); }
.acct-plan.active { border-color: var(--ok-line); }
.acct-plan.pending { border-color: var(--warn-line); }
.acct-plan p { margin: 0; color: var(--ink-2); }
.acct-plan .btn { justify-self: start; }
.ap-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ap-price { color: var(--muted); font-size: .88rem; margin-right: auto; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .acct-grid { grid-template-columns: minmax(0, 1fr); } }
.checks-box { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin: 0; display: grid; gap: 6px; }
.checks-box legend, .checks-box summary { font-weight: 600; font-size: .9rem; padding: 0 4px; cursor: pointer; }
details.checks-box .state-checks { margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 12px; max-height: 260px; overflow: auto; }
.field textarea { width: 100%; border: 0; background: transparent; font: inherit; resize: vertical; color: inherit; }
.acct-history { list-style: none; margin: 0; padding: 0; display: grid; }
.acct-history li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.acct-history li:first-child { border-top: 0; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }
.post-card { text-decoration: none; color: inherit; }
.post-card p { margin: 0; color: var(--ink-2); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .post-layout { grid-template-columns: minmax(0, 1fr); } }
.post-body { max-width: 70ch; font-size: 1.05rem; }
.post-body h2 { font-size: 1.35rem; margin-top: 1.6em; }
.post-body ol, .post-body ul { padding-left: 1.3em; display: grid; gap: 8px; }
.post-layout aside { position: sticky; top: 96px; }
.post-more { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (max-width: 560px) {
  .site-head .brand .tld { display: none; }
  .head-actions { gap: 6px; }
  .site-head .lang { padding: 0 8px; }
  .site-head .lang .globe { display: none; }
}
/* Scholarship matcher stays plain white (no wash), on the home page and in the PwD Hub. */
.matcher, .app:has(#match-form), .app#match-form, #match-form, #match-out .scheme, .match-out .scheme { background: var(--surface); }
.phone-link.admin-link { right: auto; left: max(16px, env(safe-area-inset-left, 0px)); background: var(--blue); color: var(--on-blue); }
.linkish { background: none; border: 0; padding: 0; color: var(--blue-ink); font: inherit; text-decoration: underline; cursor: pointer; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.feat { text-decoration: none; color: inherit; }
.feat p { margin: 0; color: var(--ink-2); }
.feat-group { padding-block: clamp(28px, 4vw, 48px); }

/* Blog guides */
.answer-first { font-size: 1.12rem; }
.callout-note { border: 1px solid var(--info-line); background: var(--info-bg); border-radius: var(--r); padding: 14px 16px; color: var(--ink); }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; color: var(--ok); font-weight: 700; }
.related { border-top: 1px solid var(--line); padding-top: 14px; color: var(--ink-2); }
.post-card.pinned { margin-bottom: 18px; border: 2px solid var(--blue); background: var(--wash); padding: 28px; }
.post-card.pinned .chip { justify-self: start; }
.state-pick { margin-bottom: 16px; max-width: 520px; }
.state-answers { display: grid; gap: 16px; max-width: 860px; }
.state-answer p { margin: 0; }
.state-facts { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.state-answer .btn { justify-self: start; }

/* Pricing: plan previews in their own section */
.plan-previews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .plan-previews { grid-template-columns: minmax(0, 1fr); } }
.plan-preview { display: grid; gap: 12px; align-content: start; }
.plan-preview .plan-shot { margin: 0; }
.plan-preview .shot-table { font-size: .86rem; }
.plan-preview .bubble { font-size: .86rem; }
.price-term { font-size: 1rem; color: var(--muted); font-weight: 600; }
/* Pricing previews: both boxes the same height, captions and links on one line. */
.plan-previews { align-items: stretch; }
.plan-preview { display: flex; flex-direction: column; gap: 12px; }
.plan-preview .plan-shot { flex: 1; display: flex; flex-direction: column; }
.plan-preview .shot-table, .plan-preview .shot-chat { flex: 1; }
.plan-preview .shot-table { height: 100%; }
.plan-preview .shot-table tbody tr { height: 20%; }
.plan-preview figcaption { margin-top: auto; }

/* Open Sans is wider and rounder than the old display face: looser tracking and line height so headings breathe. */
.display { letter-spacing: -0.025em; line-height: 1.08; font-weight: 700; }
.h2 { letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }
.h3 { letter-spacing: -0.01em; }
.hero-facts b, .stat .n, .card .big, .right .big, .price b { letter-spacing: -0.02em; }
:root[lang="kn"] .display, :root[lang="hi"] .display, :root[lang="kn"] .h2, :root[lang="hi"] .h2 { letter-spacing: 0; line-height: 1.25; }

/* ---------- Type scale and spacing system (one set of sizes everywhere) ----------
   Page title .display · section title .h2 · box title (panel, card, plan, scheme, rights card, state answer) · body · small · eyebrow.
   Boxes share one padding and one gap; grids of boxes share one gutter. */
:root { --box-pad: clamp(20px, 2.2vw, 26px); --box-gap: 14px; --gutter: 16px; --t-box: 1.2rem; }
.display { font-size: clamp(2.3rem, 1.6rem + 2.8vw, 3.8rem); }
.h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.h3, .panel > h2, .card h3, .card .h3, .acct-plan h3, .price-head h2, .scheme h3, .right h3, .state-answer h2, .track h3, .feat h3, .post-card h2.h3, .unlock-inner h2, .alerts-cta h2 {
  font-size: var(--t-box); line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
.state-answer h3 { font-size: 1.05rem; font-weight: 700; }
.post-body h2 { font-size: 1.3rem; font-weight: 700; }
.panel, .card, .acct-plan, .right, .track, .price-card, .callout, .unlock-inner, .state-answer { padding: var(--box-pad); }
.panel, .card, .acct-plan, .callout { gap: var(--box-gap); }
.stack { gap: var(--gutter); }
.grid2, .feat-grid, .post-grid, .price-grid, .acct-plans, .acct-grid, .rights, .plan-previews { gap: var(--gutter); }
.panel p, .card p, .acct-plan p { margin: 0; }

/* My account: the plan cards and the settings boxes sit on the same two columns. */
.acct-plans, .acct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acct-plans { margin-bottom: var(--gutter); }
.acct-top { margin-bottom: 20px; }
@media (max-width: 900px) { .acct-plans, .acct-grid { grid-template-columns: minmax(0, 1fr); } }
.ap-head { gap: 8px 12px; }
.ap-head .chip { margin-left: auto; }
.ap-price { margin-right: 0; }

/* Status colours: green = approved or active, amber = check or pending, red = fake or withdrawn, blue = information and links, grey = neutral. */
.acct-plan.expired, .acct-plan.cancelled, .acct-plan.none { border-color: var(--line); }

/* Box body text: one size and one colour for supporting text inside boxes; tables and lists keep their own. */
.card p, .right p, .track p, .scheme .who, .feat p, .post-card p, .acct-plan p, .state-answer p { font-size: .95rem; line-height: 1.6; }
.card p, .right p, .track p, .scheme .who, .feat p, .post-card p { color: var(--ink-2); }
.page-head { gap: 14px; }
.page-head .lede { margin-top: 2px; }
.section .sec-head { margin-bottom: clamp(24px, 3vw, 40px); }

/* Header: logo and account button never wrap; with Contact in the menu, switch to the menu button a little earlier. */
.site-head .brand { white-space: nowrap; flex: none; }
.acct-btn, .acct-btn .acct-label { white-space: nowrap; }
@media (max-width: 1360px) and (min-width: 1081px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-left, 0px)) 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .menu-btn { display: inline-flex; }
  .head-actions { margin-left: auto; }
}

@media (max-width: 420px) {
  .head-actions { gap: 4px; }
  .icon-btn { height: 38px; min-width: 38px; padding: 0 8px; }
  .site-head .lang { height: 38px; padding: 0 6px; }
  .site-head .lang select { font-size: .8rem; }
  .site-head .brand { gap: 8px; font-size: 1rem; }
  .site-head .brand svg { width: 26px; height: 26px; }
}

/* Footer credit line */
.foot-credit { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.foot-credit a { font-weight: 600; }
