:root {
  color-scheme: light;
  --ink: #241f2e;
  --muted: #625d68;
  --paper: #fffdfb;
  --line: #ddd4e8;
  --orange: #ff6238;
  --orange-dark: #c63b16;
  --lime: #cbf47c;
  --lavender: #e5dcff;
  --shadow: 0 18px 48px rgb(57 39 77 / 12%);
  font-family:
    Nunito,
    ui-rounded,
    'Segoe UI',
    system-ui,
    -apple-system,
    sans-serif;
  background: #f8f2ff;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(
      circle at 90% 0%,
      rgb(255 188 205 / 55%),
      transparent 34rem
    ),
    radial-gradient(
      circle at 0% 35%,
      rgb(214 203 255 / 70%),
      transparent 28rem
    ),
    linear-gradient(145deg, #fff8fa 0%, #f6f2ff 56%, #fff9f2 100%);
}

a {
  color: var(--orange-dark);
}

a:hover {
  color: var(--orange);
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.7rem 1rem;
  transform: translateY(-150%);
  border-radius: 0.75rem;
  background: var(--ink);
  color: white;
}

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

.site-header,
.site-footer,
main {
  width: min(72rem, calc(100% - 2rem));
  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.7rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 0.9rem;
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--ink);
}

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

.site-nav a {
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current='page'] {
  background: white;
  box-shadow: 0 4px 16px rgb(57 39 77 / 10%);
}

main {
  padding-block: 2.5rem 5rem;
}

.hero,
.document,
.handoff {
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 2rem;
  background: rgb(255 253 251 / 91%);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.75fr);
  gap: 2rem;
  padding: clamp(1.5rem, 5vw, 4.5rem);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 7vw, 5rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 {
  margin-top: 1.6rem;
  font-size: 1.15rem;
}

p,
li {
  line-height: 1.7;
}

.lead {
  max-width: 44rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-card {
  align-self: center;
  padding: 1.5rem;
  transform: rotate(2deg);
  border: 2px solid var(--ink);
  border-radius: 1.5rem;
  background: var(--lime);
  box-shadow: 8px 8px 0 var(--ink);
}

.hero-card strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 0.95rem;
  background: var(--orange);
  box-shadow: 4px 4px 0 var(--ink);
  color: #1f1723;
  font-weight: 900;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
  color: #1f1723;
}

.button.secondary {
  background: var(--lavender);
}

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

.link-card {
  min-height: 10rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--orange);
  box-shadow: 0 12px 30px rgb(57 39 77 / 10%);
  color: var(--ink);
}

.link-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.document,
.handoff {
  max-width: 54rem;
  margin-inline: auto;
  padding: clamp(1.4rem, 5vw, 3.5rem);
}

.document h1,
.handoff h1 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.meta,
.fine-print {
  color: var(--muted);
  font-size: 0.92rem;
}

.notice {
  padding: 1rem 1.1rem;
  border-left: 5px solid var(--orange);
  border-radius: 0.8rem;
  background: #fff1eb;
}

.steps {
  padding-left: 1.5rem;
}

.steps li {
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}

.status-box {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #f2ecff;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid rgb(98 93 104 / 20%);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

  .hero,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .link-card {
    transition:
      transform 150ms ease,
      box-shadow 150ms ease,
      border-color 150ms ease;
  }
}
