:root {
  --navy: #001b3d;
  --navy-deep: #031321;
  --card: #0c2945;
  --gold: #dfb935;
  --gold-soft: #f2d883;
  --cream: #f7f0df;
  --muted: #bdc9d4;
  --border: rgba(223, 185, 53, 0.28);
  --danger: #ffb4ab;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(223, 185, 53, 0.18), transparent 32rem),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 74%);
  color: var(--cream);
  line-height: 1.65;
}

a {
  color: var(--gold-soft);
}

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

.site-header,
.site-footer,
.page-shell {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

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

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gold);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-soft);
}

.page-shell {
  padding-block: clamp(2.5rem, 7vw, 6rem);
}

.hero {
  max-width: 52rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  max-width: 48rem;
  margin-bottom: 1rem;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 7vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 0.8rem;
  color: var(--gold-soft);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

h3 {
  margin-bottom: 0.4rem;
  color: var(--cream);
  font-size: 1.05rem;
}

.lead {
  max-width: 46rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.updated {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--gold);
  border-radius: 0.85rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 850;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--gold-soft);
}

.section-grid,
.content-section {
  margin-top: clamp(2.5rem, 7vw, 5rem);
}

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

.card,
.notice,
.step {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: rgba(12, 41, 69, 0.78);
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.18);
}

.card {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.card p,
.content-section p,
.content-section li,
.step p {
  color: var(--muted);
}

.card p:last-child,
.step p:last-child {
  margin-bottom: 0;
}

.notice {
  padding: 1.15rem 1.3rem;
  border-color: rgba(255, 180, 171, 0.45);
  margin-top: 2rem;
}

.notice strong {
  color: var(--danger);
}

.steps {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 1.3rem 1.3rem 1.3rem 4.4rem;
  counter-increment: steps;
}

.step::before {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  content: counter(steps);
  font-weight: 900;
}

.plain-list {
  padding-left: 1.2rem;
}

.plain-list li + li {
  margin-top: 0.45rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  background: var(--cream);
  color: var(--navy-deep);
  transform: translateY(-180%);
}

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

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

  .site-nav {
    justify-content: flex-start;
  }

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

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