:root {
  color-scheme: light dark;
  --bg: #f3f5f7;
  --surface: #ffffff;
  --surface-muted: #f7f8fa;
  --ink: #17202a;
  --muted: #586574;
  --line: #dce2e8;
  --accent: #0b6b53;
  --accent-soft: #dff3eb;
  --highlight: #f5c84b;
  --shadow: 0 20px 50px rgba(24, 34, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px);
}

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

.header-inner {
  min-height: 68px;
}

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

.brand-mark {
  display: inline-grid;
  width: 33px;
  height: 33px;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  padding: 7px;
  border-radius: 9px;
  background: var(--accent);
}

.brand-mark span {
  display: block;
  border-radius: 2px 2px 1px 1px;
  background: var(--highlight);
}

.brand-mark span:nth-child(1) { height: 55%; }
.brand-mark span:nth-child(2) { height: 100%; }
.brand-mark span:nth-child(3) { height: 72%; }

.contact-link {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.contact-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--highlight) 42%, transparent) 0 7%, transparent 7.2%),
    linear-gradient(135deg, #10251f, #154b3d 62%, #0b6b53);
  color: #f6fffb;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(40px, 7vw, 90px);
  align-items: end;
  min-height: 420px;
  padding-block: 74px 62px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #b9e4d6;
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(3.25rem, 9vw, 6.6rem);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.lede {
  max-width: 680px;
  margin-bottom: 0;
  color: #dcece7;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.policy-meta {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(5, 25, 20, 0.32);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.policy-meta dl {
  margin: 0;
}

.policy-meta dl > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.policy-meta dl > div:last-child {
  border-bottom: 0;
}

.policy-meta dt {
  color: #b9cfc8;
  font-size: 0.82rem;
}

.policy-meta dd {
  margin: 0;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 650;
}

.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  padding-block: 56px 80px;
}

.contents {
  position: sticky;
  top: 100px;
  padding: 8px 0;
}

.contents > p {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.contents li {
  counter-increment: contents;
}

.contents a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 6px;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
  text-decoration: none;
}

.contents a::before {
  content: counter(contents, decimal-leading-zero);
  color: color-mix(in srgb, var(--muted) 65%, transparent);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

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

.policy-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.policy-card > section {
  scroll-margin-top: 92px;
  padding: 50px clamp(30px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
}

.policy-card > section:last-child {
  border-bottom: 0;
}

.policy-card h2 {
  margin-bottom: 20px;
  font-size: clamp(1.65rem, 3.4vw, 2.2rem);
  font-weight: 740;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.policy-card h3 {
  margin: 30px 0 8px;
  font-size: 1.04rem;
  line-height: 1.35;
}

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

.policy-card p:last-child,
.policy-card ul:last-child {
  margin-bottom: 0;
}

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

.policy-card li {
  margin-block: 0.42rem;
  padding-left: 0.25rem;
}

.policy-card strong,
.policy-card address strong {
  color: var(--ink);
}

.summary {
  background: var(--surface-muted);
}

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

.summary-grid > div {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.summary-grid h3 {
  margin: 0 0 5px;
  color: var(--ink);
}

.summary-grid p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.notice {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 4px solid var(--highlight);
  border-radius: 3px 12px 12px 3px;
  background: color-mix(in srgb, var(--highlight) 14%, var(--surface));
}

.notice p {
  margin: 0;
}

.provider-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 30px;
}

.provider-list > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-muted);
}

.provider-list h3 {
  margin: 0 0 4px;
}

.provider-list p {
  margin-bottom: 9px;
  font-size: 0.89rem;
  line-height: 1.55;
}

.provider-list p:last-child {
  margin-bottom: 0;
}

address {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-muted);
  color: var(--muted);
  font-style: normal;
}

.version {
  margin-top: 22px;
  color: color-mix(in srgb, var(--muted) 72%, transparent) !important;
  font-size: 0.82rem;
}

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

.footer-inner {
  min-height: 86px;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 60px 48px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .contents {
    position: static;
    display: none;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: min(100% - 24px, 1120px);
  }

  .header-inner {
    min-height: 60px;
  }

  .brand {
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
  }

  .contact-link {
    padding: 5px 10px;
    font-size: 0.8rem;
  }

  .hero-grid {
    gap: 32px;
    padding-block: 44px 34px;
  }

  .policy-meta dl > div {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .policy-layout {
    padding-block: 22px 40px;
  }

  .policy-card {
    border-radius: 18px;
  }

  .policy-card > section {
    padding: 34px 22px;
  }

  .summary-grid,
  .provider-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

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

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1418;
    --surface: #151d22;
    --surface-muted: #11181d;
    --ink: #f1f6f4;
    --muted: #b4c0c5;
    --line: #2d3940;
    --accent: #6ed6b5;
    --accent-soft: #153d31;
    --highlight: #f1c75b;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  }

  .hero {
    background:
      radial-gradient(circle at 86% 18%, rgba(245, 200, 75, 0.32) 0 7%, transparent 7.2%),
      linear-gradient(135deg, #0c2019, #123d32 62%, #145945);
  }
}
