/* ===========================================================
   remedigital — Color tokens
   Clean health-tech: teal + deep ink + soft mint.
   =========================================================== */

:root {
  /* ---- Brand: teal (the "remedy") ---- */
  --teal-50:  #eafaf6;
  --teal-100: #d1f3eb;
  --teal-200: #a6e7d8;
  --teal-300: #6fd6c1;
  --teal-400: #2fc6ad;
  --teal-500: #0fb5a4;  /* primary brand */
  --teal-600: #0e8c80;  /* brand dark — hovers, gradients */
  --teal-700: #0a5b54;  /* brand ink — text on light */
  --teal-800: #073f3a;

  /* ---- Ink: deep navy neutrals ---- */
  --ink-900: #0b1220;   /* near-black, dark sections */
  --ink-800: #131b2c;
  --ink-700: #1c2636;   /* secondary text on light */
  --ink-500: #5a6678;   /* muted text */
  --ink-400: #8593a5;
  --ink-300: #aab6c7;   /* muted text on dark */
  --ink-200: #cdd6e3;   /* body text on dark */

  /* ---- Surface neutrals ---- */
  --white:    #ffffff;
  --line:     #e6ebf1;  /* hairline borders */
  --line-soft:#eef2f6;
  --bg-soft:  #f3fbf9;  /* faint mint-tinted section bg */
  --bg-mint:  #eafaf6;  /* mint chip / icon wells */

  /* ---- Accent + semantic ---- */
  --amber-500:  #f4b740; /* highlight / attention */
  --amber-600:  #d99a1e;
  --coral-500:  #e5546b; /* danger / "rejected" */
  --coral-50:   #fdeef0;
  --green-500:  #16c7b5; /* success (brand-aligned) */

  /* =========================================================
     Semantic aliases — reference these in product UI
     ========================================================= */
  --brand:          var(--teal-500);
  --brand-strong:   var(--teal-600);
  --brand-ink:      var(--teal-700);
  --brand-bright:   var(--green-500);

  --text-strong:    var(--ink-900);
  --text-body:      var(--ink-700);
  --text-muted:     var(--ink-500);
  --text-on-brand:  #ffffff;
  --text-on-dark:   var(--ink-200);
  --text-muted-dark:var(--ink-300);

  --surface:        var(--white);
  --surface-soft:   var(--bg-soft);
  --surface-mint:   var(--bg-mint);
  --surface-dark:   var(--ink-900);
  --surface-card:   var(--white);

  --border:         var(--line);
  --border-mint:    #cdeee7;
  --border-dark:    rgba(255,255,255,.09);

  --focus-ring:     rgba(15,181,164,.30);

  --success:        var(--brand);
  --warning:        var(--amber-500);
  --danger:         var(--coral-500);
  --danger-soft:    var(--coral-50);

  /* Signature gradients */
  --grad-brand:     linear-gradient(135deg, #16c7b5, #0e8c80);   /* @kind color */
  --grad-text:      linear-gradient(100deg, var(--teal-500), #26d0bd 55%, var(--amber-500)); /* @kind color */
  --grad-hero:      radial-gradient(120% 90% at 80% -10%, var(--bg-mint), #fff 55%); /* @kind color */
}
/* ===========================================================
   remedigital — Typography tokens
   Display: Space Grotesk (geometric, confident headings)
   Body:    Inter (neutral, legible UI + prose)
   =========================================================== */

:root {
  --font-display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Type scale (rem) — fluid sizes use clamp() in components */
  --fs-display: 4rem;     /* hero h1 ceiling */
  --fs-h1:      2.6rem;
  --fs-h2:      2rem;
  --fs-h3:      1.5rem;
  --fs-h4:      1.18rem;
  --fs-lg:      1.125rem; /* lead paragraph */
  --fs-base:    1rem;     /* body */
  --fs-sm:      0.9375rem;
  --fs-xs:      0.82rem;  /* kicker / eyebrow / labels */

  /* Weights */
  --fw-regular: 400;  /* @kind font */
  --fw-medium:  500;  /* @kind font */
  --fw-semibold:600;  /* @kind font */
  --fw-bold:    700;  /* @kind font */

  /* Line heights */
  --lh-tight:   1.12;  /* @kind font */
  --lh-snug:    1.3;   /* @kind font */
  --lh-body:    1.6;   /* @kind font */

  /* Letter spacing */
  --ls-tight:   -0.02em; /* @kind font */
  --ls-normal:  0;       /* @kind font */
  --ls-wide:    0.08em;  /* @kind font */
  --ls-wider:   0.12em;  /* @kind font */
}
/* ===========================================================
   remedigital — Spacing, radii, layout tokens
   8px base grid.
   =========================================================== */

:root {
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  22px;   /* default grid gap */
  --space-6:  28px;   /* default card padding */
  --space-7:  36px;
  --space-8:  48px;
  --space-9:  64px;
  --space-10: 88px;
  --space-11: 110px;  /* section padding ceiling */

  /* Radii */
  --radius-sm:  10px;
  --radius:     16px;  /* default card */
  --radius-lg:  24px;  /* large card / form */
  --radius-pill:999px; /* buttons, chips */

  /* Layout */
  --maxw:        1140px; /* @kind spacing */
  --maxw-narrow: 820px;  /* @kind spacing */
  --header-h:    70px;   /* @kind spacing */

  /* Borders */
  --border-w:   1px;     /* @kind spacing */
  --border-w-2: 1.5px;   /* @kind spacing */
}
/* ===========================================================
   remedigital — Shadows, transitions, effects
   Soft ink-tinted elevation. No harsh black shadows.
   =========================================================== */

:root {
  /* Elevation — tinted with ink, never pure black */
  --shadow-sm: 0 1px 2px rgba(11,18,32,.06), 0 2px 8px rgba(11,18,32,.05);
  --shadow-md: 0 10px 30px rgba(11,18,32,.08);
  --shadow-lg: 0 24px 60px rgba(11,18,32,.16);

  /* Brand-tinted glow for primary buttons */
  --shadow-brand:    0 8px 20px rgba(15,181,164,.32);
  --shadow-brand-hi: 0 12px 26px rgba(15,181,164,.42);

  /* Focus ring */
  --ring: 0 0 0 3px var(--focus-ring);

  /* Motion — calm, professional. Short eases, gentle lift. */
  --ease:        cubic-bezier(.4, 0, .2, 1); /* @kind other */
  --dur-fast:    .15s;  /* @kind other */
  --dur:         .2s;   /* @kind other */
  --dur-slow:    .6s;   /* @kind other */
  --lift:        translateY(-4px); /* @kind other */
  --lift-strong: translateY(-2px); /* @kind other */

  /* Backdrop blur (sticky header) */
  --blur-header: saturate(160%) blur(12px); /* @kind other */
}
/* ===========================================================
   remedigital — Base element styles & primitives
   Applied globally once tokens are loaded.
   =========================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-strong);
  background: var(--surface);
  line-height: var(--lh-body);
  font-size: var(--fs-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a { color: var(--brand-strong); text-decoration: none; }
a:hover { color: var(--brand-ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text-strong);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, var(--fs-display)); font-weight: var(--fw-bold); }
h2 { font-size: clamp(1.7rem, 3.4vw, var(--fs-h2)); font-weight: var(--fw-bold); }
h3 { font-size: var(--fs-h4); font-weight: var(--fw-semibold); }
h4 { font-size: var(--fs-sm); font-weight: var(--fw-semibold); }

p { margin: 0 0 1rem; text-wrap: pretty; }

/* ---- Shared layout helpers (used by UI kits & cards) ---- */
.rd-container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.rd-container.narrow { max-width: var(--maxw-narrow); }

/* ---- Eyebrow / kicker ---- */
.rd-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--brand-strong);
}

/* ---- Gradient text ---- */
.rd-grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* ===========================================================
   remedigital — core component styles
   Imported by styles.css; classes consumed by core/*.jsx
   =========================================================== */

/* ---------- Button ---------- */
.rd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: .98rem;
  padding: .8em 1.4em; border-radius: var(--radius-pill);
  border: var(--border-w-2) solid transparent;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.rd-btn:active { transform: translateY(1px); }
.rd-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.rd-btn[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.rd-btn svg { width: 1.15em; height: 1.15em; }

.rd-btn--primary { background: var(--brand); color: var(--text-on-brand); box-shadow: var(--shadow-brand); }
.rd-btn--primary:hover { background: var(--brand-strong); color: #fff; box-shadow: var(--shadow-brand-hi); transform: var(--lift-strong); }

.rd-btn--secondary { background: var(--ink-900); color: #fff; }
.rd-btn--secondary:hover { background: var(--ink-700); transform: var(--lift-strong); }

.rd-btn--ghost { background: transparent; color: var(--text-strong); border-color: var(--border); }
.rd-btn--ghost:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--surface-soft); }

.rd-btn--sm { padding: .6em 1.05em; font-size: .9rem; }
.rd-btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.rd-btn--block { width: 100%; }

/* ---------- Badge ---------- */
.rd-badge {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: .78rem; letter-spacing: .01em;
  padding: .34em .8em; border-radius: var(--radius-pill);
  border: 1px solid transparent; line-height: 1.2;
}
.rd-badge .rd-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.rd-badge--brand   { background: var(--bg-mint); color: var(--brand-ink); border-color: var(--border-mint); }
.rd-badge--success { background: var(--bg-mint); color: var(--brand-ink); border-color: var(--border-mint); }
.rd-badge--warning { background: #fdf4e1; color: var(--amber-600); border-color: #f2e0b4; }
.rd-badge--danger  { background: var(--danger-soft); color: var(--danger); border-color: #f6cdd4; }
.rd-badge--neutral { background: var(--surface-soft); color: var(--ink-700); border-color: var(--border); }
.rd-badge--solid   { background: var(--brand); color: #fff; }

/* ---------- Tag (niche / category chip) ---------- */
.rd-tag {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-body); font-weight: var(--fw-medium); font-size: .9rem;
  color: var(--ink-700); background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: .45em 1em; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.rd-tag:hover { border-color: var(--brand); color: var(--brand-ink); }

/* ---------- Card ---------- */
.rd-card {
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.rd-card--hover:hover { transform: var(--lift); box-shadow: var(--shadow-md); border-color: var(--border-mint); }
.rd-card--accent { border-top: 3px solid var(--danger); }
.rd-card--mint { background: linear-gradient(180deg, var(--bg-mint), #fff 65%); border-color: #d6f0eb; }
.rd-card__icon {
  display: inline-grid; place-items: center; width: 54px; height: 54px;
  border-radius: 14px; background: var(--bg-mint); color: var(--brand-strong); margin-bottom: 16px;
}
.rd-card h3 { margin: 0 0 .4rem; }
.rd-card p { color: var(--text-muted); margin: 0; }

/* ---------- Input / field ---------- */
.rd-field { display: grid; gap: 6px; }
.rd-field__label { font-size: .88rem; font-weight: var(--fw-semibold); color: var(--ink-700); }
.rd-input {
  font-family: var(--font-body); font-size: 1rem; color: var(--text-strong);
  padding: 12px 14px; border: var(--border-w-2) solid var(--border);
  border-radius: 12px; background: #fcfdfe; width: 100%;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.rd-input::placeholder { color: var(--ink-400); }
.rd-input:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.rd-input--invalid { border-color: var(--danger); }
.rd-input--invalid:focus { box-shadow: 0 0 0 3px rgba(229,84,107,.18); }
textarea.rd-input { resize: vertical; min-height: 96px; }

/* ---------- Metric ---------- */
.rd-metric__value {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 3rem; line-height: 1; color: var(--brand-strong);
  letter-spacing: -.03em;
}
.rd-metric__value span { font-size: 1.5rem; }
.rd-metric__label { display: block; margin-top: .5rem; color: var(--text-muted); font-size: .95rem; }
/* ===========================================================
   remedigital — website UI kit layout
   Elevated redesign. Uses tokens + core.css; this file adds
   page-level structure (header, hero, sections, footer).
   =========================================================== */

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: var(--blur-header);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a { color: var(--ink-700); font-weight: 500; font-size: .96rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--brand); transition: width var(--dur) var(--ease); }
.nav a:hover { color: var(--ink-900); }
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 38px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; gap: .25rem; padding: 8px 22px 18px; border-bottom: 1px solid var(--border); background: #fff; }
.mobile-nav a { padding: .7rem .2rem; color: var(--ink-700); font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-nav.open { display: flex; }

/* ---------- Sections ---------- */
.section { padding: clamp(44px, 5.5vw, 84px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(26px, 3.5vw, 42px); text-align: center; }
.section-head h2 { margin-top: .6rem; }
.section-lead { color: var(--text-muted); font-size: 1.1rem; margin-top: .8rem; }
.grid { display: grid; gap: var(--space-5); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); background: var(--grad-hero); }
.hero-glow { position: absolute; inset: -22% -10% auto auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; background: radial-gradient(circle, rgba(15,181,164,.22), transparent 62%); pointer-events: none; will-change: transform; animation: rd-drift1 16s var(--ease) infinite; }
.hero-glow.g2 { inset: auto auto -26% -10%; width: 46vw; height: 46vw; max-width: 560px; max-height: 560px; background: radial-gradient(circle, rgba(244,183,64,.20), transparent 64%); animation: rd-drift2 21s var(--ease) infinite; }
.hero-glow.g3 { inset: 24% 22% auto auto; width: 40vw; height: 40vw; max-width: 480px; max-height: 480px; background: radial-gradient(circle, rgba(38,208,189,.18), transparent 65%); animation: rd-drift1 26s var(--ease) infinite reverse; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); background: var(--bg-mint); border: 1px solid var(--border-mint); padding: .5em 1em; border-radius: 999px; }
.hero h1 { margin: 1.1rem 0; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-700); max-width: 540px; margin: 0 0 1.8rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-trust { margin-top: 1.6rem; color: var(--text-muted); font-size: .9rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.hero-trust strong { color: var(--ink-700); font-weight: 600; }

/* Hero dashboard mock */
.hero-mock { position: relative; }
.mock-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mock-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink-900); }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; }
.mock-row:last-child { margin-bottom: 0; }
.mock-platform { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: .8rem; }
.mock-meta { flex: 1; min-width: 0; }
.mock-meta b { display: block; font-size: .92rem; color: var(--ink-900); font-weight: 600; }
.mock-meta span { font-size: .8rem; color: var(--text-muted); }
.mock-float { position: absolute; right: -14px; bottom: -18px; background: var(--ink-900); color: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; }
.mock-float .v { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; color: var(--brand-bright); }
.mock-float .l { font-size: .78rem; color: var(--ink-300); max-width: 110px; line-height: 1.3; }

/* ---------- Stats band ---------- */
.stats { background: var(--ink-900); color: #fff; padding: clamp(40px,5vw,64px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: center; }
.stat .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem,3.4vw,3rem); letter-spacing: -.03em; color: var(--brand-bright); line-height: 1; }
.stat .l { color: var(--ink-300); font-size: .95rem; margin-top: .5rem; }

/* ---------- Platform marquee (auto-scroll) ---------- */
.platforms { border-block: 1px solid var(--border); background: var(--bg-soft); padding: 30px 0; }
.platforms-label { text-align: center; color: var(--text-muted); font-size: .9rem; margin-bottom: 1.3rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 16px; width: max-content; animation: rd-scroll 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.platform-logos { list-style: none; display: flex; align-items: center; gap: 16px; margin: 0; padding: 0; }
.platform-logos li { display: inline-flex; align-items: center; padding: 12px 22px; background: #fff; border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-sm); transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur); }
.platform-logos li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand); }

/* ---------- Niche tiles (bright spot illustrations) ---------- */
.niche-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.niche-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 26px 16px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur); }
.niche-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.niche-well { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 24px; animation: rd-float 5s var(--ease) infinite; animation-delay: var(--d, 0ms); }
.niche-tile:hover .niche-well { animation-play-state: paused; }
.niche-tile:hover .niche-well svg { transform: scale(1.12) rotate(-4deg); }
.niche-well svg { transition: transform var(--dur) var(--ease); }
.niche-label { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink-900); line-height: 1.25; max-width: 14ch; }
.niche-tile--teal  .niche-well { background: var(--bg-mint); }
.niche-tile--teal:hover  { border-color: var(--brand); }
.niche-tile--amber .niche-well { background: #fdf3dc; }
.niche-tile--amber:hover { border-color: var(--amber-500); }
.niche-tile--coral .niche-well { background: var(--coral-50); }
.niche-tile--coral:hover { border-color: var(--coral-500); }
.niche-tile--more { background: var(--bg-soft); border-style: dashed; border-color: var(--brand); }
.niche-tile--more:hover { border-style: solid; background: var(--bg-mint); }
.niche-tile--more .niche-well { background: #fff; }
.niche-tile--more .niche-label { color: var(--brand-ink); }

/* ---------- Generic section grids ---------- */
.pains-grid { grid-template-columns: repeat(4, 1fr); }
.pain-x { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--danger-soft); color: var(--danger); font-weight: 700; margin-bottom: 12px; }
.pain p { font-size: .96rem; }

.who-grid { grid-template-columns: repeat(2, 1fr); }
.ticks { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.7rem; color: var(--ink-700); font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-mint); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: .5em; width: 5px; height: 9px; border: 2px solid var(--brand-strong); border-top: 0; border-left: 0; transform: rotate(40deg); }

.services-grid { grid-template-columns: repeat(5, 1fr); }
.service { padding: 22px; }
.service h3 { font-size: 1.02rem; }
.service p { font-size: .9rem; }

/* Colorful icon wells (shared) */
.ico-well { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; margin-bottom: 14px; transition: transform var(--dur) var(--ease); }
.rd-card--hover:hover .ico-well { transform: translateY(-3px) rotate(-5deg) scale(1.06); }
.ico-well--teal  { background: var(--bg-mint); color: var(--brand-strong); }
.ico-well--amber { background: #fdf4e1; color: var(--amber-600); }
.ico-well--coral { background: var(--coral-50); color: var(--coral-500); }
.ico-well--ink   { background: #eef1f6; color: var(--ink-700); }
.ico-well--lg { width: 56px; height: 56px; border-radius: 16px; }

/* ---------- Why (dark) ---------- */
.why { background: var(--ink-900); color: var(--ink-200); }
.why h2 { color: #fff; }
.why-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.why-copy p { color: var(--ink-300); }
.why-pillars { display: grid; gap: 16px; }
.pillar { background: rgba(255,255,255,.04); border: 1px solid var(--border-dark); border-radius: var(--radius); padding: 22px 24px; }
.pillar h3 { color: #fff; margin-bottom: .35rem; }
.pillar h3::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); margin-right: 10px; vertical-align: middle; }
.pillar p { color: var(--ink-300); margin: 0; font-size: .96rem; }

/* ---------- Results ---------- */
.results-grid { grid-template-columns: repeat(4, 1fr); }
.result h3 { font-size: 1.05rem; margin: .6rem 0 .4rem; }
.result p { font-size: .94rem; }
.results-note { text-align: center; color: var(--text-muted); font-size: .85rem; margin-top: 28px; }

/* ---------- Quote ---------- */
.quote { background: var(--bg-mint); }
.quote-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem,2.6vw,2rem); line-height: 1.3; letter-spacing: -.01em; color: var(--ink-900); margin: 0; }
.quote .attr { margin-top: 1.4rem; color: var(--text-muted); font-size: .95rem; }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step-no { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff; background: var(--brand); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 14px; }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--text-muted); font-size: .94rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px; }
.faq-q { width: 100%; text-align: left; cursor: pointer; background: none; border: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; padding: 16px 36px 16px 0; position: relative; color: var(--ink-900); }
.faq-q::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--brand-strong); transition: transform var(--dur); }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { color: var(--text-muted); overflow: hidden; max-height: 0; transition: max-height .3s var(--ease); }
.faq-item.open .faq-a { max-height: 260px; }
.faq-a p { margin: 0 0 16px; }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(110% 80% at 10% 0%, var(--bg-mint), #fff 60%); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-copy > p { color: var(--ink-700); font-size: 1.08rem; }
.contact-points { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: .7rem; }
.contact-points li { padding-left: 1.9rem; position: relative; color: var(--ink-700); }
.contact-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--brand); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); display: grid; gap: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #97a3b4; padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { font-size: .95rem; max-width: 320px; margin-top: 14px; }
.footer-email a { color: var(--brand-bright); font-weight: 600; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; color: #97a3b4; padding: .35rem 0; font-size: .96rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; }
.footer-bottom p { margin: 0; font-size: .85rem; color: #6c7889; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Motion: keyframes + accents ---------- */
@keyframes rd-drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-44px,34px) scale(1.12); } }
@keyframes rd-drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(52px,-26px) scale(1.1); } }
@keyframes rd-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
@keyframes rd-shimmer { to { background-position: 200% center; } }
@keyframes rd-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes rd-pulse { 0%,100% { opacity: .45; transform: scale(.75); } 50% { opacity: 1; transform: scale(1); } }
@keyframes rd-shine { from { left: -60%; } to { left: 130%; } }
@keyframes rd-fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Animated gradient headline (hero only) */
.hero h1 .rd-grad-text { background-size: 220% auto; animation: rd-shimmer 7s linear infinite; }

/* Floating dashboard metric + live pulse dot */
.mock-float { animation: rd-float 5s var(--ease) infinite; }
.mock-head .rd-badge--success .rd-badge__dot { animation: rd-pulse 1.6s var(--ease) infinite; }

/* Button shine sweep on hover */
.rd-btn--primary { position: relative; overflow: hidden; }
.rd-btn--primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 38%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-18deg); pointer-events: none; }
.rd-btn--primary:hover::after { animation: rd-shine .85s var(--ease); }

/* Staggered reveal helper */
.reveal[data-i="1"] { transition-delay: .07s; }
.reveal[data-i="2"] { transition-delay: .14s; }
.reveal[data-i="3"] { transition-delay: .21s; }
.reveal[data-i="4"] { transition-delay: .28s; }
.reveal[data-i="5"] { transition-delay: .35s; }
.reveal[data-i="6"] { transition-delay: .42s; }

@media (prefers-reduced-motion: reduce) {
  .hero-glow, .mock-float, .marquee-track, .hero h1 .rd-grad-text, .mock-head .rd-badge--success .rd-badge__dot, .niche-well { animation: none !important; }
  .reveal { transition-delay: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-mock { max-width: 460px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .niche-grid { grid-template-columns: repeat(2, 1fr); }
  .pains-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav, .header-actions .desktop-cta { display: none; }
  .nav-toggle { display: flex; }
  .why-inner, .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .who-grid, .services-grid, .results-grid, .steps, .pains-grid, .footer-inner { grid-template-columns: 1fr; }
  .niche-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================================================
   Production additions (not in prototype): a11y skip link,
   cookie banner, legal pages. Built on the same DS tokens.
   =========================================================== */

/* ---- Skip link ---- */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--ink-900); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 720px; margin-inline: auto;
  background: var(--ink-900); color: var(--ink-200);
  border: 1px solid var(--border-dark); border-radius: 16px;
  padding: 16px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; animation: rd-fadeup .35s var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .92rem; flex: 1 1 320px; }
.cookie-banner a { color: var(--brand-bright); }
.cookie-actions { display: flex; gap: .5rem; }
.cookie-banner .rd-btn--ghost { color: var(--ink-200); border-color: rgba(255,255,255,.25); }
.cookie-banner .rd-btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---- Legal pages ---- */
.legal { padding: clamp(48px, 7vw, 90px) 0; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .4rem; }
.legal .updated { color: var(--text-muted); margin-bottom: 2rem; }
.legal h2 { font-size: 1.4rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { color: var(--text-body); }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--brand-strong); text-decoration: underline; }
.legal-back { display: inline-block; margin-bottom: 1.4rem; font-weight: 600; text-decoration: none; }

/* ---- Brand lockup link (header/footer) ---- */
.brand-link { display: inline-flex; align-items: center; }
.brand-lockup { display: inline-flex; align-items: center; gap: 9px; }
.brand-word { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1; }

/* ---- Platform wordmarks (marquee) ---- */
.platform-logos .pl { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1; display: inline-flex; align-items: center; gap: 8px; }
.pl-tiktok { position: relative; color: #010101; }
.pl-tiktok .a, .pl-tiktok .b { position: absolute; top: 0; }
.pl-tiktok .a { left: -1.6px; top: 1.2px; color: #25F4EE; }
.pl-tiktok .b { left: 1.6px; top: -1.2px; color: #FE2C55; }
.pl-tiktok .c { position: relative; }
