/* Home page — advertiser landing: hero with your ad inside the live feed,
   how it works, who you reach, prices, closing call. */

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 48px;
  align-items: center;          /* copy centred on the phone, phone hugs the nav */
  max-width: 1080px;
  margin: 0 auto;
  padding: 4px 24px 56px;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; animation: fadeUp 0.5s ease backwards; }
/* ── Nav: wordmark + the classic App Store badge beside it ── */
.nav-brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
/* The badge is drawn in CSS so it stays crisp at any size. Sized to the wordmark. */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px 0 10px;
  border-radius: 9px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 4px 12px rgba(20,20,20,0.14);
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
}
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(20,20,20,0.2); }
.store-badge svg { width: 19px; height: 19px; margin-top: -2px; flex-shrink: 0; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1; letter-spacing: -0.01em; }
.store-badge-text small { font-size: 0.52rem; font-weight: 500; opacity: 0.92; margin-bottom: 2px; }
.store-badge-text strong { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.02em; }

.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 750;
}
.tagline {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: var(--coral-deep);
  letter-spacing: -0.02em;
  margin-top: -6px;
}
.subtitle {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.hero-facts strong { color: var(--ink); font-weight: 700; }

.hero-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: fadeUp 0.6s 0.1s ease backwards;
}
.demo-caption {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
  max-width: 300px;
  line-height: 1.4;
}

/* ── Sections ── */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px;
}
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  text-align: center;
  margin-bottom: 28px;
}
.section-title.left { text-align: left; margin-bottom: 10px; }
.section-title .coral { color: var(--coral-deep); }
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 560px;
  margin: -16px auto 28px;
}
.section-actions { display: flex; justify-content: center; margin-top: 28px; }
.lead { color: var(--ink-soft); line-height: 1.6; max-width: 520px; font-size: 1.02rem; }

/* ── How it works ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  font-weight: 750;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.step-card h3 { font-size: 1.4rem; }
.step-card p { color: var(--ink-soft); line-height: 1.55; font-size: 0.95rem; }

/* ── Audience ── */
.audience {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 40px 44px;
}
.audience-copy { display: flex; flex-direction: column; gap: 14px; }
.audience-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.audience-list li { color: var(--ink-soft); line-height: 1.5; font-size: 0.98rem; padding-left: 18px; position: relative; }
.audience-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.audience-list strong { color: var(--ink); }
.audience-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.audience-chips .chip { font-size: 0.95rem; padding: 10px 18px; cursor: default; }
.audience-chips .chip.on { background: var(--coral); border-color: var(--coral); color: #fff; }

/* ── Pricing ── */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.plan {
  position: relative;
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan--top { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral) inset; }
.plan-badge {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--coral);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.plan h3 { font-size: 1.15rem; }
.plan-reach { font-size: 1.6rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; }
.plan-reach span { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; margin-top: 4px; }
.plan-price { font-size: 1.3rem; font-weight: 750; color: var(--coral-deep); }
.plan-price span { font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); }
.plan-for { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; margin-top: 4px; }

/* ── Closing ── */
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
}
.closing > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.closing .btn { flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 8px; }
  .hero-copy { align-items: center; }
  .subtitle, .lead { margin: 0 auto; }
  .hero-actions, .hero-facts { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr; padding: 28px 24px; }
  .closing { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .nav-links .nav-link { display: none; }
}
@media (max-width: 520px) {
  /* Phone widths: logo + badge + CTA must share one row, so the badge folds to its name. */
  .nav-brand { gap: 10px; }
  .wordmark img { height: 26px; }
  .store-badge { height: 32px; padding: 0 10px 0 9px; gap: 6px; }
  .store-badge-text small { display: none; }
  .store-badge-text strong { font-size: 0.85rem; }
}
@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .phone { --pt: 0.69px; }
}
