:root {
  color-scheme: dark;
  --navy-950: #07111d;
  --navy-900: #0b1826;
  --navy-800: #122438;
  --ivory: #f3eedf;
  --ivory-muted: #c8c4b8;
  --gold: #c6a96b;
  --gold-light: #e0c98f;
  --line: rgba(243, 238, 223, 0.16);
  --focus: #f4d58d;
  --measure: 68ch;
  --shell: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--navy-950);
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  color: var(--gold-light);
}

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

p,
li,
code,
a {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

h2 {
  max-width: 23ch;
  margin-bottom: 1.25rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

code {
  color: var(--gold-light);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
}

.shell {
  width: min(calc(100% - 2.5rem), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  transform: translateY(-160%);
  background: var(--ivory);
  color: var(--navy-950);
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 29, 0.96);
}

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

.wordmark {
  color: var(--ivory);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-decoration: none;
}

.nav-list,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a,
.footer-links a {
  color: var(--ivory-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.hero {
  padding-block: clamp(5rem, 12vw, 10rem);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-copy,
.lead-statement {
  max-width: var(--measure);
  color: var(--ivory-muted);
  font-size: clamp(1.08rem, 2.4vw, 1.32rem);
}

.hero-copy {
  margin-bottom: 2rem;
}

.text-link {
  color: var(--gold-light);
  font-weight: 650;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}

.section p:not(.eyebrow, .section-number, .lead-statement),
.section li {
  max-width: var(--measure);
  color: var(--ivory-muted);
}

.section-heading {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 8vw, 7rem);
}

.section-number {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.8rem;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding-left: 1.2rem;
}

.feature-list li::marker {
  color: var(--gold);
}

.note {
  max-width: var(--measure);
  margin-top: 2.5rem;
  padding: 1.2rem 1.4rem;
  border-left: 2px solid var(--gold);
  background: var(--navy-900);
}

.note p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.contact-band {
  padding-block: clamp(4rem, 8vw, 6rem);
  background: var(--ivory);
  color: var(--navy-950);
}

.contact-band .eyebrow {
  color: #705a28;
}

.contact-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.contact-inner h2 {
  margin-bottom: 0;
}

.contact-link {
  color: var(--navy-950);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
}

.contact-link:hover {
  color: #705a28;
}

.site-footer {
  padding-block: 4rem 2rem;
  background: #050c14;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.footer-wordmark {
  margin-bottom: 1.2rem;
}

.operator-description {
  max-width: 34rem;
  color: var(--ivory-muted);
}

.footer-links {
  justify-content: flex-end;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ivory-muted);
  font-size: 0.78rem;
}

.footer-base p {
  margin-bottom: 0;
}

.document-header {
  padding-block: clamp(4rem, 9vw, 7rem);
  border-bottom: 1px solid var(--line);
}

.document-header h1 {
  max-width: 18ch;
}

.effective-date {
  margin-bottom: 0;
  color: var(--ivory-muted);
}

.document {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, var(--measure));
  gap: clamp(2.5rem, 7vw, 6rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.document-intro {
  color: var(--gold-light);
  font-size: 1.08rem;
}

.document-body section + section {
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--line);
}

.document-body h2 {
  max-width: none;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.document-body p,
.document-body li {
  color: var(--ivory-muted);
}

.document-body ul {
  padding-left: 1.2rem;
}

.document-body li + li {
  margin-top: 0.45rem;
}

.not-found {
  display: grid;
  min-height: calc(100vh - 5rem);
  place-items: center;
  padding-block: 4rem;
}

.not-found-panel {
  max-width: 42rem;
}

.error-code {
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.not-found p:not(.error-code) {
  max-width: 38rem;
  color: var(--ivory-muted);
}

@media (max-width: 48rem) {
  .header-inner,
  .contact-inner,
  .footer-base {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner {
    padding-block: 1.2rem;
  }

  .section-grid,
  .footer-grid,
  .document {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 24rem) {
  .shell {
    width: min(calc(100% - 1.5rem), var(--shell));
  }

  .nav-list {
    gap: 0.5rem 0.9rem;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr);
  }
}

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