@font-face {
  font-family: "Fraunces";
  src: url("/fraunces-semibold-v1.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/fraunces-bold-v1.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --background: #fcfcfc;
  --card: #f1f1f1;
  --card-elevated: #ffffff;
  --ink: #141414;
  --ink-inverse: #ffffff;
  --muted: #6b6b6b;
  --stroke: rgba(0, 0, 0, 0.08);
  --chip-stroke: rgba(0, 0, 0, 0.18);
  --accent: #c73d1c;
  --accent-bright: #de5229;
  --on-accent: #ffffff;
  --accent-soft: rgba(199, 61, 28, 0.12);
  --shadow: rgba(51, 51, 51, 0.07);
  --accent-shadow: rgba(199, 61, 28, 0.30);
  --danger: #bf1f24;
  --radius: 22px;
  --body-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", sans-serif;
  --display-font: "Fraunces", Georgia, serif;
  font-family: var(--body-font);
  background: var(--background);
  color: var(--ink);
  font-synthesis: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0d0d0d;
    --card: #1f1f1f;
    --card-elevated: #2e2e2e;
    --ink: #f7f7f7;
    --ink-inverse: #141414;
    --muted: #9e9e9e;
    --stroke: rgba(255, 255, 255, 0.12);
    --chip-stroke: rgba(255, 255, 255, 0.22);
    --accent: #ff7a52;
    --accent-bright: #ff946b;
    --on-accent: #2e0d05;
    --accent-soft: rgba(255, 122, 82, 0.12);
    --shadow: rgba(0, 0, 0, 0.50);
    --accent-shadow: rgba(255, 122, 82, 0.25);
    --danger: #ff6569;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

a:hover { color: var(--accent-bright); }

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 7px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: var(--on-accent);
  font-weight: 700;
}

.skip-link:focus { top: 1rem; }

.site-header {
  width: min(1100px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--stroke);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  text-decoration: none;
}

.wordmark:hover { color: var(--ink); }

.wordmark picture,
.wordmark img {
  width: 34px;
  height: 34px;
  display: block;
}

.wordmark img {
  border-radius: 9px;
  box-shadow: 0 6px 16px var(--accent-shadow);
}

nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

nav a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover {
  background: var(--card);
  color: var(--ink);
}

nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
}

main,
.site-footer {
  width: min(1100px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.hero {
  min-height: 610px;
  padding: 6rem 0 5.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 5rem;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--display-font);
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero h1 {
  margin-bottom: 0;
  font-size: clamp(4rem, 8.5vw, 7.5rem);
  font-weight: 700;
}

.lede {
  max-width: 42rem;
  margin: 1.9rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
}

.hero-mark picture,
.hero-mark img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 330px);
  aspect-ratio: 1;
}

.hero-mark img {
  border-radius: 25%;
  box-shadow:
    0 28px 70px var(--shadow),
    0 14px 46px var(--accent-shadow);
}

.hero-icon-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent-soft);
  filter: blur(34px);
}

.documents {
  padding: 5.5rem 0 8rem;
  border-top: 1px solid var(--stroke);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin-bottom: 1.15rem;
  font-size: clamp(2.7rem, 5.5vw, 4.8rem);
  font-weight: 700;
}

.section-heading > p:last-child { color: var(--muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.document-card {
  position: relative;
  min-height: 330px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 14px 34px var(--shadow);
  color: var(--muted);
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.document-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 2rem;
  left: 2rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
  opacity: 0.88;
}

.document-card:hover {
  transform: translateY(-4px);
  background: var(--card-elevated);
  box-shadow: 0 20px 46px var(--shadow);
  color: var(--muted);
}

.card-kicker {
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.document-card strong {
  margin: 1.35rem 0 0.75rem;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.card-link {
  margin-top: auto;
  padding-top: 2rem;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

.page-intro {
  max-width: 780px;
  padding: 5rem 0 2.25rem;
  border-bottom: 1px solid var(--stroke);
}

.page-intro .eyebrow { color: var(--accent); }

.updated {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-copy {
  max-width: 780px;
  padding: 2.75rem 0 7rem;
}

.legal-copy > h1 {
  margin-bottom: 2.2rem;
  font-size: clamp(3.25rem, 7.5vw, 6rem);
  font-weight: 700;
}

.legal-copy h2 {
  margin: 3.8rem 0 1.05rem;
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  font-weight: 600;
}

.legal-copy h3 {
  margin: 2.6rem 0 0.7rem;
  font-size: 1.42rem;
  font-weight: 600;
}

.legal-copy p,
.legal-copy li { color: var(--muted); }

.legal-copy strong { color: var(--ink); }

.legal-copy hr {
  margin: 3.5rem 0;
  border: 0;
  border-top: 1px solid var(--stroke);
}

.legal-copy blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--stroke);
  border-left: 4px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: var(--accent-soft);
}

.legal-copy blockquote p { margin: 0; }

.legal-copy table {
  width: 100%;
  margin: 1.8rem 0;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  border-spacing: 0;
  background: var(--card);
  font-size: 0.95rem;
}

.legal-copy th,
.legal-copy td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--stroke);
  text-align: left;
  vertical-align: top;
}

.legal-copy tr:last-child td { border-bottom: 0; }

.legal-copy th {
  background: var(--card-elevated);
  color: var(--ink);
}

.legal-copy code {
  padding: 0.15em 0.35em;
  border: 1px solid var(--stroke);
  border-radius: 0.35em;
  background: var(--card);
  color: var(--ink);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.legal-copy ul,
.legal-copy ol { padding-left: 1.3rem; }

.site-footer {
  padding: 2.5rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer p { margin: 0; }

.missing {
  min-height: 70vh;
  padding: 8rem 0;
}

.missing .eyebrow { color: var(--accent); }

.missing h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7.5vw, 5.7rem);
  font-weight: 700;
}

.missing p:last-child { color: var(--muted); }

@media (max-width: 780px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 32px, 1100px);
  }

  .site-header { min-height: 76px; }
  .wordmark { font-size: 1.38rem; }
  .wordmark picture, .wordmark img { width: 30px; height: 30px; }
  nav { gap: 0.1rem; }
  nav a { padding: 0.4rem 0.62rem; font-size: 0.8rem; }

  .hero {
    min-height: auto;
    padding: 4.5rem 0 5rem;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-mark { min-height: 280px; }
  .hero-mark picture, .hero-mark img { width: min(75vw, 285px); }
  .documents { padding: 4.5rem 0 6rem; }
  .card-grid { grid-template-columns: 1fr; }
  .document-card { min-height: 250px; }
  .page-intro { padding-top: 4rem; }
  .legal-copy table { display: block; overflow-x: auto; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(3.5rem, 18vw, 5rem); }
  .legal-copy > h1 { font-size: 3.15rem; }
  .site-footer { flex-direction: column; gap: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
