:root {
  color-scheme: dark;
  --background: #090d14;
  --surface: #111827;
  --surface-soft: #151f30;
  --line: #273449;
  --text: #f7f9fc;
  --muted: #aeb8c8;
  --blue: #6fa0ff;
  --purple: #a94fff;
  --pink: #ff5f91;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 7%, rgb(169 79 255 / 11%), transparent 30rem),
    radial-gradient(circle at 84% 78%, rgb(52 120 246 / 10%), transparent 36rem),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

a:hover {
  color: #a9c4ff;
}

a:focus-visible {
  border-radius: 3px;
  outline: 3px solid #89afff;
  outline-offset: 4px;
}

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

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

.shell {
  width: min(100% - 32px, 960px);
  margin: 0 auto;
}

header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
}

.guide-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

main {
  padding: 42px 0 88px;
}

.policy {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgb(21 31 48 / 97%), rgb(13 20 31 / 99%));
  box-shadow: 0 32px 90px rgb(0 0 0 / 30%);
}

.policy::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--pink), #3478f6);
  content: "";
}

.eyebrow {
  margin: 0 0 12px;
  color: #c7d6f1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 60px);
}

h2 {
  margin: 48px 0 12px;
  padding-top: 4px;
  font-size: clamp(23px, 4vw, 29px);
}

p,
li {
  color: #d7dfeb;
}

p {
  margin: 12px 0;
}

ul {
  margin: 14px 0;
  padding-left: 24px;
}

li + li {
  margin-top: 9px;
}

strong {
  color: var(--text);
}

.effective-date {
  margin: 14px 0 28px;
  color: var(--muted);
}

.summary {
  max-width: 760px;
  margin: 0;
  color: #dfe6f1;
  font-size: 18px;
}

.contents {
  margin: 34px 0 12px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.contents h2 {
  margin: 0 0 10px;
  padding: 0;
  font-size: 18px;
}

.contents ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 28px;
  margin: 0;
  padding-left: 22px;
}

.contents a {
  color: #dce6f8;
  text-underline-offset: 3px;
}

.note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 3px solid #3478f6;
  border-radius: 6px 12px 12px 6px;
  background: rgb(52 120 246 / 9%);
}

footer {
  min-height: 76px;
  color: #7f8ca2;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 640px) {
  header {
    min-height: 72px;
  }

  .guide-link {
    font-size: 13px;
  }

  main {
    padding: 26px 0 64px;
  }

  .policy {
    border-radius: 22px;
  }

  .contents ol {
    grid-template-columns: 1fr;
  }
}

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