/* CarePaws landing — tokens aligned with app DesignSystem/AppColor */

:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --lavender-100: #ede9fe;
  --lavender-500: #8b5cf6;
  --lavender-600: #7c3aed;
  --rose: #f43f5e;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.05);
  --shadow-md: 0 4px 24px rgb(15 23 42 / 0.08);
  --shadow-lg: 0 24px 48px rgb(22 101 52 / 0.12);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
  --cream: #faf9f6;
  --cream-warm: #f7f5f0;
  --scribble: #7c3aed;
  --page-bg: #fafcfb;
  --surface-muted: #f4faf6;
  --section-y: clamp(3.5rem, 8vw, 5.5rem);
  --section-x: clamp(1.25rem, 4vw, 1.75rem);
  --radius-card: 20px;
  --shadow-card: 0 2px 16px rgb(15 23 42 / 0.045);
  --shadow-card-hover: 0 12px 36px rgb(22 101 52 / 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--slate-800);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-600);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--green-700);
  color: var(--white);
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Hero shell (nav + two-column hero, Life track–style) —— */

.hero-surface {
  background: var(--cream);
  background-image: radial-gradient(ellipse 70% 50% at 85% 35%, rgb(220 252 231 / 0.55), transparent 50%),
    linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 38%, var(--cream) 100%);
}

.hero-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgb(250 249 246 / 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(15 23 42 / 0.06);
}

.hero-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--section-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--slate-900);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--green-800);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  justify-self: center;
}

.nav-main a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-800);
  text-decoration: none;
}

.nav-main a:hover {
  color: var(--green-700);
}

.nav-cta {
  flex-shrink: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--green-800);
  background: linear-gradient(180deg, var(--green-100) 0%, #c8f5d8 100%);
  border: 1px solid var(--green-200);
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgb(22 101 52 / 0.08);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta:hover {
  color: var(--green-900);
  background: var(--green-100);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgb(22 101 52 / 0.12);
}

.hero {
  padding: 2.5rem var(--section-x) var(--section-y);
  overflow: hidden;
}

.hero-inner.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: center;
  text-align: left;
}

@media (min-width: 960px) {
  .hero-inner.hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 3rem 2rem;
  }
}

.hero-copy {
  max-width: 34rem;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.35rem, 4.8vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--slate-900);
}

.hero-title-line {
  display: block;
}

.hero-title-accent {
  position: relative;
  display: inline-block;
  color: var(--slate-900);
}

.hero-title-scribble {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.2em;
  width: 104%;
  height: 0.45em;
  color: var(--scribble);
  pointer-events: none;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate-600);
  max-width: 32rem;
}

.hero-store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.hero-store-link {
  display: inline-flex;
  line-height: 0;
}

.hero-store-link:hover {
  opacity: 0.92;
}

.hero-store-badge {
  height: 48px;
  width: auto;
}

.hero-store-soon {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 48px;
  padding: 0 1rem;
  border: 2px solid var(--slate-900);
  border-radius: 8px;
  background: var(--white);
}

.hero-store-soon-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--slate-900);
  line-height: 1.2;
}

.hero-store-soon-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-500);
}

a.hero-store-soon--waitlist {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

a.hero-store-soon--waitlist:hover {
  border-color: rgb(22 101 52);
  background: rgb(240 253 244);
  box-shadow: 0 1px 0 rgb(22 101 52 / 0.12);
}

a.hero-store-soon--waitlist:focus-visible {
  outline: 2px solid rgb(22 101 52);
  outline-offset: 2px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

@media (min-width: 960px) {
  .hero-visual {
    justify-content: flex-end;
    min-height: 480px;
  }
}

.hero-phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  /* Green-tinted shadow only — avoids gray “halo” from slate drop-shadows */
  filter: drop-shadow(12px 28px 36px rgb(22 101 52 / 0.14)) drop-shadow(0 8px 20px rgb(34 197 94 / 0.08));
}

/* Full-bleed screenshot only: no faux device bezel (that read as a huge dark frame). */
.hero-phone-screen {
  --hero-screen-radius: clamp(20px, 5vw, 28px);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  aspect-ratio: 472 / 1024;
  max-height: min(540px, 70vh);
  margin: 0 auto;
  border-radius: var(--hero-screen-radius);
  overflow: hidden;
  background: var(--green-50);
  box-shadow:
    0 0 0 1px rgb(15 23 42 / 0.07),
    0 2px 12px rgb(15 23 42 / 0.06);
}

.hero-screen-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 0;
}

@media (max-width: 959px) {
  .hero-header-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .nav-main {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: center;
    padding-top: 0.65rem;
    border-top: 1px solid rgb(15 23 42 / 0.06);
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-cta {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .hero-inner.hero-grid {
    text-align: center;
  }

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

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

  .hero-store-row {
    justify-content: center;
  }

  .hero-title-scribble {
    left: 50%;
    transform: translateX(-50%);
    width: min(104%, 280px);
  }

  .hero-visual {
    min-height: 380px;
  }

  .hero-phone-screen {
    max-height: min(500px, 56vh);
  }
}

@media (max-width: 520px) {
  .nav-main {
    gap: 0.5rem 1rem;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  font-weight: 600;
  font-size: 1rem;
  color: var(--slate-600);
  text-decoration: none;
  padding: 0.5rem 0.25rem;
}

.btn-ghost:hover {
  color: var(--green-700);
}

.section {
  padding: var(--section-y) var(--section-x);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

/* Alternating surfaces: mint wash vs clean white */
.section-surface-alt {
  background: linear-gradient(180deg, var(--surface-muted) 0%, var(--green-50) 55%, var(--surface-muted) 100%);
}

.section-showcase {
  background: linear-gradient(180deg, var(--white) 0%, var(--green-50) 100%);
}

.section-faq {
  background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 65%);
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.section-head--center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.section-head .section-kicker {
  margin-bottom: 0.5rem;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.2vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.2;
  color: var(--slate-900);
}

.section-head .section-intro {
  margin: 0 auto;
  max-width: 36rem;
}

.section-kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-700);
  margin: 0 0 0.5rem;
}

.section-intro {
  margin: 0 0 2.5rem;
  max-width: 40rem;
  color: var(--slate-600);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.faq-list {
  margin: 0 auto;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  margin: 0;
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-card-hover);
}

.faq-item dt {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.faq-item dd {
  margin: 0;
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* —— Why CarePaws: bento grid (CarePaws / Fresh Green design system) —— */

.section-features {
  background: radial-gradient(ellipse 75% 60% at 50% -10%, var(--green-50) 0%, transparent 52%),
    linear-gradient(180deg, #f6fbf8 0%, var(--white) 42%);
}

.section-features .section-kicker {
  text-align: center;
  color: var(--green-700);
}

.features-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.75rem;
}

.features-head .features-head-title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--slate-900);
}

.features-head-accent {
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.features-head-lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate-600);
  max-width: 36rem;
  margin-inline: auto;
}

.feature-bento {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .feature-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .feature-bento {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.bento-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.bento-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-card-hover);
}

.bento-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
  background: linear-gradient(145deg, var(--green-400) 0%, var(--green-600) 55%, var(--green-700) 100%);
  box-shadow: 0 4px 14px rgb(22 163 74 / 0.35);
}

.bento-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.bento-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.55;
  flex: 1;
}

.bento-pro-note {
  margin: 2rem auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--slate-600);
  padding: 0.85rem 1rem;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--green-200);
}

.bento-pro-name {
  background: linear-gradient(90deg, var(--lavender-500), #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
    align-items: stretch;
  }
}

.step-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.35rem 1.4rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-card-hover);
}

.step {
  position: relative;
  padding-top: 0.35rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  margin-bottom: 1rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
}

.step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--slate-600);
}

.showcase {
  text-align: center;
}

.showcase-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 0;
  grid-template-columns: 1fr;
  align-items: end;
  justify-items: center;
}

@media (min-width: 768px) {
  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.phone {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 9 / 19;
  background: var(--slate-900);
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 22px;
  background: var(--slate-900);
  border-radius: 14px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 0.65rem;
  color: var(--slate-600);
}

/* Real device screenshots — match hero: no thick faux bezel, same aspect as assets */
.phone.phone--screenshot {
  max-width: 240px;
  min-height: 0;
  aspect-ratio: 472 / 1024;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(8px 22px 28px rgb(22 101 52 / 0.12)) drop-shadow(0 4px 14px rgb(15 23 42 / 0.06));
}

.phone.phone--screenshot::before {
  display: none;
}

.phone.phone--screenshot .phone-screen {
  --showcase-screen-radius: clamp(16px, 3.5vw, 22px);
  display: block;
  min-height: 0;
  border-radius: var(--showcase-screen-radius);
  padding: 0;
  background: var(--green-50);
  box-shadow:
    0 0 0 1px rgb(15 23 42 / 0.07),
    0 2px 12px rgb(15 23 42 / 0.06);
}

.phone-screen-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.phone-label {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
  letter-spacing: -0.01em;
}

/* —— Loved by cat parents: grid cards, no avatars (CarePaws style) —— */

.section-testimonials {
  background: linear-gradient(180deg, var(--white) 0%, var(--green-50) 100%);
}

.testimonials-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.75rem;
}

.section-testimonials .section-kicker {
  color: var(--green-700);
}

.testimonials-head .testimonials-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--slate-900);
}

.testimonials-subtitle {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate-600);
}

.testimonials-disclaimer {
  margin: 2rem auto 0;
  max-width: 40rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--slate-500);
  text-align: center;
}

.testimonial-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-card-head {
  margin-bottom: 0.85rem;
}

.testimonial-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.testimonial-meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-500);
}

.testimonial-text {
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--slate-600);
}

/* —— Download panel: headline, lead, store badges; lavender + neutrals —— */

.section-download {
  padding-top: calc(var(--section-y) * 0.65);
  padding-bottom: var(--section-y);
  background: linear-gradient(180deg, var(--white) 0%, var(--lavender-100) 45%, rgb(248 250 252) 100%);
}

.download-panel {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5.5vw, 3.5rem) clamp(1.5rem, 4vw, 2.75rem);
  text-align: center;
  border-radius: clamp(24px, 4vw, 36px);
  background: linear-gradient(132deg, rgb(250 250 250) 0%, var(--white) 42%, rgb(245 243 255 / 0.97) 100%);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgb(226 232 240 / 0.95);
}

.download-panel-title {
  margin: 0 auto 0.75rem;
  max-width: 26ch;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--slate-900);
}

.download-panel-lead {
  margin: 0 auto clamp(1.35rem, 3vw, 1.75rem);
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-600);
}

.download-app-name {
  margin: 0 auto 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--slate-700);
}

.download-app-name-link {
  font-weight: 700;
  color: var(--slate-900);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.download-app-name-link:hover {
  color: rgb(22 101 52);
}

.download-app-name-meta {
  font-weight: 500;
  color: var(--slate-500);
}

.download-panel-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
}

.download-badge-link {
  display: inline-flex;
  line-height: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.download-badge-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.download-play-note {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
}

a.download-play-note--waitlist {
  text-decoration: none;
  color: var(--slate-700);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

a.download-play-note--waitlist:hover {
  transform: translateY(-2px);
  background: rgb(240 253 244);
  border-color: rgb(187 247 208);
  color: rgb(22 101 52);
}

a.download-play-note--waitlist:focus-visible {
  outline: 2px solid rgb(22 101 52);
  outline-offset: 2px;
}

.site-footer {
  padding: clamp(2.5rem, 5vw, 3.25rem) var(--section-x) clamp(1.75rem, 4vw, 2.25rem);
  background: linear-gradient(165deg, #0f172a 0%, #0d1814 45%, #0a1412 100%);
  color: var(--slate-400);
  font-size: 0.875rem;
  border-top: 1px solid rgb(34 197 94 / 0.18);
}

.footer-shell {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem;
  }
}

.footer-brand {
  max-width: 22rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.footer-logo-link:hover {
  color: var(--green-200);
}

.footer-logo-link img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex-shrink: 0;
}

.footer-brand-name {
  line-height: 1;
}

.footer-tagline {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgb(203 213 225 / 0.88);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.75rem;
}

@media (min-width: 720px) {
  .footer-nav {
    justify-content: flex-end;
    padding-top: 0.15rem;
  }
}

.footer-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
  text-decoration: none;
  white-space: nowrap;
}

.footer-nav a:hover {
  color: var(--green-400);
}

.footer-rule {
  margin: clamp(1.75rem, 4vw, 2.25rem) 0 0;
  height: 1px;
  border: none;
  background: rgb(148 163 184 / 0.14);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.25rem;
}

.footer-copyright {
  margin: 0;
  font-size: 0.8125rem;
  color: #94a3b8;
  letter-spacing: 0.01em;
}

.footer-disclaimer {
  margin: 0.65rem auto 0;
  max-width: 36rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgb(148 163 184 / 0.75);
}

/* —— Waitlist modal (Google Play interest) —— */

body.waitlist-open {
  overflow: hidden;
}

.waitlist-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.waitlist-root.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.waitlist-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(15 23 42 / 0.45);
  backdrop-filter: blur(4px);
}

.waitlist-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  padding: 1.65rem 1.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.waitlist-x {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--slate-500);
  background: transparent;
  cursor: pointer;
}

.waitlist-x:hover {
  color: var(--slate-800);
  background: var(--slate-100);
}

.waitlist-title {
  margin: 0 2rem 0.5rem 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.waitlist-lead {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--slate-600);
}

.waitlist-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-700);
}

.waitlist-input {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  color: var(--slate-900);
  background: var(--white);
  box-sizing: border-box;
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgb(34 197 94 / 0.2);
}

.waitlist-form-error {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--rose);
}

.waitlist-submit {
  width: 100%;
  margin-top: 0.25rem;
  justify-content: center;
}

.waitlist-success-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
}

.waitlist-success-copy {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--slate-600);
}

.waitlist-done {
  width: 100%;
  justify-content: center;
}
