:root {
  --background: #FBF5EC;
  --surface: #ffffff;
  --ink: #1F1B16;
  --muted: #8C8173;
  --red: #E9542B;
  --red-deep: #B23A1C;
  --green: #0F7A6B;
  --blue: #2C6E7C;
  --amber: #DE9A25;
  --line: #ECE2D2;
}

* {
  box-sizing: border-box;
  margin: 0;
}

body {
  background: var(--background);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.55;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
}

.topbar {
  align-items: center;
  background: rgba(247, 248, 245, 0.9);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1160px;
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: flex;
  gap: 9px;
  transform-origin: left center;
  animation: brand-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both, brand-bob 4.2s ease-in-out 0.7s infinite;
}
.brand img {
  display: block;
  width: auto;
}
.brand-word {
  color: var(--ink);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.brand:hover {
  animation-play-state: paused;
  transform: scale(1.04) rotate(-1deg);
  transition: transform 0.25s ease;
}
@keyframes brand-in {
  0% { opacity: 0; transform: translateX(-16px) scale(0.9); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes brand-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.topbar-links {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 22px;
}

.cta-small,
.cta {
  align-items: center;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--surface);
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cta-small {
  font-size: 13px;
  min-height: 38px;
  padding: 8px 16px;
}

.cta:hover,
.cta-small:hover {
  box-shadow: 0 10px 24px rgba(23, 33, 27, 0.12);
  transform: translateY(-2px);
}

.cta.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.cta.dark {
  background: var(--ink);
  border-color: var(--ink);
}

.light-cta {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--ink);
}

.hero {
  margin: 0 auto;
  max-width: 820px;
  padding: 82px 24px 58px;
  text-align: center;
}

.eyebrow,
.section-eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(42px, 8vw, 78px);
  margin-top: 12px;
}

.lede {
  color: var(--muted);
  font-size: 18px;
  margin: 18px auto 0;
  max-width: 650px;
}

.search-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 20px 60px rgba(23, 33, 27, 0.08);
  color: var(--muted);
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  margin: 30px auto 0;
  max-width: 560px;
  min-height: 58px;
  padding: 0 22px;
  text-align: left;
}

.search-card svg {
  height: 21px;
  width: 21px;
}

.search-card path {
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-width: 2.2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.trust {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  margin-top: 16px;
}

.stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto 42px;
  max-width: 860px;
  padding: 0 24px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.stat b {
  color: var(--red);
  display: block;
  font-size: 42px;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-top: 8px;
}

.band,
.how,
.download {
  border-top: 1px solid var(--line);
  padding: 66px 24px;
}

.band {
  background: var(--surface);
}

.section-head {
  margin: 0 auto 30px;
  max-width: 720px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 5vw, 46px);
  margin-top: 8px;
}

.group-grid,
.provider-grid,
.steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1080px;
}

.group-card,
.step,
.provider-card,
.qr-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
}

.group-card {
  min-height: 180px;
}

.group-icon,
.step span {
  align-items: center;
  background: rgba(199, 62, 46, 0.1);
  border-radius: 999px;
  color: var(--red-deep);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  margin-bottom: 15px;
  width: 36px;
}

.group-icon.blue {
  background: rgba(36, 94, 143, 0.1);
  color: var(--blue);
}

.group-icon.green {
  background: rgba(35, 122, 87, 0.1);
  color: var(--green);
}

.group-icon.amber {
  background: rgba(199, 130, 28, 0.12);
  color: var(--amber);
}

.group-card h3,
.step h3,
.provider-card h3 {
  font-size: 18px;
}

.group-card p,
.step p,
.provider-card p,
.providers-lede,
.download-copy p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 9px;
}

.providers {
  background: var(--ink);
  color: var(--surface);
  padding: 70px 24px;
}

.providers-inner {
  margin: 0 auto;
  max-width: 1080px;
}

.providers .section-eyebrow {
  color: #96d7bd;
}

.providers-lede {
  color: #c9d4cd;
  font-size: 16px;
  margin: -12px auto 30px;
  max-width: 660px;
  text-align: center;
}

.provider-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.provider-card p {
  color: #c9d4cd;
}

.hosts-cta {
  margin-top: 30px;
  text-align: center;
}

.download {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: center;
}

.download-copy {
  flex: 1;
  max-width: 520px;
  min-width: 280px;
}

.download-copy h2 {
  font-size: clamp(30px, 5vw, 46px);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.qr-card {
  text-align: center;
}

.qr-card img,
.qr-card canvas {
  display: block;
  margin: 0 auto;
}

.qr-card p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-top: 10px;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  padding: 34px 24px;
  text-align: center;
}

footer a {
  color: var(--red);
  display: inline-block;
  font-weight: 800;
  margin-top: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.4s; }

@media (max-width: 860px) {
  .stats,
  .group-grid,
  .provider-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .group-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 13px 16px;
  }

  .topbar-links a:not(.cta-small) {
    display: none;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .hero-actions,
  .download-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cta {
    width: 100%;
  }

  .band,
  .how,
  .providers,
  .download {
    padding: 48px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
