/* ============================================================
   Design system — tokens fixed by the developer brief (§8)
   ============================================================ */

:root {
  /* Brief-specified palette */
  --navy: #10253F;
  --blue: #0067A3;
  --teal: #00A6A6;
  --gold: #D5A021;
  --bg: #F5F8FA;
  --ink: #17212B;
  --white: #FFFFFF;

  /* Derived — accessible text variants of the accents.
     Raw --teal (2.4:1) and --gold (2.2:1) fail AA on white and are
     therefore used only as rules, marks and large graphic elements. */
  --navy-deep: #0B1A2E;
  --blue-press: #00568A;
  --teal-ink: #005F5E;   /* 5.9:1 on white  */
  --gold-ink: #6F4E0C;   /* 7.4:1 on white  */
  --muted: #4A5B6B;      /* 7.2:1 on white  */
  --rule: #D7E0E8;
  --rule-soft: #E8EEF3;

  /* Type */
  --display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Consolas", monospace;

  /* Scale */
  --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
  --step-0:  clamp(1.00rem, 0.97rem + 0.15vw, 1.09rem);
  --step-1:  clamp(1.20rem, 1.13rem + 0.34vw, 1.42rem);
  --step-2:  clamp(1.45rem, 1.31rem + 0.68vw, 1.90rem);
  --step-3:  clamp(1.75rem, 1.50rem + 1.20vw, 2.55rem);
  --step-4:  clamp(2.10rem, 1.65rem + 2.10vw, 3.40rem);

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 6px;
  --radius-sm: 4px;

  /* Motion */
  --t: 180ms cubic-bezier(.2, .6, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.62;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .display {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.018em;
  font-weight: 700;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); letter-spacing: 0; }

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-press); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--navy); color: #fff; }

/* ---------- Utility ---------- */

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2.25rem, 4.5vw, 3.5rem); }
.section--tint { background: var(--bg); }
.section--navy { background: var(--navy); color: #E6EDF4; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: #9FD6E8; }
.section--navy a:hover { color: #fff; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: .8rem 1.2rem;
  font-weight: 600; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

.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;
}

/* Eyebrow — small caps label used to type each block of content */
.eyebrow {
  font-family: var(--display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin: 0 0 .9rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::after {
  content: ""; flex: 1 1 auto; height: 1px; background: var(--rule);
  max-width: 6rem;
}
.eyebrow--plain::after { display: none; }

.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.5; max-width: 60ch; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 44px; padding: .7rem 1.35rem;
  font-family: var(--display); font-weight: 700; font-size: var(--step--1);
  letter-spacing: .01em;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--navy); color: #fff; }
.btn--ghost { border-color: var(--rule); color: var(--navy); background: transparent; }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn--onnavy { border-color: rgba(255,255,255,.42); color: #fff; }
.btn--onnavy:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: #B98914; color: var(--navy-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Arrow link */
.arrow {
  font-family: var(--display); font-weight: 700; font-size: var(--step--1);
  text-decoration: none; color: var(--blue-press);
  display: inline-flex; align-items: center; gap: .4rem;
}
.arrow::after { content: "→"; transition: transform var(--t); }
.arrow:hover::after { transform: translateX(3px); }

/* ============================================================
   Header
   ============================================================ */

.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--rule);
}
.hdr__in {
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1.5rem; min-height: 74px;
  position: relative;
}

.logo { display: block; text-decoration: none; flex: 0 0 auto; line-height: 0; }
.logo img { height: 46px; width: auto; }
@media (max-width: 480px) { .logo img { height: 38px; } }
.ftr .logo {
  /* The colour mark sits on white, not on the navy. Its blue is 1.93:1
     against the footer ground — the brand is simply not legible there. */
  display: inline-block; background: #fff;
  padding: .7rem .95rem; border-radius: var(--radius);
  margin-bottom: 1.15rem;
}
.ftr .logo img { height: 44px; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: .6rem .7rem; border-radius: var(--radius-sm);
  font-family: var(--display); font-weight: 600; font-size: .93rem;
  color: var(--navy); text-decoration: none;
  transition: background var(--t);
}
.nav__link:hover { background: var(--bg); }
.nav__link[aria-current="page"], .nav__link[aria-current="true"] {
  box-shadow: inset 0 -2px 0 var(--teal);
}

/* Mega menu */
.has-mega { position: static; }
.mega__btn {
  display: flex; align-items: center; gap: .35rem;
  background: none; border: 0; cursor: pointer; font: inherit;
  padding: .6rem .7rem; border-radius: var(--radius-sm);
  font-family: var(--display); font-weight: 600; font-size: .93rem; color: var(--navy);
}
.mega__btn:hover { background: var(--bg); }
.mega__btn::after {
  content: ""; width: .42rem; height: .42rem; margin-top: -3px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); transition: transform var(--t);
}
.mega__btn[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-2px,-2px); }

.mega {
  position: absolute; top: calc(100% + 1px); right: 0;
  width: min(640px, calc(100vw - 2 * var(--gutter)));
  background: #fff; border: 1px solid var(--rule);
  border-radius: var(--radius); box-shadow: 0 18px 44px -22px rgba(16,37,63,.42);
  padding: 1.1rem; display: none;
}
.mega[data-open="true"] { display: block; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.mega__link {
  display: block; padding: .6rem .7rem; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--navy); font-weight: 600; font-size: .93rem;
  font-family: var(--display);
}
.mega__link span { display: block; font-family: var(--body); font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: .1rem; line-height: 1.4; }
.mega__link:hover { background: var(--bg); }

/* Language switch */
.lang { display: flex; align-items: center; border: 1px solid var(--rule); border-radius: var(--radius-sm); overflow: hidden; }
.lang a {
  padding: .42rem .6rem; font-family: var(--display); font-weight: 700; font-size: .78rem;
  letter-spacing: .05em; color: var(--muted); text-decoration: none; min-height: 34px;
  display: flex; align-items: center;
}
.lang a[aria-current="true"] { background: var(--navy); color: #fff; }
.lang a:not([aria-current="true"]):hover { background: var(--bg); color: var(--navy); }

.burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer; padding: 0; place-items: center;
}
.burger span { display: block; width: 19px; height: 1.8px; background: var(--navy); margin: 3.5px auto; transition: transform var(--t), opacity var(--t); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.3px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.3px) rotate(-45deg); }

@media (max-width: 1000px) {
  .burger { display: grid; }
  .nav {
    position: fixed; inset: 74px 0 auto; margin: 0;
    background: #fff; border-bottom: 1px solid var(--rule);
    max-height: calc(100dvh - 74px); overflow-y: auto;
    padding: 1rem var(--gutter) 2rem;
    display: none;
  }
  .nav[data-open="true"] { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link, .mega__btn { width: 100%; padding: .85rem .2rem; border-bottom: 1px solid var(--rule-soft); border-radius: 0; }
  .mega__btn { justify-content: space-between; }
  .mega { position: static; width: auto; box-shadow: none; border: 0; padding: .4rem 0 .8rem 1rem; }
  .mega__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Hero — the thesis: an audit reference index, set in type
   ============================================================ */

.hero { background: var(--navy); color: #DCE6EF; position: relative; overflow: hidden; }
.hero::after {
  /* restrained data texture: a ledger rule field, not a gradient blob */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 55%, transparent);
}
.hero__in { position: relative; z-index: 1; padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.hero h1 { color: #fff; font-size: var(--step-4); font-weight: 800; letter-spacing: -.03em; margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lede { font-size: var(--step-1); line-height: 1.5; color: #C3D2E0; max-width: 54ch; }
.hero .eyebrow { color: var(--teal); }
.hero .eyebrow::after { background: rgba(255,255,255,.22); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
}

/* Practice register — the signature element.
   Modelled on an audit working-paper index: reference letter, title, rule. */
.register { border-top: 1px solid rgba(255,255,255,.22); }
.register__row {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  gap: .9rem; padding: .72rem 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  text-decoration: none; color: #DCE6EF;
  transition: padding-left var(--t), color var(--t);
}
.register__row:hover { padding-left: .5rem; color: #fff; }
.register__ttl { font-family: var(--display); font-weight: 600; font-size: .97rem; line-height: 1.3; }
.register__row:hover .register__ttl { color: #fff; }
.register__go { color: rgba(255,255,255,.5); font-size: .95rem; }
.register__row:hover .register__go { color: var(--gold); }

/* ---------- Trust bar ---------- */
.trust { background: var(--bg); border-bottom: 1px solid var(--rule); }
.trust__in { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; padding-block: 1.1rem; align-items: center; }
.trust__item { display: flex; align-items: baseline; gap: .55rem; font-size: var(--step--1); color: var(--muted); }
.trust__item b { font-family: var(--display); color: var(--navy); font-weight: 700; }
.trust__note {
  margin-left: auto; font-size: .78rem; color: var(--muted); font-style: italic;
}

/* ============================================================
   Cards & grids
   ============================================================ */

.grid { display: grid; gap: 1.15rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.45rem 1.4rem 1.3rem;
  display: flex; flex-direction: column; gap: .55rem;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.card:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(16,37,63,.4); }
.card h2, .card h3 { margin: 0; font-size: var(--step-1); letter-spacing: -.018em; }
.card h2 a, .card h3 a { color: inherit; text-decoration: none; }
.card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card .arrow { margin-top: auto; padding-top: .8rem; }

/* Feature list with hairline rules */
.hairlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.hairlist li { padding: .78rem 0 .78rem 1.6rem; border-bottom: 1px solid var(--rule); position: relative; }
.hairlist li::before {
  content: ""; position: absolute; left: 0; top: 1.42em;
  width: .55rem; height: 1px; background: var(--teal);
}

/* Two-column prose + aside */
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.aside {
  background: var(--bg); border: 1px solid var(--rule); border-left: 3px solid var(--teal);
  border-radius: var(--radius); padding: 1.4rem;
}
.aside h3 { font-size: var(--step-0); margin-bottom: .5rem; }
.aside p, .aside li { font-size: .93rem; color: var(--muted); }

/* Callout — used for governance, independence and legal statements */
.note {
  border: 1px solid var(--rule); border-left: 3px solid var(--gold);
  background: #FDFAF3; border-radius: var(--radius);
  padding: 1.15rem 1.3rem; margin: 1.75rem 0;
}
.note p { font-size: .93rem; margin: 0; }
.note strong { color: var(--gold-ink); }

/* Process — a real sequence, so it is numbered */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: s; border-top: 2px solid var(--navy); padding-top: .9rem; }
.step::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--mono); font-size: .78rem; color: var(--teal-ink); font-weight: 600;
  display: block; margin-bottom: .35rem;
}
.step h3 { font-size: var(--step-0); letter-spacing: 0; margin-bottom: .3rem; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Stat / proof row */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 780px) { .proof { grid-template-columns: 1fr; } }
.proof__i { border-top: 1px solid rgba(255,255,255,.25); padding-top: 1rem; }
.proof__i h3 { font-size: var(--step-0); margin-bottom: .35rem; }
.proof__i p { font-size: .93rem; color: #B9C9D8; margin: 0; }

/* ---------- Insights ---------- */
.post { border-top: 1px solid var(--rule); padding: 1.4rem 0; display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.4rem; }
@media (max-width: 640px) { .post { grid-template-columns: 1fr; gap: .5rem; } }
.post__meta { font-size: .82rem; color: var(--muted); font-family: var(--display); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.post h2, .post h3 { font-size: var(--step-1); margin-bottom: .35rem; }
.post h2 a, .post h3 a { color: var(--navy); text-decoration: none; }
.post h2 a:hover, .post h3 a:hover { color: var(--blue-press); text-decoration: underline; }
.post p { color: var(--muted); font-size: .95rem; margin: 0; }

.article { max-width: 720px; }
.article h2 { font-size: var(--step-2); margin-top: 2.2rem; }
.article h3 { margin-top: 1.6rem; }
.article ul, .article ol { padding-left: 1.2rem; }
.article li { margin-bottom: .45rem; }
.article__meta { color: var(--muted); font-size: .9rem; border-bottom: 1px solid var(--rule); padding-bottom: 1.2rem; margin-bottom: 2rem; }

/* ---------- Tabs (AI role selector) ---------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: .5rem; border-bottom: 1px solid var(--rule); padding-bottom: 1rem; margin-bottom: 1.6rem; }
.tabs__btn {
  font-family: var(--display); font-weight: 600; font-size: .92rem;
  padding: .6rem 1rem; min-height: 44px;
  border: 1px solid var(--rule); border-radius: var(--radius-sm);
  background: #fff; color: var(--navy); cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.tabs__btn:hover { border-color: var(--navy); }
.tabs__btn[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tabs__panel[hidden] { display: none; }
/* No-JS: every panel and its heading stays visible and readable */
.tabs__panel h3 { font-size: var(--step-1); }
.no-js .tabs__list { display: none; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.05rem; }
.field { display: grid; gap: .35rem; }
.field > label { font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--navy); }
.field .hint { font-size: .82rem; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .96rem; color: var(--ink);
  padding: .68rem .8rem; min-height: 44px;
  border: 1px solid #7E8C99; border-radius: var(--radius-sm);
  background: #fff; width: 100%;
  transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .65rem; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: .22rem; }
.field--check label { font-family: var(--body); font-weight: 400; font-size: .9rem; color: var(--muted); }
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: #B3261E; border-width: 2px; }
.err { color: #B3261E; font-size: .85rem; font-weight: 600; display: none; }
.field[data-invalid="true"] .err { display: block; }
.form__status { border-radius: var(--radius); padding: 1rem 1.15rem; font-size: .95rem; }
.form__status[data-tone="ok"] { background: #ECF7F1; border: 1px solid #9DCFB6; color: #17402C; }
.form__status[data-tone="bad"] { background: #FDECEA; border: 1px solid #E9A9A2; color: #7A1C15; }
.hp { position: absolute; left: -9999px; }
.req { color: #B3261E; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .84rem; color: var(--muted); padding-block: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .45rem; color: #A9B7C4; }
.crumbs a { color: var(--muted); }

/* ---------- Page head ---------- */
.phead { border-bottom: 1px solid var(--rule); background: var(--bg); }
.phead__in { padding-block: clamp(2rem, 5vw, 3.4rem); }
.phead h1 { font-size: var(--step-3); margin-bottom: .45em; }

/* ---------- Footer ---------- */
.ftr { background: var(--navy-deep); color: #A9BCCE; font-size: .92rem; padding-block: clamp(2.75rem, 6vw, 4rem) 1.5rem; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr h2 { color: #fff; font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: .9rem; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.ftr a { color: #A9BCCE; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2.5rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .84rem; }
.ftr__legal p { margin: 0; max-width: none; }
.ftr__disc { font-size: .82rem; color: #7F94A8; margin-top: .9rem; max-width: 78ch; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; inset: auto 1rem 1rem; z-index: 200;
  max-width: 560px; margin-inline: auto;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: 0 24px 50px -24px rgba(16,37,63,.5);
  padding: 1.15rem 1.25rem;
}
.cookie[hidden] { display: none; }
.cookie p { font-size: .9rem; margin-bottom: .9rem; }
.cookie .btn-row { margin-top: 0; }

/* ---------- 404 ---------- */
.oops { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.oops__code { font-family: var(--mono); font-size: .85rem; letter-spacing: .3em; color: var(--teal-ink); }

/* ---------- Tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th, .tbl td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl th { font-family: var(--display); color: var(--navy); font-weight: 700; background: var(--bg); }
.tbl caption { text-align: left; color: var(--muted); font-size: .87rem; padding-bottom: .7rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .card:hover { transform: none; }
  .register__row:hover { padding-left: 0; }
}

@media print {
  .hdr, .ftr, .cookie, .btn-row { display: none; }
  body { color: #000; }
}

/* Pending-verification marker — deliberately loud so it cannot ship unnoticed */
.pend {
  display: inline-block;
  font-family: var(--mono); font-size: .74em; font-weight: 600;
  letter-spacing: .06em;
  background: #FFF3D6; color: var(--gold-ink);
  border: 1px dashed #C89A2E; border-radius: 3px;
  padding: .1em .45em;
}
