:root {
  color-scheme: dark;
  --red-950: #210202;
  --red-900: #350404;
  --red-700: #7f130d;
  --paper: #fff6e6;
  --ink: #281916;
  --muted: #765f54;
  --cream: #fff8e8;
  --amber: #ff9a22;
  --mint: #75f0bd;
  --line: rgba(255, 248, 232, 0.2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 0, rgba(255, 154, 34, 0.2), transparent 28rem),
    linear-gradient(180deg, var(--red-700), var(--red-950) 62rem);
}

a {
  color: inherit;
}

.site-header,
.footer,
main {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 800;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.nav {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 1, 1, 0.35);
}

.nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 248, 232, 0.82);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--paper);
}

.home {
  padding: 70px 0 54px;
}

.hero {
  text-align: center;
}

.hero-icon {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.eyebrow {
  margin: 26px 0 12px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1;
}

.lead {
  max-width: 660px;
  margin: 20px auto 0;
  color: rgba(255, 248, 232, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: linear-gradient(180deg, #ffd391, var(--amber));
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(20, 1, 1, 0.35);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 58px;
}

.link-card,
.paper-document {
  border: 1px solid rgba(103, 77, 46, 0.24);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.24);
}

.link-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 24px;
  text-align: left;
  text-decoration: none;
}

.card-kicker {
  color: #a11a12;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.link-card strong {
  font-size: 26px;
  line-height: 1.1;
}

.link-card span:last-child {
  color: var(--muted);
  line-height: 1.65;
}

.document-layout {
  padding: 44px 0 54px;
}

.document-hero {
  text-align: center;
}

.document-hero .eyebrow {
  margin-top: 0;
}

.document-hero h1 {
  font-size: clamp(40px, 8vw, 64px);
}

.paper-document {
  margin-top: 34px;
  padding: clamp(24px, 5vw, 44px);
}

.paper-document section + section {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(72, 42, 18, 0.13);
}

.paper-document h2 {
  margin: 0 0 14px;
  color: #4a130e;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
}

.paper-document h3 {
  margin: 20px 0 8px;
  color: #5a2117;
  font-size: 18px;
}

.paper-document p,
.paper-document li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.paper-document p {
  margin: 0 0 12px;
}

.paper-document ul {
  margin: 0;
  padding-left: 1.2rem;
}

.paper-document a {
  color: #a01812;
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 26px;
  color: rgba(255, 248, 232, 0.62);
  font-size: 13px;
}

.footer a {
  color: rgba(255, 248, 232, 0.82);
  text-decoration: none;
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .actions,
  .button {
    width: 100%;
  }

  .nav a,
  .button {
    flex: 1;
  }

  .home {
    padding-top: 42px;
  }

  .hero-icon {
    width: 112px;
    height: 112px;
    border-radius: 26px;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
