/* ============================================================
   COLOR SYSTEM — graphite + ivory dual-surface, teal/violet AI accents
   Every shared component reads --ink/--ink-soft/--paper/--surface/
   --surface-tint/--line. :root defines the light ("ivory") values;
   wrapping any <section> in .on-dark redefines the same names to
   their graphite equivalents — one ruleset, two themes, no per-
   component duplication. --brand stays the name for the single
   primary accent (teal) so every existing component that already
   reads var(--brand) re-themes automatically.
   ============================================================ */
:root {
  --ink: #171B1E;
  --ink-soft: #625F55;
  --paper: #EDE9DF;
  --surface: #FAF8F3;
  --surface-tint: #E3EFEE;
  --line: #DCD7C8;
  --brand: #17B4B6;
  --brand-hover: #0E7A7C;
  --brand-bright: #2FE0E2;
  --brand-ink: #08282A;
  --violet: #7568E8;
  --violet-soft: rgba(117,104,232,0.16);
  --success: #2FA766;
  --warn: #C97A2E;
  --btn-fill: #171B1E;
  --btn-text: #F8F5EE;
  --radius: 10px;
  --max: 1120px;
}
.on-dark {
  --ink: #F1EEE6;
  --ink-soft: #A19C8E;
  --paper: #12171B;
  --surface: #1A2126;
  --surface-tint: #17262A;
  --line: #2A333B;
  --btn-fill: #F1EEE6;
  --btn-text: #171B1E;
  color: var(--ink);
}
* { box-sizing: border-box; min-width: 0; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  overflow-wrap: break-word;
}
img, svg, table { max-width: 100%; }
a { color: var(--brand); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.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; }

/* ---------- ambient system texture (very faint, reused across quiet sections) ---------- */
.system-texture { position: relative; }
.system-texture::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 9%, transparent) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
}
.system-texture > .wrap { position: relative; z-index: 1; }

/* ---------- mini flow strip (contact page) ---------- */
.mini-flow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.mini-flow-step { display: flex; align-items: center; gap: 7px; font-size: 0.76rem; font-weight: 600; color: var(--ink-soft); }
.mini-flow-step .mf-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 6px 1px color-mix(in srgb, var(--brand) 55%, transparent); flex-shrink: 0; }
.mini-flow-step.processing .mf-dot { background: var(--violet); box-shadow: 0 0 6px 1px color-mix(in srgb, var(--violet) 55%, transparent); }
@media (prefers-reduced-motion: no-preference) { .mini-flow-step .mf-dot { animation: mf-pulse 2s ease-in-out infinite; } }
@keyframes mf-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.mini-flow-arrow { color: var(--line); font-size: 0.8rem; }
.mini-flow-live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--success); }
.mini-flow-live .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

/* ---------- live system activity log (homepage) ---------- */
.activity-log { margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 480px; box-shadow: 0 16px 40px -20px rgba(0,0,0,0.35); }
.activity-log-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--line); flex-wrap: wrap; row-gap: 8px; }
.activity-log-bar .status-badge { margin-left: auto; flex-shrink: 0; }
.activity-log-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); flex-shrink: 0; }
.al-title { margin-left: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; color: var(--ink-soft); font-family: "SF Mono", Consolas, monospace; }
.activity-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); border-left: 3px solid transparent; font-size: 0.84rem; transition: border-color 0.35s ease, background 0.35s ease; }
.activity-row:first-child { border-top: none; }
.al-time { font-family: "SF Mono", Consolas, monospace; font-size: 0.76rem; color: var(--ink-soft); flex-shrink: 0; }
.al-event { color: var(--ink-soft); }
.activity-row.is-active { border-left-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, transparent); }
.activity-row.is-active .al-event { color: var(--ink); font-weight: 650; }
.activity-row.is-active .al-time { color: var(--brand); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .activity-row { transition: none; } }

/* ---------- services page: FOR badge ---------- */
.service-for { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--brand) 9%, transparent); font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.service-for-label { background: var(--brand); color: var(--brand-ink); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 9px; border-radius: 999px; flex-shrink: 0; }
.card-for { font-size: 0.78rem; color: var(--brand); font-weight: 600; margin: -8px 0 14px; }

/* ---------- section background rhythm ---------- */
.section-a { background: var(--paper); }
.section-b { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-c { background: var(--surface-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-d {
  background-color: var(--paper);
  background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px);
  background-size: 24px 24px;
  text-align: center; padding: 56px 0;
}
.section-d.on-dark { background-image: radial-gradient(circle, rgba(241,238,230,0.05) 1px, transparent 1px); background-size: 24px 24px; }
.section-d h2 { margin-bottom: 10px; }
.section-d .lede { margin: 0 auto 24px; }
.section-d .hero-cta { justify-content: center; margin-top: 0; }
.section-d.on-dark .btn-primary { background: var(--brand); color: var(--brand-ink); }
.section-d.on-dark .btn-primary:hover { background: var(--brand-bright); }

/* ---------- header (always graphite — the site opens dark) ---------- */
header.site {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, #12171B 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #2A333B;
  overflow: hidden;
}
header.site::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 90px at 10% 0%, rgba(23,180,182,0.22), transparent 72%),
    radial-gradient(420px 80px at 90% 100%, rgba(117,104,232,0.16), transparent 72%);
}
header.site::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(47,224,226,0.7) 45%, rgba(117,104,232,0.45) 65%, transparent);
}
header.site .wrap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
header.site .btn-primary { box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 55%, transparent), 0 0 14px -4px rgba(23,180,182,0.5); }
header.site .btn-primary:hover { box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 80%, transparent), 0 0 18px -3px rgba(23,180,182,0.65); }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-logo-img { display: block; height: 26px; width: auto; }

nav.site { display: flex; align-items: center; gap: 24px; }
nav.site a:not(.btn) { text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; font-weight: 500; padding-bottom: 2px; border-bottom: 2px solid transparent; }
nav.site a:not(.btn):hover { color: var(--ink); }
nav.site a.active:not(.btn) { color: var(--ink); border-bottom-color: var(--brand); }
nav.site .btn { padding: 10px 18px; font-size: 0.9rem; }

@media (max-width: 820px) {
  #desktop-nav { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 13px 22px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.btn-primary { background: var(--btn-fill); color: var(--btn-text); }
.btn-primary:hover { box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 55%, transparent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px;
}

/* ---------- type ---------- */
section { padding: 68px 0; }
section.tight { padding: 44px 0; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; color: var(--ink); }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 650; letter-spacing: -0.01em; margin: 0 0 12px; color: var(--ink); }
h3 { font-weight: 650; color: var(--ink); }
.demo-log-name, .mock-inquiry-name { color: var(--ink); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.75rem; font-weight: 700; color: var(--brand); margin-bottom: 12px; }
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- hero ---------- */
.hero { padding-top: 48px; padding-bottom: 52px; position: relative; overflow: hidden; }
.hero.on-dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(680px 440px at 82% 10%, rgba(23,180,182,0.17), transparent 65%),
    radial-gradient(520px 340px at 10% 92%, rgba(117,104,232,0.13), transparent 65%),
    radial-gradient(circle, rgba(241,238,230,0.06) 1.4px, transparent 1.4px);
  background-size: auto, auto, 24px 24px;
}

/* ---------- hero background signal network (layer 2 — visible, ambient) ---------- */
.hero-network { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.8; }
.hn-line { fill: none; stroke: rgba(23,180,182,0.34); stroke-width: 1.6; }
.hn-line.violet { stroke: rgba(117,104,232,0.26); }
.hn-node { fill: rgba(47,224,226,0.55); }
.hn-node.ai { fill: rgba(117,104,232,0.7); }
.hn-pulse { fill: var(--brand-bright); filter: drop-shadow(0 0 5px rgba(47,224,226,0.9)); offset-rotate: 0deg; }
.hn-pulse.violet { fill: var(--violet); filter: drop-shadow(0 0 5px rgba(117,104,232,0.9)); }
@media (prefers-reduced-motion: no-preference) { .hn-pulse { animation: hn-travel 6.5s linear infinite; } }
@keyframes hn-travel { 0% { offset-distance: 0%; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@media (max-width: 900px) { .hero-network.desktop-only { display: none; } }
@media (min-width: 901px) { .hero-network.mobile-only { display: none; } }

.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- hero engine panel (signature automation visualization) ---------- */
.engine-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(23,180,182,0.06); transition: box-shadow 0.6s ease; }
.engine-panel.glow-teal { box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(23,180,182,0.18), 0 0 46px -8px rgba(23,180,182,0.28); }
.engine-panel.glow-violet { box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(117,104,232,0.22), 0 0 46px -8px rgba(117,104,232,0.32); }
.engine-panel.glow-done { box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(47,167,102,0.2), 0 0 40px -10px rgba(47,167,102,0.24); }
.engine-panel.glow-escalate { box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,122,46,0.22), 0 0 40px -10px rgba(201,122,46,0.26); }
@media (prefers-reduced-motion: reduce) { .engine-panel { transition: none; } }
.engine-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: color-mix(in srgb, var(--paper) 60%, var(--surface)); border-bottom: 1px solid var(--line); }
.engine-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); flex-shrink: 0; }
.engine-bar .engine-title { margin-left: 6px; font-size: 0.74rem; color: var(--ink-soft); font-family: "SF Mono", Consolas, monospace; }
.engine-status { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); }
.engine-status .es-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); transition: background 0.4s ease, box-shadow 0.4s ease; }
.engine-status.is-analyzing { color: var(--violet); }
.engine-status.is-analyzing .es-dot { background: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.engine-status.is-live { color: var(--brand); }
.engine-status.is-live .es-dot { background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.engine-status.is-done { color: var(--success); }
.engine-status.is-done .es-dot { background: var(--success); }
.engine-status.is-escalate { color: var(--warn); }
.engine-status.is-escalate .es-dot { background: var(--warn); }

.engine-body { display: grid; grid-template-columns: 124px 1fr; gap: 0; }
@media (max-width: 560px) {
  .engine-body { grid-template-columns: 1fr; }
  .engine-pipeline {
    padding: 20px 18px 22px; border-bottom: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 0;
  }
  .engine-pipeline::before { display: block; left: 15px; top: 20px; bottom: 20px; }
  .engine-pipeline .engine-node { padding: 8px 0; min-height: 0; white-space: normal; gap: 12px; }
  .engine-pipeline .engine-node .en-dot { width: 13px; height: 13px; }
  .engine-pipeline .engine-node .en-label { font-size: 0.82rem; }
  .engine-readout { border-left: none; border-top: none; padding: 18px; }
}
.engine-pipeline { position: relative; padding: 20px 0 20px 30px; }
.engine-pipeline::before { content: ''; position: absolute; left: 34px; top: 30px; bottom: 30px; width: 1px; background: color-mix(in srgb, var(--brand) 25%, var(--line)); }
.engine-node { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 0; min-height: 34px; white-space: nowrap; }
.engine-node .en-dot { position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); flex-shrink: 0; transition: all 0.35s ease; }
.engine-node .en-label { font-size: 0.72rem; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.01em; transition: color 0.35s ease; }
.engine-node.is-done .en-dot { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.engine-node.is-done .en-label { color: var(--ink); }
.engine-node.is-active .en-dot { background: var(--violet); border-color: var(--violet); box-shadow: 0 0 0 7px var(--violet-soft); }
.engine-node.is-active .en-label { color: var(--ink); }
.engine-node.is-captured .en-dot { background: var(--success); border-color: var(--success); box-shadow: 0 0 0 5px color-mix(in srgb, var(--success) 22%, transparent); }
.engine-node.is-captured .en-label { color: var(--ink); }
.engine-node.is-escalated .en-dot { background: var(--warn); border-color: var(--warn); box-shadow: 0 0 0 5px color-mix(in srgb, var(--warn) 22%, transparent); }
.engine-node.is-escalated .en-label { color: var(--ink); }

.engine-readout { border-left: 1px solid var(--line); padding: 18px 18px 18px 20px; }
.engine-readout-label { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); margin-bottom: 10px; transition: opacity 0.25s ease; }
.engine-readout-text { font-size: 0.86rem; color: var(--ink); line-height: 1.5; min-height: 4.5em; transition: opacity 0.25s ease; }
.engine-readout-text b { font-weight: 650; }
.engine-readout.is-fading .engine-readout-label,
.engine-readout.is-fading .engine-readout-text { opacity: 0; }
.engine-analysis { display: none; flex-direction: column; gap: 6px; margin-top: 10px; font-size: 0.78rem; }
.engine-analysis.is-shown { display: flex; }
.engine-analysis-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.engine-analysis-row:first-child { border-top: none; }
.engine-analysis-row span:last-child { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .engine-node, .engine-status, .es-dot, .engine-readout-text, .engine-readout-label { transition: none !important; }
}

/* ---------- product mock (used in product-experience section) ---------- */
.product-mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.mock-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); flex-shrink: 0; }
.mock-bar .mock-title { margin-left: 6px; font-size: 0.74rem; color: var(--ink-soft); font-family: "SF Mono", Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-bar .mock-live { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--success); flex-shrink: 0; }
.mock-bar .mock-live .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.mock-body { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1px; background: var(--line); }
@media (max-width: 560px) { .mock-body { grid-template-columns: 1fr; } }
.mock-panel { background: var(--surface); padding: 16px; }
.mock-panel-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); margin-bottom: 12px; }
.mock-inquiry-name { font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.mock-inquiry-reply { font-size: 0.79rem; color: var(--ink-soft); line-height: 1.5; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; }
.mock-table { width: 100%; border-collapse: collapse; font-size: 0.79rem; }
.mock-table td { padding: 8px 0; border-top: 1px solid var(--line); }
.mock-table tr:first-child td { border-top: none; }
.mock-table td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.conf-high { color: var(--success); }
.conf-med { color: var(--warn); }
.conf-low { color: var(--ink-soft); }

/* ---------- sample-output panel (Outbound visual) ---------- */
.sample-output { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sample-output .file-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.sample-output .file-bar::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--success); flex-shrink: 0; }
.table-scroll { overflow-x: auto; }
.sample-output table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 0.84rem; }
.sample-output th { text-align: left; padding: 10px 14px; background: var(--paper); color: var(--ink-soft); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.03em; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sample-output td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: top; }
.sample-output tr:last-child td { border-bottom: none; }
.sample-caption { margin-top: 10px; font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }

/* ---------- lead-response flow visual (services page) ---------- */
.response-flow { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.response-flow .flow-steps { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); gap: 12px; align-items: center; padding: 22px 20px; }
.response-flow .flow-steps.n5 { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); gap: 6px; }
@media (max-width: 640px) { .response-flow .flow-steps, .response-flow .flow-steps.n5 { grid-template-columns: 1fr; gap: 16px; } .response-flow .flow-arrow { transform: rotate(90deg); margin: 0 auto; } }
.response-flow .flow-node { text-align: center; }
.response-flow .flow-icon { position: relative; width: 46px; height: 46px; border-radius: 9px; background: var(--brand); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.response-flow .flow-icon svg { width: 22px; height: 22px; }
.response-flow .flow-icon.ai-active { background: var(--violet); box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 20%, transparent); }
.response-flow .flow-icon.ai-active::after {
  content: ''; position: absolute; inset: -6px; border-radius: 13px; border: 1.5px solid var(--violet); opacity: 0.7; pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) { .response-flow .flow-icon.ai-active::after { animation: ai-pulse-ring 2.2s ease-in-out infinite; } }
@keyframes ai-pulse-ring { 0% { transform: scale(1); opacity: 0.7; } 75%, 100% { transform: scale(1.32); opacity: 0; } }
.response-flow .flow-node-label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.response-flow .flow-node-sub { font-size: 0.76rem; color: var(--ink-soft); margin-top: 2px; }
.flow-arrow { color: var(--ink-soft); flex-shrink: 0; }
.response-flow .email-sample { border-top: 1px solid var(--line); padding: 18px 20px; }
.response-flow .email-sample .email-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 10px; }
.response-flow .email-body { font-size: 0.88rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; line-height: 1.55; }

/* ---------- decision diagram (answer or escalate) ---------- */
.decision { margin-top: 40px; }
.decision-top { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 4px; }
.decision-node { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.decision-node .dn-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }
.decision-node.analyzing .dn-dot { background: var(--violet); box-shadow: 0 0 0 5px var(--violet-soft); }
.decision-connector { color: var(--ink-soft); }
.decision-fork { width: 100%; max-width: 480px; height: 34px; margin: 0 auto; display: block; }
.decision-fork path, .decision-fork line { stroke: color-mix(in srgb, var(--brand) 45%, var(--line)); stroke-width: 2.2; fill: none; }
.decision-branches { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px; max-width: 760px; margin: 0 auto; }
@media (max-width: 640px) { .decision-branches { grid-template-columns: 1fr; } }
.decision-branch { border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line); background: var(--surface); }
.decision-branch.confident { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.decision-branch.uncertain { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); }
.branch-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.decision-branch.confident .branch-label { color: var(--brand); }
.decision-branch.uncertain .branch-label { color: var(--warn); }
.branch-track { position: relative; padding-left: 22px; }
.branch-track::before { content: ''; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.branch-step { position: relative; padding-bottom: 16px; font-size: 0.88rem; color: var(--ink); }
.branch-step:last-child { padding-bottom: 0; font-weight: 650; }
.branch-step::before { content: ''; position: absolute; left: -22px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink-soft); }
.decision-branch.confident .branch-step::before { border-color: var(--brand); }
.decision-branch.uncertain .branch-step::before { border-color: var(--warn); }
.decision-branch.confident .branch-step:last-child::before { background: var(--brand); }
.decision-branch.uncertain .branch-step:last-child::before { background: var(--warn); }
.decision-note { text-align: center; margin-top: 20px; font-size: 0.86rem; color: var(--ink-soft); font-style: italic; }

/* ---------- process / steps (before-after purchase) ---------- */
.process-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.process-item .process-num { font-size: 0.72rem; font-weight: 700; color: var(--brand); letter-spacing: 0.06em; margin-bottom: 8px; }
.process-item h3 { margin: 0 0 6px; font-size: 0.98rem; }
.process-item p { margin: 0; color: var(--ink-soft); font-size: 0.87rem; }

.steps { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 20px; } }
.step-item .step-num { font-size: 0.74rem; font-weight: 700; color: var(--brand); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.step-item h3 { margin: 0 0 6px; font-size: 1.02rem; }
.step-item p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

.diagram-frame { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 18px; }
.diagram-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 14px; }
.diagram-frame svg { width: 100%; height: auto; display: block; }
.diagram-scroll { overflow-x: auto; }
@media (max-width: 640px) {
  .diagram-scroll { margin: 0 -18px; padding: 0 18px 6px; }
  .diagram-frame svg { width: 620px; max-width: none; }
}

.industries { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.chip { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); border-radius: 999px; padding: 7px 14px; font-size: 0.85rem; font-weight: 600; }

/* ---------- services page ---------- */
.services-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; } }
.split-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
@media (max-width: 760px) { .split-grid { grid-template-columns: 1fr; } }
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.service-card.primary { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.service-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.service-price { font-size: 1.45rem; font-weight: 700; margin: 6px 0 14px; }
.service-price span { font-size: 0.83rem; font-weight: 500; color: var(--ink-soft); }
.service-card ul { list-style: none; padding: 0; margin: 0 0 20px; flex-grow: 1; }
.service-card li { padding: 7px 0; font-size: 0.9rem; border-top: 1px solid var(--line); color: var(--ink-soft); }
.service-card li:first-child { border-top: none; }
.service-limits { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; align-items: stretch; }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-grid.compact { max-width: 700px; margin-left: 0; grid-template-columns: 1fr; }
@media (min-width: 561px) { .pricing-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.plan.featured { position: relative; overflow: hidden; border-color: var(--brand); border-width: 2px; box-shadow: 0 0 0 1px var(--brand), 0 0 44px -12px rgba(23,180,182,0.55); }
.plan.featured::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--brand) 24%, transparent) 1.4px, transparent 1.4px);
  background-size: 16px 16px; opacity: 0.8;
}
.plan.featured > * { position: relative; z-index: 1; }
.plan .btn, .service-card .btn { max-width: 100%; white-space: normal; text-align: center; }
.plan .badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: var(--brand-ink); font-size: 0.68rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.plan .badge .badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-ink); flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) { .plan .badge .badge-dot { animation: badge-pulse 1.8s ease-in-out infinite; } }
@keyframes badge-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.plan h3 { margin: 0 0 6px; font-size: 1.05rem; }
.plan .price { font-size: 1.75rem; font-weight: 700; margin: 8px 0 4px; letter-spacing: -0.01em; }
.plan .price small { font-size: 0.86rem; font-weight: 500; color: var(--ink-soft); }
.plan .desc { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; flex-grow: 1; }
.plan li { padding: 6px 0; font-size: 0.88rem; border-top: 1px solid var(--line); color: var(--ink-soft); }
.plan li:first-child { border-top: none; }
.promise { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-top: 36px; }
.promise .num { font-size: 2rem; font-weight: 700; color: var(--brand); line-height: 1; flex-shrink: 0; }

/* ---------- accordion ---------- */
.accordion { margin-top: 32px; border-top: 1px solid var(--line); max-width: 760px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; padding: 18px 4px; font-weight: 600; font-size: 0.97rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 1.25rem; color: var(--ink-soft); flex-shrink: 0; transition: transform 0.15s ease; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details[open] summary { color: var(--brand); }
.accordion .accordion-body { padding: 0 4px 18px; color: var(--ink-soft); font-size: 0.93rem; max-width: 640px; }

/* ---------- founder ---------- */
.founder-card { display: flex; align-items: center; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 24px; flex-wrap: wrap; }
.founder-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--btn-fill); color: var(--btn-text); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.founder-text h3 { margin: 0 0 4px; font-size: 1rem; }
.founder-text p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; max-width: 520px; }

/* ---------- contact form ---------- */
form.contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; max-width: 560px; margin-top: 24px; }
form.contact .row { margin-bottom: 14px; }
form.contact label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 6px; }
form.contact input, form.contact select, form.contact textarea {
  width: 100%; padding: 11px 13px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font-size: 0.95rem; font-family: inherit;
}
form.contact textarea { min-height: 90px; resize: vertical; }
#form-status { margin-top: 14px; font-size: 0.92rem; }
#form-status.ok { color: var(--success); }
#form-status.err { color: #C24A32; }

/* ---------- footer (always graphite) ---------- */
footer.site { border-top: 1px solid #2A333B; padding: 44px 0 100px; background: #12171B; color: #F1EEE6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); gap: 26px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; text-decoration: none; margin-bottom: 14px; }
.footer-brand .brand-logo-img { height: 22px; }
.footer-desc { color: #A19C8E; font-size: 0.85rem; max-width: 260px; }
.footer-col h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: #A19C8E; margin: 0 0 12px; font-weight: 700; }
.footer-col a { display: block; color: #F1EEE6; text-decoration: none; font-size: 0.87rem; margin-bottom: 9px; }
.footer-col a:hover { color: var(--brand-bright); }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid #2A333B; font-size: 0.82rem; color: #A19C8E; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: #A19C8E; }
.footer-bottom a:hover { color: #F1EEE6; }
@media (max-width: 820px) { footer.site { padding-bottom: 100px; } }

/* ---------- compare flow (problem: without vs with) ---------- */
.compare-wrap { margin-top: 40px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 760px) { .compare-wrap { grid-template-columns: 1fr; } }
.compare-col { background: var(--surface); padding: 28px 26px; }
.compare-col.neg { background: var(--surface); }
.compare-col.pos { background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }
.compare-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 22px; }
.compare-col.neg .compare-label { color: var(--ink-soft); }
.compare-col.pos .compare-label { color: var(--brand); }
.compare-track { position: relative; padding-left: 26px; }
.compare-track::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.compare-step { position: relative; padding-bottom: 22px; }
.compare-step:last-child { padding-bottom: 0; }
.compare-step::before { content: ''; position: absolute; left: -26px; top: 3px; width: 11px; height: 11px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink-soft); }
.compare-col.pos .compare-step::before { border-color: var(--brand); }
.compare-step.end::before { background: var(--ink-soft); border-color: var(--ink-soft); }
.compare-col.pos .compare-step.end::before { background: var(--brand); border-color: var(--brand); }
.compare-step p { margin: 0; font-size: 0.92rem; color: var(--ink); line-height: 1.4; }
.compare-step.end p { font-weight: 650; }
.compare-col.neg .compare-step.end p { color: var(--warn); }
.compare-col.pos .compare-step.end p { color: var(--brand); }

/* ---------- 6-step timeline (how it works) ---------- */
.timeline { margin-top: 44px; position: relative; }
.timeline-track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; }
.timeline-track::before { content: ''; position: absolute; top: 15px; left: calc(100%/12); right: calc(100%/12); height: 2px; background: color-mix(in srgb, var(--brand) 55%, var(--line)); box-shadow: 0 0 8px -1px color-mix(in srgb, var(--brand) 60%, transparent); }
.timeline-signal.vertical { display: none; }
@media (max-width: 900px) { .timeline-track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; } .timeline-track::before { display: none; } .timeline-signal.horizontal { display: none; } }
@media (max-width: 560px) {
  .timeline-track { grid-template-columns: 1fr; row-gap: 0; padding-left: 20px; }
  .timeline-track::after { content: ''; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: color-mix(in srgb, var(--brand) 45%, var(--line)); }
  .timeline-track .timeline-node { padding: 0 0 30px 30px; text-align: left; }
  .timeline-track .timeline-node:last-child { padding-bottom: 0; }
  .timeline-track .timeline-dot { margin: 0; position: absolute; left: -30px; top: 0; }
  .timeline-signal.vertical {
    display: block; position: absolute; left: 0; width: 11px; height: 11px; z-index: 2;
    background: var(--brand-bright); border-radius: 50%; box-shadow: 0 0 12px 3px rgba(47,224,226,0.65); opacity: 0;
  }
  @media (prefers-reduced-motion: no-preference) { .timeline-signal.vertical { animation: timeline-travel-v 6s ease-in-out infinite; } }
  @keyframes timeline-travel-v {
    0% { top: 0; opacity: 0; }
    6% { opacity: 1; }
    94% { opacity: 1; }
    100% { top: calc(100% - 20px); opacity: 0; }
  }
}
.timeline-signal.horizontal {
  position: absolute; top: 11px; width: 9px; height: 9px; border-radius: 50%; z-index: 2;
  background: var(--brand-bright); box-shadow: 0 0 12px 3px rgba(47,224,226,0.65);
  left: calc(100%/12); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) { .timeline-signal.horizontal { animation: timeline-travel 5s ease-in-out infinite; } }
@keyframes timeline-travel {
  0% { left: calc(100%/12); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: calc(100% - 100%/12); opacity: 0; }
}
.timeline-node { position: relative; padding: 0 10px; text-align: center; }
.timeline-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; margin: 0 auto 14px; position: relative; z-index: 1; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent); }
.timeline-node h3 { margin: 0 0 5px; font-size: 0.9rem; }
.timeline-node p { margin: 0; font-size: 0.81rem; color: var(--ink-soft); line-height: 1.4; }
@media (max-width: 560px) { .timeline-dot { margin: 0; } }

/* ---------- real product experience (two-panel demo) ---------- */
.demo-frame { margin-top: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--line); flex-wrap: wrap; row-gap: 8px; }
.demo-bar .status-badge { margin-left: auto; flex-shrink: 0; }
.demo-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); flex-shrink: 0; }
.demo-bar .demo-title { margin-left: 6px; font-size: 0.74rem; color: var(--ink-soft); font-family: "SF Mono", Consolas, monospace; }
.demo-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
@media (max-width: 760px) { .demo-split { grid-template-columns: 1fr; } }
.demo-panel { padding: 22px 24px; }
.demo-panel + .demo-panel { border-top: 1px solid var(--line); }
@media (min-width: 761px) { .demo-panel + .demo-panel { border-top: none; border-left: 1px solid var(--line); } }
.demo-panel-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 16px; }
.demo-bubble-visitor { font-size: 0.86rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px; margin-bottom: 14px; }
.demo-bubble-ai { font-size: 0.86rem; color: var(--ink); background: color-mix(in srgb, var(--brand) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); border-radius: 8px; padding: 11px 13px; }
.demo-log-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.demo-log-row:first-child { border-top: none; }
.demo-log-name { font-size: 0.85rem; font-weight: 600; }
.demo-log-time { font-size: 0.76rem; color: var(--ink-soft); }
.demo-status { font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.demo-status.answered { background: color-mix(in srgb, var(--success) 16%, transparent); color: var(--success); }
.demo-status.escalated { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.demo-caption { padding: 14px 24px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-soft); font-style: italic; background: var(--paper); }

/* ---------- what it does / does not do ---------- */
.scope-grid { margin-top: 28px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 760px) { .scope-grid { grid-template-columns: 1fr; } }
.scope-card { background: var(--surface); padding: 26px 26px; }
.scope-card h3 { margin: 0 0 16px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.scope-card.yes h3 { color: var(--brand); }
.scope-card.no h3 { color: var(--ink-soft); }
.scope-card ul { list-style: none; margin: 0; padding: 0; }
.scope-card li { padding: 9px 0 9px 26px; position: relative; font-size: 0.9rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.scope-card li:first-child { border-top: none; }
.scope-card.yes li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.scope-card.no li::before { content: '✕'; position: absolute; left: 0; color: var(--ink-soft); font-weight: 700; }

/* ---------- trust list (no icons) ---------- */
.trust-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item { border-top: 2px solid var(--brand); padding-top: 14px; }
.trust-item h3 { margin: 0 0 6px; font-size: 0.92rem; }
.trust-item p { margin: 0; color: var(--ink-soft); font-size: 0.86rem; line-height: 1.5; }

/* ---------- inline text-button (used inside a paragraph) ---------- */
.link-btn { background: none; border: none; padding: 0; margin: 0; font: inherit; color: var(--brand); font-weight: 600; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--brand-hover); }

/* ---------- final CTA subtle animated system geometry ---------- */
.cta-signal { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.cta-signal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-signal .signal-line { stroke: rgba(47,224,226,0.16); stroke-width: 1; fill: none; }
.cta-signal .signal-pulse { fill: rgba(47,224,226,0.5); }
.section-d.on-dark { position: relative; }
.section-d .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .signal-pulse { animation: cta-travel 6s linear infinite; }
  .signal-pulse.p2 { animation-delay: 2s; }
  .signal-pulse.p3 { animation-delay: 4s; }
}
@keyframes cta-travel {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.signal-pulse { offset-rotate: 0deg; }

/* ---------- mobile bottom navigation (graphite, matches header) ---------- */
.mobile-bottom-nav { display: none; }
@media (max-width: 820px) {
  .mobile-bottom-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: color-mix(in srgb, #12171B 94%, transparent);
    backdrop-filter: blur(8px);
    border-top: 1px solid #2A333B;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-bottom-nav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    text-decoration: none; color: #A19C8E; font-size: 0.66rem; font-weight: 600;
    padding: 6px 2px; border-radius: 8px; min-width: 0;
  }
  .mobile-bottom-nav a svg { width: 20px; height: 20px; flex-shrink: 0; }
  .mobile-bottom-nav a span.mbn-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .mobile-bottom-nav a.active { color: var(--brand-bright); }
  .mobile-bottom-nav a.mbn-cta { color: var(--brand-bright); }
  .mobile-bottom-nav a.mbn-cta svg { color: var(--brand-bright); }
}

/* ============================================================
   STATUS BADGES — consistent LIVE vs illustrative labeling
   ============================================================ */
.status-badge {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-soft); white-space: nowrap;
}
.status-badge .sb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); flex-shrink: 0; }
.status-badge.is-live { color: var(--success); border-color: color-mix(in srgb, var(--success) 45%, var(--line)); background: color-mix(in srgb, var(--success) 10%, var(--surface)); }
.status-badge.is-live .sb-dot { background: var(--success); box-shadow: 0 0 6px 1px color-mix(in srgb, var(--success) 55%, transparent); }
@media (prefers-reduced-motion: no-preference) { .status-badge.is-live .sb-dot { animation: badge-pulse 1.8s ease-in-out infinite; } }
.status-badge.is-example { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }
.status-badge.is-example .sb-dot { background: var(--brand); }

/* ============================================================
   LIVE DEMO CTA (homepage)
   ============================================================ */
.live-demo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .live-demo { grid-template-columns: 1fr; } }
.live-demo-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 20px 50px -24px rgba(0,0,0,0.4); }
.live-demo-panel .status-badge { margin-bottom: 14px; }
.live-demo-panel h3 { margin: 0 0 8px; font-size: 1.05rem; }
.live-demo-panel p { margin: 0 0 18px; color: var(--ink-soft); font-size: 0.92rem; }
.live-demo-steps { list-style: none; margin: 0 0 20px; padding: 0; }
.live-demo-steps li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 0.86rem; color: var(--ink-soft); }
.live-demo-steps li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }

/* ============================================================
   INTERACTIVE WALKTHROUGH (How It Works)
   ============================================================ */
.walkthrough-controls { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.wt-btn {
  display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); font-size: 0.82rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.wt-btn:hover { border-color: var(--brand); color: var(--brand); }
.wt-btn[hidden] { display: none; }
.wt-btn svg { width: 14px; height: 14px; }
.walkthrough-stage {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(0,0,0,0.4); min-height: 280px;
}
.wt-stage-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--paper); border-bottom: 1px solid var(--line); flex-wrap: wrap; row-gap: 8px; }
.wt-stage-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); flex-shrink: 0; }
.wt-stage-title { margin-left: 6px; font-size: 0.76rem; font-weight: 700; color: var(--ink-soft); font-family: "SF Mono", Consolas, monospace; flex: 1 1 auto; min-width: 0; }
.wt-stage-bar .status-badge { margin-left: auto; flex-shrink: 0; }
@media (max-width: 480px) {
  .wt-stage-bar .dot { display: none; }
  .wt-stage-title { margin-left: 0; flex-basis: 100%; }
  .wt-stage-bar .status-badge { margin-left: 0; }
}
.wt-stage-body { padding: 26px; }
.wt-stage-panel { display: none; animation: wt-fade-in 0.35s ease; }
.wt-stage-panel.is-active { display: block; }
@keyframes wt-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .wt-stage-panel { animation: none; } }
.wt-stage-heading { font-size: 0.98rem; font-weight: 700; margin: 0 0 14px; color: var(--ink); }

.wt-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wt-checklist li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--ink-soft); opacity: 0; animation: wt-check-in 0.4s ease forwards; }
.wt-stage-panel.is-active .wt-checklist li:nth-child(1) { animation-delay: 0.1s; }
.wt-stage-panel.is-active .wt-checklist li:nth-child(2) { animation-delay: 0.5s; }
.wt-stage-panel.is-active .wt-checklist li:nth-child(3) { animation-delay: 0.9s; }
@keyframes wt-check-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .wt-checklist li { opacity: 1; animation: none; } }
.wt-checklist .wt-check { width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.72rem; }
.wt-checklist strong { color: var(--ink); }

.wt-typewriter-box { background: color-mix(in srgb, var(--violet) 7%, var(--paper)); border: 1px solid color-mix(in srgb, var(--violet) 26%, var(--line)); border-radius: 8px; padding: 14px 16px; font-size: 0.9rem; color: var(--ink); line-height: 1.55; min-height: 4.6em; }
.wt-typewriter-box .wt-cursor { display: inline-block; width: 2px; height: 1em; background: var(--violet); vertical-align: -0.15em; animation: wt-blink 0.9s step-end infinite; margin-left: 1px; }
@media (prefers-reduced-motion: reduce) { .wt-typewriter-box .wt-cursor { display: none; } }
@keyframes wt-blink { 50% { opacity: 0; } }

.wt-outcome-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--ink); }
.wt-outcome-row:first-child { border-top: none; }
.wt-outcome-row .wt-outcome-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); flex-shrink: 0; }
.wt-outcome-row.warn .wt-outcome-dot { background: var(--warn); }

.walkthrough-rail { margin-top: 26px; }
.walkthrough-rail .timeline-track { cursor: default; }
.wt-step { all: unset; cursor: pointer; display: contents; }
.wt-step .timeline-node { transition: opacity 0.2s ease; }
.wt-step:hover .timeline-node { opacity: 0.75; }
.wt-step.is-active .timeline-dot { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 18%, transparent); }
.wt-step.is-active .timeline-node h3 { color: var(--brand); }

/* ============================================================
   MICRO-INTERACTIONS — subtle hover states throughout
   ============================================================ */
.service-card, .plan, .trust-item, .scope-card, .decision-branch { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.service-card:hover, .plan:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.35); }
.trust-item:hover { border-top-color: var(--brand-bright); }
.timeline-node:hover .timeline-dot, .decision-branch:hover { border-color: var(--brand); }
.accordion summary:hover { color: var(--brand); }
@media (prefers-reduced-motion: reduce) {
  .service-card, .plan, .trust-item, .scope-card, .decision-branch { transition: none; }
  .service-card:hover, .plan:hover { transform: none; }
}

/* ============================================================
   PRODUCTION SYSTEM DEMONSTRATION — third status state, distinct
   from LIVE (green) and INTERACTIVE EXAMPLE (teal). Reserved for
   captured artifacts of the real system actually running.
   ============================================================ */
.status-badge.is-demo { color: var(--violet); border-color: color-mix(in srgb, var(--violet) 45%, var(--line)); background: color-mix(in srgb, var(--violet) 10%, var(--surface)); }
.status-badge.is-demo .sb-dot { background: var(--violet); box-shadow: 0 0 6px 1px color-mix(in srgb, var(--violet) 55%, transparent); }
@media (prefers-reduced-motion: no-preference) { .status-badge.is-demo .sb-dot { animation: badge-pulse 1.8s ease-in-out infinite; } }

/* ---------- proof section (homepage) ---------- */
.proof-section { position: relative; overflow: hidden; }
.proof-grid { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); gap: 48px; align-items: center; margin-top: 8px; }
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; gap: 30px; } }
.proof-copy .status-badge { margin-bottom: 16px; }
.proof-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.proof-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; }
.proof-list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); flex-shrink: 0; margin-top: 6px; }
.proof-meta { margin-top: 20px; font-size: 0.78rem; color: var(--ink-soft); font-family: "SF Mono", Consolas, monospace; }

.proof-frame { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 28px 70px -30px rgba(0,0,0,0.55); }
.proof-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--line); flex-wrap: wrap; row-gap: 8px; }
.proof-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); flex-shrink: 0; }
.proof-url { margin-left: 6px; font-size: 0.74rem; color: var(--ink-soft); font-family: "SF Mono", Consolas, monospace; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proof-bar .status-badge { margin-left: auto; flex-shrink: 0; }
@media (max-width: 480px) {
  .proof-bar .dot { display: none; }
  .proof-url { margin-left: 0; flex-basis: 100%; }
  .proof-bar .status-badge { margin-left: 0; }
}
.proof-video-wrap { position: relative; width: 100%; aspect-ratio: 4 / 3; background: var(--paper); }
.proof-video-wrap video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--paper); }
.proof-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(18,23,27,0.28); border: none; cursor: pointer; padding: 0; opacity: 1; transition: opacity 0.2s ease;
}
.proof-play[hidden] { display: none; }
.proof-play-icon {
  width: 60px; height: 60px; border-radius: 50%; background: rgba(241,238,230,0.94); color: #12171B;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,0.6);
  transition: transform 0.2s ease;
}
.proof-play:hover .proof-play-icon { transform: scale(1.06); }
.proof-play-icon svg { width: 22px; height: 22px; margin-left: 3px; }
.proof-caption { padding: 13px 18px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--ink-soft); background: var(--paper); }

/* ---------- real architecture map (How It Works) ---------- */
.arch-map { margin-top: 40px; }
.arch-note { margin: 10px 0 0; font-size: 0.76rem; color: var(--ink-soft); opacity: 0.85; }
.arch-clusters { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 24px; position: relative; }
@media (max-width: 860px) { .arch-clusters { grid-template-columns: 1fr; gap: 30px; } }
.arch-cluster { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; position: relative; }
.arch-cluster-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand); margin-bottom: 12px; }
.arch-step { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--ink); }
.arch-step:first-child { border-top: none; }
.arch-step-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }
.arch-connector {
  display: none; position: absolute; top: 50%; right: -20px; width: 20px; height: 2px;
  background: color-mix(in srgb, var(--brand) 45%, var(--line)); z-index: 1;
}
@media (min-width: 861px) { .arch-cluster:not(:last-child) .arch-connector { display: block; } }

/* ---------- outbound research proof stat (Services) ---------- */
.proof-stat { margin-top: 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.proof-stat .status-badge { flex-shrink: 0; }
.proof-stat-text { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.5; }
.proof-stat-text strong { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ============================================================
   RESEARCH PIPELINE — real 4-stage Outbound Research visual
   (reuses .response-flow/.flow-steps/.flow-node/.flow-icon,
   already proven responsive for the Lead Response diagram)
   ============================================================ */
.response-flow .flow-steps.n4 { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); gap: 8px; }
@media (max-width: 640px) { .response-flow .flow-steps.n4 { grid-template-columns: 1fr; gap: 16px; } }
.flow-arrow.animated { position: relative; overflow: visible; }
.flow-arrow.animated::after {
  content: ''; position: absolute; top: 50%; left: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand-bright); box-shadow: 0 0 6px 2px color-mix(in srgb, var(--brand-bright) 60%, transparent);
  transform: translateY(-50%); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) { .flow-arrow.animated::after { animation: flow-arrow-travel 2.4s ease-in-out infinite; } }
@keyframes flow-arrow-travel {
  0% { left: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.pf-io { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; background: var(--paper); }
.pf-io:first-child { border-bottom: 1px solid var(--line); }
.pf-io.pf-out { border-top: 1px solid var(--line); }
.pf-io-label { flex-shrink: 0; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand); width: 52px; padding-top: 1px; }
.pf-io-value { font-size: 0.86rem; color: var(--ink); line-height: 1.5; }

/* ---------- service proof-chain labels (Services page clarity) ---------- */
.proof-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin: 12px 0 0; }
.proof-chain-step { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); }
.proof-chain-step:not(:last-child)::after { content: '→'; margin: 0 10px; color: var(--brand); font-weight: 700; }

/* ---------- real chatbot proof card (compact, homepage) ---------- */
.chat-proof { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 20px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.chat-proof-copy { flex: 1 1 260px; min-width: 0; }
.chat-proof-copy h3 { margin: 10px 0 8px; font-size: 1rem; }
.chat-proof-copy p { margin: 0; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.5; }
.chat-proof-img-wrap { flex: 0 0 auto; width: 220px; max-width: 100%; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 16px 40px -20px rgba(0,0,0,0.4); }
.chat-proof-img-wrap img { display: block; width: 100%; height: auto; }
@media (max-width: 560px) { .chat-proof-img-wrap { width: 100%; max-width: 280px; margin: 0 auto; } }
