/* ==========================================================================
   Bepari — bepari.online
   Design system for the marketing site.
   Plain CSS3. No frameworks, no external fonts, no external requests.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand green */
  --green: #176b4d;
  --green-dark: #0d4f38;
  --green-deep: #093726;
  --green-bright: #1fa971;
  --green-soft: #eaf6f0;
  --green-line: #cfe6da;

  /* Ink + neutrals */
  --ink: #12241d;
  --ink-2: #1d3b30;
  --muted: #5b7469;
  --muted-2: #7d9288;
  --line: #e2ece7;
  --line-soft: #eef4f1;
  --paper: #ffffff;
  --bg: #f6faf8;
  --bg-2: #f0f7f3;

  /* Pastel accents (feature tiles, chips) */
  --pastel-green: #e6f6ee;
  --pastel-green-ink: #10714c;
  --pastel-blue: #e7f0fd;
  --pastel-blue-ink: #17518f;
  --pastel-orange: #fff0e2;
  --pastel-orange-ink: #9a5312;
  --pastel-pink: #fdeaf0;
  --pastel-pink-ink: #9c2f52;
  --pastel-violet: #efeafc;
  --pastel-violet-ink: #5a3bab;
  --pastel-teal: #e3f5f4;
  --pastel-teal-ink: #0d6b68;
  --pastel-amber: #fff7de;
  --pastel-amber-ink: #8a6100;

  /* Focus */
  --focus: #0b7a52;

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(11, 58, 41, .05);
  --sh-sm: 0 2px 8px rgba(11, 58, 41, .05), 0 1px 2px rgba(11, 58, 41, .04);
  --sh-md: 0 10px 28px rgba(11, 58, 41, .07), 0 2px 6px rgba(11, 58, 41, .04);
  --sh-lg: 0 24px 60px rgba(11, 58, 41, .10), 0 4px 12px rgba(11, 58, 41, .05);
  --sh-phone: 0 30px 70px rgba(9, 55, 38, .18), 0 6px 16px rgba(9, 55, 38, .10);

  /* Layout */
  --shell: 1140px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 64px;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; max-width: 100%; }

img { height: auto; }

a { color: var(--green-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }

button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.18;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--green-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transform: translate(-50%, -110%);
  transition: transform .18s ease;
}
/* Reveal on plain :focus too — a skip link that only honours :focus-visible can
   stay hidden depending on how focus arrived. */
.skip-link:focus,
.skip-link:focus-visible { transform: translate(-50%, 0); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.section--paper { background: var(--paper); }
.section--soft { background: var(--bg-2); }

.section-head {
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.section-head--start { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .9rem;
  padding: .32rem .75rem .32rem .6rem;
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: var(--r-pill);
  color: var(--pastel-green-ink);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.eyebrow svg { width: 15px; height: 15px; flex: none; }

.h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); }
.lede {
  margin-top: .9rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.09rem);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: .97rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink-2);
  box-shadow: var(--sh-xs);
}
.btn--ghost:hover { border-color: var(--green-line); background: var(--green-soft); }

/* Google Play badge-style button */
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 52px;
  padding: .55rem 1.15rem .55rem 1rem;
  background: #10171c;
  border: 1px solid #10171c;
  border-radius: var(--r-md);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--sh-sm);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.btn-play:hover { background: #1c272e; transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-play:active { transform: translateY(0); }
.btn-play .play-mark { width: 24px; height: 26px; flex: none; }
.btn-play .play-copy { display: grid; gap: 1px; text-align: left; }
.btn-play .play-kicker {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #cdd8d2;
  line-height: 1;
}
.btn-play .play-name {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
}

/* Compact variant used in the sticky header */
.btn-play--sm { min-height: 40px; padding: .3rem .8rem .3rem .65rem; border-radius: var(--r-sm); gap: .5rem; }
.btn-play--sm .play-mark { width: 18px; height: 20px; }
.btn-play--sm .play-kicker { display: none; }
.btn-play--sm .play-name { font-size: .88rem; }

/* Inverted, for use on the dark green CTA panel */
.btn-play--light { background: #fff; border-color: #fff; color: #10171c; }
.btn-play--light:hover { background: #f2f7f4; }
.btn-play--light .play-kicker { color: #5b7469; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--sh-xs); }

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-right: auto;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: var(--sh-xs);
}
.brand__text { display: grid; line-height: 1.05; }
.brand__sub {
  font-size: .62rem;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: .25rem; }
.nav a {
  display: block;
  padding: .45rem .7rem;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: .93rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.nav a:hover { background: var(--green-soft); color: var(--green-dark); }

.header__cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle svg { width: 21px; height: 21px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { padding-block: .5rem; }
.mobile-nav a {
  display: block;
  padding: .85rem .25rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
}
.mobile-nav li:last-child a { border-bottom: 0; }
.mobile-nav a:hover { color: var(--green-dark); }
.mobile-nav__cta { padding: .35rem 0 1.1rem; }
.mobile-nav__cta .btn-play { width: 100%; justify-content: center; }

@media (min-width: 900px) {
  .nav { display: block; }
  .header__cta { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 6vw, 4.75rem) clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(900px 520px at 12% -5%, #e9f7f0 0%, rgba(233, 247, 240, 0) 62%),
    radial-gradient(760px 480px at 92% 8%, #eaf1fd 0%, rgba(234, 241, 253, 0) 60%),
    radial-gradient(620px 420px at 70% 100%, #fff3e6 0%, rgba(255, 243, 230, 0) 58%),
    linear-gradient(180deg, #fbfefc 0%, var(--bg) 100%);
}

.hero__grid {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
  align-items: center;
}

.hero h1 {
  /* Clear breathing room between the brand name and the subtitle: 12px on small
     screens rising to 20px on desktop, without making the hero taller overall. */
  margin-bottom: clamp(.75rem, 1.6vw, 1.25rem);
  font-size: clamp(2.6rem, 9vw, 4.1rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.hero__tagline {
  margin-bottom: 1rem;
  color: var(--green-dark);
  font-size: clamp(1.2rem, 3.6vw, 1.8rem);
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -.02em;
}
.hero__lede {
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.08rem);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1.4rem;
}
.chip {
  padding: .3rem .68rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: .82rem;
  font-weight: 650;
  white-space: nowrap;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.75rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: 1.5rem;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 650;
}
.trust svg { width: 17px; height: 17px; flex: none; color: var(--green-bright); }

/* Hero phone cluster */
.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(.6rem, 2vw, 1.1rem);
  padding-block: .5rem;
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 12% -6% -4%;
  background: radial-gradient(closest-side, rgba(23, 107, 77, .10), rgba(23, 107, 77, 0));
  border-radius: 50%;
  z-index: 0;
}
.hero__art .phone { position: relative; z-index: 1; }
.hero__art .phone--side {
  width: clamp(112px, 24vw, 168px);
  margin-bottom: clamp(1rem, 4vw, 2.25rem);
}
.hero__art .phone--main { width: clamp(168px, 38vw, 246px); }

@media (min-width: 880px) {
  .hero__grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); }
  .hero__art { justify-content: flex-end; }
}

/* --------------------------------------------------------------------------
   7. Phone frame + screenshot placeholder
   -------------------------------------------------------------------------- */
.phone {
  position: relative;
  flex: none;
  width: 236px;
  padding: 8px;
  background: linear-gradient(160deg, #26343d 0%, #0f181d 100%);
  border-radius: 30px;
  box-shadow: var(--sh-phone);
}
.phone__screen {
  position: relative;
  overflow: hidden;
  /* Matches the real screenshots (720 x 1572) so nothing is cropped or stretched. */
  aspect-ratio: 720 / 1572;
  background: #f4f8f6;
  border-radius: 23px;
}
.phone__screen img {
  display: block;
  width: 100%;
  height: 100%;
  /* "contain" guarantees the full app screen stays visible — never cropped. */
  object-fit: contain;
  object-position: center;
  /* Screenshots must stay sharp — never blur the frame or the whole image. */
  image-rendering: auto;
  opacity: 0;
  transition: opacity .25s ease;
}
.phone.is-loaded .phone__screen img { opacity: 1; }
.phone.is-loaded .phone__ph { display: none; }

/* Neutral, clearly-labelled placeholder shown until a real screenshot exists.
   It never imitates the Bepari app UI. */
.phone__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: .5rem;
  padding: 1.1rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f1f7f4 100%);
  text-align: center;
}
.phone__ph::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px dashed var(--green-line);
  border-radius: 16px;
  pointer-events: none;
}
.phone__ph-icon {
  width: 30px;
  height: 30px;
  margin-inline: auto;
  color: var(--muted-2);
}
.phone__ph-title {
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 750;
  letter-spacing: -.01em;
}
.phone__ph-note {
  color: var(--muted-2);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   8. Features
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
}
@media (min-width: 560px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 940px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; } }

.feature {
  display: grid;
  gap: .7rem;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--green-line);
  box-shadow: var(--sh-md);
}
.feature__icon {
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.02rem; font-weight: 750; }
.feature p { color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* "New" marker for recently added features */
.feature { position: relative; }
.feature--new { border-color: var(--green-line); }
.badge-new {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: .14rem .5rem;
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: var(--r-pill);
  color: var(--green-dark);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.chip--new {
  background: var(--green-soft);
  border-color: var(--green-line);
  color: var(--green-dark);
}

/* Pastel tints */
.t-green  { background: var(--pastel-green);  color: var(--pastel-green-ink); }
.t-blue   { background: var(--pastel-blue);   color: var(--pastel-blue-ink); }
.t-orange { background: var(--pastel-orange); color: var(--pastel-orange-ink); }
.t-pink   { background: var(--pastel-pink);   color: var(--pastel-pink-ink); }
.t-violet { background: var(--pastel-violet); color: var(--pastel-violet-ink); }
.t-teal   { background: var(--pastel-teal);   color: var(--pastel-teal-ink); }
.t-amber  { background: var(--pastel-amber);  color: var(--pastel-amber-ink); }

/* --------------------------------------------------------------------------
   9. Screenshot rail
   -------------------------------------------------------------------------- */
.shots { position: relative; }

.shots__rail {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.6rem);
  padding: .5rem var(--gutter) 1.5rem;
  margin-inline: calc(var(--gutter) * -1);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--green-line) transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.shots__rail::-webkit-scrollbar { height: 8px; }
.shots__rail::-webkit-scrollbar-thumb { background: var(--green-line); border-radius: 99px; }
.shots__rail::-webkit-scrollbar-track { background: transparent; }

.shot {
  flex: none;
  width: clamp(200px, 60vw, 238px);
  scroll-snap-align: center;
  text-align: center;
}
.shot .phone { width: 100%; }
.shot__caption { margin-top: 1rem; }
.shot__caption h3 { font-size: 1rem; font-weight: 750; }
.shot__caption p { margin-top: .2rem; color: var(--muted); font-size: .88rem; }

.shots__nav {
  display: none;
  gap: .6rem;
  justify-content: center;
  margin-top: .25rem;
}
.shots__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, opacity .15s ease;
}
.shots__btn:hover:not(:disabled) { background: var(--green-soft); border-color: var(--green-line); }
.shots__btn:disabled { opacity: .35; cursor: default; }
.shots__btn svg { width: 20px; height: 20px; color: var(--green-dark); }

.shots__hint {
  margin-top: .5rem;
  color: var(--muted-2);
  font-size: .84rem;
  text-align: center;
}

@media (min-width: 900px) {
  .shots__nav { display: flex; }
  .shots__hint { display: none; }
}

/* --------------------------------------------------------------------------
   10. For shopkeepers
   -------------------------------------------------------------------------- */
.shop-split {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 900px) { .shop-split { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); } }

.shop-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .7rem;
}
.shop-type {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .8rem .9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
  font-size: .92rem;
  font-weight: 650;
  color: var(--ink-2);
}
.shop-type__icon {
  display: grid;
  place-content: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 9px;
}
.shop-type__icon svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   11. Why Bepari
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 620px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.why {
  display: grid;
  gap: .65rem;
  padding: 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
}
.why__icon {
  display: grid;
  place-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
}
.why__icon svg { width: 23px; height: 23px; }
.why h3 { font-size: 1.05rem; font-weight: 750; }
.why p { color: var(--muted); font-size: .93rem; }

/* --------------------------------------------------------------------------
   11b. Story / Meet the Creator / Affordability
   -------------------------------------------------------------------------- */

/* --- The Story Behind Bepari --- */
.story {
  max-width: 760px;
  margin-inline: auto;
}

/* Opening pull-quote: the emotional hook, set large and green. */
.story__opening {
  position: relative;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  padding-left: clamp(1.75rem, 4.5vw, 2.75rem);
  background: linear-gradient(150deg, var(--green-soft) 0%, #f4fbf7 100%);
  border: 1px solid var(--green-line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xs);
}
.story__opening::before {
  content: "";
  position: absolute;
  top: clamp(1.5rem, 4vw, 2.25rem);
  bottom: clamp(1.5rem, 4vw, 2.25rem);
  left: 0;
  width: 4px;
  background: var(--green-bright);
  border-radius: 0 4px 4px 0;
}
.story__opening p {
  color: var(--green-deep);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -.01em;
}

.story__body > * + * { margin-top: 1rem; }
.story__body p {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.06rem);
  line-height: 1.7;
}

.story__cue {
  color: var(--ink-2) !important;
  font-weight: 650;
}

/* The founding question — treated as a callout so it reads as a turning point. */
.story__question {
  margin-top: .6rem !important;
  padding: clamp(.9rem, 2.5vw, 1.15rem) clamp(1rem, 3vw, 1.4rem);
  background: var(--paper);
  border: 1px solid var(--green-line);
  border-left: 4px solid var(--green);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
  color: var(--green-dark) !important;
  font-size: clamp(1.02rem, 2.1vw, 1.18rem) !important;
  font-weight: 700;
  line-height: 1.5 !important;
}
.story__question::before { content: "\201C"; }
.story__question::after { content: "\201D"; }
.story__question--inline { background: var(--green-soft); }

/* --- Meet the Creator: two columns on desktop, stacked on mobile --- */
.creator {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
@media (min-width: 900px) {
  .creator { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}

.creator__media { margin: 0; }

/* 1:1 frame matches the photo's native 1254x1254 ratio, so the portrait is
   never cropped, stretched or distorted. No filters are applied. */
.portrait {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.creator__body .section-head { margin-bottom: 1.25rem; }
.creator__role {
  margin-top: .5rem;
  color: var(--green);
  font-size: clamp(.95rem, 1.8vw, 1.05rem);
  font-weight: 750;
  letter-spacing: .01em;
}

.creator__quote {
  margin-bottom: 1.25rem;
  padding: clamp(1rem, 3vw, 1.35rem) clamp(1.1rem, 3vw, 1.5rem);
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: var(--r-lg);
}
.creator__quote p {
  color: var(--green-deep);
  font-size: clamp(1.02rem, 2.1vw, 1.15rem);
  font-weight: 650;
  line-height: 1.55;
}
.creator__quote p::before { content: "\201C"; }
.creator__quote p::after { content: "\201D"; }

.creator__body > p { color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.05rem); line-height: 1.7; }
.creator__body > p + p { margin-top: .9rem; }

/* --- Affordability --- */
.afford {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
}
.afford p { color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.06rem); line-height: 1.7; }
.afford p + p { margin-top: .9rem; }

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
  max-width: 720px;
  margin-inline: auto;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  list-style: none;
}
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.pillar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1rem;
  border-radius: var(--r-lg);
  font-size: clamp(.95rem, 1.9vw, 1.02rem);
  font-weight: 800;
  letter-spacing: .01em;
  text-align: center;
}
.pillar svg { width: 18px; height: 18px; flex: none; }

/* --------------------------------------------------------------------------
   12. Download CTA
   -------------------------------------------------------------------------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 3.5rem);
  background:
    radial-gradient(620px 320px at 88% 4%, rgba(31, 169, 113, .40) 0%, rgba(31, 169, 113, 0) 62%),
    linear-gradient(140deg, var(--green-dark) 0%, var(--green-deep) 100%);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  color: #fff;
  text-align: center;
}
.cta-panel h2 { color: #fff; font-size: clamp(1.7rem, 4.4vw, 2.4rem); }
.cta-panel p {
  max-width: 48ch;
  margin: .85rem auto 0;
  color: #d5e9e0;
  font-size: clamp(1rem, 1.7vw, 1.08rem);
}
.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.6rem;
}
.cta-panel .trust { justify-content: center; margin-top: 1.5rem; }
.cta-panel .trust li { color: #e4f2ec; }
.cta-panel .trust svg { color: #7fe0b4; }

/* --------------------------------------------------------------------------
   13. Support
   -------------------------------------------------------------------------- */
.support-card {
  display: grid;
  gap: 1rem;
  justify-items: center;
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(1.6rem, 5vw, 2.6rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  text-align: center;
}
.support-card__icon {
  display: grid;
  place-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
}
.support-card__icon svg { width: 26px; height: 26px; }
.support-card p { color: var(--muted); }
.support-mail {
  color: var(--green-dark);
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 750;
  overflow-wrap: anywhere;
}
.support-card__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.2rem;
  padding-top: .1rem;
  font-size: .92rem;
  font-weight: 650;
}
.support-card__links a { display: inline-block; padding-block: .35rem; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
  background: #0b2b1f;
  color: #c3d8ce;
}
.site-footer a { color: #d9e9e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: #7fe0b4; }

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 620px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; } }

.footer-brand { display: grid; gap: .9rem; align-content: start; }
.footer-brand .brand { color: #fff; margin-right: 0; }
.footer-brand .brand__sub { color: #93b3a5; }
.footer-brand p { color: #a9c5b9; font-size: .93rem; max-width: 34ch; }

.footer-col h3,
.footer-support h3 {
  margin-bottom: .85rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.footer-col li + li { margin-top: .15rem; }
.footer-col li { font-size: .93rem; }
/* Roomier hit areas: keeps these above the 24px minimum target size on touch. */
.footer-col a { display: inline-block; padding-block: .3rem; }

.footer-support { display: grid; gap: .9rem; align-content: start; }
/* The grid gap already spaces the heading; drop the shared bottom margin. */
.footer-support h3 { margin-bottom: 0; }
.footer-support .footer-mail { font-weight: 700; overflow-wrap: anywhere; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .87rem;
}
.footer-bottom p { color: #9cbcae; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; }
.footer-legal a { display: inline-block; padding-block: .3rem; }

/* --------------------------------------------------------------------------
   15. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .btn:hover,
  .btn-play:hover,
  .feature:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   16. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .mobile-nav, .shots__nav, .btn-play { display: none !important; }
  body { background: #fff; }
}
