/* Clear Grid — shared styles
   Palette: paper white, ink navy, signal blue, jobsite orange.
   Orange is a fill only (navy text on top). Orange text uses --orange-deep for contrast. */

:root {
  color-scheme: light;
  --navy: #0a1b33;
  --ink: #0a1b33;
  --ink-2: #33455f;
  --muted: #566681;
  --line: #dbe4f2;
  --paper: #ffffff;
  --surface: #ffffff;
  --link: #1558f0;
  --link-hover: #0b2e8a;
  --on-sky: #0b2e8a;
  --good-text: #0c6a4a;
  --pill-or: #ffe6d6;
  --pill-gr: #e0f4ea;
  --warn-bg: #fff1e8;
  --warn-bg-2: #fff8f3;
  --live-bg: #e6f6ef;
  --stripe: #f0f5ff;
  --field-line: #b9c7de;
  --header-bg: rgba(255, 255, 255, 0.86);
  --tint-bg: rgba(243, 246, 251, 0.78);
  --grid-line: 21, 88, 240;
  --mist: #f3f6fb;
  --sky: #e3ecff;
  --blue: #1558f0;
  --blue-deep: #0b2e8a;
  --night: #071733;
  --orange: #ff6b1a;
  --orange-deep: #b9440a;
  --good: #12805c;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-l: 0 1px 0 rgba(10, 27, 51, 0.04), 0 18px 40px -12px rgba(11, 46, 138, 0.28), 0 40px 80px -30px rgba(11, 46, 138, 0.35);
  --display: "Bricolage Grotesque", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: 24px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e8eefc;
  --ink-2: #b3c2df;
  --muted: #8fa2c6;
  --line: #1d2f55;
  --paper: #071226;
  --surface: #0d1b36;
  --mist: #0a172f;
  --sky: #13306a;
  --night: #030a1a;
  --link: #7fa8ff;
  --link-hover: #a9c3ff;
  --on-sky: #bcd1ff;
  --orange-deep: #ff9a5c;
  --good: #4fd1a0;
  --good-text: #7be0b8;
  --pill-or: #4a2410;
  --pill-gr: #0f3a2c;
  --warn-bg: #2b1a10;
  --warn-bg-2: #231710;
  --live-bg: #0f3a2c;
  --stripe: #0f2146;
  --field-line: #2c4373;
  --header-bg: rgba(7, 18, 38, 0.82);
  --tint-bg: rgba(10, 23, 47, 0.78);
  --grid-line: 127, 168, 255;
  --shadow-l: 0 1px 0 rgba(255,255,255,0.04), 0 18px 40px -12px rgba(0, 0, 0, 0.6), 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; border-radius: var(--radius-s); }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 650; }
h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 34em; line-height: 1.55; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: 96px 0; }
.section.tint { background: var(--tint-bg); }
.section-head { max-width: 40rem; margin-bottom: 48px; }
.section-head p { color: var(--ink-2); font-size: 1.15rem; margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font: 650 1.02rem/1 var(--display); letter-spacing: -0.005em;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(255, 107, 26, 0.7); }
.btn-primary:hover { background: #ff7d36; color: var(--navy); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(255, 107, 26, 0.8); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.95rem; }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.on-dark .btn-ghost:hover { background: #fff; color: var(--ink); }

/* ---------- Page grid (animated canvas behind everything) ---------- */
#grid-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .site-footer { position: relative; z-index: 1; }
html { background: var(--paper); }
body { background: transparent; }

/* ---------- Custom cursor (mouse devices only; JS adds .has-cursor) ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; opacity: 0; transition: opacity 0.2s; }
.cursor-dot.on, .cursor-ring.on { opacity: 1; }
.cursor-dot.hide, .cursor-ring.hide { opacity: 0; }
.cursor-dot::before { content: ""; display: block; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 2px; background: var(--orange); box-shadow: 0 0 0 1.5px rgba(10, 27, 51, 0.55); transition: transform 0.2s ease; }
.cursor-ring::before { content: ""; display: block; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 2px solid #fff; border-radius: 9px; mix-blend-mode: difference; transition: transform 0.25s cubic-bezier(.2,.9,.3,1.2), border-radius 0.25s, background-color 0.2s; }
.cursor-ring.hot::before { transform: scale(1.55) rotate(45deg); border-radius: 12px; background: rgba(255, 255, 255, 0.18); }
.cursor-ring.down::before { transform: scale(0.8); }
.cursor-ring.hot.down::before { transform: scale(1.25) rotate(45deg); }
html.has-cursor, html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor label, html.has-cursor select, html.has-cursor [role="tab"] { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }
@media (prefers-reduced-motion: reduce) { .cursor-ring::before, .cursor-dot::before { transition: none; } }

/* ---------- Theme toggle ---------- */
.nav-right { display: flex; align-items: center; gap: 8px; }
.theme-toggle { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background 0.2s, transform 0.3s; }
.theme-toggle:hover { background: var(--sky); transform: rotate(18deg); }
.theme-toggle svg { width: 20px; height: 20px; grid-area: 1 / 1; transition: opacity 0.25s, transform 0.4s; }
.theme-toggle .sun { opacity: 0; transform: rotate(-90deg) scale(0.6); }
:root[data-theme="dark"] .theme-toggle .sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle .moon { opacity: 0; transform: rotate(90deg) scale(0.6); }
.theme-fade, .theme-fade *, .theme-fade *::before, .theme-fade *::after { transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease !important; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 700 1.35rem/1 var(--display); letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { display: block; padding: 10px 14px; color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 0.98rem; border-radius: 999px; transition: background 0.15s, color 0.15s; }
.nav-links a:not(.btn):hover { background: var(--mist); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--sky); }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; color: var(--ink); }
.nav-toggle:hover { background: var(--mist); }
.nav-toggle svg { margin: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 110px; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 20px; font-size: 0.95rem; color: var(--muted); max-width: 30em; }

/* ---------- Dashboard demo ---------- */
.dash-wrap { position: relative; }
.dash {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-l); overflow: hidden; display: grid; grid-template-columns: 62px 1fr;
  min-height: 470px;
}
.dash-side { background: var(--night); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 0; }
.dash-side .brand-mark { width: 28px; height: 28px; margin-bottom: 14px; }
.dash-side span { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #8ea6d6; }
.dash-side span.on { background: rgba(255,255,255,0.1); color: #fff; }
.dash-side svg { width: 19px; height: 19px; }
.dash-main { padding: 18px 20px 20px; min-width: 0; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dash-title { font: 650 1.05rem/1 var(--display); letter-spacing: -0.01em; }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; color: var(--good); background: var(--live-bg); padding: 5px 11px; border-radius: 999px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18,128,92,0.5); } 80%, 100% { box-shadow: 0 0 0 8px rgba(18,128,92,0); } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 12px 14px; background: var(--mist); }
.kpi b { display: block; font: 700 1.9rem/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 0.8rem; color: var(--muted); }
.kpi.hot { background: var(--navy); border-color: var(--navy); }
:root[data-theme="dark"] .kpi.hot { border-color: #2a4378; }
.kpi.hot b { color: #fff; }
.kpi.hot span { color: #aebfe0; }
.kpi.bump b { animation: bump 1.4s ease; }
.kpi.hot { position: relative; }
.kpi.hot .money { position: absolute; right: 10px; top: 10px; font: 700 1rem/1 var(--display); color: #4fe0a4; letter-spacing: -0.01em; pointer-events: none; font-variant-numeric: tabular-nums; transform-origin: right center; }
.kpi.hot .money.pop { animation: earn 1.6s ease-out; }
@keyframes earn { 0% { transform: scale(1); text-shadow: 0 0 0 rgba(79, 224, 164, 0); } 20% { transform: scale(1.25); text-shadow: 0 0 18px rgba(79, 224, 164, 0.9); } 100% { transform: scale(1); text-shadow: 0 0 10px rgba(79, 224, 164, 0.35); } }
@keyframes bump { 40% { transform: translateY(-4px); color: var(--orange); } }
.pipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.col { background: var(--mist); border-radius: var(--radius-m); padding: 10px; min-height: 196px; }
.col h4 { margin: 0 0 10px; font: 600 0.78rem/1.2 var(--body); color: var(--muted); display: flex; justify-content: space-between; }
.col h4 em { font-style: normal; color: var(--ink); font-weight: 700; }
.lead { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; margin-bottom: 8px; font-size: 0.8rem; line-height: 1.3; box-shadow: 0 1px 2px rgba(10,27,51,0.06); animation: drop 1.6s cubic-bezier(.2,.9,.3,1.05); }
.lead strong { display: block; font-weight: 650; font-size: 0.82rem; }
.lead small { color: var(--muted); font-size: 0.74rem; }
.lead.fresh { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,26,0.18); }
.lead.won { background: var(--blue); border-color: var(--blue); color: #fff; }
.lead.won small { color: #cfdcff; }
.lead.out { animation: out 0.45s ease forwards; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes out { to { opacity: 0; transform: translateY(8px) scale(0.96); } }
.spark { margin-top: 14px; display: flex; align-items: center; gap: 14px; }
.spark svg { flex: 1; height: 54px; overflow: visible; }
.spark path.line { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s 0.4s ease forwards; }
.spark path.area { fill: url(#sparkfill); opacity: 0; animation: fadein 1s 1.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.spark span { font-size: 0.78rem; color: var(--muted); max-width: 9em; line-height: 1.3; }
.sample-tag { position: absolute; left: 14px; bottom: -34px; font-size: 0.82rem; color: var(--muted); }

/* floating call chip on the dashboard */
.chip-float { position: absolute; left: -34px; top: 64px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px 12px 12px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-l); font-size: 0.86rem; line-height: 1.3; animation: hover 5s ease-in-out infinite; z-index: 2; }
.chip-float .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--orange); display: grid; place-items: center; color: var(--navy); }
.chip-float b { display: block; font-family: var(--display); font-size: 0.95rem; }
.chip-float span { color: var(--muted); }
@keyframes hover { 50% { transform: translateY(-8px); } }

/* ---------- Trust line ---------- */
.trust { border-block: 1px solid var(--line); background: var(--tint-bg); }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 44px; align-items: center; justify-content: space-between; padding: 26px 0; }
.trust-row p { margin: 0; font-weight: 550; color: var(--ink-2); font-size: 1rem; }
.trades { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.trades span { padding: 7px 14px; border-radius: 999px; background: var(--mist); color: var(--ink-2); font-weight: 550; font-size: 0.93rem; border: 1px solid var(--line); }

/* ---------- Lead journey (night section) ---------- */
.night { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.night::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 20% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 20% 0%, #000, transparent 70%); }
.night .wrap { position: relative; }
.night h2 { color: #fff; }
.night .section-head p { color: #b9c8e6; }
.journey { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; border-left: 2px solid rgba(255,255,255,0.14); }
.steps li { margin: 0; }
.step-btn { display: block; width: 100%; text-align: left; background: none; border: 0; color: #9fb2d6; font: 600 1.15rem/1.3 var(--display); letter-spacing: -0.01em; padding: 18px 0 18px 26px; cursor: pointer; position: relative; transition: color 0.2s; }
.step-btn::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform 0.3s ease; }
.step-btn small { display: block; font: 450 0.92rem/1.4 var(--body); color: #7e92ba; margin-top: 3px; }
.step-btn:hover { color: #fff; }
.step-btn[aria-selected="true"] { color: #fff; }
.step-btn[aria-selected="true"]::before { transform: scaleY(1); }
.step-btn:focus-visible { outline-color: var(--orange); }
.stage { background: var(--surface); color: var(--ink); border-radius: var(--radius-l); padding: 30px; min-height: 410px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6); }
.stage h3 { margin-bottom: 8px; font-size: 1.5rem; }
.stage > p { color: var(--ink-2); max-width: 32em; }
.stage-panel[hidden] { display: none; }
.mini { margin-top: 22px; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px; display: grid; gap: 10px; }
.mini .row { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.93rem; }
.mini .row.me { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,26,0.16); }
.mini .row b { font-family: var(--display); }
.mini .row small { color: var(--muted); }
.pill { font-size: 0.78rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: var(--sky); color: var(--on-sky); white-space: nowrap; }
.pill.or { background: var(--pill-or); color: var(--orange-deep); }
.pill.gr { background: var(--pill-gr); color: var(--good-text); }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 0.93rem; line-height: 1.4; opacity: 0; transform: translateY(8px); }
.bubble.in { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.out { background: var(--blue); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.stage-panel.run .bubble { animation: bub 0.5s ease forwards; }
.stage-panel.run .bubble:nth-child(1) { animation-delay: 0.1s; }
.stage-panel.run .bubble:nth-child(2) { animation-delay: 1s; }
.stage-panel.run .bubble:nth-child(3) { animation-delay: 1.9s; }
.stage-panel.run .bubble:nth-child(4) { animation-delay: 2.8s; }
@keyframes bub { to { opacity: 1; transform: none; } }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slots button, .slots span { font: 600 0.9rem var(--body); padding: 12px 6px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: center; }
.slots .picked { background: var(--blue); color: #fff; border-color: var(--blue); }
.stars { color: var(--orange); letter-spacing: 3px; font-size: 1.15rem; }

/* ---------- Services rows ---------- */
.rows { border-top: 1px solid var(--ink); }
.svc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start; transition: background 0.2s; }
.svc:hover { background: linear-gradient(90deg, var(--sky), transparent 70%); }
.svc h3 { font-size: 1.55rem; }
.svc p { margin: 0; color: var(--ink-2); }
.svc .tag { font-size: 0.88rem; color: var(--muted); }
.svc ul { margin: 14px 0 0; padding-left: 1.1em; color: var(--ink-2); }
.svc li { margin-bottom: 4px; }

/* ---------- Placeholder labelling ---------- */
.ph { display: inline-block; font-size: 0.78rem; font-weight: 650; color: var(--orange-deep); background: var(--warn-bg); border: 1px dashed var(--orange); padding: 3px 10px; border-radius: 6px; }
.todo-box { border: 2px dashed var(--orange); background: var(--warn-bg-2); border-radius: var(--radius-m); padding: 22px 24px; color: var(--ink-2); }
.todo-box strong { color: var(--orange-deep); }

/* ---------- Split / proof ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: var(--surface); }
.proof > div { padding: 30px 28px; border-right: 1px solid var(--line); }
.proof > div:last-child { border-right: 0; }
.proof b { display: block; font: 700 2.4rem/1 var(--display); letter-spacing: -0.03em; margin-bottom: 8px; color: var(--link); }
.proof p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 34px 30px; display: flex; flex-direction: column; background: var(--surface); }
.plan.pick { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: var(--shadow-l); transform: translateY(-12px); }
.plan.pick p, .plan.pick h3 { color: #fff; }
:root[data-theme="dark"] .plan.pick { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow-l); }
.plan.pick li { color: #c4d1ea; }
.plan .price { font: 700 2.5rem/1 var(--display); letter-spacing: -0.03em; margin: 18px 0 6px; }
.plan .price small { font: 500 1rem var(--body); color: var(--muted); letter-spacing: 0; }
.plan.pick .price small { color: #9fb2d6; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; flex: 1; }
.plan li { padding: 9px 0 9px 28px; position: relative; color: var(--ink-2); border-top: 1px solid var(--line); }
.plan.pick li { border-color: rgba(255,255,255,0.14); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan .badge { align-self: flex-start; background: var(--orange); color: var(--navy); font: 700 0.8rem var(--body); padding: 5px 12px; border-radius: 999px; margin-bottom: 10px; }
details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq summary { cursor: pointer; font: 600 1.15rem/1.4 var(--display); padding: 18px 40px 18px 0; list-style: none; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.7rem; color: var(--link); transition: transform 0.25s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { color: var(--ink-2); padding-bottom: 18px; max-width: 40em; }

/* ---------- Portfolio ---------- */
.cases { display: grid; gap: 64px; }
.case { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.case:nth-child(even) .shot { order: 2; }
.shot { background: var(--sky); border-radius: var(--radius-l); padding: 34px 34px 0; overflow: hidden; }
.shot .win { background: var(--surface); border-radius: 12px 12px 0 0; border: 1px solid var(--line); border-bottom: 0; min-height: 260px; padding: 16px; box-shadow: 0 -10px 40px -10px rgba(11,46,138,0.25); }
.shot .bar { height: 10px; width: 36%; background: var(--line); border-radius: 6px; margin-bottom: 14px; }
.shot .blk { height: 64px; border-radius: 8px; background: linear-gradient(120deg, var(--blue), var(--blue-deep)); margin-bottom: 12px; }
.shot .blk.o { background: var(--orange); }
.shot .ln { height: 9px; background: var(--mist); border-radius: 6px; margin-bottom: 9px; }
.shot .ln.s { width: 70%; }
.shot .trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.shot .trio i { height: 70px; background: var(--mist); border-radius: 8px; display: block; }
.case dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0; }
.case dt { font-size: 0.85rem; color: var(--muted); }
.case dd { margin: 0; font: 650 1.1rem var(--display); }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 8px; }
.values h3 { margin-bottom: 10px; padding-top: 18px; border-top: 3px solid var(--blue); }
.values p { color: var(--ink-2); }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius-l); background: repeating-linear-gradient(135deg, var(--sky) 0 14px, var(--stripe) 14px 28px); display: grid; place-items: center; color: var(--on-sky); font-weight: 600; text-align: center; padding: 20px; border: 1px dashed var(--blue); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.book-panel { border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); background: var(--surface); }
.book-head { background: var(--navy); color: #fff; padding: 22px 26px; }
.book-head h2 { font-size: 1.5rem; color: #fff; }
.book-head p { margin: 6px 0 0; color: #b9c8e6; font-size: 0.98rem; }
.book-body { padding: 26px; display: grid; gap: 22px; }
.calendar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.calendar div { text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 4px; font-size: 0.85rem; color: var(--muted); }
.calendar div b { display: block; font: 700 1.25rem var(--display); color: var(--ink); }
.calendar div.pk { background: var(--blue); border-color: var(--blue); color: #cfdcff; }
.calendar div.pk b { color: #fff; }
form.form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--field-line); border-radius: 10px; padding: 13px 14px; min-height: 50px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(21,88,240,0.35); border-color: var(--blue); }
.form-note { font-size: 0.9rem; color: var(--muted); }
.form-msg { display: none; padding: 14px 16px; border-radius: 10px; background: var(--warn-bg); border: 1px dashed var(--orange); color: var(--ink); }
.form-msg.show { display: block; }
.expect { list-style: none; padding: 0; margin: 20px 0 0; }
.expect li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.expect li > span { width: 36px; height: 36px; border-radius: 50%; background: var(--sky); color: var(--on-sky); font: 700 1rem var(--display); display: grid; place-items: center; }
.expect b { font-family: var(--display); font-size: 1.1rem; display: block; }
.expect p { margin: 2px 0 0; color: var(--ink-2); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 80px 0 64px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 15em; margin-bottom: 20px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #fff; padding: 84px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; background: var(--orange); transform: rotate(12deg); border-radius: 36px; opacity: 0.95; }
.cta-band .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; max-width: 14em; }
.cta-band p { color: #dbe6ff; font-size: 1.15rem; margin-top: 14px; max-width: 30em; }
.cta-band .btn-primary { justify-self: end; background: #fff; color: var(--navy); box-shadow: 0 14px 30px -12px rgba(0,0,0,0.5); }
.cta-band .btn-primary:hover { background: var(--navy); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #b5c4e2; padding: 64px 0 36px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font: 650 1rem var(--display); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b5c4e2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-base { padding-top: 24px; font-size: 0.9rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .dash-wrap { margin-right: 0; }
  .chip-float { left: -6px; }
  .journey { grid-template-columns: 1fr; gap: 32px; }
  .steps { display: grid; grid-template-columns: repeat(5, 1fr); border-left: 0; border-bottom: 2px solid rgba(255,255,255,0.14); }
  .step-btn { padding: 14px 6px; text-align: center; font-size: 1rem; }
  .step-btn small { display: none; }
  .step-btn::before { left: 0; right: 0; top: auto; bottom: -2px; width: auto; height: 2px; transform: scaleX(0); transform-origin: left; }
  .step-btn[aria-selected="true"]::before { transform: scaleX(1); }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc > :last-child { grid-column: 1 / -1; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .plan.pick { transform: none; }
  .contact-grid, .case, .split { grid-template-columns: 1fr; gap: 36px; }
  .case:nth-child(even) .shot { order: 0; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-band .btn-primary { justify-self: start; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  body { font-size: 1rem; }
  .section { padding: 68px 0; }
  .hero { padding: 44px 0 90px; }
  .nav { height: 64px; }
  .nav-toggle { display: grid; }
  .nav-links { position: absolute; left: 0; right: 0; top: 64px; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; display: none; box-shadow: 0 20px 30px -20px rgba(10,27,51,0.3); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 12px; }
  .nav-links .btn { margin-top: 8px; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col { min-height: 150px; }
  .kpi b { font-size: 1.5rem; }
  .chip-float { display: none; }
  .svc { grid-template-columns: 1fr; gap: 14px; }
  .proof { grid-template-columns: 1fr; }
  .proof > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof > div:last-child { border-bottom: 0; }
  .values { grid-template-columns: 1fr; gap: 28px; }
  .foot { grid-template-columns: 1fr; }
  .stage { padding: 22px; }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .step-btn { font-size: 0.82rem; padding: 12px 2px; }
  .calendar { grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .sample-tag { position: static; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .spark path.line { stroke-dashoffset: 0; }
  .spark path.area { opacity: 1; }
  .bubble { opacity: 1; transform: none; }
}
.lead .when { display: flex; align-items: center; gap: 5px; margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); color: var(--link); font-size: 0.74rem; font-weight: 650; line-height: 1; }
.lead .when svg { flex: none; }

/* ---------- Lead journey: next / back and swipe ---------- */
.stage { user-select: none; -webkit-user-select: none; touch-action: pan-y; display: flex; flex-direction: column; }
.stage-panel { flex: 1; }
.stage-panel.run.from-right { animation: slideR 0.45s cubic-bezier(.2,.8,.2,1); }
.stage-panel.run.from-left { animation: slideL 0.45s cubic-bezier(.2,.8,.2,1); }
@keyframes slideR { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes slideL { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
.stage-nav { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.nav-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 650 0.98rem/1 var(--display); cursor: pointer; padding: 0 20px; transition: background 0.2s, color 0.2s, transform 0.2s, opacity 0.2s; }
.nav-btn.prev { width: 48px; padding: 0; }
.nav-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.nav-btn.next { background: var(--orange); border-color: var(--orange); color: var(--navy); margin-left: auto; }
.nav-btn.next:hover { background: #ff7d36; border-color: #ff7d36; color: var(--navy); transform: translateX(2px); }
.nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.stage-dots { display: flex; gap: 6px; }
.stage-dots i { width: 8px; height: 8px; border-radius: 3px; background: var(--line); transition: width 0.3s, background 0.3s; }
.stage-dots i.done { background: var(--blue); opacity: 0.55; }
.stage-dots i.on { width: 24px; background: var(--orange); }
.stage-count { font-size: 0.9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
html.has-cursor .nav-btn { cursor: none; }
@media (max-width: 560px) { .stage-count { display: none; } .nav-btn.next { padding: 0 16px; font-size: 0.92rem; } .stage-nav { gap: 10px; } }

/* ---------- Portfolio feature on the home page ---------- */
.work { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: center; }
.work-frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); }
.work-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--mist); }
.work-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.work-bar span { margin-left: 10px; font-size: 0.82rem; color: var(--muted); }
.work-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.work-view iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform-origin: top left; transform: scale(0.5); pointer-events: none; }
.work-cover { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 18px; text-decoration: none; background: linear-gradient(to top, rgba(10, 27, 51, 0.0), rgba(10, 27, 51, 0)); transition: background 0.3s; }
.work-cover span { background: var(--orange); color: var(--navy); font: 650 0.95rem/1 var(--display); padding: 12px 20px; border-radius: 999px; transform: translateY(8px); opacity: 0; transition: transform 0.3s, opacity 0.3s; }
.work-cover:hover { background: linear-gradient(to top, rgba(10, 27, 51, 0.45), rgba(10, 27, 51, 0.05)); }
.work-cover:hover span, .work-cover:focus-visible span { transform: none; opacity: 1; }
.work-info h3 { font-size: 1.9rem; margin-bottom: 12px; }
.work-info p { color: var(--ink-2); margin-bottom: 24px; }
@media (max-width: 1040px) { .work { grid-template-columns: 1fr; gap: 32px; } }
@media (hover: none) { .work-cover span { opacity: 1; transform: none; } }

/* ---------- Lead form ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 20px; min-width: 0; }
.lead-form fieldset[hidden] { display: none; }
.lead-form { display: grid; gap: 20px; }
.lf-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; padding: 0; }
.lf-steps li { font-size: 0.82rem; font-weight: 600; color: var(--muted); padding-top: 10px; border-top: 4px solid var(--line); transition: border-color 0.3s, color 0.3s; }
.lf-steps li.on { color: var(--ink); border-top-color: var(--orange); }
.lf-steps li.done { color: var(--ink-2); border-top-color: var(--blue); }
.lf-q { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; margin: 0; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: block; padding: 11px 16px; min-height: 46px; line-height: 1.3; border: 1.5px solid var(--field-line); border-radius: 12px; background: var(--surface); font-weight: 550; font-size: 0.97rem; color: var(--ink); transition: background 0.15s, border-color 0.15s, transform 0.15s; display: flex; align-items: center; }
.choice:hover span { border-color: var(--blue); }
.choice input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-1px); }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.lf-error { min-height: 1.4em; color: #c2310b; font-weight: 600; font-size: 0.95rem; }
:root[data-theme="dark"] .lf-error { color: #ff9a7a; }
.lf-actions { display: flex; gap: 12px; justify-content: space-between; }
.lf-actions .lf-next { margin-left: auto; }
.lf-actions [hidden] { display: none; }
.lf-calendar { display: grid; gap: 18px; }
.lf-thanks { font-weight: 600; font-size: 1.05rem; outline: none; }
.lf-cal-mount { min-height: 0; }
.lf-cal-mount .calendly-inline-widget { min-width: 280px; height: 680px; }
.lf-booked { background: var(--pill-gr); color: var(--good-text); border-radius: var(--radius-m); padding: 18px 20px; }
.lf-cal-todo[hidden], .lf-booked[hidden] { display: none; }
@media (max-width: 560px) { .choice span { padding: 10px 13px; font-size: 0.93rem; } .lf-steps li { font-size: 0.74rem; } }
.lead-form[hidden], .lf-calendar[hidden], .lf-cal-mount[hidden] { display: none; }
.lf-cal-mount iframe { display: block; width: 100%; height: 700px; border: 0; border-radius: var(--radius-m); }
@media (max-width: 560px) { .lf-cal-mount iframe { height: 760px; } }

/* ---------- Calendar step: smooth and adaptive ---------- */
.book-panel { scroll-margin-top: 88px; transition: box-shadow 0.4s; }
.lead-form .lf-step.in-r { animation: lfR 0.42s cubic-bezier(.2,.8,.2,1); }
.lead-form .lf-step.in-l { animation: lfL 0.42s cubic-bezier(.2,.8,.2,1); }
@keyframes lfR { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes lfL { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

.lf-calendar { --cal-h: clamp(640px, calc(100dvh - 250px), 820px); }
.lf-calendar.enter { animation: calIn 0.6s cubic-bezier(.2,.8,.2,1); }
@keyframes calIn { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }
.lf-who { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.lf-who[hidden] { display: none; }
.lf-who-text { min-width: 0; }
.lf-thanks { font: 650 1.1rem/1.3 var(--display); letter-spacing: -0.01em; outline: none; }
.lf-who-sub { color: var(--muted); font-size: 0.92rem; margin-top: 2px; overflow-wrap: anywhere; }

.lf-cal-stage { position: relative; height: var(--cal-h); border-radius: var(--radius-m); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.lf-cal-mount { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.lf-cal-mount.ready { opacity: 1; transform: none; }
.lf-cal-mount[hidden], .lf-skeleton[hidden] { display: none; }
.lf-cal-mount iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 0; }

/* placeholder that looks like a calendar while the real one loads */
.lf-skeleton { position: absolute; inset: 0; padding: 26px; display: flex; flex-direction: column; gap: 22px; background: var(--surface); }
.lf-skeleton i { display: block; border-radius: 8px; background: linear-gradient(100deg, var(--mist) 30%, var(--line) 50%, var(--mist) 70%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.sk-head { display: grid; gap: 10px; }
.sk-head i:first-child { height: 18px; width: 38%; }
.sk-head i:last-child { height: 30px; width: 62%; }
.sk-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 150px); gap: 22px; flex: 1; min-height: 0; }
.sk-days { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 1fr; gap: 8px; max-height: 330px; }
.sk-days i { border-radius: 50%; aspect-ratio: 1; align-self: center; }
.sk-times { display: grid; gap: 10px; align-content: start; }
.sk-times i { height: 44px; }
.sk-note { margin: 0; text-align: center; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 640px) { .sk-body { grid-template-columns: 1fr; } .sk-times { display: none; } .lf-calendar { --cal-h: 740px; } }

.lf-booked { text-align: center; padding: 36px 18px; background: var(--pill-gr); color: var(--good-text); border-radius: var(--radius-m); }
.lf-booked h3 { color: var(--ink); margin: 14px 0 6px; font-size: 1.6rem; }
.lf-booked p { margin: 0 auto; color: var(--ink-2); max-width: 28em; }
.lf-booked.enter { animation: calIn 0.6s cubic-bezier(.2,.8,.2,1); }
.lf-booked .bk-ring { stroke-dasharray: 145; stroke-dashoffset: 145; }
.lf-booked .bk-tick { stroke-dasharray: 40; stroke-dashoffset: 40; }
.lf-booked.enter .bk-ring { animation: draw2 0.7s 0.1s ease forwards; }
.lf-booked.enter .bk-tick { animation: draw2 0.45s 0.65s ease forwards; }
@keyframes draw2 { to { stroke-dashoffset: 0; } }

/* once the visitor reaches the calendar, give it the room it wants on wide screens */
@media (min-width: 1041px) {
  .contact-grid.is-booking { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 56px; }
  .contact-grid.is-booking > * { width: min(100%, 1000px); }
}
@media (prefers-reduced-motion: reduce) {
  .lf-cal-mount { transform: none; transition: none; }
  .lf-booked .bk-ring, .lf-booked .bk-tick { stroke-dashoffset: 0; }
}
