:root {
  color-scheme: light;
  --background: #ffffff;
  --surface: #f5f5f7;
  --surface-strong: #ebebee;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --border: rgba(29, 29, 31, 0.08);
  --accent: #0071e3;
  --accent-hover: #005bb5;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-shell,
.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.nav-shell {
  transition: min-height 180ms ease;
}

.site-header.is-scrolled .nav-shell {
  min-height: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(87px, 12.6vw, 126px);
  height: auto;
  transition: width 180ms ease;
}

.site-header.is-scrolled .brand-logo {
  width: clamp(43.5px, 6.3vw, 63px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-footer a:hover,
.inline-link:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font: inherit;
  color: var(--text);
}

.hero,
.section {
  padding: 6rem 0;
}

.hero-content {
  padding: 4rem 0 2rem;
}

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

h1,
h2,
h3 {
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 8vw, 5.75rem);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  font-size: 1.4rem;
}

p {
  margin: 0 0 1rem;
  max-width: 65ch;
  color: var(--muted);
}

.hero-copy {
  font-size: 1.2rem;
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  border: 1px solid var(--border);
  background: var(--surface);
}

.section-muted {
  background: var(--surface);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 4rem;
  align-items: start;
}

.card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 42rem;
}

.privacy-main {
  min-height: calc(100vh - 144px);
}

.prose {
  max-width: 760px;
}

.prose h1 {
  max-width: none;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.prose h2 {
  max-width: none;
  margin-top: 2.5rem;
  font-size: 1.5rem;
}

.inline-link {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-shell {
    position: relative;
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  .brand-logo {
    width: clamp(75px, 25.5vw, 108px);
  }

  .site-header.is-scrolled .brand-logo {
    width: clamp(37.5px, 12.75vw, 54px);
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0 0.5rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section {
    padding: 4.5rem 0;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }
}
