:root {
  color-scheme: light;
  --ink: #102235;
  --muted: #536578;
  --line: #d9e2eb;
  --surface: #ffffff;
  --surface-soft: #f3f7fa;
  --page: #edf3f6;
  --brand: #086b73;
  --brand-dark: #07545b;
  --brand-soft: #dff4f2;
  --accent: #d97706;
  --danger: #b42318;
  --success: #087443;
  --shadow: 0 18px 50px rgba(16, 34, 53, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 0%, rgba(8, 107, 115, 0.12), transparent 28rem),
    var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: var(--brand-dark); }
a:hover { color: var(--brand); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
}

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

.site-header {
  border-bottom: 1px solid rgba(217, 226, 235, 0.9);
  background: rgba(255, 255, 255, 0.92);
}

.header-inner,
.container {
  width: min(1080px, calc(100% - 32px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), #0f9293);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(8, 107, 115, 0.24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.site-nav .nav-primary { color: var(--brand-dark); }

main { padding: 44px 0 72px; }

.hero,
.content-card,
.legal-card,
.form-shell,
.receipt {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 76px);
}

.hero::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(8, 107, 115, 0.18), rgba(217, 119, 6, 0.08));
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  letter-spacing: -0.055em;
}

.document-title { font-size: clamp(2rem, 5vw, 3.25rem); }

h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.025em;
}

h3 { margin: 0 0 8px; font-size: 1.08rem; }

.lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
}

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

.button,
button.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 18px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button-primary { background: var(--brand); color: #fff; }
.button-primary:hover { background: var(--brand-dark); color: #fff; }
.button-secondary { border-color: var(--line); background: #fff; color: var(--ink); }
.button-secondary:hover { border-color: #aebdca; background: var(--surface-soft); color: var(--ink); }
.button:disabled { cursor: not-allowed; opacity: 0.58; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.feature,
.link-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 24px;
}

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

.link-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: #91aaa9;
  color: inherit;
  box-shadow: 0 14px 30px rgba(16, 34, 53, 0.08);
}

.content-card,
.legal-card { padding: clamp(24px, 5vw, 52px); }

.content-card > :first-child,
.legal-card > :first-child { margin-top: 0; }

.meta {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.notice {
  margin: 24px 0;
  border-left: 4px solid var(--brand);
  border-radius: 0 14px 14px 0;
  background: var(--brand-soft);
  padding: 16px 18px;
}

.notice p { margin: 0; }

.provider-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 24px 0;
  border-radius: 16px;
  background: var(--surface-soft);
  padding: 20px;
}

.provider-card p { margin: 0; }

.document-list li { margin-bottom: 8px; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
  font-size: 0.9rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); }

.muted { color: var(--muted); }
.no-margin { margin: 0; }
.spaced-section { margin-top: 42px; }

:focus-visible {
  outline: 3px solid rgba(8, 107, 115, 0.38);
  outline-offset: 3px;
}

@media (max-width: 780px) {
  .grid { grid-template-columns: 1fr; }
  .provider-card { grid-template-columns: 1fr; }
  .site-nav a:not(.nav-primary) { display: none; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding: 22px 0; }
}

@media (max-width: 520px) {
  .header-inner,
  .container { width: min(100% - 20px, 1080px); }
  .hero,
  .content-card,
  .legal-card,
  .form-shell,
  .receipt { border-radius: 18px; }
  main { padding-top: 20px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
}

@media print {
  body { background: #fff; }
  .site-header,
  .site-footer,
  .no-print { display: none !important; }
  main { padding: 0; }
  .container { width: 100%; }
  .content-card,
  .legal-card,
  .receipt { border: 0; border-radius: 0; box-shadow: none; }
}

