/* Levelpoint site. Direction: calm product-company restraint, made rich with drawn mockups,
   blueprint texture and depth. Paper, white and navy bands; carbon yellow once per screen. */
:root {
  color-scheme: light;
  --night: #12202e;
  --night-2: #1a2b3c;
  --deep: #0c2747;
  --night-line: #2c4258;
  --night-text: #dfe7ee;
  --night-muted: #9fb1c1;
  --paper: #f1f3f4;
  --white: #ffffff;
  --ink: #15212c;
  --muted: #5a6875;
  --rule: #dde3e7;
  --carbon: #f6c90e;
  --carbon-deep: #b88600;
  --glow: rgb(246 201 14 / 0.28);
  --todo-bg: #ffd9e6;
  --todo-ink: #6d0f38;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", Menlo, Consolas, monospace;
  --max: 1140px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 18px;
  --shadow: 0 1px 2px rgb(18 32 46 / 0.06), 0 12px 32px -12px rgb(18 32 46 / 0.18);
  --shadow-lift: 0 2px 4px rgb(18 32 46 / 0.06), 0 26px 48px -18px rgb(18 32 46 / 0.32);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--carbon-deep); outline-offset: 3px; border-radius: 4px; }
.on-night :focus-visible, .site-head :focus-visible, footer :focus-visible { outline-color: var(--carbon); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--carbon); color: var(--ink); font-weight: 600; text-decoration: none; border-radius: 6px; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.narrow { max-width: calc(780px + 2 * var(--gutter)); }

/* Draft markers */
.todo { padding: 0 0.3em; border: 1px dashed var(--todo-ink); border-radius: 4px; background: var(--todo-bg); color: var(--todo-ink); font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sample-tag { display: inline-flex; align-items: center; gap: 6px; font: 600 0.6875rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.sample-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--carbon); }
.on-night .sample-tag { color: var(--night-muted); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: rgb(18 32 46 / 0.94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); color: var(--night-text); border-bottom: 1px solid var(--night-line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; }
.site-head .tl-logo { font-size: 0.82rem; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 0.875rem; }
.nav a { color: var(--night-text); text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--carbon); }
.menu-btn { display: none; font: 600 0.875rem var(--body); color: var(--night-text); background: none; border: 1px solid var(--night-line); border-radius: 8px; padding: 8px 12px; cursor: pointer; }
.mobile-nav { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 0.875rem; }
.btn-primary { background: var(--carbon); color: var(--ink); box-shadow: 0 8px 24px -10px var(--glow); }
a.btn-primary:hover, button.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgb(246 201 14 / 0.6); }
.btn-secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
a.btn-secondary:hover, button.btn-secondary:hover { background: var(--paper); transform: translateY(-2px); }
.on-night .btn-secondary { border-color: var(--night-text); color: #fff; }
.on-night a.btn-secondary:hover, .on-night button.btn-secondary:hover { background: var(--night-2); }
.btn[aria-disabled="true"] { border-style: dashed; border-color: var(--todo-ink); cursor: not-allowed; }
.link { font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; }
.link::after { content: "\2192"; display: inline-block; margin-left: 0.35em; transition: transform 0.2s; }
.link:hover::after { transform: translateX(3px); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.on-night .link { color: #fff; }

/* Bands and texture */
.section { padding-block: clamp(80px, 11vw, 140px); position: relative; }
.section-tight { padding-block: clamp(56px, 8vw, 96px); position: relative; }
.bg-paper { background: var(--paper); }
.bg-night { background: radial-gradient(120% 120% at 85% 0%, var(--deep) 0%, var(--night) 55%); color: var(--night-text); }
.bg-night h1, .bg-night h2, .bg-night h3 { color: #fff; }
.blueprint { position: relative; isolation: isolate; }
.blueprint::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(80% 80% at 60% 30%, #000 30%, transparent 85%); mask-image: radial-gradient(80% 80% at 60% 30%, #000 30%, transparent 85%); }
.blueprint-light::before { background-image: linear-gradient(rgb(18 32 46 / 0.06) 1px, transparent 1px), linear-gradient(90deg, rgb(18 32 46 / 0.06) 1px, transparent 1px); }
.eyebrow { font: 600 0.75rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.bg-night .eyebrow, .eyebrow.yellow { color: var(--carbon); }
.display { font-size: clamp(3rem, 7.4vw, 6.25rem); line-height: 0.93; font-weight: 800; }
.statement { font: 800 clamp(3rem, 9.5vw, 8.5rem)/0.9 var(--display); letter-spacing: -0.005em; text-wrap: balance; }
.statement em { font-style: normal; color: var(--carbon); }
.statement-dark em { color: var(--carbon-deep); }
.h2 { font-size: clamp(2.25rem, 4.8vw, 3.75rem); line-height: 1; }
.h3 { font-size: 1.75rem; line-height: 1.05; }
.lead { font-size: clamp(1.1875rem, 1.8vw, 1.375rem); line-height: 1.55; color: var(--muted); max-width: 36em; }
.bg-night .lead { color: var(--night-text); }
.head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); }
.head.center { justify-items: center; text-align: center; }
.head.center .lead { margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.center .actions { justify-content: center; }
.note { font-size: 0.9375rem; color: var(--muted); }
.bg-night .note { color: var(--night-muted); }

/* Heroes */
.hero-home { padding-block: clamp(64px, 9vw, 112px) clamp(150px, 16vw, 210px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.trades { font: 500 0.875rem/1.4 var(--mono); color: var(--night-muted); }
.page-hero { padding-block: clamp(72px, 11vw, 136px) clamp(56px, 8vw, 96px); overflow: hidden; }
.page-hero > .container { display: grid; gap: 22px; }

/* Phone mockup */
.phone-stage { position: relative; display: grid; justify-items: center; gap: 14px; }
.glow { position: absolute; inset: 10% 5% 15%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(246 201 14 / 0.35), transparent 75%); filter: blur(10px); pointer-events: none; }
.phone { position: relative; z-index: 1; width: min(300px, 78vw); aspect-ratio: 9 / 18.5; padding: 12px; border-radius: 46px; background: linear-gradient(160deg, #2a3b4d, #0b1520); box-shadow: 0 0 0 1px #3a4d60, 0 40px 80px -24px rgb(0 0 0 / 0.65); }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, #0f1c2a, #0a131c); color: #fff; }
.notch { position: absolute; top: 10px; left: 50%; z-index: 3; width: 34%; height: 24px; border-radius: 14px; background: #05090d; transform: translateX(-50%); }
.scr { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 48px 18px 28px; text-align: center; transition: opacity 0.5s, transform 0.5s; }
.scr-label { font: 600 0.6875rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--night-muted); }
.scr-num { font: 700 1.75rem/1 var(--display); }
.scr-sub { font-size: 0.8125rem; color: var(--night-muted); }
.ring { position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin-top: 18px; border-radius: 50%; background: #2fb36b; color: #fff; }
.ring svg { width: 30px; height: 30px; }
.ring span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #2fb36b; opacity: 0; }
.wave { display: flex; align-items: center; gap: 4px; height: 44px; }
.wave i { display: block; width: 5px; height: 30%; border-radius: 3px; background: var(--carbon); }
.bubble { max-width: 230px; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #1d3145; font-size: 0.8125rem; line-height: 1.45; text-align: left; }
.mini-ticket { width: 100%; padding: 14px 14px 12px; border-radius: 10px; background: var(--carbon); color: var(--ink); font: 500 0.6875rem/1.45 var(--mono); text-align: left; box-shadow: 0 16px 30px -12px rgb(0 0 0 / 0.6); }
.mini-ticket b { display: block; padding-bottom: 7px; margin-bottom: 7px; border-bottom: 1.5px solid var(--ink); font: 800 1.125rem/1 var(--display); text-transform: uppercase; }
.mini-ticket dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 8px; margin: 0; }
.mini-ticket dt { font-weight: 600; } .mini-ticket dd { margin: 0; }
.scr-foot { font-size: 0.75rem; color: var(--night-muted); }
.phone .scr-call, .phone .scr-ai { opacity: 0; transform: translateY(12px); pointer-events: none; }
.phone[data-stage="1"] .scr-call, .phone[data-stage="2"] .scr-ai { opacity: 1; transform: none; }
.phone[data-stage="1"] .scr-sum, .phone[data-stage="2"] .scr-sum { opacity: 0; transform: translateY(40px); }
.phone[data-stage="1"] .ring span { animation: ring 1.4s ease-out infinite; }
.phone[data-stage="1"] .ring span + span { animation-delay: 0.7s; }
.phone[data-stage="2"] .wave i { animation: wave 0.9s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: 0.1s; } .wave i:nth-child(3) { animation-delay: 0.2s; } .wave i:nth-child(4) { animation-delay: 0.3s; } .wave i:nth-child(5) { animation-delay: 0.4s; } .wave i:nth-child(6) { animation-delay: 0.5s; } .wave i:nth-child(7) { animation-delay: 0.6s; }
@keyframes ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.9); opacity: 0; } }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 95%; } }
.replay { background: none; border: 0; color: var(--night-muted); font: 600 0.8125rem var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: grid; align-content: start; gap: 14px; padding: clamp(24px, 3vw, 36px); background: var(--white); border-radius: var(--radius); border: 1px solid var(--rule); box-shadow: var(--shadow); min-width: 0; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.card p { color: var(--muted); }
.card-hover:hover, a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift), inset 0 3px 0 var(--carbon); border-color: transparent; }
a.card { text-decoration: none; color: inherit; }
.bg-night .card { background: var(--night-2); border-color: var(--night-line); box-shadow: none; }
.bg-night .card p { color: var(--night-muted); }
.icon-chip { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--paper); color: var(--ink); transition: background 0.25s; }
.icon-chip svg { width: 30px; height: 30px; }
.card-hover:hover .icon-chip, a.card:hover .icon-chip { background: var(--carbon); }
.service-card { gap: 16px; padding: clamp(28px, 3.5vw, 40px); }
.service-card .card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-card .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--rule); }
.price { font: 600 0.9375rem var(--mono); color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font: 600 0.75rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; background: var(--paper); color: var(--muted); }
.pill-live { background: var(--carbon); color: var(--ink); }
.pill-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.overlap { position: relative; z-index: 2; margin-top: clamp(-190px, -15vw, -120px); }

/* Stat strip with count-ups */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--night-line); }
.stat { display: grid; gap: 6px; padding: 28px 24px 0 0; }
.stat b { font: 800 clamp(3rem, 6vw, 4.5rem)/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 0.45em; color: var(--carbon); margin-left: 4px; }
.stat span { color: var(--night-muted); font-size: 0.9375rem; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--ink); counter-increment: step; }
.steps li::before { content: "0" counter(step); font: 600 0.8125rem var(--mono); color: var(--carbon-deep); }
.steps h3 { font-size: 1.625rem; }
.steps p { color: var(--muted); font-size: 1rem; }

/* Feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 96px); align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature + .feature { margin-top: clamp(80px, 11vw, 140px); }
.feature-copy { display: grid; gap: 18px; align-content: center; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 7vw, 96px); align-items: start; }
.prose { display: grid; gap: 18px; font-size: 1.125rem; color: var(--muted); }
.prose strong { color: var(--ink); }
.bg-night .prose { color: var(--night-text); }
.bg-night .prose strong { color: #fff; }
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: calc(0.35em + 4px); width: 5px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bg-night .checklist li::before { background: var(--carbon); }
.bg-night .checklist li::after { border-color: var(--ink); }
.crosslist { list-style: none; display: grid; gap: 14px; }
.crosslist li { position: relative; padding-left: 32px; color: var(--muted); }
.crosslist li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--muted); }
.crosslist li::after { content: ""; position: absolute; left: 5px; top: calc(0.35em + 8px); width: 9px; height: 1.5px; background: var(--muted); }

/* Work order ticket */
.ticket { padding: 24px 24px 18px; background: var(--carbon); color: var(--ink); font: 500 0.9375rem/1.5 var(--mono); border-radius: 8px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.45); }
.ticket-head { padding-bottom: 12px; border-bottom: 2px solid var(--ink); font: 800 1.75rem/1 var(--display); text-transform: uppercase; }
.ticket dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 7px 16px; margin: 14px 0; }
.ticket dt { font-weight: 600; }
.ticket dd { margin: 0; min-height: 1.5em; }
.ticket dd.filled { animation: fill 0.6s ease-out; }
@keyframes fill { from { background: rgb(255 255 255 / 0.75); } to { background: transparent; } }
.ticket-reply { padding-top: 12px; border-top: 1px dashed var(--ink); font-weight: 600; }

/* Sample call stepper */
.convo-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.convo { list-style: none; display: grid; gap: 10px; min-height: 20rem; align-content: start; }
.convo li { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-size: 0.9875rem; line-height: 1.5; }
.convo li.new { animation: pop 0.35s ease-out; }
.convo li b { display: block; font: 600 0.6875rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px; }
.convo .ai { background: var(--night); color: var(--night-text); border-bottom-left-radius: 4px; }
.convo .ai b { color: var(--carbon); }
.convo .caller { justify-self: end; background: var(--white); border: 1px solid var(--rule); border-bottom-right-radius: 4px; }
.convo .caller b { color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.convo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.progress { font: 600 0.8125rem var(--mono); color: var(--muted); }

/* Plans */
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--rule); }
.toggle button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 600 0.875rem var(--body); color: var(--muted); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plans.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
.plan { display: flex; flex-direction: column; gap: 16px; padding: clamp(26px, 3vw, 36px); }
.plan-pick { border: 2px solid var(--ink); }
.plan .does { flex: 1; }
.plan-price { display: grid; gap: 2px; }
.plan-price b { font: 700 3rem/1 var(--display); font-variant-numeric: tabular-nums; }
.plan-price b small { font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.plan-price > span { font-size: 0.9375rem; color: var(--muted); }
.plan-rows { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.plan-rows div { display: flex; justify-content: space-between; gap: 12px; }
.plan-rows span:first-child { color: var(--muted); }
.callout { display: grid; gap: 10px; padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--rule); border-left: 6px solid var(--carbon); box-shadow: var(--shadow); }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
.calc-in, .calc-out { padding: clamp(26px, 4vw, 44px); display: grid; gap: 20px; align-content: start; }
.calc-out { background: radial-gradient(120% 120% at 100% 0%, var(--deep), var(--night) 60%); color: var(--night-text); }
.field { display: grid; gap: 6px; }
.field label { font: 600 0.75rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.field input { width: 100%; font: 600 1.375rem var(--body); color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--white); }
.field input:focus { outline: none; border-color: var(--carbon-deep); box-shadow: 0 0 0 4px rgb(246 201 14 / 0.25); }
.out-label { font: 600 0.75rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--carbon); }
.out-big { font: 800 clamp(3rem, 6vw, 4.5rem)/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.out-row { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--night-line); font-variant-numeric: tabular-nums; }
.out-row b { color: #fff; }
.disclaimer { font-size: 0.875rem; color: var(--night-muted); }
.disclaimer strong { color: var(--carbon); }

/* FAQ */
.faq { display: grid; margin: 0; border-top: 1px solid var(--ink); }
.faq > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px 32px; padding-block: 24px; border-bottom: 1px solid var(--rule); }
.faq dt { font-weight: 600; font-size: 1.0625rem; }
.faq dd { margin: 0; color: var(--muted); }

/* Browser mockup */
.browser { position: relative; border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--rule), 0 40px 80px -30px rgb(18 32 46 / 0.45); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #e8ecef; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9d0d6; flex: none; }
.browser-bar span { flex: 1; min-width: 0; margin-left: 10px; padding: 4px 12px; border-radius: 999px; background: var(--white); font: 500 0.75rem var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-site { font-size: 0.8125rem; }
.ms-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; background: #173a5e; color: #fff; }
.ms-head b { font: 700 1rem var(--display); letter-spacing: 0.02em; }
.ms-head span { font: 600 0.75rem var(--mono); color: #ffd84d; white-space: nowrap; }
.ms-hero { display: grid; gap: 10px; padding: 26px 18px; background: linear-gradient(135deg, #1e4a75, #12324f); color: #fff; }
.ms-hero h4 { font: 800 1.75rem/1 var(--display); }
.ms-hero p { color: #cfe0ef; }
.ms-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-btns span { padding: 7px 12px; border-radius: 999px; background: #ffd84d; color: #12202e; font-weight: 600; font-size: 0.75rem; }
.ms-btns span + span { background: transparent; border: 1px solid #cfe0ef; color: #fff; }
.ms-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px 18px; }
.ms-tiles div { padding: 10px; border-radius: 8px; background: var(--paper); font-weight: 600; font-size: 0.75rem; }
.ms-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 8px; padding: 0 18px 18px; }
.ms-form i { display: block; height: 30px; border-radius: 6px; border: 1px solid var(--rule); }
.ms-form b { padding: 8px 12px; border-radius: 6px; background: #173a5e; color: #fff; font-size: 0.75rem; text-align: center; }
.breakout { position: relative; z-index: 2; margin-bottom: clamp(-150px, -12vw, -90px); }
.after-breakout { padding-top: clamp(160px, 18vw, 230px); }

/* CRM mockup */
.crm { display: grid; grid-template-columns: 124px minmax(0, 1fr); min-height: 360px; font-size: 0.8125rem; }
.crm-side { display: grid; align-content: start; gap: 6px; padding: 16px 12px; background: var(--night); color: var(--night-muted); }
.crm-side b { color: #fff; font: 700 1rem var(--display); margin-bottom: 10px; }
.crm-side span { padding: 7px 10px; border-radius: 8px; }
.crm-side span.on { background: var(--night-2); color: #fff; }
.crm-main { display: grid; gap: 14px; align-content: start; padding: 16px; background: var(--paper); min-width: 0; }
.crm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.crm-kpis div { padding: 12px; border-radius: 10px; background: var(--white); box-shadow: var(--shadow); }
.crm-kpis b { display: block; font: 700 1.75rem/1 var(--display); }
.crm-kpis span { color: var(--muted); font-size: 0.75rem; }
.crm-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.crm-table th { text-align: left; font: 600 0.6875rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 9px 12px; border-bottom: 1px solid var(--rule); }
.crm-table td { padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.crm-table tr:last-child td { border-bottom: 0; }
.st { display: inline-block; padding: 3px 8px; border-radius: 999px; font: 600 0.6875rem var(--mono); white-space: nowrap; }
.st-new { background: #e7eef6; color: #2563a8; } .st-sched { background: #fff4cf; color: #8a6400; } .st-done { background: #e3f4ea; color: #1f7a4d; } .st-quote { background: #efe7f8; color: #7a3fb0; }

/* Empty states and gallery */
.empty-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 28px; }
.ph-card { display: grid; gap: 16px; align-content: start; padding: 20px; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.ph { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; max-width: 100%; border-radius: 12px; border: 1.5px dashed #c5ced5; background: repeating-linear-gradient(135deg, var(--paper) 0 12px, #e9edef 12px 24px); color: #8795a1; }
.ph svg { width: 44px; height: 44px; }
.ph-browser { padding-top: 22px; }
.ph-browser::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 22px; border-bottom: 1.5px dashed #c5ced5; background: var(--white); border-radius: 12px 12px 0 0; }
.ph-card .meta { display: grid; gap: 6px; padding: 0 4px 4px; }
.ph-card h3 { font-size: 1.5rem; }
.ph-card p { color: var(--muted); font-size: 0.9375rem; }
.ph-card[aria-expanded="true"] { box-shadow: var(--shadow-lift), inset 0 3px 0 var(--carbon); border-color: transparent; }
.ph-card[aria-expanded="true"] .ph { border-color: var(--carbon-deep); color: var(--ink); }
.how-panel { margin-top: 20px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: radial-gradient(120% 120% at 100% 0%, var(--deep), var(--night) 60%); color: var(--night-text); display: grid; gap: 14px; }
.how-panel h3 { color: #fff; font-size: 1.75rem; }
.how-panel ol { padding-left: 1.2em; display: grid; gap: 8px; }

/* Flow diagrams */
.flow-card { container-type: inline-size; grid-template-columns: minmax(0, 1fr); display: grid; gap: 22px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--rule); box-shadow: var(--shadow); min-width: 0; }
.flow { display: flex; align-items: stretch; min-width: 0; }
.flow-step { flex: 1 1 0; min-width: 0; display: grid; justify-items: center; align-content: start; gap: 10px; padding: 16px 8px; border-radius: 14px; border: 1.5px solid var(--carbon); background: var(--white); text-align: center; transition: opacity 0.4s, border-color 0.4s, background 0.4s, transform 0.4s; }
.flow-step .fi { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--carbon); color: var(--ink); transition: background 0.4s; }
.flow-step .fi svg { width: 26px; height: 26px; }
.flow-step span { font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
.flow-link { position: relative; flex: 0 0 34px; align-self: center; height: 2px; background: var(--ink); }
.flow-link::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--ink); border-right: 0; }
.flow-link i { position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--carbon); box-shadow: 0 0 0 4px var(--glow); opacity: 0; }
/* While playing, steps start dim and light up in order. */
.flow.playing .flow-step { opacity: 0.4; border-color: var(--rule); background: var(--paper); }
.flow.playing .flow-step .fi { background: var(--white); }
.flow.playing .flow-link { background: var(--rule); }
.flow.playing .flow-link::after { border-left-color: var(--rule); }
.flow.playing .flow-step.on { opacity: 1; border-color: var(--carbon); background: var(--white); transform: translateY(-2px); }
.flow.playing .flow-step.on .fi { background: var(--carbon); }
.flow.playing .flow-link.on { background: var(--ink); }
.flow.playing .flow-link.on::after { border-left-color: var(--ink); }
.flow-link.run i { animation: travel-x 0.6s ease-in-out forwards; }
@keyframes travel-x { from { left: 0; opacity: 1; } 90% { opacity: 1; } to { left: calc(100% - 10px); opacity: 0; } }
@keyframes travel-y { from { top: 0; opacity: 1; } 90% { opacity: 1; } to { top: calc(100% - 10px); opacity: 0; } }
.flow-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }

/* Contact */
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.contact-list > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 8px 24px; padding-block: 22px; border-bottom: 1px solid var(--rule); }
.contact-list dt { font: 600 0.75rem/1.8 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 1.125rem; }
.map-card { padding: 0; overflow: hidden; }
.map { width: 100%; height: auto; display: block; }

/* CTA */
.cta { text-align: center; overflow: hidden; }
.cta .container { display: grid; gap: 24px; justify-items: center; }

/* Footer */
footer { background: var(--night); color: var(--night-muted); font-size: 0.875rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr) minmax(0, 0.8fr) minmax(0, 1.3fr) minmax(0, 0.8fr); gap: 32px; padding-block: 64px 40px; }
.foot-grid .tl-logo { font-size: 0.8rem; }
.foot-grid h2 { font: 600 0.75rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--night-text); margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
.foot-grid a { color: var(--night-muted); text-decoration: none; }
.foot-grid a:hover { color: #fff; }
.foot-blurb { margin-top: 16px; max-width: 22em; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid var(--night-line); }

/* Legal and brand */
.legal { display: grid; gap: 16px; max-width: 42em; }
.legal h2 { margin-top: 22px; font-size: 1.75rem; }
.legal ul { display: grid; gap: 8px; padding-left: 1.25em; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.swatch { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); background: var(--white); box-shadow: var(--shadow); }
.swatch i { display: block; height: 96px; }
.swatch div { padding: 14px 16px; font: 500 0.875rem/1.5 var(--mono); }
.logo-stage { display: grid; place-items: center; gap: 28px; }
.logo-stage .tl-logo { font-size: clamp(1.4rem, 5.5vw, 3.2rem); }
.show { display: grid; place-items: center; min-height: 180px; border-radius: 12px; }
.show.dark { background: var(--night); }
.show.light { background: var(--paper); }
.show img { max-width: 100%; height: auto; }

/* Scroll reveal: visible at rest; the script only adds a small lift for content below the fold. */
.reveal-ready .reveal { transform: translateY(24px); transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal-ready .reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal { transform: none; transition: none; }
  .btn, .card, .link::after, .flow-step, .scr { transition: none; }
  .phone .ring span, .phone .wave i, .convo li.new, .ticket dd.filled, .flow-link.run i { animation: none !important; }
}

@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { display: block; border-top: 1px solid var(--night-line); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav ul { list-style: none; display: grid; padding-block: 8px 20px; }
  .mobile-nav a { display: block; padding: 12px 0; color: var(--night-text); text-decoration: none; font-size: 1.0625rem; border-bottom: 1px solid var(--night-line); }
  .mobile-nav a[aria-current="page"] { color: #fff; font-weight: 600; }
  .mobile-nav .btn { margin-top: 16px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-grid, .feature, .split, .convo-wrap, .calc, .grid-2, .grid-3, .plans, .plans.plans-2 { grid-template-columns: minmax(0, 1fr); }
  .feature.flip > :first-child { order: 0; }
  .grid-4, .steps, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-pick { order: -1; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq > div { grid-template-columns: minmax(0, 1fr); }
  .crm { grid-template-columns: minmax(0, 1fr); }
  .crm-side { display: none; }
  .hero-home { padding-bottom: clamp(140px, 30vw, 200px); }
}
@media (max-width: 560px) {
  .grid-4, .steps, .swatches, .stats { grid-template-columns: minmax(0, 1fr); }
  .crm-table th:nth-child(2), .crm-table td:nth-child(2) { display: none; }
  .contact-list > div { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { width: 100%; }
  .ms-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-form { grid-template-columns: minmax(0, 1fr); }
  .convo li { max-width: 96%; }
  .ticket { padding: 20px 16px 14px; font-size: 0.875rem; }
}

/* Navy-band variants */
.bg-night .steps li { border-top-color: #fff; }
.bg-night .steps p { color: var(--night-muted); }
.bg-night .steps li::before { color: #FFC970; }
.how-panel:focus { outline: none; }
.ticket-glow { position: relative; }
.ticket-glow .glow { inset: -10% -10% -10% -10%; }
.ticket-glow .ticket { position: relative; z-index: 1; transform: rotate(1deg); }
@media (max-width: 900px) { .ticket-glow .ticket { transform: none; } }
.ph-card .ph-title { font: 700 1.5rem/1.05 var(--display); }
.ph-card .ph-desc { color: var(--muted); font-size: 0.9375rem; }
.ph-card .meta .pill { justify-self: start; }
.card .calc-out p { color: var(--night-text); }
.card .calc-out .out-big { color: #fff; }
.card .calc-out .out-label { color: var(--carbon); }
.card .calc-out .disclaimer { color: var(--night-muted); }
.card .calc-in .note { color: var(--muted); }
.mini-site, .crm { color: var(--ink); text-align: left; }
.crm-side { color: var(--night-muted); }

.crm-table td, .crm-table th { white-space: nowrap; }

/* Bundle */
.bundle { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 4.5vw, 56px); border: 0; background: radial-gradient(120% 140% at 100% 0%, var(--deep), var(--night) 60%); color: var(--night-text); overflow: hidden; }
.bundle-wide { grid-column: 1 / -1; }
.bundle h2 { color: #fff; }
.card.bundle p { color: var(--night-text); }
.card.bundle .bundle-note { color: var(--night-muted); font-size: 0.9375rem; }
.bundle-copy { display: grid; gap: 18px; justify-items: start; }
.bundle-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bundle .eyebrow { color: var(--carbon); }
.pill-soon { background: rgb(246 201 14 / 0.14); color: var(--carbon); }
.bundle-price { font: 700 clamp(1.75rem, 3vw, 2.25rem)/1.1 var(--display); color: #fff; }
.bundle-price span { color: var(--night-muted); margin-inline: 4px; }
.bundle-items { list-style: none; display: grid; gap: 12px; }
.bundle-items li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; border-radius: 14px; background: rgb(255 255 255 / 0.05); border: 1px solid var(--night-line); }
.bundle-items .icon-chip { background: var(--carbon); color: var(--ink); }
.bundle-items b { display: block; color: #fff; font-weight: 600; }
.bundle-items span { color: var(--night-muted); font-size: 0.9375rem; }
@media (max-width: 900px) { .bundle { grid-template-columns: minmax(0, 1fr); } }

/* Bundle savings and the custom bundle builder */
.card.bundle .bundle-save { color: var(--night-text); font-size: 0.9375rem; }
.card.bundle .bundle-save b { color: #fff; }
#bundles .bundle { margin-bottom: 20px; }
.pill-soon-light { background: #fff4cf; color: #8a6400; }
.checklist.small { gap: 10px; font-size: 0.9375rem; }
.checklist.small li::before { width: 16px; height: 16px; }
.checklist.small li::after { left: 5px; top: calc(0.35em + 3px); }
.plan .checklist { flex: 1; }
.builder { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
.b-pick { display: grid; gap: 16px; align-content: start; padding: clamp(26px, 4vw, 44px); }
.b-pick fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; min-width: 0; }
.b-pick legend { margin-bottom: 8px; font: 600 0.75rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.b-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--rule); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.b-row:hover { border-color: var(--muted); }
.b-row:has(input:checked) { border-color: var(--carbon-deep); background: #fffbea; }
.b-row input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.b-name { font-weight: 600; font-size: 0.9375rem; }
.b-name small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8125rem; }
.b-price { font: 600 0.8125rem var(--mono); white-space: nowrap; text-align: right; }
.b-sum { display: grid; gap: 14px; align-content: start; padding: clamp(26px, 4vw, 44px); background: radial-gradient(120% 120% at 100% 0%, var(--deep), var(--night) 60%); color: var(--night-text); }
.card .b-sum p { color: var(--night-text); }
.card .b-sum .out-big { color: #fff; }
.card .b-sum .out-label { color: var(--carbon); }
.card .b-sum .disclaimer { color: var(--night-muted); }
.b-sum .out-row b { white-space: nowrap; }
@media (max-width: 900px) { .builder { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .b-row { grid-template-columns: 22px minmax(0, 1fr); } .b-price { grid-column: 2; text-align: left; white-space: normal; } }

/* The flow diagram stacks when its card is too narrow for four steps in a row. */
@container (max-width: 640px) {
  .flow { flex-direction: column; }
  .flow-step { grid-template-columns: 48px minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; padding: 12px 14px; }
  .flow-link { flex: 0 0 26px; width: 2px; height: auto; align-self: auto; margin-left: 37px; }
  .flow-link::after { right: auto; left: -4px; top: auto; bottom: -2px; border: 5px solid transparent; border-top-color: var(--ink); border-bottom: 0; }
  .flow.playing .flow-link::after { border-left-color: transparent; border-top-color: var(--rule); }
  .flow.playing .flow-link.on::after { border-left-color: transparent; border-top-color: var(--ink); }
  .flow-link i { left: -4px; top: 0; }
  .flow-link.run i { animation-name: travel-y; }
}


/* =====================================================================
   LEVELPOINT · DARK LIQUID GLASS
   Direction: smoky see-through panels floating over a slate field with
   slow emerald and blue glows. Tokens are re-pointed to glass values;
   the client-site and CRM mockups keep their own light palette.
   ===================================================================== */
:root {
  color-scheme: dark;
  --field: #0B1120;
  --white: rgb(255 255 255 / 0.065);      /* glass fill */
  --paper: rgb(255 255 255 / 0.035);
  --ink: #F1F5F9;
  --muted: #D8E1EC;
  --rule: rgb(255 255 255 / 0.13);
  --night: #0B1120;
  --night-2: rgb(255 255 255 / 0.06);
  --deep: #0F172A;
  --night-line: rgb(255 255 255 / 0.13);
  --night-text: #E2E8F0;
  --night-muted: #CBD6E4;
  --carbon: #F2A93B;                       /* accent: emerald */
  --carbon-deep: #FFC970;
  --glow: rgb(242 169 59 / 0.35);
  --on-accent: #0F172A;
  --rim: rgb(255 255 255 / 0.18);
  --rim-hi: rgb(255 255 255 / 0.42);
  --glass-strong: rgb(255 255 255 / 0.10);
  --display: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 24px 60px -28px rgb(0 0 0 / 0.7);
  --shadow-lift: 0 30px 70px -26px rgb(0 0 0 / 0.8);
}
body { background: var(--field); color: var(--ink); }
/* The glowing field everything floats over */
body::before {
  content: ""; position: fixed; inset: -10%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 42% at 12% 18%, rgb(242 169 59 / 0.34), transparent 70%),
    radial-gradient(34% 40% at 88% 8%, rgb(56 120 255 / 0.26), transparent 70%),
    radial-gradient(40% 44% at 70% 92%, rgb(242 169 59 / 0.20), transparent 70%),
    radial-gradient(30% 34% at 20% 85%, rgb(56 120 255 / 0.14), transparent 70%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 80%); mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 80%);
}
@media (prefers-reduced-motion: no-preference) {
  body::before { animation: lp-drift 28s ease-in-out infinite alternate; }
  @keyframes lp-drift { to { transform: translate(3%, 2%) scale(1.05); } }
}
h1, h2, h3, h4 { letter-spacing: -0.02em; }
:focus-visible { outline-color: var(--carbon-deep); }

/* Bands become see-through so the field shows */
.bg-paper, .bg-night { background: transparent; }
.bg-paper { background: linear-gradient(180deg, transparent, rgb(255 255 255 / 0.025) 20%, rgb(255 255 255 / 0.025) 80%, transparent); }

/* Type scale tuned for Archivo (wider than the old condensed face) */
.display { font-size: clamp(2.6rem, 6.2vw, 4.75rem); line-height: 0.98; letter-spacing: -0.03em; }
.statement { font-size: clamp(2.5rem, 7.2vw, 6.25rem); line-height: 0.95; letter-spacing: -0.03em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.02; }
.h3 { font-size: 1.5rem; }
.steps h3 { font-size: 1.375rem; }
.eyebrow { color: var(--carbon-deep); font-family: var(--body); letter-spacing: 0.14em; }

/* The glass material */
.card, .callout, .flow-card, .swatch, .toggle, .site-head, .mobile-nav {
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
}
.card, .callout, .flow-card, .swatch {
  border: 1px solid var(--rim);
  box-shadow: inset 0 1px 0 var(--rim-hi), inset 0 -1px 0 rgb(255 255 255 / 0.05), var(--shadow);
  border-radius: 24px;
}
.card::before, .callout::before, .flow-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.13), transparent 36%);
}
.callout, .flow-card { position: relative; }
.card > *, .callout > *, .flow-card > * { position: relative; }
.card-hover:hover, a.card:hover { box-shadow: inset 0 1px 0 var(--rim-hi), 0 0 0 1px rgb(242 169 59 / 0.45), var(--shadow-lift); border-color: transparent; }
.bg-night .card { background: var(--white); border-color: var(--rim); box-shadow: inset 0 1px 0 var(--rim-hi), var(--shadow); }
.callout { border-left: 1px solid var(--rim); box-shadow: inset 3px 0 0 var(--carbon), inset 0 1px 0 var(--rim-hi), var(--shadow); }

/* Header: a glass bar */
.site-head { background: rgb(11 17 32 / 0.55); border-bottom: 1px solid var(--rim); box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.04); }
.nav a[aria-current="page"] { border-bottom-color: var(--carbon); }
.lp-logo { display: inline-flex; align-items: center; text-decoration: none; color: #fff; }
.lp-word { font: 700 1.5rem/1 var(--display); letter-spacing: -0.015em; white-space: nowrap; }
.lp-word i { display: inline-block; width: 0.24em; height: 0.24em; border-radius: 50%; background: var(--carbon); margin-left: 0.07em; }
.foot-grid .lp-word { font-size: 1.4rem; }

/* Buttons and small accents: dark text on emerald */
.btn-primary { background: linear-gradient(180deg, #FFC970, #F2A93B); color: var(--on-accent); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55), 0 10px 26px -10px rgb(242 169 59 / 0.75); }
a.btn-primary:hover, button.btn-primary:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55), 0 16px 34px -10px rgb(242 169 59 / 0.9); }
.btn-secondary, .on-night .btn-secondary { border-color: var(--rim); color: #fff; background: rgb(255 255 255 / 0.06); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 var(--rim-hi); }
a.btn-secondary:hover, button.btn-secondary:hover, .on-night a.btn-secondary:hover { background: rgb(255 255 255 / 0.12); }
.btn[aria-disabled="true"] { border-color: #ff9cc2; }
.skip, .pill-live, .flow-step .fi, .bundle-items .icon-chip { color: var(--on-accent); }
.pill-live::before { background: var(--on-accent); }
.icon-chip { background: rgb(255 255 255 / 0.08); color: var(--ink); box-shadow: inset 0 1px 0 var(--rim-hi); }
.card-hover:hover .icon-chip, a.card:hover .icon-chip { background: var(--carbon); color: var(--on-accent); }
.toggle { background: rgb(255 255 255 / 0.06); border-color: var(--rim); }
.toggle button[aria-pressed="true"] { background: var(--carbon); color: var(--on-accent); }
.pill-soon-light, .pill-soon { background: rgb(242 169 59 / 0.16); color: var(--carbon-deep); }
.plan-pick { border: 1px solid rgb(242 169 59 / 0.65); box-shadow: inset 0 1px 0 var(--rim-hi), 0 0 0 1px rgb(242 169 59 / 0.35), 0 0 48px -12px rgb(242 169 59 / 0.45), var(--shadow); }

/* Lists with check marks */
.checklist li::before, .bg-night .checklist li::before { background: var(--carbon); }
.checklist li::after, .bg-night .checklist li::after { border-color: var(--on-accent); }

/* Tinted glass for the "result" panels that used navy gradients */
.calc-out, .b-sum, .how-panel, .bundle, .card.bundle {
  background: linear-gradient(160deg, rgb(242 169 59 / 0.16), rgb(255 255 255 / 0.04) 55%);
}
.bundle-items li { background: rgb(255 255 255 / 0.05); border-color: var(--rim); }
.b-row:has(input:checked) { border-color: var(--carbon); background: rgb(242 169 59 / 0.12); }
.b-row input { accent-color: var(--carbon); }
.field input:focus { border-color: var(--carbon); box-shadow: 0 0 0 4px rgb(242 169 59 / 0.25); }

/* Work-order tickets become emerald glass */
.ticket, .mini-ticket { background: linear-gradient(160deg, rgb(242 169 59 / 0.28), rgb(242 169 59 / 0.10)); color: var(--ink); border: 1px solid rgb(255 201 112 / 0.55); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35), 0 30px 60px -24px rgb(0 0 0 / 0.7); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.ticket-head, .mini-ticket b { border-bottom-color: rgb(255 255 255 / 0.4); }
.ticket-reply { border-top-color: rgb(255 255 255 / 0.4); }
@keyframes fill { from { background: rgb(255 201 112 / 0.45); } to { background: transparent; } }

/* Phone mockup: glass bezel, emerald glow */
.glow { background: radial-gradient(closest-side, rgb(242 169 59 / 0.45), transparent 75%); }
.phone { background: linear-gradient(160deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.04)); box-shadow: 0 0 0 1px var(--rim), inset 0 1px 0 var(--rim-hi), 0 40px 80px -24px rgb(0 0 0 / 0.75); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.screen { background: linear-gradient(180deg, #0F172A, #0B1120); }
.bubble { background: rgb(255 255 255 / 0.08); border: 1px solid var(--rim); }

/* Placeholders */
.ph { border-color: rgb(255 255 255 / 0.2); background: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.03) 0 12px, rgb(255 255 255 / 0.06) 12px 24px); color: var(--muted); }
.ph-browser::before { border-bottom-color: rgb(255 255 255 / 0.2); background: rgb(255 255 255 / 0.05); }
.ph-card[aria-expanded="true"] .ph { color: var(--ink); }

/* Conversation and call player */
.convo .ai { background: rgb(242 169 59 / 0.12); border: 1px solid rgb(242 169 59 / 0.3); }
.convo .caller { border-color: var(--rim); }

/* Footer: a faint glass floor */
footer { background: linear-gradient(180deg, transparent, rgb(255 255 255 / 0.03)); border-top: 1px solid var(--rim); }

.foot-grid .lp-logo { color: #fff; }

/* Mockups of client sites and the CRM keep their own light colors */
.browser, .crm {
  --white: #ffffff; --paper: #f1f3f4; --ink: #15212c; --muted: #5a6875; --rule: #dde3e7;
  --night: #12202e; --night-2: #1a2b3c; --night-text: #dfe7ee; --night-muted: #9fb1c1; --night-line: #2c4258;
}
.browser { box-shadow: 0 0 0 1px var(--rim), 0 40px 80px -30px rgb(0 0 0 / 0.7); }
.swatch div { color: var(--ink); }

/* Interactive field: glows that follow the pointer and ripple on clicks (added by site.js). */
.lp-field { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.lp-blob { position: absolute; left: 0; top: 0; border-radius: 50%; filter: blur(70px); will-change: transform; }
.lp-blob.b1 { width: 34vmax; height: 34vmax; margin: -17vmax 0 0 -17vmax; filter: blur(50px); background: radial-gradient(closest-side, rgb(242 169 59 / 0.55), transparent); }
.lp-blob.b2 { width: 50vmax; height: 50vmax; margin: -25vmax 0 0 -25vmax; background: radial-gradient(closest-side, rgb(56 120 255 / 0.28), transparent); }
.lp-blob.b3 { width: 36vmax; height: 36vmax; margin: -18vmax 0 0 -18vmax; background: radial-gradient(closest-side, rgb(236 232 223 / 0.30), transparent); }
.lp-ripple { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; border: 2px solid rgb(255 201 112 / 0.75); box-shadow: 0 0 32px 6px rgb(242 169 59 / 0.35), inset 0 0 18px rgb(255 201 112 / 0.35); }
.lp-flash { position: absolute; left: 0; top: 0; width: 280px; height: 280px; margin: -140px 0 0 -140px; border-radius: 50%; background: radial-gradient(closest-side, rgb(236 232 223 / 0.35), rgb(242 169 59 / 0.15) 60%, transparent); filter: blur(10px); }
.lp-water { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; filter: blur(2.5px); opacity: 0.85; }
/* aqua joins the slate field */
body::before {
  background:
    radial-gradient(38% 42% at 12% 18%, rgb(242 169 59 / 0.30), transparent 70%),
    radial-gradient(34% 40% at 88% 8%, rgb(56 120 255 / 0.22), transparent 70%),
    radial-gradient(40% 44% at 70% 92%, rgb(236 232 223 / 0.18), transparent 70%),
    radial-gradient(30% 34% at 20% 85%, rgb(236 232 223 / 0.12), transparent 70%);
}

/* Three-color blend: slate navy base with emerald and aqua flowing through it as one
   soft mesh. Replaces the earlier separate glows (and drops the blue). */
body { background: #0F172A; }
body::before {
  inset: -25%;
  background:
    radial-gradient(42% 38% at 18% 22%, rgb(242 169 59 / 0.55), transparent 70%),
    radial-gradient(40% 42% at 82% 18%, rgb(236 232 223 / 0.42), transparent 70%),
    radial-gradient(46% 40% at 64% 78%, rgb(242 169 59 / 0.34), transparent 72%),
    radial-gradient(38% 36% at 24% 82%, rgb(236 232 223 / 0.30), transparent 72%),
    radial-gradient(60% 60% at 50% 50%, rgb(15 23 42 / 0.0), rgb(11 17 32 / 0.55) 100%);
  filter: blur(40px) saturate(120%);
}
@media (prefers-reduced-motion: no-preference) {
  body::before { animation: lp-mesh 14s ease-in-out infinite alternate; }
  @keyframes lp-mesh {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    50%  { transform: translate(4%, -3%) rotate(8deg) scale(1.08); }
    100% { transform: translate(-3%, 4%) rotate(-6deg) scale(1.04); }
  }
}
/* glows in the same two colors only */
.lp-blob.b2 { background: radial-gradient(closest-side, rgb(236 232 223 / 0.30), transparent); }
.lp-blob.b3 { background: radial-gradient(closest-side, rgb(242 169 59 / 0.28), transparent); }

/* ── Flowing color (replaces the ripples) ──────────────────────
   Five soft pools, stretched into ovals and heavily blurred so they
   melt together like colored currents. Emerald and aqua only. */
.lp-pool { position: absolute; left: 0; top: 0; border-radius: 50%; filter: blur(60px); will-change: transform; }
.lp-pool.f1 { width: 46vmax; height: 34vmax; margin: -17vmax 0 0 -23vmax; background: radial-gradient(closest-side, rgb(242 169 59 / 0.50), transparent); }
.lp-pool.f2 { width: 44vmax; height: 32vmax; margin: -16vmax 0 0 -22vmax; background: radial-gradient(closest-side, rgb(236 232 223 / 0.40), transparent); }
.lp-pool.f3 { width: 50vmax; height: 30vmax; margin: -15vmax 0 0 -25vmax; background: radial-gradient(closest-side, rgb(242 169 59 / 0.36), transparent); }
.lp-pool.f4 { width: 38vmax; height: 28vmax; margin: -14vmax 0 0 -19vmax; background: radial-gradient(closest-side, rgb(236 232 223 / 0.32), transparent); }
.lp-pool.f5 { width: 56vmax; height: 26vmax; margin: -13vmax 0 0 -28vmax; background: radial-gradient(closest-side, rgb(20 200 190 / 0.24), transparent); }

/* ── Clear glass boxes ─────────────────────────────────────────
   Less blur and almost no tint so the moving colors show through,
   like clear glass. A soft text shadow keeps words readable.
   Client-site and CRM mockups (.browser, .crm) stay as they were. */
:is(.card, .callout, .flow-card, .swatch):not(:is(.browser, .crm) *) {
  -webkit-backdrop-filter: blur(6px) saturate(125%); backdrop-filter: blur(6px) saturate(125%);
  background: rgb(255 255 255 / 0.025);
  border-color: rgb(255 255 255 / 0.22);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.40), inset 0 -1px 0 rgb(255 255 255 / 0.06), 0 18px 40px -28px rgb(0 0 0 / 0.55);
  text-shadow: 0 1px 12px rgb(15 23 42 / 0.55);
}
:is(.card, .callout, .flow-card):not(:is(.browser, .crm) *)::before {
  background: linear-gradient(160deg, rgb(255 255 255 / 0.08), transparent 30%);
}

/* =====================================================================
   Automations hero scroll story. site.js adds .story-on to pin the
   section and play the phone; without it this is a normal hero that
   shows the finished, automatic thread.
   ===================================================================== */
.story-hero { overflow: visible; overflow: clip; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.story-copy { display: grid; gap: 22px; }
.story-h { display: grid; }
.story-h > span { grid-area: 1 / 1; align-self: center; transition: opacity 0.5s, transform 0.5s; }
.story-h .h-b { opacity: 0; transform: translateY(14px); color: var(--carbon-deep); }
.story-hero.swap .h-a { opacity: 0; transform: translateY(-14px); }
.story-hero.swap .h-b { opacity: 1; transform: none; }

.story-hero.story-on { height: 340vh; padding-block: 0; }
.story-on .story-pin { position: sticky; top: var(--head-h, 0px); height: calc(100vh - var(--head-h, 0px)); height: calc(100svh - var(--head-h, 0px)); display: grid; align-items: center; }
.story-on .story-phone { width: auto; height: min(600px, calc(100svh - var(--head-h, 0px) - 110px)); aspect-ratio: 9 / 18.5; }

/* Chat screen */
.screen.chat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding-top: 40px; text-align: left; }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 6px 12px 10px; border-bottom: 1px solid var(--rule); }
.chat-head b { display: block; font-size: 0.78rem; line-height: 1.2; }
.chat-head small { display: block; font: 500 0.6rem/1.3 var(--mono); color: var(--night-muted); }
.chat-av { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgb(255 255 255 / 0.12); font: 700 0.65rem var(--display); }
.chat-mode { margin-left: auto; padding: 4px 8px; border-radius: 999px; font: 600 0.55rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.chat-mode .m-auto { display: none; }
#story[data-scene="hand"] .chat-mode { background: rgb(255 255 255 / 0.1); color: var(--night-muted); }
#story[data-scene="auto"] .chat-mode { background: rgb(242 169 59 / 0.2); color: var(--carbon-deep); }
#story[data-scene="auto"] .chat-mode .m-hand { display: none; }
#story[data-scene="auto"] .chat-mode .m-auto { display: inline; }

.thread { grid-area: 2 / 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 0; margin: 0; padding: 12px; list-style: none; overflow: hidden; transition: opacity 0.4s, visibility 0.4s; }
#story[data-scene="hand"] .thread-auto, #story[data-scene="auto"] .thread-hand { opacity: 0; visibility: hidden; }
.thread .sys { align-self: center; font: 600 0.58rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: #fca5a5; }
.thread .out { align-self: flex-end; max-width: 84%; padding: 8px 11px; border-radius: 16px 16px 4px 16px; background: rgb(255 255 255 / 0.12); font-size: 0.72rem; line-height: 1.4; }
.thread .out small { display: block; margin-top: 4px; font: 500 0.56rem/1.3 var(--mono); color: var(--night-muted); }
.thread .auto { background: linear-gradient(160deg, rgb(242 169 59 / 0.34), rgb(242 169 59 / 0.14)); border: 1px solid rgb(255 201 112 / 0.45); }
.auto-tag { color: var(--carbon-deep); font-weight: 600; }
.auto-tag::before { content: "\2713  "; }
.story-on .typed-out:not(.on), .story-on .auto:not(.on) { display: none; }
.story-on .typed-out.on, .story-on .auto.on { animation: story-pop 0.35s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes story-pop { from { opacity: 0; transform: translateY(10px) scale(0.94); } }

/* Composer */
.composer { display: flex; align-items: flex-end; gap: 6px; padding: 8px 10px 16px; }
.c-field { flex: 1; min-width: 0; min-height: 30px; padding: 6px 12px; border: 1px solid var(--rim); border-radius: 16px; font-size: 0.72rem; line-height: 1.4; }
.c-ph { color: var(--night-muted); }
.composer.has-text .c-ph { display: none; }
.c-caret { display: none; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -0.15em; background: var(--carbon-deep); animation: story-blink 1s steps(1) infinite; }
#story.story-on[data-scene="hand"] .c-caret { display: inline-block; }
@keyframes story-blink { 50% { opacity: 0; } }
.c-send { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgb(255 255 255 / 0.1); color: var(--night-muted); transition: background 0.2s, color 0.2s; }
.composer.has-text .c-send { background: var(--carbon); color: var(--on-accent); }
.c-send svg { width: 15px; height: 15px; }

@media (prefers-reduced-motion: reduce) {
  .story-h > span, .thread { transition: none; }
  .c-caret { animation: none; }
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .story-hero.story-on { height: 280vh; }
  /* Flex with zero bases gives the phone a definite height, so a growing thread can't stretch it. */
  .story-on .story-pin { align-items: stretch; }
  .story-on .story-grid { display: flex; flex-direction: column; min-height: 0; gap: 16px; padding-block: 20px 12px; }
  .story-on .story-copy { flex: none; gap: 12px; }
  .story-on .story-copy .lead { font-size: 1rem; line-height: 1.45; }
  .story-on .story-stage { display: flex; flex-direction: column; align-items: center; flex: 1 1 0; min-height: 0; gap: 8px; }
  .story-on .story-phone { flex: 1 1 0; min-height: 0; height: auto; width: min(270px, 76vw); max-height: 560px; aspect-ratio: auto; border-radius: 36px; padding: 10px; }
  .story-on .story-phone .screen { border-radius: 28px; }
}

/* Account page */
.acct { max-width: 720px; }
.acct [hidden] { display: none !important; }
.acct-card { gap: 20px; }
.acct-state { display: grid; gap: 20px; min-width: 0; }
.acct-state .h2 { overflow-wrap: anywhere; }
.acct-check { display: flex; align-items: flex-start; gap: 14px; font-size: 1.0625rem; line-height: 1.45; color: var(--ink); cursor: pointer; }
.acct-check input { flex: none; width: 24px; height: 24px; margin-top: 1px; accent-color: var(--carbon); cursor: pointer; }
.acct-timer { font: 600 2rem/1 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.acct-msg { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font-size: 0.9375rem; }
.acct .btn { white-space: normal; text-align: center; }
.acct .btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
#st-live.acct-on .h2::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 12px; border-radius: 50%; background: var(--carbon); vertical-align: middle; animation: acct-pulse 1.4s ease-out infinite; }
@keyframes acct-pulse { 0% { box-shadow: 0 0 0 0 var(--glow); } 100% { box-shadow: 0 0 0 14px transparent; } }
@media (prefers-reduced-motion: reduce) { #st-live.acct-on .h2::after { animation: none; } }
@media (max-width: 520px) { .acct .actions .btn { width: 100%; } }

/* Sign in link in the header */
.nav .nav-signin { font-weight: 600; }
.nav .nav-signin::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; border: 1.5px solid currentColor; vertical-align: 1px; }
.nav .nav-signin.is-in::before { background: var(--carbon); border-color: var(--carbon); }

/* =====================================================================
   Account dashboard (account.html): sign-in card, tabs, and one panel per tab.
   ===================================================================== */
.page-hero-tight { padding-block: clamp(56px, 8vw, 96px) clamp(32px, 5vw, 56px); }
.acct-perks li::before { background: var(--carbon); }
.acct-perks li::after { border-color: var(--on-accent); }
.dash-wrap { display: grid; gap: 20px; min-width: 0; }
.dash-wrap[hidden], .dash-wrap [hidden], .acct[hidden] { display: none !important; }
.dash-top { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 24px; }
.dash-hi { display: grid; gap: 4px; min-width: 0; }
.dash-hi .h2 { overflow-wrap: anywhere; }
.dash-hi .note { overflow-wrap: anywhere; }

/* Tab row: scrolls sideways inside itself on phones; the page never does. */
.tabs { display: flex; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid var(--rim); background: rgb(255 255 255 / 0.05);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-margin-top: 96px; /* clears the sticky header when an Overview card jumps here */ }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role=tab] { flex: none; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); font: 600 0.9375rem/1 var(--body); cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.tabs [role=tab]:hover { color: var(--ink); background: rgb(255 255 255 / 0.06); }
.tabs [role=tab][aria-selected=true] { background: linear-gradient(180deg, #FFC970, #F2A93B); color: var(--on-accent); }
.tabs [role=tab]:focus-visible { outline: 2px solid var(--carbon-deep); outline-offset: 2px; }
.tab-panel { display: grid; gap: 20px; min-width: 0; }
.tab-panel:focus-visible { outline: 2px solid var(--carbon-deep); outline-offset: 6px; border-radius: 12px; }
.panel-head { display: grid; gap: 6px; }
.panel-status { color: var(--muted); }
.card.empty { justify-items: start; }

/* Overview */
.ov-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ov-card { gap: 10px; text-decoration: none; color: var(--ink); }
.ov-card b { font: 700 1.125rem/1.3 var(--body); overflow-wrap: anywhere; }
.ov-card .link { justify-self: start; font-size: 0.875rem; }

/* Services */
.svc-list { display: grid; gap: 16px; }
.svc-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.svc-top .h3 { overflow-wrap: anywhere; }
.svc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.svc-steps li { counter-increment: step; position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; }
.svc-steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--rim); color: var(--muted); font: 600 0.8125rem/1 var(--mono); background: var(--field); position: relative; z-index: 1; }
.svc-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--rule); }
.svc-steps li.is-done::before { content: "\2713"; background: var(--carbon); border-color: var(--carbon); color: var(--on-accent); font-size: 1rem; }
.svc-steps li.is-done:not(:last-child)::after { background: var(--carbon); }
.svc-steps li.is-doing::before { border-color: var(--carbon-deep); color: var(--carbon-deep); box-shadow: 0 0 0 4px rgb(242 169 59 / 0.2); }
.svc-step { display: grid; gap: 2px; padding-top: 5px; min-width: 0; }
.svc-step b { color: var(--ink); }
.svc-step p { font-size: 0.9375rem; overflow-wrap: anywhere; }
.svc-meta { font: 600 0.75rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.svc-steps li.is-doing .svc-meta, .svc-steps li.is-done .svc-meta { color: var(--carbon-deep); }

/* Results */
.res-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.res-tile { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--rule); background: rgb(255 255 255 / 0.04); min-width: 0; }
.res-k { font-size: 0.8125rem; color: var(--muted); }
.res-v { font: 800 clamp(2rem, 4vw, 2.75rem)/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.res-s { font: 600 0.6875rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--carbon); }
.res-history { display: grid; gap: 12px; }
.table-scroll { overflow-x: auto; }
.res-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.res-table th, .res-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.res-table thead th { font: 600 0.75rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

/* My plan */
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.plan-answers { color: var(--ink) !important; font-weight: 600; }
.plan-grid .quiz-picks { display: grid; gap: 12px; }
.plan-grid .quiz-pick { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--rule); text-decoration: none; color: inherit; }
.plan-grid .quiz-pick:hover { border-color: var(--carbon); }
.plan-grid .quiz-pick b { color: var(--ink); }
.plan-grid .quiz-pick span { color: var(--muted); font-size: 0.9375rem; }
.plan-sum { gap: 12px; }
.plan-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9375rem; color: var(--night-text); }
.plan-lines b { color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.card .plan-sum p, .plan-sum p { color: var(--night-text); }
.plan-sum .out-big { color: #fff; }
.plan-sum .disclaimer { color: var(--night-muted); }

/* Try demos */
.call-card { max-width: 720px; }
.demo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.demo-card { gap: 10px; text-decoration: none; color: var(--ink); }
.demo-card .pill { justify-self: start; }
.demo-card h3 { font-size: 1.0625rem; line-height: 1.25; }
.demo-card p { font-size: 0.9375rem; }
.demo-card .link { justify-self: start; font-size: 0.875rem; }
.demo-card.is-soon { opacity: 0.8; }

/* Messages */
.msg-form { max-width: 720px; }
.msg-kind { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.msg-kind legend { font: 600 0.75rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; }
.msg-kind label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.msg-kind input { accent-color: var(--carbon); width: 18px; height: 18px; }
.field textarea { width: 100%; font: 400 1rem/1.5 var(--body); color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--white); resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--carbon); box-shadow: 0 0 0 4px rgb(242 169 59 / 0.25); }
.msg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 720px; }
.msg-item { gap: 10px; }
.msg-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.msg-body { color: var(--ink) !important; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-reply { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; border-left: 3px solid var(--carbon); background: rgb(242 169 59 / 0.08); }
.msg-reply b { font-size: 0.875rem; color: var(--carbon-deep); }
.msg-reply p { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink) !important; }

/* Connect */
.con-form { max-width: 720px; }
.con-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.con-form legend { font: 600 0.75rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; }
.con-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.con-grid .b-row { grid-template-columns: 22px minmax(0, 1fr); }

/* Refer */
.ref-card { max-width: 720px; }
.ref-row { display: flex; gap: 10px; }
.ref-row input { flex: 1; min-width: 0; font: 500 1rem var(--mono); }
.ref-count { color: var(--ink) !important; font-weight: 600; }

@media (max-width: 900px) {
  .ov-grid, .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .dash-top { grid-template-columns: minmax(0, 1fr); }
  .dash-top .actions .btn, .dash-wrap .actions .btn { width: 100%; }
  .ov-grid, .demo-grid, .con-grid { grid-template-columns: minmax(0, 1fr); }
  .ref-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .tabs [role=tab] { transition: none; }
}

/* Account: AI model picker on a receptionist service */
.svc-model { display: grid; gap: 8px; margin: 6px 0 14px; }
.svc-model-label { font: 600 0.75rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }

/* Keep the header menu on one line now that it has Sign in */
.nav a { white-space: nowrap; }
@media (max-width: 1240px) { .nav { gap: 16px; font-size: 0.8125rem; } }

/* ── Polish pass: readable text over the bright pools, even cards, phone tap sizes ── */
.lp-field { opacity: 0.85; }
.eyebrow, .bg-night .eyebrow, .eyebrow.yellow, .pill-soon, .pill-soon-light { color: #FFC970; }
.statement em { color: var(--carbon-deep); }
.map { text-shadow: none; }
/* Cards with a feature list: the list takes the spare room, so prices line up */
.plan:has(.checklist) .does { flex: 0 0 auto; }
.plan .checklist { align-content: start; }
.steps li::before { color: #FFC970; }
@media (max-width: 1020px) {
  /* the mobile menu's link rules were overriding the Book a call button */
  .mobile-nav a.btn { display: flex; justify-content: center; padding: 14px 20px; border-bottom-color: transparent; color: var(--on-accent); font-weight: 600; }
  .mobile-nav .container { padding-bottom: 20px; }
  .menu-btn, .toggle button { min-height: 44px; align-items: center; }
}
/* On phones the 6px blur behind cards is invisible (the background is already soft) but
   has to be recomputed every frame as the colors move. */
@media (max-width: 760px) {
  :is(.card, .callout, .flow-card, .swatch):not(:is(.browser, .crm) *) { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ===== POLISH ONE: motion tokens, tilt, icons, focus, buttons ===== */
:root {
  --ease-out: cubic-bezier(.22,1,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --dur-1: 150ms;
  --dur-2: 240ms;
  --dur-3: 480ms;
}

/* Prices and counters keep their digits the same width so they do not jitter. */
.plan-price, .plan-price b, .plan-rows, .stat b, .price, .b-price, .out-big, .out-row b { font-variant-numeric: tabular-nums; }

/* Branded keyboard focus ring (inputs inside .field keep their own glow ring). */
a:focus-visible, button:focus-visible, summary:focus-visible, [role="button"]:focus-visible, [role="tab"]:focus-visible,
.card:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--carbon-deep); outline-offset: 3px; border-radius: 6px;
}
.btn:focus-visible, .pill:focus-visible { border-radius: 999px; }
.card:focus-visible, a.card:focus-visible, .ph-card:focus-visible { border-radius: 24px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-radius: 12px; outline-offset: 2px; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.on-night :focus-visible, .site-head :focus-visible, footer :focus-visible { outline-color: var(--carbon-deep); }

/* Header: a deeper edge once the page has scrolled (site.js adds .scrolled). */
.site-head { transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); }
.site-head.scrolled { background: rgb(11 17 32 / 0.78); border-bottom-color: rgb(255 255 255 / 0.26); box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.06), 0 14px 30px -18px rgb(0 0 0 / 0.75); }

/* Buttons: press feedback only. */
.btn { transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out); }
a.btn:active, button.btn:active, .btn:active { transform: scale(.97); }

/* Text links: the existing arrow nudges on hover, keyboard focus, or when the whole card is hovered. */
.link::after { transition: transform var(--dur-2) var(--ease-out); }
.link:is(:hover, :focus-visible)::after, :is(.card, .card-hover):is(:hover, :focus-visible) .link::after { transform: translateX(3px); }


/* Tilt (tilt.js): the card follows the pointer with a spring; the script sets the transform. */
.tilt { will-change: auto; }
.tilt.tilt-live { will-change: transform; transition: box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out); }
/* The script moves the card up itself, so the old CSS hover lift is switched off for it. */
.tilt.card:hover, a.card.tilt:hover, .card-hover.tilt:hover { transform: none; }
.tilt::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgb(209 250 229 / 0.10), transparent 65%);
  opacity: 0; transition: opacity var(--dur-2) var(--ease-out);
}
.tilt:hover::after { opacity: 1; }

/* Animated icons (icons.js): each svg names its motion in data-anim. They play when the
   parent card, link or button is hovered or focused, and. */
svg[data-anim] { transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  :is(a, button, .card-hover, .card):is(:hover, :focus-visible) svg[data-anim="wiggle"] { animation: lp-wiggle calc(var(--dur-3) * 1.25) var(--ease-out) 1; }
  :is(a, button, .card-hover, .card):is(:hover, :focus-visible) svg[data-anim="spin"] { animation: lp-spin calc(var(--dur-3) * 1.25) var(--ease-out) 1; }
  :is(a, button, .card-hover, .card):is(:hover, :focus-visible) svg[data-anim="pop"] { animation: lp-pop var(--dur-3) var(--ease-spring) 1; }
  :is(a, button, .card-hover, .card):is(:hover, :focus-visible) svg[data-anim="bounce"] { animation: lp-bounce var(--dur-3) var(--ease-spring) 1; }
  :is(a, button, .card-hover, .card):is(:hover, :focus-visible) svg[data-anim="sparkle"] { animation: lp-sparkle calc(var(--dur-3) * 1.25) var(--ease-spring) 1; }
  :is(a, button, .card-hover, .card):is(:hover, :focus-visible) svg[data-anim="nudge"] { animation: lp-nudge var(--dur-3) var(--ease-out) 1; }
  :is(a, button, .card-hover, .card):is(:hover, :focus-visible) svg[data-anim="nudge-back"] { animation: lp-nudge-back var(--dur-3) var(--ease-out) 1; }
  :is(a, button, .card-hover, .card):is(:hover, :focus-visible) svg[data-anim="draw"] > :last-child { animation: lp-draw var(--dur-3) var(--ease-out) 1; }
}
@keyframes lp-wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
@keyframes lp-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes lp-pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
@keyframes lp-bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-3px); } }
@keyframes lp-sparkle { 0%, 100% { transform: scale(1) rotate(0); } 40% { transform: scale(1.15) rotate(10deg); } 70% { transform: scale(0.96) rotate(-4deg); } }
@keyframes lp-nudge { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(3px); } }
@keyframes lp-nudge-back { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(-3px); } }
@keyframes lp-draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .btn:active { transform: none; }
  svg[data-anim], svg[data-anim] > * { animation: none !important; }
}
/* ===== END POLISH ONE ===== */

/* ---- Free business checkup (account) ---- */
.ck-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 16px; }
.ck-form .field input, .ck-form .field select { font-size: 1.125rem; }
.field select { width: 100%; font: 600 1.125rem var(--body); color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--white); }
.ck-result, .ck-history { display: grid; gap: 16px; margin-top: 20px; }
.ck-top .ck-big, .ck-big { color: var(--ink); font: 800 clamp(2rem, 5vw, 3rem)/1.05 var(--display); font-variant-numeric: tabular-nums; margin: 0; }
.ck-areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ck-area { display: grid; gap: 10px; padding: 18px; border-radius: 16px; border: 1px solid var(--rule); background: var(--white); min-width: 0; }
.ck-area-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.ck-area-name { font: 700 1.0625rem/1.25 var(--body); margin: 0; }
.ck-area-amt { font-variant-numeric: tabular-nums; font-weight: 700; }
.ck-bar { height: 12px; border-radius: 999px; background: var(--rule); overflow: hidden; }
.ck-bar span { display: block; height: 100%; min-width: 4px; border-radius: 999px; background: var(--carbon); }
.ck-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ck-fix { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 10px; border-top: 1px solid var(--rule); }
.ck-fix p { margin: 0; flex: 1 1 14rem; min-width: 0; }
.ck-up { color: #7bd18c; } .ck-down { color: #ff9a8a; }
@media (prefers-reduced-motion: no-preference) { .ck-bar span { transition: width 0.5s ease; } }
