:root {
  color-scheme: dark;
  --background: #090909;
  --surface: #151515;
  --surface-high: #202020;
  --text: #fff8f4;
  --muted: #b9b2ae;
  --primary: #ff7900;
  --primary-deep: #ff3d00;
  --accent: #ffb44d;
  --outline: #3b3532;
  --content-width: 780px;
  --shadow: 0 24px 70px rgb(0 0 0 / 35%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% -10%, rgb(255 61 0 / 18%), transparent 34rem),
    radial-gradient(circle at 95% 5%, rgb(255 121 0 / 12%), transparent 28rem),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--primary);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  background: rgb(9 9 9 / 82%);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  width: min(calc(100% - 2rem), 1080px);
  min-height: 68px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  box-shadow: 0 8px 22px rgb(255 86 0 / 28%);
  place-items: center;
}

.brand-mark::after {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid white;
  content: "";
  transform: translateX(1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--surface-high);
  color: var(--text);
}

main {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 4.5rem 0 6rem;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid rgb(255 121 0 / 30%);
  border-radius: 30px;
  background: linear-gradient(135deg, rgb(255 61 0 / 96%), rgb(255 121 0 / 92%));
  box-shadow: var(--shadow);
  padding: clamp(1.8rem, 5vw, 3.25rem);
}

.hero::after {
  position: absolute;
  width: 15rem;
  height: 15rem;
  border: 2.5rem solid rgb(255 255 255 / 8%);
  border-radius: 50%;
  content: "";
  right: -6rem;
  top: -8rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: rgb(255 255 255 / 84%);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 900;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 60ch;
  margin: 1rem 0 0;
  color: rgb(255 255 255 / 90%);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.pill {
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  background: rgb(20 8 0 / 16%);
  color: white;
  font-size: 0.82rem;
  font-weight: 750;
  padding: 0.42rem 0.75rem;
}

.summary,
.legal-section,
.document-card {
  border: 1px solid var(--outline);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface-high), var(--surface));
  box-shadow: 0 14px 40px rgb(0 0 0 / 16%);
}

.summary {
  margin-bottom: 1rem;
  padding: 1.35rem 1.5rem;
  color: var(--muted);
}

.summary strong {
  color: var(--text);
}

.legal-section {
  margin-top: 1rem;
  padding: clamp(1.35rem, 4vw, 2rem);
}

.legal-section h2 {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: 1.35rem;
}

.legal-section h3 {
  margin: 1.35rem 0 0.45rem;
  color: var(--text);
  font-size: 1.02rem;
}

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

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  padding-left: 1.3rem;
}

.legal-section li + li {
  margin-top: 0.45rem;
}

.callout {
  margin-top: 1rem;
  border-left: 4px solid var(--primary);
  border-radius: 0 14px 14px 0;
  background: rgb(255 121 0 / 8%);
  padding: 1rem 1.15rem;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.document-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 1.6rem;
}

.document-card h2 {
  margin: 0 0 0.65rem;
}

.document-card p {
  margin: 0;
  color: var(--muted);
}

.document-card a {
  display: inline-flex;
  margin-top: auto;
  align-self: flex-start;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: white;
  font-weight: 800;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.page-footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  border-top: 1px solid var(--outline);
  color: var(--muted);
  font-size: 0.88rem;
  padding: 1.5rem 0 3rem;
  text-align: center;
}

.page-footer p {
  margin: 0.35rem 0;
}

@media (max-width: 640px) {
  .nav {
    min-height: 62px;
  }

  .nav-links a {
    padding: 0.5rem 0.6rem;
  }

  .nav-links .optional-label {
    display: none;
  }

  main {
    padding-top: 2rem;
  }

  .hero {
    border-radius: 24px;
  }

  .document-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: white;
    color: #111;
  }

  .site-header {
    display: none;
  }

  main {
    width: 100%;
    padding: 0;
  }

  .hero,
  .summary,
  .legal-section {
    border-color: #bbb;
    background: white;
    box-shadow: none;
    color: #111;
    break-inside: avoid;
  }

  .hero-copy,
  .legal-section p,
  .legal-section li,
  .summary {
    color: #222;
  }

  .pill {
    border-color: #999;
    background: white;
    color: #111;
  }

  .page-footer {
    color: #333;
  }
}
