/* self-hosted fonts (no Google requests: faster and GDPR-friendly).
   Anton and Space Grotesk have no Cyrillic, so Oswald and Manrope take over
   when the page is translated to Ukrainian or Russian. */
@font-face { font-family: 'Anton'; src: url(assets/fonts/Anton.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(assets/fonts/SpaceGrotesk.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url(assets/fonts/Oswald.woff2) format('woff2'); font-weight: 200 700; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(assets/fonts/Manrope.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --lime: #E4FF3A;
  --cream: #F3EEDF;
  --gray: #9A9A9A;
  --dgray: #6E6B65;
  --black: #0B0B0B;
  --graphite: #151515;
  --line: #2A2A2A;
  --ink: #0B0B0B;
  --ink-soft: #3C4214;
  --display: 'Anton', 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  --pad: clamp(20px, 6vw, 120px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--black); color: var(--cream); font-family: var(--body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
a, button, summary, input { -webkit-tap-highlight-color: transparent; }
.wrap { max-width: 1600px; margin: 0 auto; padding: clamp(64px, 9vw, 140px) var(--pad); }
.lime { color: var(--lime); }
.center { text-align: center; }

/* type */
.kicker { font-size: clamp(11px, 0.95vw, 14px); letter-spacing: .32em; text-transform: uppercase; color: var(--lime); font-weight: 500; }
.kicker.muted { color: var(--dgray); }
.kicker.ink { color: var(--ink); }
.kicker-lg { font-size: clamp(14px, 1.9vw, 26px); letter-spacing: .3em; text-transform: uppercase; color: var(--lime); font-weight: 500; }
.h-xxl, .h-xl, .h-lg, .h-md { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.02; }
.h-xxl { font-size: clamp(64px, 11vw, 170px); margin: .15em 0 .2em; }
.h-xl { font-size: clamp(44px, 6.6vw, 108px); margin-top: .3em; }
.h-lg { font-size: clamp(36px, 5vw, 84px); margin-top: .3em; }
.h-md { font-size: clamp(26px, 3.2vw, 54px); margin-top: .2em; }
.ink { color: var(--ink); }
.lead-p { color: var(--gray); font-size: clamp(15px, 1.25vw, 19px); margin-top: 1.2em; max-width: 46em; }

/* buttons */
.pill { display: inline-flex; align-items: center; gap: .6em; border-radius: 999px; padding: .85em 1.6em; font-weight: 500; font-size: clamp(14px, 1.1vw, 17px); transition: transform .15s, background .15s; white-space: nowrap; }
@media (hover: hover) { .pill:hover { transform: translateY(-2px); } }
.pill:active { transform: scale(.97); }
.pill-lime { background: var(--lime); color: var(--ink); }
.pill-outline { border: 1.5px solid var(--lime); color: var(--lime); padding: .55em 1.2em; }
.pill-ink { background: var(--ink); color: var(--lime); }
.pill-ink-outline { border: 2px solid var(--ink); color: var(--ink); }

/* header */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px var(--pad); background: rgba(11,11,11,.82); backdrop-filter: blur(10px); border-bottom: 1px solid #1d1d1d; }
.brand { font-family: var(--display); font-size: 26px; color: var(--lime); letter-spacing: .02em; }
.links { display: flex; gap: clamp(16px, 3vw, 44px); color: var(--gray); font-size: 15px; }
.links a:hover { color: var(--cream); }

/* 1. hero */
.hero { padding-bottom: clamp(48px, 7vw, 110px); }
.hero-stage { position: relative; width: min(100%, 1500px); margin: 0 auto; aspect-ratio: 2048 / 1118; container-type: inline-size; }
.hero-bg { position: absolute; inset: 0; background: url(assets/hero-bg.jpg) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 80%, transparent 100%); mask-composite: intersect; }
.hero-title { position: absolute; left: 0; right: 0; top: 7.5%; text-align: center; font-family: var(--display); font-weight: 400;
  font-size: 20.6cqw; line-height: 1; text-transform: uppercase; color: var(--cream); }
.hero-phone { position: absolute; left: 21.09%; top: 37.66%; width: 46.53%; transform-origin: 50% 90%; animation: ring 3.2s ease-in-out infinite 1s; }
@keyframes ring {
  0%, 22%, 100% { transform: rotate(0) translate(0, 0); }
  2% { transform: rotate(-2deg) translate(-3px, -2px); } 4% { transform: rotate(2deg) translate(3px, -2px); }
  6% { transform: rotate(-2deg) translate(-3px, -1px); } 8% { transform: rotate(2deg) translate(3px, -1px); }
  10% { transform: rotate(-1.5deg) translate(-2px, 0); } 12% { transform: rotate(1.5deg) translate(2px, 0); }
  14% { transform: rotate(-1deg); } 16% { transform: rotate(1deg); } 18% { transform: rotate(0); }
}
.hero-copy { text-align: center; margin-top: clamp(-40px, -2vw, 0px); padding: 0 var(--pad); }
.hero-sub { color: var(--gray); font-size: clamp(15px, 1.5vw, 22px); margin: .7em 0 1.4em; }

/* 2 + 3. phone blocks */
.phone-block { position: relative; max-width: 1600px; margin: 0 auto; display: grid; }
.phone-block > * { grid-area: 1 / 1; }
.phone-stage { position: relative; }
.phone-img { width: 100%; height: auto; user-select: none; }
.phone-stage.buzz { animation: buzz .16s linear; }
@keyframes buzz { 25% { transform: translate(2px, -1px); } 50% { transform: translate(-2px, 1px); } 75% { transform: translate(1px, 1px); } }
.phone-copy { position: relative; z-index: 2; align-self: start; margin-top: clamp(32px, 4vw, 72px); padding-bottom: 48px; }
.phone-copy.right { margin-left: 52%; margin-right: var(--pad); }
.phone-copy.left { margin-left: var(--pad); margin-right: 52%; }
.clockline { margin-top: 1em; color: var(--gray); font-size: clamp(13px, 1.05vw, 16px); }
.clockline span { color: var(--lime); font-variant-numeric: tabular-nums; }
.steps { list-style: none; margin-top: clamp(16px, 2.2vw, 36px); }
.steps li { display: flex; gap: clamp(12px, 1.6vw, 26px); border-top: 1px solid var(--line); padding: clamp(9px, 1.1vw, 17px) 0; }
.steps b { font-family: var(--display); font-weight: 400; color: var(--lime); font-size: clamp(18px, 1.8vw, 30px); line-height: 1; }
.steps h3 { font-size: clamp(15px, 1.35vw, 22px); font-weight: 500; }
.steps p { color: var(--gray); font-size: clamp(13px, 1.02vw, 16px); margin-top: .2em; line-height: 1.45; }

/* phone screen (mapped with matrix3d) */
.screen { position: absolute; left: 0; top: 0; width: 390px; height: 794px; transform-origin: 0 0; border-radius: 44px; overflow: hidden; background: #040404;
  font-family: -apple-system, "SF Pro Text", "Inter", var(--body); color: #fff; }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.07), rgba(255,255,255,0) 38%); }
.screen.lit { animation: lit .35s ease-out; }
@keyframes lit { from { filter: brightness(1.35); } }
.lock { text-align: center; padding-top: 58px; }
.lock .date { font-size: 17px; font-weight: 500; color: rgba(255,255,255,.72); }
.lock .time { font-size: 86px; font-weight: 600; letter-spacing: -2px; line-height: 1; margin-top: 4px; color: #f5f5f5; }
.nlist { position: absolute; left: 12px; right: 12px; top: 208px; }
.n { position: absolute; left: 0; right: 0; height: 80px; padding: 11px 13px; border-radius: 20px; background: rgba(38,38,36,.94); display: flex; gap: 11px;
  transition: transform .38s cubic-bezier(.2,.8,.2,1), opacity .38s; }
.n.enter { opacity: 0; transform: translateY(-40px) scale(.96) !important; }
.n.gone { opacity: 0; }
.n.ring { animation: nring .5s ease-in-out infinite; }
@keyframes nring { 50% { box-shadow: 0 0 0 4px rgba(52,199,89,.55); } }
.ic { flex: 0 0 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: #fff; }
.ic.wa { background: #25D366; } .ic.ig { background: #D62976; } .ic.fb { background: #0866FF; } .ic.sms, .ic.call { background: #34C759; } .ic.missed { background: #FF3B30; }
.tx { flex: 1; min-width: 0; }
.tx .r { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .3px; }
.tx .who { font-size: 15px; font-weight: 600; margin-top: 2px; }
.tx .msg { font-size: 14px; color: rgba(255,255,255,.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nmore { position: absolute; left: 0; right: 0; top: 742px; text-align: center; font-size: 13px; color: rgba(255,255,255,.55); }
.chat-top { height: 118px; background: #141413; display: flex; align-items: flex-end; gap: 12px; padding: 0 18px 14px; }
.chat-top .back { font-size: 30px; line-height: 1; margin-bottom: 6px; color: var(--cream); }
.chat-top .av { width: 44px; height: 44px; border-radius: 50%; background: #34342f; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.chat-top .nm { font-weight: 600; font-size: 17px; } .chat-top .src { font-size: 12px; color: var(--lime); margin-top: 2px; }
.chat { position: absolute; left: 0; right: 0; top: 118px; bottom: 0; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; }
.bub { max-width: 78%; padding: 9px 13px 7px; border-radius: 18px; font-size: 15px; line-height: 1.32; transition: opacity .3s, transform .3s cubic-bezier(.2,.8,.2,1); }
.bub.in { align-self: flex-start; background: #2a2a27; color: #f2f2f2; border-bottom-left-radius: 6px; }
.bub.out { align-self: flex-end; background: var(--lime); color: var(--ink); border-bottom-right-radius: 6px; }
.bub .tm { display: block; text-align: right; font-size: 11px; margin-top: 2px; opacity: .55; }
.enter { opacity: 0; transform: translateY(14px) scale(.97); }
.typing { align-self: flex-end; background: var(--lime); border-radius: 18px; padding: 12px 14px; display: flex; gap: 5px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: .35; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .9; transform: translateY(-3px); } }
.booked { align-self: stretch; border: 1.5px solid var(--lime); border-radius: 16px; padding: 10px 13px; font-size: 13px; color: var(--cream); transition: opacity .3s, transform .3s; }
.booked b { color: var(--lime); font-size: 14px; display: block; margin-bottom: 2px; }

/* 4. case */
.case-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 90px); align-items: end; }
.case-head .lead-p { margin-top: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips li { border: 1.5px solid #46463f; border-radius: 999px; padding: .35em 1em; font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 48px); margin-top: clamp(40px, 6vw, 90px); }
.stats div { border-top: 4px solid var(--lime); padding-top: 16px; }
.stats strong { display: block; font-family: var(--display); font-weight: 400; color: var(--lime); font-size: clamp(64px, 10vw, 160px); line-height: 1; text-transform: uppercase; }
.stats span { color: var(--gray); font-size: clamp(13px, 1.1vw, 17px); }
.case-foot { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 70px); margin-top: clamp(40px, 6vw, 90px); padding-top: 40px; border-top: 1px solid var(--line); align-items: center; }
blockquote { font-size: clamp(18px, 1.8vw, 28px); font-weight: 500; line-height: 1.35; }
cite { display: block; font-style: normal; color: var(--dgray); font-size: 15px; margin-top: 14px; font-weight: 400; }
.demo { display: flex; align-items: center; gap: 24px; background: var(--graphite); border: 1px solid var(--line); border-radius: 22px; padding: 28px; transition: border-color .2s; }
.demo:hover { border-color: var(--lime); }
.demo .play { flex: 0 0 76px; height: 76px; border-radius: 50%; background: var(--lime); position: relative; }
.demo .play::after { content: ""; position: absolute; left: 31px; top: 24px; border-left: 22px solid var(--ink); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.demo b { display: block; font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; }
.demo small { color: var(--gray); font-size: 15px; }

/* 5 + 9. lime sections */
.lime-sec { background: var(--lime); color: var(--ink); }
.rows { margin-top: clamp(30px, 4vw, 60px); }
.row { display: grid; grid-template-columns: 90px 1fr 300px; gap: 20px; align-items: center; border-top: 3px solid var(--ink); padding: clamp(18px, 2.2vw, 34px) 0; }
.row:last-child { border-bottom: 3px solid var(--ink); }
.row > b { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3vw, 48px); }
.row small { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.row p { font-size: clamp(17px, 1.6vw, 26px); font-weight: 500; margin-top: .2em; }
.row-stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5vw, 84px); line-height: 1; text-transform: uppercase; }
.row-stat span { color: var(--ink-soft); font-size: 14px; font-weight: 500; }
.lime-sec .pill { margin-top: clamp(28px, 3vw, 48px); }
.ink-sub { color: var(--ink-soft); font-size: clamp(15px, 1.3vw, 20px); max-width: 52em; margin-top: 1em; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 28px); margin-top: clamp(30px, 4vw, 56px); }
.plan { position: relative; border: 3px solid var(--ink); border-radius: 26px; padding: clamp(24px, 2.4vw, 40px); display: flex; flex-direction: column; }
.plan.dark { background: var(--ink); color: var(--cream); }
.plan-name { text-transform: uppercase; letter-spacing: .22em; font-size: 13px; font-weight: 600; }
.from { margin-top: 1.4em; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.plan.dark .from, .plan.dark .plan-desc { color: var(--gray); }
.price { font-family: var(--display); font-size: clamp(64px, 6.6vw, 110px); line-height: 1.05; }
.plan.dark .price { color: var(--lime); }
.plan-desc { color: var(--ink-soft); margin-top: .6em; font-size: 16px; }
.plan ul { list-style: none; margin: 22px 0 28px; padding-top: 22px; border-top: 2px solid currentColor; }
.plan.dark ul { border-top-color: #333; }
.plan li { position: relative; padding-left: 26px; margin: 10px 0; font-weight: 500; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); }
.plan.dark li::before { background: var(--lime); }
.plan .pill { margin-top: auto; align-self: flex-start; }
.badge { position: absolute; right: 22px; top: 22px; background: var(--lime); color: var(--ink); border-radius: 999px; padding: 5px 14px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.guarantee { margin-top: clamp(20px, 2.4vw, 36px); background: var(--ink); color: var(--cream); border-radius: 26px; padding: clamp(22px, 2.4vw, 36px) clamp(24px, 3vw, 48px); }
.guarantee strong { font-family: var(--display); font-weight: 400; color: var(--lime); text-transform: uppercase; font-size: clamp(24px, 2.4vw, 40px); }
.guarantee p { margin-top: .3em; }

/* 6. calculator */
.calc-box { margin-top: clamp(36px, 5vw, 70px); display: grid; grid-template-columns: 1.2fr 1fr; background: var(--graphite); border: 1px solid var(--line); border-radius: 30px; overflow: hidden; }
.calc-in { padding: clamp(24px, 3.5vw, 56px); border-right: 1px solid var(--line); display: grid; gap: clamp(22px, 2.6vw, 40px); }
.calc-in label { display: grid; grid-template-columns: 1fr auto; row-gap: 14px; color: var(--gray); font-size: clamp(15px, 1.25vw, 19px); }
.calc-in output { color: var(--cream); font-weight: 600; }
.calc-in input { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; height: 44px; margin: -14px 0; background: transparent; outline: none; touch-action: pan-y; --p: 50%; cursor: pointer; }
.calc-in input::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(to right, var(--lime) var(--p), #333 var(--p)); }
.calc-in input::-moz-range-track { height: 8px; border-radius: 8px; background: #333; }
.calc-in input::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--lime); }
.calc-in input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--cream); outline-offset: 3px; }
.calc-in input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); border: 9px solid var(--lime); box-shadow: inset 0 0 0 4px var(--ink); cursor: pointer; margin-top: -11px; }
.calc-in input::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); border: 9px solid var(--lime); cursor: pointer; }
.calc-out { padding: clamp(24px, 3.5vw, 56px); display: flex; flex-direction: column; }
.loss { font-family: var(--display); color: var(--lime); font-size: clamp(64px, 8vw, 140px); line-height: 1.05; margin-top: .2em; }
.loss-sub { font-size: clamp(18px, 1.6vw, 26px); font-weight: 500; }
.note { color: var(--dgray); font-size: 14px; margin: 1em 0 1.8em; line-height: 1.5; }
.calc-out .pill { align-self: flex-start; margin-top: auto; }

/* 7. about */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 100px); align-items: center; }
.about img { border-radius: 24px; width: 100%; }
.facts { margin-top: 2em; }
.facts div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; border-top: 1px solid var(--line); padding: 16px 0; }
.facts dt { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--dgray); padding-top: 4px; }
.facts dd { font-weight: 500; }

/* 8. process */
.process-hero { position: relative; background: url(assets/keys.jpg) left center / cover no-repeat; min-height: clamp(420px, 52vw, 860px);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.process-copy { position: absolute; left: 58%; right: var(--pad); top: 14%; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; padding-top: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: var(--pad); right: var(--pad); top: 8px; height: 2px; background: #333; }
.timeline li { position: relative; padding-top: 44px; }
.timeline i { position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); }
.timeline li.opt i { background: var(--black); border: 3px solid var(--lime); }
.timeline b { font-family: var(--display); font-weight: 400; color: var(--lime); font-size: clamp(36px, 3.4vw, 56px); }
.timeline h3 { font-size: clamp(16px, 1.35vw, 21px); font-weight: 500; margin-top: .3em; }
.timeline p { color: var(--gray); font-size: 15px; margin-top: .3em; }

/* 10. faq */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 6vw, 120px); }
.textlink { display: inline-block; color: var(--lime); font-weight: 500; margin-top: 1.6em; }
.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: clamp(18px, 2vw, 30px) 0; font-size: clamp(17px, 1.6vw, 26px); font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.4em; line-height: .8; color: var(--cream); }
.acc details[open] summary { color: var(--lime); }
.acc details[open] summary::after { content: "–"; color: var(--lime); }
.acc details p { color: var(--gray); padding: 0 3em clamp(18px, 2vw, 30px) 0; font-size: clamp(15px, 1.2vw, 18px); }

/* 11. final */
.final { position: relative; max-width: 1600px; margin: 0 auto; min-height: min(clamp(560px, 56vw, 900px), calc(100vh - 80px)); display: flex; align-items: center; }
.final-media { position: absolute; right: 0; top: 0; bottom: 0; width: 60%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%), linear-gradient(to bottom, transparent 0, #000 10%, #000 88%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 22%), linear-gradient(to bottom, transparent 0, #000 10%, #000 88%, transparent); mask-composite: intersect; }
.final-media video, .final-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.final-copy { position: relative; padding: clamp(48px, 6vw, 80px) var(--pad); max-width: 820px; }
.final-cta { font-size: clamp(20px, 2vw, 32px); font-weight: 500; margin: 1.2em 0 1em; line-height: 1.3; }
.contacts { margin-top: 22px; color: var(--dgray); letter-spacing: .2em; text-transform: uppercase; font-size: 13px; }
.contacts a { display: inline-block; padding: 12px 4px; }
.contacts a:hover { color: var(--lime); }
#answered { opacity: .25; transition: opacity .45s; }
#answered.on { opacity: 1; }

/* footer */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px var(--pad); border-top: 1px solid var(--line); color: var(--dgray); font-size: 14px; max-width: 1600px; margin: 0 auto; }
.foot .brand { font-size: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .links { display: none; }
  .phone-block { display: flex; flex-direction: column; }
  .phone-copy, .phone-copy.right, .phone-copy.left { margin: 0; padding: 28px var(--pad) 64px; }
  .phone-block.flip { flex-direction: column-reverse; }
  .case-head, .case-foot, .about, .faq, .calc-box { grid-template-columns: 1fr; }
  .calc-in { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr; }
  .row { grid-template-columns: 60px 1fr; }
  .row-stat { grid-column: 2; }
  .plans { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 4px; }
  .timeline::before { left: calc(var(--pad) + 8px); right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li { padding: 0 0 26px 44px; }
  .phone-stage { overflow: hidden; }
  #stage-leaks .phone-img, #stage-chat .phone-img { width: 185%; max-width: none; }
  #stage-chat .phone-img { margin-left: -85%; }
  .process-hero { background: none; min-height: 0; -webkit-mask-image: none; mask-image: none; }
  .process-hero::before { content: ""; display: block; aspect-ratio: 2400 / 1311; background: url(assets/keys.jpg) 15% center / 170% auto no-repeat; }
  .process-copy { position: static; padding: 24px var(--pad) 40px; }
  .process { padding-bottom: 40px; }
  .final { flex-direction: column; min-height: 0; }
  .final-media { position: relative; width: 100%; aspect-ratio: 16 / 9; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 85%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 85%, transparent); }
  .final-copy { padding-top: 10px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
}
/* ---------- mobile menu + sticky CTA (hidden on desktop) ---------- */
.menu-btn { display: none; }
.float-cta { display: none; }
.textlink { display: inline-block; padding: 10px 0; }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--ink); padding: 96px var(--pad) calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a { font-family: var(--display); text-transform: uppercase; font-size: clamp(40px, 11vw, 64px); line-height: 1.05; color: var(--cream); padding: 6px 0; border-bottom: 1px solid var(--line); }
.menu-links a:active { color: var(--lime); }
.menu .pill { align-self: stretch; justify-content: center; min-height: 56px; margin-top: 32px; }
body.menu-open { overflow: hidden; }

@media (max-width: 980px) {
  .nav { padding: 10px var(--pad); padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); }
  .nav .brand { font-size: 22px; }
  .nav-cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--lime); border-radius: 999px; background: none; color: var(--lime); font: 500 15px var(--body); cursor: pointer; position: relative; z-index: 70; }
  .menu-btn::after { content: ""; width: 14px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transition: transform .2s, height .2s; }
  .menu-btn[aria-expanded="true"]::after { width: 12px; height: 12px; border: 0; background: linear-gradient(45deg, transparent 44%, currentColor 44%, currentColor 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, currentColor 44%, currentColor 56%, transparent 56%); }
  html { scroll-padding-top: 64px; }
  .kicker { font-size: 12px; letter-spacing: .26em; }
  .pill { min-height: 48px; white-space: normal; text-align: left; max-width: 100%; }
  .pill span { flex: none; }
  .nav .brand { padding: 6px 0; }
  .badge { font-size: 12px; }
  .float-cta { display: inline-flex; justify-content: center; position: fixed; z-index: 40; left: var(--pad); right: var(--pad);
    bottom: calc(14px + env(safe-area-inset-bottom)); min-height: 54px; font-size: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.55);
    transform: translateY(140%); opacity: 0; transition: transform .3s ease, opacity .3s ease; pointer-events: none; }
  .float-cta.show { transform: none; opacity: 1; pointer-events: auto; }
  .float-cta:active { transform: scale(.97); }
}

/* short laptop screens: keep the whole final block below the header */
@media (min-width: 981px) and (max-height: 760px) {
  .final-copy { padding-top: 24px; padding-bottom: 24px; }
  .final .h-xxl { font-size: clamp(64px, 14vh, 120px); }
  .final-cta { margin: .7em 0 .7em; }
}

/* phones: bigger ringing phone in the hero */
@media (max-width: 700px) {
  .hero { overflow: hidden; }
  .hero-stage { width: 150%; max-width: none; margin-left: -23.5%; }  /* phone body, not the cord, sits on the centre line */
  .hero-title { left: 15.67%; right: 17.67%; font-size: 19cqw; }
  .hero-copy { margin-top: -8px; }
}

@media (prefers-reduced-motion: reduce) {
  .float-cta { transition: none; }
  .hero-phone, .phone-stage.buzz { animation: none; }
}

/* case study pages (/cases/...) */
.cs-back { color: var(--gray); font-size: 15px; }
.cs-back:hover { color: var(--cream); }
.cs-section { display: grid; grid-template-columns: 280px 1fr; gap: clamp(20px, 4vw, 70px); border-top: 1px solid var(--line); padding: clamp(32px, 4vw, 60px) 0; }
.cs-section:first-of-type { margin-top: clamp(40px, 6vw, 90px); }
.cs-section h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; }
.cs-section h2 b { display: block; color: var(--lime); font-weight: 400; font-size: .6em; margin-bottom: .3em; }
.cs-section p { color: var(--gray); font-size: clamp(15px, 1.25vw, 19px); max-width: 44em; }
.cs-section p + p { margin-top: 1em; }
.cs-section .steps { margin-top: 0; }
.cs-quote { font-size: clamp(20px, 2vw, 30px); max-width: 38em; }
.cs-quote p + p { margin-top: .8em; }
.cs-cta { text-align: center; padding: clamp(64px, 9vw, 140px) var(--pad); border-top: 1px solid var(--line); }
.cs-cta .pill { margin-top: 28px; }
@media (max-width: 980px) { .cs-section { grid-template-columns: 1fr; } }
.demo-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--graphite); }
.demo-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* on the home page the opened video takes the full width under the quote */
.case-foot:has(.demo-embed) { grid-template-columns: 1fr; }
.row-demo { display: inline-block; margin-top: .5em; font-size: 14px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--ink); }
.row-demo:hover { opacity: .7; }
/* video lightbox for small demo links */
.demo-modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; padding: 20px; }
.demo-modal .demo-embed { width: min(1100px, 100%); }
.demo-modal button { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: var(--cream); font-size: 34px; line-height: 1; cursor: pointer; }
