:root {
  color-scheme: light;
  --brand-red: #cd1321;
  --brand-red-dark: #a90f1a;
  --ink: #151515;
  --body-copy: #5f5f5f;
  --muted: #919ca4;
  --line: #e3e3e3;
  --soft: #f7f8f9;
  --paper: #ffffff;
  --legal-serif: "Iowan Old Style", "Apple Garamond", Baskerville,
    "Times New Roman", "Droid Serif", Times, "Source Serif Pro", serif;
  --brand-sans: Futura, "Futura PT", "Century Gothic", Avenir, Montserrat,
    "Segoe UI", Arial, sans-serif;
  --page-gutter: clamp(1.25rem, 5vw, 5rem);
  --content-width: 53.75rem;
  --wide-width: 75rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--brand-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--brand-red);
}

a:focus-visible {
  border-radius: 1px;
  outline: 2px solid var(--brand-red);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 6.25rem;
  border-bottom: 1px solid rgba(21, 21, 21, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner {
  width: min(100%, var(--wide-width));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.header-inner {
  display: flex;
  min-height: 6.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 4.5rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3.5vw, 3.25rem);
}

.nav-link {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link-active::after {
  height: 2px;
  background: var(--brand-red);
}

.hero {
  position: relative;
  background: var(--paper);
}

.hero-inner {
  width: min(100%, 61rem);
  margin-inline: auto;
  padding: clamp(5.75rem, 9vw, 7.75rem) var(--page-gutter)
    clamp(3.75rem, 7vw, 5rem);
  text-align: center;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--brand-red);
  font-family: var(--brand-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 15ch;
  margin: 0.65rem auto 1.15rem;
  color: var(--ink);
  font-family: var(--legal-serif);
  font-size: clamp(3rem, 8vw, 3.75rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.hero-subtitle {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-kicker {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-family: var(--brand-sans);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.page-shell {
  width: min(100%, var(--wide-width));
  margin-inline: auto;
  padding: 0 var(--page-gutter) clamp(5rem, 9vw, 8rem);
}

.quick-facts {
  width: min(100%, 67rem);
  margin: 0 auto clamp(4rem, 8vw, 6.5rem);
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
}

.quick-facts-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.65rem;
}

.quick-facts-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: right;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.fact {
  min-width: 0;
  padding: 0 clamp(1rem, 2.6vw, 2rem);
  border-left: 1px solid var(--line);
}

.fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact:last-child {
  padding-right: 0;
}

.fact dt {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fact dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--legal-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.legal-content {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.legal-introduction {
  margin-bottom: 2.75rem;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.75;
}

.legal-introduction p {
  margin: 0;
}

.section-nav {
  margin-bottom: clamp(5rem, 9vw, 7rem);
  padding: 1.5rem clamp(1.25rem, 3.5vw, 2.25rem);
  background: var(--soft);
}

.section-nav ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 2rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.section-nav a {
  position: relative;
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.section-nav a::after {
  margin-left: 0.4rem;
  color: var(--brand-red);
  content: "↓";
  font-size: 0.8rem;
}

.terms-section + .terms-section {
  margin-top: clamp(5rem, 10vw, 8rem);
}

.section-heading {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: end;
  gap: 0.85rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--ink);
}

.section-index {
  margin: 0 0 0.28rem;
  color: var(--brand-red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.section-heading h2 {
  margin: 0.2rem 0 0;
  color: var(--ink);
  font-family: var(--legal-serif);
  font-size: clamp(1.9rem, 4.5vw, 2.4rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
}

.terms-list {
  margin: 0;
  padding-left: 2.4rem;
}

.terms-list li {
  padding-left: 0.35rem;
}

.terms-list li + li {
  margin-top: clamp(1.65rem, 4vw, 2.25rem);
}

.terms-list li::marker {
  color: var(--brand-red);
  font-family: var(--brand-sans);
  font-size: 0.82em;
  font-weight: 700;
}

.terms-list p {
  margin: 0;
  color: var(--body-copy);
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  line-height: 1.8;
}

.terms-list strong {
  color: var(--ink);
  font-weight: 700;
}

.terms-list a {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 700;
}

.terms-list a:hover {
  color: var(--brand-red);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.footer-inner {
  display: flex;
  min-height: 17rem;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.footer-logo {
  width: auto;
  height: 6.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem clamp(1.5rem, 3vw, 3rem);
}

.footer-links a {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.35rem;
  color: #777;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translateY(3px);
  opacity: 0;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

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

.footer-links a:hover::after {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 52rem) {
  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact {
    padding: 1.15rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .fact:nth-child(odd) {
    padding-right: 1.25rem;
  }

  .fact:nth-child(even) {
    padding-left: 1.25rem;
    border-left: 1px solid var(--line);
  }

  .fact:nth-child(-n + 2) {
    padding-top: 0;
    border-top: 0;
  }

  .fact:nth-last-child(-n + 2) {
    padding-bottom: 0;
  }
}

@media (max-width: 40rem) {
  html {
    scroll-padding-top: 5.5rem;
  }

  body {
    font-size: 1rem;
  }

  .site-header,
  .header-inner {
    min-height: 5rem;
  }

  .brand img {
    height: 3.6rem;
  }

  .nav-link-secondary {
    display: none;
  }

  .nav-link {
    font-size: 0.69rem;
  }

  .hero-inner {
    padding-top: 5rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4rem);
  }

  .hero-subtitle {
    max-width: 28ch;
    margin-inline: auto;
  }

  .quick-facts {
    margin-bottom: 4rem;
  }

  .quick-facts-heading {
    display: block;
  }

  .quick-facts-note {
    margin-top: 0.45rem;
    text-align: left;
  }

  .legal-introduction {
    font-size: 1.03rem;
    line-height: 1.75;
  }

  .section-nav ol {
    display: grid;
    gap: 0;
    margin-top: 0.5rem;
  }

  .section-nav li + li {
    border-top: 1px solid var(--line);
  }

  .section-nav a {
    width: 100%;
    min-height: 3rem;
    justify-content: space-between;
  }

  .terms-list {
    padding-left: 1.85rem;
  }

  .terms-list li {
    padding-left: 0.15rem;
  }

  .terms-list p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .footer-inner {
    min-height: 20rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2.25rem;
  }

  .footer-logo {
    height: 5.75rem;
  }

  .footer-links {
    width: 100%;
    justify-content: flex-start;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 25rem) {
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact:nth-child(odd),
  .fact:nth-child(even) {
    padding: 1rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .fact:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .fact:last-child {
    padding-bottom: 0;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.3rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  @page {
    margin: 18mm;
  }

  body {
    color: #000;
    font-size: 10pt;
    line-height: 1.5;
  }

  .site-header,
  .quick-facts,
  .section-nav,
  .site-footer {
    display: none;
  }

  .hero-inner {
    padding: 0 0 12mm;
  }

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

  .page-shell {
    width: auto;
    padding: 0;
  }

  .legal-content {
    width: auto;
  }

  .legal-introduction {
    margin-bottom: 10mm;
    font-size: 11pt;
  }

  .terms-section + .terms-section {
    margin-top: 12mm;
  }

  .section-heading {
    break-after: avoid;
    margin-bottom: 6mm;
  }

  .terms-list li {
    break-inside: avoid;
  }

  .terms-list p {
    color: #000;
    font-size: 10pt;
    line-height: 1.55;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}
