:root {
  color-scheme: light dark;
  --base: #fbfaff;
  --surface: #ffffff;
  --raised: #f2f0ff;
  --line: #e2dff0;
  --text: #171628;
  --muted: #615d78;
  --primary: #5f73f2;
  --highlight: #b7cc20;
  --shadow: 0 24px 70px rgb(95 115 242 / 0.16);
  font-family:
    ui-rounded,
    "SF Pro Rounded",
    "SF Pro Display",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --base: #232333;
    --surface: #272953;
    --raised: #32335f;
    --line: #3e3c68;
    --text: #ffffff;
    --muted: #c7c4e8;
    --primary: #7388ff;
    --highlight: #e0f365;
    --shadow: 0 28px 80px rgb(0 0 0 / 0.28);
  }
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 42%, rgb(183 204 32 / 0.16), transparent 26rem),
    linear-gradient(180deg, var(--base), var(--raised));
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--primary);
}

.site-shell {
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
}

.site-header,
.site-footer {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.brand,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.65rem;
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  display: block;
  filter: drop-shadow(0 0.5rem 1.2rem rgb(95 115 242 / 0.22));
}

.footer-links a {
  text-decoration: none;
}

.home-main {
  display: grid;
  align-items: start;
}

.hero {
  display: grid;
  width: min(100% - 2rem, 860px);
  margin-inline: auto;
  place-items: center;
  gap: clamp(1rem, 2.5vw, 1.6rem);
  padding-block: clamp(2.25rem, 8vh, 5rem) 2rem;
  text-align: center;
}

.hero-icon {
  width: clamp(6rem, 13vw, 8.5rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(var(--shadow));
}

.hero-copy {
  display: grid;
  max-width: 760px;
  gap: 0.9rem;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 680px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.55;
}

.content-page {
  display: grid;
  align-items: center;
  width: min(100% - 2rem, 780px);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 9vh, 5.5rem);
}

.policy {
  display: grid;
  gap: 1.1rem;
  padding-block: clamp(1.2rem, 4vw, 2rem);
}

.policy h1 {
  font-size: clamp(2.25rem, 5vw, 4.2rem);
}

.policy h2 {
  margin-top: 0.7rem;
  font-size: 1.05rem;
}

.policy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.policy .updated {
  color: var(--primary);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem 1.2rem;
  color: var(--muted);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.012em;
  line-height: 1.4;
}

.footer-links {
  gap: 1rem;
}

.site-footer a {
  color: color-mix(in srgb, var(--muted) 84%, var(--text));
  font-weight: 500;
}

@media (max-width: 620px) {
  .site-header,
  .site-footer {
    width: min(100% - 1.25rem, 1120px);
  }

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

  .site-footer {
    align-items: center;
    flex-direction: row;
  }

  .hero {
    width: min(100% - 1.25rem, 940px);
    gap: 1rem;
    padding-block: 1.5rem 2.5rem;
  }

  .content-page {
    width: min(100% - 1.25rem, 780px);
    align-items: start;
    padding-block: 1.5rem 3rem;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 2.85rem);
  }
}
