:root {
  --background: #f7f8fc;
  --surface: rgba(255, 255, 255, 0.88);
  --text: #172033;
  --muted: #62708a;
  --line: #dfe4ef;
  --accent: #5a4ff3;
  --accent-soft: #eeecff;
  --success: #168568;
  --shadow: 0 22px 60px rgba(30, 38, 74, 0.09);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  min-width: 280px;
  margin: 0;
  background:
    radial-gradient(circle at 8% 3%, rgba(90, 79, 243, 0.12), transparent 25rem),
    radial-gradient(circle at 95% 18%, rgba(63, 203, 165, 0.11), transparent 24rem),
    var(--background);
  color: var(--text);
  line-height: 1.7;
}

a { color: var(--accent); }

a:focus-visible {
  outline: 3px solid rgba(90, 79, 243, 0.35);
  outline-offset: 4px;
  border-radius: 5px;
}

main {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.hero { padding: 42px 0 60px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: linear-gradient(145deg, #746aff, #483ce0);
  box-shadow: 0 8px 20px rgba(90, 79, 243, 0.24);
  font-size: 22px;
  font-weight: 800;
}

.hero-copy {
  max-width: 780px;
  margin-top: 70px;
}

.eyebrow,
.section-number {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.intro {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.2vw, 1.36rem);
}

.updated {
  display: inline-block;
  margin: 26px 0 0;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  font-size: 0.84rem;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.summary article,
.contents,
.policy {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.summary article {
  min-height: 190px;
  padding: 26px;
  border-radius: 20px;
}

.summary-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--success);
  background: #e8f8f3;
  font-size: 1.1rem;
}

.summary h3 { margin: 0 0 5px; font-size: 1.02rem; }
.summary p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

.contents {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 20px 24px;
  border-radius: 18px;
}

.contents strong { margin-right: auto; }
.contents a { font-size: 0.85rem; text-decoration: none; }
.contents a:hover { text-decoration: underline; }

.policy {
  margin-top: 28px;
  padding: 0 clamp(24px, 7vw, 82px);
  border-radius: 24px;
}

.policy section {
  padding: clamp(48px, 8vw, 78px) 0;
  border-bottom: 1px solid var(--line);
}

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

h2 {
  max-width: 720px;
  margin: 0 0 22px;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.policy p,
.policy ul { max-width: 760px; }
.policy p { margin: 0 0 18px; }
.policy p:last-child { margin-bottom: 0; }
.policy ul { margin: 18px 0 0; padding-left: 1.25rem; }
.policy li { margin: 9px 0; padding-left: 5px; }
.policy code { padding: 2px 6px; border-radius: 5px; background: var(--accent-soft); color: var(--text); }

.callout {
  max-width: 760px;
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 4px 12px 12px 4px;
  background: var(--accent-soft);
}

footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 48px 4px 60px;
  color: var(--muted);
}

footer p { margin: 0; line-height: 1.45; }
footer strong { color: var(--text); }
footer a { margin-left: auto; font-size: 0.9rem; text-decoration: none; }
.brand-mark.small { width: 32px; height: 32px; border-radius: 9px; font-size: 18px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  main { width: calc(100% - 24px); }
  .hero { padding-top: 24px; }
  .hero-copy { margin-top: 54px; }
  .summary { grid-template-columns: 1fr; }
  .summary article { min-height: 0; }
  .summary-icon { margin-bottom: 18px; }
  .contents { align-items: flex-start; flex-direction: column; }
  .contents strong { margin-bottom: 4px; }
  .policy { border-radius: 18px; }
  footer { align-items: flex-start; flex-wrap: wrap; }
  footer a { width: 100%; margin: 12px 0 0 46px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #10131d;
    --surface: rgba(24, 29, 43, 0.88);
    --text: #f2f4fb;
    --muted: #adb7ca;
    --line: #30374a;
    --accent: #a59cff;
    --accent-soft: #292545;
    --success: #74dfbd;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
  }

  .summary-icon { background: #173a33; }
}

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