:root {
  --ink: #102820;
  --ink-soft: #365249;
  --paper: #f3f0e7;
  --paper-deep: #e8e2d4;
  --line: rgba(16, 40, 32, 0.2);
  --signal: #d8643f;
  --white: #fffdf7;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Aptos, "Segoe UI", Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 6%, rgba(216, 100, 63, 0.13), transparent 26rem),
    var(--paper);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-color: rgba(216, 100, 63, 0.65);
  text-underline-offset: 0.22em;
}

a:hover { text-decoration-color: var(--signal); }

a:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.page-shell {
  width: min(100%, 1440px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
}

.site-header,
footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 84px;
  padding: 0 clamp(24px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}

nav { display: flex; gap: clamp(18px, 3vw, 42px); }

nav a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.hero {
  min-height: 660px;
  padding: clamp(72px, 10vw, 150px) clamp(24px, 9vw, 140px) 90px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-number {
  margin: 0 0 28px;
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { text-wrap: pretty; }

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
}

h1 {
  max-width: 1020px;
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 8.5rem);
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--signal);
  font-weight: 400;
}

.hero-copy {
  max-width: 610px;
  margin: 52px 0 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
}

.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin: 58px 0 0 auto;
  width: min(100%, 610px);
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-line span::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--signal);
  content: "";
  vertical-align: 0.08em;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: clamp(48px, 8vw, 130px);
  padding: clamp(80px, 10vw, 150px) clamp(24px, 9vw, 140px);
  border-bottom: 1px solid var(--line);
}

h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.4rem, 4.6vw, 5.4rem);
  letter-spacing: -0.04em;
}

.prose {
  align-self: end;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.prose p:first-child { margin-top: 0; }
.prose p:last-child { margin-bottom: 0; }

.access-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 130px);
  padding: clamp(80px, 9vw, 130px) clamp(24px, 7vw, 105px);
  background: var(--ink);
  color: var(--paper);
}

.access-panel .section-number { color: #ea8c6e; }

.access-panel h2 { font-size: clamp(2.4rem, 4vw, 4.8rem); }

.access-list { border-top: 1px solid rgba(243, 240, 231, 0.25); }

.access-list article {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(243, 240, 231, 0.25);
}

.access-list .index,
.scope {
  color: #ea8c6e;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.access-list h3 { margin: 0 0 8px; font-size: 1.5rem; }
.access-list p { margin: 0; color: rgba(243, 240, 231, 0.67); }

.scope {
  padding: 6px 10px;
  border: 1px solid rgba(234, 140, 110, 0.5);
  border-radius: 999px;
  white-space: nowrap;
}

.legal-callout {
  padding: clamp(90px, 11vw, 170px) clamp(24px, 13vw, 190px);
  text-align: center;
}

.legal-callout h2 { margin-inline: auto; }

.legal-callout > p:last-child {
  max-width: 650px;
  margin: 38px auto 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

footer {
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer > nav { justify-self: end; }
.footer-note { color: var(--ink-soft); text-align: center; }

/* Legal documents */
.document-header {
  padding: clamp(80px, 10vw, 145px) clamp(24px, 9vw, 140px) clamp(65px, 8vw, 110px);
  border-bottom: 1px solid var(--line);
}

.document-header h1 { font-size: clamp(3.7rem, 7vw, 7.6rem); }

.document-header .lead {
  max-width: 730px;
  margin: 46px 0 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
}

.document-body {
  display: grid;
  grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 150px);
  padding: clamp(70px, 9vw, 130px) clamp(24px, 9vw, 140px) 150px;
}

.document-body aside {
  position: sticky;
  top: 30px;
  align-self: start;
  padding-top: 22px;
  border-top: 2px solid var(--signal);
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.document-body aside > p {
  margin-top: 0;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.document-body aside ul { margin: 18px 0 0; padding-left: 18px; }
.document-body article { max-width: 760px; }

.document-body article section {
  padding: 0 0 52px;
  margin: 0 0 52px;
  border-bottom: 1px solid var(--line);
}

.document-body article section:last-child { margin-bottom: 0; }

.document-body article h2 {
  margin: 0 0 26px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
}

.document-body article h2 span {
  margin-right: 8px;
  color: var(--signal);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 800;
  vertical-align: 0.55em;
}

.document-body article p,
.document-body article li { color: var(--ink-soft); }
.document-body article p:last-child { margin-bottom: 0; }
.document-body article li + li { margin-top: 8px; }

@media (prefers-reduced-motion: no-preference) {
  .hero > *, .document-header > * {
    animation: rise 600ms both;
  }
  .hero > :nth-child(2), .document-header > :nth-child(2) { animation-delay: 80ms; }
  .hero > :nth-child(3), .document-header > :nth-child(3) { animation-delay: 160ms; }
  .hero > :nth-child(4) { animation-delay: 240ms; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 780px) {
  .site-header { min-height: 72px; }
  .site-header nav { gap: 16px; }
  .hero { min-height: auto; }
  .content-grid,
  .access-panel,
  .document-body { grid-template-columns: 1fr; }
  .access-panel { padding-block: 80px; }
  .document-body aside { position: static; }
  footer { grid-template-columns: 1fr; padding-block: 28px; }
  footer > nav, .footer-note { justify-self: start; text-align: left; }
}

@media (max-width: 520px) {
  .site-header { grid-template-columns: 1fr; gap: 14px; padding-block: 18px; }
  .access-list article { grid-template-columns: 24px 1fr; }
  .scope { grid-column: 2; justify-self: start; }
}
