:root {
  --brand-name: "Keelstone Group"; --brand-short: "Keelstone"; --brand-email: "smukallaj@gmail.com"; --brand-phone: "TODO_PHONE"; --brand-domain: "keelstone-site.vercel.app";
  --bg: #0A0F1A; --bg-elev: #101827; --bg-elev-2: #16202F;
  --border: rgba(148,170,205,.12); --border-strong: rgba(148,170,205,.22);
  --text: #EDF1F7; --muted: #94A3B8; --accent: #C8964E; --accent-hover: #D9A961; --info: #7C9CC4; --ok: #5BBF8A;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s7: 64px; --s8: 80px; --s9: 96px; --s10: 128px;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body::before, body::after { position: fixed; z-index: 0; inset: 0; pointer-events: none; content: ""; }
body::before { background-image: linear-gradient(rgba(148,170,205,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(148,170,205,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%); }
body::after { opacity: .035; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
body > * { position: relative; z-index: 1; }
::selection { background: rgba(200,150,78,.28); color: var(--text); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { border-radius: 8px; background: rgba(148,170,205,.2); }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
a { color: inherit; cursor: pointer; text-decoration-color: currentColor; text-underline-offset: 3px; }
a:not(.button) { display: inline-flex; min-height: 44px; align-items: center; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--info); outline-offset: 2px; }

.skip-link { position: fixed; z-index: 100; top: -80px; left: var(--s3); min-height: 44px; padding: var(--s2) var(--s3); border-radius: 0 0 10px 10px; background: var(--accent); color: #14110B; font-weight: 700; transition: top 180ms ease; }
.skip-link:focus { top: 0; }
.container { position: relative; width: min(100% - 48px, 1140px); margin-inline: auto; }
.section { padding: var(--s10) 0; }
.section--tight { padding: var(--s9) 0; }
.section > .container::before, .page-hero > .container::before { position: absolute; top: 0; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, var(--accent) 0 96px, rgba(148,170,205,.12) 96px); content: ""; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 var(--s2); color: var(--info); font-size: 12px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; }
.eyebrow::before { width: 24px; height: 1px; background: var(--accent); content: ""; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; }
h1 { max-width: 24ch; margin-bottom: var(--s3); font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.04; letter-spacing: -.02em; }
h2 { margin-bottom: var(--s3); font-size: clamp(1.9rem, 3.2vw, 2.75rem); }
h3 { margin-bottom: var(--s2); font-size: 1.35rem; }
p { max-width: 68ch; }
.lede { max-width: 62ch; color: var(--muted); font-size: 1.125rem; }
.muted { color: var(--muted); }
.text-link { color: var(--text); font-weight: 650; }
.text-link::after { color: currentColor; content: " →"; }

.site-header { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid var(--border); background: rgba(10,15,26,.72); backdrop-filter: blur(12px); }
.header-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: var(--s3); }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: var(--text); font-family: var(--serif); font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.brand:hover { color: var(--text); }
.brand img { width: 25px; height: 28px; }
.nav-list { display: flex; align-items: center; gap: var(--s1); margin: 0; padding: 0; list-style: none; }
.nav-list a { min-height: 44px; padding: 0 12px; color: var(--muted); font-size: .9rem; font-weight: 550; text-decoration: none; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--text); }
.site-nav > .button { display: none; }
.header-cta { min-width: 126px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-strong); border-radius: 10px; background: transparent; color: var(--text); }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 18px; height: 1px; margin: 4px auto; background: currentColor; content: ""; transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-5px) rotate(-45deg); }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 var(--s3); border: 1px solid transparent; border-radius: 10px; font-size: .94rem; font-weight: 700; line-height: 1; text-align: center; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button:hover { color: #14110B; }
.button--primary { background: var(--accent); color: #14110B; box-shadow: 0 6px 16px -9px rgba(200,150,78,.8); }
.button--primary:hover { transform: translateY(-1px); background: var(--accent-hover); box-shadow: 0 10px 22px -9px rgba(200,150,78,.9); }
.button--secondary { border-color: var(--border-strong); background: transparent; color: var(--text); }
.button--secondary:hover { color: var(--text); background: var(--bg-elev-2); }
.button[disabled] { cursor: wait; opacity: .65; transform: none; }

.hero { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 116px) 0 var(--s9); background: radial-gradient(60% 52% at 50% 0%, rgba(200,150,78,.13), transparent 70%), radial-gradient(48% 44% at 5% 92%, rgba(124,156,196,.07), transparent 70%); }
.hero .container { z-index: 1; }
.hero-spot { position: absolute; z-index: 0; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(200,150,78,.10), transparent 70%); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
/* В две колонки левая полоса уже, поэтому заголовок должен быть мельче — иначе 5 строк и кнопки уходят за экран */
.hero h1 { max-width: none; font-size: clamp(2.15rem, 3.05vw, 3.05rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.hero-note { margin-top: var(--s3); color: var(--muted); font-size: .86rem; }
.trust-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s1); margin-top: var(--s3); }
.trust-chip { display: flex; min-height: 48px; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.trust-chip svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--info); }
.call-illustration { min-width: 0; }
.ops-feed { min-width: 0; padding: 20px; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-elev); box-shadow: var(--shadow); }
.ops-feed-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); color: var(--text); font-size: .9rem; font-weight: 700; }
.ops-feed-tag { padding: 3px 8px; border: 1px solid var(--border-strong); border-radius: 99px; color: var(--muted); font: .7rem/1 var(--mono); text-transform: uppercase; }
.ops-feed-list { display: grid; height: 208px; margin: var(--s3) 0 0; padding: 0; border-top: 1px solid var(--border); list-style: none; }
.ops-feed-list li { display: flex; min-height: 52px; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: .85rem; line-height: 1.35; transition: transform 300ms ease, opacity 300ms ease; }
.ops-feed-list li:nth-child(n+5) { display: none; }
.ops-feed-list li.is-leaving { opacity: 0; transform: translateY(-10px); }
.ops-feed-list li.is-entering { animation: ops-line-in 300ms ease-out; }
.ops-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--info); }
.ops-feed-list [data-tone="ok"] .ops-dot { background: var(--ok); }
.ops-feed-list [data-tone="info"] .ops-dot { background: var(--info); }
.ops-feed-list [data-tone="accent"] .ops-dot { background: var(--accent); }
.ops-feed-note { margin: var(--s2) 0 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }
@keyframes ops-line-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.call-panel { min-height: 510px; padding: 20px; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-elev); box-shadow: var(--shadow); }
.call-panel-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); color: var(--text); font-size: .9rem; font-weight: 700; }
.call-status { display: flex; align-items: center; gap: 9px; }
.call-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--accent); animation: call-pulse 1.4s ease-in-out infinite; }
.call-timer { color: var(--muted); font: .78rem/1 var(--mono); }
.waveform { display: flex; height: 48px; align-items: center; justify-content: center; gap: 6px; margin: var(--s4) 0 var(--s3); }
.waveform span { flex: 0 0 4px; width: 4px; height: var(--bar-height); border-radius: 99px; background: var(--info); transform-origin: center; animation: waveform 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * 60ms); }
.waveform span:nth-child(3n) { background: var(--accent); }
.call-transcript { display: grid; min-height: 280px; align-content: start; gap: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--border); }
.call-line { min-height: 54px; opacity: 0; transform: translateY(6px); }
.call-line:nth-child(1) { animation: call-line-one 14s linear infinite; }
.call-line:nth-child(2) { animation: call-line-two 14s linear infinite; }
.call-line:nth-child(3) { animation: call-line-three 14s linear infinite; }
.call-line:nth-child(4) { animation: call-line-four 14s linear infinite; }
.call-speaker { display: block; margin-bottom: 2px; color: var(--info); font: 700 .67rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.call-line p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.booking-state { display: flex; min-height: 62px; flex-direction: column; justify-content: center; margin-top: var(--s2); padding: 10px 12px; border: 1px solid rgba(91,191,138,.24); border-radius: 10px; background: rgba(91,191,138,.12); opacity: 0; animation: booking-state 14s linear infinite; }
.booking-state strong { color: var(--text); font-size: .86rem; }
.booking-state span { color: var(--muted); font-size: .76rem; }
.call-caption { margin: var(--s2) 0 0; color: var(--muted); font-size: .75rem; }
@keyframes call-pulse { 50% { opacity: .35; transform: scale(.75); } }
@keyframes waveform { to { transform: scaleY(.45); } }
@keyframes call-line-one { 0%, 4% { opacity: 0; transform: translateY(6px); } 7%, 87% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes call-line-two { 0%, 18% { opacity: 0; transform: translateY(6px); } 21%, 87% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes call-line-three { 0%, 34% { opacity: 0; transform: translateY(6px); } 37%, 87% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes call-line-four { 0%, 50% { opacity: 0; transform: translateY(6px); } 53%, 87% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes booking-state { 0%, 66% { opacity: 0; transform: translateY(4px); } 70%, 87% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-4px); } }

.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-elev); }
.marquee-label { margin: 0; padding: 14px 0 0; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.marquee-viewport { overflow: hidden; padding: 16px 0 20px; mask-image: linear-gradient(90deg, transparent, #000 80px, #000 calc(100% - 80px), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-list { display: flex; flex: 0 0 auto; align-items: center; margin: 0; padding: 0; list-style: none; }
.marquee-list li { display: flex; align-items: center; color: var(--text); font-family: var(--serif); font-size: clamp(1rem, 2.2vw, 1.35rem); white-space: nowrap; }
.marquee-list li::after { width: 3px; height: 3px; margin: 0 28px; border-radius: 50%; background: var(--accent); content: ""; }
.marquee-list li:last-child::after { margin-right: 28px; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s7); align-items: end; margin-bottom: var(--s6); }
.section-heading > div { position: relative; }
.section-heading > :last-child { margin-bottom: 0; color: var(--muted); }
/* Индекс и eyebrow — реальные соседние inline-элементы на одной строке, не absolute
   поверх с ручным top: так они выровнены всегда, при любом кегле и переносе строк.
   Селектор намеренно не привязан к .section-heading: на сервисных подстраницах эта пара
   лежит прямо в .prose, и при привязке к обёртке индекс уезжал на отдельную строку. */
.section-index + .eyebrow, .section-index { display: inline-flex; vertical-align: middle; }
.section-index { margin: 0 var(--s2) var(--s2) 0; color: rgba(148,170,205,.45); font: .72rem/1 var(--mono); letter-spacing: .06em; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-elev); box-shadow: var(--shadow); }
.stat { min-width: 0; padding: var(--s4); border-right: 1px solid var(--border); transition: border-color 180ms ease, background-color 180ms ease; }
.stat:last-child { border-right: 0; }
.stat:hover { border-color: var(--border-strong); background: var(--bg-elev-2); }
/* clamp считался от ширины экрана, не от ширины колонки — при 4 карточках в ряд
   "$126,000" (самое длинное значение) не помещался и обрезался overflow:hidden у .stats-grid */
.stat-number { margin: 0 0 var(--s2); overflow-wrap: anywhere; color: var(--text); font-family: var(--serif); font-size: clamp(1.55rem, 2.5vw, 2.35rem); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.05; }
.stat-number::before { display: block; width: 32px; height: 1px; margin-bottom: var(--s2); background: var(--accent); content: ""; transition: width 180ms ease; }
.stat:hover .stat-number::before { width: 56px; }
.stat-track { height: 3px; margin: 0 0 var(--s3); overflow: hidden; background: rgba(148,170,205,.14); }
.stat-track span { display: block; width: var(--stat-width); height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.stats-grid.is-visible .stat-track span { animation: stat-fill 900ms cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes stat-fill { to { transform: scaleX(1); } }
.stat-number sup { margin-left: 3px; color: var(--muted); font-family: var(--sans); font-size: .65rem; font-weight: 600; vertical-align: top; }
.stat p:last-child { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.sources { margin: var(--s3) 0 0; color: var(--muted); font-size: .78rem; }
.sources a { color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.card, .comparison, .timeline-item, .faq details { position: relative; min-width: 0; border: 1px solid var(--border); background: var(--bg-elev); transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease; }
.card:hover, .comparison:hover, .timeline-item:hover, .faq details:hover { transform: translateY(-2px); border-color: var(--border-strong); background: var(--bg-elev-2); }
.card { display: flex; flex-direction: column; padding: var(--s4); overflow: hidden; border-radius: 14px; box-shadow: var(--shadow); }
.card::before { position: absolute; top: 0; right: 0; left: 0; height: 2px; background: var(--accent); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 220ms ease; }
.card:hover::before { transform: scaleX(1); }
.card p { margin-bottom: var(--s4); color: var(--muted); font-size: .94rem; }
.card .text-link { margin-top: auto; }
.icon { width: 28px; height: 28px; margin-bottom: var(--s3); color: var(--info); }

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.timeline::before { position: absolute; top: 47px; right: 7%; left: 7%; height: 1px; background: var(--border-strong); content: ""; transform: scaleX(0); transform-origin: left; }
.timeline.is-visible::before { animation: timeline-draw 700ms ease-out forwards; }
@keyframes timeline-draw { to { transform: scaleX(1); } }
.timeline-item { padding: var(--s4); border-radius: 14px; }
.timeline-number { position: relative; z-index: 1; display: grid; width: 31px; height: 31px; place-items: center; margin-bottom: var(--s3); border: 1px solid var(--info); border-radius: 50%; background: var(--bg); color: var(--info); font-size: .78rem; font-weight: 700; transition: border-color 180ms ease, color 180ms ease; }
.timeline.is-visible .timeline-item:nth-child(1) .timeline-number { transition-delay: 0ms; border-color: var(--accent); color: var(--accent); }
.timeline.is-visible .timeline-item:nth-child(2) .timeline-number { transition-delay: 140ms; border-color: var(--accent); color: var(--accent); }
.timeline.is-visible .timeline-item:nth-child(3) .timeline-number { transition-delay: 280ms; border-color: var(--accent); color: var(--accent); }
.timeline.is-visible .timeline-item:nth-child(4) .timeline-number { transition-delay: 420ms; border-color: var(--accent); color: var(--accent); }
.timeline-item h3 { font-size: 1.25rem; }
.timeline-item p { color: var(--muted); font-size: .9rem; }
.timeline-meta { color: var(--text) !important; font-size: .82rem !important; font-weight: 700; }
.timeline-link { margin-top: var(--s4); }
.comparison-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.comparison { padding: var(--s4); border-radius: 14px; }
.comparison h3 { color: var(--text); }
.comparison p { margin-bottom: 0; color: var(--muted); }
.boundaries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.faq { max-width: 820px; }
.faq details { border-radius: 10px; }
.faq details + details { margin-top: var(--s1); }
.faq summary { position: relative; min-height: 64px; padding: var(--s3) var(--s6) var(--s3) var(--s3); font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; top: 50%; right: var(--s3); color: var(--info); content: "+"; font-family: var(--sans); font-size: 1.5rem; font-weight: 300; transform: translateY(-50%); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 var(--s6) var(--s3) var(--s3); margin-bottom: 0; color: var(--muted); }

.cta-panel { display: grid; grid-template-columns: 1.25fr .75fr; gap: var(--s6); align-items: center; padding: clamp(32px, 6vw, 72px); border: 1px solid var(--border-strong); border-radius: 14px; background: var(--bg-elev); box-shadow: var(--shadow); }
.cta-panel h2 { margin-bottom: var(--s2); }
.cta-panel p { margin-bottom: 0; color: var(--muted); }
.cta-panel .cta-guarantee { margin-top: var(--s3); color: var(--text); font-size: .94rem; }
.cta-panel .section-index { position: static; display: block; margin-bottom: var(--s2); }
.cta-action { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); }
.cta-email { color: var(--muted); font-size: .9rem; }

.site-footer { border-top: 1px solid var(--accent); padding: var(--s7) 0 var(--s4); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s5); }
.footer-brand .brand { font-size: 1.35rem; }
.footer-brand .brand img { width: 32px; height: 32px; }
.footer-brand p { margin-top: var(--s2); color: var(--muted); font-size: .9rem; }
.footer-heading { margin: 0 0 var(--s2); color: var(--text); font: 700 .78rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li + li { margin-top: var(--s1); }
.footer-list a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.footer-list a:hover { color: var(--text); }
.footer-email-row { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--border); }
.footer-email { color: var(--text); font-family: var(--serif); font-size: 1.15rem; }
.copy-email { min-height: 44px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 9px; background: transparent; color: var(--muted); font-size: .82rem; }
.copy-email:hover { border-color: var(--info); color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--s2); margin-top: var(--s4); color: var(--muted); font-size: .78rem; }

.page-hero { padding: var(--s9) 0 var(--s7); }
.page-hero h1 { max-width: 18ch; }
.phone-demo { max-width: 640px; }
.phone-demo .section-heading { display: block; margin-bottom: var(--s4); }
#demo h2::before, #stats h2::before, #calculator h2::before, .scenarios-section h2::before { display: block; margin-bottom: 8px; color: var(--muted); content: var(--section-label); font: 700 .72rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
#demo h2 { --section-label: "See it in action"; }
#stats h2 { --section-label: "The cost of a missed call"; }
#calculator h2 { --section-label: "Your numbers"; }
.scenarios-section h2 { --section-label: "How it sounds"; }
.prose { max-width: 760px; }
.prose ul { padding-left: var(--s3); color: var(--muted); }
.prose li + li { margin-top: var(--s1); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: var(--s7); align-items: start; }
.form-card, .next-steps { padding: var(--s5); border: 1px solid var(--border); border-radius: 14px; background: var(--bg-elev); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.form { display: grid; gap: var(--s3); }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, label { display: block; margin-bottom: 6px; color: var(--text); font-size: .9rem; font-weight: 650; }
.field input, .field select, .field textarea, input, select, textarea { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-elev-2); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #dd7b73; }
.field-error { min-height: 1.25em; margin: 6px 0 0; color: #ef9b91; font-size: .8rem; }
.form-details { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.form-details summary { display: flex; min-height: 44px; align-items: center; cursor: pointer; color: var(--text); font-weight: 650; }
.form-details > :not(summary) { margin-top: var(--s3); }
.form-status { min-height: 1.5em; margin: var(--s2) 0 0; color: var(--ok); }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.next-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.next-steps li { position: relative; padding-left: var(--s5); color: var(--muted); counter-increment: steps; }
.next-steps li + li { margin-top: var(--s3); }
.next-steps li::before { position: absolute; left: 0; color: var(--info); content: "0" counter(steps); font: 600 1.1rem/1 var(--serif); }

.mobile-call-cta { display: none; }
.js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 260ms cubic-bezier(.2,.7,.3,1), transform 260ms cubic-bezier(.2,.7,.3,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-layout { grid-template-columns: 1fr; gap: var(--s5); }
  .call-illustration { max-width: 640px; }
  .trust-chips { order: 3; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .comparison-grid { grid-template-columns: 1fr; }
  .boundaries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 40px, 1140px); }
  .section, .section--tight { padding: var(--s7) 0; }
  .header-inner { min-height: 64px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 64px 0 0; display: grid; visibility: hidden; place-items: start stretch; padding: var(--s5) var(--s3); background: var(--bg); opacity: 0; transition: opacity 180ms ease, visibility 180ms ease; }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .nav-list { flex-direction: column; align-items: stretch; gap: var(--s1); }
  .nav-list a { display: flex; min-height: 52px; padding: var(--s2) 0; border-bottom: 1px solid var(--border); font-family: var(--serif); font-size: 1.5rem; }
  .header-cta { display: none; }
  .site-nav .button { margin-top: var(--s5); }
  .site-nav > .button { display: inline-flex; }
  .section-heading, .cta-panel, .form-layout { grid-template-columns: 1fr; gap: var(--s3); }
  .section-heading { margin-bottom: var(--s4); }
  .call-panel { min-height: 500px; }
  .mobile-call-cta { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: flex; height: 64px; align-items: center; justify-content: space-between; gap: var(--s2); padding: 8px 20px; border-top: 1px solid var(--border); background: rgba(10,15,26,.92); backdrop-filter: blur(12px); transform: translateY(100%); transition: transform 180ms ease; }
  .mobile-call-cta.is-visible { transform: translateY(0); }
  .mobile-call-cta p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.3; }
  .mobile-call-cta .button { min-height: 44px; padding-inline: var(--s2); white-space: nowrap; }
  body.mobile-cta-active { padding-bottom: 64px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline-item { padding: var(--s3); }
  .footer-email-row, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
}
@media (max-width: 440px) {
  .card-grid, .stats-grid, .footer-grid, .boundaries-grid { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: 0; }
  .hero-actions .button { width: 100%; }
  .trust-chips { grid-template-columns: 1fr; }
  .call-panel { min-height: 530px; padding: 16px; }
  .call-transcript { min-height: 292px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track, .call-dot, .waveform span, .call-line, .booking-state, .timeline::before, .stat-track span { animation: none !important; }
  .marquee-track { width: 100%; justify-content: center; }
  .marquee-list[aria-hidden="true"] { display: none; }
  .marquee-list { flex-wrap: wrap; justify-content: center; }
  .call-line, .booking-state { opacity: 1; transform: none; }
  .waveform span { transform: none; }
  .timeline::before { transform: scaleX(1); }
  .timeline-number { border-color: var(--accent); color: var(--accent); }
  .stat-track span { transform: scaleX(1); }
  .card:hover, .comparison:hover, .timeline-item:hover, .faq details:hover { transform: none; }
  .card:hover::before { transform: scaleX(0); }
}

/* INTERACTIVE.md — calculator, call scenarios, and utility controls */
.reading-progress { position: fixed; z-index: 60; top: 72px; right: 0; left: 0; height: 2px; pointer-events: none; background: transparent; transform: scaleX(0); transform-origin: left; }
.reading-progress::before { display: block; width: 100%; height: 100%; background: var(--accent); content: ""; }

.calculator-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-elev); box-shadow: var(--shadow); }
.calculator-controls { display: grid; align-content: start; gap: var(--s4); padding: clamp(24px, 4vw, 48px); border-right: 1px solid var(--border); }
.trade-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.trade-picker legend, .calculator-field label { margin-bottom: 10px; }
.trade-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.trade-option { display: flex; min-height: 44px; align-items: center; justify-content: center; padding: 8px 10px; border: 1px solid var(--border); border-radius: 9px; background: transparent; color: var(--muted); font: 650 .8rem/1.2 var(--sans); text-align: center; }
.trade-option:hover, .trade-option.is-selected { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.calculator-field { min-width: 0; }
.range-with-value { display: flex; align-items: center; gap: var(--s3); }
.range-with-value input[type="range"] { min-width: 0; min-height: 44px; flex: 1; accent-color: var(--accent); }
.range-with-value output, .range-number { flex: 0 0 auto; width: 76px; min-height: 44px; padding: 9px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-elev-2); color: var(--text); font: 600 1rem/1 var(--mono); font-variant-numeric: tabular-nums; text-align: center; }
.range-number { appearance: textfield; }
.range-number::-webkit-inner-spin-button, .range-number::-webkit-outer-spin-button { margin: 0; appearance: none; }
.currency-input { position: relative; }
.currency-input span { position: absolute; top: 50%; left: 14px; color: var(--muted); font: 600 1rem/1 var(--mono); transform: translateY(-50%); }
.currency-input input { padding-left: 29px; font-variant-numeric: tabular-nums; }
.field-note { margin: 8px 0 0; color: var(--muted); font-size: .78rem; }
.calculator-result { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: clamp(24px, 4vw, 48px); background: linear-gradient(135deg, rgba(200,150,78,.08), transparent 55%), var(--bg-elev-2); }
.calculator-result-label { margin: 0; color: var(--muted); font: 700 .72rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.calculator-total { margin: var(--s2) 0 var(--s4); color: var(--accent); font: 600 clamp(2.5rem, 5vw, 4.5rem)/.95 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.calculator-details { display: grid; width: 100%; gap: var(--s2); margin: 0; }
.calculator-details div { display: flex; justify-content: space-between; gap: var(--s3); padding-bottom: var(--s2); border-bottom: 1px solid var(--border); }
.calculator-details dt { color: var(--muted); font-size: .86rem; }
.calculator-details dd { margin: 0; color: var(--text); font: 600 .9rem/1.4 var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
.calculator-bars { display: grid; grid-template-columns: repeat(12, 1fr); width: 100%; height: 48px; align-items: end; gap: 5px; margin: var(--s4) 0; }
.calculator-bars span { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 2px; background: rgba(148,170,205,.14); }
.calculator-bars span::after { position: absolute; right: 0; bottom: 0; left: 0; height: var(--recovery); background: var(--accent); content: ""; transition: height 180ms ease; }
.calculator-result .button { margin-top: auto; }
.calculator-result-note, .calculator-no-js, .calculator-disclaimer, .scenario-disclaimer { color: var(--muted); font-size: .8rem; }
.calculator-result-note { margin: var(--s2) 0 0; }
.calculator-no-js { margin: var(--s3) 0 0; }
.js .calculator-no-js { display: none; }
.calculator-disclaimer { max-width: 76ch; margin: var(--s3) 0 0; }

.scenario-tabs { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s3); }
.scenario-tabs [role="tab"] { min-height: 44px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-elev); color: var(--muted); font: 650 .84rem/1.2 var(--sans); }
.scenario-tabs [role="tab"][aria-selected="true"], .scenario-tabs [role="tab"]:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.scenario-panel { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--border); border-radius: 14px; background: var(--bg-elev); box-shadow: var(--shadow); }
.scenario-time { margin: 0 0 var(--s3); color: var(--info); font: .8rem/1 var(--mono); }
.scenario-transcript { display: grid; gap: var(--s2); }
.scenario-transcript p { margin: 0; padding: var(--s2) var(--s3); border-left: 2px solid var(--border-strong); background: var(--bg-elev-2); color: var(--muted); line-height: 1.55; }
.scenario-transcript strong { color: var(--info); font: 700 .68rem/1.3 var(--sans); letter-spacing: .1em; }
.scenario-outcome { display: inline-flex; min-height: 32px; align-items: center; margin: var(--s3) 0 0; padding: 6px 10px; border: 1px solid rgba(91,191,138,.24); border-radius: 99px; background: rgba(91,191,138,.12); color: var(--text); font-size: .78rem; }
.scenario-disclaimer { margin: var(--s3) 0 0; }
.js .scenario-tabs { display: flex; }
.js .scenario-transcript p { opacity: 0; transform: translateY(6px); }
.js .scenario-transcript.is-playing p { animation: scenario-line-in 220ms ease-out forwards; animation-delay: calc(var(--line-index) * 1200ms); }
@keyframes scenario-line-in { to { opacity: 1; transform: none; } }

.copy-email { display: none; align-items: center; justify-content: center; }
.copy-email.is-available { display: inline-flex; }
.cta-email-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 960px) {
  .calculator-layout { grid-template-columns: 1fr; }
  .calculator-controls { border-right: 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 720px) {
  .reading-progress { top: 64px; }
  .calculator-controls, .calculator-result, .scenario-panel { padding: var(--s3); }
}
@media (max-width: 440px) {
  .trade-options { grid-template-columns: 1fr; }
  .range-with-value { align-items: stretch; flex-direction: column; }
  .range-with-value input[type="range"] { width: 100%; min-height: 44px; }
  .range-with-value output, .range-number { width: 100%; }
  .calculator-details div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .calculator-details dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .js .scenario-transcript p { opacity: 1; transform: none; }
  .js .scenario-transcript.is-playing p { animation: none; }
}

/* EXPAND.md — chat assistant */
.chat-widget { display: none; position: fixed; z-index: 50; right: 24px; bottom: 24px; width: min(360px, calc(100vw - 40px)); }
.js .chat-widget { display: block; }
.chat-toggle { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border: 0; border-radius: 99px; background: var(--accent); box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6); color: #14110B; font: 700 .9rem/1 var(--sans); }
.chat-toggle:hover { background: var(--accent-hover); transform: translateY(-1px); }
.chat-panel { position: absolute; right: 0; bottom: 60px; display: grid; width: min(360px, calc(100vw - 40px)); gap: var(--s2); padding: var(--s3); border: 1px solid var(--border); border-radius: 16px; background: var(--bg-elev); box-shadow: var(--shadow); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s2); }
.chat-title, .chat-sub, .chat-note { margin: 0; }
.chat-title { font: 600 1rem/1.3 var(--serif); }
.chat-sub, .chat-note { color: var(--muted); font-size: .76rem; line-height: 1.45; }
.chat-close { position: relative; width: 44px; min-width: 44px; height: 44px; margin: -10px -10px 0 0; border: 0; background: transparent; color: var(--muted); }
.chat-close::before, .chat-close::after { position: absolute; top: 21px; left: 12px; width: 20px; height: 1px; background: currentColor; content: ""; transform: rotate(45deg); }
.chat-close::after { transform: rotate(-45deg); }
.chat-close:hover { color: var(--text); }
.chat-log { display: flex; height: 320px; min-height: 0; flex-direction: column; gap: 10px; overflow-y: auto; padding: 2px; }
.chat-msg { max-width: 88%; margin: 0; padding: 10px 12px; border-radius: 12px; font-size: .9rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg--user { align-self: flex-end; background: var(--bg-elev-2); }
.chat-msg--bot { align-self: flex-start; border: 1px solid var(--border); background: transparent; }
.chat-msg--pending { color: var(--muted); }
.chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; }
.chat-form textarea { width: 100%; min-height: 44px; max-height: 104px; resize: none; overflow-y: auto; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-elev-2); color: var(--text); line-height: 1.45; }
.chat-form textarea:focus { border-color: var(--info); outline: 2px solid var(--info); outline-offset: 2px; }
.chat-send { min-width: 66px; padding-inline: 12px; }
.chat-form textarea:disabled, .chat-send:disabled { cursor: not-allowed; opacity: .6; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (max-width: 720px) {
  .chat-widget { right: 20px; bottom: 20px; width: calc(100vw - 40px); }
  .chat-panel { width: calc(100vw - 40px); }
  body.chat-open .mobile-call-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-toggle { transition: none; }
  .chat-toggle:hover { transform: none; }
}
