:root {
  color-scheme: light;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #142033;
  --ink-soft: #526071;
  --navy: #0b1930;
  --navy-light: #132847;
  --accent: #2f67b9;
  --accent-bright: #8ab8ff;
  --accent-soft: #eaf2ff;
  --line: #dce3eb;
  --paper: #f7f9fc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  transform: translateY(-160%);
}

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 490px;
  background:
    linear-gradient(116deg, transparent 0 58%, rgba(74, 140, 255, 0.16) 58% 59%, transparent 59%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}

.hero::after {
  position: absolute;
  top: -280px;
  right: -170px;
  width: 610px;
  height: 610px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 74px rgba(255, 255, 255, 0.025),
    0 0 0 148px rgba(255, 255, 255, 0.018);
  content: "";
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #a9c9ff;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero__copy {
  max-width: 780px;
  padding-top: 94px;
}

.eyebrow,
.contents__label,
.section-number {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent-bright);
}

h1 {
  max-width: 760px;
  margin: 16px 0 20px;
  font-size: clamp(2.45rem, 6vw, 4.75rem);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero__summary {
  max-width: 650px;
  margin: 0;
  color: #d6e1ef;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
}

.updated {
  margin: 26px 0 0;
  color: #91a2b8;
  font-size: 0.82rem;
}

.layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 760px);
  gap: clamp(54px, 8vw, 120px);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 96px;
}

.contents {
  align-self: start;
  position: sticky;
  top: 32px;
}

.contents ol {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: policy-sections;
}

.contents li {
  counter-increment: policy-sections;
  border-top: 1px solid var(--line);
}

.contents li:last-child {
  border-bottom: 1px solid var(--line);
}

.contents a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 11px 2px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.4;
  text-decoration: none;
}

.contents a::before {
  color: #657386;
  content: counter(policy-sections, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
}

.contents a:hover {
  color: var(--ink);
}

.policy section {
  scroll-margin-top: 28px;
  padding: 0 0 58px;
}

.policy section + section {
  padding-top: 58px;
  border-top: 1px solid var(--line);
}

.section-number {
  margin-bottom: 12px;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.policy p,
.policy ul {
  margin: 0 0 18px;
}

.policy p,
.policy li {
  color: var(--ink-soft);
}

.policy ul {
  padding-left: 1.25rem;
}

.policy li {
  padding-left: 0.35rem;
}

.policy li + li {
  margin-top: 10px;
}

.policy strong {
  color: var(--ink);
  font-weight: 700;
}

code {
  padding: 0.12em 0.35em;
  border-radius: 5px;
  background: var(--accent-soft);
  color: #2459a6;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.87em;
}

.contact-placeholder {
  display: inline-block;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: #2459a6 !important;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  font-weight: 700;
}

footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

footer p {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
  color: #7b8999;
  font-size: 0.78rem;
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding-bottom: 64px;
  }

  .hero__copy {
    padding-top: 68px;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 60px;
  }

  .contents {
    position: static;
  }

  .contents ol {
    columns: 2;
    column-gap: 32px;
  }

  .contents li {
    break-inside: avoid;
  }
}

@media (max-width: 560px) {
  .hero__inner,
  .layout,
  footer p {
    width: min(100% - 32px, 1180px);
  }

  .hero__inner {
    padding-top: 22px;
  }

  .hero__copy {
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }

  .contents ol {
    columns: 1;
  }

  .policy section {
    padding-bottom: 44px;
  }

  .policy section + section {
    padding-top: 44px;
  }
}

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