/* CYHM Public Phase 1 — approved visual composition (source of truth)
   CanYouHelpMe · Search - Find - Help · warm Costa Blanca directory + community network.
   No fake trust theatre. */

:root {
  --ink: #1a2a3a;
  --muted: #5a6b76;
  --paper: #faf6f0;
  --sand: #f3ebe0;
  --sea: #0d5c4d;
  --sea-deep: #0a453a;
  --sea-soft: #d7ece6;
  --coral: #e8a07a;
  --line: rgba(26, 42, 58, 0.12);
  --shadow: 0 8px 24px rgba(26, 42, 58, 0.08);
  --shadow-sm: 0 4px 14px rgba(26, 42, 58, 0.06);
  --radius: 14px;
  --radius-lg: 18px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --hand: "Caveat", cursive;
  --c1: #3b82f6;
  --c2: #ef4444;
  --c3: #eab308;
  --c4: #22c55e;
  --wa: #25d366;
  --live: #1f8a4c;
  --almost: #c27803;
  --growing: #2f6fed;
  --starting: #6b7280;
  --canvas: 1140px;
  --header-h: 58px;

  /* ===== Fixed-section provider-card geometry (approved architecture) =====
     Every provider card is a fixed-size composition of fixed-size internal
     containers. These tokens are the single source of truth for each section's
     height; the card height is their deterministic sum, so all horizontal
     section boundaries and vertical anchors line up across a row regardless of
     content length, language count, image type, or action count. */
  --card-media-h: 110px;                                   /* MEDIA banner        */
  --card-title-lh: 1.3rem;                                 /* TITLE line height   */
  --card-title-lines: 2;                                   /* up to 2 title lines */
  --card-title-h: calc(var(--card-title-lh) * var(--card-title-lines)); /* 2.6rem */
  --card-meta-h: 1.15rem;                                  /* META / short desc   */
  --card-langs-h: 1.55rem;                                 /* LANGUAGES chip row  */
  --card-info-lh: 1.2rem;                                  /* INFO line height    */
  --card-info-lines: 5;                                    /* exactly 5 lines     */
  --card-info-h: calc(var(--card-info-lh) * var(--card-info-lines));    /* 6rem   */
  --card-actions-h: 2.4rem;                                /* ACTIONS row         */
  --card-gap: 0.5rem;                                      /* row gap in the body */
  --card-body-pad-y: 0.9rem;                               /* body vertical pad   */
  --card-body-h: calc(
    var(--card-title-h) + var(--card-meta-h) + var(--card-langs-h)
    + var(--card-info-h) + var(--card-actions-h)
    + 4 * var(--card-gap) + 2 * var(--card-body-pad-y));
  --card-h: calc(var(--card-media-h) + var(--card-body-h)); /* total fixed height */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sea-deep); }
.wrap { width: min(var(--canvas), calc(100% - 2rem)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip {
  position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }
.muted { color: var(--muted); }
.handwritten { font-family: var(--hand); font-weight: 600; }
.hidden { display: none !important; }

/* Wordmark */
.wordmark { font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.wordmark .c1 { color: var(--c1); }
.wordmark .c2 { color: var(--c2); }
.wordmark .c3 { color: var(--c3); }
.wordmark .c4 { color: var(--c4); }
.wordmark-sm { font-size: 1.35rem; margin: 0 0 .35rem; }

/* ========== Header (~58px) ========== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: .85rem;
  min-height: var(--header-h);
  height: var(--header-h);
}
.brand {
  display: flex; align-items: baseline; gap: .5rem;
  text-decoration: none; color: inherit; flex-shrink: 0;
}
.brand-mark {
  width: 1.4rem; height: 1.4rem; border-radius: 7px;
  background: linear-gradient(135deg, var(--sea), #1a8a7a 55%, var(--coral));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
  align-self: center;
}
.brand .wordmark { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.brand-tag {
  color: #c4784a;
  font-size: 1.2rem;
  line-height: 1;
  display: none;
  white-space: nowrap;
}
@media (min-width: 1100px) { .brand-tag { display: inline; } }

.nav {
  display: none;
  align-items: center;
  gap: 1.05rem;
  margin-left: auto;
  margin-right: .35rem;
}
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9rem;
  opacity: .8; white-space: nowrap;
}
.nav a:hover, .nav a.is-active { opacity: 1; color: var(--sea-deep); }
@media (min-width: 980px) { .nav { display: flex; } }

.header-actions {
  display: flex; align-items: center; gap: .5rem; flex-shrink: 0;
}
@media (min-width: 980px) { .header-actions { margin-left: 0; } }
@media (max-width: 979px) { .header-actions { margin-left: auto; } }

.lang-switch select {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: .32rem .75rem; font: inherit; font-size: .85rem; color: var(--ink);
  height: 2.15rem;
}
.login-pill {
  display: none;
  padding: .32rem .9rem !important;
  font-size: .85rem !important;
  height: 2.15rem;
}
@media (min-width: 720px) { .login-pill { display: inline-flex; } }

.header-cta {
  display: none;
  padding: .45rem 1.05rem !important;
  font-size: .88rem !important;
  border-radius: 999px;
  white-space: nowrap;
}
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 2.35rem; height: 2.35rem; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 15px; margin-inline: auto; background: var(--ink); }
@media (min-width: 980px) { .nav-toggle { display: none !important; } }

/* CRITICAL: author display must not override [hidden] — desktop must never show this list */
.mobile-nav {
  display: flex; flex-direction: column; gap: .7rem;
  padding: .75rem 1rem 1.1rem; border-top: 1px solid var(--line);
  background: rgba(255,255,255,.96);
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a { color: var(--ink); text-decoration: none; font-weight: 560; }
@media (min-width: 980px) {
  .mobile-nav,
  .mobile-nav:not([hidden]),
  .mobile-nav.is-open {
    display: none !important;
  }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border-radius: 999px; border: 1px solid transparent;
  padding: .7rem 1.15rem; font: inherit; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sea); color: #fff; }
.btn-primary:hover { background: var(--sea-deep); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--sea); color: var(--sea-deep); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(.95); color: #fff; }
.btn-sm { padding: .45rem .9rem; font-size: .9rem; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ========== Hero (~270px) + integrated category bar ========== */
.hero {
  position: relative;
  min-height: 270px;
  display: grid;
  align-items: stretch;
  color: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg,
      rgba(250, 246, 240, 0.94) 0%,
      rgba(250, 246, 240, 0.78) 38%,
      rgba(250, 246, 240, 0.42) 62%,
      rgba(250, 246, 240, 0.18) 100%),
    url("../img/hero-costa.webp") center 40%/cover no-repeat,
    linear-gradient(135deg, #c8e4e8, #f0d4b8);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 1.35rem 0 0;
  display: grid;
  gap: 0;
}
.hero-copy { max-width: 36rem; }
.hero h1 {
  margin: 0 0 .45rem;
  font-size: clamp(2rem, 3.8vw, 2.75rem); /* ~32–44px desktop */
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  max-width: 18ch;
}
.hero .lede {
  margin: 0 0 1rem;
  max-width: 42ch;
  font-size: 1.125rem; /* ~18px */
  color: var(--muted);
  line-height: 1.45;
}

/* Search bar ~720 × 54 */
.search-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: .3rem .3rem .3rem .85rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  width: min(720px, 100%);
  min-height: 54px;
  align-items: center;
}
@media (min-width: 720px) {
  .search-panel {
    grid-template-columns: 1.45fr 0.95fr auto;
  }
}
.search-panel label { display: grid; gap: 0; padding: .2rem .4rem; min-width: 0; }
.search-panel .label {
  font-size: .68rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em;
}
.search-panel input, .search-panel select {
  border: 0; outline: none; font: inherit; background: transparent; width: 100%;
  padding: .05rem 0; color: var(--ink); font-size: .95rem;
}
.search-panel .field { border-radius: 12px; }
@media (min-width: 720px) {
  .search-panel .field + .field {
    border-left: 1px solid var(--line);
    padding-left: .75rem;
  }
}
.search-panel .btn {
  border-radius: 999px;
  padding: .7rem 1.35rem;
  min-height: 42px;
  white-space: nowrap;
}
.hero-hint {
  margin: .65rem 0 0;
  font-size: .88rem;
  color: var(--muted);
}

/* Category icons — integrated under search / hero bottom */
.hero-cats {
  margin-top: 1.15rem;
  padding-bottom: 1.1rem;
}
.cat-bar {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(4.6rem, 1fr);
  gap: .55rem;
  overflow-x: auto;
  padding: .15rem 0 .25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.cat-item {
  scroll-snap-align: start;
  border: 0; background: transparent; cursor: pointer;
  display: grid; justify-items: center; gap: .4rem;
  color: var(--ink); font: inherit; font-size: .75rem; font-weight: 560;
  padding: .15rem;
}
.cat-icon {
  width: 3.55rem; height: 3.55rem; border-radius: 999px;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 6px 14px rgba(26,42,58,.07);
  transition: transform .15s, box-shadow .15s;
}
.cat-item:hover .cat-icon, .cat-item.is-active .cat-icon {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 2px var(--sea), 0 8px 18px rgba(13,92,77,.14);
}
.cat-item svg { width: 1.4rem; height: 1.4rem; }

/* ========== Sections ========== */
.section { padding: clamp(1.5rem, 3.5vw, 2.4rem) 0; }
.section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.1rem;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  letter-spacing: -0.02em;
}
.section-head .view-all {
  font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--sea);
  white-space: nowrap; background: none; border: 0; cursor: pointer; font-family: inherit;
  padding: 0;
}
.section-head .view-all:hover { color: var(--sea-deep); text-decoration: underline; }

/* Providers — full-width white band, large cards + tall CTA */
.providers-band {
  background: #fff;
  border-block: 1px solid var(--line);
  padding: clamp(1.6rem, 3.5vw, 2.5rem) 0;
}
.provider-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 980px) {
  .provider-rail {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 1.1rem;
  }
}

.provider-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  gap: 1rem;
  overflow-x: auto;
  padding: .2rem .1rem .85rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  min-height: 320px;
}
@media (min-width: 980px) {
  .provider-cards {
    grid-auto-flow: unset;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    padding: .15rem 0;
    min-height: 340px;
  }
}

/* ===== FIXED-SECTION PROVIDER CARD (approved architecture) =================
   The card is a fixed-height grid of two fixed rows: MEDIA + body. The body is
   itself a fixed-row grid (TITLE · META · LANGUAGES · INFORMATION · ACTIONS).
   No section relies on content flow or margin-top:auto to align — heights come
   entirely from the --card-* tokens, so every card in a row shares identical
   section boundaries and a single action baseline. */
.provider-card {
  scroll-snap-align: start;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0;
  display: grid;
  grid-template-rows: var(--card-media-h) var(--card-body-h);
  height: var(--card-h);
  box-shadow: var(--shadow-sm);
  overflow: hidden;                 /* closed card clips to its fixed box */
}
/* Only the actively-expanded card lifts its clip so the INFORMATION overlay can
   escape; every closed neighbour keeps the fixed geometry contract. */
.provider-card.is-expanded { overflow: visible; z-index: 6; }

/* 1) MEDIA — one fixed frame; inner variants (avatar / gradient / img) fill it
   with identical geometry. Badge + glyph overlays live here (zero flow). */
.pc-media {
  position: relative;
  height: var(--card-media-h);
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  overflow: hidden;                 /* keeps rounded top corners under any child */
}
.pc-media > .provider-media,
.pc-media > .provider-photo {
  height: 100%;
  display: grid;
  place-items: center;
}
.avatar {
  width: 4.25rem; height: 4.25rem; border-radius: 999px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.15rem; color: var(--ink);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55);
}
/* Any media image fills the fixed frame identically for WebP and SVG. */
.pc-media img { width: 100%; height: 100%; object-fit: cover; }
/* Category glyph overlay — absolute, bottom-right, consumes no layout flow. */
.pc-glyph {
  position: absolute; right: .5rem; bottom: .5rem; z-index: 2;
  width: 1.85rem; height: 1.85rem; border-radius: 999px;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 3px 8px rgba(26,42,58,.14);
}
.pc-glyph svg { width: 1rem; height: 1rem; color: var(--ink); }
/* Demo badge overlay — absolute, top-left, zero flow. */
.provider-card .demo-badge {
  position: absolute; top: .5rem; left: .5rem; z-index: 2;
  font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: #ffcc4d; color: #3a2a00; border-radius: 999px; padding: .16rem .5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}

/* Body — fixed-row grid; each section gets its own fixed slot. */
.provider-body {
  padding: var(--card-body-pad-y) 1rem;
  display: grid;
  grid-template-rows:
    var(--card-title-h)
    var(--card-meta-h)
    var(--card-langs-h)
    var(--card-info-h)
    var(--card-actions-h);
  gap: var(--card-gap);
}

/* 2) TITLE — fixed slot, up to 2 lines, ellipsis beyond (never pushes down). */
.pc-title {
  margin: 0; font-size: 1.05rem; letter-spacing: -0.01em;
  line-height: var(--card-title-lh);
  height: var(--card-title-h);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; text-overflow: ellipsis;
}

/* 3) META / short description — fixed single-line slot (category/location). */
.provider-meta {
  margin: 0; font-size: .84rem; color: var(--muted);
  height: var(--card-meta-h); line-height: var(--card-meta-h);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 4) LANGUAGES — fixed slot, identical height for 1/2/3+ chips (or none). */
.lang-pills {
  display: flex; flex-wrap: nowrap; gap: .3rem;
  height: var(--card-langs-h); align-items: center; overflow: hidden;
}
.lang-pills span {
  font-size: .7rem; font-weight: 700; letter-spacing: .02em;
  border: 1px solid var(--line); border-radius: 999px; padding: .12rem .42rem;
  background: var(--sand); flex: 0 0 auto;
}

/* 5) INFORMATION / CAPABILITIES — fixed slot, exactly 5 visible lines closed.
   Overflow is clipped and revealed by an accessible disclosure that opens as an
   OVERLAY (position:absolute), so opening never reflows the card or neighbours. */
.pc-info { position: relative; height: var(--card-info-h); }
.pc-info-clip {
  position: absolute; inset: 0; overflow: hidden;
  font-size: .84rem; line-height: var(--card-info-lh); color: var(--ink);
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--card-info-lines);
}
.pc-info-clip > * { margin: 0; }
.pc-info-clip .provider-desc { color: var(--muted); }
.pc-info-clip .provider-desc + .caps { margin-top: .25rem; }
/* Subtle bottom fade hints at clipped content when the toggle is present. */
.pc-info.has-overflow .pc-info-clip::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5rem;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
}
.pc-info-toggle {
  position: absolute; right: 0; bottom: -.15rem; z-index: 3;
  display: inline-flex; align-items: center; gap: .2rem;
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: .78rem; font-weight: 600; color: var(--sea);
  padding: .05rem .1rem;
}
.pc-info-toggle:hover { color: var(--sea-deep); text-decoration: underline; }
.pc-info-chevron {
  width: .5rem; height: .5rem; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg);
  transition: transform .15s;
}
/* Open state: the clip becomes a self-contained overlay panel (auto height,
   own surface + shadow), so the fixed card box and its neighbours never move. */
.pc-info.is-open .pc-info-clip {
  position: absolute; inset: auto 0 auto 0; top: 0; z-index: 5;
  -webkit-line-clamp: unset; display: block;
  height: auto; max-height: 16rem; overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .6rem .7rem;
}
.pc-info.is-open .pc-info-clip::after { display: none; }
.pc-info.is-open .pc-info-toggle { bottom: auto; top: -.1rem; z-index: 6; }
.pc-info.is-open .pc-info-chevron { transform: translateY(1px) rotate(-135deg); }

.caps { font-size: .84rem; color: var(--ink); }

/* 6) ACTIONS — fixed row at the bottom; Contact + WhatsApp or Contact-only
   share the exact same baseline (the row height never depends on button count). */
.card-actions {
  display: flex; gap: .4rem; align-items: center;
  height: var(--card-actions-h);
}
.card-actions .btn { flex: 1; padding: .5rem .65rem; font-size: .84rem; }

/* Empty community state — fills card area, preserves geometry */
.empty-community-card {
  scroll-snap-align: start;
  background: linear-gradient(160deg, #fff 0%, var(--sand) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.35rem;
  display: grid;
  gap: .85rem;
  align-content: center;
  min-height: 300px;
}
@media (min-width: 980px) {
  .empty-community-card {
    grid-column: 1 / -1;
    min-height: 340px;
    padding: 2rem 2.25rem;
  }
}
.empty-community-card h3 { margin: 0; font-size: 1.25rem; }
.empty-community-card p { margin: 0; max-width: 48ch; }
.empty-actions { display: flex; flex-wrap: wrap; gap: .55rem; }

/* Tall Add Your Business CTA card */
.biz-cta-card {
  background: linear-gradient(165deg, var(--sea) 0%, var(--sea-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.15rem;
  display: grid;
  gap: .75rem;
  align-content: start;
  min-height: 300px;
  box-shadow: var(--shadow);
  text-decoration: none;
}
@media (min-width: 980px) {
  .biz-cta-card { min-height: 340px; }
}
.biz-cta-card h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
}
.biz-cta-card p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.88); line-height: 1.45; }
.biz-cta-card .btn {
  margin-top: auto;
  background: #fff;
  color: var(--sea-deep);
  border: 0;
  justify-self: stretch;
}
.biz-cta-card .btn:hover { background: var(--sea-soft); color: var(--sea-deep); }

.carousel-controls {
  display: flex; gap: .45rem; align-items: center;
}
.carousel-controls button {
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: 1.1rem; line-height: 1;
}
@media (min-width: 980px) {
  .carousel-controls .carousel-arrow { display: none; }
}

/* Out of coverage banner */
.banner {
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: #fff7ed;
  border: 1px solid #f0d3b0;
  display: grid; gap: .7rem;
  margin-bottom: 1rem;
}
.banner h3 { margin: 0; font-size: 1.05rem; }
.banner-actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Trust / value strip */
.values-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: .25rem 0;
}
@media (min-width: 640px) {
  .values-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .values-strip { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}
.value-col {
  padding: .35rem .15rem;
}
.value-col h3 {
  margin: 0 0 .35rem;
  font-size: 1rem;
  color: var(--sea-deep);
  letter-spacing: -0.01em;
}
.value-col p {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Coverage strip */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .7rem;
}
.cov-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .85rem .9rem;
}
.cov-card strong { display: block; }
.status-pill {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: 999px; padding: .2rem .55rem; margin-top: .45rem;
}
.status-LIVE { background: #e5f6ec; color: var(--live); }
.status-ALMOST_READY { background: #fff4df; color: var(--almost); }
.status-GROWING { background: #e8f0ff; color: var(--growing); }
.status-STARTING { background: #eef0f3; color: var(--starting); }
.grow-cta {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--sea-soft), #f7e8d8);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
}
.grow-cta p { margin: 0; font-weight: 600; }

/* Onboarding cards */
.onboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .9rem;
}
.onboard-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.1rem; display: grid; gap: .45rem;
  text-decoration: none; color: inherit;
  transition: transform .15s, border-color .15s;
}
.onboard-card:hover { transform: translateY(-2px); border-color: var(--sea); }
.onboard-card h3 { margin: 0; font-size: 1.05rem; color: var(--sea-deep); }

/* Forms / pages */
.page-hero { padding: 2rem 0 0.5rem; }
.page-hero h1 { margin: 0 0 .5rem; font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.03em; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.2rem; box-shadow: 0 8px 24px rgba(26,42,58,.04);
}
.form-grid { display: grid; gap: .85rem; }
.form-grid label { display: grid; gap: .35rem; font-weight: 560; font-size: .92rem; }
.form-grid input, .form-grid select, .form-grid textarea {
  font: inherit; border: 1px solid var(--line); border-radius: 12px;
  padding: .7rem .8rem; background: #fff; color: var(--ink);
}
.form-grid textarea { min-height: 6rem; resize: vertical; }
.why-box {
  background: var(--sand); border-radius: 12px; padding: .85rem .95rem;
  font-size: .92rem; color: var(--muted);
}
.invite-closing {
  margin-top: 1.25rem;
  font-family: var(--hand);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  color: var(--sea-deep);
  line-height: 1.25;
}
.token-box {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .85rem;
  background: #0f2427; color: #d7f3f5;
  border-radius: 12px; padding: .85rem 1rem; word-break: break-all;
}
.list-locations { display: grid; gap: .75rem; }
.loc-row {
  display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .9rem 1rem;
}
.gap-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.1rem; display: grid; gap: .6rem;
}
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  background: var(--sea-soft); color: var(--sea-deep);
  border-radius: 999px; padding: .25rem .65rem; font-size: .82rem; font-weight: 600;
}

/* Footer */
.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  padding: 1.75rem 0 2.25rem;
}
.footer-inner { display: grid; gap: 1rem; }
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1.4fr; align-items: start; }
}
.footer-notes p { margin: 0 0 .4rem; font-size: .9rem; }

/* Expanded list */
.provider-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: rise .65s ease both; }
  .provider-rail, .values-strip, .coverage-grid, .onboard-grid {
    animation: rise .65s ease both;
    animation-delay: .06s;
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
  .provider-card { transition: transform .18s ease, box-shadow .18s ease; }
  .provider-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(26,42,58,.1); }
  .biz-cta-card { transition: transform .18s ease; }
  .biz-cta-card:hover { transform: translateY(-2px); }
}
