/* ============ Tokens ============ */
:root {
  --navy: #0D0D35; --indigo: #2B2A80; --violet: #7674FF; --peri: #96A2EE; --cream: #FFEACA;
  --light: #F5F6F9; --panel: #FAFBFC; --border: #E0E0E0; --border-soft: #EFF0FA;
  --ink: #0D0D35; --gray: #727272; --muted: #BCBCBC;
  --ok: #4CAF50; --ok-ink: #1E8E3E; --ok-bg: #E6F4EA; --alert: #EF3826; --alert-bg: #FDE7E4;
  --on-navy: #E8EDFB; --on-navy-dim: rgba(232, 237, 251, 0.82);
  --font: "Nunito Sans", system-ui, sans-serif;
  --font-num: "Anek Gujarati", "Nunito Sans", sans-serif;
  --radius: 16px; --radius-sm: 10px;
  --gutter: clamp(20px, 5vw, 72px);
  --shadow: 0 30px 80px rgba(13, 13, 53, 0.28);
  /* page chrome (switches with theme); --ink/--gray/--border stay fixed because the product mocks are "screens" */
  --page: #fff; --page-alt: #F5F6F9; --surface: #fff; --surface-2: #FAFBFC;
  --text: #0D0D35; --text-2: #585C6E; --text-3: #9A9DB0; --line: #E0E0E0; --line-soft: #EFF0FA;
  --accent-ink: #7674FF; --pill-bg: rgba(13, 13, 53, 0.06); --pill-ink: #0D0D35; --link-ink: #2B2A80;
  --nav-bg: rgba(255, 255, 255, 0.92); --wash: #FFF8EC; --wash-line: #F3E4C8;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --page: #07071F; --page-alt: #0C0C30; --surface: #12123C; --surface-2: #171747;
  --text: #E8EDFB; --text-2: #A9B0D6; --text-3: #6F76A8; --line: rgba(150, 162, 238, 0.30); --line-soft: rgba(150, 162, 238, 0.16);
  --accent-ink: #96A2EE; --pill-bg: rgba(150, 162, 238, 0.16); --pill-ink: #96A2EE; --link-ink: #96A2EE;
  --nav-bg: rgba(7, 7, 31, 0.88); --shadow: 0 30px 80px rgba(0, 0, 0, 0.5); --wash: #0C0C30; --wash-line: rgba(150, 162, 238, 0.16);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #07071F; --page-alt: #0C0C30; --surface: #12123C; --surface-2: #171747;
    --text: #E8EDFB; --text-2: #A9B0D6; --text-3: #6F76A8; --line: rgba(150, 162, 238, 0.30); --line-soft: rgba(150, 162, 238, 0.16);
    --accent-ink: #96A2EE; --pill-bg: rgba(150, 162, 238, 0.16); --pill-ink: #96A2EE; --link-ink: #96A2EE;
    --nav-bg: rgba(7, 7, 31, 0.88); --shadow: 0 30px 80px rgba(0, 0, 0, 0.5); --wash: #0C0C30; --wash-line: rgba(150, 162, 238, 0.16);
    color-scheme: dark;
  }
}
@font-face { font-family: "Nunito Sans"; src: url("../fonts/NunitoSans-Regular.woff2") format("woff2-variations"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/NunitoSans-Italic.woff2") format("woff2-variations"); font-weight: 200 1000; font-style: italic; font-display: swap; }
@font-face { font-family: "Anek Gujarati"; src: url("../fonts/AnekGujarati.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--page); line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
section[id], article[id] { scroll-margin-top: 84px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--indigo); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.stat b, .steps__head span, .tip__n, .mcp__head .tag, .kpi, .app__kpis b, .mini__strip .end, .run__head .tag { font-variant-numeric: tabular-nums; }
.container { max-width: 1296px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(60px, 8vw, 100px); }
.section--navy { background: var(--navy); color: #fff; }
.section--light { background: var(--page-alt); }
.accent { color: var(--accent-ink); }
.section--navy .accent { color: var(--peri); }

/* ============ Type ============ */
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; letter-spacing: 0.02em; padding: 6px 14px; border-radius: 999px; background: var(--pill-bg); color: var(--pill-ink); }
.section--navy .pill { background: rgba(150, 162, 238, 0.16); color: var(--peri); }
.h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.032em; font-weight: 800; text-wrap: balance; }
.h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
.h3 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
.pill + .h1, .pill + .h2 { margin-top: 18px; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--text-2); margin-top: 20px; max-width: 760px; text-wrap: pretty; }
.section--navy .lede { color: var(--on-navy-dim); }
.small { font-size: 14px; color: var(--text-2); }
.section--navy .small { color: var(--peri); }

.pn { font-weight: 700; color: var(--text); }
.section--navy .pn, .tile .pn { color: inherit; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 16px; line-height: 1; padding: 15px 26px; border-radius: 12px; white-space: nowrap; border: 1px solid transparent; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--indigo); color: #fff; }
.btn--primary:hover { background: #3F3EA0; color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--cream); color: var(--navy); }
.btn--ghost { border-color: rgba(150, 162, 238, 0.45); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--sm { padding: 11px 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ============ Nav ============ */
.nav { position: sticky; top: 0; z-index: 40; background: var(--nav-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.nav__inner { display: flex; align-items: center; gap: 32px; padding-block: 16px; }
.nav__logo { display: flex; align-items: center; gap: 9px; }
.nav__logo img:first-child { width: 26px; height: 30px; }
.nav__logo img:last-child { height: 20px; }
.nav__links { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav__links a { font-weight: 600; font-size: 16px; }
.nav__links a:hover { color: var(--accent-ink); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); position: relative; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--text); }
.nav__toggle span::before { top: -7px; } .nav__toggle span::after { top: 7px; }

.theme-toggle { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-2); border: 1px solid var(--line-soft); }
.theme-toggle:hover { color: var(--text); border-color: var(--line); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: block; }
}
:root[data-theme="dark"] .nav__logo img { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav__logo img { filter: brightness(0) invert(1); } }
/* Product mocks are screens of the customer's product: they keep their own light palette in both themes */
.app, .ticket, .browser, .mock--light, .card__visual { color: var(--ink); }

/* ============ Footer ============ */
.footer { padding: 56px 0 32px; border-top: 1px solid var(--line-soft); background: var(--page); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__tag { margin-top: 16px; max-width: 320px; color: var(--text-2); }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col span { font-size: 14px; font-weight: 800; color: var(--text); }
.footer__col a { font-size: 15px; }
.footer__col a:hover { color: var(--accent-ink); }
.footer__bottom { display: flex; align-items: center; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--text-3); font-size: 14px; }
.footer__social { display: flex; gap: 16px; margin-left: auto; font-weight: 600; color: var(--text-2); }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero__bg { position: absolute; left: 50%; top: -40px; width: 720px; margin-left: -360px; opacity: 0.05; pointer-events: none; }
.hero__copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__copy .lede { margin-top: 24px; max-width: 800px; }
.rotator { display: inline-grid; text-align: right; vertical-align: top; }
.rotator__word { grid-area: 1 / 1; color: var(--cream); opacity: 0; transform: translateY(0.35em); transition: opacity 0.28s ease, transform 0.28s ease; }
.rotator__word.is-active { opacity: 1; transform: none; }
.hero__copy .btn-row { margin-top: 32px; justify-content: center; }
.hero__note { margin-top: 14px; font-size: 14px; color: var(--peri); }
.hero--light .hero__note { color: var(--text-2); }
.cta__note { margin-top: 14px; font-size: 14px; color: var(--on-navy-dim); }
.proof { margin-top: 22px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; font-size: 13px; color: var(--text-2); }
.proof__logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 18px; }
.proof__logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 15px; color: var(--text); text-decoration: none; white-space: nowrap; }
.proof__logo:hover { text-decoration: underline; text-underline-offset: 3px; }
.proof__logo img { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; }
.hero__mock { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.hero__mock::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; }
.hero-mock { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-mock__bar { gap: 14px; padding: 10px 14px; }
.hero-mock__hint { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-navy-dim); }
.hero-mock__hint b { color: #fff; }
.switch { display: flex; gap: 4px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(150, 162, 238, 0.22); border-radius: 10px; padding: 4px; }
.switch__tab { font-size: 14px; font-weight: 700; color: var(--peri); padding: 7px 16px; border-radius: 7px; transition: background 0.15s, color 0.15s; }
.switch__tab:hover { color: #fff; }
.switch__tab[aria-selected="true"] { background: #fff; color: var(--navy); }
.pane__body { padding: 18px; display: grid; gap: 14px; }

.hero-panel { display: flex; flex-direction: column; }
.hero-panel .scene__grid { flex: 1; }
.cursor--owl { opacity: 0; transition: transform 0.55s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.3s; }
.scene--guide .cursor--user, .scene--guide-alert .cursor--user { opacity: 0; transition: opacity 0.25s; }
.scene--guide .cursor--user.is-on, .scene--guide-alert .cursor--user.is-on { opacity: 1; }
.cursor--owl.is-on { opacity: 1; }

/* Voice call controls in a Show demo */
.callbar { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; background: rgba(13, 13, 53, 0.92); color: #fff; border-radius: 999px; box-shadow: 0 10px 30px rgba(13, 13, 53, 0.35); z-index: 3; white-space: nowrap; }
.callbar__voice { font-size: 11px; font-weight: 700; color: var(--peri); margin-right: 4px; }
.callbar__btn { position: relative; width: 30px; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); display: inline-flex; align-items: center; justify-content: center; }
.callbar__btn svg { width: 15px; height: 15px; }
.callbar__btn--mic { background: var(--ok-ink); }
.callbar__btn--mic i { position: absolute; inset: -3px; border-radius: 999px; border: 2px solid rgba(76, 175, 80, 0.6); opacity: 0; }
.callbar.is-speaking .callbar__btn--mic i { animation: mic-pulse 1.4s ease-out infinite; }
.callbar.is-speaking .callbar__btn--mic i:nth-child(2) { animation-delay: 0.45s; }
.callbar.is-speaking .callbar__btn--mic i:nth-child(3) { animation-delay: 0.9s; }
.callbar.is-speaking .callbar__voice { color: var(--cream); }
@keyframes mic-pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.9); opacity: 0; } }
.callbar__btn--end { background: var(--alert); }

/* Scenes: a mock whose cursor and UI are driven by js/site.js */
.scene { position: relative; }
.scene__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; padding: 18px; background: var(--light); }
.scene__grid--answer { grid-template-columns: 1fr 1.55fr; }
.scene__stack { display: grid; gap: 14px; padding: 16px; background: var(--light); }
.scene__side { display: grid; gap: 14px; align-content: start; }
.scene .cursor { left: 0; top: 0; animation: none; transform: translate(60px, 80px); transition: transform 0.55s cubic-bezier(0.25, 0.1, 0.25, 1); z-index: 5; }
.app--lg { min-height: 340px; grid-template-columns: 150px 1fr; }
.app--lg .app__main { padding: 22px 24px; gap: 14px; }
.scene__stack .app--lg { min-height: 0; grid-template-columns: 120px 1fr; }
.scene__stack .app--lg .app__main { padding: 18px 20px; gap: 12px; }
.field__ph { color: var(--muted); font-weight: 500; }
.app__row { display: flex; align-items: center; gap: 8px; }
.app__row .app__title { margin-right: auto; }
.app__tool { font-size: 12px; font-weight: 700; padding: 7px 12px; border: 1px solid var(--border); border-radius: 7px; background: #fff; transition: background 0.15s, color 0.15s; }
.app__tool.is-hot { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.app__chart { height: 120px; border: 1px solid var(--border); border-radius: 8px; background: #fff; display: flex; align-items: flex-end; gap: 8px; padding: 12px; }
.app__chart span { flex: 1; background: #E3E6EC; border-radius: 4px; }
.app__chart span:nth-child(4) { background: var(--violet); }
.app__chart span { transition: height 0.5s ease, background 0.3s; }
.app__chart.is-seg span { background: var(--peri); }
.app__chart.is-seg span:nth-child(1) { height: 22% !important; } .app__chart.is-seg span:nth-child(2) { height: 64% !important; } .app__chart.is-seg span:nth-child(3) { height: 30% !important; }
.app__chart.is-seg span:nth-child(4) { height: 92% !important; background: var(--violet); } .app__chart.is-seg span:nth-child(5) { height: 44% !important; } .app__chart.is-seg span:nth-child(6) { height: 78% !important; } .app__chart.is-seg span:nth-child(7) { height: 58% !important; }
.app__rows { display: grid; gap: 8px; }
.app__rows span { height: 12px; border-radius: 4px; background: #E9EBF0; }
.app__rows span:first-child { width: 70%; }
.app__menu { position: absolute; z-index: 3; }
.app__dl { font-size: 12px; font-weight: 700; color: var(--ok-ink); background: var(--ok-bg); border-radius: 7px; padding: 7px 10px; }
.app__btn { transition: background 0.15s; }
.app__list { display: grid; gap: 8px; }
.app__member { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.app__member.is-focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(118, 116, 255, 0.18); }
.app__member b { display: block; font-size: 13px; }
.app__member small { display: block; font-size: 11px; color: var(--gray); }
.app__btn.is-pressed { background: var(--ok-ink); }
.scene__main { display: grid; gap: 14px; align-content: start; }
.mcp { background: #08081F; border: 1px solid rgba(150, 162, 238, 0.28); border-radius: var(--radius-sm); padding: 12px 14px; display: grid; gap: 8px; color: #fff; }
.mcp__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 800; color: var(--peri); }
.mcp__call { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 7px; background: rgba(255, 255, 255, 0.07); }
.mcp__call code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: #E8EDFB; overflow-wrap: anywhere; }
.mcp__res { font-size: 11px; font-weight: 800; white-space: nowrap; color: var(--peri); }
.mcp__res.is-ok { color: var(--ok); }
.mcp__call { transition: opacity 0.25s; }
.mcp__call.is-queued { opacity: 0.38; }
.mcp__res.is-warn { color: var(--cream); }
.app--state { min-height: 0; }
.app--state .app__main { padding: 16px 18px; gap: 12px; }
.app--state .app__chart { height: 90px; }
.tickets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.answer-home .mock__bar { gap: 12px; }
.switch--sm { padding: 3px; }
.switch--sm .switch__tab { font-size: 13px; padding: 5px 12px; }
.answer-home .mock__bar .tag { margin-left: auto; }
.did { display: grid; gap: 6px; }
.did__row { display: grid; grid-template-columns: 74px 1fr; gap: 10px; align-items: baseline; padding: 8px 12px; border-radius: 8px; background: #fff; border: 1px solid #E9EBF0; font-size: 13px; color: var(--ink); opacity: 0.45; transition: opacity 0.3s, background 0.3s; }
.did__row.is-done { opacity: 1; }
.did__k { font-weight: 800; color: var(--indigo); }
.did__row--warn.is-done { background: #FFF4E3; border-color: #FFD08A; }
.did__row--warn.is-done .did__k { color: #9A6B00; }
.slack { background: #fff; color: var(--ink); border: 1px solid rgba(150, 162, 238, 0.35); border-radius: var(--radius-sm); padding: 12px 14px; display: grid; gap: 10px; font-size: 13px; }
.slack__head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--gray); }
.slack__head img { width: 16px; height: 16px; }
.slack__empty { font-size: 12px; color: var(--muted); padding: 6px 0; }
.slack__head b { color: var(--ink); }
.slack__msg { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.slack__msg p { margin: 6px 0 8px; line-height: 1.45; }
.slack__app { font-size: 10px; font-weight: 800; color: var(--gray); background: var(--light); border: 1px solid var(--border); border-radius: 3px; padding: 1px 4px; vertical-align: middle; }
.slack__btn { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 10px; border: 1px solid var(--border); border-radius: 6px; margin-right: 6px; }
.slack__btn:first-of-type { background: var(--ok-ink); border-color: var(--ok-ink); color: #fff; }
.agent { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; background: #FFF4E3; color: var(--ink); border-left: 3px solid #FFD08A; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13px; line-height: 1.45; }
.agent .avatar--owl { background: var(--navy); }
.agent p { margin: 0; min-height: calc(1.45em * 3); }
.scene__grid .agent p { min-height: calc(1.45em * 4); }
.ticket__head .tag { flex: none; }

/* Light hero (variant E) */
.hero--light { background: var(--page); color: var(--text); }
.hero--light .hero__bg { display: none; }
.hero--light .accent { color: var(--link-ink); }
.hero--light .rotator__word { color: var(--accent-ink); }
.hero--light .lede { color: var(--text-2); }
.hero--light .btn--ghost { color: var(--text); border-color: var(--line); }
.hero--light .btn--ghost:hover { border-color: var(--text); color: var(--text); }
.hero--light + .section { padding-top: clamp(24px, 4vw, 48px); }

/* ============ Mock primitives ============ */
.mock { background: #fff; color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 13px; line-height: 1.4; }
.mock--dark { background: var(--navy); color: #fff; border-color: rgba(150, 162, 238, 0.28); }
.mock--light { background: #fff; color: var(--ink); border-color: var(--border); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--navy); border-bottom: 1px solid rgba(150, 162, 238, 0.18); font-size: 12px; color: var(--peri); }
.mock--light .mock__bar { background: var(--panel); border-color: var(--border-soft); color: var(--gray); }
.mock--light .mock__bar .label { color: var(--ink); }
.mock__bar .label { font-weight: 800; margin-right: auto; color: #fff; }
.mock__url { font-weight: 600; margin-left: 6px; }
.dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; flex: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.tag--live { color: var(--alert); background: var(--alert-bg); }
.tag--ok { color: var(--ok-ink); background: var(--ok-bg); }
.tag--warn { color: var(--navy); background: var(--cream); }
.tag--peri { color: var(--peri); background: rgba(150, 162, 238, 0.16); }
.tag--live::before, .tag--ok::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }

/* Fake SaaS app (Guide runs inside it) */
.app { position: relative; display: grid; grid-template-columns: 120px 1fr; background: #fff; color: var(--ink); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid rgba(150, 162, 238, 0.35); min-height: 250px; }
.app__side { background: var(--light); border-right: 1px solid var(--border-soft); padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.app__brand { width: 28px; height: 28px; border-radius: 8px; background: var(--indigo); margin-bottom: 8px; }
.app__nav { height: 24px; border-radius: 6px; background: #E9EBF0; }
.app__nav.is-active { background: var(--indigo); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; padding-left: 8px; }
.app__main { padding: 18px 20px; display: grid; gap: 12px; align-content: start; }
.app__title { font-weight: 800; font-size: 15px; }
.field { display: grid; gap: 5px; font-size: 11px; color: var(--gray); font-weight: 700; }
.field__input { display: flex; align-items: center; justify-content: space-between; height: 32px; border: 1px solid var(--border); border-radius: 7px; padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--ink); background: #fff; }
.field__input.is-focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(118, 116, 255, 0.18); }
.field__input .caret { color: var(--muted); }
.app__perm { display: flex; gap: 8px; flex-wrap: wrap; }
.app__perm span { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--gray); }
.app__perm span.is-on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.app__btn { justify-self: start; background: var(--indigo); color: #fff; font-weight: 700; font-size: 12px; padding: 8px 14px; border-radius: 8px; }
/* The DemoOwl demo cursor, as injected by hedwig (src/hedwig/lib/demo/cursor.py) */
.cursor { position: absolute; left: 160px; top: 96px; width: 20px; height: 20px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35)); animation: cursor-guide 7s ease-in-out infinite; pointer-events: none; }
.cursor svg { display: block; }
.cursor__tag { position: absolute; left: 18px; top: 12px; background: #222; color: #fff; font-size: 11px; font-weight: 600; font-family: -apple-system, BlinkMacSystemFont, sans-serif; padding: 2px 6px; border-radius: 4px; white-space: nowrap; line-height: 1.3; letter-spacing: 0.02em; }
@keyframes cursor-guide {
  0%, 12% { transform: translate(0, 0); }
  30%, 42% { transform: translate(60px, 56px); }
  60%, 72% { transform: translate(130px, 100px); }
  88%, 100% { transform: translate(20px, 150px); }
}

.app__side--labels .app__nav { background: transparent; color: var(--gray); font-size: 12px; font-weight: 700; display: flex; align-items: center; padding-left: 8px; border-radius: 6px; transition: background 0.2s, color 0.2s; }
.app__side--labels .app__nav.is-active { background: var(--indigo); color: #fff; }
.app__view { display: grid; gap: 12px; }
.app__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app__kpis div { border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; }
.app__kpis span { display: block; font-size: 10px; color: var(--gray); font-weight: 700; }
.app__kpis b { display: block; font-size: 15px; margin-top: 2px; }

/* Embedded DemoOwl panel inside the customer's product */
.app--widget .app__main { padding-right: 250px; }
.widget { position: absolute; right: 14px; bottom: 14px; width: 220px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 16px 40px rgba(13, 13, 53, 0.18); display: grid; gap: 8px; padding: 10px; font-size: 12px; color: var(--ink); z-index: 2; }
.widget__head { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.widget__head .avatar { width: 22px; height: 22px; }
.widget__head .avatar img { width: 11px; height: 13px; }
.widget__dot { width: 7px; height: 7px; border-radius: 999px; background: var(--ok); margin-left: auto; }
.widget__body { display: grid; gap: 6px; min-height: 64px; align-content: end; }
.widget__msg { padding: 7px 9px; border-radius: 9px; line-height: 1.4; max-width: 92%; }
.widget__msg--user { background: var(--light); justify-self: end; }
.widget__msg--agent { background: var(--cream); color: var(--navy); justify-self: start; }
.widget__input { display: flex; align-items: center; gap: 6px; min-height: 30px; border: 1px solid var(--border); border-radius: 8px; padding: 0 9px; font-weight: 600; }
.widget__input.is-focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(118, 116, 255, 0.18); }
.scene__stack .app--widget .app__main { padding-right: 216px; }
.scene__stack .widget { width: 196px; }

.cursor--user .cursor__tag { background: var(--violet); }
.spot { position: absolute; z-index: 2; border-radius: 8px; box-shadow: 0 0 0 9999px rgba(13, 13, 53, 0.45), 0 0 0 3px var(--cream); pointer-events: none; transition: left 0.35s ease, top 0.35s ease, width 0.35s ease, height 0.35s ease; }
.widget { z-index: 3; }
.app__menu { z-index: 3; }
.tip { position: absolute; z-index: 4; max-width: 230px; background: var(--cream); color: var(--navy); border-radius: 9px; padding: 8px 10px; font-size: 12px; line-height: 1.4; box-shadow: 0 10px 30px rgba(13, 13, 53, 0.3); display: grid; gap: 3px; }
.tip::before { content: ""; position: absolute; left: 14px; top: -6px; width: 12px; height: 12px; background: var(--cream); transform: rotate(45deg); }
.tip--above::before { top: auto; bottom: -6px; }
.tip__n { font-size: 10px; font-weight: 800; letter-spacing: 0.04em; color: var(--indigo); }

/* Step rail */
.steps { display: grid; gap: 6px; }
.steps__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 800; font-size: 13px; color: var(--ink); padding: 2px 2px 6px; }
.steps__head span { font-weight: 700; color: var(--gray); font-size: 12px; }
.step { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; background: #fff; border: 1px solid #E9EBF0; color: var(--ink); font-weight: 600; }
.step::before { content: ""; width: 16px; height: 16px; border-radius: 999px; border: 1.5px solid var(--muted); flex: none; }
.step.is-done { color: var(--gray); }
.step.is-done::before { background: var(--ok); border-color: var(--ok); }
.step.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.step.is-active::before { border-color: #fff; box-shadow: inset 0 0 0 3px var(--navy); background: #fff; }
.step .tag { margin-left: auto; }

/* Ticket */
.ticket { display: grid; gap: 12px; background: #fff; color: var(--ink); border-radius: var(--radius-sm); padding: 14px; border: 1px solid rgba(150, 162, 238, 0.35); }
.ticket__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 800; font-size: 13px; }
.ticket__head small { display: block; font-weight: 600; color: var(--gray); font-size: 12px; }
.msg { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.msg p { font-size: 13px; line-height: 1.45; padding: 10px 12px; border-radius: 10px; background: var(--light); }
.msg--owl p { background: var(--navy); color: #fff; }
.avatar { width: 28px; height: 28px; border-radius: 999px; background: var(--cream); color: var(--navy); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.avatar--owl { background: var(--indigo); }
.avatar--owl img { width: 14px; height: 16px; filter: brightness(0) invert(1); }
.ticket__foot { font-size: 12px; color: var(--gray); font-weight: 600; display: flex; align-items: center; gap: 8px; }

/* Browser strip with a menu open */
.browser { background: #fff; color: var(--ink); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid rgba(150, 162, 238, 0.35); }
.browser__body { position: relative; padding: 14px; background: var(--light); min-height: 84px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }
.bars { display: grid; gap: 8px; }
.bars span { height: 12px; border-radius: 4px; background: #E9EBF0; }
.bars span:first-child { width: 60%; background: var(--indigo); height: 16px; }
.menu { background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 30px rgba(13, 13, 53, 0.15); font-size: 12px; font-weight: 600; min-width: 130px; overflow: hidden; }
.menu span { display: block; padding: 7px 12px; }
.menu span:first-child { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.menu span.is-hot { background: var(--indigo); color: #fff; }

/* Floating toast */
.toast { position: absolute; right: clamp(8px, 3vw, 40px); bottom: 24px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 14px; box-shadow: 0 20px 50px rgba(13, 13, 53, 0.35); font-size: 13px; max-width: 360px; border: 1px solid var(--border-soft); }
.toast b { font-weight: 800; }

/* ============ Product modules (Guide, Answer) ============ */
.modules { display: grid; gap: 28px; }
.module { background: var(--surface); color: var(--text); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 72px); align-items: center; }
.module--flip .module__visual { order: -1; }
.module .h2 { font-size: clamp(30px, 3.4vw, 46px); }
.module__copy .btn-row { margin-top: 28px; }
.module__tiles { grid-column: 1 / -1; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { background: var(--page-alt); border-radius: var(--radius-sm); padding: 18px; }
.tile b { display: block; font-size: 15px; font-weight: 800; color: var(--text); }
.tile span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.module__visual .mock { box-shadow: var(--shadow); }
.module__visual .pane__body { padding: 16px; }

/* ============ Why now ============ */
.section--wash { background: var(--wash); }
.section--wash .card { border-color: var(--wash-line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.card__visual { border-radius: var(--radius-sm); background: var(--light); padding: 14px; min-height: 160px; }
.card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.card p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.card__fix { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); font-weight: 700; font-size: 14px; color: var(--link-ink); }
/* calendar of onboarding calls */
.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; font-size: 10px; }
.cal__day { display: grid; gap: 4px; align-content: start; }
.cal__day b { color: var(--muted); font-weight: 800; text-align: center; font-size: 10px; }
.cal__block { height: 22px; border-radius: 4px; background: #E9EBF0; }
.cal__block.is-call { background: var(--indigo); color: #fff; display: flex; align-items: center; padding-left: 5px; font-weight: 700; white-space: nowrap; overflow: hidden; }
/* activation funnel */
.funnel { display: grid; gap: 7px; }
.funnel__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; font-size: 11px; font-weight: 700; color: var(--gray); }
.funnel__bar { height: 20px; border-radius: 4px; background: var(--peri); }
.funnel__row.is-drop .funnel__bar { background: var(--alert); }
.funnel__row.is-drop { color: var(--alert); }
/* stale docs list */
.docs { display: grid; gap: 6px; }
.docs__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; border: 1px solid var(--border-soft); border-radius: 6px; padding: 8px 10px; font-size: 12px; font-weight: 600; }

/* ============ How it works (stepper) ============ */
.stepper { display: grid; grid-template-columns: minmax(280px, 0.9fr) 1.4fr; gap: clamp(28px, 4vw, 56px); margin-top: 48px; align-items: start; }
.stepper__list { display: grid; gap: 4px; border-left: 2px solid var(--line-soft); }
.stepper__item { text-align: left; padding: 18px 20px; margin-left: -2px; border-left: 2px solid transparent; display: grid; gap: 6px; align-content: start; border-radius: 0 10px 10px 0; transition: background 0.2s; }
@media (min-width: 1025px) { .stepper__item { min-height: 30vh; } .stepper__list { padding-bottom: 20vh; } }
.stepper__item:hover { background: var(--page-alt); }
.stepper__item[aria-selected="true"] { border-left-color: var(--accent-ink); background: var(--page-alt); }
.stepper__item b { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.stepper__item b::before { content: attr(data-n); width: 24px; height: 24px; border-radius: 999px; background: var(--line-soft); color: var(--text-2); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.stepper__item[aria-selected="true"] b::before { background: var(--indigo); color: #fff; }
.stepper__item span { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.stepper__panels { position: sticky; top: 96px; }
.stepper__panel[hidden] { display: none; }
.stepper__panel .mock { box-shadow: var(--shadow); }
.mock__pad { padding: 20px; display: grid; gap: 14px; }
.stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: rgba(255, 255, 255, 0.09); border-radius: 10px; padding: 14px 16px; }
.stat span { display: block; font-size: 13px; color: var(--peri); }
.stat b { display: block; margin-top: 4px; font-family: var(--font-num); font-size: 40px; font-weight: 700; line-height: 1; color: #fff; }
.stat--cream { background: rgba(255, 234, 202, 0.14); }
.stat--cream span, .stat--cream b { color: var(--cream); }
.rows { display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.07); border-radius: 8px; padding: 10px 13px; font-size: 14px; color: var(--on-navy); }
.row b { font-weight: 700; color: #fff; }
.row .end { margin-left: auto; font-size: 12px; font-weight: 800; white-space: nowrap; }
.row--sub { margin-left: 24px; }
.row--warn { background: rgba(255, 234, 202, 0.14); color: var(--cream); }
.c-ok { color: var(--ok); } .c-peri { color: var(--peri); } .c-cream { color: var(--cream); }
.caption { display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.caption::before { content: ""; width: 24px; height: 24px; border-radius: 999px; background: var(--cream); flex: none; }
.rebuild { display: grid; gap: 10px; }
.rebuild__item { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; background: #FFFBF5; border: 1px solid var(--cream); border-radius: 10px; padding: 12px 14px; color: var(--ink); }
.rebuild__item.is-flag { background: var(--light); border-color: var(--border); }
.rebuild__item b { display: block; font-size: 14px; }
.rebuild__item small { display: block; color: var(--gray); font-size: 13px; margin-top: 2px; }
.rebuild__item .end { font-size: 13px; font-weight: 800; color: var(--indigo); }
.rebuild__item.is-flag .end { color: var(--gray); }
.mock__head { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; color: var(--indigo); }
.mock--dark .mock__head { color: var(--peri); }
.mock--light .mock__head { color: var(--indigo); }
.mock__head .tag { margin-left: auto; }

/* Map panel */
.map { width: 100%; height: auto; display: block; }
.map__legend { display: flex; gap: 18px; font-size: 12px; color: var(--on-navy); }
.map__legend span { display: inline-flex; align-items: center; gap: 6px; }
.map__legend i { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }
/* Run panel: Guide and Answer side by side */
.run2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; padding: 16px; background: var(--light); }
.run2__col { display: grid; gap: 10px; align-content: start; }
.run2__h { font-size: 12px; font-weight: 800; color: var(--gray); }
.app--static { min-height: 0; grid-template-columns: 100px 1fr; }
.app--static .app__main { padding: 14px 16px; gap: 10px; position: relative; }
.field__input.is-spot { border-color: var(--cream); box-shadow: 0 0 0 3px var(--cream); }
.tip--static { position: static; max-width: 220px; margin: 2px 0 2px 0; }
.tip--static::before { top: -6px; }
.run2__from { font-size: 12px; color: var(--gray); line-height: 1.45; }
.run2__from b { color: var(--ink); }

/* ============ Four more (Show, Write, Check, Signals) ============ */
.minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.mini { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.mini:hover h3 { color: var(--accent-ink); }
.mini h3 { font-size: 19px; font-weight: 800; transition: color 0.2s; }
.mini p { font-size: 14px; color: var(--text-2); line-height: 1.5; }
.mini__strip { margin-top: 8px; background: var(--navy); color: #fff; border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12px; display: flex; align-items: center; gap: 8px; min-height: 40px; }
.mini__strip .end { margin-left: auto; font-weight: 800; white-space: nowrap; }

/* ============ Integrations ============ */
.int { margin-top: 36px; }
.int__row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.int__row:last-child { border-bottom: 1px solid var(--line); }
.int__label { font-size: 15px; font-weight: 800; color: var(--text); }
.int__chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; padding: 8px 16px 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--ink); white-space: nowrap; }
.chip img { width: 18px; height: 18px; }
.chip:not(:has(img)) { padding-left: 16px; }
.chip--dash { border: 1px dashed var(--muted); color: var(--text-2); background: transparent; }
.chip--fill { background: var(--peri); color: var(--navy); border-color: var(--peri); }
.chip--cream { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.int__note { font-size: 14px; color: var(--text-2); padding-left: 6px; }

/* ============ FAQ ============ */
.faq { margin-top: 36px; border-top: 1px solid var(--line-soft); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--accent-ink); flex: none; transition: transform 0.2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--text-2); font-size: 16px; line-height: 1.6; max-width: 760px; }

/* ============ Final CTA ============ */
.cta { position: relative; overflow: hidden; }
.cta__bg { position: absolute; right: 40px; bottom: -140px; width: 440px; opacity: 0.07; pointer-events: none; }
.cta__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta .h2 { font-size: clamp(44px, 6vw, 80px); line-height: 1; }
.cta .lede { margin-top: 0; }
.cta .btn-row { margin-top: 28px; }

/* ============ Product page ============ */
.subhero { padding-bottom: clamp(48px, 6vw, 80px); }
.subhero .lede { max-width: 720px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a { font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(150, 162, 238, 0.35); color: #fff; }
.jump a:hover { background: rgba(150, 162, 238, 0.16); color: #fff; }
.deep { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.deep--flip .deep__copy { order: 2; }
.deep .h2 { font-size: clamp(30px, 3.4vw, 46px); }
.how { display: grid; gap: 12px; margin-top: 28px; counter-reset: how; }
.how li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.how li::before { counter-increment: how; content: counter(how); width: 32px; height: 32px; border-radius: 999px; background: var(--indigo); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.how li b { color: var(--text); font-weight: 800; }
.replaces { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--text-2); }
.replaces b { font-weight: 800; color: var(--text); margin-right: 4px; }
.replaces span { padding: 6px 12px; border-radius: 999px; background: var(--page-alt); border: 1px solid var(--line-soft); font-weight: 600; color: var(--text); text-decoration: line-through; text-decoration-color: var(--alert); text-decoration-thickness: 2px; }
.deep .btn-row { margin-top: 28px; }
.deep__visual .mock { box-shadow: var(--shadow); }
.deep__visual .pane__body { padding: 18px; }
.desks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.desks .chip { border-color: var(--border); }
.more { display: grid; gap: 28px; margin-top: 40px; }
.more__item { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); scroll-margin-top: 90px; }
.more__item--flip .more__copy { order: 2; }
.more__copy { display: grid; gap: 14px; justify-items: start; }
.more__copy h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.more__copy p { color: var(--text-2); font-size: 16px; line-height: 1.55; }
.more__copy .btn { margin-top: 6px; }
.more__visual { box-shadow: var(--shadow); }
.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 999px; background: var(--ok-bg); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 5px; height: 8px; border-right: 2px solid var(--ok-ink); border-bottom: 2px solid var(--ok-ink); transform: rotate(45deg); }
/* Show: live demo with a prospect chat */
.demo__setup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border-soft); background: #fff; }
.demo__label { font-size: 12px; font-weight: 800; color: var(--gray); margin-right: 4px; }
.chip--sm { font-size: 12px; padding: 5px 10px; border-color: var(--border); }
.chip--sm.is-on { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.demo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; padding: 14px; background: var(--light); }
.demo .app { min-height: 200px; grid-template-columns: 96px 1fr; }
.demo .app__main { padding: 14px 16px; gap: 10px; }
.demo .app__chart { height: 110px; }
.demo__chat { display: grid; gap: 8px; align-content: start; }
.demo__chat .msg p { font-size: 12px; padding: 8px 10px; }
.demo__chat .msg--user p { background: #fff; border: 1px solid var(--border-soft); }
/* Write: docs diff */
.diff { display: grid; gap: 4px; font-size: 13px; }
.diff__line { padding: 7px 10px; border-radius: 6px; background: var(--light); color: var(--ink); }
.diff__line--del { background: var(--alert-bg); color: #8A2A22; text-decoration: line-through; text-decoration-color: var(--alert); }
.diff__line--add { background: var(--ok-bg); color: #145A2E; }
.cause { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: center; margin-top: 4px; padding: 12px 14px; border: 1px solid var(--border-soft); border-radius: 10px; background: #fff; }
.cause img { width: 22px; height: 22px; }
.cause b { display: block; font-size: 13px; }
.cause small { display: block; color: var(--gray); font-size: 12px; margin-top: 2px; }
/* Check: two runs */
.runs { display: grid; grid-template-columns: 1fr 1fr; }
.run { padding: 16px; display: grid; gap: 8px; align-content: start; font-size: 13px; }
.run + .run { border-left: 1px solid var(--border-soft); }
.run--cap { background: var(--light); }
.run__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 800; font-size: 13px; margin-bottom: 4px; }
.run__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 6px; background: #fff; border: 1px solid var(--border-soft); font-size: 12px; font-weight: 600; }
.run__row code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--gray); }
.run__row span { font-weight: 800; font-size: 11px; white-space: nowrap; }
.run__row--fail { background: var(--alert-bg); border-color: #F6C9C3; color: #8A2A22; }
.run__row--fail span { color: var(--alert); }
.run__note { font-size: 12px; color: var(--gray); line-height: 1.45; margin-top: 4px; }
.run__note--fail { color: #8A2A22; }
/* Signals */
.stat3--2 { grid-template-columns: 1fr 1fr; }
/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature-group { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; }
.feature-group h3 { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feature-group--soon { border-style: dashed; }

/* ============ Wide screens ============ */
@media (min-width: 1600px) {
  .container { max-width: 1520px; }
  .h1 { font-size: 84px; }
  .hero__copy .lede { max-width: 880px; font-size: 22px; }
  .hero-mock { grid-template-columns: 1.2fr 1fr; }
  .pane__body { padding: 24px; gap: 18px; }
  .mock { font-size: 14px; }
  .cards { gap: 28px; }
  .minis { gap: 24px; }
}

/* ============ Tablet and below ============ */
@media (max-width: 1024px) {
  .scene__grid, .scene__grid--answer { grid-template-columns: 1fr; }

  .app--lg { min-height: 0; }
  .module, .deep, .cta__grid, .stepper { grid-template-columns: 1fr; }
  .module--flip .module__visual, .deep--flip .deep__copy { order: 0; }
  .stepper__panels { position: static; }
  .cards { grid-template-columns: 1fr 1fr; }
  .minis { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .toast { position: static; margin-top: 16px; max-width: none; }
  .more__item { grid-template-columns: 1fr; }
  .more__item--flip .more__copy { order: 0; }
  .features { grid-template-columns: 1fr 1fr; }
}

/* ============ Phone ============ */
@media (max-width: 720px) {
  .proof { flex-direction: column; gap: 10px; }
  .proof__logos { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; column-gap: 24px; row-gap: 12px; }
  .proof__logo { justify-content: flex-start; }
  .nav__inner { gap: 16px; }
  .nav__links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: var(--page); border-bottom: 1px solid var(--line-soft); padding: 8px var(--gutter) 16px; box-shadow: 0 20px 40px rgba(13, 13, 53, 0.12); }
  .nav__links a { padding: 12px 0; border-top: 1px solid var(--line-soft); }
  .nav.is-open .nav__links { display: flex; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { gap: 8px; }
  .cards, .minis, .tiles, .footer__grid, .stat3 { grid-template-columns: 1fr; }
  .int__row { grid-template-columns: 1fr; gap: 10px; }
  .app, .app--lg { grid-template-columns: 1fr; min-height: 0; }
  .widget { display: none; }
  .app--widget .app__main, .scene__stack .app--widget .app__main { padding-right: 18px; }
  .hero-mock__hint { display: none; }

  .app__side { display: none; }
  .app__side--labels { display: flex; flex-direction: row; gap: 4px; padding: 8px 10px; border-right: 0; border-bottom: 1px solid var(--border-soft); overflow-x: auto; }
  .app__side--labels .app__brand { display: none; }
  .app__side--labels .app__nav { padding: 0 10px; flex: none; }
  .btn-row .btn { width: 100%; }
  .hero__copy .btn-row { width: 100%; }
  .footer__bottom { flex-wrap: wrap; }
  .footer__social { margin-left: 0; }
  .browser__body { grid-template-columns: 1fr; }
  .menu { justify-self: start; }
  .faq summary { font-size: 17px; }
  .cta .h2 { font-size: 44px; }
}

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