:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --text: #172033;
  --muted: #5a667a;
  --line: #dfe6f0;
  --brand: #2563eb;
  --brand-dark: #1748b5;
  --accent: #0f766e;
  --shadow: 0 18px 48px rgba(23, 32, 51, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-decoration: none;
}

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

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

a,
dd,
.policy-content {
  overflow-wrap: anywhere;
}

[id] {
  scroll-margin-top: 110px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--surface);
  border: 2px solid var(--brand);
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 230, 240, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  color: var(--muted);
}

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

.nav-links a[aria-current="page"] {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-links a {
  padding: 8px 0;
}

.hero {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(15, 118, 110, 0.1)),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero-inner,
.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 36px;
  align-items: center;
  min-height: 520px;
  padding: 64px 0 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(40px, 7vw, 74px);
}

h2 {
  font-size: clamp(26px, 4vw, 40px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
}

.lead {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand);
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 750;
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.button:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.button.secondary:hover {
  color: var(--brand);
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 16px;
}

.link-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}

.link-list a span {
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: 58px 0;
}

dl {
  margin: 0;
}

dt {
  font-weight: 750;
}

dd {
  margin: 0;
}

.section-note {
  margin-top: 16px;
  color: var(--muted);
}

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

.policy-block p + p,
.policy-block dl,
.policy-block li + li {
  margin-top: 12px;
}

.policy-block p + ul {
  margin-top: 16px;
}

.policy-block ul + p {
  margin-top: 16px;
}

.contents ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.contents li + li {
  margin-top: 0;
}

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

.section-header {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 24px;
}

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

.card {
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}

.card p,
.section-header p,
.policy-content p,
.policy-content li,
.muted {
  color: var(--muted);
}

.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}

.detail dt {
  display: block;
  margin-bottom: 4px;
}

.policy-hero {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.policy-hero .page-shell {
  padding: 58px 0 38px;
}

.policy-hero p {
  max-width: 760px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

.policy-content {
  display: grid;
  gap: 24px;
  width: min(840px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 70px;
}

.policy-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.policy-block h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.policy-block ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

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

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.site-footer a,
.site-footer .muted {
  color: #cbd5e1;
}

.copyright {
  margin-top: 16px;
  color: #94a3b8;
  font-size: 14px;
}

@media (max-width: 820px) {
  [id] {
    scroll-margin-top: 180px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

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

  .grid,
  .details,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .contents ul {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 10px 14px;
    font-size: 13px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-inner,
  .policy-hero .page-shell {
    padding-top: 38px;
  }
}

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

  .button:hover {
    transform: none;
  }
}
