/* ─── CarSearch AI: the one design system for car-search.ai, partners.car-search.ai and websites.car-search.ai ───
   Evolved from the Partners landing (landing.css): navy hero with blue and amber glows, tracked eyebrow, 800-weight
   headings, device frames, ink footer. Every colour is a token on :root; dark mode is the same tokens re-set.
   Components are prefixed cs- so the file can sit beside a page's own stylesheet without clashes. The buttons and the
   device frames keep the landing's names (.btn, .device) because the three pages share that markup.
   Identical copies: WebSite_v3/public/css/csai-site.css and CarSearchAIPartners/app/public/css/csai-site.css. */

:root {
  /* brand */
  --navy: #0e1a30; --ink: #0b1220; --ink-2: #131c2e; --ink-deep: #0b1220;
  --blue: #2f6fb0; --blue-2: #4f97e0; --amber: #e08a1e; --amber-2: #f4a83a; --ok: #2e9e6b; --warn: #d64545;
  /* surfaces and text */
  --paper: #ffffff; --mist: #f4f7fb; --mist-2: #e9eff7; --line: #e4eaf2; --line-2: #cfd8e6;
  --text: #1b2536; --muted: #5c6b82; --muted-2: #8493a8;
  --on-amber: #241703; --on-blue: #ffffff;
  /* dark surfaces (hero, CTA, footer) and what sits on them */
  --hero-fg: #eaf1fb; --hero-muted: #b7c6dd; --hero-dim: #93a6c2; --hero-line: rgba(255, 255, 255, .12);
  --hero-card: rgba(255, 255, 255, .06); --hero-card-hover: rgba(255, 255, 255, .12); --grid-line: rgba(255, 255, 255, .04);
  --blue-glow: rgba(79, 151, 224, .35); --blue-glow-soft: rgba(79, 151, 224, .28); --amber-glow: rgba(224, 138, 30, .18); --amber-glow-strong: rgba(224, 138, 30, .4);
  --blue-wash: rgba(47, 111, 176, .12); --amber-wash: rgba(224, 138, 30, .12); --focus-ring: rgba(79, 151, 224, .35);
  --nav-bg: rgba(255, 255, 255, .86); --nav-shadow: 0 1px 0 var(--line);
  --shadow: 0 10px 40px -12px rgba(14, 26, 48, .18); --shadow-lg: 0 30px 80px -24px rgba(14, 26, 48, .35);
  --radius: 16px; --radius-sm: 11px; --maxw: 1160px; --gutter: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --scroll-thumb: #cfd8e6; --scroll-track: transparent;
  color-scheme: light;
}
@media (min-width: 900px) { :root { --gutter: 24px; } }

/* Dark: the same tokens. On by the system setting unless the page pins light, or by data-theme="dark". */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1726; --mist: #141e31; --mist-2: #1a2539; --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .17);
    --text: #e6edf7; --muted: #a5b3c8; --muted-2: #7f8da3; --navy: #0a1326; --ink: #070d19; --ink-2: #0e1727;
    --blue-wash: rgba(79, 151, 224, .16); --amber-wash: rgba(244, 168, 58, .14);
    --nav-bg: rgba(15, 23, 38, .86); --shadow: 0 10px 40px -12px rgba(0, 0, 0, .5); --shadow-lg: 0 30px 80px -24px rgba(0, 0, 0, .7);
    --scroll-thumb: #2c3a52; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1726; --mist: #141e31; --mist-2: #1a2539; --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .17);
  --text: #e6edf7; --muted: #a5b3c8; --muted-2: #7f8da3; --navy: #0a1326; --ink: #070d19; --ink-2: #0e1727;
  --blue-wash: rgba(79, 151, 224, .16); --amber-wash: rgba(244, 168, 58, .14);
  --nav-bg: rgba(15, 23, 38, .86); --shadow: 0 10px 40px -12px rgba(0, 0, 0, .5); --shadow-lg: 0 30px 80px -24px rgba(0, 0, 0, .7);
  --scroll-thumb: #2c3a52; color-scheme: dark;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 82px; }   /* a link to a section or panel lands below the pinned menu bar (66px), not under it */
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--paper); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { max-width: 100%; height: auto; }
img, video { display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.14; letter-spacing: -.02em; margin: 0; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 800; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700; color: var(--blue); margin: 0 0 10px; }
.lead { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--muted); }
.grad { background: linear-gradient(120deg, var(--blue-2), var(--amber-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }
::selection { background: var(--blue-2); color: var(--on-blue); }
* { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) var(--scroll-track); }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
.only-dark { display: none; }
:root[data-theme="dark"] .only-dark { display: block; } :root[data-theme="dark"] .only-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .only-dark { display: block; } :root:not([data-theme="light"]) .only-light { display: none; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Buttons (the landing's names) ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: var(--radius-sm); border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; min-height: 44px; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-amber { background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: var(--on-amber); box-shadow: 0 8px 24px -8px var(--amber-glow-strong); }
.btn-amber:hover { box-shadow: 0 14px 34px -8px var(--amber-glow-strong); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--on-blue); box-shadow: 0 8px 24px -8px var(--blue-glow); }
.btn-primary:hover { box-shadow: 0 14px 34px -8px var(--blue-glow); }
.btn-ghost { background: var(--hero-card); color: var(--hero-fg); border-color: var(--hero-line); }
.btn-ghost:hover { background: var(--hero-card-hover); }
.btn-outline { background: var(--paper); color: var(--text); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn .arr { font-weight: 800; }

/* ── Product nav (under the CarSearch AI strip): brand tile, in-page links, call to action, burger ── */
.cs-nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: var(--nav-shadow); }
.cs-nav-inner { display: flex; align-items: center; gap: 18px; height: 66px; }
.cs-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.cs-brand-mark { width: 38px; height: 38px; border-radius: 10px; overflow: hidden; flex: none; background: var(--ink); }
.cs-brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.cs-brand-txt .by { font-size: 10.5px; font-weight: 600; color: var(--muted-2); letter-spacing: .01em; }
.cs-brand-txt .by b { color: var(--blue); font-weight: 700; }
.cs-nav-links { display: flex; align-items: center; gap: 20px; margin-left: auto; min-width: 0; }
.cs-nav-links a { color: var(--muted); font-weight: 600; font-size: 14.5px; text-decoration: none; padding: 8px 0; white-space: nowrap; }
.cs-nav-links a:hover { color: var(--text); }
.cs-nav-cta { display: flex; align-items: center; gap: 10px; }
.cs-nav-cta .btn { padding: 10px 16px; font-size: 14px; min-height: 40px; }
.cs-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--paper); color: var(--text); cursor: pointer; align-items: center; justify-content: center; margin-left: auto; }
.cs-burger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cs-theme { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--paper); color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cs-theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cs-theme .moon { display: none; }
:root[data-theme="dark"] .cs-theme .sun { display: none; } :root[data-theme="dark"] .cs-theme .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cs-theme .sun { display: none; } :root:not([data-theme="light"]) .cs-theme .moon { display: block; } }
@media (max-width: 1080px) {
  .cs-nav-links { display: none; }
  .cs-nav-cta { display: none; }
  .cs-burger { display: inline-flex; }
  .cs-nav.open .cs-nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; left: 0; right: 0; top: 66px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px var(--gutter) 14px; }
  .cs-nav.open .cs-nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .cs-nav.open .cs-nav-links a:last-child { border-bottom: 0; }
  .cs-nav.open .cs-nav-links .cs-nav-mobile-cta { margin-top: 10px; }
}
.cs-nav-links .cs-nav-mobile-cta { display: none; }
@media (max-width: 1080px) { .cs-nav.open .cs-nav-links .cs-nav-mobile-cta { display: inline-flex; } }
/* The one menu's drop-downs (Chat assistant, Dealer websites, Partners) and its text Sign in. Desktop: open on hover,
   keyboard focus or the chevron; in the phone menu the sub-links are listed under their item. */
.cs-dd { position: relative; display: inline-flex; align-items: center; }
.cs-dd-btn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 30px; margin-left: 1px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--muted); cursor: pointer; }
.cs-dd-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.cs-dd-btn:focus-visible { outline: 2px solid var(--focus-ring); }
.cs-dd:hover .cs-dd-btn, .cs-dd.open .cs-dd-btn { color: var(--text); }
.cs-dd:hover .cs-dd-btn svg, .cs-dd.open .cs-dd-btn svg { transform: rotate(180deg); }
.cs-dd-menu { display: none; position: absolute; top: 100%; left: -14px; z-index: 60; min-width: 230px; margin-top: 8px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.cs-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.cs-dd:hover .cs-dd-menu, .cs-dd:focus-within .cs-dd-menu, .cs-dd.open .cs-dd-menu { display: block; }
.cs-dd.closed .cs-dd-menu { display: none; }
.cs-nav-links .cs-dd-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: 14.5px; }
.cs-nav-links .cs-dd-menu a:hover, .cs-nav-links .cs-dd-menu a:focus-visible { background: var(--mist); color: var(--blue); }
.cs-nav-links .cs-dd.is-current > .cs-dd-top { color: var(--blue); }
.cs-signin { color: var(--text); font-weight: 600; font-size: 14.5px; text-decoration: none; padding: 8px 6px; white-space: nowrap; }
.cs-signin:hover { color: var(--blue); }
@media (max-width: 1180px) {
  .cs-nav-links { display: none; }
  .cs-nav-cta { display: none; }
  .cs-burger { display: inline-flex; }
  .cs-nav.open .cs-nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; left: 0; right: 0; top: 66px; max-height: calc(100vh - 66px); overflow-y: auto; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px var(--gutter) 14px; }
  .cs-nav.open .cs-nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .cs-nav.open .cs-nav-links .cs-nav-mobile-cta { display: inline-flex; margin-top: 10px; border-bottom: 1px solid var(--line-2); }
  .cs-nav.open .cs-dd { display: block; }
  .cs-nav.open .cs-dd-top { display: block; }
  .cs-nav.open .cs-dd-btn { display: none; }
  .cs-nav.open .cs-dd-menu, .cs-nav.open .cs-dd.closed .cs-dd-menu { display: block; position: static; min-width: 0; margin: 0; padding: 2px 0 8px 14px; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .cs-nav.open .cs-dd-menu::before { display: none; }
  .cs-nav.open .cs-nav-links .cs-dd-menu a { padding: 9px 4px; border-bottom: 0; font-size: 15px; color: var(--muted); }
  .cs-nav.open .cs-nav-links .cs-dd-top { border-bottom: 0; }
}

/* ── Hero ── */
.cs-hero { position: relative; overflow: hidden; color: var(--hero-fg);
  background: radial-gradient(1100px 500px at 78% -8%, var(--blue-glow-soft), transparent 60%), radial-gradient(760px 420px at 8% 12%, var(--amber-glow), transparent 60%), linear-gradient(160deg, var(--navy), var(--ink-deep) 65%); }
.cs-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(700px 500px at 70% 0%, #000, transparent 75%); -webkit-mask-image: radial-gradient(700px 500px at 70% 0%, #000, transparent 75%); }
.cs-hero .cs-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; padding-top: 52px; padding-bottom: 48px; }
@media (min-width: 900px) { .cs-hero .cs-hero-inner { grid-template-columns: 1.05fr .95fr; gap: 48px; padding-top: 76px; padding-bottom: 84px; } }
.cs-hero .eyebrow { color: var(--amber-2); }
.cs-hero h1 { color: var(--hero-fg); font-size: clamp(2rem, 4.3vw, 3.1rem); }
.cs-hero .lead { color: var(--hero-muted); max-width: 46ch; margin: 18px 0 0; }
.cs-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.cs-hero-badges { display: flex; gap: 18px 22px; flex-wrap: wrap; margin-top: 30px; color: var(--hero-dim); font-size: 13.5px; }
.cs-hero-badges span { display: inline-flex; align-items: center; gap: 7px; }
.cs-hero-badges i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 12px var(--blue-glow); }
.cs-hero-media { position: relative; min-width: 0; }
.cs-hero-media .device { box-shadow: var(--shadow-lg); border-color: var(--hero-line); }
.cs-hero-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--hero-dim); letter-spacing: .04em; text-transform: uppercase; }
.cs-hero-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-2); box-shadow: 0 0 10px var(--amber-glow-strong); }

/* ── Trust strip ── */
.cs-trust { border-bottom: 1px solid var(--line); background: var(--mist); }
.cs-trust .cs-trust-inner { display: flex; align-items: center; justify-content: center; gap: 18px 40px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; color: var(--muted-2); font-weight: 700; letter-spacing: .02em; font-size: 14px; text-align: center; }
.cs-trust-inner .k { color: var(--text); font-weight: 800; }

/* ── Sections ── */
.cs-section { padding: 64px 0; }
@media (min-width: 900px) { .cs-section { padding: 88px 0; } }
.cs-section.alt { background: var(--mist); }
.cs-head { max-width: 760px; margin: 0 0 36px; }
.cs-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.cs-head .lead { margin-top: 14px; }
.cs-head .lead b { color: var(--text); }

/* ── Cards ── */
.cs-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .cs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cs-grid.three { grid-template-columns: repeat(3, 1fr); } .cs-grid.four { grid-template-columns: repeat(4, 1fr); } }
.cs-card { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--text); text-decoration: none; box-shadow: var(--shadow); transition: transform .16s ease, border-color .2s ease; }
.cs-card:hover { transform: translateY(-3px); border-color: var(--blue-2); }
.cs-card h3 { font-size: 1.12rem; }
.cs-card p { color: var(--muted); font-size: 15px; }
.cs-card .who { font-size: 13.5px; color: var(--muted-2); }
.cs-card .who b { color: var(--text); font-weight: 700; }
.cs-card .more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--blue); font-size: 14.5px; }
.cs-card .more::after { content: " \2192"; }
.cs-card.amber .cs-ico { color: var(--amber); background: var(--amber-wash); }
.cs-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-wash); color: var(--blue); border: 1px solid var(--line); flex: none; }
.cs-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cs-ico.sm { width: 36px; height: 36px; border-radius: 10px; } .cs-ico.sm svg { width: 19px; height: 19px; }
.cs-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--blue-wash); color: var(--blue); font-weight: 700; font-size: 13px; }
.cs-pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cs-pill.amber { background: var(--amber-wash); color: var(--amber); }

/* ── Split rows: words one side, a device frame the other ── */
.cs-split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cs-split { grid-template-columns: 1fr 1fr; gap: 56px; } .cs-split.rev .cs-split-media { order: -1; } }
.cs-split + .cs-split { margin-top: 56px; }
@media (min-width: 900px) { .cs-split + .cs-split { margin-top: 84px; } }
.cs-split h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 12px; }
.cs-split .lead { font-size: 1.05rem; margin-top: 12px; }
.cs-split-media { min-width: 0; }
.cs-ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; }
.cs-ticks li { position: relative; padding-left: 30px; color: var(--text); }
.cs-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-wash); }
.cs-ticks li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); }
.cs-split .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ── The case study callout (home #visibility, /websites/#visibility): the study's key figures and its results bar,
   linking to /case-study/ (owner 2026-10-15: "the home page and the ai visibility page to call out the case study we
   did"). The figures are the study's own: 279 dealerships, 65% never found, 15 refused, 14% / 21% / 65%. ── */
.cs-study { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; margin: 0 0 56px; padding: 24px 20px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
@media (min-width: 900px) { .cs-study { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; padding: 32px 36px; margin-bottom: 84px; } }
.cs-study h3 { font-size: clamp(1.3rem, 2.3vw, 1.6rem); margin: 0; }
.cs-study-copy { min-width: 0; }
.cs-study-copy p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); font-size: 1.02rem; }
.cs-study-copy p b { color: var(--text); }
.cs-study-copy .btn { margin-top: 20px; }
.cs-study-fig { margin: 0; min-width: 0; }
.cs-study-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cs-study-nums div { padding: 12px 12px; border-radius: var(--radius-sm); background: var(--mist); min-width: 0; }
.cs-study-nums b { display: block; font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--text); white-space: nowrap; }
.cs-study-nums span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.cs-study-nums .red { background: color-mix(in srgb, var(--warn) 12%, var(--paper)); box-shadow: inset 0 0 0 1px var(--warn); }   /* the failures, in red (owner 2026-10-15) */
.cs-study-nums .red b { color: var(--warn); }
.cs-study-nums .red span { color: var(--text); }
.cs-study-of { margin: 18px 0 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.cs-study-bar { display: flex; height: 34px; border-radius: 9px; overflow: hidden; }
.cs-study-bar span { display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden; white-space: nowrap; font-weight: 800; font-size: 13px; }
.cs-study-bar .found, .cs-study-fig .k.found { background: var(--ok); color: var(--on-blue); }
.cs-study-bar .told, .cs-study-fig .k.told { background: var(--amber); color: var(--on-amber); }
.cs-study-bar .never, .cs-study-fig .k.never { background: var(--warn); color: var(--on-blue); }
.cs-study-bar .found { flex: 14; } .cs-study-bar .told { flex: 21; } .cs-study-bar .never { flex: 65; }
.cs-study-fig figcaption { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13px; color: var(--muted-2); }
.cs-study-fig .k { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }

/* ── Device frames (browser and phone) ── */
.device { position: relative; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.device-bar { display: flex; gap: 6px; align-items: center; padding: 9px 12px; background: var(--mist); border-bottom: 1px solid var(--line); }
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); display: block; }
.device-url { flex: 1; margin-left: 8px; font-size: 11.5px; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.device img, .device svg, .device video { width: 100%; height: auto; display: block; }
.device-note { position: absolute; right: 10px; bottom: 10px; font-size: 11.5px; font-weight: 700; color: var(--hero-fg); background: var(--ink); border-radius: 999px; padding: 5px 10px; opacity: .9; }
.phone { background: var(--navy); border: 1px solid var(--line-2); border-radius: 26px; padding: 10px 8px; box-shadow: var(--shadow); max-width: 300px; margin: 0 auto; }
.phone-screen { border-radius: 18px; overflow: hidden; background: var(--navy); }
.phone::before { content: ""; display: block; width: 60px; height: 5px; border-radius: 3px; background: var(--ink-2); margin: 0 auto 6px; }

/* ── Video slots: a poster illustration in a device frame; the slot lights up when media.json lists its slug ── */
.art { margin: 0; min-width: 0; }
.art img.ill, .art svg.ill { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.art figcaption { font-size: 12.5px; color: var(--muted-2); text-align: center; margin-top: 8px; }
.art .vid { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-deep); aspect-ratio: 16 / 9; }
.cs-vslot .device .vid { border: 0; border-radius: 0; }
.cs-vslot .device figcaption { padding: 8px 12px; }

/* ── Steps ── */
.cs-steps { display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .cs-steps { grid-template-columns: repeat(3, 1fr); } }
.cs-step { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); counter-increment: step; }
.cs-step::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; font-weight: 800; font-size: 17px; color: var(--on-blue); background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 8px 24px -8px var(--blue-glow); margin-bottom: 14px; }
.cs-step.amber::before { background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: var(--on-amber); }
.cs-step h3 { font-size: 1.05rem; }
.cs-step p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* ── Chooser: which product is for me ── */
.cs-choose { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 900px) { .cs-choose { grid-template-columns: repeat(3, 1fr); } }
.cs-choice { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.cs-choice .q { font-weight: 800; font-size: 1.05rem; color: var(--text); }
.cs-choice .a { color: var(--muted); font-size: 14.5px; }
.cs-choice .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cs-choice .links a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); text-decoration: none; font-weight: 700; font-size: 13.5px; background: var(--paper); }
.cs-choice .links a:hover { border-color: var(--blue); color: var(--blue); }

/* ── Dark call-to-action card ── */
.cs-cta { padding: 0 0 64px; }
.cs-cta-card { position: relative; overflow: hidden; border-radius: var(--radius); padding: 40px 24px; color: var(--hero-fg); text-align: center; background: radial-gradient(700px 300px at 50% 0%, var(--blue-glow), transparent 60%), linear-gradient(160deg, var(--navy), var(--ink-deep)); }
@media (min-width: 900px) { .cs-cta-card { padding: 56px 40px; } }
.cs-cta-card .eyebrow { color: var(--amber-2); }
.cs-cta-card h2 { color: var(--hero-fg); }
.cs-cta-card p { color: var(--hero-muted); max-width: 60ch; margin: 12px auto 0; }
.cs-cta-card .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ── Forms ── */
.cs-form { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .cs-form { grid-template-columns: 1fr 1fr; } }
.cs-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cs-field.full { grid-column: 1 / -1; }
.cs-field label { font-size: 13px; font-weight: 700; color: var(--text); }
.cs-field input, .cs-field select, .cs-field textarea { font: inherit; font-size: 16px; color: var(--text); background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 13px; width: 100%; min-height: 46px; accent-color: var(--blue); }
.cs-field input:focus, .cs-field select:focus, .cs-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--focus-ring); }
.cs-field textarea { resize: vertical; min-height: 96px; }
.cs-form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cs-form-foot .fine { font-size: 12.5px; color: var(--muted-2); }
.cs-form-msg { grid-column: 1 / -1; font-size: 14px; min-height: 1em; }
.cs-form-msg.ok { color: var(--ok); font-weight: 700; } .cs-form-msg.err { color: var(--warn); font-weight: 700; }
.cs-contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .cs-contact-card { padding: 32px; } }
.cs-contact-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.cs-contact-points li { display: flex; gap: 12px; align-items: flex-start; }
.cs-contact-points strong { display: block; color: var(--text); }
.cs-contact-points span { color: var(--muted); font-size: 14.5px; }

/* ── Footer: the one footer ── */
.cs-footer { background: var(--ink); color: var(--hero-dim); padding: 52px 0 32px; }
.cs-footer-top { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .cs-footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cs-footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; } }
.cs-footer .cs-brand { color: var(--hero-fg); }
.cs-footer .cs-brand-txt .by { color: var(--hero-dim); } .cs-footer .cs-brand-txt .by b { color: var(--blue-2); }
.cs-footer p { margin-top: 14px; max-width: 36ch; font-size: 14.5px; }
.cs-footer h4 { color: var(--hero-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.cs-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.cs-footer a { color: var(--hero-dim); font-size: 14.5px; text-decoration: none; }
.cs-footer a:hover { color: var(--hero-fg); }
.cs-footer .btn-primary { color: var(--on-blue); } .cs-footer .btn-primary:hover { color: var(--on-blue); }
.cs-footer-bar { border-top: 1px solid var(--hero-line); margin-top: 36px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; font-size: 13px; color: var(--hero-dim); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .cs-card { transition: none; } }
