/* electricianhelperpro.com — the Panel Schedule. World: DESIGN.md + the store listing v3 (amber plate,
   DIN Condensed capitals, bone paper, the real app in a drawn obsidian bezel). No third-party requests. */

/* The plate face. Apple devices use the installed DIN Condensed Bold (the store screenshots' face); everyone else gets
   D-DIN Condensed Bold by Datto, self-hosted and unmodified (SIL OFL 1.1, assets/fonts/OFL-1.1.txt). */
@font-face {
  font-family: "EHP Plate";
  src: local("DIN Condensed Bold"), local("DINCondensed-Bold"), url("/assets/fonts/D-DINCondensed-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --amber: #f59e0b;
  --amber-hi: #fbbf24;
  --amber-deep: #d97706;
  --amber-ink: #3a2604;
  --ink: #0b0f17;
  --ink-2: #3d3a33;
  --bone: #efe9de;
  --bone-2: #e5ddcf;
  --paper: #f8f5ef;
  --rule: rgba(11, 15, 23, 0.14);
  --obsidian: #020617;
  --obsidian-2: #0a1022;
  --bezel: #04060c;
  --slate-50: #f8fafc;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --plate-face: "EHP Plate", "DIN Condensed", "Bahnschrift Condensed", "Bahnschrift", "Arial Narrow", sans-serif;
  --text-face: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --shadow-device: 0 44px 70px -30px rgba(2, 6, 23, 0.55), 0 16px 30px -14px rgba(2, 6, 23, 0.4);
  --shadow-card: 0 22px 44px -24px rgba(2, 6, 23, 0.45), 0 6px 14px -8px rgba(2, 6, 23, 0.25);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #a39a89 var(--bone); scroll-padding-top: 76px; }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 17px/1.55 var(--text-face); caret-color: var(--amber-deep); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--amber); color: var(--ink); }
a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--amber-deep); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .topbar :focus-visible, .safety :focus-visible, .footer :focus-visible { outline-color: var(--amber-hi); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--amber); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

/* ---- Top bar: the panel's steel frame ------------------------------------------------------- */
.topbar { background: var(--obsidian); color: var(--slate-200); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--slate-50); min-height: 44px; }
.lockup img { width: 34px; height: 34px; }
.lockup__words { display: inline-grid; justify-items: center; font: 700 15px/0.95 var(--plate-face); letter-spacing: 0.08em; }
.lockup__pro { color: var(--amber); letter-spacing: 0.24em; margin-right: -0.24em; }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a { color: var(--slate-200); text-decoration: none; font-weight: 500; font-size: 15px; padding: 11px 12px; border-radius: 8px; }
.topnav a:hover { color: var(--slate-50); background: rgba(255, 255, 255, 0.06); }
.topnav .topnav__badge { padding: 0 0 0 10px; background: none; }
.topnav__badge img { width: 120px; height: 40px; }
.topnav__hide { display: none; }
@media (min-width: 760px) { .topnav__hide { display: inline-block; } }

/* ---- The plate ------------------------------------------------------------------------------ */
.plate { position: relative; background: linear-gradient(180deg, #fbb524 0%, #f59e0b 58%, #ee960a 100%); color: var(--ink); }
.plate::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(180deg, rgba(255, 244, 214, 0.75) 0 2px, rgba(58, 38, 4, 0.34) 2px 100%); }
.plate__title { margin: 0; font: 700 clamp(48px, 10.5vw, 124px)/0.88 var(--plate-face); text-transform: uppercase; letter-spacing: -0.005em; text-wrap: balance; }
.plate__title span { display: block; }
.plate__sub { margin: 18px 0 0; max-width: 34ch; color: var(--amber-ink); font: 600 clamp(19px, 2vw, 25px)/1.3 var(--text-face); text-wrap: balance; }
.plate--page { padding: clamp(40px, 7vw, 88px) 0 clamp(34px, 5vw, 64px); }
.plate--page .plate__title { font-size: clamp(52px, 9vw, 112px); }

/* ---- Hero ----------------------------------------------------------------------------------- */
.hero .plate { padding: clamp(36px, 6vw, 84px) 0 0; }
.hero .plate__title { font-size: clamp(56px, 17vw, 124px); }
.hero__grid { display: grid; gap: 28px 48px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 28px 0 0; }
.badge-link { display: inline-block; border-radius: 12px; line-height: 0; }
.badge-link img { width: 180px; height: 60px; }
.trial-line { margin: 0; max-width: 30ch; color: var(--amber-ink); font-weight: 600; font-size: 16px; line-height: 1.4; }
.trial-line span { display: block; font-weight: 500; }
.hero__device { margin: 8px auto -210px; width: min(78vw, 300px); position: relative; z-index: 2; }
.hero__after { height: 260px; background: radial-gradient(70% 100% at 50% 0%, rgba(245, 158, 11, 0.55), rgba(245, 158, 11, 0.16) 45%, rgba(245, 158, 11, 0) 78%); }
@media (min-width: 900px) {
  .hero .plate { padding-bottom: 72px; }
  .hero .plate__title { font-size: clamp(88px, 9.5vw, 124px); }
  .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: start; }
  .hero__copy { padding-bottom: 12px; }
  .hero__device { width: min(100%, 360px); margin: 0 0 -300px auto; }
  .hero__after { height: 320px; background: radial-gradient(52% 120% at 76% 0%, rgba(245, 158, 11, 0.55), rgba(245, 158, 11, 0.16) 48%, rgba(245, 158, 11, 0) 80%); }
}

/* ---- The drawn device ----------------------------------------------------------------------- */
.device { position: relative; margin: 0; padding: 3.4%; border-radius: 13%/6.2%; background: var(--bezel); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.07), var(--shadow-device); }
.device img { width: 100%; border-radius: 9.6%/4.4%; }

/* ---- The directory ------------------------------------------------------------------------- */
.schedule { padding: 12px 0 clamp(64px, 9vw, 120px); }
.schedule__grid { display: grid; gap: 40px; }
.schedule__grid > * { min-width: 0; }
.door { background: linear-gradient(180deg, #1b2230, #0e131d); border-radius: 18px; padding: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--shadow-card); }
.door__card { background: var(--paper); border-radius: 8px; padding: 18px 14px 10px; }
.door__title { margin: 0 0 12px; font: 700 26px/1 var(--plate-face); text-transform: uppercase; letter-spacing: 0.04em; display: flex; justify-content: space-between; align-items: baseline; }
.door__title small { font: 600 13px/1 var(--text-face); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.circuit { display: grid; grid-template-columns: 24px minmax(0, 1fr) 30px; align-items: center; gap: 6px; min-height: 48px; padding: 4px 4px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.circuit:hover { background: rgba(245, 158, 11, 0.16); }
.circuit__no { font: 700 20px/1 var(--plate-face); font-variant-numeric: tabular-nums; text-align: center; color: var(--ink-2); padding-top: 3px; }
.circuit__label { font: 700 17px/1.05 var(--plate-face); text-transform: uppercase; letter-spacing: 0.02em; padding-top: 3px; overflow-wrap: break-word; hyphens: none; }
.circuit__label small { display: block; font: 500 13px/1.3 var(--text-face); text-transform: none; letter-spacing: 0; color: var(--ink-2); padding-top: 2px; }
.circuit__tab { width: 30px; height: 18px; border-radius: 4px; background: #cdc4b3; box-shadow: inset 0 1px 2px rgba(11, 15, 23, 0.28); position: relative; }
.circuit__tab::after { content: ""; position: absolute; top: 3px; left: 3px; width: 11px; height: 12px; border-radius: 2px; background: #6d675b; transition: transform 0.5s var(--ease-out), background-color 0.3s; }
.circuit[aria-current="true"] { background: rgba(245, 158, 11, 0.2); }
.circuit[aria-current="true"] .circuit__no { color: var(--ink); }
.circuit[aria-current="true"] .circuit__tab { background: var(--amber); box-shadow: inset 0 0 0 1.5px rgba(58, 38, 4, 0.55); }
.circuit[aria-current="true"] .circuit__tab::after { transform: translateX(13px); background: var(--ink); }
.circuit--main { border-bottom: 2px solid var(--ink); border-radius: 6px 6px 0 0; margin-bottom: 6px; padding-bottom: 8px; }
.circuit--main .circuit__no { font-size: 14px; letter-spacing: 0.04em; color: var(--ink); }
.circuit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 10px; }
@media (min-width: 560px) { .circuit-list { grid-template-columns: 1fr 1fr; } }
.circuit-list li { border-bottom: 1px solid var(--rule); min-width: 0; }
.now-strip { position: sticky; top: 0; z-index: 20; margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter); background: rgba(2, 6, 23, 0.94); color: var(--slate-50); font: 700 17px/1.1 var(--plate-face); text-transform: uppercase; letter-spacing: 0.03em; display: flex; align-items: center; gap: 10px; -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px); }
.now-strip b { background: var(--amber); color: var(--ink); border-radius: 3px; padding: 3px 6px 0; min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) {
  .schedule__grid { grid-template-columns: 400px minmax(0, 1fr); gap: 56px; align-items: start; }
  .door { position: sticky; top: 20px; }
  .now-strip { display: none; }
}
@media (min-width: 1280px) { .schedule__grid { grid-template-columns: 430px minmax(0, 1fr); gap: 64px; } }

/* ---- Proofs --------------------------------------------------------------------------------- */
.proofs { display: grid; gap: clamp(72px, 10vw, 128px); container: proofs / inline-size; }
.proof { display: grid; gap: 28px; align-items: center; scroll-margin-top: 80px; }
.tape { display: inline-flex; align-items: stretch; margin: 0; background: var(--amber); color: var(--ink); border-radius: 5px; box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.7), inset 0 -3px 0 rgba(58, 38, 4, 0.22), 0 10px 20px -14px rgba(58, 38, 4, 0.6); font: 700 clamp(26px, 3vw, 40px)/0.9 var(--plate-face); text-transform: uppercase; letter-spacing: 0.005em; }
.tape__no { display: grid; place-items: center; min-width: 1.25em; padding: 0.2em 0.2em 0.06em; background: var(--ink); color: var(--amber); border-radius: 5px 0 0 5px; font-variant-numeric: tabular-nums; }
.tape__text { padding: 0.2em 0.34em 0.06em; text-wrap: balance; }
.proof__copy p { margin: 18px 0 0; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; max-width: 40ch; }
.facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; max-width: 44ch; }
.facts li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.facts li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 12px; border-radius: 2px; background: var(--amber); box-shadow: inset 0 -2px 0 rgba(58, 38, 4, 0.3); }
.proof__visual { justify-self: center; width: 100%; }
.proof--device .proof__visual { max-width: 330px; }
.callout { margin: 0; border-radius: 16px; overflow: hidden; background: var(--obsidian); box-shadow: var(--shadow-card); max-width: 620px; }
.callout__bar { background: var(--amber); color: var(--ink); font: 700 18px/1 var(--plate-face); text-transform: uppercase; letter-spacing: 0.05em; padding: 11px 16px 8px; }
.callout img { width: 100%; }
.callout--tall { max-width: 500px; }
.proof__visual { position: relative; }
.proof__visual .callout--over { margin: -48px 0 0 10%; position: relative; }
/* An in-place zoom over its own source: out of flow, so the device keeps its height and nothing below moves. */
.proof__visual .callout--mid { position: absolute; top: 66%; left: 6%; right: -4%; margin: 0; }
@container proofs (min-width: 620px) {
  .proof--device { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 48px; }
  .proof--device.proof--flip { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .proof--device.proof--flip .proof__copy { order: 2; }
  .proof--flip .proof__visual .callout--over { margin: -72px -44% 0 14%; }
  .proof--flip .proof__visual .callout--mid { left: -14%; right: -9%; margin: 0; }
  .proof--device:not(.proof--flip) .proof__visual .callout--over { margin: -72px 14% 0 -44%; }
}

/* ---- The estimate as paper ------------------------------------------------------------------ */
.sheets { position: relative; margin: 0; padding: 8px 0 0; display: grid; }
.sheet { display: block; width: 100%; background: #ffffff; border-radius: 4px; box-shadow: 0 34px 60px -34px rgba(2, 6, 23, 0.5), 0 10px 20px -12px rgba(2, 6, 23, 0.28); }
.sheet--back { width: 86%; transform: rotate(-1.6deg); transform-origin: 30% 50%; }
.sheet--front { position: relative; width: 80%; margin: -9% 0 0 auto; transform: rotate(1.2deg); transform-origin: 70% 30%; }
.sheets__caption { margin: 18px 0 0; font-size: 14px; color: var(--ink-2); text-align: right; }
@container proofs (min-width: 620px) {
  .sheet--back { width: 72%; }
  .sheet--front { width: 64%; margin-top: -16%; }
}

/* ---- Edition map (sequential: one amber hue, older editions toward sand) ------------------ */
.editions { margin: 28px 0 0; }
.editions__caption { font: 700 18px/1.1 var(--plate-face); text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 12px; }
.editions__grid { display: none; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; }
.tile { aspect-ratio: 1; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--ink); box-shadow: inset 0 -2px 0 rgba(11, 15, 23, 0.12); }
.tile__code { font: 700 clamp(13px, 1.25vw, 17px)/1 var(--plate-face); padding-top: 2px; }
.tile__ed { font: 600 11px/1 var(--text-face); font-variant-numeric: tabular-nums; }
.ed-2026 { background: #f59e0b; }
.ed-2023 { background: #f8c567; }
.ed-2020 { background: #f1dcaf; }
.ed-2017 { background: #e0d5c1; }
.ed-2014 { background: #d3c9b7; }
.ed-2008 { background: #c6bdad; }
.gc-0 { grid-column: 1; } .gc-1 { grid-column: 2; } .gc-2 { grid-column: 3; } .gc-3 { grid-column: 4; }
.gc-4 { grid-column: 5; } .gc-5 { grid-column: 6; } .gc-6 { grid-column: 7; } .gc-7 { grid-column: 8; }
.gc-8 { grid-column: 9; } .gc-9 { grid-column: 10; } .gc-10 { grid-column: 11; }
.gr-0 { grid-row: 1; } .gr-1 { grid-row: 2; } .gr-2 { grid-row: 3; } .gr-3 { grid-row: 4; }
.gr-4 { grid-row: 5; } .gr-5 { grid-row: 6; } .gr-6 { grid-row: 7; } .gr-7 { grid-row: 8; }
.editions__legend { display: none; list-style: none; margin: 14px 0 0; padding: 0; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; color: var(--ink-2); }
.editions__legend b { color: var(--ink); font-variant-numeric: tabular-nums; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; box-shadow: inset 0 0 0 1px rgba(11, 15, 23, 0.18); }
.editions__list { margin: 0; display: grid; gap: 10px; }
.editions__list div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: baseline; border-top: 1px solid var(--rule); padding-top: 10px; }
.editions__list dt { font: 700 18px/1 var(--plate-face); text-transform: uppercase; }
.editions__list dt b { font: 600 13px/1 var(--text-face); color: var(--ink-2); margin-left: 4px; }
.editions__list dd { margin: 0; font-size: 15px; line-height: 1.5; letter-spacing: 0.02em; }
.editions__list abbr { text-decoration: none; }
.editions__note { margin: 14px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); max-width: 62ch; }
.editions__table { margin-top: 10px; font-size: 15px; }
.editions__table summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber-deep); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.editions__table table { border-collapse: collapse; width: 100%; max-width: 520px; margin-top: 6px; }
.editions__table th, .editions__table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--rule); }
@media (min-width: 700px) {
  .editions__grid { display: grid; }
  .editions__legend { display: flex; }
  .editions__list { display: none; }
}

/* ---- 22 questions --------------------------------------------------------------------------- */
.questions { background: var(--bone-2); padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--rule); }
.section-title { margin: 0; font: 700 clamp(40px, 6vw, 76px)/0.9 var(--plate-face); text-transform: uppercase; text-wrap: balance; }
.section-lede { margin: 16px 0 0; max-width: 52ch; font-size: 19px; color: var(--ink-2); }
.qgroups { display: grid; gap: 28px; margin-top: 40px; }
.qgroup h3 { margin: 0 0 12px; font: 700 20px/1 var(--plate-face); text-transform: uppercase; letter-spacing: 0.04em; }
.qgroup ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.qgroup li { background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 9px 14px; font-size: 15px; line-height: 1.3; }
@media (min-width: 1024px) { .qgroups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; } }

/* ---- Plans: the main breaker -------------------------------------------------------------- */
.plans__plate { padding: clamp(56px, 8vw, 96px) 0 clamp(44px, 6vw, 72px); }
.plans__body { padding: clamp(44px, 6vw, 72px) 0 clamp(64px, 9vw, 112px); }
.plan-grid { display: grid; gap: 22px; }
.plan { position: relative; background: var(--paper); border-radius: 18px; padding: 28px 24px 24px; border: 1px solid var(--rule); box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.plan--best { border: 2px solid var(--amber); }
.plan__tag { position: absolute; margin: 0; top: -13px; left: 22px; background: var(--amber); color: var(--ink); font: 700 15px/1 var(--plate-face); letter-spacing: 0.08em; padding: 7px 10px 4px; border-radius: 4px; }
.plan h3 { margin: 0; font: 700 30px/1 var(--plate-face); text-transform: uppercase; }
.plan__price { margin: 16px 0 0; font: 650 42px/1 var(--text-face); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.plan__price small { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.plan__unit { margin: 8px 0 0; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.plan__save { display: inline-block; margin-left: 6px; background: #d6f5ea; color: #065f46; font-weight: 700; font-size: 13px; padding: 3px 8px; border-radius: 999px; vertical-align: 2px; }
.plan ul { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 8px; }
.plan li { position: relative; padding-left: 24px; font-size: 15.5px; line-height: 1.4; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 12px; height: 7px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.free-row { margin-top: 36px; display: grid; gap: 14px; background: var(--obsidian); color: var(--slate-200); border-radius: 18px; padding: 24px; }
.free-row h3 { margin: 0; color: var(--slate-50); font: 700 26px/1 var(--plate-face); text-transform: uppercase; }
.free-row p { margin: 0; line-height: 1.5; }
.fine { margin: 26px 0 0; max-width: 78ch; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.plans__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
@media (min-width: 900px) {
  .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .free-row { grid-template-columns: 260px 1fr; align-items: center; }
}

/* ---- Safety band and footer ----------------------------------------------------------------- */
.safety { position: relative; background: var(--obsidian); color: var(--slate-200); padding: clamp(56px, 8vw, 96px) 0; }
.safety::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--amber) 0 14px, var(--obsidian) 14px 28px); }
.safety__grid { display: grid; gap: 20px 56px; }
.safety h2 { margin: 0; color: var(--slate-50); font: 700 clamp(44px, 6.5vw, 84px)/0.9 var(--plate-face); text-transform: uppercase; text-wrap: balance; }
.safety p { margin: 0 0 14px; max-width: 56ch; font-size: 18px; line-height: 1.55; }
.safety a { color: var(--slate-50); text-decoration-color: var(--amber); }
@media (min-width: 900px) { .safety__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; } }
.footer { background: var(--obsidian-2); color: var(--slate-400); padding: 48px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 15px; }
.footer__grid { display: grid; gap: 28px; }
.footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.footer nav a { color: var(--slate-200); text-decoration: none; display: inline-block; padding: 10px 8px; border-radius: 6px; }
.footer nav a:hover { color: var(--slate-50); background: rgba(255, 255, 255, 0.06); }
.footer__contact a { color: var(--slate-50); text-decoration-color: var(--amber); }
.footer__legal { margin: 0; font-size: 13px; line-height: 1.55; max-width: 80ch; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1fr auto; align-items: start; } }

/* ---- Reading pages -------------------------------------------------------------------------- */
.page-sub { margin: 16px 0 0; color: var(--amber-ink); font: 600 clamp(19px, 2vw, 24px)/1.35 var(--text-face); max-width: 44ch; }
.doc { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 112px); }
.doc__grid { display: grid; gap: 32px; }
.prose { max-width: 70ch; }
.prose h2 { margin: 44px 0 12px; font: 700 clamp(28px, 3.4vw, 38px)/0.95 var(--plate-face); text-transform: uppercase; }
.prose h3 { margin: 32px 0 10px; font: 700 24px/1 var(--plate-face); text-transform: uppercase; }
.prose p, .prose li { font-size: 17.5px; line-height: 1.65; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 18px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 10px; border-radius: 2px; background: var(--amber); }
.prose strong { font-weight: 650; }
.legal-effective { font-weight: 600; color: var(--ink-2); }
.toc { font-size: 15px; }
.toc h2 { margin: 0 0 10px; font: 700 18px/1 var(--plate-face); text-transform: uppercase; letter-spacing: 0.05em; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--rule); }
.toc a { display: flex; min-height: 36px; align-items: center; text-decoration: none; border-radius: 0 6px 6px 0; padding: 2px 10px; }
.toc a:hover { background: rgba(245, 158, 11, 0.18); }
@media (min-width: 1024px) {
  .doc__grid--toc { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
  .toc { position: sticky; top: 24px; }
}
.contact-card { background: var(--obsidian); color: var(--slate-200); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-card); display: grid; gap: 18px; }
.contact-card h2 { margin: 0; color: var(--slate-50); font: 700 clamp(32px, 4vw, 48px)/0.92 var(--plate-face); text-transform: uppercase; }
.contact-card__mail { color: var(--amber-hi); font: 600 clamp(16px, 4.4vw, 30px)/1.25 var(--text-face); text-decoration-color: rgba(251, 191, 36, 0.5); overflow-wrap: break-word; }
.contact-card p { margin: 0; line-height: 1.55; }
.contact-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.contact-card li { padding-left: 24px; position: relative; line-height: 1.5; }
.contact-card li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 2px; background: var(--amber); }
.help-grid { display: grid; gap: 22px; }
.help-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; padding: 24px; }
.help-card h2 { margin: 0 0 12px; font: 700 28px/1 var(--plate-face); text-transform: uppercase; }
.help-card p { margin: 0 0 10px; line-height: 1.55; }
@media (min-width: 900px) { .help-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.faq { margin-top: clamp(48px, 7vw, 80px); }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; min-height: 64px; padding: 14px 4px; font: 700 clamp(21px, 2.4vw, 26px)/1.05 var(--plate-face); text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; justify-self: center; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform 0.35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 4px 20px; max-width: 70ch; }
.faq details p { margin: 0 0 10px; font-size: 17px; line-height: 1.6; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 26px; font-size: 18px; }

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