/* sitenetwork.net hub: one stylesheet for every page.
   Layout: a left-aligned editorial grid; the client's message thread is the visual spine.
   Color carries the product's own states: green = live, amber = in progress. */
:root {
  color-scheme: light;
  --paper: #F4F6F2;
  --surface: #FFFFFF;
  --surface-2: #ECF0EB;
  --ink: #0F1A16;
  --ink-2: #45534D;
  --ink-3: #5F6D67;
  --line: #D8DFD9;
  --live: #0B7A53;
  --live-strong: #075E40;
  --live-ink: #FFFFFF;
  --live-soft: #DCF1E7;
  --live-text: #075E40;
  --stage: #8F5500;
  --stage-soft: #FBEAC9;
  --stage-dot: #E0951A;
  --shadow: 0 1px 2px rgba(15, 26, 22, .06), 0 14px 34px -10px rgba(15, 26, 22, .18);
  --f-display: "Archivo", "Arial", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r-sm: 7px;
  --r-md: 12px;
  --r-lg: 18px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0B110F;
    --surface: #131B18;
    --surface-2: #1A2420;
    --ink: #E5EDE9;
    --ink-2: #A9B9B2;
    --ink-3: #8D9E97;
    --line: #27332E;
    --live: #2FBF86;
    --live-strong: #5AD6A3;
    --live-ink: #03140D;
    --live-soft: rgba(47, 191, 134, .15);
    --live-text: #7BE0B6;
    --stage: #F2B850;
    --stage-soft: rgba(242, 184, 80, .15);
    --stage-dot: #F2B850;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -10px rgba(0, 0, 0, .65);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0B110F;
  --surface: #131B18;
  --surface-2: #1A2420;
  --ink: #E5EDE9;
  --ink-2: #A9B9B2;
  --ink-3: #8D9E97;
  --line: #27332E;
  --live: #2FBF86;
  --live-strong: #5AD6A3;
  --live-ink: #03140D;
  --live-soft: rgba(47, 191, 134, .15);
  --live-text: #7BE0B6;
  --stage: #F2B850;
  --stage-soft: rgba(242, 184, 80, .15);
  --stage-dot: #F2B850;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -10px rgba(0, 0, 0, .65);
}

/* ── base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (max-width: 760px) { html { scroll-padding-top: 120px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--link, var(--live-text)); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--live); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: var(--r-sm); }

/* type */
.display {
  font-family: var(--f-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.022em;
}
.h2 {
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 750;
  font-size: clamp(1.65rem, 3.1vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -.015em;
}
.h3 { font-family: var(--f-display); font-stretch: 104%; font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.24rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.label {
  font-family: var(--f-mono);
  font-stretch: 87.5%;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mono { font-family: var(--f-mono); font-stretch: 87.5%; font-size: .82em; }
.prose { max-width: 66ch; display: grid; gap: 16px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 10px; }

/* buttons + pills */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--cta, var(--live)); color: var(--cta-ink, var(--live-ink));
  font: 600 .98rem/1.2 var(--f-body); text-decoration: none; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--cta-strong, var(--live-strong)); text-decoration: none; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { background: var(--surface); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 9px; border-radius: 999px;
  font: 500 .68rem/1.6 var(--f-mono); font-stretch: 87.5%; letter-spacing: .04em; text-transform: uppercase;
  background: var(--surface-2); color: var(--ink-2); white-space: nowrap;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-live { background: var(--live-soft); color: var(--live-text); }
.pill-stage { background: var(--stage-soft); color: var(--stage); }
.pill-stage::before { background: var(--stage-dot); }

/* ── header ───────────────────────────────────────────────────────────── */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.brand-word { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.brand-word span { color: var(--live-text); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.theme-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer;
}
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: block; }
}
.head-cta { padding: 9px 15px; font-size: .92rem; }
@media (max-width: 760px) {
  .site-head .wrap { flex-wrap: wrap; gap: 6px 10px; padding-block: 8px; }
  .nav { order: 3; width: 100%; overflow-x: auto; margin-inline: -6px; }
  .nav a { padding: 6px 10px; font-size: .9rem; white-space: nowrap; }
  .head-cta { display: none; }
}

/* ── sections ─────────────────────────────────────────────────────────── */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-tint { background: var(--surface); }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(34px, 4.6vw, 54px); }

/* hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 20px; align-content: start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--ink-3); font-size: .9rem; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* two doors (home) */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.door {
  display: grid; gap: 8px; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.door:hover { border-color: var(--live); transform: translateY(-2px); text-decoration: none; }
.door b { font-family: var(--f-display); font-stretch: 108%; font-size: 1.12rem; }
.door span { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.door i { font-style: normal; color: var(--live-text); font-weight: 700; font-size: .92rem; }
@media (max-width: 560px) { .doors { grid-template-columns: 1fr; } }

/* ── chat pictures: the guide's numbered chat, the Go Live helper ───────── */
.chat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto auto;
  min-height: 430px;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.chat-logo {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none;
  background: #C2410C; color: #fff; font: 800 .95rem/1 var(--f-display);
}
.chat-who { display: grid; line-height: 1.2; margin-right: auto; }
.chat-who b { font-size: .95rem; }
.chat-who small { color: var(--ink-3); font-size: .78rem; }
.chat-view { font-size: .78rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--live-soft); color: var(--live-text); white-space: nowrap; }
.chat-menu { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: .9rem; }
.thread { display: flex; flex-direction: column; gap: 9px; padding: 14px; background: var(--paper); }
.msg {
  max-width: 84%; padding: 9px 13px; border-radius: 16px; font-size: .92rem; line-height: 1.45;
  transition: opacity .35s ease, transform .35s ease;
}
.msg.me { align-self: flex-end; background: var(--live); color: var(--live-ink); border-bottom-right-radius: 5px; }
.msg.agent { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.sys { align-self: center; max-width: 92%; background: var(--live-soft); color: var(--live-text); font-size: .8rem; text-align: center; border-radius: 10px; }
.msg time { display: block; margin-top: 3px; font: 400 .66rem/1.2 var(--f-mono); font-stretch: 87.5%; opacity: .7; }
.chat-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px 0; flex-wrap: wrap; }
.safety-strip { font-size: .74rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--live-soft); color: var(--live-text); white-space: nowrap; }
.starters { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.starters span { font-size: .78rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.composer .clip { width: auto; height: auto; display: inline-flex; align-items: center; gap: 5px; background: none; color: var(--ink-3); font-size: 1rem; margin-right: -2px; }
/* numbered markers that tie a picture to its legend */
.mk { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 600 .62rem/1 var(--f-mono); font-style: normal; vertical-align: 1px; flex: none; }
.legend { list-style: none; display: grid; gap: 9px; margin-top: 16px; }
.legend li { display: grid; grid-template-columns: 19px 1fr; gap: 10px; color: var(--ink-2); font-size: .93rem; line-height: 1.45; }
.legend b { color: var(--ink); }
.composer { display: flex; align-items: center; gap: 8px; margin: 10px 14px 14px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3); font-size: .9rem; }
.composer span { margin-right: auto; }
.composer b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--live); color: var(--live-ink); font-size: .95rem; }

/* the client's website, beside the chat */
.site-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow); overflow: hidden; font-size: .85rem;
}
.site-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.site-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.site-bar .url { margin-left: 6px; font: 400 .7rem/1 var(--f-mono); font-stretch: 87.5%; color: var(--ink-3); background: var(--surface); padding: 5px 9px; border-radius: 6px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-body { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; padding: 14px 16px; align-items: center; }
.site-body h4 { font-family: var(--f-display); font-stretch: 105%; font-size: 1rem; }

/* ── the track: what happens after send ───────────────────────────────── */
.track { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: t; }
.track li { position: relative; display: grid; gap: 8px; align-content: start; padding: 0 16px 0 0; }
.track li::before {
  counter-increment: t; content: counter(t);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
  font: 600 .8rem/1 var(--f-mono); position: relative; z-index: 1;
}
.track li::after { content: ""; position: absolute; top: 17px; left: 34px; right: 0; height: 1px; background: var(--line); }
.track li:last-child::after { display: none; }
.track li:last-child::before { content: "✓"; background: var(--live); border-color: var(--live); color: var(--live-ink); }
.track b { font-family: var(--f-display); font-stretch: 105%; font-size: 1.02rem; }
.track p { color: var(--ink-2); font-size: .92rem; line-height: 1.5; }
@media (max-width: 820px) {
  .track { grid-template-columns: 1fr; gap: 18px; }
  .track li { grid-template-columns: 34px 1fr; column-gap: 14px; padding: 0; }
  .track li::before { grid-row: span 2; }
  .track li::after { top: 34px; bottom: -18px; left: 17px; right: auto; width: 1px; height: auto; }
}

/* ── stats (real numbers) ─────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stat { padding: 22px 24px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; }
.stat b { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat b small { font-size: .5em; font-weight: 700; margin-left: 3px; color: var(--ink-2); }
.stat span { color: var(--ink-2); font-size: .92rem; }
.stats-note { margin-top: 10px; color: var(--ink-3); font-size: .82rem; }
@media (max-width: 680px) { .stats { grid-template-columns: 1fr; } }

/* ── numbered steps (a real sequence) ─────────────────────────────────── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.steps li { display: grid; gap: 12px; align-content: start; padding: 24px 24px 26px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: "Step " counter(s); font: 500 .7rem/1 var(--f-mono); font-stretch: 87.5%; letter-spacing: .08em; text-transform: uppercase; color: var(--live-text); }
.steps h3 { font-family: var(--f-display); font-stretch: 106%; font-size: 1.12rem; }
.steps p { color: var(--ink-2); font-size: .95rem; line-height: 1.62; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.steps.steps-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .steps, .steps.steps-2 { grid-template-columns: 1fr; } }

/* ── split: words beside a picture ────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 84px); align-items: center; }
.split-copy { display: grid; gap: 20px; align-content: start; }
.ticks { list-style: none; display: grid; gap: 15px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); }
.ticks li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--live-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A53' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.ticks b { color: var(--ink); font-weight: 650; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 2; } }

/* ── the dashboard picture ────────────────────────────────────────────── */
.dash {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  overflow: hidden; display: grid; grid-template-columns: 150px minmax(0, 1fr); font-size: .82rem; min-height: 360px;
}
.dash-side { background: var(--surface-2); border-right: 1px solid var(--line); padding: 14px 10px; display: grid; gap: 2px; align-content: start; }
.dash-side .dash-brand { display: flex; align-items: center; gap: 7px; padding: 2px 6px 12px; font-weight: 800; font-size: .8rem; }
.dash-side .dash-brand i { width: 20px; height: 20px; border-radius: 6px; background: #1E40AF; flex: none; }
.dash-side span { padding: 6px 8px; border-radius: 7px; color: var(--ink-2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-side span.on { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.dash-main { padding: 16px; display: grid; gap: 12px; align-content: start; }
.dash-main h4 { font-family: var(--f-display); font-stretch: 106%; font-size: 1.02rem; }
.dash-health { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dash-health div { padding: 9px 10px; border-radius: 9px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 2px; }
.dash-health b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.dash-health small { color: var(--ink-3); font-size: .7rem; }
.dash-rows { display: grid; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.dash-row { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 11px; }
.dash-row + .dash-row { border-top: 1px solid var(--line); }
.dash-row b { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-row .mono { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .66rem; }
@media (max-width: 560px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-row { grid-template-columns: minmax(0, 1fr) auto; }
  .dash-row .mono { display: none; }
}

/* ── grouped features ─────────────────────────────────────────────────── */
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.group { padding: 24px 24px 26px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.group h3 { font-family: var(--f-display); font-stretch: 106%; font-size: 1.08rem; display: flex; align-items: center; gap: 9px; }
.group h3 svg { width: 20px; height: 20px; color: var(--live-text); flex: none; }
.group dl { margin: 0; display: grid; gap: 0; }
.group dt { font-weight: 650; font-size: .95rem; margin-top: 18px; }
.group dt:first-child { margin-top: 0; }
.group dd { margin: 3px 0 0; color: var(--ink-2); font-size: .9rem; line-height: 1.58; }
.group dd .pill { margin-left: 4px; vertical-align: 1px; }
@media (max-width: 980px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .groups { grid-template-columns: 1fr; } }

/* ── fit ──────────────────────────────────────────────────────────────── */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.fit > div { padding: 26px 28px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 16px; align-content: start; }
.fit ul { list-style: none; display: grid; gap: 12px; color: var(--ink-2); }
.fit li { padding-left: 22px; position: relative; }
.fit .yes li::before { content: "✓"; position: absolute; left: 0; color: var(--live-text); font-weight: 800; }
.fit .no li::before { content: "–"; position: absolute; left: 2px; color: var(--stage); font-weight: 800; }
@media (max-width: 720px) { .fit { grid-template-columns: 1fr; } }

/* ── timeline (first week) ────────────────────────────────────────────── */
.timeline { list-style: none; display: grid; gap: 0; max-width: 820px; }
.timeline li { display: grid; grid-template-columns: 112px 1fr; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .when { font: 500 .74rem/1.6 var(--f-mono); font-stretch: 87.5%; letter-spacing: .06em; text-transform: uppercase; color: var(--live-text); padding-top: 3px; }
.timeline h3 { font-family: var(--f-display); font-stretch: 104%; font-size: 1.05rem; margin-bottom: 6px; }
.timeline p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 50px 18px 20px; position: relative;
  font-weight: 650; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -1px; }
.faq .ans { padding: 0 20px 19px; color: var(--ink-2); display: grid; gap: 12px; max-width: 70ch; }

/* ── notes + CTA band ─────────────────────────────────────────────────── */
.note { padding: 14px 16px; border-radius: var(--r-md); background: var(--live-soft); color: var(--ink); display: grid; gap: 4px; font-size: .95rem; }
.note b { color: var(--live-text); }
.note-stage { background: var(--stage-soft); }
.note-stage b { color: var(--stage); }

/* ── DNS guide: a record card, one box per record (label, then its value) ─ */
.dnsrec { max-width: 560px; margin: 18px 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.dnsrec-head { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.dnsrec-tag { font: 500 .68rem/1.4 var(--f-mono); font-stretch: 87.5%; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.dnsrec-rows { margin: 0; padding: 12px 16px 14px; display: grid; gap: 10px; }
.dnsrec-rows > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 14px; align-items: baseline; }
.dnsrec-rows dt { text-align: right; color: var(--ink-3); font-size: .9rem; }
.dnsrec-rows dd { margin: 0; }
.dnsrec-rows .mono { display: inline-block; padding: 2px 8px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); font-size: .85rem; }
@media (max-width: 520px) {
  .dnsrec-rows > div { grid-template-columns: 1fr; gap: 2px; }
  .dnsrec-rows dt { text-align: left; }
}
.table-dns td:first-child { width: 24%; }
.cta-band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--ink); color: var(--paper);
}
.cta-band h2 { color: var(--paper); }
.cta-band p { color: color-mix(in srgb, var(--paper) 78%, transparent); max-width: 60ch; margin-top: 8px; }
.cta-band .btn { background: var(--paper); color: var(--ink); }
.cta-band .btn:hover { background: var(--surface-2); }
.cta-band a:not(.btn) { color: var(--paper); }
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; } }

/* ── quick links ──────────────────────────────────────────────────────── */
.quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); text-decoration: none; font-weight: 600;
}
.quick a::after { content: "→"; color: var(--live-text); font-weight: 700; }
.quick a:hover { border-color: var(--live); }
@media (max-width: 620px) { .quick { grid-template-columns: 1fr; } }

/* ── guide layout (sticky contents rail + article) ────────────────────── */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-block: 24px 80px; align-items: start; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); display: grid; gap: 2px; }
.toc .label { padding: 0 10px 8px; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 500; border-left: 2px solid transparent; }
.toc a:hover { color: var(--ink); background: var(--surface-2); }
.toc a.on { color: var(--live-text); border-left-color: var(--live); background: var(--surface); font-weight: 650; }
.toc-mobile { display: none; }
.article { display: grid; gap: clamp(60px, 7.5vw, 96px); min-width: 0; }
.article > section { display: grid; gap: 20px; }
.article h2 { font-family: var(--f-display); font-stretch: 110%; font-weight: 750; font-size: clamp(1.45rem, 2.6vw, 1.95rem); line-height: 1.12; letter-spacing: -.01em; }
.article h3 { font-family: var(--f-display); font-stretch: 104%; font-weight: 700; font-size: 1.08rem; }
.article .prose { color: var(--ink-2); }
.article .prose b, .article .prose strong { color: var(--ink); }
@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; }
  .toc { display: none; }
  .toc-mobile { display: block; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
  .toc-mobile summary { padding: 12px 16px; font-weight: 650; cursor: pointer; }
  .toc-mobile nav { display: grid; padding: 0 8px 10px; }
  .toc-mobile a { padding: 7px 8px; color: var(--ink-2); text-decoration: none; }
}

/* examples the client can ask */
.asks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ask-group { padding: 20px 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.ask-group h3 { font-size: 1rem; }
.bubbles { display: grid; gap: 9px; justify-items: end; }
.bubble { max-width: 100%; padding: 8px 12px; border-radius: 14px; border-bottom-right-radius: 4px; background: var(--live); color: var(--live-ink); font-size: .9rem; line-height: 1.4; }
@media (max-width: 620px) { .asks { grid-template-columns: 1fr; } }

/* instead of → try */
.better { display: grid; gap: 14px; }
.better > div { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1.4fr); gap: 10px; align-items: center; }
.better .was, .better .now { padding: 10px 13px; border-radius: 12px; font-size: .92rem; line-height: 1.45; }
.better .was { background: var(--surface-2); color: var(--ink-2); }
.better .now { background: var(--live); color: var(--live-ink); }
.better .arrow { text-align: center; color: var(--ink-3); font-weight: 700; }
.better-head { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1.4fr); gap: 10px; }
@media (max-width: 620px) {
  .better > div, .better-head { grid-template-columns: 1fr; }
  .better .arrow { display: none; }
  .better-head span:nth-child(2) { display: none; }
}

/* a two-column definition table that stacks on phones */
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font: 500 .7rem/1.4 var(--f-mono); font-stretch: 87.5%; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.table td:first-child { font-weight: 650; color: var(--ink); width: 38%; }
.table td { color: var(--ink-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
@media (max-width: 560px) {
  .table thead { display: none; }
  .table tr { display: grid; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 2px 0; width: auto !important; }
}

/* in-page section nav */
.jump { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 65px); z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.jump nav { display: flex; gap: 4px; overflow-x: auto; padding-block: 8px; scrollbar-width: none; }
.jump nav::-webkit-scrollbar { display: none; }
.jump a { flex: none; padding: 6px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.jump a:hover { background: var(--surface-2); color: var(--ink); }
.jump a.on { background: var(--surface); color: var(--live-text); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 760px) { .jump { top: calc(env(safe-area-inset-top, 0px) + 96px); } }

/* ── footer ───────────────────────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--line); padding-block: 40px 56px; color: var(--ink-3); font-size: .9rem; }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 28px; }
.site-foot h4 { font: 500 .7rem/1.4 var(--f-mono); font-stretch: 87.5%; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.site-foot ul { list-style: none; display: grid; gap: 6px; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }
.site-foot p { max-width: 42ch; }
@media (max-width: 720px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } .site-foot .wrap > :first-child { grid-column: 1 / -1; } }

/* ── agency header tag, the client guide's own header and footer ──────── */
.brand-tag { font: 500 .62rem/1 var(--f-mono); font-stretch: 87.5%; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 4px 7px; margin-left: 2px; }
@media (max-width: 420px) { .brand-tag { display: none; } }
.guide-head .brand { cursor: default; }
.guide-head .brand-word span { color: var(--ink-2); font-weight: 600; }
.guide-foot .wrap { display: block; }
.guide-foot p { max-width: none; }

/* ── share box: the link agencies give their clients ──────────────────── */
.share { display: grid; gap: 8px; padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); max-width: 560px; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.share-row input {
  flex: 1 1 220px; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font: 400 .85rem/1.2 var(--f-mono); font-stretch: 87.5%;
}
.share-open { font-weight: 650; font-size: .95rem; justify-self: start; }
.page-card .page-card-body { display: grid; gap: 10px; padding: 18px 20px 22px; }
.page-card .page-card-body b { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.45rem; line-height: 1.08; }
.page-card .page-card-body p { color: var(--ink-2); font-size: .92rem; }
.page-card ul { list-style: none; display: grid; gap: 6px; margin-top: 4px; }
.page-card li { padding: 7px 10px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }

/* ── the private notice (what a visitor without an invite sees) ──────── */
.private { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px var(--gutter); }
.private-card { display: grid; gap: 12px; justify-items: center; text-align: center; max-width: 420px; padding: 32px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.private-card svg { width: 34px; height: 34px; color: var(--ink-3); }
.private-card h1 { font-family: var(--f-display); font-stretch: 108%; font-weight: 750; font-size: 1.5rem; }
.private-card p { color: var(--ink-2); }
.private-stack { display: grid; gap: 14px; width: 100%; max-width: 440px; }
.private-stack .private-card { max-width: none; }
.private-card .label { margin-top: -4px; }
.private-card-sub { padding-block: 24px; }
.private-card-sub h2 { font-family: var(--f-display); font-stretch: 104%; font-weight: 700; font-size: 1.12rem; }
.private-form { display: grid; gap: 10px; width: 100%; margin-top: 4px; }
.private-ok { color: var(--live-text); font-weight: 600; font-size: .92rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.private-card input {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font: 400 1rem/1.3 var(--f-body);
}
.private-card .btn { width: 100%; justify-content: center; }
.private-error { color: #B42318; font-weight: 600; font-size: .92rem; }
:root[data-theme="dark"] .private-error { color: #FF8A80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .private-error { color: #FF8A80; } }
.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; }
.private-mini { justify-self: center; box-shadow: var(--shadow); }
.private-mini b { font-family: var(--f-display); font-stretch: 108%; font-size: 1.25rem; }
.fake-input { width: 100%; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-3); text-align: left; letter-spacing: .2em; }

/* ── preview only: the strip that switches between pages ─────────────── */
.preview-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 8px var(--gutter); background: var(--ink); color: var(--paper); font-size: .85rem; }
.preview-bar .preview-tag { font: 500 .66rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-right: 6px; }
.preview-bar a { color: var(--paper); text-decoration: none; padding: 4px 10px; border-radius: 999px; opacity: .8; }
.preview-bar a:hover { opacity: 1; background: color-mix(in srgb, var(--paper) 14%, transparent); }
.preview-bar a[aria-current="page"] { opacity: 1; background: color-mix(in srgb, var(--paper) 20%, transparent); font-weight: 650; }

/* ── The client chat, drawn the way it really looks on a phone ──────────────
   site/demos.ts writes it, hub.js plays it (recipe in DEMOS.md). The agency pages and the
   client guide both use it, so nothing here names anyone: the chat wears whoever runs it.
   Colors, sizes and labels follow sms-update-manager's chat page (chatRoutes.ts):
   dark by default, the light palette when the page is light. --ph-accent is the
   agency's color (client bubbles, send, View Site). Fixed size, so nothing that
   happens inside it ever moves the page. */
.ph {
  --ph-bg: #0A0A0A; --ph-head: #131313; --ph-line: rgba(255,255,255,0.08);
  --ph-text: #F4F4F5; --ph-muted: rgba(255,255,255,0.45);
  --ph-agent: #1C1C1C; --ph-agent-line: rgba(255,255,255,0.08);
  --ph-input: #1C1C1C; --ph-input-line: rgba(255,255,255,0.12);
  --ph-safe-bg: rgba(52,199,120,0.07); --ph-safe: #56CC86;
  --ph-pill: #1C1C1C; --ph-pill-line: rgba(255,255,255,0.18); --ph-pill-text: rgba(255,255,255,0.88);
  --ph-dot: rgba(255,255,255,0.55); --ph-shot-line: rgba(255,255,255,0.1);
  --ph-chip-bg: #262628; --ph-chip-line: rgba(255,255,255,0.22); --ph-chip-text: #F4F4F5; --ph-chip-x: rgba(255,255,255,0.6);
  --ph-dialog: #2C2C2E; --ph-dialog-text: #F4F4F5; --ph-dialog-line: rgba(255,255,255,0.14); --ph-dialog-btn: #0A84FF;
  --ph-sys-bg: rgba(34,197,94,0.16); --ph-sys-line: rgba(34,197,94,0.45); --ph-sys-text: #D6FFE1;
  position: relative; flex: none;
  width: 296px; height: 600px;
  display: flex; flex-direction: column;
  border: 9px solid #050505; border-radius: 38px; overflow: hidden;
  background: var(--ph-bg); color: var(--ph-text);
  font: 13.5px/1.45 -apple-system, "Segoe UI", system-ui, sans-serif;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10), 0 34px 70px -24px rgba(0,0,0,0.85);
}
.ph.ph-short { height: 480px; }
:root[data-theme="light"] .ph {
  --ph-bg: #FFFFFF; --ph-head: #FAF9F7; --ph-line: rgba(0,0,0,0.07);
  --ph-text: #1A1D23; --ph-muted: rgba(0,0,0,0.45);
  --ph-agent: #F1EEE9; --ph-agent-line: rgba(0,0,0,0.05);
  --ph-input: #FFFFFF; --ph-input-line: rgba(0,0,0,0.15);
  --ph-safe-bg: rgba(33,138,75,0.09); --ph-safe: #1C8043;
  --ph-pill: #FFFFFF; --ph-pill-line: rgba(15,23,42,0.16); --ph-pill-text: #33415A;
  --ph-dot: rgba(0,0,0,0.45); --ph-shot-line: rgba(0,0,0,0.1);
  --ph-chip-bg: #EEF2FF; --ph-chip-line: #C7D2FE; --ph-chip-text: #1E293B; --ph-chip-x: #64748B;
  --ph-dialog: #F2F2F7; --ph-dialog-text: #1A1D23; --ph-dialog-line: rgba(0,0,0,0.12); --ph-dialog-btn: #007AFF;
  --ph-sys-bg: rgba(34,197,94,0.12); --ph-sys-line: rgba(22,130,60,0.4); --ph-sys-text: #14532D;
  border-color: #111; box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 30px 60px -24px rgba(10,10,10,0.35);
}
.ph-head {
  flex: none; position: relative; display: flex; align-items: center; gap: 9px;
  padding: 9px 10px; background: var(--ph-head); border-bottom: 1px solid var(--ph-line);
}
.ph-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; opacity: 0.6;
  background: linear-gradient(90deg, transparent, var(--ph-accent) 50%, transparent);
}
.ph-logo { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--ph-logo, var(--ph-accent)); color: #fff; font: 800 14px/1 -apple-system, "Segoe UI", sans-serif; }
.ph-who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.ph-who b { font-size: 13px; font-weight: 700; }
.ph-who small { font-size: 11px; color: var(--ph-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-view {
  flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 650; white-space: nowrap;
  border: 1px solid color-mix(in srgb, var(--ph-accent) 55%, transparent);
  background: color-mix(in srgb, var(--ph-accent) 15%, transparent);
  transition: box-shadow .45s ease;
}
.ph-view svg { width: 12px; height: 12px; }
.ph-view.pulse { box-shadow: 0 0 0 5px color-mix(in srgb, var(--ph-accent) 28%, transparent); }
.ph-menu { flex: none; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--ph-pill-line); }
.ph-menu svg { width: 16px; height: 16px; }
.ph-safe {
  flex: none; display: flex; justify-content: center; align-items: center; gap: 4px; padding: 4px 8px;
  font-size: 10.5px; white-space: nowrap; background: var(--ph-safe-bg); color: var(--ph-safe);
  border-bottom: 1px solid color-mix(in srgb, var(--ph-safe) 22%, transparent);
}
.ph-safe b { font-weight: 600; }
.ph-safe span { opacity: 0.75; }
.ph-status { flex: none; text-align: center; font-size: 10px; color: var(--ph-muted); padding-top: 5px; }
.ph-status u { text-underline-offset: 2px; }
.ph-thread {
  flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; padding: 0 10px 46px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 34px);
}
.ph-day { align-self: center; margin-top: 6px; padding: 2px 9px; border-radius: 999px; font-size: 10px; color: var(--ph-muted); border: 1px solid var(--ph-line); }
.ph-msg { width: fit-content; max-width: 84%; margin-top: 8px; display: flex; flex-direction: column; }
.ph-msg.in { margin-left: auto; align-items: flex-end; }
.ph-msg.out { align-items: flex-start; }
.ph-b { padding: 8px 11px; border-radius: 15px; overflow-wrap: anywhere; }
.ph-msg.in .ph-b { background: var(--ph-accent); color: #fff; border-bottom-right-radius: 4px; }
.ph-msg.out .ph-b { background: var(--ph-agent); border: 1px solid var(--ph-agent-line); border-bottom-left-radius: 4px; }
.ph-t { margin-top: 3px; padding: 0 3px; font-size: 10px; color: var(--ph-muted); }
/* A note from the chat itself (the weekly visitor recap, the health check): its centred green bubble. */
.ph-msg.sys { max-width: 92%; margin-inline: auto; }
.ph-msg.sys .ph-b { background: var(--ph-sys-bg); border: 1px solid var(--ph-sys-line); color: var(--ph-sys-text); border-radius: 12px; font-size: .93em; }
/* A file sent with a message: on its own line after a blank one, as the chat writes it. */
.ph-file { display: block; margin-top: .9em; }
/* Progress: ONE bubble whose label changes, with three pulsing dots (the chat's own labels). */
.ph-work .ph-b { display: inline-flex; align-items: center; gap: 5px; padding: 10px 12px; }
.ph-phase { margin-right: 3px; font-size: 12px; opacity: 0.85; transition: opacity .18s ease; }
.ph-phase.swap { opacity: 0; }
.ph-work i { width: 6px; height: 6px; border-radius: 50%; background: var(--ph-dot); animation: ph-dot 1.3s ease-in-out infinite; }
.ph-work i:nth-of-type(2) { animation-delay: .18s; }
.ph-work i:nth-of-type(3) { animation-delay: .36s; }
@keyframes ph-dot { 0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }
/* The floating buttons: Email me (while it works) and Undo (after) share one spot. Tapping
   Email me turns it into the chat's green "We'll email you" note. */
.ph-float { position: absolute; right: 10px; bottom: 65px; width: 0; height: 0; pointer-events: none; }
.ph-float > * { position: absolute; right: 0; bottom: 0; }
.ph-notify, .ph-undo {
  padding: 7px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap;
  background: var(--ph-pill); color: var(--ph-pill-text); border: 1px solid var(--ph-pill-line);
  box-shadow: 0 6px 18px rgba(0,0,0,0.28); transition: opacity .35s ease, transform .35s ease;
}
.ph-ok { padding: 5px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; color: #16A34A; background: var(--ph-bg); transition: opacity .35s ease, transform .35s ease; }
.ph-notify.off, .ph-undo.off, .ph-ok.off { opacity: 0; transform: translateY(8px); }
.ph-notify.press, .ph-undo.press { transform: scale(0.9); transition-duration: .12s; }
.ph-compose { flex: none; display: flex; align-items: center; gap: 7px; padding: 9px 10px 11px; background: var(--ph-head); border-top: 1px solid var(--ph-line); }
.ph-clip { position: relative; flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--ph-input); border: 1px solid var(--ph-input-line); color: var(--ph-muted); transition: transform .15s ease, background .15s ease; }
.ph-clip svg { width: 17px; height: 17px; }
.ph-clip.press { transform: scale(0.84); background: color-mix(in srgb, var(--ph-accent) 22%, var(--ph-input)); }
/* How many files are waiting to be sent (the chat's blue count on the paperclip). */
.ph-count { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; padding: 0 3px; display: grid; place-items: center; border-radius: 999px; border: 2px solid var(--ph-head); background: #3B82F6; color: #fff; font: 700 9.5px/1 -apple-system, "Segoe UI", sans-serif; transition: opacity .25s ease, transform .25s ease; }
.ph-count.off { opacity: 0; transform: scale(0.4); }
.ph-input { flex: 1 1 auto; min-width: 0; height: 36px; display: flex; align-items: center; overflow: hidden; padding: 0 12px; border-radius: 18px; background: var(--ph-input); border: 1px solid var(--ph-input-line); font-size: 12.5px; white-space: nowrap; }
.ph-input.is-typing { justify-content: flex-end; border-color: var(--ph-accent); }
.ph-placeholder { color: var(--ph-muted); }
.ph-typed:empty { display: none; }
.ph-typed:not(:empty) + .ph-placeholder { display: none; }
.ph-input.is-typing .ph-typed::after { content: ""; display: inline-block; width: 1.5px; height: 14px; margin-left: 1px; vertical-align: -2px; background: var(--ph-accent); animation: ph-caret 1s steps(1) infinite; }
@keyframes ph-caret { 50% { opacity: 0; } }
.ph-send { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--ph-accent); color: #fff; font-size: 16px; font-weight: 700; transition: transform .15s ease; }
.ph-send.press { transform: scale(0.84); }
.ph-row { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .5s cubic-bezier(.2,.8,.2,1), opacity .35s ease; }
.ph-row.off { grid-template-rows: 0fr; opacity: 0; }
.ph-in { min-height: 0; overflow: hidden; }
.ph-instant .ph-row, .ph-instant .ph-notify, .ph-instant .ph-undo, .ph-instant .ph-ok, .ph-instant .ph-chip, .ph-instant .ph-count, .ph-instant .ph-dialog { transition: none !important; }

/* A file waiting to be sent, above the message box: the chat's chip, "name (size) ×". */
.ph-chip { position: absolute; left: 10px; bottom: 64px; display: inline-flex; align-items: center; gap: 6px; max-width: 220px; padding: 4px 10px; border-radius: 999px; font-size: 11px; line-height: 1.4; background: var(--ph-chip-bg); color: var(--ph-chip-text); border: 1px solid var(--ph-chip-line); transition: opacity .3s ease, transform .3s ease; }
.ph-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-chip b { font-size: 14px; font-weight: 400; line-height: 1; color: var(--ph-chip-x); }
.ph-chip.off { opacity: 0; transform: translateY(6px); }

/* The chat's "are you sure?" before Undo (the browser's own confirm box), over the phone. */
.ph-dialog { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(0,0,0,0.42); transition: opacity .25s ease, visibility 0s; }
.ph-dialog.off { opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
.ph-dialog-box { width: 232px; overflow: hidden; border-radius: 14px; background: var(--ph-dialog); color: var(--ph-dialog-text); text-align: center; box-shadow: 0 18px 40px rgba(0,0,0,0.35); transform: scale(1); transition: transform .25s cubic-bezier(.2,.8,.2,1.2); }
.ph-dialog.off .ph-dialog-box { transform: scale(1.08); }
.ph-dialog-box p { margin: 0; padding: 15px 15px 13px; font-size: 12px; line-height: 1.45; }
.ph-dialog-btns { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ph-dialog-line); }
.ph-dialog-btns span { padding: 9px 0; font-size: 13px; color: var(--ph-dialog-btn); transition: background .12s ease; }
.ph-dialog-btns span + span { border-left: 1px solid var(--ph-dialog-line); font-weight: 700; }
.ph-dialog-btns span.press { background: color-mix(in srgb, var(--ph-dialog-text) 14%, transparent); }

/* The client's website beside the phone: it changes when the reply lands. Each business brings
   its own look through --s-* variables (.s-bigstack, .s-hale, ...). Fixed size. */
.site2 {
  position: relative; flex: none; width: 220px; height: 284px; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow);
  background: var(--s-bg); color: var(--s-fg); font: 12px/1.45 -apple-system, "Segoe UI", system-ui, sans-serif;
}
.site2-bar { flex: none; display: flex; align-items: center; gap: 5px; padding: 7px 9px; background: #ECECEC; border-bottom: 1px solid #DADADA; }
.site2-bar i { width: 7px; height: 7px; border-radius: 50%; background: #C8C8C8; }
.site2-bar span { flex: 1; margin-left: 5px; padding: 3px 7px; border-radius: 5px; background: #fff; color: #666; font: 10px/1.2 var(--f-mono); }
.site2-page { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.site2 .s-top { padding: 12px 14px; background: var(--s-top-bg); color: var(--s-top-fg); font: 700 14px/1.25 var(--s-family); }
.site2 .s-top small { font-size: .72em; font-weight: 600; opacity: .85; }
.site2 .s-body { display: grid; gap: 6px; padding: 12px 14px; }
.site2 .s-h { font: 700 13px var(--s-family); }
.s-hours { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0; }
.s-hours dt { font-weight: 600; }
.s-hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.s-flip { margin: 0 -4px; padding: 0 4px; border-radius: 4px; transition: background .5s ease; }
.s-flip.lit { background: var(--s-hi); font-weight: 700; }
.s-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 2px; }
.s-person { display: grid; justify-items: center; gap: 3px; text-align: center; font-size: 10.5px; font-weight: 600; transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1.4); }
.s-person i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #134E4A; font: 700 12px/1 -apple-system, "Segoe UI", sans-serif; }
.s-person small { font-size: 9.5px; font-weight: 400; opacity: 0.7; }
[data-appear="pop"].off { opacity: 0; transform: scale(0.6); }
.s-grow { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .55s cubic-bezier(.2,.8,.2,1), opacity .45s ease; }
.s-grow > div { min-height: 0; overflow: hidden; }
.s-grow.off { grid-template-rows: 0fr; opacity: 0; }
.s-alert { padding: 6px 10px; background: #DC2626; color: #fff; font-size: 11px; font-weight: 600; text-align: center; }
.s-promo { padding: 7px 10px; background: #FDF2F8; color: #9D174D; border-bottom: 1px solid #FBCFE8; font-size: 11px; text-align: center; }
.s-line { font-size: 11px; opacity: 0.8; }
.s-btn { justify-self: start; margin-top: 4px; padding: 6px 12px; border-radius: 999px; background: var(--s-top-bg); color: var(--s-top-fg); font-size: 11px; font-weight: 700; }
.s-shop { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-shop span { display: grid; gap: 3px; font-size: 10.5px; font-weight: 600; }
.s-shop i { display: block; height: 58px; border-radius: 8px; }
.s-shop em { font-style: normal; font-weight: 400; opacity: 0.75; }
/* Lists on a website card (menu items, openings, events, services); a new row can grow in. */
.s-row { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; font-size: 11px; border-bottom: 1px dashed color-mix(in srgb, var(--s-fg) 18%, transparent); }
.s-row b { font-weight: 600; }
.s-row span { white-space: nowrap; opacity: 0.75; }
.s-row.s-new { margin: 0 -6px; padding: 5px 6px; border-bottom: 0; border-radius: 5px; background: var(--s-hi); }
.s-note { font-size: 10.5px; opacity: 0.75; }
.site2-tag { position: absolute; left: 12px; bottom: 10px; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; color: #1E7A1E; background: #E3F3E3; opacity: 0; transform: translateY(4px); transition: opacity .4s ease, transform .4s ease; }
.site2-tag.on { opacity: 1; transform: none; }

.s-bigstack { --s-bg: #FFFBEB; --s-fg: #3B1A0B; --s-top-bg: #B91C1C; --s-top-fg: #FFF7ED; --s-family: "Arial Black", Arial, sans-serif; --s-hi: #FDE68A; }
.s-highscore { --s-bg: #140B26; --s-fg: #EDE9FE; --s-top-bg: #23113F; --s-top-fg: #F0ABFC; --s-family: "Arial Black", Arial, sans-serif; --s-hi: #7C3AED; }
.s-brightwater { --s-bg: #F0F9FF; --s-fg: #0C2A3A; --s-top-bg: #0E7490; --s-top-fg: #FFFFFF; --s-family: -apple-system, "Segoe UI", system-ui, sans-serif; --s-hi: #FDE68A; }
.s-northstar { --s-bg: #FFFFFF; --s-fg: #0B1F3A; --s-top-bg: #0B1F3A; --s-top-fg: #FACC15; --s-family: "Arial Black", Arial, sans-serif; --s-hi: #FEF3C7; }
.s-hale { --s-bg: #FFFFFF; --s-fg: #1C1917; --s-top-bg: #1C2B39; --s-top-fg: #F5E6C8; --s-family: Georgia, "Times New Roman", serif; --s-hi: #FDE68A; }
/* A printed menu photo, with a neon label that can glow over it. */
.s-menuimg { position: relative; display: grid; gap: 7px; height: 104px; padding: 11px 12px; overflow: hidden; border-radius: 8px; background: #F3EEE4; }
.s-menuimg i { height: 6px; border-radius: 3px; background: #CDC4B2; }
.s-menuimg i:nth-child(2n) { width: 72%; }
.s-menuimg i:nth-child(3n) { width: 54%; }
.s-neon {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: rgba(14, 4, 30, 0.8); color: #F5D0FE; font: 800 15px/1.15 "Arial Black", Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase;
  text-shadow: 0 0 6px #E879F9, 0 0 16px #C026D3; transition: opacity .7s ease;
}
[data-appear="fade"].off { opacity: 0; }
/* A new team member with a gold outline and a label. */
.s-newest { position: relative; }
.s-newest em { position: absolute; top: -12px; right: -6px; padding: 1px 5px; border-radius: 999px; font-size: 7.5px; font-style: normal; font-weight: 700; white-space: nowrap; color: #92400E; background: #FEF3C7; }
.s-newest i { box-shadow: 0 0 0 2px #D4A017; }
.s-team { padding-top: 10px; }
/* Location tiles, with an urgent one. */
.s-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.s-tiles span { padding: 7px 8px; border-radius: 7px; font-size: 10.5px; font-weight: 600; background: color-mix(in srgb, var(--s-fg) 7%, transparent); }
.s-tiles .s-urgent { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; color: #78350F; background: #FEF3C7; box-shadow: inset 0 0 0 1.5px #D4A017; }
.s-urgent em { padding: 2px 6px; border-radius: 999px; font-size: 8.5px; font-style: normal; font-weight: 800; color: #fff; background: #D4A017; }
/* The small line above a law firm's headline. */
.s-kicker { font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #92400E; }
/* An awards list; a new award slides open at the top (data-appear="grow"). */
.s-keystone { --s-bg: #F6FAF7; --s-fg: #14281D; --s-top-bg: #1F5F3F; --s-top-fg: #FFFFFF; --s-family: "Trebuchet MS", -apple-system, "Segoe UI", sans-serif; --s-hi: #FDE68A; }
.s-award { display: grid; grid-template-columns: 22px 1fr; column-gap: 7px; align-items: center; margin-bottom: 5px; padding: 5px 7px; border-radius: 7px; background: color-mix(in srgb, var(--s-fg) 6%, transparent); }
.s-award i { grid-row: span 2; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-size: 11px; color: #92400E; background: #FEF3C7; }
.s-award b { font-size: 10.5px; font-weight: 700; line-height: 1.25; }
.s-award small { font-size: 9px; line-height: 1.25; opacity: 0.75; }
.s-award-new { color: #78350F; background: #FEF3C7; box-shadow: inset 0 0 0 1.5px #D4A017; }
.s-award-new i { color: #fff; background: #D4A017; }
.s-award-new small { opacity: 0.9; }

/* The proof screenshot inside the reply: a small picture of the same website, after. */
.ph-shot { display: block; margin-top: 7px; overflow: hidden; border-radius: 9px; border: 1px solid var(--ph-shot-line); background: var(--s-bg); color: var(--s-fg); font-size: 9.5px; line-height: 1.35; }
.ph-shot .shot-top { display: block; padding: 7px 9px; background: var(--s-top-bg); color: var(--s-top-fg); font: 700 11px var(--s-family); }
.ph-shot .shot-body { display: grid; gap: 1px; padding: 7px 9px 9px; }
.ph-shot .shot-body b { margin-bottom: 2px; font: 700 10.5px var(--s-family); }
.ph-shot em { justify-self: start; padding: 0 4px; border-radius: 3px; font-style: normal; font-weight: 700; background: var(--s-hi); }
.ph-shot .shot-alert { display: block; padding: 4px 8px; background: #DC2626; color: #fff; font-size: 9px; font-weight: 700; text-align: center; }
.ph-shot .shot-promo { display: block; padding: 4px 8px; background: #FDF2F8; color: #9D174D; font-size: 9px; text-align: center; }
.ph-shot .shot-team { display: flex; gap: 4px; margin: 2px 0 3px; }
.ph-shot .shot-neon { display: block; margin: 2px 0; padding: 6px; border-radius: 4px; text-align: center; font-size: 8.5px; font-weight: 800; letter-spacing: .06em; color: #F5D0FE; background: #23113F; text-shadow: 0 0 4px #E879F9; }
.ph-shot .shot-team i { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #BAE6FD; color: #134E4A; font: 700 7px/1 -apple-system, sans-serif; }
.ph-shot .shot-team i.hi { background: #FBCFE8; box-shadow: 0 0 0 2px var(--s-hi); }
/* A printed menu photo, small (the undo's screenshot: the menu without the label). */
.ph-shot .shot-menu { display: grid; gap: 4px; margin: 2px 0 3px; padding: 7px 8px; border-radius: 4px; background: #F3EEE4; }
.ph-shot .shot-menu i { height: 4px; border-radius: 2px; background: #CDC4B2; }
.ph-shot .shot-menu i:nth-child(2n) { width: 70%; }

/* The carousel: one client per slide; the next slides in from the right. Fixed size.
   The stage is padded so the phone's shadow isn't cut off by the slide window. */
.cdemo { display: grid; justify-items: end; gap: 12px; }
.cdemo-stage { position: relative; width: 534px; height: 648px; margin-right: -28px; overflow: hidden; }
.cdemo-slide {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 10px 28px 36px;
  transform: translateX(112%); visibility: hidden; transition: transform .8s cubic-bezier(.65,0,.35,1), visibility 0s linear .8s;
}
.cdemo-slide.on { transform: none; visibility: visible; transition: transform .8s cubic-bezier(.65,0,.35,1), visibility 0s; }
.cdemo-slide.out { transform: translateX(-112%); visibility: visible; transition: transform .8s cubic-bezier(.65,0,.35,1), visibility 0s linear .8s; }
.cdemo-slide.no-anim, .cd-instant, .cd-instant * { transition: none !important; }
.cdemo-slide .site2 { position: relative; z-index: 0; margin: 0 -38px 118px 0; }
/* The phone covers the card's right edge: keep the words and badges clear of it. */
.cdemo-slide .site2 .s-top, .cdemo-slide .site2 .s-body { padding-right: 48px; }
.cdemo-slide .ph { z-index: 1; }
.cdemo-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; width: 100%; }
.cdemo-nav button {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink-3); font: 600 .78rem/1.2 var(--f-body);
}
.cdemo-nav button i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.cdemo-nav button:hover { color: var(--ink); }
.cdemo-nav button[aria-current="true"] { color: var(--ink); background: var(--surface); border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); }
.cdemo-nav button[aria-current="true"] i { opacity: 1; background: var(--demo-dot, var(--live)); }
.cdemo-caption { margin: 0; font-size: .85rem; color: var(--ink-3); }
/* One phone on its own (renderSolo): it doesn't slide, so nothing needs clipping. */
.cdemo-solo { justify-items: center; }
.cdemo-solo .cdemo-stage { width: auto; height: auto; margin: 0; overflow: visible; }
.cdemo-solo .cdemo-slide { position: relative; inset: auto; display: block; padding: 0; transform: none; visibility: visible; transition: none; }
.cdemo-solo .cdemo-caption { text-align: center; }
/* A carousel in a hero sits beside the words when wide, and under them below 1080 px. */
@media (max-width: 1080px) {
  .hero-grid.hero-demo { grid-template-columns: 1fr; }
  .cdemo { justify-items: center; }
  .cdemo-stage { margin-right: 0; }
  .cdemo-nav { justify-content: center; }
}
@media (max-width: 560px) {
  .cdemo:not(.cdemo-solo) .cdemo-stage { width: 100%; height: 930px; }
  .cdemo:not(.cdemo-solo) .cdemo-slide { flex-direction: column; align-items: center; justify-content: flex-start; gap: 16px; padding: 10px 0 30px; }
  .cdemo:not(.cdemo-solo) .cdemo-slide .site2 { order: 2; margin: 0; }
  .cdemo:not(.cdemo-solo) .cdemo-slide .ph { order: 1; width: min(296px, 100%); height: 570px; }
  .cdemo-caption { text-align: center; }
}

/* A how-to section in the client guide: the words beside a phone that shows it. */
.how { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 44px); align-items: start; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } }
/* "Your chat at a glance": the numbered picture beside its legend. */
.glance { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 40px); align-items: start; margin: 0; }
.glance .legend { margin-top: 0; }
@media (max-width: 760px) { .glance { grid-template-columns: 1fr; } }

/* ── motion ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── print ────────────────────────────────────────────────────────────── */
@media print {
  :root, :root[data-theme], :root:not([data-theme="light"]) { color-scheme: light; --paper: #fff; --surface: #fff; --surface-2: #f3f5f2; --ink: #000; --ink-2: #333; --ink-3: #555; --line: #ccc; --live: #0B7A53; --live-ink: #fff; --live-soft: #DCF1E7; --live-text: #075E40; --stage: #8F5500; --stage-soft: #FBEAC9; --shadow: none; }
  body { font-size: 11pt; }
  .site-head, .jump, .site-foot nav, .theme-btn, .hero-actions, .no-print { display: none !important; }
  .sec { padding-block: 18pt; }
  .group, .steps li, .stat, .faq details, .timeline li, .fit > div, .chat, .dash { break-inside: avoid; }
  .faq details > .ans { display: grid !important; }
  .faq summary::after { display: none; }
  .chat, .dash, .site-card { box-shadow: none; }
  .cta-band { background: #fff; color: #000; border: 1px solid #ccc; }
  .cta-band h2, .cta-band p, .cta-band a { color: #000 !important; }
  a { color: #000; text-decoration: none; }
}
