/*
Theme Name: SustainaCell
Theme URI: https://sustainacell.com
Author: SustainaCell
Author URI: https://sustainacell.com
Description: Promotional website theme for the SustainaCell eSIM app — connectivity for travellers that funds real sustainability projects. Mobile-first, self-hosted assets, zero third-party requests, built for low-bandwidth connections and SEO.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sustainacell
*/

/* =========================================================================
   1. DESIGN TOKENS — mirrors the SustainaCell Flutter app theme (theme_app/)
   ========================================================================= */
:root{
  color-scheme: light;

  /* --- Leaf (primary) --- */
  --sc-leaf: #2FA65A;
  --sc-leaf-dark: #1B7F43;
  --sc-forest: #0F4A28;
  --sc-mint: #B9EFCB;

  /* --- Sky (secondary) --- */
  --sc-sky: #2B9FD9;
  --sc-sky-deep: #0B4C68;
  --sc-sky-pale: #C6EBF9;

  /* --- Sun (tertiary / accent) --- */
  --sc-sun: #F5B32E;
  --sc-sun-deep: #7A4A00;
  --sc-sun-pale: #FDE7B6;

  /* --- Coral (error / warning accent) --- */
  --sc-coral: #E5533D;
  --sc-coral-deep: #7A1B0E;
  --sc-coral-pale: #FADAD3;

  /* --- Neutrals --- */
  --sc-cloud: #F7F6F1;
  --sc-surface: #FFFFFF;
  --sc-haze: #EAF0E6;
  --sc-bark: #20302A;
  --sc-bark-muted: #55655D;
  --sc-outline: #C9D2C6;
  --sc-outline-variant: #E2E8DD;
  --sc-shadow: rgba(32, 48, 42, 0.16);
  --sc-white: #FFFFFF;

  /* --- Hero gradient (leaf -> sky). Uses the darker leafDark/skyDeep brand
     variants rather than the raw leaf/sky tones — white text/icons sitting on
     top of leaf/sky only reach ~3:1 contrast (fails WCAG AA); leafDark/skyDeep
     comfortably clear 4.5:1+ while staying in the same brand hues. --- */
  --sc-hero-gradient: linear-gradient(135deg, var(--sc-leaf-dark) 0%, var(--sc-sky-deep) 100%);

  /* --- Spacing (8pt grid) --- */
  --sc-space-xxs: 0.25rem;
  --sc-space-xs: 0.5rem;
  --sc-space-sm: 0.75rem;
  --sc-space-md: 1rem;
  --sc-space-lg: 1.5rem;
  --sc-space-xl: 2rem;
  --sc-space-xxl: 3rem;
  --sc-space-xxxl: 4.5rem;

  /* --- Radii --- */
  --sc-radius-sm: 12px;
  --sc-radius-md: 16px;
  --sc-radius-lg: 20px;
  --sc-radius-xl: 28px;
  --sc-radius-pill: 999px;

  /* --- Borders --- */
  --sc-border-hairline: 1px;
  --sc-border-regular: 1.5px;
  --sc-border-bold: 2px;

  /* --- Type --- */
  --sc-font-display: 'Baloo 2', 'Baloo2', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --sc-font-body: 'Nunito', ui-sans-serif, 'Segoe UI', system-ui, sans-serif;

  /* --- Layout --- */
  --sc-container: 72rem;
  --sc-container-narrow: 46rem;
  --sc-header-height: 4.25rem;

  /* --- Motion --- */
  --sc-transition: 160ms ease;
}

/* =========================================================================
   2. RESET
   ========================================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol{ margin: 0; }
ul[class], ol[class]{ padding: 0; list-style: none; }
img, picture, svg, video{ display: block; max-width: 100%; height: auto; }
button, input, select, textarea{ font: inherit; color: inherit; }
button{ background: none; border: 0; cursor: pointer; }
a{ color: inherit; text-decoration: none; }
table{ border-collapse: collapse; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================================
   3. FONTS — self-hosted, subset (Latin), variable weight axis
   ========================================================================= */
@font-face{
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('assets/fonts/baloo2-variable-latin.woff2') format('woff2');
}
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('assets/fonts/nunito-variable-latin.woff2') format('woff2');
}

/* =========================================================================
   4. BASE
   ========================================================================= */
body{
  background: var(--sc-cloud);
  color: var(--sc-bark);
  font-family: var(--sc-font-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main{ display: block; overflow-x: clip; }

h1, h2, h3, h4,
.h1, .h2, .h3, .h4{
  font-family: var(--sc-font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--sc-bark);
  text-wrap: balance;
}
h1{ font-size: clamp(2rem, 1.6rem + 2vw, 3.25rem); }
h2{ font-size: clamp(1.6rem, 1.35rem + 1.2vw, 2.375rem); }
h3{ font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem); font-weight: 700; }
h4{ font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); font-weight: 700; }

p{ color: var(--sc-bark-muted); }
p + p{ margin-top: var(--sc-space-md); }
strong{ color: var(--sc-bark); font-weight: 700; }

.lede{
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.55;
}

a:not([class]){
  color: var(--sc-leaf-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  border-radius: 4px;
}
a:not([class]):hover{ color: var(--sc-forest); }

:focus-visible{
  outline: 3px solid var(--sc-sun);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection{ background: var(--sc-mint); color: var(--sc-forest); }

/* =========================================================================
   5. LAYOUT UTILITIES
   ========================================================================= */
.container{
  width: 100%;
  max-width: var(--sc-container);
  margin-inline: auto;
  padding-inline: var(--sc-space-md);
}
.container--narrow{ max-width: var(--sc-container-narrow); }

.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link{
  position: fixed;
  top: 0;
  left: var(--sc-space-md);
  z-index: 1000;
  background: var(--sc-bark);
  color: var(--sc-cloud);
  padding: var(--sc-space-sm) var(--sc-space-md);
  border-radius: 0 0 var(--sc-radius-md) var(--sc-radius-md);
  /* translateY(-100%) always clears the box fully, unlike a guessed negative
     top value — which left a sliver visible when padding/line-height made
     the box taller than the offset. */
  transform: translateY(-100%);
  transition: transform var(--sc-transition);
}
.skip-link:focus{ transform: translateY(0); }

.section{ padding-block: var(--sc-space-xxl); }
@media (min-width: 64rem){ .section{ padding-block: var(--sc-space-xxxl); } }
.section--tight{ padding-block: var(--sc-space-xl); }
.section--surface{ background: var(--sc-surface); }
.section--haze{ background: var(--sc-haze); }

.section-head{
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--sc-space-xl);
}
.section-head .eyebrow{ justify-content: center; }
.section-head p{ margin-top: var(--sc-space-sm); }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: var(--sc-space-xs);
  font-family: var(--sc-font-body);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sc-leaf-dark);
}
.eyebrow svg{ width: 1.1em; height: 1.1em; }

/* =========================================================================
   6. BUTTONS
   ========================================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sc-space-xs);
  min-height: 3.25rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--sc-radius-pill);
  font-family: var(--sc-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: var(--sc-border-bold) solid transparent;
  transition: transform var(--sc-transition), box-shadow var(--sc-transition), background var(--sc-transition), color var(--sc-transition);
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px) scale(0.99); }

.btn-primary{
  background: var(--sc-leaf);
  color: var(--sc-white);
  box-shadow: 0 8px 20px -8px var(--sc-shadow);
}
.btn-primary:hover{ background: var(--sc-leaf-dark); }

.btn-secondary{
  background: var(--sc-white);
  color: var(--sc-leaf-dark);
  border-color: var(--sc-white);
}
.btn-secondary:hover{ background: var(--sc-mint); }

.btn-outline{
  background: transparent;
  color: var(--sc-bark);
  border-color: var(--sc-outline);
}
.btn-outline:hover{ border-color: var(--sc-leaf); color: var(--sc-leaf-dark); }

.btn-on-dark{
  background: rgba(255,255,255,0.12);
  color: var(--sc-white);
  border-color: rgba(255,255,255,0.4);
}
.btn-on-dark:hover{ background: rgba(255,255,255,0.22); }

.btn-block{ width: 100%; }

.btn-group{
  display: flex;
  flex-wrap: wrap;
  gap: var(--sc-space-sm);
}
.btn-group--center{ justify-content: center; }

/* --- App store badges --- */
.store-badges{
  display: flex;
  flex-wrap: wrap;
  gap: var(--sc-space-sm);
}
/* .cta-band is a plain block, so text-align + inline-flex centers the row. */
.cta-band .store-badges{
  display: inline-flex;
  justify-content: center;
}
/* On the download hero, .btn-group--center holds the badge pair plus a
   "coming soon" note as flex siblings. Stack them in a centred column so the
   note sits on its own line beneath the badges instead of sharing their row. */
.page-hero .btn-group--center{
  flex-direction: column;
  align-items: center;
}
.page-hero .btn-group--center .store-badges{
  width: 100%;
  justify-content: center;
}
.page-hero .btn-group--center .store-note{
  margin-top: 0;
}
.store-badge{
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.25rem;
  min-height: 3.25rem;
  border-radius: var(--sc-radius-lg);
  background: var(--sc-bark);
  color: var(--sc-white);
  border: var(--sc-border-bold) solid var(--sc-bark);
  transition: transform var(--sc-transition), background var(--sc-transition);
}
.store-badge:hover{ background: #16221c; }
.store-badge:active{ transform: translateY(1px); }
.store-badge svg{ width: 1.6rem; height: 1.6rem; flex-shrink: 0; }
.store-badge__text{ display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge__eyebrow{ font-size: 0.65rem; font-weight: 500; opacity: 0.8; }
.store-badge__name{ font-family: var(--sc-font-display); font-weight: 700; font-size: 1.05rem; }

.store-badge[aria-disabled="true"]{
  background: var(--sc-outline-variant);
  border-color: var(--sc-outline-variant);
  color: var(--sc-bark-muted);
  cursor: default;
  pointer-events: none;
}

/* =========================================================================
   7. SITE HEADER / NAV
   ========================================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  /* Solid, not translucent+blurred: backdrop-filter on this element would
     create a new containing block for the fixed-position .primary-nav it
     contains, breaking its full-viewport positioning on mobile. */
  background: var(--sc-cloud);
  border-bottom: var(--sc-border-hairline) solid var(--sc-outline-variant);
}
.site-header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sc-space-md);
  min-height: var(--sc-header-height);
}

.site-logo{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sc-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--sc-bark);
  flex-shrink: 0;
}
.site-logo__mark{
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--sc-radius-md);
  background: var(--sc-hero-gradient);
  color: var(--sc-white);
  flex-shrink: 0;
}
.site-logo__mark svg{ width: 1.3rem; height: 1.3rem; }

.nav-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--sc-radius-md);
  border: var(--sc-border-regular) solid var(--sc-outline);
  background: var(--sc-surface);
}
.nav-toggle:hover{ border-color: var(--sc-leaf); }
.nav-toggle svg{ width: 1.4rem; height: 1.4rem; }
.nav-toggle .icon-close{ display: none; }

#nav-toggle-input{ position: absolute; opacity: 0; pointer-events: none; }

.primary-nav{
  position: fixed;
  inset: var(--sc-header-height) 0 0 0;
  background: var(--sc-cloud);
  padding: var(--sc-space-lg) var(--sc-space-md) var(--sc-space-xl);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 220ms ease;
  visibility: hidden;
}
#nav-toggle-input:checked ~ .primary-nav{
  transform: translateX(0);
  visibility: visible;
}
#nav-toggle-input:checked ~ .nav-toggle .icon-open{ display: none; }
#nav-toggle-input:checked ~ .nav-toggle .icon-close{ display: block; }

.primary-nav__menu{
  display: flex;
  flex-direction: column;
  gap: var(--sc-space-xs);
  font-family: var(--sc-font-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.primary-nav__menu a{
  display: block;
  padding: var(--sc-space-md);
  border-radius: var(--sc-radius-md);
}
.primary-nav__menu a:hover,
.primary-nav__menu .current-menu-item > a{
  background: var(--sc-haze);
  color: var(--sc-leaf-dark);
}
.primary-nav__cta{ margin-top: var(--sc-space-lg); }

@media (min-width: 56rem){
  .nav-toggle{ display: none; }
  #nav-toggle-input:checked ~ .primary-nav{ transform: none; }

  .primary-nav{
    position: static;
    inset: auto;
    visibility: visible;
    transform: none;
    background: transparent;
    padding: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    gap: var(--sc-space-lg);
    flex: 1;
    justify-content: flex-end;
  }
  .primary-nav__menu{
    flex-direction: row;
    align-items: center;
    font-size: 0.95rem;
    gap: var(--sc-space-xs);
  }
  .primary-nav__menu a{ padding: 0.6rem 0.9rem; }
  .primary-nav__cta{ margin-top: 0; }
}

/* =========================================================================
   8. HERO
   ========================================================================= */
.hero{
  position: relative;
  background: var(--sc-hero-gradient);
  color: var(--sc-white);
  overflow: clip;
  padding-block: var(--sc-space-xxl) var(--sc-space-xxxl);
}
.hero::after{
  content: "";
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 60%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(255,255,255,0.16), transparent 70%);
  pointer-events: none;
}
.hero__grid{
  display: grid;
  gap: var(--sc-space-xl);
  align-items: center;
  position: relative;
}
.hero__badge{
  display: inline-flex;
  align-items: center;
  gap: var(--sc-space-xs);
  background: rgba(255,255,255,0.16);
  border: var(--sc-border-regular) solid rgba(255,255,255,0.35);
  padding: 0.6rem 1rem;
  border-radius: var(--sc-radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--sc-space-md);
}
.hero__badge svg{ width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.hero h1{ color: var(--sc-white); }
.hero p{ color: rgba(255,255,255,0.92); }
.hero__actions{ margin-top: var(--sc-space-lg); }
.hero__note{
  margin-top: var(--sc-space-sm);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}
/* The same note also appears on light backgrounds (page-hero, 404) — the
   hero's light-on-dark color would be invisible there. */
.page-hero .store-note,
.not-found .store-note{
  color: var(--sc-bark-muted);
}
.hero__visual{ display: flex; justify-content: center; }

@media (min-width: 62rem){
  .hero__grid{ grid-template-columns: 1.1fr 0.9fr; text-align: left; }
}
@media (max-width: 61.99rem){
  .hero{ text-align: center; }
  .hero__badge{ margin-inline: auto; }
  .hero__actions .store-badges{ justify-content: center; }
  .hero__visual{ margin-top: var(--sc-space-lg); }
}

/* Page hero (About / Download / Contact) — lighter variant */
.page-hero{
  background: var(--sc-surface);
  border-bottom: var(--sc-border-hairline) solid var(--sc-outline-variant);
  padding-block: var(--sc-space-xl);
  text-align: center;
}
.page-hero h1{ margin-top: var(--sc-space-xs); }
.page-hero p{ max-width: 42rem; margin-inline: auto; margin-top: var(--sc-space-sm); }

.breadcrumbs{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sc-bark-muted);
}
.breadcrumbs a{ color: var(--sc-bark-muted); }
.breadcrumbs a:hover{ color: var(--sc-leaf-dark); }
.breadcrumbs [aria-current="page"]{ color: var(--sc-bark); }
.breadcrumbs svg{ width: 0.9rem; height: 0.9rem; flex-shrink: 0; }

/* =========================================================================
   9. GRIDS / CARDS
   ========================================================================= */
.grid{ display: grid; gap: var(--sc-space-lg); }
.grid-2{ grid-template-columns: 1fr; }
.grid-3{ grid-template-columns: 1fr; }
.grid-4{ grid-template-columns: repeat(2, 1fr); }

@media (min-width: 40rem){
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 56rem){
  .grid-2{ grid-template-columns: repeat(2, 1fr); }
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
  .grid-4{ grid-template-columns: repeat(4, 1fr); }
}

.card{
  background: var(--sc-surface);
  border: var(--sc-border-regular) solid var(--sc-outline-variant);
  border-radius: var(--sc-radius-xl);
  padding: var(--sc-space-lg);
  height: 100%;
}

.icon-badge{
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--sc-radius-md);
  background: var(--sc-mint);
  color: var(--sc-forest);
  margin-bottom: var(--sc-space-md);
}
.icon-badge svg{ width: 1.6rem; height: 1.6rem; }
.icon-badge--sky{ background: var(--sc-sky-pale); color: var(--sc-sky-deep); }
.icon-badge--sun{ background: var(--sc-sun-pale); color: var(--sc-sun-deep); }
.icon-badge--coral{ background: var(--sc-coral-pale); color: var(--sc-coral-deep); }

.feature-card h3{ margin-bottom: var(--sc-space-xs); font-size: 1.15rem; }
.feature-card p{ font-size: 0.95rem; }

/* --- Steps --- */
.steps{
  display: grid;
  gap: var(--sc-space-lg);
  counter-reset: step;
}
@media (min-width: 56rem){ .steps{ grid-template-columns: repeat(3, 1fr); } }
.steps--5{ }
@media (min-width: 56rem){ .steps--5{ grid-template-columns: repeat(3, 1fr); } }

.step-card{
  position: relative;
  background: var(--sc-surface);
  border: var(--sc-border-regular) solid var(--sc-outline-variant);
  border-radius: var(--sc-radius-xl);
  padding: var(--sc-space-lg);
  padding-top: var(--sc-space-xxl);
}
.step-card__number{
  position: absolute;
  top: -1rem;
  left: var(--sc-space-lg);
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--sc-radius-pill);
  background: var(--sc-hero-gradient);
  color: var(--sc-white);
  font-family: var(--sc-font-display);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 6px 14px -6px var(--sc-shadow);
}
.step-card h3{ font-size: 1.1rem; margin-bottom: var(--sc-space-xs); }
.step-card p{ font-size: 0.95rem; }

/* --- Cause cards --- */
.cause-card{
  border-radius: var(--sc-radius-xl);
  overflow: clip;
  border: var(--sc-border-regular) solid var(--sc-outline-variant);
  background: var(--sc-surface);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cause-card__art{
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: flex-end;
  padding: var(--sc-space-md);
  color: var(--sc-white);
  position: relative;
}
.cause-card__art svg{ width: 2.5rem; height: 2.5rem; opacity: 0.9; }
.cause-card__art--leaf{ background: linear-gradient(160deg, var(--sc-leaf) 0%, var(--sc-forest) 100%); }
.cause-card__art--sky{ background: linear-gradient(160deg, var(--sc-sky) 0%, var(--sc-sky-deep) 100%); }
.cause-card__art--sun{ background: linear-gradient(160deg, var(--sc-sun) 0%, var(--sc-sun-deep) 100%); }
/* A photo set in the Customizer (SustainaCell Settings → Homepage Causes) sits
   in place of the gradient. The scrim keeps the tag and icon legible on top of
   any image; the solid colour shows only while the photo is still loading. */
.cause-card__art--photo{
  background-color: var(--sc-bark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cause-card__art--photo::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.45) 100%);
}
.cause-card__art--photo > svg{ position: relative; }
.cause-card__tag{
  position: absolute;
  top: var(--sc-space-sm);
  left: var(--sc-space-sm);
  background: rgba(0,0,0,0.35);
  color: var(--sc-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: var(--sc-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.cause-card__tag svg{ width: 0.9rem; height: 0.9rem; opacity: 1; }
.cause-card__body{ padding: var(--sc-space-lg); flex: 1; display: flex; flex-direction: column; }
.cause-card__body h3{ font-size: 1.1rem; }
.cause-card__body p{ font-size: 0.9rem; margin-top: var(--sc-space-xs); flex: 1; }

/* =========================================================================
   10. PHONE MOCKUP (illustrative, CSS-only recreation of the app UI)
   ========================================================================= */
.phone{
  width: 15.5rem;
  border-radius: 2.25rem;
  background: var(--sc-bark);
  padding: 0.5rem;
  box-shadow: 0 30px 60px -20px rgba(15, 74, 40, 0.35), 0 10px 20px -10px rgba(15,74,40,0.25);
}
.phone__screen{
  background: var(--sc-cloud);
  border-radius: 1.75rem;
  overflow: clip;
  min-height: 30rem;
  display: flex;
  flex-direction: column;
}
.phone__notch{
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone__notch::before{
  content: "";
  width: 5rem;
  height: 0.4rem;
  border-radius: var(--sc-radius-pill);
  background: rgba(32,48,42,0.18);
}
.phone__hero{
  background: var(--sc-hero-gradient);
  color: var(--sc-white);
  padding: var(--sc-space-md);
  border-radius: 0 0 var(--sc-radius-xl) var(--sc-radius-xl);
}
.phone__hero h4{ color: var(--sc-white); font-size: 1rem; }
.phone__hero p{ color: rgba(255,255,255,0.85); font-size: 0.75rem; margin-top: 0.25rem; }
.phone__pill{
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,0.18);
  border-radius: var(--sc-radius-pill);
  padding: 0.35rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: var(--sc-space-sm);
}
.phone__pill svg{ width: 0.8rem; height: 0.8rem; }
.phone__body{ padding: var(--sc-space-sm); display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.phone__stat{
  background: var(--sc-surface);
  border: var(--sc-border-hairline) solid var(--sc-outline-variant);
  border-radius: var(--sc-radius-lg);
  padding: 0.7rem;
}
.phone__stat-label{ font-size: 0.65rem; color: var(--sc-bark-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.phone__stat-value{ font-family: var(--sc-font-display); font-weight: 800; font-size: 1.3rem; color: var(--sc-leaf-dark); margin-top: 0.15rem; }
.phone__row{
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--sc-surface);
  border: var(--sc-border-hairline) solid var(--sc-outline-variant);
  border-radius: var(--sc-radius-lg);
  padding: 0.6rem;
}
.phone__row-icon{
  width: 2rem; height: 2rem;
  border-radius: 0.6rem;
  display: grid; place-items: center;
  background: var(--sc-mint); color: var(--sc-forest);
  flex-shrink: 0;
}
.phone__row-icon svg{ width: 1.1rem; height: 1.1rem; }
.phone__row-icon--sky{ background: var(--sc-sky-pale); color: var(--sc-sky-deep); }
.phone__row-text{ flex: 1; min-width: 0; }
.phone__row-title{ font-size: 0.8rem; font-weight: 700; color: var(--sc-bark); }
.phone__row-sub{ font-size: 0.7rem; color: var(--sc-bark-muted); }
.phone__bar{
  height: 0.4rem;
  border-radius: var(--sc-radius-pill);
  background: var(--sc-outline-variant);
  overflow: hidden;
  margin-top: 0.4rem;
}
.phone__bar-fill{ height: 100%; background: var(--sc-leaf); border-radius: inherit; }
.phone__nav{
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 0.6rem 0.3rem;
  border-top: var(--sc-border-hairline) solid var(--sc-outline-variant);
  background: var(--sc-surface);
}
.phone__nav-item{ display: flex; flex-direction: column; align-items: center; gap: 0.15rem; color: var(--sc-bark-muted); }
.phone__nav-item svg{ width: 1.1rem; height: 1.1rem; }
.phone__nav-item span{ font-size: 0.55rem; font-weight: 700; }
.phone__nav-item--active{ color: var(--sc-leaf-dark); }

.phone-stack{ position: relative; display: flex; justify-content: center; }

/* =========================================================================
   11. IMPACT / STATS STRIP
   ========================================================================= */
.stat-strip{
  display: grid;
  gap: var(--sc-space-lg);
  grid-template-columns: 1fr;
  text-align: center;
}
@media (min-width: 40rem){ .stat-strip{ grid-template-columns: repeat(3, 1fr); } }
.stat-strip__item .value{
  display: block;
  font-family: var(--sc-font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  color: var(--sc-leaf-dark);
}
.stat-strip__item .label{ font-size: 0.9rem; color: var(--sc-bark-muted); font-weight: 600; }

/* =========================================================================
   12. FAQ (native <details>/<summary> — zero JS)
   ========================================================================= */
.faq-list{ max-width: var(--sc-container-narrow); margin-inline: auto; display: flex; flex-direction: column; gap: var(--sc-space-sm); }
.faq-item{
  background: var(--sc-surface);
  border: var(--sc-border-regular) solid var(--sc-outline-variant);
  border-radius: var(--sc-radius-lg);
  padding: 0;
}
.faq-item summary{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sc-space-md);
  padding: var(--sc-space-md) var(--sc-space-lg);
  font-family: var(--sc-font-display);
  font-weight: 700;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary .icon-plus{ flex-shrink: 0; width: 1.5rem; height: 1.5rem; position: relative; }
.faq-item summary .icon-plus::before,
.faq-item summary .icon-plus::after{
  content: "";
  position: absolute;
  background: var(--sc-leaf-dark);
  border-radius: 2px;
  transition: transform var(--sc-transition);
}
.faq-item summary .icon-plus::before{ inset: 45% 0; height: 2px; }
.faq-item summary .icon-plus::after{ inset: 0 45%; width: 2px; }
.faq-item[open] summary .icon-plus::after{ transform: rotate(90deg); opacity: 0; }
.faq-item .faq-answer{ padding: 0 var(--sc-space-lg) var(--sc-space-md); }
.faq-item .faq-answer p{ font-size: 0.95rem; }

/* =========================================================================
   13. CTA BAND
   ========================================================================= */
.cta-band{
  background: var(--sc-hero-gradient);
  color: var(--sc-white);
  border-radius: var(--sc-radius-xl);
  padding: var(--sc-space-xl);
  text-align: center;
}
.cta-band h2{ color: var(--sc-white); }
.cta-band p{ color: rgba(255,255,255,0.9); max-width: 34rem; margin-inline: auto; margin-top: var(--sc-space-xs); }
.cta-band .btn-group{ margin-top: var(--sc-space-lg); justify-content: center; }
.cta-band .store-badges{ margin-top: var(--sc-space-lg); }

/* =========================================================================
   14. FORMS
   ========================================================================= */
.form-field{ margin-bottom: var(--sc-space-md); text-align: left; }
.form-field label{
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--sc-bark);
}
.form-field input,
.form-field select,
.form-field textarea{
  width: 100%;
  background: var(--sc-haze);
  border: var(--sc-border-regular) solid transparent;
  border-radius: var(--sc-radius-md);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: var(--sc-bark);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  border-color: var(--sc-leaf);
  outline: none;
  background: var(--sc-surface);
}
.form-field textarea{ min-height: 8rem; resize: vertical; }
.form-hint{ font-size: 0.8rem; color: var(--sc-bark-muted); margin-top: 0.3rem; }
.form-required{ color: var(--sc-coral); }

.form-notice{
  border-radius: var(--sc-radius-lg);
  padding: var(--sc-space-md);
  margin-bottom: var(--sc-space-lg);
  font-weight: 600;
  font-size: 0.95rem;
}
.form-notice--success{ background: var(--sc-mint); color: var(--sc-forest); }
.form-notice--error{ background: var(--sc-coral-pale); color: var(--sc-coral-deep); }

/* honeypot — hidden from real users, present for bots */
.hp-field{ position: absolute; left: -9999px; top: -9999px; }

/* =========================================================================
   15. CONTACT / INFO CARDS
   ========================================================================= */
.info-card{
  background: var(--sc-surface);
  border: var(--sc-border-regular) solid var(--sc-outline-variant);
  border-radius: var(--sc-radius-xl);
  padding: var(--sc-space-lg);
}
.info-card + .info-card{ margin-top: var(--sc-space-md); }
.info-list{ display: flex; flex-direction: column; gap: var(--sc-space-sm); }
.info-list li{ display: flex; align-items: flex-start; gap: var(--sc-space-sm); font-size: 0.95rem; }
.info-list svg{ width: 1.25rem; height: 1.25rem; color: var(--sc-leaf-dark); flex-shrink: 0; margin-top: 0.15rem; }
.info-list a{ text-decoration: underline; text-underline-offset: 0.15em; }

.social-links{ display: flex; gap: 0.6rem; margin-top: var(--sc-space-md); flex-wrap: wrap; }
.social-links a{
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--sc-radius-pill);
  background: var(--sc-haze);
  color: var(--sc-bark);
}
.social-links a:hover{ background: var(--sc-mint); color: var(--sc-forest); }
.social-links svg{ width: 1.15rem; height: 1.15rem; }

/* =========================================================================
   16. FOOTER
   ========================================================================= */
.site-footer{
  background: var(--sc-bark);
  color: rgba(255,255,255,0.85);
  padding-block: var(--sc-space-xxl) var(--sc-space-lg);
}
.site-footer a{ color: rgba(255,255,255,0.85); }
.site-footer a:hover{ color: var(--sc-white); }
.footer-grid{
  display: grid;
  gap: var(--sc-space-xl);
  grid-template-columns: 1fr;
}
@media (min-width: 48rem){
  .footer-grid{ grid-template-columns: 1.3fr repeat(2, 1fr); }
}
.footer-brand .site-logo{ color: var(--sc-white); }
.footer-brand p{ color: rgba(255,255,255,0.65); margin-top: var(--sc-space-sm); max-width: 26rem; }
.footer-heading{
  font-family: var(--sc-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--sc-space-sm);
}
.footer-links{ display: flex; flex-direction: column; gap: 0.6rem; font-weight: 600; }
.footer-bottom{
  margin-top: var(--sc-space-xl);
  padding-top: var(--sc-space-lg);
  border-top: var(--sc-border-hairline) solid rgba(255,255,255,0.15);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sc-space-sm);
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.footer-legal-links{ display: flex; gap: var(--sc-space-md); flex-wrap: wrap; }

/* =========================================================================
   17. MISC PAGES (404, generic page)
   ========================================================================= */
.not-found{ text-align: center; padding-block: var(--sc-space-xxxl); }
.not-found .icon-badge{ margin-inline: auto; }

.page-content{ max-width: var(--sc-container-narrow); margin-inline: auto; }
.page-content h2{ margin-top: var(--sc-space-xl); margin-bottom: var(--sc-space-sm); }
.page-content ul,
.page-content ol{ padding-inline-start: 1.25rem; list-style: revert; color: var(--sc-bark-muted); }
.page-content li + li{ margin-top: 0.4rem; }

/* =========================================================================
   18. PRINT
   ========================================================================= */
@media print{
  .site-header, .site-footer, .hero__visual, .cta-band, .nav-toggle{ display: none !important; }
  body{ background: #fff; }
}
