/* Kintake marketing site. Palette, gradients and type from Cory's 11.08.26 brand board. Round 5 (11.09.26): floating header, lighter reveals, stats band, serif step headings, floating dashboard. */

@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-var-latin.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("/assets/fonts/DMSerifDisplay-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/assets/fonts/DMMono-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/assets/fonts/DMMono-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --indigo: #1B1336;
  --purple: #6D4EF6;
  --lilac: #B9A7F2;
  --mist: #E8E1FF;
  --teal: #0E4F57;
  --teal-mist: #4E8E94;
  --cream: #F8F4EA;
  --stone: #E6DED3;
  --muted: #5E5873;
  --white: #FFFFFF;
  --line: rgba(27, 19, 54, 0.1);
  --booked-text: #17663A; --booked-tint: #E3F3E8; --booked-mark: #2E9E5B;
  --flag-text: #7A4D00; --flag-tint: #FFF1C2; --flag-mark: #E9B10A;
  --grad-primary: linear-gradient(135deg, #1B1336 0%, #6D4EF6 100%);
  --grad-accent: linear-gradient(135deg, #6D4EF6 0%, #E8E1FF 100%);
  --grad-feature: linear-gradient(120deg, #0E4F57 0%, #6D4EF6 100%);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 16px;
  --wrap: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--cream); color: var(--indigo); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
h2 { font-size: clamp(34px, 4.3vw, 54px); line-height: 1.05; margin-bottom: 20px; text-wrap: balance; }
h3 { font-size: 18px; font-weight: 650; line-height: 1.3; letter-spacing: -0.005em; }
p + p { margin-top: 14px; }
a { color: var(--teal); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--white); color: var(--indigo); padding: 10px 16px; border-radius: 8px; z-index: 50; font-weight: 600; }
.skip:focus { top: 12px; }

/* Labels */
.eyebrow { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lilac); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; opacity: 0.7; }
.eyebrow-dark { color: var(--teal); }
.eyebrow-light { color: var(--white); }
.mono-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.small-note { font-size: 14.5px; color: var(--muted); }

/* Buttons: white on Royal Purple, 5.16:1 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 26px; border-radius: 999px; background: var(--purple); color: var(--white); font-family: var(--sans); font-size: 16.5px; font-weight: 600; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.14); cursor: pointer; transition: background-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease; }
.btn:hover { background: #5B3DE0; }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.btn-glow { box-shadow: 0 0 0 1px rgba(185, 167, 242, 0.35), 0 10px 30px -6px rgba(109, 78, 246, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-glow:hover { box-shadow: 0 0 0 1px rgba(185, 167, 242, 0.5), 0 14px 38px -6px rgba(109, 78, 246, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-ghost { background: rgba(232, 225, 255, 0.04); border-color: rgba(185, 167, 242, 0.45); color: var(--mist); }
.btn-ghost:hover { background: rgba(232, 225, 255, 0.1); border-color: var(--mist); }

/* Status chips, from the dashboard status colors */
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px; border-radius: 999px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; white-space: nowrap; line-height: 1.6; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; }
.chip-booked { background: var(--booked-tint); color: var(--booked-text); }
.chip-booked .dot { background: var(--booked-mark); }
.chip-flagged { background: var(--flag-tint); color: var(--flag-text); }
.chip-flagged .dot { background: var(--flag-mark); box-shadow: 0 0 0 1.5px var(--flag-text); }

/* Header: sticky, translucent indigo at rest; a floating glass pill once the page scrolls (site.js adds .is-floating) */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(27, 19, 54, 0.82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(185, 167, 242, 0.12); transition: background-color 0.45s ease, border-color 0.45s ease; }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); position: relative; border-radius: 999px; border: 1px solid transparent; transition: max-width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), padding 0.45s var(--ease), background-color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease; }
.site-header.is-floating { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-floating .header-row { max-width: 1040px; height: 56px; margin: 10px auto 0; padding: 0 10px 0 18px; overflow: hidden; background: rgba(27, 19, 54, 0.8); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-color: rgba(185, 167, 242, 0.28); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 18px 40px -18px rgba(27, 19, 54, 0.7), 0 0 0 1px rgba(27, 19, 54, 0.3); }
.site-header.is-floating .brand img { width: 112px; }
.site-header.is-floating .btn-small { min-height: 36px; padding: 6px 16px; }
.brand img { width: 132px; }
.site-header nav { margin-left: auto; }
.nav { display: flex; gap: 6px; }
.nav a { color: var(--mist); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; opacity: 0.85; transition: background-color 0.2s ease, opacity 0.2s ease; }
.nav a:hover { background: rgba(232, 225, 255, 0.08); opacity: 1; }
.site-header :focus-visible, .hero :focus-visible, .sample :focus-visible, .demo :focus-visible, .origin :focus-visible, .site-footer :focus-visible { outline-color: var(--lilac); }
.demo .demo-form :focus-visible { outline-color: var(--teal); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--indigo); color: var(--cream); padding: 88px 0 112px; margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + 80px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb-a { width: 980px; height: 980px; right: -260px; top: -340px; background: radial-gradient(closest-side, rgba(109, 78, 246, 0.62), rgba(109, 78, 246, 0.18) 55%, transparent 100%); animation: drift-a 22s ease-in-out infinite alternate; }
.orb-b { width: 900px; height: 900px; left: -380px; bottom: -520px; background: radial-gradient(closest-side, rgba(14, 79, 87, 0.95), rgba(14, 79, 87, 0.3) 55%, transparent 100%); animation: drift-b 26s ease-in-out infinite alternate; }
.orb-c { width: 520px; height: 520px; right: 18%; bottom: -260px; background: radial-gradient(closest-side, rgba(185, 167, 242, 0.32), transparent 100%); animation: drift-c 18s ease-in-out infinite alternate; }
.grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(232, 225, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 225, 255, 0.045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%); }
.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.8; }
.rib-body { fill: none; stroke: url(#rib); stroke-width: 60; opacity: 0.45; filter: url(#ribblur); }
.rib { fill: none; stroke: url(#rib); stroke-linecap: round; }
.rib-1 { opacity: 0.7; stroke-width: 2.2; stroke-dasharray: 700 260; animation: flow 16s linear infinite; }
.rib-2 { stroke-width: 1; opacity: 0.5; stroke-dasharray: 520 300; animation: flow 22s linear infinite; }
@keyframes drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-90px, 70px, 0) scale(1.08); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(120px, -60px, 0) scale(1.1); } }
@keyframes drift-c { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-140px, -40px, 0); } }
@keyframes flow { to { stroke-dashoffset: -1920; } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 72px; align-items: center; }
.hero h1 { font-size: clamp(48px, 5.8vw, 84px); line-height: 0.98; letter-spacing: -0.025em; color: var(--cream); margin-bottom: 28px; text-wrap: balance; }
.glow-text { background: linear-gradient(100deg, #D9CEFB 0%, var(--lilac) 45%, #9F86F8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 21px; line-height: 1.55; color: rgba(232, 225, 255, 0.86); max-width: 31em; }
.lede-sub { margin-top: 18px; padding-left: 16px; border-left: 2px solid var(--purple); font-size: 17px; line-height: 1.55; color: rgba(232, 225, 255, 0.78); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: 14.5px; font-weight: 500; color: rgba(232, 225, 255, 0.72); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: rgba(46, 158, 91, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%237DD3A0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Hero live call card */
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 8% -6% -4% 6%; background: radial-gradient(closest-side, rgba(109, 78, 246, 0.55), transparent); filter: blur(30px); z-index: -1; }
.live-call { margin: 0; position: relative; border-radius: 24px; padding: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)); border: 1px solid rgba(185, 167, 242, 0.28); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.lc-head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 16px; border-bottom: 1px solid rgba(185, 167, 242, 0.16); }
.lc-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--grad-feature); display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(109, 78, 246, 0.18), 0 0 24px rgba(109, 78, 246, 0.6); }
.bars { display: flex; align-items: center; gap: 2.5px; height: 16px; }
.bars i { display: block; width: 2.5px; height: 6px; border-radius: 2px; background: var(--white); }
.bars i:nth-child(2) { height: 12px; } .bars i:nth-child(3) { height: 16px; } .bars i:nth-child(4) { height: 10px; }
.live-call.speaking .bars i { animation: eq 0.9s ease-in-out infinite; }
.live-call.speaking .bars i:nth-child(2) { animation-delay: -0.3s; } .live-call.speaking .bars i:nth-child(3) { animation-delay: -0.6s; } .live-call.speaking .bars i:nth-child(4) { animation-delay: -0.15s; } .live-call.speaking .bars i:nth-child(5) { animation-delay: -0.45s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1.15); } }
.lc-who { min-width: 0; }
.lc-name { font-weight: 650; font-size: 15.5px; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-name span { font-weight: 400; color: rgba(232, 225, 255, 0.7); }
.lc-sub { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: rgba(232, 225, 255, 0.62); margin-top: 1px; }
.lc-timer { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 13px; color: var(--mist); background: rgba(232, 225, 255, 0.08); padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.rec { width: 7px; height: 7px; border-radius: 50%; background: #F0566B; box-shadow: 0 0 0 3px rgba(240, 86, 107, 0.22); }
.live-call.playing .rec { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.lc-thread { display: flex; flex-direction: column; gap: 10px; padding: 18px 2px 14px; }
.b { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: 15.5px; line-height: 1.45; }
.b.agent { align-self: flex-start; background: rgba(232, 225, 255, 0.1); color: var(--mist); border: 1px solid rgba(185, 167, 242, 0.14); border-bottom-left-radius: 6px; }
.b.caller { align-self: flex-end; background: var(--purple); color: var(--white); border-bottom-right-radius: 6px; box-shadow: 0 8px 20px -10px rgba(109, 78, 246, 0.9); }
.lc-booked { display: flex; align-items: center; gap: 14px; background: var(--white); color: var(--indigo); border-radius: 16px; padding: 13px 16px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6); }
.lc-booked p { display: flex; flex-direction: column; line-height: 1.3; }
.lc-booked strong { font-size: 15.5px; font-weight: 650; }
.lc-booked p span { font-size: 13px; color: var(--muted); }
.hero-note { text-wrap: balance; margin-top: 16px; font-size: 13.5px; color: rgba(232, 225, 255, 0.7); text-align: center; }
/* Animation states, set by site.js only when motion is allowed */
.live-call.playing [data-step] { opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.live-call.playing [data-step].in { opacity: 1; transform: none; }
.live-call.playing.fade [data-step].in { opacity: 0; transition-duration: 0.6s; }

/* Stats band: dark strip under the hero, numbers count up once in view (site.js) */
.stats { background: var(--indigo); color: var(--cream); position: relative; isolation: isolate; overflow: hidden; padding: 44px 0 52px; border-top: 1px solid rgba(185, 167, 242, 0.14); }
.stats::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse 70% 120% at 50% 120%, rgba(109, 78, 246, 0.35), transparent 70%); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat { position: relative; padding: 6px 0 6px 28px; min-width: 0; }
.stat + .stat { border-left: 1px solid rgba(185, 167, 242, 0.18); }
.stat:first-child { padding-left: 0; }
.stat-n { position: relative; display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; color: var(--cream); font-variant-numeric: tabular-nums; }
.stat-n::before { content: ""; position: absolute; z-index: -1; left: -18%; right: -18%; top: -30%; bottom: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(109, 78, 246, 0.55), transparent); filter: blur(10px); opacity: 0.7; }
.stat-unit { font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: 0.06em; color: var(--lilac); }
.stat-l { margin-top: 10px; font-size: 15.5px; line-height: 1.45; color: rgba(232, 225, 255, 0.74); max-width: 24em; }

/* Sections */
.section { padding: 112px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head p:not(.eyebrow) { font-size: 19px; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.split-copy > p:not(.eyebrow) { font-size: 19px; color: var(--muted); max-width: 30em; }

/* Problem */
.split-copy > p.promise { font-family: var(--serif); font-size: 36px; line-height: 1.2; color: var(--indigo); margin-top: 28px; display: inline-block; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lanes { background: var(--white); border-radius: 22px; padding: 34px 34px 30px; box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(27, 19, 54, 0.22); border: 1px solid var(--line); display: grid; gap: 30px; }
.lane-title { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.lane-kintake .lane-title { color: var(--purple); }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; }
.track::before { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 2px; border-radius: 2px; }
.lane-wait .track::before { background: linear-gradient(90deg, var(--purple), var(--lilac) 35%, var(--stone) 70%, #CFC6BA); }
.lane-kintake .track::before { background: linear-gradient(90deg, var(--purple), var(--booked-mark) 30%, rgba(46, 158, 91, 0.45)); }
.track li { position: relative; padding-top: 28px; font-size: 14.5px; line-height: 1.3; font-weight: 550; color: var(--indigo); }
.track li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid currentColor; }
.track li.hot::before { background: var(--purple); border-color: var(--purple); box-shadow: 0 0 0 5px rgba(109, 78, 246, 0.16); }
.track li.warm::before { background: var(--lilac); border-color: var(--lilac); }
.track li.cool { color: #8A8397; } .track li.cool::before { background: var(--stone); border-color: #CFC6BA; }
.track li.cold { color: #A39DAD; } .track li.cold::before { background: var(--white); border-color: #CFC6BA; border-style: dashed; }
.track li.done::before { background: var(--booked-mark); border-color: var(--booked-mark); box-shadow: 0 0 0 5px rgba(46, 158, 91, 0.16); }
.lane-kintake .track { grid-template-columns: repeat(4, 1fr); grid-auto-flow: row; }
.track li.booked-end { grid-column: 4; color: var(--booked-text); }
.track li.booked-end::before { background: var(--booked-tint); border-color: var(--booked-mark); }
.lane-kintake .track li.done { color: var(--booked-text); }
.lane-wait + .lane-kintake { padding-top: 26px; border-top: 1px dashed var(--stone); }
.lane-note { margin-top: 18px; font-size: 14.5px; color: var(--muted); }

/* How it works */
.how { background: var(--stone); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--white); border-radius: 20px; padding: 30px; position: relative; border: 1px solid var(--line); box-shadow: 0 24px 50px -36px rgba(27, 19, 54, 0.35); }
.step-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--mist); margin-bottom: 26px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 10px; text-wrap: balance; }
.step p { font-size: 16.5px; color: var(--muted); }

/* Sample call */
.sample { background: var(--indigo); color: var(--cream); overflow: hidden; isolation: isolate; }
.sample-glow { position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: 10%; background: radial-gradient(closest-side, rgba(109, 78, 246, 0.35), transparent); }
.sample-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 80px; align-items: start; }
.sample-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.sample h2 { color: var(--cream); }
.sample-intro > p:not(.eyebrow):not(.small-note) { color: rgba(232, 225, 255, 0.82); font-size: 18.5px; }
.ticks { margin-top: 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--mist); font-size: 16.5px; line-height: 1.45; }
.ticks li::before { content: ""; flex: none; margin-top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(109, 78, 246, 0.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.7 2.7L14 7.4' fill='none' stroke='%23E8E1FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.sample .small-note { color: rgba(232, 225, 255, 0.6); margin-top: 28px; }
.call-frame { background: var(--cream); color: var(--indigo); border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 1px rgba(185, 167, 242, 0.3), 0 60px 120px -40px rgba(0, 0, 0, 0.75); }
.cf-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: var(--white); border-bottom: 1px solid var(--line); }
.cf-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; }
.cf-title { font-weight: 650; font-size: 16px; }
.cf-sub { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.03em; }
.cf-len { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--muted); background: var(--cream); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.cf-wave { display: block; width: calc(100% - 44px); height: 30px; margin: 16px 22px 0; fill: var(--purple); opacity: 0.45; }
.cf-turns { padding: 18px 22px 8px; display: flex; flex-direction: column; gap: 12px; }
.t { display: flex; gap: 12px; align-items: flex-start; }
.t .ts { flex: none; width: 34px; padding-top: 12px; font-family: var(--mono); font-size: 11.5px; color: #8A8397; font-variant-numeric: tabular-nums; }
.t p { max-width: 84%; padding: 10px 15px 12px; border-radius: 18px; font-size: 16px; line-height: 1.5; }
.t p b { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 2px; opacity: 0.7; }
.t.agent p { background: var(--white); border: 1px solid var(--line); border-top-left-radius: 6px; }
.t.caller { flex-direction: row-reverse; }
.t.caller .ts { text-align: right; }
.t.caller p { background: var(--purple); color: var(--white); border-top-right-radius: 6px; }
.t.caller p b { opacity: 0.8; }
.cf-result { margin: 14px 22px 22px; display: grid; gap: 10px; }
.cf-booked { display: flex; align-items: center; gap: 14px; background: var(--booked-tint); border: 1px solid rgba(46, 158, 91, 0.25); border-radius: 16px; padding: 14px 16px; }
.cf-booked .chip { background: var(--white); }
.cf-booked p { display: flex; flex-direction: column; line-height: 1.35; }
.cf-booked strong { font-weight: 650; font-size: 15.5px; color: var(--booked-text); }
.cf-booked p span { font-size: 13.5px; color: #2F5C40; }
.cf-sms { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; font-size: 14.5px; line-height: 1.45; color: var(--indigo); }
.cf-sms .mono-label { display: block; margin-bottom: 3px; font-size: 10.5px; }

/* Text follow-up */
.texts { background: var(--cream); }
.split-media-left { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone-wrap::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; top: 8%; border-radius: 50%; background: var(--grad-accent); filter: blur(60px); opacity: 0.55; }
.phone { position: relative; width: 100%; max-width: 380px; background: #FBFAFF; border-radius: 46px; padding: 14px 14px 22px; box-shadow: 0 0 0 9px var(--indigo), 0 0 0 10px rgba(185, 167, 242, 0.5), 0 60px 90px -40px rgba(27, 19, 54, 0.55); }
.phone-top { text-align: center; padding: 26px 10px 14px; border-bottom: 1px solid var(--line); position: relative; }
.phone-top::before { content: ""; position: absolute; top: 4px; left: 50%; width: 92px; height: 24px; margin-left: -46px; background: var(--indigo); border-radius: 999px; }
.phone-avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-primary); color: var(--white); font-weight: 650; font-size: 15px; margin-top: 10px; }
.phone-name { font-weight: 650; font-size: 15px; margin-top: 6px; }
.phone-sub { font-size: 12px; color: var(--muted); }
.sms { display: flex; flex-direction: column; gap: 7px; padding: 16px 4px 0; }
.sms li { max-width: 80%; padding: 9px 14px; border-radius: 20px; font-size: 15px; line-height: 1.4; }
.sms .in { align-self: flex-start; background: #ECE8F4; color: var(--indigo); border-bottom-left-radius: 6px; }
.sms .out { align-self: flex-end; background: var(--purple); color: var(--white); border-bottom-right-radius: 6px; }
.sms .sys { align-self: center; max-width: none; margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--indigo); padding: 6px 12px 6px 6px; }
.points { margin-top: 34px; display: grid; gap: 22px; }
.points li { display: flex; gap: 16px; align-items: flex-start; }
.points img, .rules img { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: var(--white); border: 1px solid var(--line); }
.points h3 { margin-bottom: 2px; }
.points p { font-size: 16.5px; color: var(--muted); }

/* Dashboard */
.dashboard { background: linear-gradient(180deg, var(--mist) 0%, #F1EDFF 40%, var(--cream) 100%); }
.browser { margin: 0; border-radius: 16px; overflow: hidden; background: var(--white); border: 1px solid rgba(27, 19, 54, 0.12); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 50px 100px -40px rgba(27, 19, 54, 0.45), 0 18px 36px -24px rgba(27, 19, 54, 0.3); }
.browser-bar { display: flex; align-items: center; gap: 16px; height: 40px; padding: 0 16px; background: #F4F1FA; border-bottom: 1px solid rgba(27, 19, 54, 0.08); }
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #DCD5E8; }
.url { flex: 0 1 340px; margin: 0 auto; transform: translateX(-28px); text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--muted); background: var(--white); border: 1px solid rgba(27, 19, 54, 0.08); border-radius: 8px; padding: 3px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser a { display: block; }
.browser img { width: 100%; }
.dash-stage { position: relative; max-width: 1100px; margin: 0 auto; isolation: isolate; }
.dash-stage::after { content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; bottom: -8%; height: 34%; border-radius: 50%; background: radial-gradient(ellipse at 50% 60%, rgba(27, 19, 54, 0.5), rgba(109, 78, 246, 0.22) 45%, transparent 72%); filter: blur(28px); opacity: 0.75; pointer-events: none; }
.browser-wide { max-width: 1100px; margin: 0 auto; }
.dash-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; margin-top: 88px; }
.h3-lg { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 26px; }
.legend { display: grid; gap: 14px; margin-bottom: 24px; }
.legend li { display: grid; grid-template-columns: 9.6em 1fr; gap: 14px; align-items: baseline; font-size: 16px; color: var(--muted); }
.legend .chip { justify-self: start; }

/* Built for family law */
.family { background: var(--stone); }
.split-rules { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); gap: 64px; align-items: start; }
.family-head { position: sticky; top: calc(var(--header-h) + 40px); }
.split-copy > p.aside { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(27, 19, 54, 0.14); font-size: 15px; color: var(--muted); }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white); border-radius: 22px; border: 1px solid var(--line); overflow: hidden; }
.rules li { display: flex; gap: 14px; align-items: flex-start; padding: 24px; border-bottom: 1px solid var(--line); }
.rules li:nth-child(odd) { border-right: 1px solid var(--line); }
.rules li:nth-last-child(-n+2) { border-bottom: 0; }
.rules img { background: var(--cream); width: 40px; height: 40px; padding: 8px; border-radius: 11px; }
.rules h3 { font-size: 16.5px; margin-bottom: 3px; }
.rules p { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Origin: feature gradient */
.origin { background: var(--grad-feature); color: var(--white); text-align: center; overflow: hidden; isolation: isolate; padding: 100px 0; }
.origin::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(27, 19, 54, 0.45), transparent 70%); }
.origin-inner { max-width: 760px; }
.origin-mark { width: 84px; margin: 0 auto 18px; }
.origin .eyebrow::before { display: none; }
.origin h2 { color: var(--white); }
.origin p:not(.eyebrow) { font-size: 19px; color: rgba(255, 255, 255, 0.9); }

/* FAQ */
.faq { background: var(--cream); }
.split-faq { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); align-items: start; }
.split-faq .split-copy { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-list { border-top: 1px solid rgba(27, 19, 54, 0.14); }
.faq details { border-bottom: 1px solid rgba(27, 19, 54, 0.14); }
.faq summary { cursor: pointer; padding: 20px 44px 20px 0; font-weight: 600; font-size: 17.5px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6.5v9M6.5 11h9' stroke='%230E4F57' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat; border: 1px solid var(--line); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--teal); }
.faq summary:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; border-radius: 6px; }
.faq details[open] summary::after { background-color: var(--mist); border-color: rgba(109, 78, 246, 0.35); }
.faq details p { padding: 0 44px 22px 0; font-size: 16.5px; color: var(--muted); }

/* Demo */
.demo { background: var(--indigo); color: var(--white); overflow: hidden; isolation: isolate; }
.demo-glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse 60% 90% at 85% 50%, rgba(109, 78, 246, 0.55), transparent 70%), radial-gradient(ellipse 50% 70% at 0% 100%, rgba(14, 79, 87, 0.8), transparent 70%); }
.demo h2 { color: var(--white); }
.demo p:not(.eyebrow) { color: rgba(232, 225, 255, 0.85); font-size: 19px; max-width: 28em; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.demo-form { background: var(--cream); color: var(--indigo); border-radius: 22px; padding: 32px; display: grid; gap: 16px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); }
.field input { font: inherit; font-size: 17px; color: var(--indigo); background: var(--white); border: 1px solid rgba(78, 142, 148, 0.7); border-radius: 12px; padding: 11px 14px; min-height: 50px; width: 100%; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.field input:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(109, 78, 246, 0.16); outline: none; }
.field input[aria-invalid="true"] { border-color: #B42318; }
.demo-form .btn { margin-top: 6px; }
.demo-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; }
.demo-form .btn, .demo-form .form-status, .demo-form .form-note { grid-column: 1 / -1; }
.demo .demo-form .form-status { color: var(--indigo); font-size: 15px; font-weight: 600; margin: 0; }
.demo .demo-form .form-status:empty { display: none; }
.demo .demo-form .form-note { color: var(--muted); font-size: 13.5px; margin: -4px 0 0; text-align: center; }
.demo .demo-form .form-note a { color: var(--teal); }

/* Footer */
.site-footer { background: #140E29; color: var(--mist); padding: 36px 0; border-top: 1px solid rgba(185, 167, 242, 0.12); }
.footer-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-logo { width: 112px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; }
.footer-links a { display: inline-block; padding: 10px 0; }
.footer-links a { color: var(--lilac); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.domain { color: var(--mist); font-family: var(--mono); font-size: 14px; }
.fineprint { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: #8FC0C4; }

/* Privacy page */
.page { padding: 72px 0 96px; }
.page .wrap > * { max-width: 760px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; margin-bottom: 24px; }
.page h2 { font-size: 28px; margin: 40px 0 12px; }
.draft-banner { background: var(--flag-tint); color: var(--flag-text); border-radius: 12px; padding: 16px 20px; margin-bottom: 32px; font-size: 16px; }

/* Reduced motion: everything static */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .rib, .bars i, .rec { animation: none !important; }
  .rib-1, .rib-2 { stroke-dasharray: none; }
  .btn { transition: none; }
}

/* Tablet */
@media (max-width: 1100px) {
  .nav a { padding: 8px 9px; font-size: 14.5px; }
  .hero-grid { gap: 48px; }
  .split, .sample-grid, .demo-grid, .dash-row { gap: 52px; }
}
@media (max-width: 960px) {
  .site-header nav { display: none; }
  .site-header .btn-small { margin-left: auto; }
  .hero-grid, .split, .split-media-left, .split-rules, .split-faq, .sample-grid, .demo-grid, .dash-row { grid-template-columns: minmax(0, 1fr); }
  .sample-intro, .family-head, .split-faq .split-copy { position: static; }
  .steps { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 22px; }
  .stat { padding-left: 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(185, 167, 242, 0.18); padding-top: 22px; }
  .hero-visual { max-width: 560px; }
  .split-media-left .phone-wrap { order: 2; }
  .dash-row { margin-top: 56px; }
}

/* Phone */
@media (max-width: 560px) {
  :root { --header-h: 60px; }
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .brand img { width: 112px; }
  .btn-small { min-height: 38px; padding: 7px 15px; font-size: 14.5px; }
  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 72px; }
  .hero h1 { font-size: 46px; line-height: 1.0; margin-bottom: 20px; }
  .lede { font-size: 18px; }
  .actions { margin-top: 28px; }
  .actions .btn { flex: 1 1 100%; }
  .proof { margin-top: 26px; gap: 8px 16px; font-size: 14px; }
  .hero-grid { gap: 44px; }
  .orb-a { width: 620px; height: 620px; right: -320px; top: -200px; }
  .orb-b { width: 620px; height: 620px; left: -360px; bottom: -300px; }
  .live-call { padding: 14px; border-radius: 22px; }
  .lc-head { gap: 10px; padding-bottom: 13px; }
  .lc-avatar { width: 38px; height: 38px; }
  .lc-name { font-size: 14.5px; }
  .lc-name span { display: none; }
  .lc-sub { font-size: 10.5px; letter-spacing: 0; white-space: nowrap; }
  .lc-timer { padding: 4px 8px; font-size: 12px; gap: 6px; }
  .rib-1, .rib-2 { display: none; }
  .ribbon { opacity: 0.5; }
  .b { font-size: 15px; max-width: 90%; padding: 10px 13px; }
  .lc-booked { padding: 12px 14px; gap: 12px; }
  .section { padding: 76px 0; }
  .stats { padding: 34px 0 40px; }
  .stat-n { font-size: 42px; }
  .stat-l { font-size: 14.5px; }
  .section-head { margin-bottom: 36px; }
  .section-head p:not(.eyebrow), .split-copy > p:not(.eyebrow), .origin p:not(.eyebrow), .demo p:not(.eyebrow) { font-size: 17px; }
  h2 { font-size: 36px; }
  .split-copy > p.aside { font-size: 14.5px; }
  .split-copy > p.promise { font-size: 28px; margin-top: 22px; }
  .lanes { padding: 24px 20px 22px; gap: 24px; border-radius: 20px; }
  .track li { font-size: 13px; padding-top: 26px; padding-right: 6px; }
  .step { padding: 24px; }
  .step-icon { margin-bottom: 20px; }
  .step h3 { font-size: 22px; }
  .call-frame { border-radius: 22px; margin: 0 -6px; }
  .cf-head { padding: 14px 16px; gap: 12px; }
  .cf-sub { font-size: 10.5px; }
  .hide-sm { display: none; }
  .cf-wave { margin: 12px 16px 0; width: calc(100% - 32px); height: 24px; }
  .cf-turns { padding: 14px 12px 4px; gap: 10px; }
  .t { gap: 6px; }
  .t .ts { width: 28px; font-size: 10.5px; padding-top: 11px; }
  .t p { max-width: 88%; font-size: 15px; padding: 9px 13px 10px; }
  .cf-result { margin: 12px 12px 14px; }
  .cf-booked { flex-direction: column; align-items: flex-start; gap: 8px; }
  .phone { max-width: 340px; border-radius: 40px; }
  .sms li { font-size: 14.5px; }
  .points { margin-top: 26px; gap: 18px; }
  .dash-row { margin-top: 44px; gap: 36px; }
  .browser-bar { height: 34px; padding: 0 12px; }
  .lights i { width: 9px; height: 9px; }
  .url { transform: none; font-size: 10.5px; }
  .legend li { grid-template-columns: 1fr; gap: 6px; }
  .rules { grid-template-columns: 1fr; }
  .rules li { padding: 18px; border-right: 0 !important; }
  .rules li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .origin { padding: 72px 0; }
  .origin-mark { width: 68px; }
  .faq summary { font-size: 16.5px; padding: 18px 40px 18px 0; }
  .faq details p { padding-right: 8px; font-size: 16px; }
  .demo-form { padding: 22px; grid-template-columns: minmax(0, 1fr); }
  .footer-row { gap: 18px; }
  .fineprint { margin-left: 0; width: 100%; }
}

/* ==========================================================================
   Motion, round 4. Every hidden or moving state below is gated twice: the
   .motion class (set by site.js only when reduced motion is off) for anything
   that starts hidden, and prefers-reduced-motion: no-preference for anything
   that loops. Transforms and opacity only, so nothing shifts layout.
   ========================================================================== */
@property --beam { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Header scroll progress (inside .header-row, so it follows the pill) */
.site-header { position: sticky; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--teal-mist), var(--purple) 45%, var(--mist)); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px rgba(109, 78, 246, 0.8); pointer-events: none; }
html:not(.motion) .scroll-progress { display: none; }

/* Hero: canvas field, scan line, moving grid */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.grid { overflow: hidden; background-image: none; }
.grid::before { content: ""; position: absolute; inset: -64px 0 0 0; background-image: linear-gradient(rgba(232, 225, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 225, 255, 0.05) 1px, transparent 1px); background-size: 64px 64px; }
.scan { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent 0%, transparent 82%, rgba(185, 167, 242, 0.05) 96%, rgba(232, 225, 255, 0.22) 99.7%, transparent 100%); }
.rib-3 { stroke: #FFFFFF; stroke-width: 2.4; stroke-dasharray: 70 1850; opacity: 0; filter: drop-shadow(0 0 6px rgba(232, 225, 255, 0.9)); }

/* Glowing buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent); transform: skewX(-20deg) translateX(0); opacity: 0; pointer-events: none; }
.btn:hover { box-shadow: 0 0 0 1px rgba(185, 167, 242, 0.45), 0 10px 32px -6px rgba(109, 78, 246, 0.85); }
.btn-ghost:hover { box-shadow: 0 0 0 1px rgba(232, 225, 255, 0.5), 0 0 28px -4px rgba(185, 167, 242, 0.55); }

/* Card glow: border light and a pointer spotlight */
.step, .rules li, .points li, .lanes { transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease); }
.rules li { position: relative; }
.points li { position: relative; border-radius: 16px; padding: 10px; margin: -10px; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s ease; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(109, 78, 246, 0.11), transparent 70%); }
.spot:hover::after { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .step:hover { border-color: rgba(109, 78, 246, 0.35); box-shadow: 0 0 0 1px rgba(109, 78, 246, 0.18), 0 30px 60px -30px rgba(109, 78, 246, 0.55); }
  .lanes:hover { box-shadow: 0 0 0 1px rgba(109, 78, 246, 0.2), 0 30px 70px -30px rgba(109, 78, 246, 0.45); }
  .rules li:hover img, .points li:hover img { border-color: rgba(109, 78, 246, 0.4); box-shadow: 0 0 0 4px rgba(109, 78, 246, 0.1), 0 0 22px rgba(109, 78, 246, 0.35); }
  .rules img, .points img { transition: box-shadow 0.35s ease, border-color 0.35s ease; }
  .browser { transition: box-shadow 0.4s ease; }
  .browser:hover { box-shadow: 0 0 0 1px rgba(109, 78, 246, 0.25), 0 50px 100px -40px rgba(109, 78, 246, 0.5), 0 18px 36px -24px rgba(27, 19, 54, 0.3); }
}

/* Border beam on the hero call card and the demo form */
.live-call::after, .demo-form::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; background: conic-gradient(from var(--beam), transparent 0deg 250deg, rgba(185, 167, 242, 0.85) 310deg, #FFFFFF 340deg, transparent 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; }
.demo-form { position: relative; }

/* Steps: connecting line through the icons (desktop) */
.steps { position: relative; }
.step-icon { position: relative; z-index: 2; box-shadow: 0 0 0 6px var(--white); }
.steps::before, .steps::after { content: ""; position: absolute; z-index: 1; top: 52px; left: 53px; right: calc((100% - 40px) / 3 - 53px); height: 2px; border-radius: 2px; pointer-events: none; }
.steps::before { background: linear-gradient(90deg, var(--purple), var(--lilac) 50%, var(--booked-mark)); opacity: 0.55; }
.steps::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95) 50%, transparent) no-repeat; background-size: 18% 100%; background-position: -30% 0; opacity: 0; }

/* Reveal states (JS adds .reveal and .motion; without both, nothing hides).
   Round 5: rise and fade only, about half a second, triggered early, so no screen is ever blank. */
.motion .reveal { transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0ms); }
.motion .reveal:not(.is-in) { opacity: 0; transform: translate3d(0, 16px, 0); }
.motion .reveal-scale:not(.is-in) { transform: translate3d(0, 18px, 0) scale(0.985); }
.motion .eyebrow::before { transform: scaleX(1); transform-origin: left; transition: transform 0.8s var(--ease) 0.1s; }

/* Problem timelines: the slow lane crawls, the Kintake lane snaps through */
.motion .track::before { transform: scaleX(0); transform-origin: left; }
.motion .lane-wait .track::before { transition: transform 3.2s cubic-bezier(0.45, 0, 0.55, 1) 0.4s; }
.motion .lane-kintake .track::before { transition: transform 0.9s var(--ease) 0.5s; }
.motion .lanes.is-in .track::before { transform: scaleX(1); }
.motion .track li { opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.motion .track li::before { transform: scale(0.3); transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: inherit; }
.motion .lanes.is-in .track li { opacity: 1; transform: none; }
.motion .lanes.is-in .track li::before { transform: none; }
.motion .lane-wait .track li:nth-child(1) { transition-delay: 0.3s; }
.motion .lane-wait .track li:nth-child(2) { transition-delay: 1.3s; }
.motion .lane-wait .track li:nth-child(3) { transition-delay: 2.3s; }
.motion .lane-wait .track li:nth-child(4) { transition-delay: 3.4s; }
.motion .lane-kintake .track li:nth-child(1) { transition-delay: 0.4s; }
.motion .lane-kintake .track li:nth-child(2) { transition-delay: 0.75s; }
.motion .lane-kintake .track li:nth-child(3) { transition-delay: 1.1s; }
.motion .lane-note { transition-delay: 1.4s; }

/* Steps line draws on entry */
.motion .steps::before { transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) 0.5s; }
.motion .steps.is-in::before { transform: scaleX(1); }

/* Sample transcript: turns slide in from their own side */
.motion .cf-turns .t { opacity: 0; transform: translate3d(-16px, 6px, 0); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 250ms); }
.motion .cf-turns .t.caller { transform: translate3d(16px, 6px, 0); }
.motion .cf-turns.is-in .t { opacity: 1; transform: none; }

/* Text thread: bubbles arrive one after another */
.motion .sms li { opacity: 0; transform: translate3d(0, 10px, 0) scale(0.96); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--i, 0) * 150ms + 300ms); }
.motion .sms .in { transform-origin: left bottom; }
.motion .sms .out { transform-origin: right bottom; }
.motion .sms.is-in li { opacity: 1; transform: none; }

/* Parallax on the dashboard screenshots and the phone (independent translate) */
.motion .browser-wide, .motion .browser-detail, .motion .phone { translate: 0 var(--py, 0px); }

/* FAQ answer fades up while the item opens */
.faq details.opening p { animation: faq-in 0.45s var(--ease) both; }
@keyframes faq-in { from { opacity: 0; transform: translate3d(0, -6px, 0); } to { opacity: 1; transform: none; } }

/* Loops and entrances that run without JS, only when motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-visual { animation: rise 1s var(--ease) backwards; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.18s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.26s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.34s; }
  .hero-copy > :nth-child(6) { animation-delay: 0.42s; }
  .hero-visual { animation-name: rise-card; animation-duration: 1.3s; animation-delay: 0.25s; }
  .glow-text { background-size: 220% 100%; animation: shimmer 7s ease-in-out infinite; }
  .grid::before { animation: grid-pan 9s linear infinite; }
  .scan { opacity: 1; animation: scan 9s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
  .rib-body { animation: breathe 8s ease-in-out infinite; }
  .rib-3 { opacity: 0.9; animation: comet 7s cubic-bezier(0.55, 0, 0.45, 1) infinite; }
  .btn-glow { animation: glow 3.6s ease-in-out infinite; }
  .btn:hover::after { animation: sheen 0.9s var(--ease); }
  .live-call::after { opacity: 1; animation: beam 7s linear infinite; }
  .demo-form::after { opacity: 0.9; animation: beam 9s linear infinite; }
  .motion .steps.is-in::after { opacity: 1; animation: pulse-run 3.4s ease-in-out 2.2s infinite; }
  .motion .steps.is-in .step-icon { animation: icon-lit 0.8s var(--ease) both; }
  .motion .steps.is-in .step:nth-child(1) .step-icon { animation-delay: 0.5s; }
  .motion .steps.is-in .step:nth-child(2) .step-icon { animation-delay: 1.2s; }
  .motion .steps.is-in .step:nth-child(3) .step-icon { animation-delay: 1.9s; }
  .motion .lanes.is-in .track li.hot::before { animation: ping 2.6s ease-out 1.2s infinite; }
  .motion .lanes.is-in .track li.booked-end::before { animation: ping-green 2.6s ease-out 2s infinite; }
  .motion .cf-wave.is-in rect { transform-box: fill-box; transform-origin: center; animation: wave 1.6s ease-in-out infinite; }
  .cf-wave rect:nth-child(6n+1) { animation-delay: -0.2s; } .cf-wave rect:nth-child(6n+2) { animation-delay: -0.45s; }
  .cf-wave rect:nth-child(6n+3) { animation-delay: -0.7s; } .cf-wave rect:nth-child(6n+4) { animation-delay: -0.95s; }
  .cf-wave rect:nth-child(6n+5) { animation-delay: -1.2s; }
  .motion .phone.is-float, .motion .phone-wrap.is-in .phone { animation: float 7s ease-in-out 1.2s infinite; }
  .motion .browser-detail.is-in { animation: float 8s ease-in-out 1.4s infinite; }
  .motion .browser-wide.is-in { animation: float-deep 9s ease-in-out 0.8s infinite; }
  .motion .dash-stage::after { animation: shadow-breathe 9s ease-in-out 0.8s infinite; }
  .motion .stats.is-in .stat-n::before { animation: halo 5s ease-in-out infinite; }
  .origin-mark { animation: mark-glow 4.5s ease-in-out infinite; }
  .origin-inner { position: relative; }
  .origin-inner::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -20px; width: 124px; height: 124px; margin-left: -62px; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(232, 225, 255, 0.5), transparent 35%, transparent 50%, rgba(185, 167, 242, 0.45), transparent 85%); -webkit-mask: radial-gradient(closest-side, transparent 88%, #000 90%, #000 99%, transparent 100%); mask: radial-gradient(closest-side, transparent 88%, #000 90%, #000 99%, transparent 100%); animation: spin 14s linear infinite; }
  .demo-glow { animation: glow-drift 14s ease-in-out infinite alternate; }
  .sample-glow { animation: drift-c 20s ease-in-out infinite alternate; }

  /* Offscreen sections hold still */
  .motion .is-off, .motion .is-off *, .motion .is-off *::before, .motion .is-off *::after { animation-play-state: paused !important; }
}

@keyframes rise { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes rise-card { from { opacity: 0; transform: perspective(1200px) rotateY(-10deg) translate3d(30px, 30px, 0) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes grid-pan { to { transform: translate3d(0, 64px, 0); } }
@keyframes scan { 0% { transform: translate3d(0, -100%, 0); } 100% { transform: translate3d(0, 100%, 0); } }
@keyframes breathe { 0%, 100% { opacity: 0.38; } 50% { opacity: 0.6; } }
@keyframes comet { from { stroke-dashoffset: 1920; } to { stroke-dashoffset: 0; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 1px rgba(185, 167, 242, 0.35), 0 10px 30px -6px rgba(109, 78, 246, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25); } 50% { box-shadow: 0 0 0 1px rgba(185, 167, 242, 0.6), 0 12px 44px -4px rgba(109, 78, 246, 1), inset 0 1px 0 rgba(255, 255, 255, 0.25); } }
@keyframes sheen { from { transform: skewX(-20deg) translateX(0); opacity: 1; } to { transform: skewX(-20deg) translateX(420%); opacity: 1; } }
@keyframes beam { to { --beam: 360deg; } }
@keyframes pulse-run { 0% { background-position: -30% 0; } 60%, 100% { background-position: 130% 0; } }
@keyframes icon-lit { 0% { box-shadow: 0 0 0 6px var(--white), 0 0 0 6px rgba(109, 78, 246, 0); } 40% { box-shadow: 0 0 0 6px var(--white), 0 0 0 12px rgba(109, 78, 246, 0.25), 0 0 30px rgba(109, 78, 246, 0.6); } 100% { box-shadow: 0 0 0 6px var(--white), 0 0 0 7px rgba(109, 78, 246, 0.25), 0 0 18px rgba(109, 78, 246, 0.3); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(109, 78, 246, 0.45); } 80%, 100% { box-shadow: 0 0 0 12px rgba(109, 78, 246, 0); } }
@keyframes ping-green { 0% { box-shadow: 0 0 0 0 rgba(46, 158, 91, 0.45); } 80%, 100% { box-shadow: 0 0 0 12px rgba(46, 158, 91, 0); } }
@keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.45); } }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 0); } }
@keyframes float-deep { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -14px, 0); } }
@keyframes shadow-breathe { 0%, 100% { opacity: 0.75; transform: scaleX(1); } 50% { opacity: 0.95; transform: scaleX(1.06) translateY(6px); } }
@keyframes halo { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes mark-glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(232, 225, 255, 0)); } 50% { filter: drop-shadow(0 0 18px rgba(232, 225, 255, 0.55)); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 30px, 0) scale(1.08); } }

/* Narrow screens: the step line runs only where the steps sit in a row */
@media (max-width: 960px) {
  .steps::before, .steps::after { display: none; }
}
@media (max-width: 560px) {
  .steps::before, .steps::after { top: 46px; left: 47px; }
  .rib-3 { stroke-width: 2; }
  .points li { padding: 8px; margin: -8px; }
  .origin-inner::before { width: 108px; height: 108px; margin-left: -54px; top: -20px; }
}

/* Reduced motion: belt and braces for anything above */
@media (prefers-reduced-motion: reduce) {
  .scan, .rib-3, .scroll-progress { display: none; }
  .live-call::after, .demo-form::after { opacity: 0; }
  .step, .rules li, .points li, .lanes, .browser { transition: none; }
  .site-header, .header-row { transition: none; }
}
