:root {
  color-scheme: light;
  --ink: #f5edd9;
  --ink-raised: #fffcf4;
  --velvet: #daeee8;
  --rose: #284958;
  --rose-bright: #1b3340;
  --rose-deep: #3e6473;
  --ivory: #293e4b;
  --ivory-muted: #334750;
  --amethyst: #184e59;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ivory);
  background:
    radial-gradient(ellipse at 15% 0%, #a8dad3 0%, transparent 46%),
    linear-gradient(#f5edd9, #fffcf4);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: var(--rose-bright);
  overflow-wrap: anywhere;
}

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

.shell {
  width: min(100% - 32px, 840px);
  margin: 0 auto;
  padding: 28px 0 56px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rose-deep);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border: 1px solid var(--rose);
  border-radius: 13px;
}

.brand span {
  color: var(--rose-bright);
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.nav-links a {
  color: var(--ivory-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero,
.document {
  margin-top: 34px;
  padding: clamp(24px, 6vw, 54px);
  border: 1px solid var(--rose);
  background: var(--ink-raised);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(41, 62, 75, 0.1);
}

.hero {
  text-align: center;
}

.hero-icon {
  width: min(54vw, 220px);
  height: auto;
  border: 1px solid var(--rose-deep);
  border-radius: 28%;
}

.eyebrow {
  margin: 22px 0 0;
  color: var(--rose);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--rose-bright);
  font-weight: 500;
}

h1 {
  margin: 10px 0;
  font-size: clamp(2.7rem, 9vw, 5.2rem);
  line-height: 0.95;
}

.document h1 {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
}

h2 {
  margin-top: 2rem;
  font-size: 1.65rem;
}

h3 {
  margin-top: 1.4rem;
}

p,
li {
  color: var(--ivory-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.lead {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 1.25rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--rose);
  color: var(--ivory);
  background: var(--ink-raised);
  border-radius: 24px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  color: var(--ink);
  background: var(--rose-bright);
  border-color: var(--rose-bright);
}

.notice {
  margin: 22px 0;
  padding: 18px;
  border-left: 3px solid var(--amethyst);
  background: var(--velvet);
}

.metadata {
  color: var(--rose);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer {
  padding: 30px 8px 0;
  color: var(--ivory-muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero,
  .document {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
