/* ============================================================
   UpLife Website 2.2 — shared stylesheet
   ============================================================
   Written fresh from the Figma 2.2 variables (node 313:13489 and
   siblings). Nothing is carried over from 2.1: only the tokens and
   components the 2.2 pages actually use are declared here.

   Every page links this file and then declares its own page-specific
   rules inline.
   ============================================================ */

/* ============================================================
   TOKENS  (Figma › Variables, verbatim)
   ============================================================ */
:root {
  /* surfaces */
  --bg:            #FAF9F5;
  --bg-card:       #FFFFFF;
  --bg-soft:       #F4F1EA;
  --bg-sand:       #EFEBE0;
  --bg-accent:     #ECF3E0;

  /* text */
  --text:          #242424;
  --text-body:     #424242;
  --text-subtle:   #6F6F6F;
  /* the "not us" grey — used for the third-party step in a stepped-care flow */
  --text-faint:    #8E8E8E;
  --text-muted:    rgba(66,66,66,0.6);
  --text-brand:    #7CB342;
  --text-brand-strong: #56792A;
  --on-primary:    #FFFFFF;

  /* brand */
  --primary:       #7CB342;
  --primary-hover: #6BA33A;
  --amber:         #FDC468;
  /* the deeper, desaturated green the "in every plan" feature badges use —
     a Figma variable in its own right, not a shade of --primary */
  --olive:         #91A655;
  --star:          #FFB74D;
  --success:       #FB8C00;
  --success-hover: #EF7F00;
  /* Raw hex in the file — the crisis/limits copy is the only thing that uses it,
     and it is not bound to a Figma variable. */
  --crisis:        #F05F5F;

  /* lines */
  --border:        #E9E6DD;
  --border-subtle: rgba(0,0,0,0.2);
  --border-brand:  #7CB342;

  /* radius */
  --radius-xs:     4px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     32px;
  --radius-pill:   999px;

  /* spacing scale */
  --space-2xs:     4px;
  --space-xs:      8px;
  --space-sm:      12px;
  --space-md:      16px;
  --space-lg:      24px;
  --space-xl:      32px;
  --space-2xl:     40px;
  --space-3xl:     48px;
  --space-4xl:     56px;
  --space-5xl:     64px;
  --space-6xl:     80px;
  --space-7xl:     96px;
  --space-section: 120px;

  /* type scale */
  --fs-display:64px;   --lh-display:72px;
  --fs-h1:48px;        --lh-h1:56px;
  --fs-h2:36px;        --lh-h2:44px;
  --fs-h3:28px;        --lh-h3:36px;
  --fs-h4:20px;        --lh-h4:28px;
  --fs-card-title:18px;--lh-card-title:24px;
  --fs-h5:16px;        --lh-h5:24px;
  --fs-quote-lg:32px;  --lh-quote-lg:40px;
  --fs-body-lg:20px;   --lh-body-lg:32px;
  --fs-body-md:16px;   --lh-body-md:24px;
  --fs-body-base:15px; --lh-body-base:22px;
  --fs-body-sm:14px;   --lh-body-sm:20px;
  --fs-caption:12px;   --lh-caption:18px;
  --fs-micro:10px;     --lh-micro:14px;

  /* layout */
  --container:     1216px;
  --container-nav: 1248px;
  /* Some sections (the clinics stat row, the crisis split) sit in a narrower
     centred column rather than the full 1216 grid. */
  --container-narrow: 1008px;
  --gutter:        24px;

  /* effects */
  --shadow-nav: 0 0 7px rgba(0,0,0,0.08);
  --shadow-md:  0 0 14px rgba(0,0,0,0.08);
  --shadow-lg:  0 4px 24px rgba(0,0,0,0.04);
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
/* scroll-padding keeps anchor targets clear of the sticky header (16 + 72 + 16) */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--fs-body-md);
  line-height: var(--lh-body-md);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.fraunces {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  color: var(--text);
  letter-spacing: 0;
}
.wrap        { width: min(100% - (var(--gutter) * 2), var(--container));        margin-inline: auto; }
.wrap-nav    { width: min(100% - (var(--gutter) * 2), var(--container-nav));    margin-inline: auto; }
.wrap-narrow { width: min(100% - (var(--gutter) * 2), var(--container-narrow)); margin-inline: auto; }
/* Hairline that separates two sections sharing the same background */
.rule { height: 1px; background: var(--border); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Kicker — Label/Kicker 14, 1.68px tracking */
.kicker {
  font-size: var(--fs-body-sm); line-height: var(--lh-body-sm);
  font-weight: 600; letter-spacing: 1.68px; text-transform: uppercase;
  color: var(--text-brand);
}

/* Section header — kicker + heading (+ subheading), 864px column */
/* the gutter is repeated here because this width overrides .wrap's on the same
   element — without it the heads run edge to edge below ~912px */
.section-head {
  width: min(100% - (var(--gutter) * 2), 864px); margin-inline: auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-md);
}
.section-head h2 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
.section-head .section-sub {
  font-size: var(--fs-body-lg); line-height: var(--lh-body-lg);
  font-weight: 400; color: var(--text-subtle);
}

/* ============================================================
   BUTTON  (Figma component 84:7773)
   Medium = 40px (nav, inline) · Large = 56px (hero, section CTAs)
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill); white-space: nowrap; overflow: hidden;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.btn-md {
  height: 40px; padding: var(--space-xs) var(--space-lg);
  font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); font-weight: 600;
}
/* Large = padding 12/32 on 16/24 text, i.e. 48px tall. The hero raises it to 56. */
.btn-lg {
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700;
}
.btn-primary   { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--bg-card); color: var(--text); border: 1px solid var(--border-subtle); }
.btn-secondary:hover { border-color: var(--text); }
/* Accent CTA — the final band uses the orange accent rather than brand green */
.btn-accent    { background: var(--success); color: var(--on-primary); }
.btn-accent:hover { background: var(--success-hover); }
.btn-accent-outline { background: transparent; color: var(--success); border: 1px solid var(--success); }
.btn-accent-outline:hover { background: rgba(251,140,0,0.08); }

/* Kicker · Pill variant (Figma 87:7782) */
.kicker-pill {
  display: inline-flex; align-items: center;
  background: var(--bg-accent); color: var(--text-brand-strong);
  padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill);
  font-size: var(--fs-body-sm); line-height: var(--lh-body-sm);
  font-weight: 600; letter-spacing: 1.68px; text-transform: uppercase;
}

/* Checklist Item (Figma 87:7788) */
.checklist { display: flex; flex-direction: column; gap: var(--space-sm); padding-top: var(--space-xs); width: 100%; }
.checklist li { display: flex; align-items: center; gap: var(--space-sm); }
.checklist .check {
  width: 22px; height: 22px; border-radius: var(--radius-pill); background: var(--primary);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.checklist .check img { width: 14px; height: 14px; }
.checklist li > span:last-child {
  flex: 1 1 0; min-width: 0;
  font-size: var(--fs-body-base); line-height: var(--lh-body-base); font-weight: 500; color: var(--text-subtle);
}

/* ============================================================
   NAV BAR  (Figma component 91:7808 — floating 1248 pill)
   ============================================================ */
/* top:0 + padding-top:16px keeps the pill 16px below the viewport edge when
   stuck and 16px down the page at rest — with top:16px the padding would
   double up once it sticks. */
.site-header {
  position: sticky; top: 0; z-index: 60; width: 100%; padding-top: 16px;
  transition: transform .28s ease;
}
/* Auto-hide: slides away after a sustained scroll down, returns on scroll up.
   -8px extra so the pill's shadow clears the viewport edge too. */
.site-header.is-hidden { transform: translateY(calc(-100% - 8px)); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 8px 16px 9px;
  background: var(--bg-card); border: 0.983px solid var(--bg-card);
  border-radius: 15.722px; box-shadow: var(--shadow-nav);
}
.nav-logo img { width: 127.08px; height: 45.61px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: var(--space-xl); }
.nav-links > a, .nav-item > a {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs);
  padding: var(--space-sm) 0;
  font-size: var(--fs-h5); line-height: 18px; font-weight: 500; color: var(--text-body);
  transition: color .15s ease;
}
.nav-links > a:hover, .nav-item > a:hover { color: var(--text); }
.nav-links svg { width: 16px; height: 16px; flex: none; }
.nav-actions { display: flex; align-items: center; gap: var(--space-xs); height: 56px; }

/* Solutions dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute; top: 100%; left: -16px; padding-top: 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
  z-index: 60;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-dropdown-panel {
  display: flex; flex-direction: column; gap: var(--space-xl);
  /* Figma 292:33569 is 440 wide with a uniform 32 pad, giving a 338px copy
     column — the title fits on one line only at that width. */
  width: 440px; padding: var(--space-xl);
  background: var(--bg-card); border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
/* Geometry is exactly the frame's: 16px icon-to-copy gap, and nothing that eats
   into the panel's 32px item gap (an earlier `margin:-10px` hover target
   cancelled 20px of every gap).
   The frame draws no hover fill, so the affordance is the title turning brand
   green and the icon nudging up — a tinted block behind a 71px row reads far
   heavier than it did behind the old 49px one. */
/* Geometry is exactly the frame's: 16px icon-to-copy gap, and nothing that eats
   into the panel's 32px item gap (an earlier `margin:-10px` hover target
   cancelled 20px of every gap).
   Hover, measured off the frame's hovered row: a --bg (#FAF9F5) fill inset 16px
   from the panel's sides and ~4px past the row, radius 16. The title stays
   Gray/900 — the frame tints the row, it does not recolour the text. */
.dropdown-item {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-start; gap: var(--space-md);
}
.dropdown-item::before {
  content: ""; position: absolute; inset: -4px -16px; z-index: -1;
  border-radius: var(--radius-md); background: transparent;
  transition: background .16s ease;
}
.dropdown-item:hover::before,
.dropdown-item:focus-visible::before { background: var(--bg); }
/* Figma 292:33569 drops the amber badge: the icon is bare 22px line art in
   --success, sitting 38px left of the copy (22 + the 16 gap). */
.dropdown-item .dropdown-icon {
  width: 22px; height: 22px; flex: none; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
}
.dropdown-item .dropdown-icon img,
.dropdown-item .dropdown-icon svg { width: 22px; height: 22px; }
.dropdown-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
/* #111B29 is Figma's Gray/900 — the dropdown title is the one place it's used,
   so it stays a literal rather than becoming a token. */
.dropdown-title { font-size: var(--fs-h5); line-height: var(--lh-body-md); font-weight: 500; color: #111B29; transition: color .16s ease; }
.dropdown-desc { font-size: var(--fs-body-base); line-height: 22.5px; font-weight: 500; color: var(--text-muted); }

/* Mobile menu */
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-sm, 12px); }
.nav-toggle:hover { background: var(--bg-soft); }
/* Explicit size, not just a viewBox: iOS Safari paints an unsized inline <svg>
   at no height, so the burger rendered as an empty 44px square on iPhone.
   Chromium infers it from the viewBox, which hid the bug on desktop. */
.nav-toggle svg { width: 24px; height: 24px; flex: none; }
/* the UA default paints a blue ring after a tap */
.nav-toggle:focus { outline: none; }
.nav-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.mobile-menu { display: none; }

/* ============================================================
   TESTIMONIALS  (313:13863)
   ============================================================ */
.testimonials { padding: var(--space-7xl) 0; display: flex; flex-direction: column; align-items: center; gap: var(--space-6xl); }
.testimonials-body { display: flex; flex-direction: column; align-items: center; gap: var(--space-4xl); }

/* --bg-soft, not --bg-sand: the portrait export bakes in this exact card fill,
   so using the darker sand leaves a seam down the middle of the card. */
.featured-quote {
  background: var(--bg-soft); border-radius: var(--radius-xl); overflow: hidden;
  display: grid; grid-template-columns: 1fr 560px; align-items: center; width: 100%; min-height: 564px;
}
.featured-copy { display: flex; flex-direction: column; gap: var(--space-3xl); padding: 44px 0 44px 72px; max-width: 552px; }
.quote-mark { width: 47px; height: 48px; }
.featured-copy blockquote {
  margin: 0; font-family: 'Fraunces', Georgia, serif; font-weight: 400;
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-size: var(--fs-quote-lg); line-height: var(--lh-quote-lg); color: var(--text);
}
.attribution { display: flex; flex-direction: column; gap: var(--space-2xs); }
.attribution .name { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); font-weight: 500; color: var(--text); }
.attribution .role { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 400; color: var(--text-subtle); }
/* The Figma export is content-bounds (708x672 @1x), not the 560x564 frame: the
   art starts 108px above the frame's top edge and the card clips it. Anchor it
   at that offset rather than scaling it to fit, or the composition drifts. */
.featured-portrait { position: relative; align-self: stretch; min-height: 564px; overflow: hidden; }
.featured-portrait img {
  position: absolute; left: 0; top: -108px;
  width: 708px; height: 672px; max-width: none;
}

.reviews-viewport { position: relative; width: 100%; }
/* Horizontal scroll track — 3 cards visible at 1216 (3x384 + 2x32) */
.reviews {
  display: flex; gap: var(--space-xl); align-items: stretch;
  overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.reviews::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 auto; width: min(384px, calc(100vw - 88px)); scroll-snap-align: start;
  background: var(--bg-soft); border: 0; border-radius: var(--radius-lg);
  padding: var(--space-xl); min-height: 316px;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-md);
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.review-top { display: flex; flex-direction: column; gap: var(--space-md); min-height: 0; }
.stars { display: flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; }
.review-card p.quote {
  font-size: var(--fs-body-base); line-height: var(--lh-body-base); font-weight: 500; color: var(--text-body);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; overflow: hidden;
}
.review-card p.meta { font-size: var(--fs-body-base); line-height: var(--lh-body-base); font-weight: 400; color: var(--text-muted); }

/* Full-review dialog */
.review-modal {
  /* Pin to the viewport rather than trusting the UA default: WebKit lays a
     modal <dialog> out against the document, so on iOS the panel opened at the
     top of the page and the reader was left staring at a dimmed screen with
     nothing in it. inset+margin:auto centres it in the viewport everywhere. */
  position: fixed; inset: 0; margin: auto;
  border: 0; padding: 0; background: transparent;
  width: min(640px, calc(100vw - 48px)); max-height: calc(100vh - 96px);
  overflow: visible; color: var(--text-body);
}
.review-modal::backdrop { background: rgba(36,36,36,.45); }
.review-modal-inner {
  position: relative; background: var(--bg-card); border-radius: var(--radius-lg);
  padding: var(--space-2xl); display: flex; flex-direction: column; gap: var(--space-md);
  max-height: calc(100vh - 96px); overflow-y: auto;
}
.review-modal-inner p.quote { font-size: var(--fs-body-md); line-height: var(--lh-body-md); font-weight: 500; color: var(--text-body); }
.review-modal-inner p.meta { font-size: var(--fs-body-base); line-height: var(--lh-body-base); font-weight: 400; color: var(--text-muted); }
.review-modal-close {
  position: absolute; top: var(--space-md); right: var(--space-md);
  width: 36px; height: 36px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center; color: var(--text-subtle);
}
.review-modal-close:hover { background: var(--bg-soft); color: var(--text); }
.review-modal-close svg { width: 18px; height: 18px; }
/* ------------------------------------------------------------
   CAROUSEL PRIMITIVES — shared by the reviews track above and by
   the journey library on the individuals page. Keep these free of
   any reviews-specific assumptions.
   ------------------------------------------------------------ */
/* z-index: the cards get a transform on hover, which would otherwise paint the
   hovered card above these overlapping arrows. */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 62px; height: 62px; border-radius: var(--radius-pill); background: var(--bg-card);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  transition: transform .15s ease;
}
.carousel-arrow:hover { transform: translateY(-50%) scale(1.05); }
.carousel-arrow svg { width: 24px; height: 24px; }
.carousel-arrow.prev { left: -31px; }
.carousel-arrow.next { right: -31px; }
/* Only offer a direction there's actually somewhere to go — same rule the
   journeys carousel uses. The JS toggles these on the viewport. */
.reviews-viewport:not(.can-scroll) .carousel-arrow { display: none; }
.reviews-viewport.at-start .carousel-arrow.prev,
.reviews-viewport.at-end   .carousel-arrow.next { display: none; }
.dots { display: flex; gap: var(--space-xs); justify-content: center; }
.dots span { width: 24px; height: 4px; border-radius: 2px; background: var(--border); }
.dots span.is-active { background: var(--primary); }

/* ============================================================
   FAQ  (313:13903)
   ============================================================ */
.faq { padding: var(--space-3xl) 0 var(--space-7xl); display: flex; flex-direction: column; align-items: center; gap: var(--space-4xl); }
.faq-list { width: min(100% - (var(--gutter) * 2), 800px); display: flex; flex-direction: column; gap: var(--space-sm); }
.faq-row { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.faq-row summary {
  display: flex; align-items: center; gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl); cursor: pointer; list-style: none;
}
.faq-row summary::-webkit-details-marker { display: none; }
.faq-row summary h3 { flex: 1 1 0; min-width: 0; font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 600; color: var(--text); }
.faq-row summary svg { width: 24px; height: 24px; flex: none; transition: transform .2s ease; }
.faq-row[open] summary svg { transform: rotate(180deg); }
.faq-row .answer {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: var(--fs-body-md); line-height: var(--lh-body-md); font-weight: 500; color: var(--text-subtle);
}

/* ============================================================
   FINAL CTA BAND  (341:17996 — sand band, orange CTAs)
   ============================================================ */
.final-cta { padding: var(--space-3xl) 0; }
.cta-band {
  position: relative; overflow: hidden;
  background: var(--bg-sand); border-radius: var(--radius-xl);
  padding: var(--space-6xl) var(--space-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-lg);
}
/* The export already bakes in the mirror and the 30% opacity — re-applying
   either here flips the composition back and washes it out. */
.cta-deco {
  position: absolute; right: 0; bottom: 0; width: 504px; height: 366px;
  pointer-events: none; user-select: none;
}
.cta-inner {
  position: relative; z-index: 1; width: min(100%, 732px);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); text-align: center;
}
.cta-app-icon { width: 47px; height: 46px; }
.cta-inner h2 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
.cta-inner .cta-sub {
  font-size: var(--fs-card-title); line-height: var(--lh-h4); font-weight: 500;
  color: var(--text-subtle); opacity: .9;
}
.cta-buttons { display: flex; align-items: center; gap: var(--space-md); padding-top: var(--space-xs); flex-wrap: wrap; justify-content: center; }
.cta-stats { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: var(--space-xs); padding-top: var(--space-md); }
.cta-stats img { width: 318.7px; height: 54.3px; object-fit: contain; }
.cta-stats .note {
  width: min(100%, 620px); text-align: center; opacity: .5;
  font-size: var(--fs-micro); line-height: var(--lh-micro); font-weight: 700; color: var(--text-subtle);
}

/* ============================================================
   FOOTER  (313:13916)
   ============================================================ */
.site-footer { background: var(--bg); padding: var(--space-6xl) 0 var(--space-2xl); }
.footer-inner { display: flex; flex-direction: column; gap: var(--space-2xl); }
.footer-divider { height: 1px; background: var(--border); }
.footer-top { display: grid; grid-template-columns: 250px 1fr 1fr 168px; gap: var(--space-6xl); align-items: start; padding-top: var(--space-6xl); }
.footer-brand { display: flex; flex-direction: column; gap: var(--space-md); }
.footer-brand img.logo { width: 111.45px; height: 40px; object-fit: contain; }
.footer-brand p { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); font-weight: 500; color: var(--text-muted); }
.footer-brand a.email { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); font-weight: 500; color: var(--text); text-decoration: underline; }
.footer-brand .compliance { display: flex; align-items: center; gap: var(--space-lg); height: 48px; }
.footer-col { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col h4 { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .5px; }
.footer-col a { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); font-weight: 500; color: var(--text-body); }
.footer-col a:hover { color: var(--text); }
.store-pills { display: flex; flex-direction: column; gap: var(--space-xs); }
.store-pills img { width: 136px; height: 40.375px; }
.footer-legal { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); flex-wrap: wrap; }
.footer-legal p { font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: 500; color: var(--text-muted); }
.social { display: flex; align-items: center; gap: var(--space-sm); }
.social a {
  width: 40px; height: 40px; border-radius: var(--radius-pill); background: var(--bg-card);
  display: flex; align-items: center; justify-content: center; transition: box-shadow .15s ease;
}
.social a:hover { box-shadow: var(--shadow-md); }
.social svg { width: 20px; height: 20px; }

/* ============================================================
   RESPONSIVE  (shared)
   ============================================================ */
@media (max-width: 1280px) {
  :root {
    --fs-display:52px;  --lh-display:60px;
    --fs-h1:42px;       --lh-h1:50px;
    --fs-h2:32px;       --lh-h2:40px;
    --fs-h3:26px;       --lh-h3:34px;
    --fs-quote-lg:28px; --lh-quote-lg:36px;
  }
}
@media (max-width: 1280px) {
  .featured-quote { grid-template-columns: 1fr 46%; }
  .featured-copy { padding-left: var(--space-3xl); }
  .featured-portrait img { width: 100%; }
}
@media (max-width: 1100px) {
  .nav-links { gap: var(--space-lg); }
  .nav-links > a, .nav-item > a { font-size: var(--fs-body-base); }
  .carousel-arrow { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
}
@media (max-width: 960px) {
  :root {
    --fs-display:40px;  --lh-display:48px;
    --fs-h1:34px;       --lh-h1:42px;
    --fs-h2:28px;       --lh-h2:36px;
    --fs-h3:24px;       --lh-h3:32px;
    --fs-body-lg:18px;  --lh-body-lg:28px;
    --space-section: 72px;
    --space-7xl: 64px;
  }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    display: none; flex-direction: column; gap: var(--space-md);
    background: var(--bg-card); border-radius: var(--radius-md);
    box-shadow: var(--shadow-md); padding: var(--space-lg); margin-top: var(--space-xs);
  }
  .mobile-menu.is-open { display: flex; }
  .mobile-menu a { font-size: var(--fs-h5); font-weight: 500; color: var(--text-body); }
  .mobile-menu .menu-ctas { display: flex; gap: var(--space-xs); padding-top: var(--space-xs); }
  /* The hover dropdown is hidden at this width, so Solutions expands inline —
     otherwise the four audience pages are unreachable on a phone. */
  .mobile-menu .menu-label {
    font-size: var(--fs-body-sm); font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: var(--text-muted);
  }
  /* flush with the rest of the menu — the uppercase label carries the grouping,
     and the indent just read as a misalignment on a phone */
  .mobile-menu a.menu-sub { padding-left: 0; }
  br.d { display: none; }
  /* One column: the desktop rules hold this card open to 564px and pull the art
     up by 108px to crop it. Both have to be undone here, or the photo sits in a
     card ~240px taller than itself and the rest reads as an empty box. Letting
     the image back into flow is what lets the card hug it. */
  .featured-quote { grid-template-columns: 1fr; min-height: 0; }
  .featured-copy { padding: var(--space-2xl) var(--space-lg) 0; max-width: none; gap: var(--space-lg); }
  .featured-portrait { align-self: start; min-height: 0; }
  .featured-portrait img { position: static; width: 100%; height: auto; }
  .cta-band { padding: var(--space-3xl) var(--space-lg); }
  .cta-deco { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: var(--space-2xl); padding-top: var(--space-2xl); }
}
@media (max-width: 620px) {
  :root { --fs-display:32px; --lh-display:40px; --fs-h1:28px; --lh-h1:36px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* underlined inline link (walkthrough mentions etc.) */
.link-u { text-decoration: underline; }
.link-u:hover { color: var(--primary); }
