:root {
  color: #111111;
  background: #f9f9fa;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #f9f9fa;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #f9f9fa;
}

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

a:hover {
  color: #6f6f6f;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f9f9fa;
}

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 52px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(40px, 8vw, 116px);
  padding: 36px 0 20px;
  background: #f9f9fa;
}

.hero-copy {
  max-width: 520px;
}

.brand {
  margin: 0 0 22px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.96;
  font-weight: 750;
  letter-spacing: 0;
}

.tagline {
  margin: 0;
  max-width: 560px;
  font-size: clamp(27px, 2.5vw, 36px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.lede {
  margin: 22px 0 34px;
  max-width: 470px;
  color: #5f5f63;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.34;
  font-weight: 450;
}

.app-store-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 206px;
  min-height: 62px;
  padding: 10px 22px 11px;
  border-radius: 16px;
  background: #111111;
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.app-store-slot:hover {
  color: #ffffff;
  background: #1b1b1d;
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.14);
}

.app-store-mark {
  margin-right: 11px;
  font-size: 28px;
  line-height: 1;
}

.app-store-text {
  display: grid;
  gap: 1px;
}

.app-store-kicker {
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.app-store-label {
  font-size: 20px;
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: 0;
}

.phone-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.phone-shot {
  display: block;
  width: min(100%, 520px);
  height: auto;
  max-height: min(86vh, 780px);
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.12));
}

.page {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0 64px;
  flex: 1;
  background: #f9f9fa;
}

.page-brand {
  margin: 0 0 56px;
  font-size: 24px;
  line-height: 1;
  font-weight: 720;
}

.page h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  font-weight: 760;
  letter-spacing: 0;
}

.page p {
  margin: 0;
  max-width: 620px;
  color: #67676c;
  font-size: 21px;
  line-height: 1.45;
}

.legal-page {
  width: min(760px, calc(100% - 48px));
  padding-bottom: 74px;
}

.legal-page h1 {
  max-width: 680px;
}

.legal-updated {
  margin-top: 18px;
  font-size: 16px;
}

.legal-intro {
  margin-top: 28px;
}

.legal-section {
  max-width: 680px;
  margin-top: 34px;
}

.legal-section h2 {
  margin: 0 0 12px;
  color: #111111;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 720;
  letter-spacing: 0;
}

.legal-section p {
  margin: 0;
  max-width: none;
  color: #3f3f44;
  font-size: 18px;
  line-height: 1.56;
}

.legal-section p + p {
  margin-top: 11px;
}

.footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9fa;
  color: #8a8a8f;
  font-size: 14px;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.footer-links a + a::before {
  content: "·";
  padding: 0 9px;
  color: #b5b5ba;
}

@media (max-width: 820px) {
  .hero {
    width: min(100% - 32px, 520px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 54px 0 26px;
    text-align: center;
  }

  .hero-copy {
    max-width: none;
  }

  .brand {
    margin-bottom: 18px;
    font-size: clamp(44px, 15vw, 64px);
  }

  .tagline,
  .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .tagline {
    white-space: normal;
  }

  .lede {
    margin-top: 18px;
    margin-bottom: 28px;
  }

  .phone-shot {
    width: min(100%, 390px);
    max-height: none;
  }

  .footer {
    width: min(100% - 32px, 520px);
    padding: 26px 0 28px;
    text-align: center;
  }

  .page {
    width: min(100% - 32px, 560px);
    padding-top: 56px;
  }
}
