@charset "utf-8";
/* ==========================================================================
   Frendz Live — Design System
   Pure CSS. No frameworks.
   Theme: "Warm Heart" — white ground, coral-red brand, sunset-orange accent.
   Single light theme: the site is white for every visitor, always.
   All colour pairs verified against WCAG 2.1 AA (most reach AAA).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Brand ramp — coral red */
  --rose-50:  #FFF2F1;
  --rose-100: #FFE1DE;
  --rose-200: #FFC6C1;
  --rose-300: #FF9A93;
  --rose-400: #FF6B63;
  --rose-500: #F2453F;
  --rose-600: #E23744;
  --rose-700: #C2182F;
  --rose-800: #94101F;
  --rose-ink: #4A0710;

  /* Accent ramp — sunset orange */
  --orange-100: #FFEBDA;
  --orange-300: #FFB877;
  --orange-400: #FF9448;
  --orange-500: #F5622D;
  --orange-600: #E14E18;
  --orange-700: #B23C0E;

  /* Neutral ramp — warm greys on a white ground */
  --ink-900: #1B1114;
  --ink-800: #2A1C20;
  --ink-700: #3D2A2F;
  --ink-600: #4E383D;
  --ink-500: #63494F;
  --ink-400: #7A6367;
  --slate-300: #A8969A;
  --slate-200: #EFD9D5;
  --slate-100: #FAECE9;
  --paper-50: #FFF7F5;
  --white: #FFFFFF;

  /* Legacy aliases — older rules keep resolving */
  --mint-300: var(--orange-300);
  --mint-400: var(--rose-500);
  --mint-600: var(--rose-600);
  --mint-800: var(--rose-700);
  --mint-ink: var(--rose-ink);
  --coral-400: var(--orange-400);
  --coral-600: var(--orange-500);
  --coral-800: var(--orange-700);
  --sky-300: var(--rose-300);
  --ink-950: var(--ink-900);

  /* --- Semantic tokens --- */
  --bg: var(--white);
  --bg-alt: var(--paper-50);
  --surface: var(--white);
  --surface-2: var(--paper-50);
  --surface-3: var(--slate-100);
  --text: var(--ink-900);
  --text-muted: #6B545A;
  --border: var(--slate-200);
  --border-strong: #D9A9A2;

  --brand: var(--rose-700);          /* text/link-safe brand on white — 5.6:1 */
  --brand-solid: var(--rose-700);    /* filled button background */
  --brand-on: var(--white);          /* text on filled brand button */
  --brand-soft-bg: var(--rose-50);
  --brand-soft-text: var(--rose-800);

  --accent: var(--orange-700);       /* 5.9:1 on white */
  --accent-soft-bg: var(--orange-100);

  --focus: #8E0F26;
  --shadow-sm: 0 1px 2px rgba(74, 7, 16, .06), 0 2px 8px rgba(74, 7, 16, .05);
  --shadow-md: 0 4px 12px rgba(74, 7, 16, .08), 0 12px 32px rgba(74, 7, 16, .07);
  --shadow-lg: 0 8px 24px rgba(74, 7, 16, .10), 0 24px 64px rgba(74, 7, 16, .11);
  --glow: none;

  --hero-wash:
    radial-gradient(70ch 46ch at 12% -12%, rgba(226, 55, 68, .15), transparent 62%),
    radial-gradient(60ch 40ch at 92% 4%, rgba(245, 98, 45, .14), transparent 60%);
  --grid-line: rgba(148, 16, 31, .06);

  /* Type */
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --step--1: clamp(.8125rem, .79rem + .11vw, .875rem);
  --step-0:  clamp(1rem, .97rem + .15vw, 1.0625rem);
  --step-1:  clamp(1.125rem, 1.07rem + .27vw, 1.3125rem);
  --step-2:  clamp(1.375rem, 1.27rem + .5vw, 1.75rem);
  --step-3:  clamp(1.625rem, 1.42rem + .95vw, 2.375rem);
  --step-4:  clamp(2rem, 1.6rem + 1.85vw, 3.25rem);
  --step-5:  clamp(2.375rem, 1.75rem + 2.9vw, 4.25rem);

  /* Space & shape */
  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --wrap: 1160px;
  --wrap-narrow: 74ch;
  --header-h: 68px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  line-height: 1.15;
  letter-spacing: -.021em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); letter-spacing: -.032em; }
h2 { font-size: var(--step-4); letter-spacing: -.026em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { margin: 0 0 var(--sp-4); text-wrap: pretty; }

/* Long unbroken strings — email addresses, URLs — must never force the page
   to scroll sideways on a 320px screen. */
p, li, td, th, dd, dt, h1, h2, h3, h4, .prose { overflow-wrap: break-word; }
a, code, address { overflow-wrap: anywhere; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { text-decoration-thickness: .14em; }

strong, b { font-weight: 700; }
small { font-size: var(--step--1); }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.35em; }
li + li { margin-top: .4em; }

hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-6) 0; }

code, kbd { font-family: var(--font-mono); font-size: .92em; background: var(--surface-2); padding: .1em .35em; border-radius: 5px; }

address { font-style: normal; }

table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
caption { text-align: left; color: var(--text-muted); padding-bottom: var(--sp-2); }
th, td { text-align: left; padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 700; background: var(--surface-2); }

/* Focus — visible on every interactive element, never removed */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--brand-soft-bg); color: var(--text); }

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important;
  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;
}

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 200;
  background: var(--brand-solid); color: var(--brand-on);
  padding: .7rem 1.1rem; border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: var(--sp-4); }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.section-head { max-width: 62ch; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: var(--step-1); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-soft-text);
  background: var(--brand-soft-bg);
  padding: .35rem .8rem;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-4);
}

.lede { font-size: var(--step-1); color: var(--text-muted); }
.text-muted { color: var(--text-muted); }
.center { text-align: center; }

/* --------------------------------------------------------------------------
   4. Logo (pure SVG, currentColor-driven)
   -------------------------------------------------------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  line-height: 1;
}
.logo:hover { text-decoration: none; }
.logo__mark { width: 36px; height: 36px; flex: 0 0 auto; }
.logo__name { white-space: nowrap; }
.logo__name .is-live { color: var(--brand); }
.logo--lg { font-size: 1.6rem; }
.logo--lg .logo__mark { width: 48px; height: 48px; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand-solid);
  --btn-fg: var(--brand-on);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border: 2px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { flex: 0 0 auto; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--border-strong); }
.btn--ghost:hover { --btn-bd: var(--brand); }

.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--white); }

.btn--lg { min-height: 56px; padding: .95rem 1.9rem; font-size: var(--step-1); }
.btn--sm { min-height: 40px; padding: .45rem 1rem; font-size: var(--step--1); }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
@supports not (backdrop-filter: blur(1px)) { .site-header { background: var(--bg); } }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list li { margin: 0; }
.nav__link {
  display: block;
  padding: .55rem .8rem;
  border-radius: var(--r-sm);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: .97rem;
}
.nav__link:hover { background: var(--surface-2); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--brand); background: var(--brand-soft-bg); }

.header-actions { display: flex; align-items: center; gap: var(--sp-2); }

.theme-toggle { display: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.theme-toggle:hover { background: var(--surface-2); }
.theme-toggle .icon-moon { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--surface-2); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: var(--sp-4) 1.25rem var(--sp-5);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav[hidden] { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: var(--sp-1); }
  .nav__link { padding: .8rem 1rem; font-size: var(--step-1); }
  .header-actions .btn--nav { display: none; }
}
@media (min-width: 901px) {
  .nav[hidden] { display: block; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5.5rem);
  background-image: var(--hero-wash);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero h1 { margin-bottom: var(--sp-5); }
.hero__lede { font-size: var(--step-1); color: var(--text-muted); max-width: 52ch; margin-bottom: var(--sp-6); }

.trust-row {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5);
  list-style: none; margin: var(--sp-6) 0 0; padding: 0;
  font-size: var(--step--1); color: var(--text-muted);
}
.trust-row li { display: flex; align-items: center; gap: .45rem; margin: 0; }
.trust-row svg { color: var(--brand); flex: 0 0 auto; }

/* Phone mock — pure CSS/SVG, no photography, no host profiles */
.phone {
  position: relative;
  width: min(300px, 78%);
  margin-inline: auto;
  aspect-ratio: 9 / 18.5;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(155deg, var(--surface-3), var(--surface-2));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg), var(--glow);
}
.phone__screen {
  height: 100%;
  border-radius: 30px;
  background:
    radial-gradient(120% 70% at 20% 0%, rgba(242, 69, 63, .38), transparent 60%),
    radial-gradient(120% 70% at 90% 100%, rgba(255, 148, 72, .34), transparent 60%),
    var(--rose-ink);
  color: #FFF3F1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-4);
  overflow: hidden;
}
.phone__pill {
  align-self: center;
  width: 74px; height: 6px; border-radius: 99px;
  background: rgba(255, 255, 255, .28);
}
.phone__badge {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255, 148, 72, .24); color: #FFD9BF;
  border: 1px solid rgba(255, 148, 72, .55);
  padding: .25rem .6rem; border-radius: 99px;
}
.phone__dot { width: 7px; height: 7px; border-radius: 99px; background: var(--coral-400); }
.phone__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: var(--sp-1); }
.phone__tile {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  width: 100%;
  object-fit: cover;
  background: linear-gradient(160deg, rgba(255, 148, 72, .45), rgba(226, 55, 68, .25));
  border: 1px solid rgba(255, 255, 255, .18);
}
.phone__bar { height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .14); }

/* --------------------------------------------------------------------------
   8. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card h3 { margin-bottom: var(--sp-2); font-size: var(--step-1); }
.card p { color: var(--text-muted); margin-bottom: 0; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand); }

.card__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--brand-soft-bg);
  color: var(--brand-soft-text);
  margin-bottom: var(--sp-4);
}
.card__icon--accent { background: var(--accent-soft-bg); color: var(--accent); }

/* Numbered steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 4.25rem;
  margin: 0 0 var(--sp-6);
}
.steps > li:last-child { margin-bottom: 0; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--brand-soft-bg);
  color: var(--brand-soft-text);
  font-weight: 800; font-size: var(--step-1);
}
.steps h3 { font-size: var(--step-1); margin-bottom: var(--sp-1); }
.steps p { color: var(--text-muted); margin-bottom: 0; }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--sp-3);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: .45em;
  width: 1.2rem; height: 1.2rem;
  border-radius: var(--r-pill);
  background: var(--brand-soft-bg);
  background-image: linear-gradient(var(--brand-soft-text), var(--brand-soft-text));
  -webkit-mask: no-repeat center/.7rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.2 11.8 2.9 8.5l1.2-1.2 2.1 2.1 5-5 1.2 1.2z'/%3E%3C/svg%3E");
  mask: no-repeat center/.7rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.2 11.8 2.9 8.5l1.2-1.2 2.1 2.1 5-5 1.2 1.2z'/%3E%3C/svg%3E");
}
.check-list li::after {
  content: "";
  position: absolute; left: 0; top: .45em;
  width: 1.2rem; height: 1.2rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--brand);
  opacity: .35;
}

/* Split feature block */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--top { align-items: start; }
.panel {
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(90% 80% at 20% 0%, var(--brand-soft-bg), transparent 70%),
    var(--surface-2);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-sm);
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: var(--sp-5); }
.stat { text-align: center; }
.stat__num { display: block; font-size: var(--step-3); font-weight: 800; color: var(--brand); letter-spacing: -.03em; line-height: 1.1; }
.stat__label { color: var(--text-muted); font-size: var(--step--1); }

/* --------------------------------------------------------------------------
   9. FAQ (native disclosure — keyboard accessible with zero JS)
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--sp-3); }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq details[open] { border-color: var(--brand); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  font-weight: 700;
  font-size: var(--step-1);
  cursor: pointer;
  list-style: none;
  min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 1.1rem; height: 1.1rem;
  background: currentColor;
  -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7 2h2v5h5v2H9v5H7V9H2V7h5z'/%3E%3C/svg%3E");
  mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7 2h2v5h5v2H9v5H7V9H2V7h5z'/%3E%3C/svg%3E");
  color: var(--brand);
  transition: transform .2s ease;
}
.faq details[open] summary::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 7h12v2H2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 7h12v2H2z'/%3E%3C/svg%3E");
}
.faq summary:hover { background: var(--surface-2); }
.faq__body { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-muted); }

/* --------------------------------------------------------------------------
   10. Download / store buttons
   -------------------------------------------------------------------------- */
.store-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 56px;
  padding: .6rem 1.25rem;
  border-radius: var(--r-md);
  border: 2px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.store-btn:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.store-btn svg { flex: 0 0 auto; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn__sm { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.store-btn__lg { font-size: 1.02rem; font-weight: 700; }

.download-card {
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.download-card--host {
  border-color: var(--brand);
  background:
    radial-gradient(90% 90% at 100% 0%, var(--brand-soft-bg), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow-md), var(--glow);
}
.download-card h3 { margin-bottom: var(--sp-2); }
.download-card > p { color: var(--text-muted); }
.download-card .store-row, .download-card .btn { margin-top: auto; }

.meta-list {
  list-style: none; padding: 0;
  margin: var(--sp-4) 0 0;
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4);
  font-size: var(--step--1); color: var(--text-muted);
}
.meta-list li { margin: 0; }

/* --------------------------------------------------------------------------
   10b. Forms
   -------------------------------------------------------------------------- */
.form { max-width: 34rem; }
.field { margin-bottom: var(--sp-5); }
.field > label {
  display: block;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.req { color: var(--accent); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--r-sm);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2379839A'%3E%3Cpath d='M8 11 3.5 6h9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 1rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--brand); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }

.field--check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sp-3);
  align-items: start;
}
.field--check input[type="checkbox"] {
  width: 1.5rem; height: 1.5rem;
  margin: .12rem 0 0;
  accent-color: var(--brand-solid);
  flex: 0 0 auto;
}
.field--check label { font-weight: 400; margin: 0; }

.hint {
  margin: var(--sp-2) 0 0;
  font-size: var(--step--1);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. Callout / notice
   -------------------------------------------------------------------------- */
.notice {
  border-left: 4px solid var(--brand);
  background: var(--surface-2);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-5);
}
.notice--warn { border-left-color: var(--accent); }
.notice p:last-child { margin-bottom: 0; }

.badge-18 {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 800; font-size: var(--step--1);
  border: 2px solid var(--accent); color: var(--accent);
  border-radius: var(--r-pill); padding: .2rem .7rem;
}

/* --------------------------------------------------------------------------
   12. Legal / long-form document pages
   -------------------------------------------------------------------------- */
.doc-header {
  padding-block: clamp(2.5rem, 6vw, 4rem) var(--sp-6);
  background-image: var(--hero-wash);
  border-bottom: 1px solid var(--border);
}
.doc-header h1 { margin-bottom: var(--sp-3); }
.doc-meta { color: var(--text-muted); font-size: var(--step--1); margin: 0; }

.breadcrumb { margin-bottom: var(--sp-4); font-size: var(--step--1); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); display: inline-block; padding: .3rem 0; }

.doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-width: 0;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; } }

.toc {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  font-size: var(--step--1);
}
@media (max-width: 900px) { .toc { position: static; } }
.toc h2 { font-size: var(--step-0); margin-bottom: var(--sp-3); letter-spacing: 0; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: .45rem; }
.toc a { color: var(--text-muted); text-decoration: none; display: block; padding: .35rem 0; }
.toc a::before { content: counter(toc) ". "; color: var(--brand); font-weight: 700; }
.toc a:hover { color: var(--brand); text-decoration: underline; }

.prose { max-width: 78ch; min-width: 0; }
.prose h2 {
  font-size: var(--step-2);
  margin-top: var(--sp-8);
  padding-top: var(--sp-2);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: var(--sp-6); }
.prose ul, .prose ol { margin-bottom: var(--sp-4); }
.prose li::marker { color: var(--brand); }
.prose table { margin-bottom: var(--sp-5); }
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  margin-bottom: var(--sp-5);
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.table-scroll table { min-width: 30rem; margin-bottom: 0; }
.table-scroll caption { padding: var(--sp-3) var(--sp-4) var(--sp-2); }
.table-scroll tr:last-child td, .table-scroll tr:last-child th { border-bottom: 0; }
/* keyboard users must be able to reach a scrollable region */
.table-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   13. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(100% 120% at 0% 0%, var(--brand-soft-bg), transparent 65%),
    radial-gradient(100% 120% at 100% 100%, var(--accent-soft-bg), transparent 65%),
    var(--surface-2);
  border: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 { margin-bottom: var(--sp-3); }
.cta-band p { color: var(--text-muted); max-width: 58ch; margin-inline: auto; margin-bottom: var(--sp-6); }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-block: var(--sp-8) var(--sp-5);
  margin-top: var(--sp-8);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--sp-6) var(--sp-5);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.footer-brand p { color: var(--text-muted); font-size: var(--step--1); max-width: 34ch; margin: var(--sp-4) 0 var(--sp-5); }

.footer-col h2 {
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .95rem;
  display: inline-block;
  padding: .3rem 0;
}
.footer-col a:hover { color: var(--brand); text-decoration: underline; }

/* Host app download block in the footer */
.footer-host {
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  border: 1px solid var(--brand);
  border-radius: var(--r-lg);
  background: var(--brand-soft-bg);
}
.footer-host h2 { font-size: var(--step-0); margin-bottom: var(--sp-2); letter-spacing: -.01em; text-transform: none; }
.footer-host p { font-size: var(--step--1); color: var(--text-muted); margin-bottom: var(--sp-4); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  font-size: var(--step--1);
  color: var(--text-muted);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); list-style: none; margin: 0; padding: 0; }
.footer-legal li { margin: 0; }
.footer-legal a { color: var(--text-muted); text-decoration: none; display: inline-block; padding: .45rem 0; }
.footer-legal a:hover { color: var(--brand); text-decoration: underline; }

/* --------------------------------------------------------------------------
   8b. Imagery (placeholder photography)
   -------------------------------------------------------------------------- */
/* Every image sits on a warm gradient, so a slow or failed load still reads
   as a deliberate block of brand colour rather than a broken icon. */
.media {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--rose-100), var(--orange-100));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media--wide   { aspect-ratio: 16 / 10; }
.media--banner { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }

/* Cards with a photo band across the top */
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media .card__body { padding: var(--sp-5); }
.card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(150deg, var(--rose-200), var(--orange-300));
  border-bottom: 1px solid var(--border);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card--hover:hover .card__media img { transform: scale(1.04); }
.card--media .card__icon {
  position: relative;
  z-index: 1;
  margin-top: -2.15rem;
  background: var(--white);
  color: var(--brand);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* Numbered steps with a thumbnail */
.steps > li.has-thumb {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: var(--sp-5);
  align-items: center;
}
.steps > li.has-thumb .step__thumb { border-radius: var(--r-md); }
@media (max-width: 1024px) {
  .steps > li.has-thumb { grid-template-columns: minmax(0, 1fr); }
  .steps > li.has-thumb .step__thumb { display: none; }
}

/* Phone mock — live photo + thumbnail strip */
.phone__live {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(160deg, rgba(255, 148, 72, .5), rgba(226, 55, 68, .3));
}
.phone__live img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   15. Motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .btn, .store-btn, .card, .faq details { border: 1px solid ButtonBorder; }
  .card__icon, .steps > li::before { forced-color-adjust: none; }
}

@media print {
  .site-header, .site-footer, .skip-link, .toc, .cta-band, .phone { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .doc-layout { grid-template-columns: 1fr; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
}
