:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --line: #e8e8e8;
  --text: #0f172a;
  --muted: #667085;
  --accent: #101828;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.brand,
.site-nav a,
.footer-links a {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: block;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 0.96rem;
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 56px;
  align-items: center;
  padding: 48px 0 88px;
}

.eyebrow,
.section-tag {
  margin: 0 0 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
}

h1 {
  max-width: 12ch;
  font-size: 5.8rem;
  letter-spacing: 0;
}

h2 {
  font-size: 3.8rem;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

p {
  line-height: 1.6;
}

.hero-text,
.section-heading p,
.flow-card p,
.feature-card p,
.feature-card strong,
.cta-card p,
.site-footer p,
.policy-card p,
.policy-card ul {
  color: var(--muted);
}

.hero-text {
  max-width: 54ch;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-store-actions {
  align-items: center;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  transition: transform 180ms ease;
}

.store-badge-link:hover {
  transform: translateY(-1px);
}

.store-badge {
  display: block;
  width: 210px;
  height: auto;
}

.store-badge-ios {
  width: 210px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-meta span::before {
  content: "•";
  margin-right: 8px;
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.phone-frame {
  width: min(380px, 100%);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.phone-screen {
  border-radius: 26px;
  background: #0f0f0f;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}

.phone-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  pointer-events: none;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 96px;
}

.proof-strip div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.proof-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.proof-strip p {
  margin: 0;
  color: var(--muted);
}

.flow-section,
.feature-section,
.faq-section,
.cta-section {
  margin: 0 0 96px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.flow-card,
.feature-card,
.cta-card,
.policy-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.flow-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-card p:first-of-type {
  margin-top: 0;
}

.feature-card p:last-child {
  margin-bottom: 0;
}

.cta-card {
  background: var(--surface-soft);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 56px;
  padding: 24px 0 8px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.policy-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 0;
}

.policy-card h1 {
  margin-bottom: 20px;
  font-size: 4rem;
  letter-spacing: 0;
}

.policy-card h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 2.3rem;
  letter-spacing: 0;
}

@media (max-width: 980px) {
  .hero,
  .proof-strip,
  .flow-grid,
  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero {
    gap: 40px;
    padding-top: 24px;
  }

  .hero-visual {
    min-height: auto;
    justify-items: start;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
  }

  h1 {
    max-width: 11ch;
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .policy-card h1 {
    font-size: 2.7rem;
  }

  .policy-card h2 {
    font-size: 1.8rem;
  }

  .hero-text,
  p,
  .site-nav {
    font-size: 0.98rem;
  }

  .site-header {
    padding: 20px 0;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .store-badge {
    width: 190px;
  }

  .store-badge-ios {
    width: 190px;
  }

  .flow-card,
  .feature-card,
  .cta-card,
  .policy-card {
    padding: 22px;
  }

  .phone-frame {
    border-radius: 34px;
  }

  .phone-screen {
    border-radius: 24px;
  }

  .proof-strip {
    gap: 12px;
    margin-bottom: 72px;
  }
}
