/* ERG Learning and Assessment Center
   Layout: Apple-style quiet canvas. Thin translucent global nav, centered statement hero,
   then full-bleed alternating bands holding a 980px column. Tiles carry the one bold device:
   the exam code set huge in mono, the way a product name sits on a product tile. */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --fg: #1d1d1f;
  --fg-2: #6e6e73;
  --line: #d2d2d7;
  --accent: #0066cc;
  --accent-strong: #0071e3;
  --on-accent: #ffffff;
  --tile-ink: #0b0d12;
  --tile-ink-fg: #f5f5f7;
  --tile-ink-2: #a1a1a6;
  --chip: #ebebf0;
  --nav-bg: rgba(250, 250, 252, 0.82);
  --ok: #1a7f37;
  --warn-bg: #fff4e5;
  --warn-fg: #8a4b00;
  --shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --col: 980px;
  --r: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --bg-alt: #121214; --fg: #f5f5f7; --fg-2: #a1a1a6; --line: #38383d;
    --accent: #2997ff; --accent-strong: #0a84ff; --on-accent: #ffffff;
    --tile-ink: #1c1c1f; --tile-ink-fg: #f5f5f7; --tile-ink-2: #a1a1a6; --chip: #26262a;
    --nav-bg: rgba(18, 18, 20, 0.78); --ok: #3fb950; --warn-bg: #2b1f0e; --warn-fg: #ffb85c;
    --shadow: 0 2px 6px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --bg-alt: #121214; --fg: #f5f5f7; --fg-2: #a1a1a6; --line: #38383d;
  --accent: #2997ff; --accent-strong: #0a84ff; --on-accent: #ffffff;
  --tile-ink: #1c1c1f; --tile-ink-fg: #f5f5f7; --tile-ink-2: #a1a1a6; --chip: #26262a;
  --nav-bg: rgba(18, 18, 20, 0.78); --ok: #3fb950; --warn-bg: #2b1f0e; --warn-fg: #ffb85c;
  --shadow: 0 2px 6px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.47 var(--font); letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--nav-bg);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; text-wrap: balance; letter-spacing: -0.03em; }
p { margin: 0; }
.mono { font-family: var(--mono); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.muted { color: var(--fg-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: calc(var(--col) + 32px); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: 88px; }
.band.alt { background: var(--bg-alt); }
.band.tight { padding-block: 56px; }

/* preview strip */
.preview-strip { background: var(--warn-bg); color: var(--warn-fg); font-size: 13px; }
.preview-strip .wrap { padding-block: 8px; text-align: center; }

/* ---------- global nav ---------- */
.gnav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.gnav .wrap { display: flex; align-items: center; gap: 24px; height: 52px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--fg); color: var(--bg); font: 700 12px/1 var(--font-display); letter-spacing: 0.02em;
}
.brand-logo { height: 32px; width: auto; display: block; }
.brand-name { font-size: 12px; line-height: 1.15; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; }
.brand small { display: block; font-size: 11px; font-weight: 400; color: var(--fg-2); letter-spacing: 0; }
.gnav-links { display: flex; gap: 22px; margin-left: auto; font-size: 13px; }
.gnav-links a { color: var(--fg); opacity: .85; }
.gnav-links a:hover, .gnav-links a[aria-current="page"] { opacity: 1; text-decoration: none; color: var(--accent); }
.gnav-cta { font-size: 13px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--fg); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; }
.menu-btn svg { display: block; margin: auto; }
@media (max-width: 860px) {
  .gnav-links, .gnav-cta { display: none; }
  .menu-btn { display: block; }
  .gnav.open .gnav-links {
    display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 52px;
    background: var(--bg); border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 600;
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px));
  }
  .gnav.open .gnav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); opacity: 1; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 22px; border-radius: 980px; border: 1px solid transparent;
  background: var(--accent-strong); color: var(--on-accent); font: 400 17px/1 var(--font); letter-spacing: -0.01em;
  cursor: pointer; transition: background .2s, transform .1s;
}
.btn:hover { background: var(--accent); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn.ghost:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.btn.sm { min-height: 34px; padding: 0 16px; font-size: 14px; }
.link-arrow { font-size: 17px; }
.link-arrow::after { content: " ›"; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.actions.center { justify-content: center; }

/* ---------- hero ---------- */
.hero { text-align: center; padding-block: 72px 64px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--fg-2); letter-spacing: 0.01em; }
.hero .eyebrow { margin-bottom: 14px; }
.hero h1 { font-size: clamp(40px, 7vw, 80px); line-height: 1.04; font-weight: 700; letter-spacing: -0.045em; }
.hero .lede { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.33; color: var(--fg-2); max-width: 680px; margin: 18px auto 30px; letter-spacing: -0.02em; }
.hero .tagline { margin-top: 36px; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-2); }
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 980px;
  background: var(--bg-alt); font-size: 13px; color: var(--fg);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r); background: var(--bg-alt);
  padding: 44px 32px 0; min-height: 440px; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.band.alt .tile { background: var(--bg); }
.tile.ink { background: var(--tile-ink); color: var(--tile-ink-fg); }
.tile.ink .muted, .tile.ink .eyebrow { color: var(--tile-ink-2); }
.tile.wide { grid-column: 1 / -1; min-height: 380px; }
.tile .eyebrow { margin-bottom: 6px; }
.tile h3 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; font-weight: 700; }
.tile p.muted { font-size: 19px; line-height: 1.35; margin-top: 8px; max-width: 420px; }
.tile .actions { justify-content: center; margin-top: 18px; }
.tile .big-code {
  margin-top: auto; padding-bottom: 28px; font-family: var(--mono); font-weight: 300;
  font-size: clamp(44px, 8vw, 88px); line-height: 1; letter-spacing: -0.04em; white-space: nowrap;
  background: linear-gradient(180deg, currentColor 0%, transparent 115%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tile.ink .big-code { color: var(--tile-ink-fg); }
.tile:not(.ink) .big-code { color: var(--fg); }
@media (max-width: 720px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 380px; padding-inline: 20px; }
}

/* ---------- section heads ---------- */
.section-head { margin-bottom: 40px; max-width: 720px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; font-weight: 700; }
.section-head p { font-size: 21px; line-height: 1.38; color: var(--fg-2); margin-top: 12px; letter-spacing: -0.02em; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- pathways ---------- */
.paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.path { background: var(--bg); border-radius: var(--r); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.band:not(.alt) .path { background: var(--bg-alt); }
.path h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.path ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.path li { position: relative; padding: 10px 0 10px 22px; font-size: 15px; border-top: 1px solid var(--line); }
.path li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--accent); }
.path li:last-child::before { background: var(--accent); }
.path li a { color: var(--fg); }
.path li a:hover { color: var(--accent); }
@media (max-width: 900px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .paths { grid-template-columns: minmax(0, 1fr); } }

/* ---------- feature list ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.feature h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.feature p { color: var(--fg-2); font-size: 17px; }
@media (max-width: 640px) { .features { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- course cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 28px; }
.chip-btn {
  border: 0; background: var(--chip); color: var(--fg); font: 14px/1 var(--font); padding: 10px 16px; border-radius: 980px; cursor: pointer;
}
.chip-btn[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.search {
  margin-left: auto; min-width: 0; flex: 0 1 260px; height: 38px; padding: 0 14px; border-radius: 980px;
  border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: 15px var(--font);
}
@media (max-width: 640px) { .search { margin-left: 0; flex-basis: 100%; } }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card {
  background: var(--bg-alt); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px;
  color: var(--fg); transition: transform .25s ease, box-shadow .25s ease; min-width: 0;
}
.band.alt .card { background: var(--bg); }
a.card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vendor { font-size: 12px; font-weight: 600; color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.06em; }
.code-chip { font-family: var(--mono); font-size: 12px; padding: 4px 8px; border-radius: 6px; background: var(--chip); color: var(--fg); letter-spacing: 0; white-space: nowrap; }
.band.alt .card .code-chip, .card .code-chip { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.card h3 { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.card p { font-size: 15px; color: var(--fg-2); }
.card .meta { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; }
.price { font-weight: 600; font-variant-numeric: tabular-nums; }
.new-pill { display: inline-block; font-size: 11px; font-weight: 600; color: var(--warn-fg); background: var(--warn-bg); padding: 3px 8px; border-radius: 980px; letter-spacing: 0.02em; }
.formerly { font-size: 13px; color: var(--fg-2); }
.empty { color: var(--fg-2); padding: 24px 0; }

/* ---------- course page ---------- */
.crumbs { font-size: 13px; color: var(--fg-2); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--fg-2); }
.course-hero { padding-block: 40px 64px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.course-hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; }
.course-hero .lede { font-size: 21px; line-height: 1.38; color: var(--fg-2); margin-top: 16px; letter-spacing: -0.02em; }
.course-hero .ver { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.buybox { background: var(--bg-alt); border-radius: var(--r); padding: 28px; display: grid; gap: 16px; position: sticky; top: calc(72px + env(safe-area-inset-top, 0px)); }
.buybox .price { font-size: 32px; letter-spacing: -0.03em; }
.buybox .small { font-size: 13px; color: var(--fg-2); }
.buybox .btn { width: 100%; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 22px 20px 22px 0; min-width: 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact dt { font-size: 12px; color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.fact dd { margin: 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .course-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .buybox { position: static; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
@media (max-width: 760px) { .two-col { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.two-col h2 { font-size: 28px; font-weight: 700; margin-bottom: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 12px 0 12px 30px; border-top: 1px solid var(--line); position: relative; font-size: 17px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 16px; height: 16px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.note { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: var(--warn-bg); color: var(--warn-fg); font-size: 15px; }

/* ---------- tables ---------- */
.table-wrap { position: relative; overflow-x: auto; border-radius: var(--r); background: var(--bg-alt); }
.band.alt .table-wrap { background: var(--bg); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-2); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.seats-low { color: var(--warn-fg); font-weight: 600; }
.month-h { font-size: 21px; font-weight: 600; margin: 36px 0 14px; letter-spacing: -0.02em; }
.month-h:first-child { margin-top: 0; }

/* ---------- store ---------- */
.store-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.store-section + .store-section { margin-top: 72px; }
.store-section h2 { font-size: 32px; font-weight: 700; margin-bottom: 6px; }
.store-section > p { color: var(--fg-2); margin-bottom: 24px; max-width: 640px; }
.product .btn { margin-top: 6px; align-self: flex-start; }

/* ---------- steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: var(--bg-alt); border-radius: var(--r); padding: 24px; }
.steps li::before { content: counter(s); display: block; font: 300 44px/1 var(--mono); color: var(--accent); margin-bottom: 14px; }
.steps h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.02em; }
.steps p { font-size: 15px; color: var(--fg-2); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.info-list { display: grid; gap: 0; margin: 0; }
.info-list > div { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.info-list dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-2); }
.info-list dd { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.copy { border: 0; background: var(--chip); color: var(--fg); font: 12px var(--font); padding: 5px 10px; border-radius: 980px; cursor: pointer; }
.hours { width: 100%; min-width: 0; font-size: 15px; }
.hours td { padding: 6px 0; border: 0; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 520px) { .form .row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; color: var(--fg-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--fg); font: 17px var(--font);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.form-msg { font-size: 15px; }
.form-msg.ok { color: var(--ok); }

/* ---------- dialog ---------- */
dialog.sheet {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); border: 0; border-radius: 22px; padding: 0;
  background: var(--bg); color: var(--fg); box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
dialog.sheet::backdrop { background: rgba(0, 0, 0, .45); backdrop-filter: blur(6px); }
.sheet-inner { padding: 28px; display: grid; gap: 18px; }
.sheet-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.sheet-head h2 { font-size: 26px; font-weight: 700; }
.sheet-close { border: 0; background: var(--chip); color: var(--fg); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; flex: none; }
.sheet-sum { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--bg-alt); border-radius: 14px; font-size: 15px; }
.pay-grid { display: grid; gap: 10px; }
.pay-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); color: var(--fg); }
a.pay-opt:hover { border-color: var(--accent); text-decoration: none; }
.pay-opt strong { display: block; font-weight: 600; }
.pay-opt span { font-size: 13px; color: var(--fg-2); }

/* ---------- cta band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 700; line-height: 1.08; }
.cta-band p { font-size: 21px; color: var(--fg-2); margin: 14px auto 26px; max-width: 620px; }

/* ---------- prose ---------- */
.prose { max-width: 700px; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; line-height: 1.06; margin-bottom: 16px; }
.prose h2 { font-size: 24px; font-weight: 600; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--fg); font-size: 17px; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }

/* ---------- footer ---------- */
.gfoot { background: var(--bg-alt); color: var(--fg-2); font-size: 12px; line-height: 1.5; }
.gfoot .wrap { padding-block: 32px 40px; }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.foot-cols h4 { font: 600 12px var(--font); color: var(--fg); letter-spacing: 0; margin-bottom: 10px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-cols a { color: var(--fg-2); }
.foot-cols a:hover { color: var(--fg); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-bottom a { color: var(--fg-2); }
.theme-toggle { border: 1px solid var(--line); background: transparent; color: var(--fg-2); font: 12px var(--font); padding: 4px 10px; border-radius: 980px; cursor: pointer; }
@media (max-width: 860px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

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