@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/archivo-black-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

:root {
  --bg: #f4f2ee;
  --fg: #0b0b0b;
  --hairline: rgba(11, 11, 11, .2);
  --hairline-strong: rgba(11, 11, 11, .3);
  --hairline-dark: rgba(244, 242, 238, .3);
  --content-width: 680px;
  --gutter: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Archivo', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, dl, dd { margin: 0; }

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: .55; }
sup { line-height: 0; }
sup a { text-decoration: none; }

::selection { background: var(--fg); color: var(--bg); }

.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--fg);
  color: var(--bg);
  border-bottom: 1px solid var(--bg);
}
.bar {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 11px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wordmark {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
}
.place {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .18em;
  opacity: .6;
}
.chip-nav {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter) 11px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.chip {
  flex: 0 0 auto;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--bg);
  padding: 5px 10px;
  opacity: 1;
}
.chip:hover {
  background: var(--bg);
  color: var(--fg);
  opacity: 1;
}

/* Hero */
.hero {
  background: var(--fg);
  color: var(--bg);
  padding: 34px var(--gutter) 44px;
}
.hero .wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero h1 {
  font-family: 'Archivo Black', Helvetica, sans-serif;
  font-size: clamp(34px, 9vw, 60px);
  line-height: .96;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.highlight {
  display: inline-block;
  background: var(--bg);
  color: var(--fg);
  padding: 0 .1em;
}
.lede {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
  text-wrap: pretty;
}
.dim {
  font-size: 16px;
  line-height: 1.55;
  opacity: .82;
  text-wrap: pretty;
}
.btn {
  align-self: flex-start;
  font-family: 'Archivo', Helvetica, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 18px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border: none;
  cursor: pointer;
}
.btn-light {
  background: var(--bg);
  color: var(--fg);
}
.btn-light:hover { opacity: .75; }
.btn-outline {
  border: 1px solid var(--bg);
  background: none;
  color: var(--bg);
}
.btn-outline:hover { background: var(--bg); color: var(--fg); opacity: 1; }

/* Sections */
main.wrap { padding: 0 var(--gutter); }

.section {
  padding: 44px 0;
  border-bottom: 1px solid var(--hairline);
  scroll-margin-top: 110px;
}
.section--recap { border-bottom: none; }

.index-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.index-num {
  font-family: 'Archivo Black', Helvetica, sans-serif;
  font-size: 34px;
  line-height: 1;
}
.eyebrow {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.section h2 {
  margin: 0 0 18px;
  font-family: 'Archivo Black', Helvetica, sans-serif;
  font-size: clamp(26px, 7vw, 38px);
  line-height: 1.03;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.section > p {
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.55;
  text-wrap: pretty;
}
.section > p:last-of-type { margin-bottom: 22px; }

.stat-grid {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}
.stat-card { padding: 18px; }
.stat-card--inverted { background: var(--fg); color: var(--bg); }
.stat-card--outlined { border: 2px solid var(--fg); }
.stat-num {
  font-family: 'Archivo Black', Helvetica, sans-serif;
  font-size: 38px;
  line-height: 1;
}
.stat-body {
  font-size: 14.5px;
  line-height: 1.4;
  margin-top: 6px;
}
.stat-card--inverted .stat-body { opacity: .85; }

.rule-block {
  border-top: 2px solid var(--fg);
  padding-top: 18px;
}
.rule-block .eyebrow { display: block; margin-bottom: 10px; }
.rule-block--loose { display: flex; flex-direction: column; gap: 14px; }
.rule-block--loose .eyebrow { margin-bottom: 0; }

.question {
  margin: 0 0 14px;
  font-family: 'Archivo Black', Helvetica, sans-serif;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.answer-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.answer-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  font-size: 15.5px;
  line-height: 1.45;
}
.answer-row--outlined { border: 1px solid var(--hairline-strong); }
.answer-row--inverted { background: var(--fg); color: var(--bg); }
.answer-label { font-weight: 700; font-size: 13px; letter-spacing: .1em; }

.how-item { display: flex; flex-direction: column; gap: 4px; }
.how-item h3 { font-size: 18px; font-weight: 700; line-height: 1.25; }
.how-item p { font-size: 15.5px; line-height: 1.45; }

.phrase-card { background: var(--fg); color: var(--bg); padding: 20px 18px; }
.phrase-card .eyebrow { display: block; margin-bottom: 14px; }
.phrase-list { display: flex; flex-direction: column; }
.phrase-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: baseline;
  padding: 9px 0;
  border-top: 1px solid var(--hairline-dark);
}
.phrase-ca { font-family: 'Archivo Black', Helvetica, sans-serif; font-size: 19px; }
.phrase-en { font-size: 14.5px; opacity: .75; }

.group-list { display: flex; flex-direction: column; border-top: 2px solid var(--fg); }
.group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline-strong);
}
.group-name-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.group h3 { font-family: 'Archivo Black', Helvetica, sans-serif; font-size: 21px; line-height: 1.1; }
.group-qualifier { font-weight: 600; font-size: 11px; letter-spacing: .06em; opacity: .65; }
.group p { font-size: 15.5px; line-height: 1.45; text-wrap: pretty; }
.group-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.recap-lede { margin-bottom: 20px; font-size: 16.5px; line-height: 1.55; }
.recap-list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.recap-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--hairline-strong);
  font-size: 16px;
  line-height: 1.4;
}
.recap-list li:last-child { border-bottom: 1px solid var(--hairline-strong); }
.recap-num { font-weight: 700; }

/* Closing */
.closing { background: var(--fg); color: var(--bg); padding: 44px var(--gutter); }
.closing .wrap { display: flex; flex-direction: column; gap: 22px; }
.closing-line {
  font-family: 'Archivo Black', Helvetica, sans-serif;
  font-size: clamp(32px, 9vw, 56px);
  line-height: .98;
  letter-spacing: -.025em;
}
.closing-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.closing-actions .btn { font-size: 11.5px; letter-spacing: .14em; padding: 12px 16px; }

/* Sources / footer */
.sources {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 36px var(--gutter) 56px;
  scroll-margin-top: 110px;
}
.sources-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-top: 2px solid var(--fg);
  padding: 16px 0;
  cursor: pointer;
  font-family: 'Archivo', Helvetica, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}
.sources-list {
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.5;
}
.sources-list li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.fn-num { font-weight: 600; }
.sources-footer {
  border-top: 1px solid var(--hairline);
  margin-top: 20px;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.dim-60 { opacity: .6; }
