/* ==========================================================================
   Glass Automations — site styles
   Layout & rhythm modelled on the ChatSpark site; palette is Glass Automations.
   ========================================================================== */

:root {
  /* Glass Automations palette */
  --ink: #0d1b3e;          /* headings, dark surfaces */
  --deep: #0a1230;         /* deepest navy */
  --text: #5a6478;         /* body copy */
  --text-strong: #2b3652;
  --line: #dce2ef;
  --paper: #f4f6fb;        /* alt section bg */
  --paper-2: #eaeef8;
  --white: #fff;
  --pink: #e8177a;         /* primary accent */
  --pink-dark: #c41267;
  --pink-light: #ff3d9a;
  --pink-tint: #fde8f2;
  --pink-soft: #ff6db8;
  --blue: #188bf6;         /* secondary accent (links / info) */
  --green: #10b981;

  --radius-sm: 7px;
  --radius: 16px;
  --radius-lg: 24px;
  --wrap: min(1200px, calc(100% - 64px));
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Rajdhani", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-family: inherit; }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 200; }
.skip:focus { left: 8px; }

:is(a, button, summary, input):focus-visible { outline: 2px solid var(--pink-light); outline-offset: 3px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 47px; padding: 12px 23px; border-radius: 8px; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap;
  background: var(--pink); color: #fff; transition: background .18s, transform .18s, box-shadow .18s;
}
.btn:hover { background: var(--pink-dark); }
.btn:active { transform: translateY(1px); }
.btn .i { width: 16px; height: 16px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--pink-tint); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #17295c; }
.btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 13.5px; }

.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 650; color: var(--pink); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .i { width: 16px; height: 16px; }

.kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--pink); font-size: 11px; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.section-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.section-intro.center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
h2.title { color: var(--ink); font-size: clamp(34px, 4.5vw, 56px); font-weight: 600; letter-spacing: -.05em; line-height: 1.05; margin: 0; }
.section-intro > p, .lede { color: var(--text); font-size: 17px; line-height: 1.65; }
.section-intro > p { max-width: 380px; margin: 0 0 3px; }
.section-intro.center > p { max-width: 600px; margin: 18px 0 0; }
.accent { color: var(--pink); }

/* ---------- Nav ---------- */
/* Fully transparent (no tint, no blur) until the page scrolls, so the hero gradient runs uninterrupted behind it */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; background: transparent; border-bottom: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13,27,62,.05); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--text-strong); transition: background .15s, color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .i { width: 22px; height: 22px; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { background: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 620px; background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(232,23,122,.09), transparent 70%), radial-gradient(ellipse 40% 50% at 85% 20%, rgba(24,139,246,.07), transparent 70%); pointer-events: none; }
.hero-copy { position: relative; text-align: center; padding: 168px 0 56px; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(13,27,62,.05); font-size: 13px; font-weight: 600; color: var(--text-strong); margin-bottom: 26px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(232,23,122,.18); }
.hero h1 { max-width: 900px; margin: 0 auto; color: var(--ink); font-size: 66px; font-weight: 600; letter-spacing: -.045em; line-height: 1.06; }
.hero h1 .accent { display: inline; }
.hero-sub { max-width: 690px; margin: 24px auto 36px; color: #3d4864; font-size: 20px; line-height: 1.6; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 21px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 22px auto 0; color: var(--text); font-size: 13.5px; min-height: 44px; flex-wrap: wrap; text-align: left; }
.hero-proof strong { color: var(--ink); font-weight: 600; }
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); opacity: .5; animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* demo stage */
.demo { position: relative; margin-bottom: 72px; padding: clamp(18px, 5vw, 64px); border-radius: var(--radius-lg); border: 1px solid #dfe5f3; background-color: var(--paper-2); background-image: radial-gradient(circle at 1px 1px, rgba(13,27,62,.18) 1px, transparent 0); background-size: 18px 18px; overflow: hidden; }
.demo::after { content: ""; position: absolute; width: 480px; height: 480px; right: -120px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(232,23,122,.18), transparent 65%); pointer-events: none; }
.window { position: relative; z-index: 1; max-width: 920px; margin-inline: auto; background: #fff; border: 1px solid #dbe2f1; border-radius: 15px; overflow: hidden; box-shadow: 0 24px 50px rgba(13,27,62,.18); color: var(--ink); text-align: left; }
.window-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 13px 15px; gap: 10px; min-height: 46px; background: #f8f9fd; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--text-strong); }
.dots { display: flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #c5cde0; }
.win-tag { justify-self: end; display: inline-flex; align-items: center; gap: 7px; color: #0b8f63; font-size: 11px; font-weight: 650; }
.win-tag.muted { color: var(--text); font-weight: 500; }
.window-main { display: grid; grid-template-columns: 1.3fr 1fr; min-height: 330px; }
.events { padding: 22px 20px; display: grid; gap: 12px; align-content: start; }
.event { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: opacity .45s, transform .45s, border-color .3s, box-shadow .3s; }
.event .ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #eef1fa; color: #3c4d78; }
.event .ico .i { width: 18px; height: 18px; }
.event small { display: block; color: var(--text); font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.event strong { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; margin-top: 2px; }
.event span.meta { display: block; color: var(--text); font-size: 12px; margin-top: 2px; }
.event .val { font-size: 22px; font-weight: 650; letter-spacing: -.03em; color: var(--ink); }
.chip { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 6px; background: #e6f6ef; color: #0b7a55; font-size: 10.5px; font-weight: 650; white-space: nowrap; }
.chip.pink { background: var(--pink-tint); color: var(--pink-dark); }
.chip.blue { background: #e4effd; color: #1262b3; }
.chip.gray { background: #eef1f8; color: #4b5878; }
.chip.amber { background: #fff1d6; color: #99600a; }
.demo-live .event { opacity: .35; transform: translateY(6px); }
.demo-live .event.on { opacity: 1; transform: none; border-color: #f2b6d3; box-shadow: 0 6px 18px rgba(232,23,122,.10); }
.demo-live .event.done { opacity: 1; transform: none; }
.inspector { background: #f8f9fd; border-left: 1px solid var(--line); padding: 22px 20px; display: flex; flex-direction: column; }
.label { color: #5b6b94; font-size: 9.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.stats { display: grid; gap: 10px; margin-top: 12px; }
.stat { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 15px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.stat b { font-size: 30px; font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--text); font-size: 12px; text-align: right; }
.demo-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--text); font-size: 12px; }
.pause { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--text-strong); font-size: 12px; font-weight: 600; cursor: pointer; }
.pause:hover { border-color: #c8d0e4; }
.pause .i { width: 13px; height: 13px; }
.pause .i-play-ico { display: none; }
.pause[aria-pressed="true"] .i-play-ico { display: block; }
.pause[aria-pressed="true"] .i-pause-ico { display: none; }

/* ---------- Problem / evidence ---------- */
.evidence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.evidence > div { padding: clamp(26px, 3.6vw, 44px); display: flex; flex-direction: column; gap: 6px; }
.evidence > div + div { border-left: 1px solid var(--line); }
.evidence .big { font-size: clamp(54px, 6.4vw, 84px); font-weight: 600; letter-spacing: -.06em; line-height: 1; color: var(--ink); }
.evidence .big em { font-style: normal; color: inherit; }
.evidence h3 { font-size: 15px; font-weight: 600; margin-top: 12px; color: var(--ink); }
.evidence p { color: var(--text); font-size: 14px; line-height: 1.65; }
.evidence p.strong { color: var(--ink); font-weight: 600; margin-top: 8px; }

/* ---------- Comparison ---------- */
.difference { padding: 88px 0 100px; }
.table-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: #fafbfe; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare .us { background: linear-gradient(180deg, rgba(232,23,122,.07), rgba(232,23,122,.045)); }
.compare thead .us { color: var(--pink-dark); background: rgba(232,23,122,.1); }
.cell { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; color: var(--text); }
.cell .ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none; }
.cell .ic .i { width: 13px; height: 13px; stroke-width: 2.6; }
.cell.yes .ic { background: #dff5ec; color: #0b8f63; }
.cell.no .ic { background: #eef0f6; color: #98a1b6; }
.cell.mid .ic { background: #fff1d6; color: #b9770e; font-weight: 700; font-size: 14px; line-height: 1; }
.us .cell { color: var(--ink); font-weight: 600; }
.us .cell.yes .ic { background: var(--pink); color: #fff; }

/* ---------- Workflow (dark) ---------- */
.workflow { padding: 95px 0 100px; background: var(--ink); position: relative; }
.workflow::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 90% 100%, rgba(232,23,122,.18), transparent 70%); pointer-events: none; }
.workflow .wrap { position: relative; }
.workflow .kicker { color: var(--pink-soft); }
.workflow h2.title { color: #f8faff; }
.workflow .section-intro > p { color: #b6c0dc; }
.stage { border: 1px solid #2d3f73; border-radius: var(--radius-lg); overflow: hidden; background-color: #14254f; background-image: radial-gradient(ellipse at 85% 72%, rgba(232,23,122,.28), transparent 64%), linear-gradient(90deg, #ffffff08 1px, transparent 0), linear-gradient(#ffffff08 1px, transparent 0); background-size: auto, 34px 34px, 34px 34px; }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #2d3f73; background: #101f46; }
.tabs button { position: relative; display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 62px; padding: 12px; color: #b3bfdc; background: none; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.tabs button + button { border-left: 1px solid #2d3f73; }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { background: #1c3166; color: #fff; }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--pink-light); }
.tabs button > span { color: #8fa0cc; font-size: 10px; font-variant-numeric: tabular-nums; }
.tabs button > .i { width: 17px; height: 17px; }
.tabs strong { font-size: 14px; font-weight: 600; }
.panel { display: grid; grid-template-columns: minmax(180px, .78fr) minmax(0, 2fr); align-items: center; gap: clamp(22px, 4vw, 54px); padding: 42px; }
.panel[hidden] { display: none; }
.panel .kicker { font-size: 10.5px; }
.panel h3 { margin: 0 0 12px; color: #fff; font-size: clamp(22px, 2.4vw, 33px); font-weight: 580; line-height: 1.12; letter-spacing: -.035em; }
.panel .exp p { color: #c1cbe6; line-height: 1.65; font-size: 14.5px; margin: 0 0 18px; }
.panel .exp .text-link { color: var(--pink-soft); }
.panel .window { max-width: none; box-shadow: 0 20px 38px rgba(4,8,24,.4); }
.panel .window-main { min-height: 266px; grid-template-columns: 1.16fr 1fr; }
.thread { padding: 20px 15px; display: grid; gap: 14px; align-content: start; }
.msg { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: flex-start; }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--pink-tint); color: var(--pink-dark); font-size: 9.5px; font-weight: 700; }
.msg.cust .avatar { background: #eaeef8; color: #3c4d78; }
.msg .who { display: block; color: #4a5a82; font-size: 10px; font-weight: 650; margin: 0 0 4px; }
.msg p { border-radius: 0 9px 9px; padding: 8px 10px; font-size: 12.5px; line-height: 1.48; background: #fdeef6; color: var(--ink); }
.msg.cust p { background: #f0f2f8; }
.insp { background: #f8f9fd; border-left: 1px solid var(--line); padding: 20px 15px; color: var(--ink); }
.insp-item { display: flex; align-items: center; gap: 9px; margin: 12px 0 10px; }
.insp-ico { display: grid; place-items: center; width: 33px; height: 33px; flex: none; border-radius: 8px; color: var(--pink); background: var(--pink-tint); }
.insp-ico .i { width: 17px; height: 17px; }
.insp-item strong { display: block; font-size: 12.5px; line-height: 1.25; }
.insp-item small { display: block; margin-top: 3px; font-size: 10.5px; color: var(--text); }
.insp-item .chip { margin-left: auto; }
dl.fields { margin: 0; font-size: 11.5px; }
dl.fields > div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
dl.fields > div:last-child { border-bottom: 0; }
dl.fields dt { color: #5b6b94; }
dl.fields dd { margin: 0; font-weight: 590; text-align: right; }

/* ---------- Features ---------- */
.features { padding: 105px 0 40px; }
.feature-row { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 65px; margin-top: 76px; }
.feature-row.reverse > .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; margin: 0; }
.feature-copy p { color: var(--text); font-size: 17px; line-height: 1.65; margin: 20px 0 0; max-width: 430px; }
.feature-copy ul { margin-top: 22px; display: grid; gap: 10px; }
.feature-copy li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-strong); font-weight: 500; }
.feature-copy li .i { width: 16px; height: 16px; margin-top: 3px; color: var(--pink); stroke-width: 2.6; }
.scene { padding: clamp(18px, 4.4vw, 56px); border-radius: var(--radius-lg); border: 1px solid #dbe1f1; background-color: var(--paper-2); background-image: radial-gradient(circle at 1px 1px, rgba(13,27,62,.17) 1px, transparent 0); background-size: 16px 16px; }
.scene.pinkish { background-color: #fbebf4; border-color: #f4cbe0; background-image: radial-gradient(circle at 1px 1px, rgba(232,23,122,.24) 1px, transparent 0); }
.card-win { max-width: 480px; margin-inline: auto; background: #fff; border: 1px solid #dbe2f1; border-radius: 15px; overflow: hidden; box-shadow: 0 16px 36px rgba(13,27,62,.14); }
.card-head { display: flex; align-items: center; gap: 10px; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.card-head .insp-ico { width: 34px; height: 34px; }
.card-head strong { display: block; font-size: 13px; line-height: 1.25; }
.card-head small { display: block; margin-top: 3px; font-size: 10.5px; color: var(--text); }
.card-head .chip { margin-left: auto; }
.card-body { padding: 8px 17px 12px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.row:last-child { border-bottom: 0; }
.row .k { display: flex; align-items: center; gap: 10px; font-weight: 550; }
.row .k .i { width: 16px; height: 16px; color: var(--pink); }
.row .v { color: var(--text); font-size: 12px; }
.card-foot { padding: 12px 17px; border-top: 1px solid var(--line); background: #fafbfe; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11.5px; color: var(--text); }
.note { margin: 6px 0 4px; padding: 11px 13px; border-left: 2px solid var(--pink); background: #fdf1f7; font-size: 12.5px; line-height: 1.55; color: var(--text-strong); border-radius: 0 6px 6px 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 88px; background: #fff; }
.feature-grid li { padding: 32px 30px 34px; display: flex; flex-direction: column; gap: 10px; }
.feature-grid li:nth-child(n+4) { border-top: 1px solid var(--line); }
.feature-grid li:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
.fi { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--pink-tint); color: var(--pink); margin-bottom: 8px; }
.fi .i { width: 20px; height: 20px; }
.feature-grid h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.feature-grid p { color: var(--text); font-size: 14px; line-height: 1.65; }
.feature-grid .chip { align-self: flex-start; margin-top: auto; }

/* ---------- Pricing ---------- */
.pricing { padding: 100px 0 104px; background: var(--paper); margin-top: 96px; }
.offer { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--pink-tint); color: var(--pink-dark); font-size: 12.5px; font-weight: 650; margin-bottom: 22px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border: 1px solid #d5dcee; border-radius: var(--radius-lg); background: #fff; }
.plan h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.plan .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 22px 0 2px; }
.plan .was { color: #8d97ae; font-size: 17px; text-decoration: line-through; font-weight: 500; }
.plan .now { font-size: 54px; font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.plan .per { color: var(--text); font-size: 15px; }
.plan .save { display: inline-flex; align-self: flex-start; margin-top: 10px; }
.plan .fees { margin-top: 18px; display: grid; gap: 4px; font-size: 13.5px; color: var(--text-strong); font-weight: 550; }
.plan .fees s { color: #8d97ae; font-weight: 400; }
.plan .fit { margin: 16px 0 0; color: var(--text); font-size: 14px; line-height: 1.6; min-height: 68px; }
.plan hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0 18px; }
.plan .nofee { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }
.plan ul { display: grid; gap: 11px; margin-bottom: 30px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--text-strong); }
.plan li .i { width: 17px; height: 17px; margin-top: 2px; color: var(--pink); stroke-width: 2.6; }
.plan .btn { margin-top: auto; }
.plan.popular { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 30px 60px rgba(13,27,62,.28); transform: translateY(-14px); padding-top: 44px; }
.plan.popular::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse 70% 40% at 100% 0%, rgba(232,23,122,.32), transparent 70%); pointer-events: none; }
.plan.popular > * { position: relative; }
.plan.popular .was, .plan.popular .fees s { color: #7e8bb3; }
.plan.popular .per, .plan.popular .fit { color: #b8c2de; }
.plan.popular .fees, .plan.popular li { color: #e7ecfb; }
.plan.popular hr { border-color: #2d3f73; }
.plan.popular .nofee { color: var(--pink-soft); }
.plan.popular li .i { color: var(--pink-soft); }
.plan.popular .chip.pink { background: rgba(255,109,184,.18); color: #ffb5da; }
.ribbon { position: absolute !important; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 6px 14px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.price-note { text-align: center; color: var(--text); font-size: 13.5px; margin-top: 34px; }

/* ---------- Final CTA band ---------- */
.cta { padding: 96px 0 0; }
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: #fff; padding: clamp(36px, 6vw, 84px) clamp(24px, 6vw, 80px); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 80% at 50% 120%, rgba(232,23,122,.5), transparent 70%), linear-gradient(90deg, #ffffff07 1px, transparent 0), linear-gradient(#ffffff07 1px, transparent 0); background-size: auto, 34px 34px, 34px 34px; }
.cta-band > * { position: relative; }
.cta-band .kicker { color: var(--pink-soft); }
.cta-band h2 { font-size: clamp(32px, 4.6vw, 58px); font-weight: 600; letter-spacing: -.05em; line-height: 1.06; max-width: 840px; margin: 16px auto 0; }
.cta-band p.lede { color: #c1cbe6; max-width: 560px; margin: 20px auto 32px; }
.cta-band .hero-actions { gap: 14px; }
.cta-band small { display: block; margin-top: 22px; color: #9fb0dc; font-size: 13px; }

/* ---------- Contact ---------- */
.contact { padding: 96px 0 104px; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact h2.title { font-size: clamp(34px, 4.3vw, 54px); }
.contact .lede { margin: 20px 0 30px; max-width: 420px; }
.contact-list { display: grid; gap: 14px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.contact-list a:hover { border-color: #f0b3d1; box-shadow: 0 8px 22px rgba(232,23,122,.08); }
.contact-list .insp-ico { width: 40px; height: 40px; border-radius: 10px; }
.contact-list small { display: block; color: var(--text); font-size: 12px; }
.contact-list strong { font-size: 15px; font-weight: 600; }
.form-card { background: #fff; border: 1px solid #d5dcee; border-radius: var(--radius-lg); padding: 14px; box-shadow: 0 24px 50px rgba(13,27,62,.09); }
.form-card iframe { display: block; width: 100%; border: 0; border-radius: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: #b6c0dc; padding: 72px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 54px; border-bottom: 1px solid #25325e; }
.footer .logo img { height: 52px; }
.footer-tag { max-width: 360px; margin-top: 22px; font-size: 14.5px; line-height: 1.65; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badges span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #2d3d6c; border-radius: 999px; font-size: 12px; color: #d3dbf1; }
.badges .i { width: 14px; height: 14px; color: var(--pink-soft); }
.footer h4 { color: #fff; font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 14.5px; color: #b6c0dc; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 28px; font-size: 12.5px; color: #8d9bc4; flex-wrap: wrap; }
.footer-bottom p { max-width: 640px; line-height: 1.7; }
.legal-links { display: flex; gap: 22px; }
.legal-links a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot::after { animation: none; }
}

/* ---------- Inner pages (legal / demo calls) ---------- */
.page-hero { position: relative; padding: 148px 0 56px; text-align: center; background: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 460px; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(232,23,122,.09), transparent 70%); pointer-events: none; }
.page-hero > * { position: relative; }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 600; letter-spacing: -.05em; line-height: 1.04; margin: 16px auto 0; max-width: 820px; }
.page-hero p.lede { max-width: 640px; margin: 22px auto 0; font-size: 18px; }

.legal { padding: 148px 0 96px; }
.legal .doc { max-width: 780px; margin: 0 auto; width: calc(100% - 40px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; font-weight: 500; margin-bottom: 28px; }
.back-link:hover { color: var(--pink); }
.back-link .i { width: 15px; height: 15px; transform: rotate(180deg); }
.legal h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; margin-bottom: 10px; }
.legal .updated { color: var(--text); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 40px 0 12px; }
.legal p, .legal li { color: #3d4864; font-size: 15.5px; line-height: 1.75; margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; list-style: disc; }
.legal li::marker { color: var(--pink); }
.legal strong { color: var(--ink); }
.legal a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }

/* demo calls */
.demo-calls { padding: 8px 0 72px; }
.cat-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.tab-btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text-strong); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .18s; }
.tab-btn .i { width: 16px; height: 16px; color: var(--pink); }
.tab-btn:hover { border-color: #f0b3d1; }
.tab-btn[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(13,27,62,.2); }
.tab-btn[aria-selected="true"] .i { color: var(--pink-soft); }
.tab-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--paper); color: var(--text); font-size: 11.5px; font-weight: 700; }
.tab-btn[aria-selected="true"] .tab-count { background: rgba(255,255,255,.16); color: #fff; }
.cat-head { text-align: center; margin-bottom: 34px; }
.cat-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.04em; }
.cat-head p { margin-top: 10px; color: var(--text); font-size: 16.5px; }
.calls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.calls.centered-rows { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 1100px; margin-inline: auto; }
.calls.centered-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.call-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.call-card:hover { border-color: #e3c2d3; box-shadow: 0 14px 34px rgba(13,27,62,.08); }
.call-card.playing { border-color: var(--pink); box-shadow: 0 14px 34px rgba(232,23,122,.14); }
.call-top { display: flex; gap: 14px; align-items: flex-start; }
.call-top .insp-ico { width: 42px; height: 42px; border-radius: 11px; }
.call-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.call-card p { color: var(--text); font-size: 14px; line-height: 1.65; }
.player { margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--paper); }
.play-btn { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--pink); color: #fff; cursor: pointer; transition: background .18s, transform .18s; }
.play-btn:hover { background: var(--pink-dark); transform: scale(1.05); }
.play-btn .i { width: 16px; height: 16px; }
.play-btn.is-error { background: #b9c0d3; cursor: default; transform: none; }
.progress { flex: 1; min-width: 0; }
.bar { height: 5px; border-radius: 999px; background: #d9dfee; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pink), var(--pink-light)); border-radius: inherit; }
.times { display: flex; justify-content: space-between; margin-top: 7px; font-size: 11.5px; color: var(--text); font-variant-numeric: tabular-nums; }
.status { display: none; margin-top: 7px; font-size: 12px; color: #a0612a; }
.qr-section { padding: 0 0 100px; }
.qr-badge { display: flex; align-items: center; gap: 28px; max-width: 640px; margin: 0 auto; padding: 24px 32px 24px 24px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; transition: transform .2s, box-shadow .2s; box-shadow: 0 22px 50px rgba(13,27,62,.25); }
.qr-badge:hover { transform: translateY(-3px); }
.qr-badge img { width: 132px; height: 132px; flex: none; border-radius: 12px; background: #fff; padding: 8px; }
.qr-badge .kicker { color: var(--pink-soft); }
.qr-badge h3 { font-size: 24px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 8px; }
.qr-badge p { color: #b6c0dc; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero h1 { font-size: 54px; }
  .hero-sub { font-size: 18px; }
}
@media (max-width: 1000px) {
  .panel { padding: 28px; gap: 22px; grid-template-columns: 1fr; }
  .feature-row { gap: 36px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feature-grid li:not(:nth-child(3n+1)) { border-left: 0; }
  .feature-grid li:nth-child(2n) { border-left: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 34px; }
  .plan.popular { transform: none; }
  .calls.centered-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { display: none; padding: 8px 20px 20px; border-top: 1px solid var(--line); background: #fff; }
  .mobile-menu.open { display: grid; gap: 2px; }
  .mobile-menu a:not(.btn) { padding: 14px 6px; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 16px; }
  .mobile-menu .btn { margin-top: 14px; }
  .window-main { grid-template-columns: 1fr; min-height: 0; }
  .inspector { border-left: 0; border-top: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; }
  .stat span { text-align: left; }
  .feature-row, .contact-grid { grid-template-columns: 1fr; }
  .feature-row.reverse > .feature-copy { order: 0; }
  .feature-copy p { max-width: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .calls { grid-template-columns: 1fr; }
  .calls.centered-rows { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --wrap: calc(100% - 40px); }
  .section-intro { flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 28px; }
  .section-intro > p { font-size: 16px; }
  .evidence { grid-template-columns: 1fr; }
  .evidence > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .workflow, .problem { padding-block: 62px; }
  .problem { padding-bottom: 16px; }
  .difference { padding-block: 60px 70px; }
  .features { padding-top: 64px; }
  .feature-row { margin-top: 56px; }
  .pricing { padding-block: 64px; margin-top: 64px; }
  .cta { padding-top: 64px; }
  .contact { padding-block: 64px; }
  .tabs button { min-height: 54px; padding: 9px 4px; gap: 5px; }
  .tabs button > span { display: none; }
  .tabs button > .i { width: 15px; height: 15px; }
  .tabs strong { font-size: 12px; }
  .panel { padding: 20px; }
  .panel .window-main { grid-template-columns: 1fr; min-height: 0; }
  .insp { border-left: 0; border-top: 1px solid var(--line); padding: 14px; }
  .thread { padding: 14px; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 56px; }
  .feature-grid li { border-left: 0 !important; }
  .feature-grid li + li { border-top: 1px solid var(--line); }
  .qr-badge { flex-direction: column; text-align: center; padding: 28px 24px; gap: 18px; }
}
@media (max-width: 600px) {
  .hero-copy { padding: 124px 0 36px; }
  .hero h1 { font-size: 36px; line-height: 1.1; letter-spacing: -.04em; }
  .hero-sub { font-size: 16px; margin: 18px auto 28px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { min-height: 44px; padding: 12px 18px; }
  .demo { border-radius: 14px; }
  .event { grid-template-columns: 34px 1fr; }
  .event .val, .event .chip { grid-column: 2; justify-self: start; }
  .stats { grid-template-columns: 1fr; }
  .stat { flex-direction: row; align-items: baseline; }
  .stat span { text-align: right; }
  .tabs strong { font-size: 11px; }
  .tabs button > .i { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band .hero-actions { flex-direction: column; align-items: stretch; }
  .page-hero { padding-top: 120px; }
}
@media (max-width: 420px) {
  .plan { padding: 30px 22px 26px; }
  .plan .now { font-size: 46px; }
}

/* ---------- More than voicemail / Commercial and partners ---------- */
/* Five equal items: heading stays put on the left while the list scrolls past on the right */
.partners { padding: 104px 0 0; }

/* Web quoting section: layout is further down */
.quote { padding: 104px 0; background: var(--paper); }

/* Scheduling, texting, and follow-up: same grid format as the features section */
.sched { padding: 104px 0 24px; }
.sched .feature-grid { margin-top: 0; }

/* Partner portal gallery (real screenshots, tabbed like the portal itself). No outer box: it sits directly on the page. */
.portal { margin-bottom: 0; }
.portal-copy h2.title { font-size: clamp(34px, 4.2vw, 52px); max-width: 16em; margin-bottom: 18px; }
.portal-copy > p { color: var(--text); font-size: 17px; line-height: 1.65; max-width: 44em; }
.portal-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 24px; }
.portal-tabs button { text-align: left; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.portal-tabs button:hover { border-color: #c4cde4; }
.portal-tabs button[aria-selected="true"] { border-color: var(--pink); box-shadow: 0 10px 24px -16px rgba(232,23,122,.45); }
.portal-tabs strong { display: block; font-size: 16px; font-weight: 600; }
.portal-tabs span { display: block; margin-top: 4px; color: var(--text); font-size: 14px; line-height: 1.5; }
.portal-shot { display: block; border-radius: 14px; overflow: hidden; border: 1px solid #d3dbec; background: #fff; box-shadow: 0 28px 56px -28px rgba(13,27,62,.45); }
.portal-shot[hidden] { display: none; }
.portal-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .quote { padding: 64px 0; }
  .sched { padding-top: 64px; }
  .partners { padding-top: 64px; }
}
@media (max-width: 860px) {
  .portal-tabs { grid-template-columns: 1fr; gap: 8px; }
}

/* Even line breaks on headings (no stranded last word) */
h1, h2.title { text-wrap: balance; }

/* Hero demo card: tall enough to run well past the fold, so the dark section below only appears once you scroll */
.hero .window-main { min-height: 640px; }
.hero .events { padding: 28px 24px; gap: 16px; grid-auto-rows: 1fr; align-content: stretch; }
.hero .event { padding: 20px; gap: 16px; grid-template-columns: 44px 1fr auto; }
.hero .event .ico { width: 44px; height: 44px; }
.hero .event small { font-size: 11.5px; }
.hero .event strong { font-size: 16px; margin-top: 3px; }
.hero .event span.meta { font-size: 13.5px; margin-top: 4px; }
.hero .event .val { font-size: 30px; }
.hero .inspector { padding: 28px 24px; }
.hero .stats { flex: 1; gap: 14px; margin-top: 16px; grid-auto-rows: 1fr; }
.hero .stat { padding: 20px; align-items: center; }
.hero .stat b { font-size: 44px; }
.hero .stat span { font-size: 14px; }
@media (max-width: 860px) {
  .hero .window-main { min-height: 0; }
  .hero .events, .hero .stats { grid-auto-rows: auto; }
  .hero .stats { flex: none; }
  .hero .stat b { font-size: 34px; }
}
@media (max-width: 600px) {
  .hero .event { grid-template-columns: 38px 1fr; padding: 16px; }
  .hero .event .ico { width: 38px; height: 38px; }
  .hero .events { padding: 20px 16px; }
  .hero .stat { align-items: baseline; }
}



/* Web quoting: headline and a big fixed-width preview on the same line; the three steps sit right under the paragraph and cycle */
.qgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 560px); grid-template-areas: "copy preview" "steps preview"; grid-template-rows: auto 1fr; column-gap: clamp(32px, 5vw, 72px); row-gap: 32px; align-items: start; }
.quote-copy { grid-area: copy; }
.quote-copy .lede { max-width: 30em; margin-top: 18px; }
.qsteps { grid-area: steps; display: grid; gap: 12px; max-width: 34em; }
.qpreview { grid-area: preview; position: relative; width: 100%; max-width: min(560px, calc((100vh - 150px) / 1.3)); aspect-ratio: 900 / 1170; justify-self: end; }
.qframe { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: 0 30px 60px -38px rgba(13,27,62,.3); }
.qimg { position: absolute; left: 0; top: 0; width: 100%; height: auto; opacity: 0; transition: opacity .5s ease, transform .3s ease; }
.qimg.is-active { opacity: 1; }
.step-num { display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 600; line-height: 1; }
.qstep-btn { position: relative; overflow: hidden; width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; align-items: start; text-align: left; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--ink); opacity: .62; cursor: pointer; transition: opacity .3s ease, border-color .3s ease; }
.qstep-btn:hover { opacity: 1; }
.qstep-btn[aria-current="step"] { opacity: 1; border-color: var(--pink); }
.qstep-btn .step-num { grid-row: 1 / 3; width: 40px; height: 40px; font-size: 17px; }
.qtitle { font-size: 20px; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; align-self: center; }
.qdesc { grid-column: 2; color: var(--text); font-size: 15px; line-height: 1.55; margin-top: 4px; }
@media (max-width: 1000px) {
  .qgrid { grid-template-columns: 1fr; grid-template-areas: "copy" "preview" "steps"; grid-template-rows: auto; row-gap: 36px; }
  .qpreview { justify-self: center; }
  .qsteps { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .qimg, .qstep-btn { transition: none; }
}

/* Web quoting, wide screens: the section pins and the step changes as you scroll through it */
@media (min-width: 1001px) {
  .quote { padding: 0; }
  .qscroll { position: relative; height: 300vh; }
  .qstage { position: sticky; top: 72px; height: calc(100vh - 72px); display: flex; align-items: center; }
}
@media (min-width: 1001px) and (max-height: 820px) {
  .qgrid h2.title { font-size: 38px; }
  .qgrid .quote-copy .lede { font-size: 16px; margin-top: 12px; }
  .qgrid { row-gap: 22px; }
  .qsteps { gap: 8px; }
  .qstep-btn { padding: 12px 16px; }
  .qdesc { font-size: 14px; margin-top: 2px; }
}

/* ---------- Service pages ---------- */
.crumbs { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 14px; color: var(--text); margin-bottom: 20px; }
.crumbs a:hover { color: var(--pink); }
.svc-hero { padding-bottom: 40px; }
.svc-hero .hero-actions { margin-top: 34px; }
.svc-answer { padding-top: 24px; }
.svc-answer-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; padding-top: 44px; border-top: 1px solid var(--line); }
.svc-answer h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; letter-spacing: -.04em; line-height: 1.12; }
.svc-answer p { font-size: 20px; line-height: 1.6; color: var(--text-strong); }
.svc-sec { padding: 96px 0 0; }
.svc-sec .section-intro { margin-bottom: 36px; }
.svc-sec .feature-grid { margin-top: 0; }
.svc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.svc-steps li { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.svc-steps .step-num { width: 40px; height: 40px; font-size: 17px; margin-bottom: 16px; }
.svc-steps h3 { font-size: 20px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 8px; }
.svc-steps p { color: var(--text); font-size: 15.5px; line-height: 1.6; }
.svc-plans-sec { margin-top: 96px; padding: 88px 0; background: var(--paper); }
.svc-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.svc-plan { padding: 28px; border: 1px solid #d5dcee; border-radius: var(--radius-lg); background: #fff; }
.svc-plan h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.svc-plan .svc-price { display: block; margin: 2px 0 18px; color: var(--text); font-size: 14px; }
.svc-plan ul { display: grid; gap: 10px; }
.svc-plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--text-strong); }
.svc-plan li .i { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--pink); }
.svc-note { margin-top: 24px; color: var(--text); font-size: 15px; }
.svc-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.svc-related a { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color .2s; }
.svc-related a:hover { border-color: #f0a9cb; }
.svc-related strong { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.svc-related strong .i { width: 18px; height: 18px; color: var(--pink); }
.svc-related span { display: block; margin-top: 6px; color: var(--text); font-size: 14.5px; line-height: 1.5; }
.svc-cta { padding-bottom: 104px; }
.svc-quote { margin-top: 96px; }
@media (max-width: 860px) { .svc-answer-in { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 760px) {
  .svc-sec { padding-top: 64px; }
  .svc-plans-sec { margin-top: 64px; padding: 64px 0; }
  .svc-cta { padding-bottom: 64px; }
  .svc-quote { margin-top: 64px; }
}

.cta-band h2, .svc-answer h2, .svc-steps h3 { text-wrap: balance; }

/* Header: Services dropdown */
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 14px; border-radius: 8px; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--text-strong); cursor: pointer; transition: background .15s, color .15s; }
.nav-dd-btn .caret { transition: transform .2s ease; }
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn { background: var(--paper); color: var(--ink); }
.nav-dd:hover .nav-dd-btn .caret, .nav-dd.open .nav-dd-btn .caret { transform: rotate(180deg); }
.nav-dd-panel { position: absolute; top: calc(100% + 8px); left: -60px; width: 340px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(13,27,62,.14); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.nav-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-dd:hover .nav-dd-panel, .nav-dd.open .nav-dd-panel { opacity: 1; visibility: visible; transform: none; }
.nav-links .nav-dd-panel a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 10px; }
.nav-dd-panel strong { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.nav-dd-panel span { font-size: 13px; color: #5b6785; font-weight: 400; }
.mm-label { margin: 10px 6px 4px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #5b6785; font-weight: 600; }
.mobile-menu a.mm-sub:not(.btn) { padding: 11px 6px 11px 16px; font-size: 15px; }

/* Pricing page */
.price-page { margin-top: 0; padding-top: 56px; }
.page-hero .offer { margin: 0; }

/* Services dropdown: single-line items separated by rules */
.nav-links .nav-dd-panel a { display: block; padding: 12px 14px; border-radius: 0; border-bottom: 1px solid var(--line); }
.nav-links .nav-dd-panel a:first-child { border-radius: 10px 10px 0 0; }
.nav-links .nav-dd-panel a:last-child { border-bottom: 0; border-radius: 0 0 10px 10px; }
.nav-dd-panel { width: 260px; left: -30px; }
.svc-note.center { text-align: center; }

/* Request info page */
.req-contact { padding-top: 24px; }
.req-next { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: rn; }
.req-next li { position: relative; padding-left: 44px; counter-increment: rn; }
.req-next li::before { content: counter(rn); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; display: grid; place-items: center; }
.req-next strong { display: block; font-size: 15.5px; color: var(--ink); }
.req-next span { color: var(--text); font-size: 14.5px; }


/* ================= Homepage rework: alternating light and dark bands ================= */
.hero h1 + .hero-actions { margin-top: 36px; }
.pill-logo { gap: 10px; padding-left: 12px; }
.pill-logo img { height: 15px; width: auto; display: block; }

/* real product shots around the live demo */
.demo .window { max-width: 800px; }
.demo-shot { position: absolute; z-index: 2; bottom: -34px; width: 158px; margin: 0; padding: 7px; border-radius: 28px; background: #0d1b3e; box-shadow: 0 24px 46px rgba(13,27,62,.28); }
.demo-shot img { display: block; width: 100%; height: auto; border-radius: 21px; background: #fff; }
.demo-shot-l { left: 24px; }
.demo-shot-r { right: 24px; }
@media (max-width: 1180px) { .demo-shot { display: none; } .demo .window { max-width: 920px; } }

/* What We Handle: two columns, three rows, glass shelves */
.more { padding: 96px 0 112px; background: var(--paper); }
.more-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.more-head h2.title { font-size: clamp(34px, 4.2vw, 54px); }
.more-head .lede { margin: 18px auto 0; max-width: 40em; }
/* the shelf the card sits on */

/* alternate light and dark down the page */
.quote { background: #fff; }
.sched { background: var(--paper); padding: 104px 0 104px; }
.partners { padding: 104px 0; }
.difference { background: var(--paper); padding: 96px 0 104px; }
.features { padding: 105px 0 96px; }
.pricing { margin-top: 0; }
.cta { background: var(--paper); padding: 96px 0; }
.text-link { white-space: nowrap; }
.quote-link { margin-top: 18px; }
.feature-grid .text-link { display: inline-flex; margin-top: 12px; font-size: 14.5px; }
.workflow .section-intro > p .text-link { color: var(--pink-soft); }

/* integrations (dark) */
.integrations { position: relative; padding: 100px 0 88px; background: var(--ink); color: #fff; }
.integrations::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 10% 0%, rgba(232,23,122,.16), transparent 70%); pointer-events: none; }
.integrations .wrap { position: relative; }
.integrations h2.title { color: #f8faff; }
.integrations .section-intro > p { color: #b6c0dc; }
.int-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.25fr); align-items: center; gap: 0; margin-top: 12px; }
.int-in { display: grid; gap: 12px; position: relative; padding-right: 44px; }
.int-in li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.05); font-weight: 500; }
.int-in .fi { width: 38px; height: 38px; margin: 0; border-radius: 10px; background: rgba(232,23,122,.18); color: #ff8cc2; }
.int-in .fi .i { width: 20px; height: 20px; }
.int-hub { position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; padding: 28px 18px; border-radius: 18px; background: #fff; box-shadow: 0 24px 50px rgba(0,0,0,.35); text-align: center; }
.int-hub img { max-width: 170px; height: auto; background: transparent; }
.int-hub span { color: var(--text); font-size: 13.5px; }
.int-hub::before, .int-hub::after { content: ""; position: absolute; top: 50%; width: 44px; height: 2px; background: linear-gradient(90deg, rgba(232,23,122,.0), var(--pink)); }
.int-hub::before { right: 100%; background: linear-gradient(90deg, rgba(232,23,122,0), var(--pink)); }
.int-hub::after { left: 100%; background: linear-gradient(270deg, rgba(232,23,122,0), var(--pink)); }
.int-omega { margin-left: 44px; padding: 28px 30px; border-radius: 18px; border: 1px solid rgba(255,255,255,.22); background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); }
.omega-logo { display: inline-block; margin-bottom: 18px; }
.omega-logo img { display: block; height: 38px; width: auto; }
.int-omega ul { display: grid; gap: 10px; }
.int-omega li { position: relative; padding-left: 26px; color: #e3e9fb; font-size: 15.5px; }
.int-omega li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--pink-light); border-bottom: 2px solid var(--pink-light); transform: rotate(-45deg) translateY(-30%); }
.int-note { margin-top: 28px; text-align: center; color: #8e9cc4; font-size: 12.5px; }
@media (max-width: 960px) {
  .int-map { grid-template-columns: 1fr; gap: 34px; }
  .int-in { padding-right: 0; }
  .int-omega { margin-left: 0; }
  .int-hub::before, .int-hub::after { left: 50%; right: auto; width: 2px; height: 34px; top: auto; }
  .int-hub::before { bottom: 100%; background: linear-gradient(0deg, var(--pink), rgba(232,23,122,0)); }
  .int-hub::after { top: 100%; bottom: auto; background: linear-gradient(180deg, var(--pink), rgba(232,23,122,0)); }
}

/* revenue calculator */
.calc-section { padding: 96px 0; background: #fff; }
.calc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 44px rgba(13,27,62,.07); }
.calc-in { padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 22px; align-content: start; }
.calc-in h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; color: var(--ink); }
.calc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; }
.calc-row label { color: var(--text-strong); font-size: 15px; }
.calc-row output { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-row input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--pink); height: 28px; }
.calc-money { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; background: var(--paper); }
.calc-money i { font-style: normal; color: var(--text); }
.calc-money input { width: 84px; background: transparent; border: 0; color: var(--ink); font: inherit; font-weight: 600; outline: 0; text-align: right; }
.calc-money:focus-within { border-color: var(--pink); }
.calc-out { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 8px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.calc-out::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 100% 100%, rgba(232,23,122,.45), transparent 70%); pointer-events: none; }
.calc-out > * { position: relative; }
.calc-out > span { color: #ffd1e6; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.calc-out strong { font-size: clamp(44px, 5.4vw, 68px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.calc-out small { color: #d5ddf3; font-size: 15px; }
.calc-out small b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-out .btn { align-self: flex-start; margin-top: 16px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-section { padding: 64px 0; } }

/* pricing teaser on the homepage */
.price-teaser { padding: 96px 0; background: var(--paper); }
.price-teaser .section-intro > p { margin-top: 14px; }
.price-teaser .hero-actions { margin-top: 28px; }
@media (max-width: 700px) { .price-teaser { padding: 64px 0; } }

/* closing band holds the contact form */
.contact-band { background: var(--paper); padding: 96px 0; }
.cta-band.contact-in { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 72px); align-items: start; text-align: left; }
.contact-in .contact-copy h2 { margin: 0; max-width: 11em; font-size: clamp(32px, 4vw, 52px); }
.contact-in .contact-copy .lede { margin: 20px 0 28px; max-width: 26em; color: #c1cbe6; }
.contact-in .contact-list a { border-color: rgba(255,255,255,.18); }
.contact-in .form-card { background: #fff; border-radius: 16px; padding: 10px; }
@media (max-width: 900px) { .cta-band.contact-in { grid-template-columns: 1fr; } .contact-band { padding: 64px 0; } }
.int-cta { margin-top: 36px; text-align: center; }
.int-note { margin-top: 20px; }

/* alternating bands, in page order */
.partners { background: var(--paper); padding: 104px 0; }
.integrations { margin: 0; }
.int-rows { padding: 24px 0 96px; }
.int-rows .feature-row:first-child { margin-top: 24px; }
.contact-in .contact-list strong { color: var(--ink); }
.contact-in .contact-list small { color: var(--text); }


/* ---- What We Handle: plain lines, two columns, three rows ---- */
.handle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 88px); }
.handle-card { border-top: 1px solid var(--line); }
.handle-card a { display: grid; grid-template-columns: 52px minmax(0, 1fr) 24px; gap: 20px; align-items: start; padding: 30px 0; }
.handle-card .fi { width: 52px; height: 52px; border-radius: 14px; margin: 0; }
.handle-card .fi .i { width: 24px; height: 24px; }
.handle-card h3 { font-size: 24px; font-weight: 600; letter-spacing: -.035em; line-height: 1.2; margin-bottom: 8px; }
.handle-card p { color: var(--text); font-size: 16px; line-height: 1.65; }
.handle-card .more-arrow { width: 22px; height: 22px; color: var(--pink); margin-top: 6px; opacity: .45; transition: transform .25s ease, opacity .25s ease; }
.handle-card a:hover .more-arrow, .handle-card a:focus-visible .more-arrow { opacity: 1; transform: translateX(5px); }
.handle-card a:hover h3 { color: var(--pink-dark); }
@media (max-width: 900px) { .handle-grid { grid-template-columns: 1fr; } .handle-card a { padding: 24px 0; } .handle-card .more-arrow { display: none; } .handle-card a { grid-template-columns: 52px minmax(0, 1fr); } }
.more { padding-bottom: 96px; }

/* ---- Hero: compact so the whole demo sits on the first screen ---- */
.hero-copy { padding: 108px 0 28px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 60px); }
.hero h1 + .hero-actions { margin-top: 28px; }
.hero-proof { margin-top: 14px; min-height: 0; }
.pill-logo { gap: 7px; }
.pill-logo img { height: 18px; }
.demo { margin-bottom: 40px; padding: clamp(14px, 2.4vw, 28px); }
.demo .window { max-width: 860px; }
.hero .window-main { min-height: 0; grid-template-columns: 1.35fr 1fr; }
.hero .events { padding: 14px; gap: 8px; grid-auto-rows: auto; align-content: start; }
.hero .event { padding: 10px 12px; gap: 12px; grid-template-columns: 38px 1fr auto; }
.hero .event .ico { width: 38px; height: 38px; }
.hero .event small { font-size: 10.5px; }
.hero .event strong { font-size: 14px; margin-top: 2px; }
.hero .event span.meta { font-size: 12px; margin-top: 2px; }
.hero .event .val { font-size: 20px; }
.hero .inspector { padding: 14px; }
.hero .stats { flex: none; gap: 8px; margin-top: 10px; grid-auto-rows: auto; }
.hero .stat { padding: 9px 13px; align-items: baseline; }
.hero .stat b { font-size: 26px; }
.hero .stat span { font-size: 12px; }
.hero .demo-foot { padding-top: 10px; }

/* ---- Online quoter: dark blue steps, whole preview visible, no panning ---- */
.qstep-btn[aria-current="step"] { border-color: var(--ink); }
.qstep-btn .step-num { background: var(--ink); }
.qpreview { aspect-ratio: 900 / 1385; max-width: min(560px, max(400px, calc((100vh - 110px) / 1.539))); }
.qimg { top: 50%; transform: translateY(-50%); }
@media (max-width: 1000px) { .qpreview { max-width: min(560px, 100%); } }
@media (min-width: 861px) and (max-height: 820px) {
  .hero-copy { padding: 92px 0 18px; }
  .hero h1 { font-size: 50px; }
  .hero h1 + .hero-actions { margin-top: 20px; }
  .hero .btn { padding-block: 11px; }
  .demo { margin-bottom: 28px; padding: 14px; }
  .hero .events { padding: 10px; gap: 6px; }
  .hero .event { padding: 7px 10px; }
  .hero .inspector { padding: 10px; }
  .hero .stats { gap: 6px; margin-top: 8px; }
  .hero .stat { padding: 6px 12px; }
}

/* calculator now lives in the pricing section */
.price-teaser .calc { margin-top: 48px; text-align: left; }
.price-teaser { padding: 96px 0 104px; }

/* contact in the closing band: plain rows, no white boxes */
.contact-in .contact-list { gap: 18px; }
.contact-in .contact-list a { background: none; border: 0; padding: 0; box-shadow: none; border-radius: 0; }
.contact-in .contact-list a:hover { border: 0; box-shadow: none; }
.contact-in .contact-list .insp-ico { background: rgba(255,255,255,.12); color: #ff8cc2; }
.contact-in .contact-list small { color: #9fb0dc; }
.contact-in .contact-list strong { color: #fff; }


/* ================= Hero call flow: ring, route, AI call ================= */
.flow { padding: clamp(16px, 3vw, 36px); }
.flow-tabs { position: relative; z-index: 1; display: flex; justify-content: center; gap: 6px; margin: 0 auto 22px; padding: 5px; width: fit-content; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 6px 18px rgba(13,27,62,.06); }
.flow-tabs button { font: inherit; font-size: 14px; font-weight: 600; padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; transition: background .2s, color .2s; }
.flow-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.flow-tabs button:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.flow-stage { position: relative; z-index: 1; max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; align-items: stretch; }

.fx-caller, .fx-node { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; width: min(100%, 440px); margin-inline: auto; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 22px rgba(13,27,62,.08); }
.fx-caller { grid-template-columns: 44px 1fr; border-color: #f2b6d3; }
.fx-caller small, .fx-node small { display: block; color: var(--text); font-size: 10.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.fx-caller strong, .fx-node strong { display: block; font-size: 15px; font-weight: 600; margin-top: 1px; }
.fx-caller .meta, .fx-node .meta { display: block; color: var(--text); font-size: 12.5px; margin-top: 1px; }
.fx-phone { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--pink); color: #fff; }
.fx-phone .i { width: 20px; height: 20px; }
.fx-phone i { position: absolute; inset: -2px; border-radius: 14px; border: 2px solid var(--pink); opacity: 0; }
.on-ring:not(.on-answer) .fx-phone .i { animation: fx-wiggle .5s ease-in-out infinite; }
.on-ring:not(.on-answer) .fx-phone i { animation: fx-wave 1.3s ease-out infinite; }
.on-ring:not(.on-answer) .fx-phone i + i { animation-delay: .6s; }
@keyframes fx-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
@keyframes fx-wave { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
.fx-node .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; }
.fx-node .ico .i { width: 20px; height: 20px; }
.fx-ai { opacity: .35; transform: translateY(4px); transition: opacity .45s, transform .45s, border-color .45s; }
.on-answer .fx-ai { opacity: 1; transform: none; border-color: var(--ink); }

/* connectors */
.fx-line { position: relative; width: 2px; height: 44px; margin-inline: auto; background: var(--line); overflow: hidden; }
.fx-line::after { content: ""; position: absolute; inset: 0; background: var(--pink); transform: scaleY(0); transform-origin: top; transition: transform .7s ease; }
.on-l1 .fx-l-a1::after, .on-split .fx-l-b1::after, .on-l2 .fx-l2::after { transform: scaleY(1); }
.fx-route { display: flex; flex-direction: column; align-items: stretch; }
.fx-route-a, .fx-route-b { display: none; }
.flow-stage[data-scn="a"] .fx-route-a, .flow-stage[data-scn="b"] .fx-route-b { display: flex; }
.fx-route-b .fx-l-b1 { height: 24px; }

.fx-branch { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 22px 0 18px; }
.fx-branch::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 2px; background: var(--line); transition: background .6s ease; }
.on-split .fx-branch::before { background: var(--pink); }
.fx-staff { position: relative; display: grid; justify-items: center; gap: 2px; margin-inline: 5px; padding: 10px 6px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; opacity: .4; transition: opacity .4s, border-color .4s, background .4s; }
.fx-staff::before, .fx-staff::after { content: ""; position: absolute; left: 50%; width: 2px; margin-left: -1px; background: var(--line); transition: background .6s ease; }
.fx-staff::before { top: -22px; height: 22px; }
.fx-staff::after { bottom: -18px; height: 18px; }
.on-split .fx-staff::before { background: var(--pink); }
.on-merge .fx-staff::after { background: var(--pink); }
.fx-sico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #eef1fa; color: #3c4d78; }
.fx-sico .i { width: 16px; height: 16px; }
.fx-staff strong { font-size: 13px; font-weight: 600; }
.fx-staff small { font-size: 11px; color: var(--text); font-weight: 500; letter-spacing: 0; text-transform: none; margin: 0; }
.fx-staff small .s-miss { display: none; }
.on-split .fx-staff { opacity: 1; }
.on-staff .fx-staff { border-color: #f2b6d3; }
.on-staff .fx-staff .fx-sico { background: #fde6f1; color: var(--pink); animation: fx-wiggle .5s ease-in-out infinite; }
.on-staff .fx-staff:nth-child(2) .fx-sico { animation-delay: .12s; }
.on-staff .fx-staff:nth-child(3) .fx-sico { animation-delay: .24s; }
.on-staff .fx-staff:nth-child(4) .fx-sico { animation-delay: .06s; }
.on-staff .fx-staff:nth-child(5) .fx-sico { animation-delay: .18s; }
.on-miss .fx-staff { border-color: var(--line); background: #f6f7fb; }
.on-miss .fx-staff .fx-sico { animation: none; background: #eceef4; color: #8a93a8; }
.on-miss .fx-staff small .s-ring { display: none; }
.on-miss .fx-staff small .s-miss { display: inline; }
.fx-merge { position: relative; height: 24px; }
.fx-merge::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 2px; background: var(--line); transition: background .6s ease; }
.fx-merge::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--line); transition: background .6s ease; }
.on-merge .fx-merge::before, .on-merge .fx-merge::after { background: var(--pink); }

/* the call with the AI */
.fx-window { max-width: none; width: 100%; opacity: .4; transition: opacity .5s ease; }
.on-talk .fx-window { opacity: 1; }
.fx-window .window-main { min-height: 0; }
.fx-window .event { opacity: .3; transform: translateY(6px); transition: opacity .45s, transform .45s, border-color .45s, box-shadow .45s; }
.on-collect .ev-collect, .on-price .ev-price, .on-book .ev-book, .on-sched .ev-sched { opacity: 1; transform: none; }
.on-collect:not(.on-price) .ev-collect, .on-price:not(.on-book) .ev-price, .on-book:not(.on-sched) .ev-book, .on-sched .ev-sched { border-color: #f2b6d3; box-shadow: 0 6px 18px rgba(232,23,122,.1); }
.fx-voice { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.fx-vlabel small { display: block; color: var(--text); font-size: 10.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.fx-vlabel strong { display: block; font-size: 14px; font-weight: 600; margin-top: 1px; }
.bars { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 3px; height: 36px; min-width: 0; }
.bars i { flex: 1; max-width: 5px; height: 100%; border-radius: 3px; background: var(--pink); transform: scaleY(.12); opacity: .35; transform-origin: center; }
.on-talk .bars i { opacity: 1; animation: fx-bar var(--d, 900ms) ease-in-out infinite; animation-delay: var(--dl, 0ms); }
@keyframes fx-bar { 0%, 100% { transform: scaleY(.15); } 50% { transform: scaleY(var(--h, 1)); } }
.fx-cap > span { display: none; }
.flow-stage[data-scn="a"] .fx-cap .c-a, .flow-stage[data-scn="b"] .fx-cap .c-b { display: inline; }
.fx-window .demo-foot { gap: 14px; }

@media (max-width: 860px) {
  .flow-tabs { width: 100%; }
  .flow-tabs button { flex: 1; padding: 9px 10px; font-size: 13px; }
  .fx-staff { margin-inline: 2px; padding: 8px 2px; }
  .fx-staff strong { font-size: 10.5px; }
  .fx-staff small { display: none; }
  .fx-sico { width: 26px; height: 26px; }
  .fx-caller, .fx-node { padding: 10px 12px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-phone i, .fx-phone .i, .fx-sico, .bars i { animation: none !important; }
}
@media (max-width: 860px) {
  .hero .window-main { grid-template-columns: 1fr; }
  .hero .inspector { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---- call flow: toggle above the card, steps in four columns, no side panel ---- */
.flow-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 0 0 14px; }
.flow-bar .flow-tabs { margin: 0; }
.flow.demo { padding: clamp(14px, 2.2vw, 26px); }
.fx-window .window-main { display: block; }
.fx-window .events { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px; align-content: start; }
.fx-window .fx-voice { grid-column: 1 / -1; }
.fx-window .event { grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: start; padding: 12px; }
.fx-window .event .ico { width: 34px; height: 34px; }
.fx-window .event .chip { justify-self: start; }
.fx-window .event .val { font-size: 22px; }
.fx-window .event strong { font-size: 14px; }
@media (max-width: 860px) {
  .fx-window .events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-bar .flow-tabs { width: 100%; }
}

/* ---- one box: the answer, the voice bars and the four steps ---- */
.fx-l2 { display: none; }
.fx-route-a .fx-line { height: 56px; }
.fx-window { opacity: 1; border: 1px solid #dbe2f1; transition: border-color .5s ease; }
.on-answer .fx-window { border-color: var(--ink); }
.fx-window .fx-node { width: auto; margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; background: #f8f9fd; padding: 14px 16px; }
.fx-window .fx-node.fx-ai { transform: none; }
.flow-stage[data-scn="a"] .fx-ai-b, .flow-stage[data-scn="b"] .fx-ai-a { display: none; }
.flow-stage[data-scn="a"] .fx-ai-a, .flow-stage[data-scn="b"] .fx-ai-b { display: grid; }
.fx-window .fx-ai { opacity: .45; }
.on-answer .fx-window .fx-ai { opacity: 1; border-color: var(--line); }

/* ================= Call flow, desktop: small and left to right ================= */
@media (min-width: 861px) {
  .flow.demo { padding: 18px 22px; }
  .flow-bar { margin-bottom: 10px; }
  .flow-stage { flex-direction: row; align-items: center; max-width: none; gap: 0; }

  .fx-caller { flex: none; width: 214px; margin: 0; padding: 10px 12px; gap: 10px; grid-template-columns: 38px 1fr; }
  .fx-phone { width: 38px; height: 38px; border-radius: 10px; }
  .fx-phone .i { width: 17px; height: 17px; }
  .fx-caller strong { font-size: 14px; }
  .fx-caller .meta { font-size: 11.5px; }

  .fx-route { flex-direction: row; align-items: center; flex: none; }
  .fx-line { width: 52px; height: 2px; margin: 0; }
  .fx-line::after { transform: scaleX(0); transform-origin: left; }
  .on-l1 .fx-l-a1::after, .on-split .fx-l-b1::after { transform: scaleX(1); }
  .fx-route-b .fx-l-b1 { width: 24px; height: 2px; }

  .fx-branch { display: grid; grid-template-columns: 1fr; gap: 5px; padding: 0 14px; width: 176px; }
  .fx-branch::before { top: 9%; bottom: 9%; left: 0; right: auto; width: 2px; height: auto; }
  .fx-staff { display: grid; grid-template-columns: 24px auto 1fr; align-items: center; gap: 8px; margin: 0; padding: 5px 8px; text-align: left; justify-items: start; border-radius: 9px; }
  .fx-staff::before { top: 50%; bottom: auto; left: -14px; width: 14px; height: 2px; margin: 0; }
  .fx-staff::after { top: 50%; bottom: auto; left: auto; right: -14px; width: 14px; height: 2px; margin: 0; }
  .fx-sico { width: 24px; height: 24px; border-radius: 7px; }
  .fx-sico .i { width: 13px; height: 13px; }
  .fx-staff strong { font-size: 12.5px; }
  .fx-staff small { font-size: 10.5px; justify-self: end; }
  .fx-merge { width: 24px; height: auto; align-self: stretch; }
  .fx-merge::before { top: 9%; bottom: 9%; left: 0; right: auto; width: 2px; height: auto; }
  .fx-merge::after { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 2px; margin: 0; }

  .fx-window { flex: 1; min-width: 0; width: auto; }
  .fx-window .fx-node { padding: 9px 14px; gap: 12px; grid-template-columns: 34px 1fr auto; }
  .fx-window .fx-node .ico { width: 34px; height: 34px; border-radius: 10px; }
  .fx-window .fx-node .ico .i { width: 17px; height: 17px; }
  .fx-window .fx-node strong { font-size: 14px; }
  .fx-window .fx-node .meta { font-size: 11.5px; }
  .fx-window .events { padding: 10px; gap: 8px; }
  .fx-window .fx-voice { padding: 6px 12px; }
  .fx-window .bars { height: 24px; }
  .fx-window .fx-vlabel strong { font-size: 13px; }
  .fx-window .event { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 10px; }
  .fx-window .event .ico { width: 28px; height: 28px; border-radius: 8px; }
  .fx-window .event .ico .i { width: 14px; height: 14px; }
  .fx-window .event small { font-size: 9.5px; }
  .fx-window .event strong { font-size: 12.5px; }
  .fx-window .event .meta, .fx-window .event .chip { display: none; }
  .fx-window .event .val { font-size: 15px; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .fx-caller { width: 170px; }
  .fx-line { width: 30px; }
  .fx-branch { width: 150px; }
  .fx-staff small { display: none; }
}
@media (min-width: 861px) {
  .fx-route-a .fx-line { height: 2px; }
  .fx-window .event .val { grid-column: 2 / -1; font-size: 15px; }
  .fx-window .event .ico { grid-row: 1 / span 2; }
}

/* ---- AI box in two columns: answer and voice on the left, four steps stacked on the right ---- */
.fx-left { display: flex; flex-direction: column; min-width: 0; }
.fx-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; align-content: start; min-width: 0; }
.fx-left .fx-voice { margin: 14px; }
@media (min-width: 861px) {
  .flow-stage { min-height: 400px; }
  .fx-route-a { width: 224px; }
  .fx-route-a .fx-line { width: 100%; }
  .fx-window { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: 400px; flex: 1; min-width: 0; }
  .fx-left { border-right: 1px solid var(--line); background: #f8f9fd; }
  .fx-window .fx-node { padding: 14px 16px; gap: 12px; grid-template-columns: 40px 1fr auto; background: transparent; }
  .fx-window .fx-node .ico { width: 40px; height: 40px; }
  .fx-window .fx-node strong { font-size: 15px; }
  .fx-window .fx-node .meta { font-size: 12px; }
  .fx-left .fx-voice { flex: 1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px; padding: 14px 16px; margin: 0 14px 14px; }
  .fx-left .fx-vlabel strong { font-size: 14px; }
  .fx-left .bars { flex: 1; height: auto; min-height: 0; }
  .fx-left .bars i { max-width: 6px; }
  .fx-steps { grid-template-columns: 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px; align-content: stretch; }
  .fx-window .event { padding: 8px 12px; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; }
  .fx-window .event .ico { width: 34px; height: 34px; grid-row: auto; }
  .fx-window .event .ico .i { width: 16px; height: 16px; }
  .fx-window .event small { font-size: 10px; }
  .fx-window .event strong { font-size: 13.5px; }
  .fx-window .event .meta { display: block; font-size: 11.5px; }
  .fx-window .event .chip { display: inline-block; }
  .fx-window .event .val { grid-column: auto; font-size: 19px; }
}
@media (min-width: 861px) and (max-width: 1100px) { .fx-route-a { width: 190px; } .fx-window .event .meta { display: none; } }
@media (min-width: 861px) {
  .fx-left, .fx-steps { min-height: 0; }
  .fx-left .fx-voice { min-height: 0; overflow: hidden; }
  .fx-left .bars { min-height: 0; overflow: hidden; }
}
@media (min-width: 861px) { .fx-window .fx-node { min-height: 104px; align-content: center; } }


/* ---- call flow round 3: toggle inside the box, more air, two voice rows, fades ---- */
.flow.demo { padding: 34px 26px 22px; }
.flow-bar { margin: 0 0 26px; }
.flow-stage { transition: opacity .4s ease; }
:root { --voice-blue: #2b72d6; }
.fx-voice-caller .bars i { background: var(--voice-blue); }
.fx-voice-ai .bars i { background: var(--pink); }
@keyframes fx-turn { 0%, 42% { opacity: 1; } 50%, 92% { opacity: .38; } 100% { opacity: 1; } }
@keyframes fx-turn-b { 0%, 42% { opacity: .38; } 50%, 92% { opacity: 1; } 100% { opacity: .38; } }
.on-talk .fx-voice-caller { animation: fx-turn 6s ease-in-out infinite; }
.on-talk .fx-voice-ai { animation: fx-turn-b 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .on-talk .fx-voice-caller, .on-talk .fx-voice-ai { animation: none; } .flow-stage { transition: none; } }
@media (min-width: 861px) {
  .fx-window .fx-node { padding: 22px 24px; min-height: 112px; }
  .fx-left { gap: 14px; padding-bottom: 22px; }
  .fx-left .fx-voice { margin: 0 24px; padding: 12px 16px; gap: 6px; flex: 1; }
  .fx-left .bars { flex: 1; height: auto; max-height: 58px; align-self: stretch; }
  .fx-left .bars i { max-width: 5px; }
  .fx-steps { padding: 20px 22px; gap: 10px; }
}

/* ---- online quoter: every screen starts at the top so the shop logo lines up ---- */
.qimg { top: 0; transform: none; }

/* ---- voice rows take turns: only the speaker's bars move ---- */
.on-talk .fx-voice-caller, .on-talk .fx-voice-ai { animation: none; }
.fx-voice { transition: opacity .35s ease, border-color .35s ease, box-shadow .35s ease; }
.on-talk .fx-voice { opacity: .5; }
.on-talk .fx-voice.is-speaking { opacity: 1; box-shadow: 0 6px 18px rgba(13,27,62,.08); }
.on-talk .fx-voice-ai.is-speaking { border-color: #f2b6d3; }
.on-talk .fx-voice-caller.is-speaking { border-color: #b9d3f4; }
.on-talk .bars i { animation: none; opacity: .35; transform: scaleY(.12); transition: transform .3s ease, opacity .3s ease; }
.on-talk .fx-voice.is-speaking .bars i { opacity: 1; animation: fx-bar var(--d, 900ms) ease-in-out infinite; animation-delay: var(--dl, 0ms); }
.fx-voice .fx-vlabel small::after { content: ""; }
.fx-voice.is-speaking .fx-vlabel small::after { content: " · speaking"; text-transform: lowercase; letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .on-talk .fx-voice.is-speaking .bars i { animation: none; transform: scaleY(.6); } }

/* ---- CSR blocks: tall, filling the same height as the AI box ---- */
@media (min-width: 861px) {
  .fx-branch { height: 400px; grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 8px; width: 200px; }
  .fx-branch::before, .fx-merge::before { top: 10%; bottom: 10%; }
  .fx-staff { grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 10px; row-gap: 0; padding: 8px 12px; border-radius: 12px; }
  .fx-staff .fx-sico { grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 10px; }
  .fx-staff .fx-sico .i { width: 18px; height: 18px; }
  .fx-staff strong { grid-column: 2; font-size: 15px; align-self: end; }
  .fx-staff small { grid-column: 2; justify-self: start; font-size: 12px; align-self: start; }
}
@media (min-width: 861px) and (max-width: 1100px) { .fx-branch { width: 170px; } .fx-staff small { display: block; } }

@media (min-width: 861px) { .fx-steps { grid-template-rows: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .fx-steps { grid-template-columns: 1fr; } }

.fx-voice .fx-vlabel small { min-height: 1.2em; }
.fx-voice.is-speaking .fx-vlabel small::after { content: "Speaking"; letter-spacing: .06em; text-transform: uppercase; }

/* progress steps: natural height, stack centered in the column */
@media (min-width: 861px) {
  .fx-steps { grid-template-rows: none; grid-auto-rows: auto; align-content: center; }
  .fx-window .event { padding: 12px 14px; }
}

/* web quoter: more room above the heading and preview */
@media (min-width: 1001px) {
  .quote { padding-top: 72px; }
  .qstage { padding-top: 40px; box-sizing: border-box; }
  .qpreview { max-width: min(560px, max(380px, calc((100vh - 150px) / 1.539))); }
}
@media (min-width: 1001px) { .quote { padding-bottom: 88px; } }
@media (max-width: 1000px) { .quote { padding-top: 80px; padding-bottom: 80px; } }


/* ---- people photos ---- */
.photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); box-shadow: 0 22px 44px -28px rgba(13,27,62,.35); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* What We Handle header: text left, photo right */
.more-head.more-split { max-width: none; margin: 0 0 56px; text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.more-head .more-text .lede { margin-left: 0; max-width: 30em; }
.photo-wide { aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .more-head.more-split { grid-template-columns: 1fr; } .photo-wide { order: -1; aspect-ratio: 16 / 10; } }

/* Portal: photo beside the heading */
.portal-copy { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(28px, 5vw, 72px); align-items: start; }
.portal-copy > h2, .portal-copy > p { grid-column: 1; }
.portal-copy > .photo-portal { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 3 / 2; align-self: stretch; }
.portal-copy > .portal-tabs { grid-column: 1 / -1; }
@media (max-width: 900px) { .portal-copy { grid-template-columns: 1fr; } .portal-copy > .photo-portal { grid-column: 1; grid-row: auto; order: 3; margin: 8px 0 4px; } .portal-copy > .portal-tabs { order: 4; } }

/* Pricing teaser: owner photo beside the heading */
.pt-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pt-text { text-align: left; }
.pt-text .title { text-align: left; }
.pt-text .hero-actions { justify-content: flex-start; }
.photo-tall { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .pt-split { grid-template-columns: 1fr; } .pt-text { text-align: center; } .pt-text .title { text-align: center; } .pt-text .hero-actions { justify-content: center; } }

/* Contact band: photo under the contact details */
.contact-in .photo-contact { margin-top: 28px; aspect-ratio: 16 / 10; max-width: 460px; border-radius: 16px; }
.req-contact .photo-contact { margin-top: 24px; aspect-ratio: 16 / 10; max-width: 460px; border-radius: 16px; }

/* wide banner under service-page heroes */
.svc-photo-sec { padding: 0 0 56px; }
.photo-banner { max-width: 960px; margin-inline: auto; aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .photo-banner { aspect-ratio: 16 / 10; } .svc-photo-sec { padding-bottom: 36px; } }
.pt-text > p { color: var(--text); font-size: 17px; line-height: 1.65; margin-top: 16px; max-width: 30em; }
.pt-text .title { margin: 0; }
@media (max-width: 860px) { .pt-text > p { margin-inline: auto; } }
.nav-dd-panel { width: 310px; left: -50px; }
.nav-dd-panel { width: max-content; min-width: 250px; left: -40px; }
.nav-links .nav-dd-panel a { white-space: nowrap; }

.flow-recording {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 16px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.flow-recording p { margin: 0; color: var(--ink); font-weight: 600; }
.flow-recording audio { display: block; grid-column: 1; grid-row: 2; width: 100%; min-width: 0; }
.flow-recording .text-link { grid-column: 2; grid-row: 2; }
.legal .doc { overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .flow-recording { grid-template-columns: minmax(0, 1fr); }
  .flow-recording .text-link { grid-column: 1; grid-row: auto; min-height: 44px; }
  .tab-btn, .flow-bar button { min-height: 44px; }
}
