/* ==========================================================================
   InfinityRelay — styles.css
   One stylesheet: tokens → base → layout → components → mockups → pages → utilities
   Dark mode: follows the system (prefers-color-scheme) unless the visitor picks
   a theme with the toggle, which sets data-theme="light|dark" on <html>.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand */
  --brand: #5b3df5;
  --brand-strong: #4a2fe0;
  --brand-soft: #efecff;
  --brand-softer: #f6f4ff;
  --on-brand: #ffffff;
  --accent: #0f766e;          /* teal, used for text-level highlights */
  --accent-bright: #14b8a6;   /* teal, decorative only */
  --accent-soft: #e6f6f3;
  --warn: #b45309;
  --warn-soft: #fef3e2;
  --danger: #b91c1c;
  --danger-soft: #fdecec;
  --ok: #047857;
  --ok-soft: #e7f6ef;

  /* Surfaces & text */
  --bg: #ffffff;
  --bg-alt: #f7f7fb;
  --surface: #ffffff;
  --surface-2: #f3f3f8;
  --border: #e4e4ee;
  --border-strong: #cfcfdd;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;

  /* Typography */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --fs-h4: 1.125rem;
  --fs-h3: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.6vw, 2.625rem);
  --fs-h1: clamp(2.25rem, 1.6rem + 3vw, 3.875rem);

  /* Spacing, radius, shadow */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem;
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --gutter: 16px;
  --max: 1200px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px -8px rgba(30, 20, 90, 0.12);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, 0.04), 0 24px 56px -16px rgba(40, 24, 120, 0.22);
  --ring: 0 0 0 3px rgba(91, 61, 245, 0.35);
  --header-h: 68px;
  color-scheme: light;
}

/* Dark theme tokens (shared by system preference and manual toggle) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #a99bff;
    --brand-strong: #c3b9ff;
    --brand-soft: #231d45;
    --brand-softer: #17142c;
    --on-brand: #0b0b16;
    --accent: #2dd4bf;
    --accent-bright: #2dd4bf;
    --accent-soft: #0f2a28;
    --warn: #fbbf24; --warn-soft: #2b2110;
    --danger: #f87171; --danger-soft: #2c1414;
    --ok: #34d399; --ok-soft: #0f2a20;
    --bg: #0b0b16;
    --bg-alt: #10101d;
    --surface: #151524;
    --surface-2: #1c1c2e;
    --border: #2a2a40;
    --border-strong: #3a3a55;
    --text: #e7e9f0;
    --text-2: #b4bccb;
    --text-3: #94a3b8;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px -10px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.35), 0 28px 60px -18px rgba(0, 0, 0, 0.75);
    --ring: 0 0 0 3px rgba(169, 155, 255, 0.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #a99bff;
  --brand-strong: #c3b9ff;
  --brand-soft: #231d45;
  --brand-softer: #17142c;
  --on-brand: #0b0b16;
  --accent: #2dd4bf;
  --accent-bright: #2dd4bf;
  --accent-soft: #0f2a28;
  --warn: #fbbf24; --warn-soft: #2b2110;
  --danger: #f87171; --danger-soft: #2c1414;
  --ok: #34d399; --ok-soft: #0f2a20;
  --bg: #0b0b16;
  --bg-alt: #10101d;
  --surface: #151524;
  --surface-2: #1c1c2e;
  --border: #2a2a40;
  --border-strong: #3a3a55;
  --text: #e7e9f0;
  --text-2: #b4bccb;
  --text-3: #94a3b8;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.35), 0 28px 60px -18px rgba(0, 0, 0, 0.75);
  --ring: 0 0 0 3px rgba(169, 155, 255, 0.45);
  color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.03em; font-weight: 750; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; }
h4 { font-size: var(--fs-h4); letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-strong); }
ul, ol { padding-left: 1.25rem; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-7) 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-soft); color: var(--text); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: var(--on-brand);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-brand); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(780px + 2 * var(--gutter)); }
@media (min-width: 720px) { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }
.section { padding-block: var(--section); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--text-2); font-size: var(--fs-lg); margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: var(--space-3);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head--center .eyebrow::before { display: none; }
.lead { font-size: var(--fs-lg); color: var(--text-2); }
.grid { display: grid; gap: clamp(1rem, 0.75rem + 1vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 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%, 230px), 1fr)); }
.grid--mini { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
  .split--wide-visual { grid-template-columns: 0.9fr 1.1fr; }
}
.split > * { min-width: 0; }

/* ---------- 4. Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled, .site-header:has(.nav.is-open) { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: var(--space-4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand svg { width: 34px; height: 34px; }
.brand .brand-relay { color: var(--brand); }
.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list a {
  display: block; padding: 8px 12px; border-radius: var(--radius-sm);
  color: var(--text-2); text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
}
.nav-list a:hover { color: var(--text); background: var(--surface-2); }
.nav-list a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text-2); cursor: pointer; padding: 0;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
.theme-toggle[hidden], .menu-toggle[hidden] { display: none; }
.menu-toggle { display: none; }

@media (max-width: 959px) {
  .header-actions .header-cta { display: none; }
  .js .menu-toggle { display: inline-grid; }
  .js .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); padding: var(--space-3) var(--gutter) var(--space-5);
    display: none;
  }
  .js .nav.is-open { display: block; }
  .js .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .js .nav-list a { padding: 12px; font-size: var(--fs-base); }
  .nav-mobile-cta { display: block !important; margin-top: var(--space-3); }
  .nav-mobile-cta .btn { width: 100%; }
  .header-actions { margin-left: auto; }
  .js .nav { margin-left: 0; }
  /* Without JS the nav simply wraps under the logo */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .nav { order: 3; width: 100%; margin: 0; }
  html:not(.js) .nav-list { flex-wrap: wrap; }
}
.nav-mobile-cta { display: none; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: var(--on-brand); --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: var(--radius-sm);
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-border);
  font: 600 var(--fs-sm)/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-strong); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn--secondary { --btn-bg: var(--surface); --btn-fg: var(--text); --btn-border: var(--border-strong); }
.btn--secondary:hover { background: var(--surface-2); color: var(--text); border-color: var(--text-3); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--brand); padding-inline: 4px; min-height: auto; }
.btn--ghost:hover { background: transparent; color: var(--brand-strong); }
.btn--ghost svg { transition: transform 0.15s ease; }
.btn--ghost:hover svg { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: 0 14px; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: var(--fs-base); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(3.5rem, 2rem + 5vw, 6.5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 760px; z-index: -1;
  background:
    radial-gradient(50% 55% at 75% 30%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    radial-gradient(35% 40% at 15% 15%, color-mix(in srgb, var(--accent-bright) 10%, transparent), transparent 70%);
}
.hero-grid { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 4rem); align-items: center; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: 0.92fr 1.08fr; } }
.hero h1 { margin-bottom: var(--space-5); }
.hero h1 .hl { color: var(--brand); }
.hero .lead { max-width: 560px; margin-bottom: var(--space-6); }
.hero-note { margin-top: var(--space-5); font-size: var(--fs-sm); color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--accent); }
.page-hero { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2.5rem, 2rem + 3vw, 4rem); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: -40% -20% auto 30%; height: 520px; z-index: -1;
  background: radial-gradient(50% 50% at 60% 40%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%);
}
.page-hero .lead { max-width: 680px; }
.page-hero--split .split { align-items: center; }
.breadcrumb { font-size: var(--fs-xs); color: var(--text-3); margin-bottom: var(--space-4); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.breadcrumb a { color: var(--text-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- 7. Channel strip ---------- */
.channel-strip { border-block: 1px solid var(--border); background: var(--bg-alt); padding-block: var(--space-5); }
.channel-strip p { text-align: center; color: var(--text-3); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: var(--space-3); }
.channel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 10px; }
.channel-list li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border);
  font-size: var(--fs-sm); font-weight: 550; color: var(--text);
}
.channel-list svg { width: 16px; height: 16px; color: var(--brand); }

/* ---------- 8. Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.card h3 { font-size: 1.1875rem; margin-bottom: var(--space-2); }
.card p { color: var(--text-2); font-size: var(--fs-sm); margin-bottom: var(--space-4); }
.card > :last-child { margin-bottom: 0; }
.card .btn--ghost { margin-top: auto; align-self: flex-start; font-size: var(--fs-sm); }
.card--link { position: relative; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.card--link:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); box-shadow: var(--shadow); transform: translateY(-2px); }
.card--link a.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--muted { background: var(--bg-alt); box-shadow: none; }
.icon-badge {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand); margin-bottom: var(--space-4);
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge--teal { background: var(--accent-soft); color: var(--accent); }
.checklist { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--text-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
:root[data-theme="dark"] .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
}
.checklist li strong { color: var(--text); }
.checklist--sm li { font-size: var(--fs-sm); }

/* Feature detail rows */
.feature-list { display: grid; gap: clamp(1rem, 0.75rem + 1vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.feature-item { padding: var(--space-5); border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.feature-item h3 { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 650; letter-spacing: -0.01em; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.feature-item h3 svg { width: 20px; height: 20px; color: var(--brand); }
.feature-item p { color: var(--text-2); font-size: var(--fs-sm); margin: 0; }

/* ---------- 9. Problem → solution ---------- */
.ps-grid { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .ps-grid { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.ps-col { border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border: 1px solid var(--border); }
.ps-col--problem { background: var(--bg-alt); }
.ps-col--solution { background: var(--brand-softer); border-color: color-mix(in srgb, var(--brand) 30%, var(--border)); }
.ps-col h3 { font-size: 1.25rem; }
.ps-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ps-col li { display: flex; gap: 12px; color: var(--text-2); font-size: var(--fs-sm); }
.ps-col li svg { width: 20px; height: 20px; margin-top: 2px; }
.ps-col--problem li svg { color: var(--text-3); }
.ps-col--solution li svg { color: var(--brand); }
.ps-arrow { display: grid; place-items: center; color: var(--brand); }
.ps-arrow svg { width: 32px; height: 32px; }
@media (max-width: 899px) { .ps-arrow svg { transform: rotate(90deg); } }

/* ---------- 10. Flow diagram (ad → appointment) ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: flow; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(5, 1fr); gap: 0; } }
.flow-step { position: relative; counter-increment: flow; }
.flow-card {
  position: relative; z-index: 1; height: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4); text-align: left; box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) { .flow-card { margin-inline: 10px; } }
.flow-card .icon-badge { margin-bottom: var(--space-3); width: 40px; height: 40px; }
.flow-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 650; margin-bottom: 4px; letter-spacing: -0.01em; }
.flow-card p { font-size: var(--fs-xs); color: var(--text-2); margin: 0; line-height: 1.55; }
.flow-card::before {
  content: counter(flow, decimal-leading-zero); position: absolute; top: 16px; right: 16px;
  font: 600 var(--fs-xs)/1 var(--font-body); color: var(--text-3); letter-spacing: 0.04em;
}
/* connector line */
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; background: linear-gradient(90deg, var(--brand), var(--accent-bright));
}
@media (min-width: 900px) {
  .flow-step:not(:last-child)::after { top: 50%; right: -10px; width: 20px; height: 2px; transform: translateY(-50%); }
}
@media (max-width: 899px) {
  .flow-step:not(:last-child)::after { left: 34px; bottom: -14px; width: 2px; height: 14px; background: linear-gradient(180deg, var(--brand), var(--accent-bright)); }
}
.flow-step--final .flow-card { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); background: var(--accent-soft); }
.flow-step--final .icon-badge { background: var(--surface); color: var(--accent); }

/* Numbered steps (how it works) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-5); counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand); font: 700 1.0625rem/1 var(--font-display);
}
.step h3 { font-size: 1.25rem; margin: 8px 0 6px; }
.step p { color: var(--text-2); margin: 0; }

/* ---------- 11. Highlight bands, CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: clamp(16px, 1rem + 1vw, 28px);
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 4vw, 4.5rem);
  background: #2a1a8c;
  background: radial-gradient(80% 120% at 100% 0%, #6d4ffa 0%, transparent 60%), radial-gradient(60% 90% at 0% 100%, #0f766e 0%, transparent 65%), #241677;
  color: #ffffff;
  display: grid; gap: var(--space-5); align-items: center;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #ffffff; margin-bottom: var(--space-3); }
.cta-band p { color: #ddd8ff; margin: 0; max-width: 560px; font-size: var(--fs-lg); }
.cta-band .btn { --btn-bg: #ffffff; --btn-fg: #241677; }
.cta-band .btn:hover { background: #ece8ff; }
.cta-band .btn--secondary { --btn-bg: transparent; --btn-fg: #ffffff; --btn-border: rgba(255,255,255,0.45); }
.cta-band .btn--secondary:hover { background: rgba(255,255,255,0.1); border-color: #ffffff; color: #fff; }
.cta-band .relay-lines { position: absolute; right: -40px; bottom: -60px; width: 340px; opacity: 0.18; pointer-events: none; }

.callout {
  display: flex; gap: var(--space-4); align-items: flex-start;
  padding: var(--space-5); border-radius: var(--radius-lg); background: var(--brand-softer);
  border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--border));
}
.callout svg { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.callout p { margin: 0; color: var(--text-2); }
.callout strong { color: var(--text); }
.callout--teal { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); }
.callout--teal svg { color: var(--accent); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: var(--fs-xs); font-weight: 600; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border);
}
.pill--brand { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.pill--teal { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.pill--warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.pill--danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.pill--ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }

/* Brand tiles (multi-brand) */
.brand-stack { display: grid; gap: 14px; }
.brand-tile {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.brand-tile .avatar { width: 42px; height: 42px; border-radius: 12px; font-size: 0.9375rem; }
.brand-tile h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 650; margin: 0 0 6px; letter-spacing: -0.01em; }
.brand-tile .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.brand-tile .pill { font-weight: 500; }

/* Role table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--bg-alt); font-weight: 650; color: var(--text); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td { color: var(--text-2); }
tbody th { font-weight: 600; color: var(--text); }

/* ---------- 12. FAQ accordion ---------- */
.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.faq-item h3 { margin: 0; font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: 18px 20px; background: none; border: 0; color: var(--text); font: inherit; text-align: left; cursor: pointer; border-radius: var(--radius);
}
.faq-q svg { width: 20px; height: 20px; color: var(--text-3); transition: transform 0.2s ease; }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--text-2); font-size: var(--fs-sm); }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a[hidden] { display: none; }

/* ---------- 13. Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: var(--fs-sm); color: var(--text); }
.field .req { color: var(--danger); margin-left: 2px; }
.field .hint { font-size: var(--fs-xs); color: var(--text-3); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--bg); color: var(--text);
  font: inherit; font-size: 1rem; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: var(--fs-xs); color: var(--danger); font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.check-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.check {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; font-size: var(--fs-sm); color: var(--text); background: var(--bg); transition: border-color 0.15s ease, background-color 0.15s ease;
}
.check:hover { border-color: var(--border-strong); }
.check input { width: 18px; height: 18px; accent-color: var(--brand); margin: 0; }
.check:has(input:checked) { border-color: var(--brand); background: var(--brand-softer); }
.check:has(input:focus-visible) { box-shadow: var(--ring); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: var(--space-4); padding: 14px 16px; border-radius: var(--radius-sm); font-size: var(--fs-sm); display: flex; gap: 10px; align-items: flex-start; }
.form-status:empty { display: none; }
.form-status--success { background: var(--ok-soft); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); }
.form-status--error { background: var(--danger-soft); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); }
.form-status--info { background: var(--brand-softer); color: var(--text); border: 1px solid var(--border); }
.form-legal { font-size: var(--fs-xs); color: var(--text-3); margin: var(--space-4) 0 0; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-aside { display: grid; gap: var(--space-4); align-content: start; }
.contact-aside .card p { margin-bottom: 0; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-2); }
.contact-line svg { width: 18px; height: 18px; color: var(--brand); margin-top: 3px; }

/* ---------- 14. Legal / long-form prose ---------- */
.legal-layout { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); }
.legal-layout > * { min-width: 0; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 240px minmax(0, 1fr); align-items: start; } }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: var(--fs-sm); }
.toc h2 { font-family: var(--font-body); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: var(--space-3); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--border); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--text-2); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--brand); border-left-color: var(--brand); }
@media (max-width: 999px) { .toc { position: static; padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-alt); } }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); margin-top: var(--space-7); padding-top: var(--space-2); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1875rem; margin-top: var(--space-6); font-family: var(--font-body); font-weight: 650; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--text-2); }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--text); }
.prose .table-wrap { margin: var(--space-4) 0 var(--space-5); }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-sm); color: var(--text-3); margin-top: var(--space-4); }
.doc-meta span { display: inline-flex; gap: 6px; align-items: center; }
.doc-meta svg { width: 16px; height: 16px; }
.draft-note {
  margin-top: var(--space-5); padding: 12px 16px; border-radius: var(--radius-sm); font-size: var(--fs-sm);
  background: var(--warn-soft); color: var(--text); border: 1px dashed color-mix(in srgb, var(--warn) 55%, transparent);
}
.placeholder { background: var(--warn-soft); color: var(--warn); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.path { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; color: var(--text); border: 1px solid var(--border); white-space: nowrap; }
.email-template { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); font-size: var(--fs-sm); color: var(--text); }
.email-template dl { margin: 0; display: grid; gap: 8px; }
.email-template dt { font-weight: 600; color: var(--text-3); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; }
.email-template dd { margin: 0 0 6px; }

/* ---------- 15. Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) var(--space-6); font-size: var(--fs-sm); margin-top: 0; }
.footer-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand p { color: var(--text-2); max-width: 320px; margin-top: var(--space-4); }
.site-footer h2 { font-family: var(--font-body); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: var(--space-3); font-weight: 600; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--brand); text-decoration: underline; }
.footer-contact { font-style: normal; display: grid; gap: 8px; color: var(--text-2); }
.footer-contact a { color: var(--text-2); }
.footer-bottom { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: space-between; color: var(--text-3); font-size: var(--fs-xs); }
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-legal a { color: var(--text-3); text-decoration: none; }
.footer-legal a:hover { color: var(--brand); text-decoration: underline; }
.footer-disclaimer { margin-top: var(--space-4) !important; color: var(--text-3); font-size: var(--fs-xs); max-width: 760px; }

/* ==========================================================================
   16. Product mockups (pure HTML/CSS, fictional data)
   ========================================================================== */
.mock {
  --m-bg: var(--surface); --m-line: var(--border);
  background: var(--m-bg); border: 1px solid var(--m-line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; line-height: 1.45; color: var(--text);
  text-align: left; position: relative;
}
.mock * { font-family: var(--font-body); letter-spacing: normal; }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--m-line); background: var(--bg-alt); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); display: block; }
.mock-title { font-size: 12px; color: var(--text-3); font-weight: 500; flex: 1; text-align: center; padding-right: 46px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-wrap { position: relative; }
.mock-wrap .mock-float { position: absolute; z-index: 2; }
.mock-caption { font-size: var(--fs-xs); color: var(--text-3); text-align: center; margin-top: var(--space-3); }

/* Inbox */
.inbox { display: grid; grid-template-columns: 54px 1fr; min-height: 380px; }
@media (min-width: 640px) { .inbox { grid-template-columns: 54px 230px 1fr; } }
.inbox-rail { border-right: 1px solid var(--m-line); background: var(--bg-alt); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; }
.rail-btn { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--text-3); }
.rail-btn svg { width: 18px; height: 18px; }
.rail-btn.is-active { background: var(--brand-soft); color: var(--brand); }
.rail-brand { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 11px; margin-bottom: 6px; }
.inbox-list { border-right: 1px solid var(--m-line); display: none; flex-direction: column; min-width: 0; }
@media (min-width: 640px) { .inbox-list { display: flex; } }
.inbox-tabs { display: flex; gap: 2px; padding: 8px; border-bottom: 1px solid var(--m-line); overflow: hidden; }
.inbox-tab { font-size: 11px; font-weight: 600; padding: 5px 8px; border-radius: 7px; color: var(--text-3); white-space: nowrap; }
.inbox-tab.is-active { background: var(--brand-soft); color: var(--brand); }
.convo { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; padding: 11px 12px; border-bottom: 1px solid var(--m-line); align-items: start; }
.convo.is-active { background: var(--brand-softer); box-shadow: inset 3px 0 0 var(--brand); }
.convo-name { font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo-snippet { color: var(--text-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo-meta { font-size: 10.5px; color: var(--text-3); text-align: right; }
.convo > div { min-width: 0; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 11px; color: #fff; position: relative; }
.av-1 { background: #7c5cf8; } .av-2 { background: #0f766e; } .av-3 { background: #c2410c; } .av-4 { background: #2563eb; } .av-5 { background: #be185d; } .av-6 { background: #4d7c0f; }
.ch-dot { position: absolute; right: -3px; bottom: -3px; width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--m-line); color: var(--text-2); }
.ch-dot svg { width: 9px; height: 9px; }
.ch-label { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; color: var(--text-3); }
.ch-label svg { width: 11px; height: 11px; }
.inbox-thread { display: flex; flex-direction: column; min-width: 0; }
.thread-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--m-line); }
.thread-head .who { flex: 1; min-width: 0; }
.thread-head .who b { display: block; font-size: 13px; }
.thread-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; background: var(--bg); }
.bubble { max-width: 84%; padding: 8px 12px; border-radius: 14px; font-size: 12.5px; }
.bubble--in { background: var(--surface-2); border-top-left-radius: 4px; align-self: flex-start; }
.bubble--ai { background: var(--brand); color: var(--on-brand); border-top-right-radius: 4px; align-self: flex-end; }
.bubble--team { background: var(--accent-soft); color: var(--text); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-top-right-radius: 4px; align-self: flex-end; }
.bubble-tag { display: block; font-size: 10px; font-weight: 600; opacity: 0.85; margin-bottom: 2px; }
.sys-note { align-self: center; font-size: 10.5px; color: var(--text-3); background: var(--surface); border: 1px solid var(--m-line); border-radius: 999px; padding: 3px 10px; }
.thread-compose { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--m-line); }
.thread-compose .fake-input { flex: 1; height: 32px; border-radius: 8px; border: 1px solid var(--m-line); background: var(--bg); color: var(--text-3); font-size: 12px; display: flex; align-items: center; padding: 0 10px; }
.take-over { font-size: 11.5px; font-weight: 600; padding: 7px 10px; border-radius: 8px; background: var(--brand); color: var(--on-brand); white-space: nowrap; }
.ai-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.ai-chip svg { width: 11px; height: 11px; }

/* Call card */
.call-card { padding: 16px; display: grid; gap: 12px; }
.call-head { display: flex; align-items: center; gap: 10px; }
.call-head .who { flex: 1; min-width: 0; }
.call-head b { display: block; font-size: 13.5px; }
.call-head small { color: var(--text-3); font-size: 11.5px; }
.wave { display: flex; align-items: center; gap: 3px; height: 34px; padding: 0 10px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--m-line); }
.wave i { flex: 1; display: block; background: var(--brand); border-radius: 2px; opacity: 0.75; min-width: 2px; }
.wave .play { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; margin-right: 8px; flex: none; }
.wave .play svg { width: 10px; height: 10px; }
.wave .time { font-size: 11px; color: var(--text-3); margin-left: 8px; flex: none; }
.transcript { display: grid; gap: 6px; font-size: 12px; max-height: none; }
.transcript p { margin: 0; color: var(--text-2); }
.transcript b { color: var(--text); font-weight: 600; margin-right: 4px; }
.ai-summary { border-radius: 12px; padding: 12px; background: var(--brand-softer); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--m-line)); }
.ai-summary h4 { font-family: var(--font-body); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand); margin: 0 0 6px; display: flex; align-items: center; gap: 6px; }
.ai-summary h4 svg { width: 13px; height: 13px; }
.ai-summary p { margin: 0 0 8px; font-size: 12.5px; color: var(--text); }
.ai-summary .row { display: flex; flex-wrap: wrap; gap: 6px; }

/* Timeline */
.timeline { padding: 16px; }
.timeline-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.timeline-head b { display: block; font-size: 13.5px; }
.timeline-head small { color: var(--text-3); font-size: 11.5px; }
.tl { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 0; }
.tl li { position: relative; display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; padding-bottom: 14px; }
.tl li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 2px; width: 2px; background: var(--m-line); }
.tl .tl-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--m-line); }
.tl .tl-ic svg { width: 14px; height: 14px; }
.tl .tl-ic--brand { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.tl .tl-ic--teal { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.tl b { font-size: 12.5px; display: block; font-weight: 600; }
.tl span { font-size: 12px; color: var(--text-3); }
.tl time { font-size: 11px; color: var(--text-3); white-space: nowrap; padding-top: 2px; }

/* Campaign card */
.campaign { padding: 16px; display: grid; gap: 14px; }
.campaign-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.campaign-head b { font-size: 13.5px; display: block; }
.campaign-head small { color: var(--text-3); font-size: 11.5px; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kv div { background: var(--bg-alt); border: 1px solid var(--m-line); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.kv small { display: block; color: var(--text-3); font-size: 10.5px; }
.kv b { font-size: 13px; }
.meter-label { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-2); margin-bottom: 6px; }
.meter-label b { color: var(--text); }
.meter { height: 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--m-line); overflow: hidden; position: relative; }
.meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--accent-bright)); }
.meter-note { font-size: 11px; color: var(--text-3); margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.meter-note svg { width: 12px; height: 12px; color: var(--accent); }
.campaign-actions { display: flex; gap: 8px; }
.mini-btn { font-size: 11.5px; font-weight: 600; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--m-line); color: var(--text); background: var(--surface); display: inline-flex; align-items: center; gap: 6px; }
.mini-btn svg { width: 12px; height: 12px; }
.mini-btn--primary { background: var(--brand); color: var(--on-brand); border-color: transparent; }

/* Comments list mock */
.comments { padding: 6px 0; }
.comment { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--m-line); }
.comment:last-child { border-bottom: 0; }
.comment p { margin: 2px 0 8px; font-size: 12.5px; color: var(--text-2); }
.comment .top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; }
.comment .top b { font-weight: 600; }
.comment .top small { color: var(--text-3); font-size: 11px; }
.draft { border: 1px dashed color-mix(in srgb, var(--brand) 50%, var(--m-line)); border-radius: 10px; padding: 8px 10px; font-size: 12px; background: var(--brand-softer); }
.draft .row { display: flex; gap: 6px; margin-top: 8px; }

/* Chat widget mock */
.widget { width: 100%; max-width: 340px; border-radius: 18px; overflow: hidden; border: 1px solid var(--m-line); background: var(--surface); box-shadow: var(--shadow-lg); font-size: 12.5px; }
.widget-head { background: var(--brand); color: var(--on-brand); padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.widget-head b { display: block; font-size: 13.5px; }
.widget-head small { opacity: 0.85; font-size: 11px; }
.widget-head .avatar { background: rgba(255,255,255,0.2); color: inherit; }
.widget-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.widget-foot { padding: 10px 12px; border-top: 1px solid var(--m-line); display: flex; gap: 8px; }
.visitors { padding: 14px; display: grid; gap: 8px; }
.visitor { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--m-line); background: var(--bg); }
.visitor b { display: block; font-size: 12.5px; }
.visitor small { color: var(--text-3); font-size: 11px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }

/* Hero composite */
.hero-visual { position: relative; padding-bottom: 40px; }
.hero-visual { padding-bottom: 72px; }
.hero-visual .float-call { position: absolute; right: -12px; bottom: 0; width: min(290px, 62%); z-index: 2; }
@media (min-width: 640px) and (max-width: 1039px) { .hero-visual .float-call { right: 0; } }
@media (max-width: 639px) { .hero-visual .float-call { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 14px; } .hero-visual { padding-bottom: 0; } }
.float-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ---------- 17. Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: 0.08s; }
.js .reveal-delay-2 { transition-delay: 0.16s; }
.js .reveal-delay-3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- 18. Misc pages ---------- */
.not-found { text-align: center; padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.not-found .code { font: 800 clamp(4rem, 3rem + 6vw, 7rem)/1 var(--font-display); color: var(--brand); letter-spacing: -0.04em; margin-bottom: var(--space-4); }
.not-found .btn-row { justify-content: center; }
.value-grid .card h3 { font-size: 1.125rem; }
.stat-free { font-size: var(--fs-sm); color: var(--text-3); }

/* ---------- 19. Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); } .mt-7 { margin-top: var(--space-7); }
.muted { color: var(--text-2); }
.small { font-size: var(--fs-sm); }
.stack > * + * { margin-top: var(--space-4); }
.nowrap { white-space: nowrap; }

@media print {
  .site-header, .site-footer, .cta-band, .toc, .skip-link { display: none !important; }
  body { color: #000; background: #fff; }
  .prose p, .prose li { color: #000; }
}
.sticky-visual { align-self: start; }
@media (min-width: 960px) { .sticky-visual { position: sticky; top: 92px; } }
