:root {
  --color-background: #fdfdfd;
  --color-text: #2f2f2f;
  --color-text-secondary: #5d5b5b;
  --color-border: #f5f5f5;
  --color-border-strong: #e9e9e9;
  --color-focus: #2f2f2f;
  --font-sans: "Heebo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-width: 800px;
  --header-width: 880px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 5px;
}

.site-header {
  padding: 34px 24px 0;
}

.nav-shell {
  align-items: center;
  background: var(--color-background);
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--header-width);
  min-height: 70px;
  padding: 0 30px 0 22px;
}

.brand {
  align-items: center;
  display: inline-flex;
  line-height: 1;
}

.brand img {
  height: auto;
  width: 110px;
}

.nav-actions,
.hero-actions,
.footer-shell nav {
  align-items: center;
  display: flex;
}

.nav-actions {
  gap: 28px;
}

.nav-link,
.text-link {
  color: var(--color-text-secondary);
  font-size: 16px;
  font-weight: 600;
}

.button {
  align-items: center;
  background: linear-gradient(#323232, #1f1f1f);
  border: 1px solid #444;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), 0 1px 3px rgb(0 0 0 / 14%);
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-height: 42px;
  padding: 0 29px;
}

.button-small {
  min-height: 36px;
  min-width: 108px;
  padding: 0 24px;
}

.page-shell,
.footer-shell {
  margin: 0 auto;
  max-width: var(--page-width);
}

.page-shell {
  padding: 0 0 0;
}

.hero {
  padding: 102px 0 78px;
}

.hero h1 {
  font-size: clamp(48px, 6vw, 58px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
  max-width: 760px;
}

.hero p {
  color: var(--color-text-secondary);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.75;
  margin: 22px 0 29px;
  max-width: 760px;
}

.hero-actions {
  gap: 28px;
}

.section {
  border-top: 3px solid var(--color-border);
  padding: 60px 0 75px;
}

.section h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 21px;
}

.section-lede,
.prose p {
  color: var(--color-text-secondary);
  font-size: 23px;
  line-height: 1.72;
}

.section-lede {
  margin: 0 0 57px;
}

.feature-grid {
  display: grid;
  gap: 72px;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  min-width: 0;
}

.feature-card h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px;
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 17px;
  line-height: 1.70;
  margin: 0;
}

.why {
  padding-bottom: 78px;
}

.prose p {
  margin: 0;
  font-size: 20px;
}

.prose p + p {
  margin-top: 20px;
}

.site-footer {
  padding: 0 0 33px;
}

.footer-shell {
  align-items: center;
  border-top: 3px solid var(--color-border);
  color: #8b8989;
  display: flex;
  font-size: 15px;
  font-weight: 400;
  justify-content: space-between;
  line-height: 1.2;
  padding-top: 36px;
}

.footer-shell p {
  margin: 0;
}

.footer-shell nav {
  gap: 24px;
}

.legal-page {
  padding: 86px 0 82px;
}

.legal-content {
  padding-top: 36px;
}

.legal-kicker {
  color: var(--color-text-secondary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 14px;
}

.legal-content h1 {
  font-size: clamp(30px, 6vw, 38px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

.legal-updated {
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1.6;
  margin: 14px 0 54px;
}

.legal-content section {
  padding: 32px 0 0;
}

.legal-content section + section {
  margin-top: 32px;
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 12px;
}

.legal-content p {
  color: var(--color-text-secondary);
  font-size: 20px;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 820px) {
  :root {
    --page-width: calc(100vw - 48px);
    --header-width: calc(100vw - 48px);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .site-header {
    padding: 18px 16px 0;
  }

  .nav-shell {
    border-radius: 30px;
    min-height: 66px;
    padding: 0 14px 0 17px;
  }

  .brand {
    max-width: 120px;
  }

  .brand img {
    width: 120px;
  }

  .nav-actions {
    gap: 14px;
  }

  .nav-link {
    display: none;
  }

  .button-small {
    min-height: 34px;
    min-width: 86px;
    padding: 0 18px;
  }

  .page-shell,
  .footer-shell {
    max-width: calc(100vw - 32px);
  }

  .hero {
    padding: 70px 0 62px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.18;
  }

  .hero p,
  .section-lede,
  .prose p {
    font-size: 22px;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section {
    padding: 48px 0 58px;
  }

  .section h2 {
    font-size: 26px;
  }

  .section-lede {
    margin-bottom: 40px;
  }

  .feature-grid {
    gap: 32px;
    grid-template-columns: 1fr;
  }

  .feature-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 24px;
  }

  .feature-card p {
    font-size: 20px;
  }

  .prose p + p {
    margin-top: 34px;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
    font-size: 18px;
    gap: 22px;
  }

  .footer-shell nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .legal-page {
    padding: 58px 0;
  }

  .legal-content {
    padding-top: 42px;
  }

  .legal-content h1 {
    font-size: 40px;
  }

  .legal-content p {
    font-size: 19px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero p,
  .section-lede,
  .prose p {
    font-size: 20px;
  }
}
