:root {
  color-scheme: dark light;
  --bg: #000000;
  --card: rgba(255, 255, 255, 0.045);
  --card-hover: rgba(255, 255, 255, 0.07);
  --text: #ffffff;
  --muted: #8b8b8f;
  --faint: #56565d;
  --border: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.26);
  --accent: rgba(255, 255, 255, 0.08);
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  font-family: Geist, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --card: rgba(0, 0, 0, 0.035);
    --card-hover: rgba(0, 0, 0, 0.055);
    --text: #050505;
    --muted: #74747a;
    --faint: #ababaf;
    --border: rgba(0, 0, 0, 0.14);
    --border-strong: rgba(0, 0, 0, 0.24);
    --accent: rgba(0, 0, 0, 0.06);
    --shadow: 0 34px 90px rgba(0, 0, 0, 0.12);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Geist, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 9vh;
  text-align: center;
}

.hero__content {
  width: min(600px, calc(100% - 48px));
  margin: 0 auto;
}

.hero__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.45rem;
}

.hero__title {
  margin: 0 0 0.35rem;
  font-size: clamp(2.35rem, 4.4vw, 3.5rem);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero__tagline {
  margin: 0 0 1.55rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1.25rem;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 999px;
  color: #050505;
  font-size: 0.875rem;
  font-weight: 520;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.12);
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.cta-button:hover {
  background: #f1f1f1;
  border-color: #f1f1f1;
  color: #050505;
  transform: translateY(-1px);
}

.hero__window-wrap {
  width: min(100%, 1120px);
  margin: 3.5rem auto 0;
  padding: 0 2rem;
}

.hero__window {
  width: 100%;
  height: auto;
  border-radius: 32px 32px 0 0;
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.75rem 1.5rem 3rem;
  color: var(--faint);
  font-size: 0.78rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 140ms ease;
}

.site-footer a:hover {
  color: var(--text);
}

.footer-sep {
  color: var(--border-strong);
}

.site-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
}

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

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-nav a,
.nav-cta {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.95rem;
  background: var(--accent);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.875rem;
  transition: background-color 140ms ease, color 140ms ease;
}

.nav-cta:hover {
  background: var(--card-hover);
  color: var(--text);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-page {
  min-height: 100vh;
}

.legal-hero,
.legal-shell {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-hero {
  padding: 5rem 0 2rem;
}

.legal-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.legal-hero .lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-shell {
  margin-bottom: 5rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.legal-shell h2 {
  margin: 2.75rem 0 1rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.legal-shell h3 {
  margin: 1.7rem 0 0.65rem;
}

.legal-shell h2:first-child,
.legal-shell h3:first-child {
  margin-top: 0;
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
  line-height: 1.72;
}

.legal-shell a {
  color: var(--text);
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
}

.legal-shell ul {
  padding-left: 1.35rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.legal-meta span {
  padding: 0.48rem 0.64rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 8vh;
  }

  .hero__icon {
    width: 62px;
    height: 62px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__window-wrap {
    margin-top: 2.6rem;
    padding: 0 1rem;
  }

  .hero__window {
    border-radius: 24px 24px 0 0;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    width: min(100% - 28px, 980px);
  }

  .site-nav {
    display: none;
  }

  .legal-hero,
  .legal-shell {
    width: min(100% - 28px, 860px);
  }

  .legal-hero {
    padding-top: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
