﻿:root {
  --ink: #0a0a0a;
  --paper: #e4e0da;
  --white: #ffffff;
  --muted: #5d5a55;
  --salmon: #ea8a7b;
  --lavender: #a9b1da;
  --indigo: #283272;
  --line: rgba(10, 10, 10, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Inter Tight", "Inter", sans-serif;
  --font-editorial: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1200px;
  --gutter: 24px;
  --radius: 24px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--salmon);
  color: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--salmon);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 122px 1fr auto;
  align-items: center;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px var(--gutter);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 122px;
}

.brand img {
  width: 122px;
  height: auto;
  filter: invert(1);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.main-nav a {
  position: relative;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.main-nav a::before,
.main-nav a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 7px;
  border-top: 1px solid var(--salmon);
  border-bottom: 1px solid var(--salmon);
  content: "";
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.main-nav a::before {
  left: -7px;
  border-left: 1px solid var(--salmon);
  transform: translateX(-3px);
}

.main-nav a::after {
  right: -7px;
  border-right: 1px solid var(--salmon);
  transform: translateX(3px);
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav a:hover::before,
.main-nav a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.header-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--salmon);
  border-radius: 999px;
  background: var(--salmon);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.header-pill:hover {
  border-color: #d97464;
  background: #d97464;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 74vh;
  padding: 180px var(--gutter) 96px;
  background: #0a0a0a;
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 80vw;
  height: 80vw;
  max-width: 1000px;
  max-height: 1000px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 35%, rgba(234, 138, 123, 0.72), transparent 34%),
    radial-gradient(circle at 62% 55%, rgba(169, 177, 218, 0.36), transparent 36%),
    radial-gradient(circle at 70% 35%, rgba(40, 50, 114, 0.7), transparent 45%);
  content: "";
  filter: blur(70px);
  opacity: 0.75;
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 88px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 42px;
  color: var(--salmon);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--salmon);
  content: "";
}

.hero h1 {
  max-width: 1050px;
  margin: 0 0 42px;
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 12.5vw, 11.5rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.8;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-lede {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-editorial);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-style: italic;
  line-height: 1.4;
  text-wrap: balance;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  max-width: 1050px;
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-meta span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--salmon);
  content: "";
}

.summary {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--max);
  margin: -44px auto 0;
  padding: 0 var(--gutter);
}

.summary-card {
  display: flex;
  flex-direction: column;
  min-height: 196px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.summary-card:hover {
  border-color: rgba(234, 138, 123, 0.8);
  transform: translateY(-4px);
}

.summary-number {
  margin-bottom: auto;
  color: var(--salmon);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.summary-card h2 {
  margin: 34px 0 9px;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.summary-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.article-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  justify-content: center;
  gap: clamp(40px, 8vw, 110px);
  max-width: var(--max);
  margin: 104px auto 120px;
  padding: 0 var(--gutter);
}

.toc {
  position: sticky;
  top: 30px;
  align-self: start;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.toc-title {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.toc nav {
  display: flex;
  flex-direction: column;
}

.toc nav a {
  padding: 5px 0 5px 11px;
  border-left: 1px solid transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.45;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.toc nav a:hover {
  border-left-color: var(--salmon);
  color: var(--ink);
}

.toc-back {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.toc-back:hover {
  color: var(--salmon);
}

.policy {
  min-width: 0;
}

.notice {
  margin: 0 0 46px;
  padding: 19px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--salmon);
  border-radius: 0 16px 16px 0;
  background: var(--white);
}

.notice p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.notice strong {
  color: var(--ink);
  font-weight: 600;
}

.policy > p {
  overflow-wrap: anywhere;
  margin: 0 0 21px;
  color: #2b2a27;
  font-size: 16.5px;
  line-height: 1.75;
}

.policy > p:first-of-type {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
}

.policy h2 {
  scroll-margin-top: 32px;
  margin: 60px 0 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-transform: uppercase;
  text-wrap: balance;
}

.policy h2:first-of-type {
  margin-top: 0;
}

.policy h3 {
  scroll-margin-top: 32px;
  margin: 34px 0 12px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-transform: uppercase;
}

.policy ul {
  margin: 0 0 24px;
  padding-left: 20px;
}

.policy li {
  overflow-wrap: anywhere;
  margin: 0 0 8px;
  padding-left: 4px;
  color: #2b2a27;
  font-size: 15.5px;
  line-height: 1.65;
}

.policy li::marker {
  color: var(--salmon);
}

.policy a {
  text-decoration: underline;
  text-decoration-color: var(--salmon);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: background-color 0.2s ease;
}

.policy a:hover {
  background: rgba(234, 138, 123, 0.16);
}

.policy strong {
  color: var(--ink);
  font-weight: 600;
}

.policy code {
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(10, 10, 10, 0.07);
  font-family: var(--font-mono);
  font-size: 0.84em;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--gutter) 80px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
}

.footer-brand p {
  margin: 0;
}

.footer-wordmark {
  margin-bottom: 5px !important;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--salmon);
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 122px 1fr auto;
    gap: 18px;
  }

  .main-nav {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .header-pill {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero {
    min-height: auto;
    padding-top: 150px;
  }

  .summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    margin-top: 72px;
  }

  .toc {
    position: static;
    padding-bottom: 20px;
  }

  .toc nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .toc-back {
    max-width: 240px;
  }

  .policy {
    max-width: 760px;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 18px;
  }

  .site-header {
    padding-top: 20px;
  }

  .brand,
  .brand img {
    width: 108px;
  }

  .hero {
    padding-top: 126px;
    padding-bottom: 82px;
  }

  .eyebrow {
    margin-bottom: 30px;
  }

  .hero h1 {
    margin-bottom: 30px;
    font-size: clamp(3.7rem, 18vw, 6rem);
  }

  .hero-lede {
    font-size: 1.18rem;
  }

  .hero-meta {
    display: grid;
    gap: 8px;
    margin-top: 42px;
  }

  .summary {
    grid-template-columns: 1fr;
    margin-top: -28px;
  }

  .summary-card {
    min-height: 158px;
    padding: 20px;
  }

  .summary-card h2 {
    margin-top: 28px;
  }

  .article-shell {
    margin-top: 62px;
    margin-bottom: 80px;
  }

  .toc nav {
    grid-template-columns: 1fr;
  }

  .policy > p,
  .policy > p:first-of-type {
    font-size: 15.5px;
    line-height: 1.7;
  }

  .policy h2 {
    margin-top: 48px;
    padding-top: 24px;
  }

  .policy li {
    font-size: 15px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    --paper: #ffffff;
    --ink: #000000;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 11pt;
  }

  .site-header,
  .summary,
  .toc,
  .skip-link,
  .hero::before,
  .hero::after {
    display: none !important;
  }

  .hero {
    min-height: 0;
    padding: 0 0 28px;
    background: #ffffff;
    color: #000000;
  }

  .hero h1 {
    font-size: 40pt;
  }

  .hero-lede,
  .hero-meta {
    color: #333333;
  }

  .hero-meta {
    border-color: #cccccc;
  }

  .article-shell {
    display: block;
    max-width: none;
    margin: 24px 0;
    padding: 0;
  }

  .policy h2 {
    break-after: avoid;
    font-size: 18pt;
  }

  .policy h3 {
    break-after: avoid;
    font-size: 12pt;
  }

  .policy p,
  .policy li {
    color: #000000;
  }

  .site-footer {
    max-width: none;
    padding: 18px 0 0;
    color: #000000;
  }
}

