@charset "utf-8";
/* ==========================================================================
   WhoIsKingOfAEO.com — "The Answer Card"
   Swiss editorial reference design. Paper, ink, one electric cobalt.
   Light-mode only, committed. Hairline rules as the structural device.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Colour ramp ---------------------------------------------------------- */
  --paper:      #FAFAF8;
  --paper-2:    #FFFFFF;
  --warm:       #F1EEE7;   /* single warm neutral surface */
  --warm-2:     #E7E2D7;
  --rule:       #D9D5CB;   /* hairline */
  --rule-soft:  #E9E5DC;
  --ink:        #0A0A0A;
  --ink-2:      #24241F;   /* body text */
  --ink-3:      #63635C;   /* muted, still >= 4.5:1 on paper */
  --ink-4:      #6E6E66;   /* quiet labels; still 4.9:1 on paper */
  --cobalt:     #1F3FFF;
  --cobalt-ink: #0E23A8;   /* cobalt on warm surfaces */
  --cobalt-lit: #6E86FF;   /* cobalt on ink surfaces */
  --cobalt-05:  rgba(31, 63, 255, 0.05);
  --cobalt-12:  rgba(31, 63, 255, 0.12);

  /* Type ----------------------------------------------------------------- */
  --font: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;

  --fs-mega:    clamp(3.4rem, 12.5vw, 7rem);
  --fs-display: clamp(2.7rem, 8.4vw, 5.4rem);
  --fs-h1:      clamp(2.4rem, 7.2vw, 4.75rem);
  --fs-h2:      clamp(1.55rem, 3.4vw, 2.4rem);
  --fs-h3:      clamp(1.1rem, 1.6vw, 1.3rem);
  --fs-lede:    clamp(1.12rem, 1.9vw, 1.45rem);
  --fs-body:    1.05rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;
  --fs-label:   0.6875rem;

  --lh-tight:   0.95;
  --lh-snug:    1.12;
  --lh-body:    1.7;
  --ls-mega:    -0.045em;
  --ls-display: -0.04em;
  --ls-head:    -0.025em;
  --ls-label:   0.16em;

  /* Space ---------------------------------------------------------------- */
  --s-1:  0.25rem;
  --s-2:  0.5rem;
  --s-3:  0.75rem;
  --s-4:  1rem;
  --s-5:  1.5rem;
  --s-6:  2rem;
  --s-7:  2.75rem;
  --s-8:  3.5rem;
  --s-9:  clamp(3rem, 7vw, 6rem);
  --s-10: clamp(4rem, 10vw, 8.5rem);

  /* Shape ---------------------------------------------------------------- */
  --r-0: 0px;
  --r-1: 2px;
  --r-2: 4px;
  --bd: 1px solid var(--rule);
  --bd-ink: 1px solid var(--ink);
  --shadow-hard: 10px 10px 0 rgba(10, 10, 10, 0.06);
  --shadow-lift: 0 1px 0 var(--rule), 0 14px 30px -22px rgba(10, 10, 10, 0.5);

  --shell: 1280px;
  --measure: 68ch;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --dur: 190ms;
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--cobalt); color: #FFFFFF; text-shadow: none; }

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

:target { scroll-margin-top: 6.5rem; }

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--s-7) 0;
}

/* --------------------------------------------------------------------------
   3. TYPE PRIMITIVES
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}

h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-head);
  margin-bottom: var(--s-5);
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.012em;
  margin-bottom: var(--s-2);
}

h4 {
  font-size: 1rem;
  letter-spacing: -0.008em;
  margin-bottom: var(--s-2);
}

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

strong, b { color: var(--ink); font-weight: 700; }

a { color: var(--cobalt-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt); }

small { font-size: var(--fs-xs); }

.label,
.eyebrow {
  display: block;
  font-size: var(--fs-label);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 var(--s-3);
}

.label--cobalt { color: var(--cobalt-ink); }

.lede {
  font-size: var(--fs-lede);
  line-height: 1.45;
  letter-spacing: -0.014em;
  color: var(--ink);
  max-width: 30ch;
  margin: 0 0 var(--s-5);
  text-wrap: pretty;
}

.lede--wide { max-width: 46ch; }

.prose { max-width: var(--measure); }
.prose > :last-child { margin-bottom: 0; }

.muted { color: var(--ink-3); }

/* CSS-drawn cobalt caret motif -------------------------------------------- */
.caret {
  display: inline-block;
  width: 0.46em;
  height: 0.46em;
  border-right: 2px solid var(--cobalt);
  border-bottom: 2px solid var(--cobalt);
  transform: rotate(-45deg) translateY(-0.08em);
  margin-left: 0.42em;
  transition: transform var(--dur) var(--ease);
}

.caret--down { transform: rotate(45deg) translateY(-0.14em); }

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.shell {
  width: min(100% - 2.25rem, var(--shell));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .shell { width: min(100% - 4rem, var(--shell)); }
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-3) var(--s-5);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  text-decoration: none;
}
.skip:focus { left: var(--s-4); top: var(--s-4); color: var(--paper); }

/* The asymmetric 12-column section ---------------------------------------- */
.sec {
  border-top: 1px solid var(--rule);
  padding-block: var(--s-9);
}
.sec--flush { border-top: 0; }
.sec--tight { padding-block: var(--s-7); }
.sec--warm { background: var(--warm); border-top-color: var(--warm-2); }

.sec__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.2vw, 2rem);
  row-gap: var(--s-5);
}

.sec__num {
  grid-column: 1 / -1;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--ink-4);
  line-height: 1.4;
}
.sec__num b { display: block; color: var(--cobalt-ink); font-weight: 700; }

.sec__body { grid-column: 1 / -1; min-width: 0; }

@media (min-width: 900px) {
  .sec__num  { grid-column: 1 / 3; position: sticky; top: 6.25rem; align-self: start; }
  .sec__body { grid-column: 4 / 11; }
  .sec__body--wide { grid-column: 4 / 13; }
  .sec__body--full { grid-column: 1 / 13; }
}

/* Split columns inside a section ------------------------------------------ */
.split {
  display: grid;
  gap: var(--s-6);
}
@media (min-width: 720px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); }
  .split--3 { grid-template-columns: repeat(3, 1fr); }
}

/* --------------------------------------------------------------------------
   5. MASTHEAD + NAV
   -------------------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--ink);
}

@supports not (backdrop-filter: blur(4px)) {
  .masthead { background: var(--paper); }
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  padding-block: var(--s-3);
}
.brand:hover { color: var(--ink); }
.brand:hover .brand__mark { background: var(--cobalt); color: #FFFFFF; }

.brand__mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.brand__txt { white-space: nowrap; }
.brand__dot { color: var(--ink-3); font-weight: 400; }

@media (max-width: 359px) {
  .brand { font-size: 0.85rem; }
  .brand__dot { display: none; }
}

/* Desktop row ------------------------------------------------------------- */
.nav__row {
  display: none;
  align-items: center;
  gap: 1.05rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 0.2rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.105em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link[aria-current="page"] { color: var(--cobalt); }
.nav__link[aria-current="page"]::after { background: var(--cobalt); transform: scaleX(1); }

/* "More" dropdown (native details — works with JS off) --------------------- */
.dd { position: relative; }
.dd > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.105em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary:hover { color: var(--cobalt); }
.dd[open] > summary { color: var(--cobalt); }
.dd--active > summary { color: var(--cobalt); position: relative; }
.dd--active > summary::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.95rem;
  bottom: 0.55rem;
  height: 1.5px;
  background: var(--cobalt);
}
.dd[open] > summary .caret { transform: rotate(-135deg) translateY(-0.02em); }

.dd__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  min-width: 246px;
  background: var(--paper-2);
  border: var(--bd-ink);
  box-shadow: var(--shadow-hard);
  padding: var(--s-2);
  list-style: none;
  margin: 0;
  z-index: 120;
}
.dd__panel a {
  display: block;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 var(--s-3);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule-soft);
}
.dd__panel li:last-child a { border-bottom: 0; }
.dd__panel a:hover { background: var(--cobalt-05); color: var(--cobalt-ink); }
.dd__panel a[aria-current="page"] { color: var(--cobalt); font-weight: 700; }

/* Mobile panel ------------------------------------------------------------ */
.nav__mob { margin-left: auto; }
.nav__mob > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding-inline: var(--s-3);
  border: var(--bd-ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
}
.nav__mob > summary::-webkit-details-marker { display: none; }
.nav__mob[open] > summary { background: var(--ink); color: var(--paper); }
.nav__mob[open] > summary .caret { border-color: var(--cobalt-lit); transform: rotate(-135deg) translateY(-0.02em); }

.nav__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper-2);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  box-shadow: var(--shadow-lift);
  padding: var(--s-4) 0 var(--s-6);
  max-height: calc(100vh - 61px);
  overflow-y: auto;
}

.nav__group { border-top: 1px solid var(--rule); padding-top: var(--s-3); margin-top: var(--s-4); }
.nav__group:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.nav__group > .label { margin-bottom: var(--s-1); }
.nav__group ul { list-style: none; margin: 0; padding: 0; }
.nav__group a {
  display: flex;
  align-items: center;
  min-height: 46px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-soft);
}
.nav__group li:last-child a { border-bottom: 0; }
.nav__group a[aria-current="page"] { color: var(--cobalt); }
.nav__group a:hover { color: var(--cobalt); }

@media (min-width: 1024px) {
  .nav__row { display: flex; }
  .nav__mob { display: none; }
}

/* --------------------------------------------------------------------------
   6. SIGNATURE COMPONENT — THE ANSWER CARD
   -------------------------------------------------------------------------- */
.answer-card {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.answer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(250, 250, 248, 0.055) 1px, transparent 1px);
  background-size: 8.3333% 100%;
  pointer-events: none;
}

.answer-card__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.2vw, 2rem);
  row-gap: var(--s-4);
}

.answer-card__inner { grid-column: 1 / -1; min-width: 0; }
.answer-card__side  { grid-column: 1 / -1; min-width: 0; }

@media (min-width: 900px) {
  .answer-card__inner { grid-column: 1 / 9; }
  .answer-card__side  { grid-column: 10 / 13; align-self: end; }
}

.answer-card .label { color: var(--cobalt-lit); }

.answer-card__q {
  font-size: clamp(1.35rem, 3.1vw, 2.15rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--paper);
  margin: 0 0 clamp(1.5rem, 3.5vw, 2.25rem);
  max-width: 22ch;
  text-wrap: balance;
}

.answer-card__rule {
  border: 0;
  border-top: 1px solid rgba(250, 250, 248, 0.28);
  margin: 0 0 clamp(1.5rem, 3.5vw, 2.25rem);
}

.answer-card__a {
  display: block;
  font-size: var(--fs-mega);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-mega);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}
.answer-card__a em { font-style: normal; color: var(--cobalt-lit); }
.answer-card__a--sm { font-size: clamp(2.5rem, 8.6vw, 5rem); letter-spacing: -0.042em; }
.answer-card__a--xs { font-size: clamp(1.85rem, 6.2vw, 3.7rem); letter-spacing: -0.035em; line-height: 1.02; overflow-wrap: anywhere; }
.answer-card__a a { color: inherit; text-decoration-color: var(--cobalt-lit); text-decoration-thickness: 2px; }
.answer-card__a a:hover { color: var(--cobalt-lit); }

.answer-card__sub {
  margin: var(--s-5) 0 0;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: rgba(250, 250, 248, 0.78);
  max-width: 54ch;
}
.answer-card__sub strong { color: #FFFFFF; }

.answer-card__meta {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(250, 250, 248, 0.28);
  padding-top: var(--s-3);
}
.answer-card__meta li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  font-size: var(--fs-xs);
  line-height: 1.5;
  padding-block: 0.4rem;
  border-bottom: 1px solid rgba(250, 250, 248, 0.14);
  color: rgba(250, 250, 248, 0.72);
}
.answer-card__meta li:last-child { border-bottom: 0; }
.answer-card__meta b { color: #FFFFFF; font-weight: 600; text-align: right; }

/* The dated assertion — a stamp line struck under the answer ---------------- */
.answer-card__stamp {
  margin: clamp(1.4rem, 3vw, 2rem) 0 0;
  padding-top: var(--s-4);
  border-top: 1px solid rgba(250, 250, 248, 0.28);
  font-size: var(--fs-xs);
  line-height: 1.65;
  letter-spacing: 0.055em;
  color: rgba(250, 250, 248, 0.74);
  max-width: 56ch;
  text-wrap: pretty;
}
.answer-card__stamp time {
  color: var(--cobalt-lit);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.answer-card__stamp b {
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.045em;
}
.answer-card__stamp span {
  display: block;
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
  color: rgba(250, 250, 248, 0.6);
}
.answer-card__stamp + .answer-card__sub { margin-top: var(--s-4); }

/* Compact inline variant used mid-page ------------------------------------ */
.answer-mini {
  border: var(--bd-ink);
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-5) var(--s-5) var(--s-6);
  margin: var(--s-6) 0;
}
.answer-mini .label { color: var(--cobalt-lit); margin-bottom: var(--s-2); }
.answer-mini__q {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 var(--s-4);
  color: var(--paper);
}
.answer-mini__a {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

/* --------------------------------------------------------------------------
   7. ANSWER CAPSULE
   -------------------------------------------------------------------------- */
.capsule {
  background: var(--warm);
  border-top: 2px solid var(--cobalt);
  padding: var(--s-5) clamp(1rem, 2.5vw, 1.75rem) var(--s-5);
  margin: 0 0 var(--s-6);
  max-width: 62ch;
}
.capsule .label { color: var(--cobalt-ink); }
.capsule p {
  font-size: 1.08rem;
  line-height: 1.62;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.capsule p + p { margin-top: var(--s-3); }
.capsule__cite {
  display: block;
  margin-top: var(--s-4);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   8. TABLES
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin: 0 0 var(--s-5);
}

table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  line-height: 1.55;
}

caption {
  caption-side: top;
  text-align: left;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: var(--s-3);
}

thead th {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: left;
  padding: var(--s-3) var(--s-4) var(--s-3) 0;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}

tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  vertical-align: top;
  padding: var(--s-3) var(--s-4) var(--s-3) 0;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}

tbody td {
  vertical-align: top;
  padding: var(--s-3) var(--s-4) var(--s-3) 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}

tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }

tbody tr:hover th,
tbody tr:hover td { background: var(--cobalt-05); }

td:last-child, th:last-child { padding-right: 0; }

.table--facts tbody th {
  width: 34%;
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
  padding-top: 0.95rem;
}
.table--facts tbody td { color: var(--ink); font-weight: 600; }
.table--facts { min-width: 26rem; }

/* --------------------------------------------------------------------------
   9. LISTS
   -------------------------------------------------------------------------- */
.list {
  list-style: none;
  margin: 0 0 var(--s-5);
  padding: 0;
}
.list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--s-3);
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid var(--cobalt);
  border-bottom: 2px solid var(--cobalt);
  transform: rotate(-45deg);
}
.list li:last-child { margin-bottom: 0; }

/* Oversized numerals ------------------------------------------------------ */
.nums {
  list-style: none;
  counter-reset: n;
  margin: 0 0 var(--s-5);
  padding: 0;
}
.nums > li {
  counter-increment: n;
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  column-gap: var(--s-4);
  padding-block: var(--s-4);
  border-top: 1px solid var(--rule);
}
.nums > li:last-child { border-bottom: 1px solid var(--rule); }
.nums > li::before {
  content: counter(n, decimal-leading-zero);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--cobalt);
}
.nums h3 { margin-bottom: var(--s-2); }
.nums p:last-child { margin-bottom: 0; }

/* Plain marker lists used inside prose ------------------------------------ */
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 var(--s-4); }
.prose li { margin-bottom: var(--s-2); }
.prose li::marker { color: var(--cobalt); }

/* Link list --------------------------------------------------------------- */
.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li { border-top: 1px solid var(--rule); }
.linklist li:last-child { border-bottom: 1px solid var(--rule); }
.linklist a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 48px;
  padding-block: var(--s-3);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.012em;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.linklist a span { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 400; text-align: right; }
.linklist a:hover { color: var(--cobalt); padding-left: 0.4rem; }
.linklist a:hover span { color: var(--cobalt-ink); }

/* --------------------------------------------------------------------------
   10. QUOTES, NOTES, CARDS
   -------------------------------------------------------------------------- */
blockquote.pull {
  margin: var(--s-6) 0;
  padding: 0 0 0 clamp(1rem, 2.5vw, 1.75rem);
  border-left: 2px solid var(--cobalt);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  line-height: 1.24;
  letter-spacing: -0.028em;
  font-weight: 600;
  color: var(--ink);
  max-width: 24ch;
}
blockquote.pull p { margin-bottom: var(--s-3); }
blockquote.pull p:last-child { margin-bottom: 0; }
blockquote.pull--wide { max-width: 40ch; font-size: clamp(1.05rem, 2vw, 1.35rem); }

.cards {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  border-bottom: 1px solid var(--rule);
  padding: var(--s-5) 0;
  position: relative;
}
@media (min-width: 640px) {
  .card { padding-right: var(--s-6); }
  .card + .card { border-left: 1px solid var(--rule); padding-left: var(--s-5); }
  .cards > .card:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cards--3 > .card:nth-child(odd) { border-left: 1px solid var(--rule); padding-left: var(--s-5); }
  .cards--3 > .card:first-child { border-left: 0; padding-left: 0; }
}
@media (min-width: 1100px) {
  .cards--3 > .card:nth-child(3n+1) { border-left: 0; padding-left: 0; }
}

.card h3 { letter-spacing: -0.018em; }
.card p:last-child { margin-bottom: 0; }
.card p { font-size: var(--fs-sm); color: var(--ink-2); }
.card__n {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  color: var(--cobalt);
  display: block;
  margin-bottom: var(--s-2);
}

/* Q&A rows (quick answers) ------------------------------------------------ */
.qa { border-top: 1px solid var(--ink); margin: 0 0 var(--s-6); }
.qa__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-1);
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 780px) {
  .qa__row { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s-5); align-items: baseline; }
}
.qa__q {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.016em;
  color: var(--ink);
  margin: 0;
}
.qa__a {
  font-size: 1.02rem;
  color: var(--ink-2);
  margin: 0;
}
.qa__a strong { color: var(--cobalt-ink); }

/* Glossary ---------------------------------------------------------------- */
.gloss { margin: 0; }
.gloss__item {
  border-top: 1px solid var(--rule);
  padding-block: var(--s-5);
  display: grid;
  gap: var(--s-2);
}
@media (min-width: 860px) {
  .gloss__item { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); column-gap: var(--s-6); }
}
.gloss__item:last-child { border-bottom: 1px solid var(--rule); }
.gloss__term {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  scroll-margin-top: 6.5rem;
}
.gloss__term span { display: block; font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-4); font-weight: 700; margin-top: 0.3rem; }
.gloss__def { margin: 0; font-size: var(--fs-sm); }
.gloss__def p:last-child { margin-bottom: 0; }

/* Index of glossary letters ----------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-5); padding: 0; list-style: none; }
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: var(--s-3);
  border: var(--bd);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink-2);
  background: var(--paper-2);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.chips a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* --------------------------------------------------------------------------
   11. BREADCRUMBS, PAGER, CITE
   -------------------------------------------------------------------------- */
.crumbs {
  padding-block: var(--s-4);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  color: var(--ink-3);
  border-bottom: 1px solid var(--rule);
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; }
.crumbs li { display: flex; align-items: center; gap: 0.45rem; }
.crumbs li + li::before { content: "/"; color: var(--ink-4); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--cobalt); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

.pager {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-block: var(--s-8) 0;
}
@media (min-width: 720px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a {
  display: block;
  padding: var(--s-5) 0;
  text-decoration: none;
  color: var(--ink);
  transition: background var(--dur) var(--ease), padding-inline var(--dur) var(--ease);
}
@media (min-width: 720px) {
  .pager a + a { border-left: 1px solid var(--rule); padding-left: var(--s-5); }
  .pager a:only-child { grid-column: 1 / -1; }
}
.pager a + a { border-top: 1px solid var(--rule); }
@media (min-width: 720px) { .pager a + a { border-top: 0; } }
.pager a:hover { background: var(--cobalt-05); }
.pager .label { margin-bottom: var(--s-2); }
.pager b { display: block; font-size: 1.1rem; letter-spacing: -0.022em; font-weight: 700; line-height: 1.25; }
.pager a:hover b { color: var(--cobalt); }
.pager__next { text-align: left; }
@media (min-width: 720px) { .pager__next { text-align: right; } }

.cite {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: var(--s-5);
  margin-block: var(--s-6);
  font-size: var(--fs-sm);
}
.cite p { margin-bottom: var(--s-2); }
.cite code {
  display: block;
  font-family: var(--font);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink);
  background: var(--warm);
  padding: var(--s-3) var(--s-4);
  border-left: 2px solid var(--cobalt);
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   12. HERO (page opener)
   -------------------------------------------------------------------------- */
.opener { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.opener__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.2vw, 2rem);
  row-gap: var(--s-4);
}
.opener__kicker { grid-column: 1 / -1; }
.opener__main { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 900px) {
  .opener__kicker { grid-column: 1 / 3; }
  .opener__main { grid-column: 4 / 12; }
}
.opener h1 { margin-bottom: var(--s-5); }

/* Folio line in the opener's meta column ---------------------------------- */
.dateline {
  margin: 0;
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  font-size: var(--fs-xs);
  line-height: 1.5;
  letter-spacing: 0.045em;
  color: var(--ink-3);
}
.dateline time {
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .opener__kicker .label { margin-bottom: var(--s-4); }
}

.opener__tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--cobalt-ink);
  border: 1px solid var(--cobalt-12);
  background: var(--cobalt-05);
  padding: 0.45rem 0.7rem;
  margin-bottom: var(--s-5);
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.foot {
  border-top: 1px solid var(--ink);
  background: var(--warm);
  padding-block: var(--s-9) var(--s-7);
  margin-top: var(--s-10);
}

.foot__statement {
  font-size: clamp(1.6rem, 4.4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: var(--ls-display);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 var(--s-4);
  max-width: 18ch;
}
.foot__statement em { font-style: normal; color: var(--cobalt); }

.foot__blurb { max-width: 44ch; font-size: var(--fs-sm); color: var(--ink-2); }

.foot__cols {
  display: grid;
  gap: var(--s-6);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--warm-2);
}
@media (min-width: 640px) { .foot__cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .foot__cols { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }

.foot__col .label { color: var(--ink-3); margin-bottom: var(--s-3); }
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.foot__col a:hover { color: var(--cobalt); text-decoration: underline; }
.foot__col a[aria-current="page"] { color: var(--cobalt); font-weight: 600; }

.foot__base {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--warm-2);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  align-items: baseline;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.foot__legal { display: flex; flex-wrap: wrap; gap: var(--s-4); list-style: none; margin: 0; padding: 0; }
.foot__legal a { color: var(--ink-3); text-decoration: none; }
.foot__legal a:hover { color: var(--cobalt); text-decoration: underline; }

/* --------------------------------------------------------------------------
   14. 404
   -------------------------------------------------------------------------- */
.oops { padding-block: clamp(3rem, 9vw, 7rem); }
.oops__code {
  font-size: var(--fs-mega);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-mega);
  font-weight: 700;
  color: var(--cobalt);
  margin: 0 0 var(--s-4);
}

/* --------------------------------------------------------------------------
   15. UTILITIES
   -------------------------------------------------------------------------- */
.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.stack > * + * { margin-top: var(--s-5); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   16. MOTION / PRINT
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  :root { --paper: #fff; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.45; }
  .masthead, .nav__mob, .pager, .skip, .chips, .foot__cols { display: none !important; }
  .masthead { position: static; }
  .answer-card, .answer-mini { background: #fff !important; color: #000 !important; border: 1pt solid #000; }
  .answer-card__a, .answer-mini__a, .answer-card__q { color: #000 !important; }
  .answer-card .label, .answer-mini .label { color: #000 !important; }
  .answer-card__stamp { color: #000 !important; border-top-color: #000; }
  .answer-card__stamp time, .answer-card__stamp b, .answer-card__stamp span { color: #000 !important; }
  .dateline { color: #000; }
  .answer-card::before { display: none; }
  .sec { border-top: 0.5pt solid #999; page-break-inside: avoid; }
  .sec__body, .sec__body--wide, .opener__main { grid-column: 1 / -1 !important; }
  a { color: #000; text-decoration: underline; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .foot { background: #fff; border-top: 0.5pt solid #999; margin-top: 1.5rem; }
  h1, h2, h3 { page-break-after: avoid; }
}
