:root {
  --bg: #0b1222; --bg2: #111b31; --card: #15213b; --line: #26365a; --text: #e8eef9; --muted: #9fb0cc;
  --amber: #f59e0b; --amber2: #fbbf24; --green: #22c55e; --blue: #3b82f6; --red: #f87171;
  --radius: 16px; --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--amber2); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5.4vw, 58px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.ctas.center { justify-content: center; }
.muted { color: var(--muted); } .small { font-size: 14px; }
.eyebrow { color: var(--amber); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin-bottom: 10px; }
.lead { font-size: 19px; color: #c9d5ea; }
.hl { color: var(--amber); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 99; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--amber); color: #111; font-weight: 800; text-decoration: none; padding: 14px 22px; border-radius: 12px; border: 2px solid var(--amber); transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); background: var(--amber2); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--amber); }
.btn.sm { padding: 8px 14px; font-size: 15px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(11,18,34,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.navin { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 18px; }
.logo svg { width: 34px; height: 34px; } .logo b { color: var(--amber); }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; } .nav nav a:not(.btn):hover { color: var(--text); }

/* hero */
.hero { padding: 64px 0 72px; background: radial-gradient(1000px 500px at 80% 0%, rgba(245,158,11,.14), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(59,130,246,.12), transparent 60%); }
.heroin { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.phone { justify-self: center; width: min(340px, 100%); }
.screen { background: #0e1729; border: 10px solid #1f2b45; border-radius: 40px; height: 560px; padding: 18px 16px; position: relative; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 0 0 1px #2b3a5d; }
.status { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.call { position: absolute; inset: 52px 16px auto; text-align: center; padding: 26px 12px; background: var(--card); border-radius: 22px; border: 1px solid var(--line); }
.caller { font-size: 34px; width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 10px; background: #1e2c4a; border-radius: 50%; position: relative; z-index: 1; }
.ring { position: absolute; left: 50%; top: 62px; width: 72px; height: 72px; margin-left: -36px; border-radius: 50%; border: 3px solid var(--red); animation: ring 1.2s ease-out infinite; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.tag.red { background: rgba(248,113,113,.15); color: var(--red); }
.chat { position: absolute; inset: 56px 14px 16px; display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; }
.bubble { max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; }
.bubble.out { align-self: flex-start; background: var(--blue); color: #fff; border-bottom-left-radius: 4px; }
.bubble.in { align-self: flex-end; background: #2a3958; border-bottom-right-radius: 4px; }
.booked { display: flex; gap: 10px; align-items: center; background: rgba(34,197,94,.14); border: 1px solid rgba(34,197,94,.5); padding: 12px; border-radius: 14px; font-size: 14px; }
.booked > span { font-size: 24px; }
.example { font-size: 12.5px; color: var(--muted); font-style: italic; margin-top: 10px; text-align: center; }
/* 14s loop: call (0-3s) fades, messages pop in, booked, hold, restart */
.step { animation: 14s infinite both; }
.s1 { animation-name: callStep; }
.s2 { animation-name: m2; } .s3 { animation-name: m3; } .s4 { animation-name: m4; } .s5 { animation-name: m5; } .s6 { animation-name: m6; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
@keyframes callStep { 0%,20% { opacity: 1; transform: none; } 25%,100% { opacity: 0; transform: translateY(-20px); visibility: hidden; } }
@keyframes m2 { 0%,26% { opacity: 0; transform: translateY(14px); } 30%,94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes m3 { 0%,38% { opacity: 0; transform: translateY(14px); } 42%,94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes m4 { 0%,50% { opacity: 0; transform: translateY(14px); } 54%,94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes m5 { 0%,62% { opacity: 0; transform: translateY(14px); } 66%,94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes m6 { 0%,72% { opacity: 0; transform: scale(.9); } 77%,94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* bands & sections */
.band { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.big { font-size: 34px; display: block; margin-bottom: 8px; }
.sec { padding: 84px 0; } .sec.alt { background: var(--bg2); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

/* bots */
.bots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.bot { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.botart { height: 120px; display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 14px; }
.botface { width: 62px; height: 54px; background: #22325a; border: 3px solid var(--amber); border-radius: 14px; display: flex; justify-content: center; align-items: center; gap: 12px; position: relative; animation: bob 2.4s ease-in-out infinite; }
.botface::before { content: ''; position: absolute; top: -14px; left: 50%; width: 3px; height: 10px; background: var(--amber); }
.botface i { width: 10px; height: 10px; background: #7dd3fc; border-radius: 50%; animation: blink 4s infinite; }
.wave { display: flex; gap: 5px; align-items: center; } .wave span { width: 6px; height: 16px; background: var(--green); border-radius: 3px; animation: wave 1s ease-in-out infinite; }
.wave span:nth-child(2) { animation-delay: .15s; } .wave span:nth-child(3) { animation-delay: .3s; }
.cal { display: grid; grid-template-columns: repeat(3, 16px); gap: 5px; } .cal b { width: 16px; height: 16px; border-radius: 4px; background: #2a3958; }
.cal b.on { animation: book 2.4s ease-in-out infinite; }
.send span { display: inline-block; font-size: 30px; color: var(--amber2); animation: fly 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes blink { 0%,92%,100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes wave { 0%,100% { transform: scaleY(.5); } 50% { transform: scaleY(1.4); } }
@keyframes book { 0%,30% { background: #2a3958; } 45%,100% { background: var(--green); box-shadow: 0 0 12px rgba(34,197,94,.7); } }
@keyframes fly { 0% { transform: translate(-12px, 6px) rotate(-10deg); opacity: 0; } 30%,60% { opacity: 1; } 100% { transform: translate(26px, -18px) rotate(8deg); opacity: 0; } }

/* before/after */
.ba { max-width: 760px; margin: 30px auto 0; }
.toggle { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin: 0 auto 18px; position: relative; left: 50%; transform: translateX(-50%); }
.toggle button { font: inherit; font-weight: 700; color: var(--muted); background: none; border: 0; padding: 10px 18px; border-radius: 9px; cursor: pointer; }
.toggle button[aria-selected="true"] { background: var(--amber); color: #111; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; border-left: 4px solid var(--red); transition: border-color .4s; }
.timeline time { font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline .a { display: none; }
.ba[data-mode="after"] .timeline li { border-left-color: var(--green); }
.ba[data-mode="after"] .timeline .b { display: none; } .ba[data-mode="after"] .timeline .a { display: block; animation: fadeIn .4s; }
.ba[data-mode="before"] .timeline .b { animation: fadeIn .4s; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

/* scenarios */
.scen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #fde68a; background: rgba(245,158,11,.12); border: 1px dashed rgba(245,158,11,.6); padding: 4px 10px; border-radius: 8px; margin-bottom: 12px; }
.stat { font-size: 30px; font-weight: 900; color: var(--green); margin: 6px 0 8px; } .stat .count { font-variant-numeric: tabular-nums; }

/* services, pricing */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.price.feat { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber) inset; }
.amt { font-size: 40px; font-weight: 900; margin: 4px 0 0; } .amt small { font-size: 16px; color: var(--muted); font-weight: 600; }
.amt2 { font-size: 22px; font-weight: 800; color: var(--amber2); }
.price ul { padding-left: 20px; } .tiers { list-style: none; padding: 0 !important; }
.tiers li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } .tiers b { white-space: nowrap; }
.cta { background: linear-gradient(135deg, rgba(245,158,11,.16), rgba(59,130,246,.12)); border-top: 1px solid var(--line); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.footin { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; } .foot a { color: var(--muted); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* privacy page */
.doc { padding: 56px 0 80px; } .doc h2 { font-size: 24px; margin-top: 28px; } .doc li { margin: 6px 0; }

@media (max-width: 900px) {
  .heroin { grid-template-columns: 1fr; gap: 36px; }
  .three, .bots, .scen, .svc { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; }
  .nav nav a:not(.btn) { display: none; }
  .sec { padding: 60px 0; }
  .screen { height: 520px; }
}
.btn { white-space: nowrap; }
@media (max-width: 420px) { .logo span { font-size: 15px; } .nav .btn.sm { padding: 7px 10px; font-size: 13px; } .logo svg { width: 28px; height: 28px; } .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* Respect reduced motion: show the finished state, no movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .s1 { display: none; } .step { opacity: 1 !important; transform: none !important; }
  .reveal { opacity: 1; transform: none; }
}
