:root {
  color-scheme: light dark;
  --canvas: #f6f4ef;
  --paper: #fffefa;
  --ink: #151621;
  --muted: #65677a;
  --line: #dedce6;
  --indigo: #5b58e8;
  --indigo-deep: #3734b7;
  --mint: #19b995;
  --mint-soft: #dff8f0;
  --orange: #e99454;
  --shadow: 0 24px 70px rgba(34, 30, 94, 0.13);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(91, 88, 232, 0.13), transparent 35rem),
    radial-gradient(circle at 90% 16rem, rgba(25, 185, 149, 0.1), transparent 30rem),
    var(--canvas);
  line-height: 1.58;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

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

.header-inner,
.page,
.footer-inner {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: white;
  background: linear-gradient(145deg, #6662f4, #403dcc);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(70, 66, 206, 0.3);
  font-size: 0.82rem;
  letter-spacing: -0.06em;
}

.nav,
.locale-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.nav a,
.locale-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"],
.locale-nav a:hover,
.locale-nav a[aria-current="page"] {
  color: var(--indigo-deep);
}

.page {
  padding: 64px 0 88px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 48px;
  min-height: 520px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--indigo-deep);
  font: 750 0.78rem/1.2 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 830px;
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.legal h1,
.support h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.hero-copy,
.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  border-color: var(--indigo);
  color: white;
  background: var(--indigo);
}

.number-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 38px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(237, 235, 255, 0.68));
  box-shadow: var(--shadow);
}

.number-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1.18;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(34, 30, 94, 0.08);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
}

.make-24 {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  color: #0a725d;
  background: var(--mint-soft);
  font: 750 0.86rem/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.06em;
}

.feature-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.card,
.policy-section {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  box-shadow: 0 14px 38px rgba(34, 30, 94, 0.055);
}

.card {
  padding: 24px;
}

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

.section {
  margin-top: 70px;
}

.policy-shell {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin-top: 42px;
}

.policy-section {
  padding: 26px;
}

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

.policy-meta {
  color: var(--muted);
  font: 650 0.86rem/1.4 ui-monospace, "SFMono-Regular", Menlo, monospace;
}

.plain-list {
  padding-left: 1.3rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 38px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 820px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner {
    padding: 14px 0;
  }

  .nav,
  .locale-nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .feature-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .number-stage {
    max-width: 520px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #11121a;
    --paper: #1a1b27;
    --ink: #f4f3f8;
    --muted: #b0afbf;
    --line: #333445;
    --indigo: #7773ff;
    --indigo-deep: #aaa7ff;
    --mint-soft: #133b34;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  }

  .number-stage {
    border-color: #3b3b50;
    background: linear-gradient(160deg, rgba(39, 39, 57, 0.94), rgba(28, 28, 43, 0.9));
  }

  .make-24 {
    color: #81e5cc;
  }
}

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