/* Cobalt Ridge Connect — public demonstration site.
   Carbon & Linen shared identity (see Shared/design-system/CARBON_LINEN.md).
   Same fictional context, restrained monochrome surface. No external assets,
   fonts or trackers; Space Grotesk / Inter are requested and fall back to Arial. */

/* ------------------------------------------------------------------ */
/* 1. Tokens — the shared block, consumed (not copied with new values) */
/* ------------------------------------------------------------------ */
:root {
  --c-paper: #E6E7E8;
  --c-panel: #F5F6F7;
  --c-ink: #292929;
  --c-soft: #B5B7BA;
  --c-silver: #D1D4D6;
  --c-rule: #C7C9CC;
  --c-on-silver: #292929;
  --c-on-carbon: #E6E7E8;
  --c-line: #555E66;
  --c-signal: #3D484F;

  /* semantic roles */
  --bg: var(--c-paper);
  --surface: var(--c-panel);
  --surface-2: #FFFFFF;                 /* fields on panel */
  --text: var(--c-ink);
  --text-muted: #4A4F54;
  --text-faint: #62666B;
  --border: var(--c-rule);
  --focus: var(--c-signal);
  --accent: var(--c-ink);
  --accent-contrast: var(--c-on-carbon);
  --accent-soft: var(--c-silver);
  --accent-strong: #1E1E1E;             /* primary hover */

  /* semantic extension (functional, paired with text/icon) */
  --good: #2E6B4F;  --good-soft: #E3EDE8;  --good-border: #9DB8A9;
  --warn: #8A5A00;  --warn-soft: #F2E9DA;  --warn-border: #C9B48C;
  --bad:  #A1261F;  --bad-soft:  #F3E3E2;  --bad-border:  #D3A5A1;
  --info: #33536B;  --info-soft: #E4EBF0;  --info-border: #A8BDC9;

  --radius: 2px;
  --font-display: "Space Grotesk", "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -48px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.inverse :focus-visible,
.demo-bar :focus-visible,
.platform-strip :focus-visible,
.network-card :focus-visible,
.chat-panel :focus-visible {
  outline-color: var(--c-on-carbon);
}

/* ------------------------------------------------------------------ */
/* 2. Demo notice (inverse carbon)                                     */
/* ------------------------------------------------------------------ */
.demo-bar {
  background: var(--accent);
  color: var(--c-on-carbon);
  font-size: 12.5px;
  padding: 8px 24px;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}
.demo-bar strong { color: var(--c-on-carbon); font-weight: 500; }
.demo-bar span { color: var(--c-soft); }
.demo-bar b { color: var(--c-on-carbon); }

/* ------------------------------------------------------------------ */
/* 3. Header (neutral surface, deliberate rule)                        */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex: none;
}
.brand-mark { width: 30px; height: 30px; color: var(--text); }
.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.brand-name span { color: var(--text-faint); font-weight: 400; }

.primary-nav {
  display: flex;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}
.primary-nav a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.primary-nav a:hover { color: var(--text); background: var(--c-paper); }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.ghost-link {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.ghost-link:hover { color: var(--text); border-color: var(--text); }

/* The AI-agent entry is a primary action, not a "brand accent". */
.agent-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-contrast);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 9px 16px;
  min-height: 40px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.agent-button:hover { background: var(--accent-strong); }
.agent-button.stacked { width: 100%; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  width: 40px; height: 40px;
  cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; margin: auto; }

.mobile-nav { border-top: 1px solid var(--border); background: var(--surface); }
.mobile-nav a {
  display: block;
  padding: 12px 24px;
  text-decoration: none;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--text); }
.mobile-nav .agent-button { margin: 16px 24px; }

/* ------------------------------------------------------------------ */
/* 4. Hero (light paper + restrained network geometry)                 */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.hero .eyebrow { color: var(--text-muted); }
.eyebrow.light { color: var(--c-soft); }

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--good);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 57px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 0 0 20px;
  font-weight: 400;
}
h1 em { font-style: normal; color: var(--text-faint); }

.hero-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons: carbon primary, neutral secondary, 2px corners */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 20px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.button.primary:hover { background: var(--accent-strong); }
.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.button.secondary:hover { background: var(--c-paper); border-color: var(--text-muted); }
.section .button.secondary,
.support-card .button.secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.section .button.secondary:hover { background: var(--c-paper); border-color: var(--text-muted); }
.button.full { width: 100%; }

.hero-stats {
  display: flex;
  gap: 34px;
  margin: 38px 0 0;
  flex-wrap: wrap;
}
.hero-stats dt {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-stats dd {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--text-faint);
  max-width: 150px;
}

/* hero art — inverse carbon network summary */
.hero-art { position: relative; min-height: 340px; }

.network-card {
  position: relative;
  z-index: 1;
  background: var(--accent);
  color: var(--c-on-carbon);
  border-radius: var(--radius);
  padding: 20px;
}
.network-head, .network-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--c-soft);
}
.network-title { font-weight: 500; color: var(--c-on-carbon); }
.pill {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--c-signal);
  color: var(--c-soft);
  border-radius: var(--radius);
  padding: 3px 9px;
}
.network-map {
  position: relative;
  height: 230px;
  margin: 18px 0;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(0deg, rgba(230, 231, 232, 0.05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(230, 231, 232, 0.05) 0 1px, transparent 1px 34px);
  overflow: hidden;
}
.network-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.net-wires { color: var(--c-on-carbon); }
.net-wires path { fill: none; stroke: currentColor; stroke-width: 1; }
.net-wires path.wire-a { opacity: 0.32; }
.net-wires path.wire-b { opacity: 0.55; }

.node {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c-on-carbon);
  box-shadow: 0 0 0 4px rgba(230, 231, 232, 0.12);
}
.node.n1 { left: 34px; top: 164px; }
.node.n2 { left: 104px; top: 120px; background: var(--c-signal); }
.node.n3 { left: 160px; top: 92px; }
.node.n4 { left: 222px; top: 52px; background: var(--c-signal); }
.node.n5 { left: 268px; top: 70px; }
.node.n6 { left: 214px; top: 174px; background: var(--c-signal); }

.network-foot b { color: var(--c-on-carbon); font-weight: 500; font-variant-numeric: tabular-nums; }
.signal { display: inline-flex; gap: 3px; align-items: flex-end; }
.signal i { width: 4px; background: var(--c-on-carbon); border-radius: 1px; display: block; }
.signal i:nth-child(1) { height: 5px; opacity: .4; }
.signal i:nth-child(2) { height: 9px; opacity: .55; }
.signal i:nth-child(3) { height: 13px; opacity: .75; }
.signal i:nth-child(4) { height: 17px; }

/* ------------------------------------------------------------------ */
/* 5. Trust strip, sections, cards                                     */
/* ------------------------------------------------------------------ */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 24px 0;
}
.trust-grid div { display: flex; flex-direction: column; gap: 4px; }
.trust-grid strong { font-size: 14px; font-weight: 500; }
.trust-grid span { font-size: 13px; color: var(--text-faint); }

.section { padding: 64px 0; }
.section-tint { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 640px; margin: 0 0 32px; }
.section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 10px;
}
.section-head p, .lede { color: var(--text-muted); font-size: 15px; margin: 0; }
.lede { max-width: 520px; }

/* plans */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--c-on-carbon);
}
.plan-kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 10px;
}
.plan.featured .plan-kicker { color: var(--c-soft); }
.plan h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 12px; }
.price { font-size: 13px; color: var(--text-muted); margin: 0 0 12px; }
.price span { font-family: var(--font-display); font-size: 34px; font-weight: 500; letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.plan.featured .price { color: var(--c-soft); }
.plan.featured .price span { color: var(--c-on-carbon); }
.price s { color: var(--text-faint); margin-left: 6px; }
.plan.featured .price s { color: var(--c-soft); }
.plan-note { font-size: 13px; color: var(--text-faint); margin: 0 0 16px; }
.plan.featured .plan-note { color: var(--c-soft); }
.plan ul { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.plan.featured ul { margin-bottom: 20px; }
.plan li { position: relative; padding: 6px 0 6px 22px; font-size: 14px; border-bottom: 1px solid var(--border); }
.plan.featured li { border-color: rgba(230, 231, 232, 0.16); }
.plan li::before {
  content: "";
  position: absolute;
  left: 2px; top: 13px;
  width: 8px; height: 8px;
  border: 1px solid var(--text-faint);
  border-radius: 1px;
}
.plan.featured li::before { border-color: var(--c-soft); }
.plan .button { margin-top: auto; }

/* two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.check-list { list-style: none; margin: 20px 0 0; padding: 0; }
.check-list li { position: relative; padding: 8px 0 8px 26px; font-size: 14.5px; color: var(--text-muted); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(-45deg);
}

/* mobile cards */
.mobile-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.mini-card.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--c-on-carbon);
}
.mini-card p { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin: 0 0 8px; }
.mini-card.accent p { color: var(--c-soft); }
.mini-card strong { font-family: var(--font-display); font-size: 26px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mini-card strong span { font-size: 13px; font-weight: 400; color: var(--text-faint); }
.mini-card.accent strong span { color: var(--c-soft); }
.mini-card small { display: block; font-size: 12.5px; color: var(--text-faint); margin-top: 8px; }
.mini-card.accent small { color: var(--c-soft); }

/* bundle + receipt */
.bundle { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.bundle-copy h2 { margin-bottom: 14px; }
.highlight { color: var(--text); border-bottom: 2px solid var(--accent-soft); }
.bundle-receipt {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
}
.receipt-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; font-size: 14px; border-bottom: 1px solid var(--border);
}
.receipt-row b { font-weight: 500; font-variant-numeric: tabular-nums; }
.receipt-row.muted { color: var(--text-faint); }
.receipt-row.muted s { color: var(--text-faint); }
.receipt-total {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0 0; font-size: 15px; font-weight: 500;
}
.receipt-total b { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.receipt-note { font-size: 12px; color: var(--text-faint); margin: 14px 0 0; }

/* support */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.support-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 500; margin: 16px 0 8px; }
.support-card p { color: var(--text-muted); font-size: 14px; margin: 0 0 16px; }
.support-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.support-icon svg { width: 16px; height: 16px; }
.agent-card { border-top: 2px solid var(--accent); }

.text-button {
  background: none; border: none; padding: 0;
  color: var(--text); font-size: 13.5px; font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.text-button:hover { color: var(--text-muted); }

.coverage-form { display: flex; gap: 8px; margin: 0 0 8px; }
.coverage-form input {
  flex: 1; min-width: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 10px 12px;
  font-size: 14px;
}
.coverage-form input:focus { outline: none; border-color: var(--text-muted); }
.coverage-result { font-size: 13px; color: var(--text-muted); min-height: 18px; margin: 0; }

/* platform strip (inverse carbon) */
.platform-strip { background: var(--accent); color: var(--c-on-carbon); padding: 56px 0; }
.platform-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.platform-strip h2 { color: var(--c-on-carbon); }
.platform-strip p { color: var(--c-soft); }
.platform-badges { display: flex; flex-direction: column; gap: 12px; }
.platform-badges span {
  display: flex; gap: 12px; align-items: baseline;
  padding: 12px 16px;
  border: 1px solid rgba(230, 231, 232, 0.18);
  border-radius: var(--radius);
  color: var(--c-soft);
  font-size: 13.5px;
}
.platform-badges b { color: var(--c-on-carbon); font-weight: 500; }

/* ------------------------------------------------------------------ */
/* 6. Footer                                                           */
/* ------------------------------------------------------------------ */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 48px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { color: var(--text); }
.footer-note { font-size: 13px; color: var(--text-faint); margin: 14px 0 0; max-width: 320px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { text-decoration: none; font-size: 14px; color: var(--text-muted); }
.site-footer a:hover { color: var(--text); }
.footer-platform { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-faint); }
.footer-platform b { color: var(--text); font-weight: 500; }

/* ------------------------------------------------------------------ */
/* 7. Care chat (human channel, separate from agent channel)           */
/* ------------------------------------------------------------------ */
.chat-launcher {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-contrast);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 0 18px; min-height: 44px;
  font-size: 14px; font-weight: 500; cursor: pointer;
}
.chat-launcher:hover { background: var(--accent-strong); }
.chat-pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--c-on-carbon); }
.chat-pulse::after {
  content: ""; position: absolute; inset: -4px;
  border: 1px solid var(--c-on-carbon); border-radius: 50%;
  opacity: 0; animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

.chat-panel {
  position: fixed;
  right: 24px; bottom: 84px;
  z-index: 71;
  width: min(380px, calc(100vw - 32px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(41, 41, 41, 0.35);
  display: flex; flex-direction: column;
}
.chat-panel[hidden] { display: none; }
.chat-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px; border-bottom: 1px solid var(--border);
}
.chat-head strong { font-size: 14px; font-weight: 500; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-faint); }
.chat-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.icon-button {
  background: none; border: 1px solid var(--border); border-radius: var(--radius);
  width: 32px; height: 32px; color: var(--text); cursor: pointer;
}
.icon-button svg { width: 16px; height: 16px; margin: auto; }
.chat-log { padding: 16px; display: flex; flex-direction: column; gap: 10px; max-height: 300px; overflow-y: auto; }
.msg { font-size: 14px; line-height: 1.5; padding: 10px 12px; border-radius: var(--radius); max-width: 88%; }
.msg.assistant { align-self: flex-start; background: var(--bg); border: 1px solid var(--border); color: var(--text); }
.msg.customer { align-self: flex-end; background: var(--accent); color: var(--accent-contrast); }
.chat-game-link {
  align-self: flex-start;
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent-contrast, #fff);
  background: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.chat-game-link:hover { filter: brightness(1.05); }
.chat-game-link:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.chat-quick button {
  background: var(--bg); color: var(--text-muted);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 7px 11px; font-size: 12.5px; cursor: pointer;
}
.chat-quick button:hover { color: var(--text); border-color: var(--text-muted); }
.chat-form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); }
.chat-form input {
  flex: 1; min-width: 0;
  background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); padding: 10px 12px; font-size: 14px;
}
.chat-form input:focus { outline: none; border-color: var(--text-muted); }
.chat-form .button { min-height: 40px; }
.chat-agent { margin: 0 16px; }
.chat-footnote { font-size: 11.5px; color: var(--text-faint); padding: 10px 16px 16px; margin: 0; }

/* ------------------------------------------------------------------ */
/* 8. Responsive                                                       */
/* ------------------------------------------------------------------ */
@media (max-width: 980px) {
  .primary-nav, .ghost-link { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid, .split, .bundle, .platform-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 48px 0 56px; }
  .hero-art { min-height: 0; }
  .plan-grid, .support-grid, .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-agent { margin-left: auto; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 32px, 1180px); }
  .demo-bar { padding: 8px 16px; }
  .header-inner { gap: 12px; }
  .brand-name { font-size: 17px; }
  .brand-mark { width: 26px; height: 26px; }
  .header-agent { padding: 8px 12px; font-size: 12px; }
  h1 { font-size: 34px; letter-spacing: -0.04em; }
  .section { padding: 48px 0; }
  .hero-stats { gap: 20px; }
  .hero-stats dd { max-width: 120px; }
  .mobile-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .chat-panel { right: 16px; left: 16px; width: auto; bottom: 84px; }
  .chat-launcher { right: 16px; bottom: 16px; }
}

/* ------------------------------------------------------------------ */
/* 9. Reduced motion / print                                           */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chat-pulse::after { animation: none; }
}

@media print {
  .chat-launcher, .chat-panel, .demo-bar { display: none; }
  body { background: #fff; color: #000; }
}
