:root {
  color-scheme: dark;
  --background: #0d1737;
  --text: #f4f4f1;
  --muted: #b4bfd5;
  --subtle: #8797b9;
  --link: #d6e8ff;
  --rule: rgba(215, 229, 255, 0.16);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse 44rem 34rem at 8% -8%, rgba(190, 122, 101, 0.16), transparent 70%),
    radial-gradient(ellipse 58rem 38rem at 96% 100%, rgba(46, 115, 186, 0.18), transparent 73%),
    var(--background);
}

a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: #fff; }
a:focus-visible { outline: 2px solid #f3d5ae; outline-offset: 5px; border-radius: 2px; }

.home-page {
  display: flex;
  flex-direction: column;
}

.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 40px;
  text-align: center;
}

.hero-icon {
  display: block;
  width: clamp(154px, 23vw, 192px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 22%;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
}

.hero h1 {
  margin: 30px 0 0;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.hero p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.23rem);
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: flex-end;
  padding: 24px clamp(24px, 5vw, 64px) 30px;
}

.site-footer nav { display: flex; gap: 30px; }
.site-footer a {
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
  transition: color 150ms ease;
}
.site-footer a:hover { color: #fff; }

.content-page { display: flex; flex-direction: column; }
.site-header { padding: 31px clamp(24px, 5vw, 64px); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.brand img { display: block; border-radius: 8px; }

.page-content {
  width: min(100%, 760px);
  flex: 1;
  margin: 66px auto 80px;
  padding: 0 28px;
}
.eyebrow {
  margin: 0 0 12px;
  color: #e6c49e;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.page-content h1 {
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 4rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.1;
}
.page-content .lead {
  margin: 23px 0 56px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2.6vw, 1.35rem);
  line-height: 1.6;
}
.page-content section { border-top: 1px solid var(--rule); padding: 25px 0 28px; }
.page-content h2 {
  margin: 0 0 13px;
  font-size: 1.13rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.page-content section p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}
.page-content section p:last-child { margin-bottom: 0; }
.page-content strong { color: var(--text); font-weight: 600; }
.page-content .updated {
  margin: 17px 0 0;
  color: var(--subtle);
  font-size: 0.88rem;
}
.policy .lead { margin-top: 28px; }

@media (max-width: 600px) {
  .hero { padding-top: 48px; }
  .site-header { padding-top: 24px; }
  .page-content { margin-top: 48px; margin-bottom: 48px; padding: 0 24px; }
  .page-content .lead { margin-bottom: 42px; }
  .site-footer { padding-bottom: max(25px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a { transition: none; }
}
