/* Mushroom Finder — product site */
:root {
  --color-bg: #0f1410;
  --color-bg-elevated: #161d17;
  --color-bg-card: #1c261e;
  --color-surface: #243028;
  --color-text: #e8ebe4;
  --color-text-muted: #9aa894;
  --color-accent: #c4a35a;
  --color-accent-bright: #e8c97a;
  --color-green: #4a7c59;
  --color-green-glow: rgba(74, 124, 89, 0.35);
  --color-edible: #6b9e72;
  --color-danger: #c45c4a;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --header-h-mobile: 60px;
  --sticky-cta-h: 72px;
  --tap-min: 44px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --container: min(1120px, calc(100% - 2.5rem - var(--safe-left) - var(--safe-right)));
  --vh: 1vh;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

body.nav-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent-bright); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }

.container { width: var(--container); margin-inline: auto; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: var(--color-bg);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.inapp-browser-tip {
  position: fixed;
  top: calc(var(--header-h) + var(--safe-top) + 0.5rem);
  left: max(1rem, var(--safe-left));
  right: max(1rem, var(--safe-right));
  z-index: 200;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #3d2e14;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.875rem;
  line-height: 1.45;
  box-shadow: var(--shadow-soft);
}
.inapp-browser-tip[hidden] { display: none; }
.inapp-browser-tip p { margin: 0; flex: 1; }
.inapp-browser-tip button {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

/* ——— WeChat in-app browser ——— */
.wechat-guide {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.wechat-guide[hidden] { display: none; }

.wechat-guide__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.wechat-guide__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 3rem 1.5rem calc(1.75rem + var(--safe-bottom));
  background: linear-gradient(180deg, #1e2a22 0%, #0f1410 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-top: 2px solid var(--color-accent);
  color: var(--color-text);
}

.wechat-guide__lang {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.wechat-guide__lang-btn {
  flex: 1;
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.wechat-guide__lang-btn.is-active {
  border-color: var(--color-accent);
  background: rgba(196, 163, 90, 0.15);
  color: var(--color-accent-bright);
}

.wechat-guide__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.wechat-guide__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.wechat-guide__panel h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 1.25rem;
}

.wechat-guide__steps {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  line-height: 1.7;
}
.wechat-guide__steps li { margin-bottom: 0.85rem; }
.wechat-guide__sub {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 400;
}
.wechat-dots {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.wechat-guide__arrow {
  position: fixed;
  top: calc(0.75rem + var(--safe-top));
  right: calc(0.75rem + var(--safe-right));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-accent-bright);
  font-size: 0.8rem;
  font-weight: 600;
  pointer-events: none;
  animation: wechat-bounce 1.2s ease-in-out infinite;
  z-index: 501;
}

@keyframes wechat-bounce {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4px, -6px); }
}

.wechat-guide__copy {
  width: 100%;
  margin-bottom: 1rem;
}

.wechat-guide__note {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  padding: 0.75rem;
  background: rgba(196, 92, 74, 0.12);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-danger);
}

.wechat-toast {
  position: fixed;
  bottom: calc(2rem + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 600;
  padding: 0.65rem 1.25rem;
  background: rgba(30, 42, 34, 0.95);
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}
.wechat-toast[hidden] { display: none; }

body.wechat-guide-open { overflow: hidden; }

.is-wechat .sticky-cta__btn {
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: linear-gradient(to bottom, rgba(15, 20, 16, 0.95), rgba(15, 20, 16, 0));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background 0.3s;
}
.site-header.is-scrolled {
  background: rgba(15, 20, 16, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}
.logo img { border-radius: 10px; }

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
}
.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-text); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.nav-backdrop[hidden] { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: var(--tap-min);
  height: var(--tap-min);
  padding: 0;
  margin-left: auto;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #a8863f);
  color: var(--color-bg);
  box-shadow: 0 4px 24px rgba(196, 163, 90, 0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(196, 163, 90, 0.4);
  color: var(--color-bg);
}
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.875rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: calc(var(--vh, 1vh) * 100);
  padding-top: calc(var(--header-h) + var(--safe-top) + 2rem);
  padding-bottom: 5rem;
  /* Do NOT use overflow:hidden — breaks <a> taps on iOS Safari */
  overflow: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--color-green-glow), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(196, 163, 90, 0.12), transparent 50%),
    linear-gradient(165deg, #0a0e0b 0%, var(--color-bg) 40%, #121a14 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-mist {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 5;
  isolation: isolate;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic;
  color: var(--color-accent-bright);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 32rem;
  margin: 0 0 1.75rem;
}

.hero-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}
.hero-rating .stars { color: var(--color-accent); letter-spacing: 2px; }
.hero-rating .dot { opacity: 0.4; }

.availability-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Store badges */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  position: relative;
  z-index: 10;
}

/* iOS Safari: promote tap layer above decorative hero backgrounds */
@supports (-webkit-touch-callout: none) {
  .store-badge {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }
}
.store-buttons--center { justify-content: center; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--tap-min);
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  z-index: 3;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(196, 163, 90, 0.25);
  touch-action: manipulation;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  min-width: 180px;
}
/* SVG/text must not steal taps on iOS/Android */
.store-badge svg,
.store-badge span,
.store-badge small {
  pointer-events: none;
}
.store-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(196, 163, 90, 0.4);
  color: #fff;
  transform: translateY(-2px);
}
.is-touch .store-badge:hover,
.is-touch .btn-primary:hover,
.is-touch .feature-card:hover {
  transform: none;
}
.store-badge svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex-shrink: 0;
}
.store-badge span { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge small {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }

.phone-frame {
  width: min(300px, 90%);
  aspect-ratio: 9 / 18;
  background: linear-gradient(145deg, #2a332c, #1a221c);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone-screen {
  height: 100%;
  border-radius: 26px;
  background: linear-gradient(180deg, #1e2a22 0%, #152018 100%);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
}

.screen-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  animation: fadeUp 0.8s ease backwards;
}
.screen-card:nth-child(2) { animation-delay: 0.15s; }
.screen-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.screen-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.screen-card p {
  margin: 0.35rem 0 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(74, 124, 89, 0.25);
  color: var(--color-edible);
}
.tag-edible { background: rgba(107, 158, 114, 0.25); }

/* Trust strip */
.trust-strip {
  padding: 3.5rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--color-bg-elevated);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.trust-grid h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin: 0 0 0.75rem;
}
.trust-grid p { margin: 0; color: var(--color-text-muted); }

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.trust-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-accent-bright);
}
.trust-stats li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Sections */
section { padding: 5.5rem 0; }

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3.5rem;
}
.section-header--left { text-align: left; margin-left: 0; margin-right: 0; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0;
  font-weight: 600;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.25s;
}
.feature-card:hover {
  border-color: rgba(196, 163, 90, 0.25);
  transform: translateY(-4px);
}
.feature-card--highlight {
  grid-column: span 1;
  background: linear-gradient(145deg, #243528, var(--color-bg-card));
  border-color: rgba(74, 124, 89, 0.3);
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  line-height: 1;
}
.feature-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
  font-weight: 600;
}
.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* How it works */
.how-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.steps li:last-child { border-bottom: none; padding-bottom: 0; }

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-accent);
  opacity: 0.5;
  line-height: 1;
}
.steps h3 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; }

/* Regions */
.regions {
  background: var(--color-bg-elevated);
}
.regions-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 3rem;
  align-items: start;
}
.regions-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin: 0 0 1rem;
}
.regions-copy > p { color: var(--color-text-muted); margin-bottom: 2rem; }

.region-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.region-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.region-flag { font-size: 1.5rem; line-height: 1; }
.region-list strong { display: block; margin-bottom: 0.25rem; }
.region-list span { font-size: 0.9rem; color: var(--color-text-muted); }

.region-unavailable {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 0.75rem 1rem;
  background: rgba(196, 92, 74, 0.1);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-danger);
}

.languages-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.languages-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}
.languages-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Safety */
.safety-panel {
  background: linear-gradient(135deg, rgba(74, 124, 89, 0.15), rgba(196, 163, 90, 0.08));
  border: 1px solid rgba(74, 124, 89, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  text-align: center;
}
.safety-panel h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 1rem;
}
.safety-panel p {
  margin: 0 auto;
  max-width: 52rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq-list {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0 1.25rem;
}
.faq-item summary {
  padding: 1.15rem 0;
  min-height: var(--tap-min);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--color-accent);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* CTA banner */
.cta-banner {
  padding: 5rem 0 6rem;
}
.cta-inner {
  text-align: center;
  padding: 4rem 2rem;
  background:
    radial-gradient(ellipse at center, var(--color-green-glow), transparent 70%),
    var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
}
.cta-inner > p {
  color: var(--color-text-muted);
  margin: 0 0 2rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0a0d0b;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand p {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}
.site-footer nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.site-footer nav a:hover { color: var(--color-text); }

/* Sticky CTA (mobile) */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem max(1rem, var(--safe-left)) calc(0.75rem + var(--safe-bottom)) max(1rem, var(--safe-right));
  background: rgba(15, 20, 16, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}
.sticky-cta__btn {
  width: 100%;
  max-width: 400px;
  font-size: 1rem;
}
.sticky-cta[hidden] { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .trust-grid,
  .how-grid,
  .regions-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { order: -1; }
  .phone-frame { width: 240px; }
  .trust-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ——— Mobile & touch ——— */
@media (max-width: 768px) {
  :root {
    --header-h: var(--header-h-mobile);
    --container: min(1120px, calc(100% - 2rem - var(--safe-left) - var(--safe-right)));
  }

  .nav {
    position: relative;
    gap: 0.5rem;
  }

  .logo span {
    font-size: 0.95rem;
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.is-open .nav-links,
  .nav.is-open .nav-cta {
    display: flex;
  }

  .nav.is-open .nav-links {
    flex-direction: column;
    position: fixed;
    top: calc(var(--header-h) + var(--safe-top));
    left: 0;
    right: 0;
    z-index: 99;
    margin: 0;
    padding: 1rem max(1.25rem, var(--safe-right)) 1.5rem max(1.25rem, var(--safe-left));
    gap: 0;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: calc(100dvh - var(--header-h) - var(--safe-top));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.is-open .nav-links a {
    display: flex;
    align-items: center;
    min-height: var(--tap-min);
    padding: 0.5rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav.is-open .nav-cta {
    position: fixed;
    left: max(1.25rem, var(--safe-left));
    right: max(1.25rem, var(--safe-right));
    bottom: calc(1rem + var(--safe-bottom));
    z-index: 99;
    width: auto;
    justify-content: center;
    margin: 0;
  }

  body {
    padding-bottom: calc(var(--sticky-cta-h) + var(--safe-bottom));
    font-size: 1rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .hero {
    padding-top: calc(var(--header-h) + var(--safe-top) + 1.5rem);
    padding-bottom: 2.5rem;
    min-height: auto;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 8vw, 2.75rem);
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .hero-rating {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .store-buttons--hero {
    flex-direction: column;
  }

  .store-buttons--hero .store-badge,
  .store-buttons--center .store-badge {
    width: 100%;
    min-width: unset;
    max-width: 100%;
  }

  .phone-frame {
    width: min(220px, 75vw);
    animation: none;
  }

  .trust-strip { padding: 2.5rem 0; }
  .trust-grid h2 { font-size: 1.5rem; }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: clamp(1.65rem, 6vw, 2rem);
  }

  .cta-inner {
    padding: 2.5rem 1.25rem;
  }

  .cta-banner {
    padding-bottom: calc(3rem + var(--sticky-cta-h));
  }

  .site-footer {
    padding-bottom: calc(2rem + var(--sticky-cta-h) + var(--safe-bottom));
  }

  .footer-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .site-footer nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .site-footer nav a {
    display: flex;
    align-items: center;
    min-height: var(--tap-min);
  }

  .feature-card:hover {
    transform: none;
  }

  .safety-panel {
    padding: 1.5rem 1.25rem;
    text-align: left;
  }

  .step-num {
    font-size: 2rem;
  }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.95rem; }
  .trust-stats { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .logo img { width: 32px; height: 32px; }
}

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

/* Landscape phones */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: auto;
    padding-bottom: 2rem;
  }
  .hero-visual { display: none; }
  .phone-frame { animation: none; }
}

/* Desktop: hide mobile-only sticky bar */
@media (min-width: 769px) {
  .sticky-cta {
    display: none !important;
  }
  body {
    padding-bottom: 0;
  }
}

.store-badge--primary {
  border-color: var(--color-accent);
  background: rgba(196, 163, 90, 0.12);
  box-shadow: 0 0 0 1px rgba(196, 163, 90, 0.2);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone-frame, .screen-card { animation: none; }
  .btn, .store-badge, .feature-card { transition: none; }
  .reveal { opacity: 1; transform: none; }
}
