/* StreetCarts — Toastr-like fun food-app landing + shared pages */
:root {
  --coral: #FE4A69;
  --coral-hover: #e63a58;
  --coral-deep: #c91f3f;
  --coral-soft: rgba(254, 74, 105, 0.14);
  --coral-softer: rgba(254, 74, 105, 0.07);
  --bg: #f4f4f5;
  --bg-elevated: #ffffff;
  --ink: #0f172a;
  --ink-secondary: #1e293b;
  --ink-muted: #475569;
  --ink-faint: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(15, 23, 42, 0.16);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.05), 0 12px 28px rgba(15, 23, 42, 0.09);
  --shadow-lift: 0 8px 16px rgba(15, 23, 42, 0.07), 0 20px 40px rgba(254, 74, 105, 0.18);
  --radius: 12px;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-pill: 980px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1100px;
  --max-wide: 1160px;
  --header-h: 4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mascot-bob,
  .mascot-shadow,
  .food-orbit,
  .food-chip {
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.011em;
  color: var(--ink-secondary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--coral);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1.5px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max-wide);
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.logo:hover,
.footer-logo:hover {
  text-decoration: none;
  opacity: 0.85;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo-img-footer {
  width: 32px;
  height: 32px;
}

.logo-text {
  color: var(--coral);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.site-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.35rem 0;
}

.site-nav a:hover {
  color: var(--coral);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--coral);
  font-weight: 600;
}

.nav-cta {
  margin-left: 0.35rem;
  flex-shrink: 0;
  white-space: nowrap;
  /* Beat .site-nav a { padding: 0.35rem 0 } so the pill keeps room for the label */
  padding: 0.7rem 1.4rem !important;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  box-sizing: border-box;
}

.site-nav a.nav-cta,
.site-nav a.nav-cta:hover,
.site-nav a.nav-cta[aria-current="page"] {
  color: #fff;
  text-decoration: none;
  border-bottom: 0;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin: 0.85rem 0 0;
    text-align: center;
    border-bottom: 0;
    width: 100%;
    padding: 0.85rem 1.5rem !important;
    min-height: 3rem;
    font-size: 1rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 4px 14px rgba(254, 74, 105, 0.35);
}

.btn-primary:hover {
  background: var(--coral-hover);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.btn-on-coral {
  background: rgba(255, 255, 255, 0.95);
  color: var(--coral-deep);
  border-color: transparent;
}

.btn-on-coral:hover {
  background: #fff;
  color: var(--coral-deep);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

/* —— Shared page bits —— */
.section {
  padding: 3.5rem 0;
}

.eyebrow,
.cta-chapter {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--ink);
  font-weight: 800;
}

.page-hero {
  padding: 4rem 0 1.5rem;
  background: transparent;
}

.page-hero-inner {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.page-hero-logo {
  margin: 0 auto 1rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: var(--ink);
}

.page-lead {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.1rem;
}

.prose {
  max-width: 40rem;
}

.prose h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.prose p,
.prose li {
  color: var(--ink-muted);
}

.involve-list {
  padding-left: 1.2rem;
}

.privacy-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.text-link {
  font-weight: 600;
}

/* —— Footer —— */
.site-footer {
  padding: 2.75rem 0 2.25rem;
  border-top: 1px solid rgba(254, 74, 105, 0.12);
  background: linear-gradient(180deg, #2a2430 0%, #1c1822 100%);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-tag {
  margin: 0.5rem 0 0;
  color: rgba(255, 236, 230, 0.72);
  font-size: 0.9375rem;
  max-width: 28rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
}

.footer-nav a {
  color: rgba(255, 240, 235, 0.82);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #ff8fa3;
}

.footer-copy,
.footer-legal {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 230, 224, 0.55);
}

.site-footer .logo-text {
  color: #ff7a92;
}

.site-footer .footer-logo {
  color: #fff5f2;
}

.footer-legal {
  max-width: 36rem;
}

/* —— Soft close / social —— */
.social-strip {
  padding-top: 0;
  padding-bottom: 3rem;
}

.social-inner {
  text-align: center;
}

.social-heading {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.social-list a {
  font-weight: 600;
  font-size: 1rem;
}

.soft-close {
  padding-top: 1.5rem;
}

.close-card {
  background: linear-gradient(145deg, var(--coral) 0%, #ff6b84 42%, var(--coral-deep) 100%);
  color: #fff;
  border-radius: var(--radius-2xl);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}

.close-card-glow::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.28), transparent 65%);
  pointer-events: none;
}

.close-card > * {
  position: relative;
  z-index: 1;
}

.close-card .cta-chapter {
  color: rgba(255, 255, 255, 0.9);
}

.close-card h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-weight: 800;
}

.close-card p {
  margin: 0 0 1.35rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-pill-heat {
  min-width: 11.5rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18);
}

.close-card .btn-primary.btn-pill-heat {
  background: #fff;
  color: var(--coral-deep);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18);
}

.close-card .btn-primary.btn-pill-heat:hover {
  background: #fff8f9;
  color: var(--coral-deep);
}

.close-card .btn-on-coral {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.close-card .btn-on-coral:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* ========== HOME: Hero (coral bang) ========== */
.hero {
  padding: clamp(2.25rem, 5.5vw, 4rem) 0 clamp(2.75rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 85% 30%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(201, 31, 63, 0.35), transparent 50%),
    linear-gradient(145deg, #ff5f7c 0%, var(--coral) 42%, #e63a58 78%, var(--coral-deep) 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.12), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  max-width: var(--max-wide);
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 1.5rem 1rem;
    min-height: 520px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.88) !important;
  margin-bottom: 0.65rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.live-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  flex-shrink: 0;
  animation: live-pulse 1.6s ease-out infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65);
  }
  70% {
    box-shadow: 0 0 0 0.55rem rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
  }
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.45rem, 7vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 24px rgba(120, 20, 40, 0.18);
}

.hero-body {
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn-hero-primary {
  background: #fff;
  color: var(--coral-deep);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.18);
  border-color: transparent;
}

.btn-hero-primary:hover {
  background: #fff8f9;
  color: var(--coral-deep);
  transform: translateY(-1px);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border-color: #fff;
}

.hero-note {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 28rem;
}

/* —— Flat logo mascot + orbiting food chips —— */
.hero-mascot {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  overflow: visible;
}

.mascot-stage {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  max-height: min(420px, 85vw);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

@media (min-width: 900px) {
  .mascot-stage {
    width: min(100%, 440px);
    max-height: 440px;
  }
}

.mascot-bob {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(78%, 360px);
  aspect-ratio: 1 / 1;
  animation: mascot-float 4.2s ease-in-out infinite;
}

.mascot-badge {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fffaf6;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.22),
    0 18px 40px rgba(40, 8, 18, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  box-sizing: border-box;
}

.mascot-logo {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.mascot-shadow {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 4%;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(40, 8, 18, 0.38), transparent 70%);
  border-radius: 50%;
  filter: blur(3px);
  z-index: 1;
  animation: shadow-pulse 4.2s ease-in-out infinite;
}

/* —— Orbiting food chips (emoji + name) —— */
.food-orbit {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  animation: food-orbit-spin 22s linear infinite;
}

.chip-slot {
  position: absolute;
  inset: 0;
  transform: rotate(var(--a, 0deg));
}

.food-chip {
  position: absolute;
  left: 50%;
  top: 4%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem 0.4rem 0.65rem;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 20px rgba(40, 8, 18, 0.22);
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--a, 0deg)));
  animation: food-chip-counter 22s linear infinite;
  transform-origin: center center;
}

.chip-emoji {
  font-size: 1.1em;
  line-height: 1;
  display: inline-block;
}

@media (max-width: 560px) {
  .hero {
    padding-bottom: 3.5rem;
  }

  /* Shrink badge so orbit chips sit clearly outside it */
  .mascot-bob {
    width: min(68%, 280px);
  }

  .mascot-badge {
    padding: 1.75rem;
  }

  .food-chip {
    font-size: 0.72rem;
    padding: 0.32rem 0.65rem 0.32rem 0.5rem;
    gap: 0.25rem;
    top: 6%;
  }

  .mascot-stage {
    width: min(100%, 340px);
    max-height: min(340px, 82vw);
  }

  .hero-mascot {
    padding-bottom: 1.25rem;
    padding-top: 0.5rem;
    min-height: 280px;
    margin-top: 0.35rem;
  }

  .hero-grid {
    gap: 2.25rem;
  }
}

@media (max-width: 400px) {
  .mascot-bob {
    width: min(64%, 260px);
  }

  .food-chip {
    font-size: 0.68rem;
    padding: 0.28rem 0.55rem 0.28rem 0.45rem;
    top: 5.5%;
  }
}

@keyframes mascot-float {
  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) translateX(6px) rotate(1.4deg);
  }
  50% {
    transform: translateY(-16px) translateX(0) rotate(0deg);
  }
  75% {
    transform: translateY(-10px) translateX(-6px) rotate(-1.4deg);
  }
}

@keyframes shadow-pulse {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.9;
  }
  50% {
    transform: scaleX(0.86);
    opacity: 0.5;
  }
}

@keyframes food-orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes food-chip-counter {
  from {
    transform: translate(-50%, -50%) rotate(calc(0deg - var(--a, 0deg)));
  }
  to {
    transform: translate(-50%, -50%) rotate(calc(-360deg - var(--a, 0deg)));
  }
}

body.is-reduced-motion .mascot-bob,
body.is-reduced-motion .mascot-shadow,
body.is-reduced-motion .food-orbit,
body.is-reduced-motion .food-chip {
  animation: none;
}

/* ========== Features ========== */
/* ========== Features ========== */
.features {
  padding-top: 3.25rem;
  background: var(--bg);
}

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

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

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(254, 74, 105, 0.28);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  background: var(--coral-softer);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ========== How it works ========== */
.how {
  background: linear-gradient(180deg, transparent 0%, rgba(254, 74, 105, 0.04) 40%, transparent 100%);
}

.how-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  counter-reset: how;
}

@media (min-width: 900px) {
  .how-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.how-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1rem 1.35rem;
  text-align: left;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  counter-increment: how;
}

.how-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.how-logo-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 1.5rem;
}

.how-logo-badge {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fffaf6;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.how-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.how-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 700;
}

.how-card h3::before {
  content: counter(how) ". ";
  color: var(--coral);
  font-weight: 800;
}

.how-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

@media (max-width: 480px) {
  .how-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .cta-band-actions .btn {
    width: 100%;
  }
}


/* ========== Full-site additions (site2) ========== */
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) {
  .teaser-grid { grid-template-columns: repeat(3, 1fr); }
}
.teaser-card {
  background: var(--bg-elevated, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl, 1.25rem);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}
.teaser-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.teaser-card .eyebrow { margin: 0; }
.teaser-card h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.teaser-card p {
  margin: 0;
  color: var(--ink-muted, #475569);
  font-size: 0.95rem;
  flex: 1;
}
.teaser-card .teaser-link {
  color: var(--coral);
  font-weight: 700;
  font-size: 0.9rem;
}

.explore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) {
  .explore-grid { grid-template-columns: repeat(3, 1fr); }
}
.explore-card {
  background: var(--bg-elevated, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl, 1rem);
  padding: 1.25rem 1.15rem;
}
.explore-card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--ink); }
.explore-card p { margin: 0 0 0.85rem; color: var(--ink-muted, #475569); font-size: 0.95rem; }

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  counter-reset: step;
}
@media (min-width: 720px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
.step-card {
  background: var(--bg-elevated, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl, 1rem);
  padding: 1.25rem 1.15rem 1.35rem;
  counter-increment: step;
}
.step-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--ink);
}
.step-card h3::before {
  content: counter(step) ". ";
  color: var(--coral);
  font-weight: 800;
}
.step-card p {
  margin: 0;
  color: var(--ink-muted, #475569);
  font-size: 0.95rem;
}

.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--bg-elevated, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl, 1rem);
  padding: 1.1rem 1.15rem;
}
.faq-item h3 { margin: 0 0 0.35rem; font-size: 1rem; color: var(--ink); }
.faq-item p { margin: 0; color: var(--ink-muted, #475569); font-size: 0.95rem; }

.split-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 800px) {
  .split-2 { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
.panel {
  background: var(--bg-elevated, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl, 1.25rem);
  padding: 1.5rem 1.35rem;
}
.panel h2 { margin: 0 0 0.75rem; font-size: 1.25rem; color: var(--ink); letter-spacing: -0.02em; }
.panel ul { margin: 0; padding-left: 1.15rem; color: var(--ink-muted, #475569); }
.panel li { margin: 0.35rem 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
}
.contact-card {
  background: var(--bg-elevated, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl, 1.25rem);
  padding: 1.5rem 1.35rem;
}
.contact-card h2 { margin: 0 0 0.65rem; font-size: 1.15rem; color: var(--ink); }
.contact-card p, .contact-card li { color: var(--ink-muted, #475569); }
.contact-card ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }

/* Blog listing */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
.blog-card {
  background: var(--bg-elevated, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl, 1.25rem);
  padding: 1.35rem 1.25rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.blog-card .blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--ink-faint, #64748b);
  font-weight: 600;
}
.blog-tag {
  color: var(--coral);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.blog-card h2 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.3;
}
.blog-card p {
  margin: 0;
  color: var(--ink-muted, #475569);
  font-size: 0.95rem;
  flex: 1;
}
.blog-card .read-more {
  color: var(--coral);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Article prose */
.article-wrap {
  max-width: 42rem;
  margin: 0 auto;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--ink-faint, #64748b);
  font-weight: 600;
  margin: 0 0 1.5rem;
}
.prose-article {
  color: var(--ink-secondary, #1e293b);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.prose-article h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.25;
}
.prose-article h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
  color: var(--ink);
}
.prose-article p { margin: 0 0 1.1rem; }
.prose-article ul, .prose-article ol {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}
.prose-article li { margin: 0.35rem 0; }
.prose-article a { font-weight: 600; }
.related-posts {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.related-posts h2 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  color: var(--ink);
}
.related-posts ul { margin: 0; padding-left: 1.15rem; }
.related-posts li { margin: 0.4rem 0; }

.site-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (min-width: 769px) {
  .site-nav { gap: 0.25rem 0.85rem; }
  .site-nav a { font-size: 0.875rem; }
}



/* ========== Store badges (badges1 — official asset wrappers) ========== */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  line-height: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.store-badge img {
  display: block;
  width: auto;
  height: auto;
  max-height: 40px;
  pointer-events: none;
  user-select: none;
}
.store-badge:disabled,
.store-badge[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.7;
}
.store-badge:focus-visible {
  outline: 2px solid #ff6b81;
  outline-offset: 3px;
}
.store-badges-lg .store-badge img {
  max-height: 48px;
}
.store-badges-lg .store-badge-play img { width: 162px; height: 48px; max-height: 48px; }
.store-badges-lg .store-badge-apple img { width: 144px; height: 48px; max-height: 48px; }
.store-badges-md .store-badge-play img { width: 135px; height: 40px; max-height: 40px; }
.store-badges-md .store-badge-apple img { width: 120px; height: 40px; max-height: 40px; }
.store-badges-sm .store-badge-play img { width: 108px; height: 32px; max-height: 32px; }
.store-badges-sm .store-badge-apple img { width: 96px; height: 32px; max-height: 32px; }

.hero-actions-app {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.hero-secondary-links {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
}
.hero-secondary-links a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.hero-launch-note {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
}

.download-panel {
  background: linear-gradient(145deg, #ff5f7c 0%, var(--coral) 45%, #e63a58 100%);
  color: #fff;
  text-align: center;
}
.download-panel-inner { max-width: 36rem; margin-inline: auto; }
.download-panel .eyebrow { color: rgba(255,255,255,0.88) !important; }
.download-panel h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.035em;
  color: #fff;
}
.download-lead {
  margin: 0 0 1.25rem;
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
}
.download-panel .store-badges { justify-content: center; }
.download-honesty {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
}
.close-card-download .store-badges { justify-content: flex-start; margin-top: 0.5rem; }

.secondary-forms {
  text-align: center;
  font-size: 0.875rem;
  color: var(--ink-muted, #475569);
  margin: 0.5rem 0 0;
}

/* Footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 1.25rem;
  padding-top: 0.5rem;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr 1.2fr; }
}
.footer-heading {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ff8fa3;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.footer-list a {
  color: rgba(255, 240, 235, 0.82);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.footer-list a:hover { color: #ff8fa3; }
.footer-note {
  font-size: 0.7rem;
  color: rgba(255,230,224,0.45);
  font-weight: 500;
}
.footer-social { margin-top: 0.85rem; }
.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-col-app .store-badges { margin-bottom: 0.35rem; }

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  z-index: 90;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(110%);
  transition: transform 0.3s var(--ease, ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta[hidden] { display: none !important; }
.sticky-cta-inner {
  max-width: var(--max-wide, 1160px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.sticky-cta-label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
@media (max-width: 560px) {
  .sticky-cta-inner { justify-content: stretch; }
  .sticky-cta-label { width: 100%; text-align: center; }
  .sticky-cta .store-badges { width: 100%; }
  .sticky-cta .store-badge { flex: 0 0 auto; justify-content: center; }
}
body.has-sticky-cta { padding-bottom: 5.5rem; }
body.page-policy.has-sticky-cta { padding-bottom: 0; }
body.page-policy .sticky-cta { display: none !important; }

.nav-drawer-download { display: none; }
@media (max-width: 768px) {
  .nav-drawer-download {
    display: block;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }
  .nav-drawer-label {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--coral);
  }
}

.policy-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
}
.prose-policy { max-width: 42rem; margin: 0 auto; }
.prose-policy h2 { margin-top: 1.75rem; }

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}


/* FAQ details (seo1) */
details.faq-item {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: #fff;
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink, #0f172a);
  list-style: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--coral, #ff5f7c);
}
details.faq-item[open] summary::after { content: "–"; }
details.faq-item p {
  margin: 0.65rem 0 0;
  color: var(--ink-muted, #475569);
  font-size: 0.95rem;
  line-height: 1.55;
}
