:root {
  color-scheme: light;
  --ink: #10213d;
  --muted: #53627a;
  --brand: #1458d4;
  --brand-dark: #0c3f9f;
  --surface: #ffffff;
  --soft: #eef5ff;
  --line: #d9e2f0;
  --focus: #f59e0b;
  --max: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  background: #f7f9fc;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 5%, #dceaff 0, transparent 28rem),
    #f7f9fc;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: var(--brand-dark);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.1em;
}

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

a:focus-visible {
  border-radius: 0.2rem;
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.2rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  color: #ffffff;
  background: var(--ink);
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
.site-footer {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.header-inner,
.footer-inner,
.page-shell {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.header-inner,
.footer-inner {
  display: flex;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 0.7rem;
  color: #ffffff;
  background: linear-gradient(145deg, var(--brand), #4b8cff);
  box-shadow: 0 0.5rem 1.4rem rgba(20, 88, 212, 0.2);
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  font-weight: 700;
}

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

.hero {
  display: grid;
  min-height: 65vh;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.eyebrow,
.status {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border: 1px solid #bad2fa;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.18;
  text-wrap: balance;
}

h1 {
  max-width: 18ch;
  margin: 1rem 0;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  letter-spacing: -0.055em;
}

.legal h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
}

h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: -0.02em;
}

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

.lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
}

.hero-card,
.legal-card,
.notice {
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--surface);
  box-shadow: 0 1.2rem 3rem rgba(16, 33, 61, 0.08);
}

.hero-card,
.notice {
  padding: clamp(1.35rem, 4vw, 2rem);
}

.hero-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

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

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 2px solid var(--brand);
  border-radius: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: #ffffff;
  background: var(--brand);
}

.button-primary:hover {
  color: #ffffff;
  background: var(--brand-dark);
}

.legal-card {
  max-width: 54rem;
  margin-inline: auto;
  padding: clamp(1.25rem, 5vw, 3.25rem);
}

.meta,
.muted,
.footer-inner {
  color: var(--muted);
}

.meta {
  margin-bottom: 2rem;
  font-size: 0.92rem;
}

.notice {
  margin-block: 1.5rem;
  border-left: 0.35rem solid var(--brand);
  box-shadow: none;
}

.toc {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: var(--soft);
}

.toc ul {
  columns: 2;
}

li + li {
  margin-top: 0.45rem;
}

.address {
  font-style: normal;
}

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

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .toc ul {
    columns: 1;
  }
}

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