/* Keep in sync with the app's design tokens */
:root {
  --primary: #FF3B6B;
  --primary-pressed: #E62E5C;
  --primary-soft: #FFE4EC;
  --secondary: #00C2A8;
  --secondary-soft: #DCF7F2;
  --text: #12151A;
  --text-muted: #6B7280;
  --bg: #FFFFFF;
  --bg-elevated: #F6F7F9;
  --border: #E6E8EB;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  text-align: center;
  margin-bottom: 48px;
}

h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

p {
  margin: 0;
  text-wrap: pretty;
}

section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

/* Header */

.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.wordmark {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gotta {
  color: var(--primary);
}

.go {
  color: var(--secondary);
}

/* Buttons */

.button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

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

.button-small {
  padding: 10px 20px;
  font-size: 0.9375rem;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
  padding-top: 48px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  letter-spacing: -0.03em;
}

.accent {
  color: var(--primary);
}

.lead {
  margin-top: 24px;
  font-size: 1.1875rem;
  color: var(--text-muted);
  max-width: 34em;
}

.stores {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
}

.store-pill svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero-phones {
  position: relative;
  height: 600px;
}

/* Phone frames around the app screenshots */

.phone {
  margin: 0;
  padding: 8px;
  background: var(--text);
  border-radius: 44px;
  box-shadow: 0 24px 60px rgba(18, 21, 26, 0.18);
  aspect-ratio: 1206 / 2622;
}

.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

.hero-phones .phone {
  position: absolute;
  width: 260px;
}

.phone-front {
  left: 8%;
  top: 0;
  z-index: 1;
}

.phone-back {
  right: 4%;
  top: 60px;
  transform: rotate(4deg);
}

.phone-small {
  width: 220px;
  margin: 0 auto 24px;
  border-radius: 36px;
}

.phone-small img {
  border-radius: 28px;
}

/* Works with */

.sources {
  padding-top: 32px;
  padding-bottom: 32px;
  text-align: center;
}

.sources p {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.sources ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sources li {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--secondary-soft);
  color: #00806F;
  font-weight: 600;
}

/* How it works */

.steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.steps p {
  color: var(--text-muted);
  max-width: 22em;
  margin: 0 auto;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.9375rem;
  vertical-align: 2px;
}

/* Features */

.features {
  background: var(--bg-elevated);
  max-width: none;
}

.feature-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.feature p {
  color: var(--text-muted);
}

/* Questions */

.faq dl {
  margin: 0 auto;
  max-width: 880px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}

.faq dt {
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.faq dd {
  margin: 0;
  color: var(--text-muted);
}

.faq a {
  color: var(--primary);
}

/* Call to action */

.cta {
  text-align: center;
}

.cta h2 {
  margin-bottom: 16px;
}

.cta p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 32em;
  margin: 0 auto 32px;
}

/* Footer */

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.site-footer a {
  color: inherit;
}

/* Small screens */

@media (max-width: 860px) {
  section {
    padding: 56px 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 24px;
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .stores {
    justify-content: center;
  }

  .hero-phones {
    height: 520px;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-phones .phone {
    width: 220px;
  }

  .steps ol,
  .feature-grid,
  .faq dl {
    grid-template-columns: 1fr;
  }
}
