/* Self-hosted fonts (SIL Open Font License): no requests to Google. */
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semicondensed-600.woff") format("woff"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semicondensed-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semicondensed-800.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-variable.woff") format("woff"); font-weight: 200 800; font-display: swap; }

/* ===== Kaizro design tokens ===== */
:root {
  --white: #FFFFFF;
  --ink: #0E1030;
  --muted: #555A7A;
  --line: #E8E6F3;
  --tint: #F6F4FF;
  --violet: #6C2BFF;
  --pink: #D1135F;
  --cyan: #00B8F0;
  --yellow: #FFB21A;
  --mint: #0A7F58;
  --grad: linear-gradient(120deg, #6C2BFF 0%, #D1135F 55%, #B45309 100%);
  --grad-deco: linear-gradient(120deg, #6C2BFF 0%, #FF2E7E 55%, #FFB21A 100%);
  --grad-cool: linear-gradient(120deg, #00B8F0 0%, #6C2BFF 100%);
  --radius: 22px;
  --display: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.02; letter-spacing: -0.01em; }
/* Narrower, taller display type */
h1, h2, h3, h4, .logo, .marquee span, .tile b, .rotator, .steps li::before, .plan .amt, .foot-big, .big-loss, .loss-grid b, .slider-top output, .t-num, .sstep .num, .scenario strong, .screen h4, .stat-row b, .dash-top b, .pipeline .node strong, .phone-top strong, .result-card strong, .price .amount { font-stretch: normal; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: gradShift 6s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% 0; } }

/* ===== Preloader ===== */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--white); display: grid; place-items: center; transition: transform .8s cubic-bezier(.77,0,.18,1); }
.loader.done { transform: translateY(-100%); }
.loader .logo-mark { width: auto; height: 92px; }
.loader .logo-mark .ring { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 1s .1s ease forwards; }
.loader .logo-mark .tail { stroke-dasharray: 20; stroke-dashoffset: 20; animation: draw .4s .9s ease forwards; }
.loader .logo-mark .spark { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .5s 1.1s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }

/* ===== Page wipe transition ===== */
.wipe { position: fixed; inset: 0; z-index: 90; pointer-events: none; background: var(--grad); transform: translateY(100%); }
.wipe.in { animation: wipeIn .55s cubic-bezier(.77,0,.18,1) forwards; }
.wipe.out { transform: translateY(0); animation: wipeOut .7s .05s cubic-bezier(.77,0,.18,1) forwards; }
@keyframes wipeIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes wipeOut { from { transform: translateY(0); } to { transform: translateY(-100%); } }

/* ===== Scroll progress + cursor glow ===== */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.cursor-glow { position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(108,43,255,.13), rgba(255,46,126,.07) 40%, transparent 70%); transition: opacity .3s; }
@media (hover: none) { .cursor-glow { display: none; } }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, box-shadow .3s; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 51; background: rgba(255,255,255,.85); }
.site-header.scrolled { background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: flex-end; gap: 0; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.8rem; letter-spacing: -0.02em; color: var(--ink); }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo .logo-mark { width: auto; height: 1em; margin: 0 -0.05em 0.02em 0; }
.logo-word { line-height: 1; }
.logo:hover .logo-mark .spark { animation: spin 1s cubic-bezier(.34,1.56,.64,1); }
.logo-mark .spark { transform-box: fill-box; transform-origin: center; }
.logo-mark .orbit { transform-origin: 30px 30px; animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a.link { position: relative; text-decoration: none; font-weight: 600; font-size: .98rem; padding: 10px 14px; border-radius: 999px; color: var(--ink); transition: color .2s; }
.nav-links a.link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.77,0,.18,1); }
.nav-links a.link:hover::after, .nav-links a.link[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s, background .3s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--white); padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) 24px 40px;
  display: flex; flex-direction: column; gap: 6px; clip-path: circle(0% at calc(100% - 48px) 38px); transition: clip-path .7s cubic-bezier(.77,0,.18,1); visibility: hidden; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 48px) 38px); visibility: visible; }
.mobile-menu a { font-family: var(--display); font-weight: 800; font-size: 2.4rem; text-decoration: none; padding: 6px 0; }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

/* ===== Buttons ===== */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-family: var(--body); font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer; border: 0; transition: transform .25s, box-shadow .25s; will-change: transform; }
.btn-primary { background: var(--grad); background-size: 160% 100%; color: var(--white); box-shadow: 0 10px 30px -8px rgba(255,46,126,.55); }
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(108,43,255,.6); background-position: 100% 0; }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); }
.btn-primary:hover::after { animation: shine .8s ease; }
@keyframes shine { to { left: 130%; } }
.btn-outline { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn svg { width: 18px; height: 18px; }
.nav .btn { min-height: 46px; padding: 0 20px; font-size: .95rem; }

/* ===== Section basics ===== */
section { position: relative; padding: 120px 0; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 10px; border-radius: 999px; background: var(--tint); font-weight: 700; font-size: .92rem; color: var(--violet); }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(18,201,143,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(18,201,143,0); } 100% { box-shadow: 0 0 0 0 rgba(18,201,143,0); } }
.h-xl { font-size: clamp(2.8rem, 6.4vw, 5.2rem); font-weight: 800; letter-spacing: -0.015em; }
.h-lg { font-size: clamp(2.3rem, 5.2vw, 4.2rem); font-weight: 800; letter-spacing: -0.01em; max-width: 18ch; }
.h-md { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 700; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 56ch; }
.section-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: 64px; }
.section-head.center { align-items: center; text-align: center; }
.section-head.center .chip { align-self: center; }
.section-head.center .h-lg { max-width: 20ch; }

/* ===== Reveal on scroll ===== */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="zoom"] { transform: scale(.88); }
.js [data-reveal].in { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; padding-bottom: .08em; }
.split-line > span { display: block; }
.js .split-line > span { transform: translateY(110%); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .ready .split-line > span, .js .split-line.in > span { transform: none; }

/* ===== Background art ===== */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 18s ease-in-out infinite alternate; }
.blob.b1 { width: 520px; height: 520px; background: #B79BFF; top: -140px; right: -80px; }
.blob.b2 { width: 420px; height: 420px; background: #FF9CC4; bottom: -120px; right: 22%; animation-duration: 22s; }
.blob.b3 { width: 360px; height: 360px; background: #8EE3FF; top: 30%; left: -140px; animation-duration: 26s; }
.blob.b4 { width: 300px; height: 300px; background: #FFE08A; top: 8%; left: 38%; animation-duration: 20s; opacity: .45; }
@keyframes float { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.08); } 100% { transform: translate(-30px,40px) scale(.95); } }
.net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.grid-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); opacity: .6; }

/* ===== Hero (home) ===== */
.hero { padding: 40px 0 120px; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.hero > .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.rotator { display: inline-flex; align-items: baseline; gap: .35em; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.rotator .slot { position: relative; display: inline-block; height: 1.25em; overflow: hidden; vertical-align: bottom; min-width: 9ch; }
.rotator .slot span { position: absolute; left: 0; top: 0; white-space: nowrap; transform: translateY(110%); transition: transform .6s cubic-bezier(.77,0,.18,1); }
.rotator .slot span.on { transform: none; }
.rotator .slot span.off { transform: translateY(-110%); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Phone mock */
.phone-stage { position: relative; display: flex; justify-content: center; perspective: 1200px; }
.phone { position: relative; width: 320px; max-width: 100%; height: 640px; border-radius: 48px; background: var(--ink); padding: 12px; box-shadow: 0 50px 100px -30px rgba(108,43,255,.55), 0 30px 60px -30px rgba(255,46,126,.5); transform-style: preserve-3d; transition: transform .2s ease-out; }
.phone-screen { position: relative; height: 100%; border-radius: 38px; background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.phone-top { padding: 22px 20px 16px; background: var(--grad); color: var(--white); }
.phone-top .label { font-size: .8rem; font-weight: 700; opacity: .9; display: flex; align-items: center; gap: 8px; }
.phone-top .label .live { width: 8px; height: 8px; border-radius: 50%; background: var(--white); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.phone-top strong { display: block; font-family: var(--display); font-size: 1.3rem; margin-top: 6px; }
.wave { display: flex; align-items: center; gap: 4px; height: 34px; margin-top: 14px; }
.wave i { flex: 1; height: 30%; border-radius: 3px; background: rgba(255,255,255,.9); animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.2s; } .wave i:nth-child(3n) { animation-delay: -.45s; } .wave i:nth-child(5n) { animation-delay: -.7s; }
@keyframes wave { 50% { height: 100%; } }
.chat { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.bubble { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: .84rem; line-height: 1.4; animation: bubbleIn .45s cubic-bezier(.34,1.56,.64,1) both; }
.bubble.ai { background: var(--tint); border-bottom-left-radius: 4px; }
.bubble.caller { align-self: flex-end; background: var(--ink); color: var(--white); border-bottom-right-radius: 4px; }
.bubble.typing { display: inline-flex; gap: 4px; padding: 13px; }
.bubble.typing b { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); animation: blink 1s infinite; }
.bubble.typing b:nth-child(2) { animation-delay: .2s; } .bubble.typing b:nth-child(3) { animation-delay: .4s; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(12px) scale(.9); } to { opacity: 1; transform: none; } }
.toast { margin: 0 12px 14px; padding: 13px 14px; border-radius: 16px; background: var(--mint); color: var(--white); font-size: .85rem; font-weight: 700; display: flex; gap: 10px; align-items: center;
  transform: translateY(140%); transition: transform .6s cubic-bezier(.34,1.56,.64,1); }
.toast.show { transform: none; }
.toast svg { flex: none; width: 22px; height: 22px; }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 16px; padding: 12px 16px 12px 12px;
  box-shadow: 0 18px 40px -12px rgba(14,16,48,.25); font-size: .88rem; font-weight: 700; white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.float-card .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--white); }
.float-card .ico svg { width: 18px; height: 18px; }
.float-card small { display: block; font-weight: 600; color: var(--muted); font-size: .76rem; }
.fc1 { top: 12%; left: -6%; } .fc1 .ico { background: var(--violet); }
.fc2 { top: 46%; right: -10%; animation-delay: -1.6s; } .fc2 .ico { background: var(--pink); }
.fc3 { bottom: 10%; left: -2%; animation-delay: -3.2s; } .fc3 .ico { background: var(--yellow); }
@keyframes bob { 50% { transform: translateY(-14px); } }

/* ===== Marquee ===== */
.marquee { padding: 34px 0; overflow: hidden; background: var(--ink); color: var(--white); transform: rotate(-2deg) scale(1.03); }
.marquee.alt { background: var(--grad); transform: rotate(1.5deg) scale(1.03); margin-top: -26px; }
.marquee-track { display: flex; width: max-content; gap: 48px; animation: marquee 28s linear infinite; }
.marquee.alt .marquee-track { animation-direction: reverse; animation-duration: 34s; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.8rem); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ""; width: 18px; height: 18px; background: currentColor; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Compare (missed vs answered) ===== */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.flow-card { position: relative; border-radius: 28px; padding: 40px; overflow: hidden; }
.flow-card.bad { background: var(--tint); }
.flow-card.good { background: var(--ink); color: var(--white); }
.flow-card.good::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(108,43,255,.55), transparent 30%, rgba(255,46,126,.5), transparent 60%); animation: spin 12s linear infinite; }
.flow-card.good::after { content: ""; position: absolute; inset: 2px; border-radius: 26px; background: var(--ink); }
.flow-card > * { position: relative; z-index: 1; }
.flow-card h3 { font-size: 1.6rem; margin-bottom: 28px; }
.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.flow li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; font-weight: 700; }
.flow-card.bad .flow li { background: var(--white); }
.flow-card.good .flow li { background: rgba(255,255,255,.08); }
.flow .ico { width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; color: var(--white); }
.flow .ico svg { width: 18px; height: 18px; }
.flow-card.bad .ico { background: #9AA0BA; }
.flow-card.bad li:last-child .ico { background: #E5484D; }
.flow-card.good .ico { background: var(--grad); }
.flow-card.good li:last-child .ico { background: var(--mint); }
.js .flow li { opacity: 0; transform: translateX(-20px); transition: opacity .5s, transform .5s; }
.js .in .flow li { opacity: 1; transform: none; }
.in .flow li:nth-child(2) { transition-delay: .25s; } .in .flow li:nth-child(3) { transition-delay: .5s; } .in .flow li:nth-child(4) { transition-delay: .75s; }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; border-radius: var(--radius); padding: 32px 26px; background: var(--white); border: 1.5px solid var(--line); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s; transform-style: preserve-3d; text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.card:hover { box-shadow: 0 30px 60px -25px rgba(108,43,255,.4); border-color: transparent; }
.card::before { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
.card:hover::before { opacity: 1; }
.card .icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: var(--white); margin-bottom: 6px; transform: translateZ(30px); }
.card .icon svg { width: 30px; height: 30px; }
.card:nth-child(1) .icon { background: var(--violet); }
.card:nth-child(2) .icon { background: var(--pink); }
.card:nth-child(3) .icon { background: var(--cyan); }
.card:nth-child(4) .icon { background: var(--yellow); }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card .more { margin-top: auto; font-weight: 800; font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; color: var(--violet); }
.card .more svg { width: 16px; height: 16px; transition: transform .3s; }
.card:hover .more svg { transform: translateX(5px); }
.card:hover .icon svg { animation: wiggle .6s ease; }
@keyframes wiggle { 25% { transform: rotate(-12deg) scale(1.1); } 75% { transform: rotate(10deg) scale(1.1); } }

/* ===== Pipeline ===== */
.pipeline-wrap { border-radius: 32px; background: var(--tint); padding: 64px 40px; overflow: hidden; position: relative; }
.pipeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pipeline svg.track { position: absolute; left: 12%; right: 12%; top: 46px; width: 76%; height: 4px; overflow: visible; }
.pipeline .node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.pipeline .node .bubble-ico { width: 92px; height: 92px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 16px 40px -14px rgba(108,43,255,.45); position: relative; }
.pipeline .node .bubble-ico::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed rgba(108,43,255,.35); animation: spin 14s linear infinite; }
.pipeline .node .bubble-ico svg { width: 38px; height: 38px; }
.pipeline .node strong { font-family: var(--display); font-size: 1.15rem; }
.pipeline .node span { color: var(--muted); font-size: .92rem; max-width: 22ch; }
.dash-line { stroke-dasharray: 8 10; animation: dashMove 1s linear infinite; }
@keyframes dashMove { to { stroke-dashoffset: -18; } }

/* ===== Big tiles ===== */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { border-radius: var(--radius); padding: 34px 28px; color: var(--white); min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.tile::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.14); right: -50px; bottom: -60px; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.tile:hover::after { transform: scale(1.6); }
.tile b { font-family: var(--display); font-size: clamp(2.6rem, 4.5vw, 3.8rem); line-height: 1; letter-spacing: -0.04em; position: relative; z-index: 1; }
.tile span { font-weight: 700; position: relative; z-index: 1; }
.tile:nth-child(1) { background: var(--violet); }
.tile:nth-child(2) { background: var(--pink); }
.tile:nth-child(3) { background: var(--cyan); }
.tile:nth-child(4) { background: var(--ink); }

/* ===== Steps preview ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 36px 30px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--grad); color: var(--white); font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin-bottom: 24px; }
.steps h3 { font-size: 1.4rem; margin-bottom: 8px; }
.steps .when { display: inline-block; font-weight: 800; font-size: .88rem; color: var(--pink); margin-bottom: 12px; }
.steps p { color: var(--muted); }

/* ===== CTA band ===== */
.cta-band { padding: 0 0 120px; }
.cta-box { position: relative; overflow: hidden; border-radius: 40px; padding: 96px 48px; text-align: center; color: var(--white); background: var(--grad); background-size: 200% 200%; animation: gradMove 10s ease infinite; }
@keyframes gradMove { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-box .h-lg { margin: 0 auto 20px; max-width: 16ch; }
.cta-box p { margin: 0 auto 36px; max-width: 48ch; font-size: 1.2rem; opacity: .95; }
.cta-box .ring-deco { position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); animation: spin 30s linear infinite; }
.cta-box .r1 { width: 520px; height: 520px; top: -260px; left: -160px; border-style: dashed; }
.cta-box .r2 { width: 380px; height: 380px; bottom: -200px; right: -100px; }
.cta-box > *:not(.ring-deco) { position: relative; z-index: 1; }

/* ===== Page hero (inner pages) ===== */
.page-hero { padding: 80px 0 100px; overflow: hidden; }
.page-hero > .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 26px; }
.page-hero .h-xl { max-width: 14ch; }
.breadcrumb { font-weight: 700; color: var(--muted); font-size: .95rem; }
.breadcrumb a { text-decoration: none; color: var(--violet); }

/* ===== Service detail rows ===== */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 72px 0; }
.svc-row + .svc-row { border-top: 1.5px solid var(--line); }
.svc-row.flip .svc-visual { order: -1; }
.svc-copy { display: flex; flex-direction: column; gap: 20px; }
.svc-copy ul { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 12px; }
.svc-copy li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.svc-copy li::before { content: ""; flex: none; margin-top: 6px; width: 16px; height: 16px; border-radius: 6px; background: var(--grad); }
.svc-visual { position: relative; border-radius: 32px; min-height: 380px; display: grid; place-items: center; overflow: hidden; padding: 32px; }
.v-violet { background: linear-gradient(140deg, #EFE8FF, #FFE6F0); }
.v-pink { background: linear-gradient(140deg, #FFE6F0, #FFF3D6); }
.v-cyan { background: linear-gradient(140deg, #DDF5FF, #EFE8FF); }
.v-yellow { background: linear-gradient(140deg, #FFF3D6, #DDF5FF); }

/* Visual: rings (calls) */
.rings { position: relative; width: 240px; height: 240px; display: grid; place-items: center; }
.rings span { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--violet); opacity: 0; animation: ripple 3s ease-out infinite; }
.rings span:nth-child(2) { animation-delay: 1s; border-color: var(--pink); }
.rings span:nth-child(3) { animation-delay: 2s; border-color: var(--cyan); }
@keyframes ripple { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.2); opacity: 0; } }
.rings .core { position: relative; width: 110px; height: 110px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: var(--white); box-shadow: 0 20px 50px -10px rgba(255,46,126,.6); }
.rings .core svg { width: 46px; height: 46px; animation: wiggle 2s ease-in-out infinite; }

/* Visual: messages */
.msgs { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 12px; }
.msg { background: var(--white); border-radius: 18px; padding: 14px 16px; box-shadow: 0 14px 30px -14px rgba(14,16,48,.25); font-size: .92rem; display: flex; gap: 12px; align-items: center; animation: msgLoop 9s infinite; opacity: 0; }
.msg .ico { width: 36px; height: 36px; border-radius: 12px; flex: none; display: grid; place-items: center; color: var(--white); }
.msg .ico svg { width: 18px; height: 18px; }
.msg small { display: block; color: var(--muted); font-size: .8rem; }
.msg:nth-child(1) { animation-delay: 0s; } .msg:nth-child(1) .ico { background: var(--pink); }
.msg:nth-child(2) { animation-delay: 1.2s; } .msg:nth-child(2) .ico { background: var(--violet); }
.msg:nth-child(3) { animation-delay: 2.4s; } .msg:nth-child(3) .ico { background: var(--mint); }
@keyframes msgLoop { 0% { opacity: 0; transform: translateY(20px) scale(.95); } 8%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-10px); } }

/* Visual: dashboard */
.dash { width: 100%; max-width: 380px; background: var(--white); border-radius: 22px; padding: 22px; box-shadow: 0 24px 50px -20px rgba(14,16,48,.3); }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dash-top b { font-family: var(--display); }
.dash-top i { display: flex; gap: 5px; } .dash-top i::before, .dash-top i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; }
.bars span { flex: 1; border-radius: 8px 8px 4px 4px; background: var(--grad-cool); height: var(--h); animation: grow 2.6s cubic-bezier(.34,1.56,.64,1) infinite alternate; transform-origin: bottom; }
.bars span:nth-child(even) { background: var(--grad); }
.bars span:nth-child(2) { animation-delay: .2s; } .bars span:nth-child(3) { animation-delay: .4s; } .bars span:nth-child(4) { animation-delay: .6s; } .bars span:nth-child(5) { animation-delay: .8s; } .bars span:nth-child(6) { animation-delay: 1s; }
@keyframes grow { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.dash-rows { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.dash-rows div { height: 10px; border-radius: 6px; background: var(--tint); position: relative; overflow: hidden; }
.dash-rows div::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(108,43,255,.25), transparent); animation: shimmer 1.8s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* Visual: integration hub */
.hub { position: relative; width: 300px; height: 300px; }
.hub .center { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 28px; background: var(--white); display: grid; place-items: center; box-shadow: 0 20px 50px -14px rgba(108,43,255,.5); z-index: 2; }
.hub .center svg { width: 60px; height: 60px; }
.hub .orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(108,43,255,.35); animation: spin 20s linear infinite; }
.hub .sat { position: absolute; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: var(--white); box-shadow: 0 12px 26px -10px rgba(14,16,48,.35); }
.hub .sat svg { width: 26px; height: 26px; }
.hub .orbit-ring .sat { animation: spin 20s linear infinite reverse; }
.hub .s1 { top: -29px; left: calc(50% - 29px); background: var(--pink); }
.hub .s2 { bottom: -29px; left: calc(50% - 29px); background: var(--cyan); }
.hub .s3 { left: -29px; top: calc(50% - 29px); background: var(--yellow); }
.hub .s4 { right: -29px; top: calc(50% - 29px); background: var(--violet); }

/* ===== Pricing ===== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan { border-radius: 28px; padding: 44px 38px; border: 1.5px solid var(--line); background: var(--white); position: relative; }
.plan.hot { background: var(--ink); color: var(--white); border-color: var(--ink); }
.plan .tag { position: absolute; top: -14px; right: 28px; background: var(--grad); color: var(--white); font-weight: 800; font-size: .82rem; padding: 6px 14px; border-radius: 999px; }
.plan h3 { font-size: 1.5rem; }
.plan .amt { font-family: var(--display); font-weight: 800; font-size: 2.6rem; margin: 18px 0 4px; letter-spacing: -0.03em; }
.plan .per { color: var(--muted); font-weight: 600; }
.plan.hot .per, .plan.hot li { color: #C9CCE0; }
.plan ul { padding: 0; margin: 26px 0 32px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 10px; color: var(--muted); }
.plan li svg { flex: none; width: 20px; height: 20px; color: var(--mint); margin-top: 3px; }

/* ===== FAQ ===== */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq details { border-radius: 20px; background: var(--tint); transition: background .3s; }
.faq details[open] { background: var(--white); box-shadow: 0 0 0 1.5px var(--line), 0 20px 40px -24px rgba(108,43,255,.35); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 64px 24px 28px; font-weight: 800; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--grad) center/14px 2px no-repeat;
  background-image: linear-gradient(#fff,#fff), linear-gradient(#fff,#fff), var(--grad); background-size: 12px 2px, 2px 12px, 100% 100%; background-position: center, center, center; transition: transform .35s; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 28px 26px; color: var(--muted); max-width: 66ch; }

/* ===== Process timeline ===== */
.timeline { position: relative; max-width: 940px; margin: 0 auto; }
.timeline .rail { position: absolute; left: 39px; top: 0; bottom: 0; width: 4px; border-radius: 4px; background: var(--line); }
.timeline .rail i { position: absolute; inset: 0 0 auto; height: 0; border-radius: 4px; background: var(--grad); }
.t-item { position: relative; display: grid; grid-template-columns: 82px 1fr; gap: 32px; padding-bottom: 72px; }
.t-item:last-child { padding-bottom: 0; }
.t-num { width: 82px; height: 82px; border-radius: 26px; background: var(--white); border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.8rem; position: relative; z-index: 1; transition: all .5s; }
.t-item.in .t-num { background: var(--grad); color: var(--white); border-color: transparent; box-shadow: 0 16px 40px -12px rgba(255,46,126,.6); transform: rotate(-6deg); }
.t-body { padding-top: 10px; display: flex; flex-direction: column; gap: 12px; }
.t-body .when { font-weight: 800; color: var(--pink); }
.t-body h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.t-body p { color: var(--muted); max-width: 60ch; }
.t-body ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.t-body li { background: var(--tint); padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; }

/* ===== Work page ===== */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.work-card { border-radius: 30px; overflow: hidden; border: 1.5px solid var(--line); background: var(--white); display: flex; flex-direction: column; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.work-card:hover { box-shadow: 0 34px 70px -30px rgba(108,43,255,.45); }
.work-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; }
.work-visual { min-height: 320px; display: grid; place-items: center; padding: 32px; position: relative; overflow: hidden; }
.work-body { padding: 34px; display: flex; flex-direction: column; gap: 14px; }
.work-body .label { align-self: flex-start; font-weight: 800; font-size: .85rem; color: var(--violet); background: var(--tint); padding: 6px 14px; border-radius: 999px; }
.work-body h3 { font-size: 1.7rem; }
.work-body p { color: var(--muted); }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.stack span { border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: .85rem; font-weight: 700; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.map-card { position: relative; border-radius: 32px; background: var(--ink); color: var(--white); padding: 34px; overflow: hidden; }
.map-card svg { width: 100%; height: auto; display: block; }
.map-card .arc { stroke-dasharray: 600; stroke-dashoffset: 600; }
.map-card.in .arc { animation: drawArc 2.4s .3s ease forwards; }
@keyframes drawArc { to { stroke-dashoffset: 0; } }
.map-card .pin { animation: pinPulse 2s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pinPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.4); } }
.map-legend { display: flex; justify-content: space-between; margin-top: 18px; font-weight: 700; font-size: .95rem; gap: 12px; flex-wrap: wrap; }
.map-legend span { display: flex; align-items: center; gap: 8px; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; }
.hours { margin-top: 26px; }
.hours .row { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: center; margin-top: 10px; font-size: .85rem; font-weight: 700; }
.hours .bar { position: relative; height: 16px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; }
.hours .bar i { position: absolute; top: 0; bottom: 0; border-radius: 8px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { border-radius: var(--radius); padding: 34px 28px; background: var(--tint); display: flex; flex-direction: column; gap: 12px; transition: background .35s, color .35s, transform .35s; }
.value:hover { background: var(--ink); color: var(--white); transform: translateY(-6px); }
.value:hover p { color: #C9CCE0; }
.value .icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: var(--white); background: var(--grad); margin-bottom: 8px; }
.value .icon svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.35rem; }
.value p { color: var(--muted); transition: color .35s; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.info-item { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 20px; background: var(--tint); }
.info-item .ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; color: var(--white); flex: none; }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item strong { display: block; }
.info-item span, .info-item a { color: var(--muted); }
.form-card { position: relative; border-radius: 32px; padding: 44px; background: var(--white); box-shadow: 0 40px 90px -40px rgba(108,43,255,.45); border: 1.5px solid var(--line); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--tint); border: 2px solid transparent; border-radius: 14px; padding: 13px 16px; min-height: 52px; width: 100%; transition: border-color .25s, background .25s, box-shadow .25s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--violet); box-shadow: 0 0 0 5px rgba(108,43,255,.12); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices label { cursor: pointer; padding: 11px 18px; border-radius: 999px; border: 2px solid var(--line); font-weight: 700; font-size: .95rem; transition: all .25s; min-height: 44px; display: inline-flex; align-items: center; }
.choices input:checked + label { background: var(--grad); color: var(--white); border-color: transparent; }
.choices input:focus-visible + label { outline: 3px solid var(--violet); outline-offset: 2px; }
.form-status { grid-column: 1 / -1; font-weight: 700; color: var(--muted); min-height: 1.6em; }

/* ===== Footer ===== */
.site-footer { position: relative; background: var(--ink); color: #C9CCE0; padding: 90px 0 40px; overflow: hidden; }
.site-footer .logo { color: var(--white); }
.foot-big { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 8vw, 7rem); line-height: .95; letter-spacing: -0.05em; color: var(--white); margin: 0 0 64px; max-width: 12ch; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-family: var(--body); font-size: .95rem; color: var(--white); margin-bottom: 16px; }
.foot-grid a { display: block; text-decoration: none; padding: 5px 0; color: #C9CCE0; transition: color .2s, transform .2s; }
.foot-grid a:hover { color: var(--white); transform: translateX(4px); }
.foot-grid p { max-width: 32ch; margin-top: 16px; }
.foot-bottom { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; }
.site-footer .blob { opacity: .25; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .cards, .tiles { grid-template-columns: repeat(2, 1fr); }
  .float-card.fc2 { right: -2%; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  section { padding: 84px 0; }
  .hero { min-height: 0; padding: 24px 0 90px; }
  .hero-grid, .compare, .svc-row, .about-grid, .contact-grid, .work-card.wide, .work-grid, .pricing { grid-template-columns: 1fr; }
  .svc-row { gap: 40px; padding: 56px 0; }
  .svc-row.flip .svc-visual { order: 0; }
  .steps, .values { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .pipeline svg.track { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .phone { height: 580px; }
}
@media (max-width: 560px) {
  .cards, .tiles, .pipeline, .form { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .flow-card, .form-card { padding: 28px 22px; }
  .pipeline-wrap { padding: 44px 22px; }
  .cta-box { padding: 72px 24px; border-radius: 30px; }
  .foot-grid { grid-template-columns: 1fr; }
  .t-item { grid-template-columns: 60px 1fr; gap: 18px; }
  .t-num { width: 60px; height: 60px; border-radius: 18px; font-size: 1.3rem; }
  .timeline .rail { left: 28px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .split-line > span, .js .flow li { opacity: 1; transform: none; }
  .msg { opacity: 1; }
  .marquee-track { animation: none; }
}

/* =====================================================================
   INTERACTIVE ADD-ONS
   ===================================================================== */

/* ----- Custom cursor (desktop only) ----- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 300; border-radius: 50%; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--pink); }
.cursor-ring { width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 2px solid var(--violet); display: grid; place-items: center;
  transition: width .25s, height .25s, margin .25s, background .25s, border-color .25s; }
.cursor-ring span { font-size: .72rem; font-weight: 800; color: var(--white); opacity: 0; transition: opacity .2s; }
.cursor-ring.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(108,43,255,.12); border-color: var(--pink); }
.cursor-ring.label { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: var(--grad); border-color: transparent; }
.cursor-ring.label span { opacity: 1; }
.cursor-ring.down { transform: scale(.85); }
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor summary, body.has-cursor label, body.has-cursor input[type=range] { cursor: none; }

/* ----- 3D logo in hero ----- */
.q3d { position: absolute; top: -12%; bottom: -12%; left: -45%; right: -45%; width: 190%; height: 124%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s; }
.q3d.on { opacity: 1; }
.phone-stage .phone { z-index: 2; }

/* ----- Missed-call calculator ----- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 34px; overflow: hidden; box-shadow: 0 50px 100px -50px rgba(108,43,255,.55); border: 1.5px solid var(--line); }
.calc-in { background: var(--white); padding: 48px 44px; display: flex; flex-direction: column; gap: 30px; }
.calc-out { position: relative; background: var(--ink); color: var(--white); padding: 48px 44px; display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.calc-out::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,46,126,.45), transparent 65%); top: -140px; right: -140px; animation: float 14s ease-in-out infinite alternate; }
.calc-out > * { position: relative; z-index: 1; }
.slider-row { display: flex; flex-direction: column; gap: 12px; }
.slider-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.slider-top label { font-weight: 800; }
.slider-top output { font-family: var(--display); font-weight: 800; font-size: 1.5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 4ch; text-align: right; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--violet), var(--pink) calc(var(--p, 50%) * .7), var(--yellow) var(--p, 50%), var(--line) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 10px; border-radius: 10px; background: var(--line); }
input[type=range]::-moz-range-progress { height: 10px; border-radius: 10px; background: var(--grad); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: var(--white); border: 4px solid var(--pink); box-shadow: 0 6px 18px rgba(255,46,126,.45); transition: transform .2s; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 4px solid var(--pink); box-shadow: 0 6px 18px rgba(255,46,126,.45); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.25); }
input[type=range]:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; border-radius: 10px; }
.calc-out .kicker { font-weight: 700; color: #C9CCE0; }
.big-loss { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.04em; background: linear-gradient(120deg, #FF7AAE, #FFB21A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.loss-sub { color: #C9CCE0; }
.loss-sub b { color: var(--white); }
.loss-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.loss-grid div { background: rgba(255,255,255,.07); border-radius: 18px; padding: 18px; }
.loss-grid b { display: block; font-family: var(--display); font-size: 1.8rem; }
.loss-grid span { font-size: .88rem; color: #C9CCE0; }
.calc-bar { height: 16px; border-radius: 10px; background: rgba(255,255,255,.1); overflow: hidden; display: flex; }
.calc-bar i { display: block; height: 100%; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.calc-bar .kept { background: var(--mint); }
.calc-bar .lost { background: linear-gradient(90deg, var(--pink), var(--yellow)); }
.calc-legend { display: flex; gap: 18px; font-size: .85rem; font-weight: 700; color: #C9CCE0; flex-wrap: wrap; }
.calc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.calc-note { font-size: .82rem; color: #9DA2C0; }
.calc-out .btn { align-self: flex-start; }
.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.06); } }

/* ----- Interactive call demo ----- */
.demo { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center; }
.scenarios { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.scenario { text-align: left; font: inherit; color: var(--ink); background: var(--white); border: 2px solid var(--line); border-radius: 22px; padding: 22px; cursor: pointer;
  display: flex; flex-direction: column; gap: 8px; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; min-height: 44px; }
.scenario:hover { transform: translateY(-4px); border-color: var(--violet); box-shadow: 0 20px 40px -20px rgba(108,43,255,.45); }
.scenario[aria-pressed="true"] { border-color: transparent; background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad) border-box; box-shadow: 0 20px 40px -20px rgba(255,46,126,.5); }
.scenario .s-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--white); }
.scenario .s-ico svg { width: 22px; height: 22px; }
.scenario strong { font-family: var(--display); font-size: 1.15rem; }
.scenario span.s-sub { color: var(--muted); font-size: .9rem; }
.demo-phone { position: relative; width: 100%; max-width: 360px; height: 680px; margin: 0 auto; border-radius: 50px; background: var(--ink); padding: 12px; box-shadow: 0 50px 100px -30px rgba(108,43,255,.5); }
.demo-phone .phone-screen { border-radius: 40px; }
.demo-timer { font-variant-numeric: tabular-nums; }
.demo-phone .chat { overflow-y: auto; scroll-behavior: smooth; }
.replies { padding: 12px; border-top: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 8px; min-height: 120px; justify-content: center; background: var(--white); }
.replies .hint { text-align: center; font-size: .85rem; color: var(--muted); font-weight: 600; }
.reply { font: inherit; font-size: .88rem; font-weight: 700; text-align: left; padding: 11px 14px; border-radius: 14px; border: 0; cursor: pointer; min-height: 44px;
  background: var(--ink); color: var(--white); animation: bubbleIn .4s cubic-bezier(.34,1.56,.64,1) both; transition: transform .2s; }
.reply:hover { transform: translateX(4px); }
.reply.alt { background: var(--tint); color: var(--violet); }
.reply.again { background: var(--grad); text-align: center; }
.result-card { margin: 4px 0; padding: 16px; border-radius: 18px; color: var(--white); background: var(--mint); animation: bubbleIn .5s cubic-bezier(.34,1.56,.64,1) both; }
.result-card.transfer { background: var(--violet); }
.result-card.emergency { background: linear-gradient(120deg, var(--pink), var(--yellow)); }
.result-card strong { display: block; font-family: var(--display); font-size: 1.1rem; }
.result-card span { font-size: .85rem; opacity: .95; }

/* ----- Scroll-driven process ----- */
.scrolly { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.sticky-phone { position: sticky; top: calc(var(--header-h) + 40px); height: calc(100vh - var(--header-h) - 80px); max-height: 720px; display: flex; align-items: center; justify-content: center; }
.sticky-phone .phone { height: min(620px, 100%); width: 310px; }
.screens { position: relative; flex: 1; }
.screen { position: absolute; inset: 0; padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .55s, transform .55s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.screen.active { opacity: 1; transform: none; }
.screen h4 { font-family: var(--display); font-size: 1.15rem; }
.screen .tag-sm { align-self: flex-start; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--violet); }
.check { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; background: var(--tint); font-size: .85rem; font-weight: 700; }
.check i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; transform: scale(0); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.check i::after { content: ""; width: 9px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px,-1px); }
.screen.active .check i { transform: scale(1); }
.screen.active .check:nth-child(3) i { transition-delay: .2s; } .screen.active .check:nth-child(4) i { transition-delay: .4s; } .screen.active .check:nth-child(5) i { transition-delay: .6s; } .screen.active .check:nth-child(6) i { transition-delay: .8s; }
.flow-node { align-self: center; padding: 10px 16px; border-radius: 14px; font-size: .82rem; font-weight: 800; color: var(--white); text-align: center; }
.flow-arrow { align-self: center; width: 2px; height: 16px; background: var(--line); position: relative; }
.flow-arrow::after { content: ""; position: absolute; bottom: -2px; left: -4px; border: 5px solid transparent; border-top-color: var(--line); }
.flow-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.flow-split .flow-node { align-self: stretch; }
.test-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--tint); font-size: .82rem; font-weight: 700; }
.pill { font-size: .72rem; padding: 3px 9px; border-radius: 999px; color: var(--white); background: var(--mint); }
.pill.run { background: var(--yellow); color: var(--ink); animation: blink 1s infinite; }
.test-progress { height: 10px; border-radius: 6px; background: var(--tint); overflow: hidden; }
.test-progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width 2.4s ease .3s; }
.screen.active .test-progress i { width: 86%; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat-row div { background: var(--tint); border-radius: 14px; padding: 12px; }
.stat-row b { display: block; font-family: var(--display); font-size: 1.4rem; }
.stat-row span { font-size: .75rem; color: var(--muted); font-weight: 700; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; padding: 10px; border-radius: 14px; background: var(--tint); }
.mini-bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--grad); height: 10%; transition: height .8s cubic-bezier(.34,1.56,.64,1); }
.screen.active .mini-bars span { height: var(--h); }
.screen .demo-label { font-size: .72rem; color: var(--muted); text-align: center; }
.steps-scroll { display: flex; flex-direction: column; }
.sstep { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; opacity: .3; transition: opacity .5s; }
.sstep.active { opacity: 1; }
.sstep .num { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.6rem; background: var(--tint); color: var(--violet); transition: all .5s; }
.sstep.active .num { background: var(--grad); color: var(--white); transform: rotate(-6deg); box-shadow: 0 16px 40px -12px rgba(255,46,126,.6); }
.sstep .when { font-weight: 800; color: var(--pink); }
.sstep h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.sstep p { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
.sstep ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.sstep li { background: var(--tint); padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.mobile-screen { display: none; }

/* ----- Confetti ----- */
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 250; }

@media (max-width: 900px) {
  .calc, .demo, .scrolly { grid-template-columns: 1fr; }
  .calc-in, .calc-out { padding: 36px 26px; }
  .sticky-phone { display: none; }
  .sstep { min-height: 0; opacity: 1; padding: 36px 0; border-top: 1.5px solid var(--line); }
  .mobile-screen { display: block; position: relative; height: 430px; border-radius: 34px; background: var(--ink); padding: 10px; max-width: 300px; margin-top: 8px; }
  .mobile-screen .screen-wrap { position: relative; height: 100%; border-radius: 26px; background: var(--white); overflow: hidden; }
  .mobile-screen .screen { opacity: 1; transform: none; }
  .demo-phone { height: 620px; }
}
@media (max-width: 560px) {
  .scenarios { grid-template-columns: 1fr; }
  .loss-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .screen.active .check i, .mobile-screen .check i { transform: scale(1); }
  .mini-bars span { height: var(--h); }
}

/* ----- Human support service ----- */
.card-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px; background: linear-gradient(120deg, #F6F4FF, #FFF1F6); }
.card-wide .icon { background: var(--grad) !important; margin: 0; flex: none; }
.card-wide .wide-copy { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card-wide .wide-copy p { max-width: 70ch; }
.card-wide .more { margin-top: 0; white-space: nowrap; }
.new-tag { align-self: flex-start; font-size: .75rem; font-weight: 800; color: var(--white); background: var(--pink); padding: 3px 10px; border-radius: 999px; }
.handoff { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: stretch; }
.ho-card { display: flex; gap: 12px; align-items: center; background: var(--white); border-radius: 18px; padding: 14px 16px; box-shadow: 0 16px 34px -16px rgba(14,16,48,.3); font-size: .92rem; }
.ho-card small { display: block; color: var(--muted); font-size: .82rem; }
.ho-ico { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; color: var(--white); }
.ho-ico svg { width: 20px; height: 20px; }
.ho-ai .ho-ico { background: var(--violet); }
.ho-human .ho-ico { background: var(--pink); }
.ho-human { animation: hoPulse 3.2s ease-in-out infinite; }
@keyframes hoPulse { 0%, 45% { box-shadow: 0 16px 34px -16px rgba(14,16,48,.3); } 60% { box-shadow: 0 0 0 6px rgba(255,46,126,.25), 0 16px 34px -16px rgba(14,16,48,.3); } 100% { box-shadow: 0 16px 34px -16px rgba(14,16,48,.3); } }
.ho-line { position: relative; height: 54px; width: 4px; margin: 0 auto; border-radius: 4px; background: rgba(108,43,255,.18); overflow: hidden; }
.ho-line i { position: absolute; left: 0; width: 100%; height: 40%; border-radius: 4px; background: var(--grad); animation: hoFlow 3.2s ease-in-out infinite; }
@keyframes hoFlow { 0% { top: -40%; } 50%, 100% { top: 100%; } }
.team-row { margin-top: 22px; display: flex; align-items: center; gap: 10px; justify-content: center; }
.agent { position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--violet); display: grid; place-items: center; box-shadow: 0 10px 22px -12px rgba(14,16,48,.35); margin-left: -14px; border: 3px solid #F1EBFF; }
.agent:first-child { margin-left: 0; }
.agent svg { width: 22px; height: 22px; }
.agent i { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; background: var(--mint); border: 2px solid var(--white); animation: pulse 1.8s infinite; }
.team-label { font-weight: 800; font-size: .9rem; margin-left: 4px; }
@media (max-width: 700px) {
  .card-wide { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   MOBILE FIXES
   ===================================================================== */
/* Clip sideways overflow without turning body into a scroll container
   (keeps the sticky header working). This stops mobile Chrome from
   widening the page and zooming everything out. */
main, .site-footer, .hero, section { overflow-x: hidden; overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

@media (max-width: 900px) {
  /* 3D logo is desktop-only; its 190%-wide canvas was pushing the page wider */
  .q3d { display: none !important; }

  /* Slide-in-from-the-side reveals push content off-screen; use a gentle rise instead */
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(30px); }
  .js [data-reveal] { transform: translateY(24px); transition-duration: .6s; }
  .js [data-reveal="zoom"] { transform: scale(.96); }
  .js [data-reveal].in { transform: none; }

  /* Lighter background effects for phone GPUs */
  .blob { filter: blur(40px); animation: none; }
  .blob.b1 { width: 320px; height: 320px; right: -120px; }
  .blob.b2 { width: 280px; height: 280px; }
  .blob.b3 { width: 240px; height: 240px; left: -120px; }
  .blob.b4 { width: 200px; height: 200px; left: 30%; }
  .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.96); }
  .marquee, .marquee.alt { transform: none; margin-top: 0; padding: 22px 0; }

  /* Hero phone fits the screen */
  .phone-stage { margin-top: 12px; }
  .phone { width: min(320px, 100%); height: 560px; }
  .demo-phone { max-width: min(360px, 100%); height: 600px; }
}

@media (max-width: 560px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 20px; }
  .section-head { margin-bottom: 40px; gap: 16px; }
  .h-xl { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .h-lg { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-actions .btn { width: 100%; }
  .rotator { flex-wrap: wrap; }
  .calc { border-radius: 26px; }
  .calc-in, .calc-out { padding: 28px 20px; }
  .calc-out .btn { align-self: stretch; }
  .tile { min-height: 160px; padding: 26px 22px; }
  .mobile-menu a { font-size: 2rem; }
  .phone { height: 520px; }
  .demo-phone { height: 560px; border-radius: 40px; padding: 10px; }
  .demo-phone .phone-screen { border-radius: 32px; }
}


/* =====================================================================
   FIXES: contrast, pause control, new page types
   ===================================================================== */
/* Ink text and icons on light fills (cyan, yellow) for 4.5:1 contrast */
.tile:nth-child(3) { color: var(--ink); }
.card:nth-child(3) .icon, .card:nth-child(4) .icon { color: var(--ink); }
.float-card.fc3 .ico, .scenario .s-ico[style*="--yellow"], .scenario .s-ico[style*="--cyan"] { color: var(--ink); }
.cta-box, .marquee.alt { background: var(--grad); }

/* Global pause */
.pause-toggle { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--line); background: rgba(255,255,255,.94); color: var(--ink); font: 700 .85rem var(--body); box-shadow: 0 8px 24px -12px rgba(14,16,48,.35); cursor: pointer; }
.pause-toggle i { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.pause-toggle[aria-pressed="true"] i { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.pause-toggle:hover { border-color: var(--violet); }
body.motion-paused *, body.motion-paused *::before, body.motion-paused *::after { animation-play-state: paused !important; }

/* Pricing notes and forms */
.plan-note { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.plan.hot .plan-note { color: #C9CCE0; }
.form-note { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }
.form-note a, .x-prose a, .legal a { color: var(--violet); text-decoration: underline; text-underline-offset: 2px; }
.form-status { grid-column: 1 / -1; font-weight: 700; color: var(--ink); min-height: 1.6em; }
.form-status p { margin: 0 0 10px; }
.form-fallback { display: flex; flex-wrap: wrap; gap: 10px; }
.demo-line { margin-top: 18px; font-weight: 700; color: var(--muted); }
.demo-line a { color: var(--violet); text-decoration: underline; text-underline-offset: 2px; }

/* Contact methods */
.info-item a { color: var(--ink); font-weight: 700; }

/* Company details */
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.company-grid div { border-top: 1.5px solid var(--line); padding-top: 14px; }
.company-grid span { display: block; font-size: .8rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.company-grid b { font-weight: 700; }

/* Trade landing pages */
.trade-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 56px; align-items: start; }
.x-prose { max-width: 68ch; }
.x-prose h2 { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 44px 0 12px; }
.x-prose h2:first-child { margin-top: 0; }
.x-prose p, .x-prose li { color: #3B4060; font-size: 1.06rem; }
.x-prose ul { padding-left: 22px; }
.x-prose li { margin-bottom: 8px; }
.calltypes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 6px; padding: 0; list-style: none; }
.calltypes li { margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--tint); font-weight: 700; color: var(--ink); font-size: .98rem; }
.trade-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 24px; border: 1.5px solid var(--line); background: var(--white); }
.trade-aside h2 { font-family: var(--display); font-size: 1.5rem; margin: 0; }
.trade-aside p { margin: 0; color: var(--muted); }
.trade-aside .btn { align-self: flex-start; }
.trade-links { display: flex; flex-wrap: wrap; gap: 10px; }
.trade-links a { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--ink); }
.trade-links a:hover { border-color: var(--violet); color: var(--violet); }

/* Legal pages and 404 */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--display); font-size: 1.6rem; margin: 36px 0 10px; }
.legal p, .legal li { color: #3B4060; }
.legal ul { padding-left: 22px; }
.legal-note { border: 1.5px dashed var(--pink); border-radius: 16px; padding: 16px 18px; margin-bottom: 26px; color: #6B1035; background: #FFF3F7; }
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 22px; }

@media (max-width: 900px) {
  .trade-grid, .company-grid { grid-template-columns: 1fr; }
  .trade-aside { position: static; }
  .calltypes { grid-template-columns: 1fr; }
  .pause-toggle { padding: 0 12px; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) { .pause-toggle { display: none; } }
.foot-grid .foot-h { font-family: var(--body); font-size: .95rem; color: var(--white); margin: 0 0 16px; }
.foot-bottom a { color: #C9CCE0; text-decoration: underline; text-underline-offset: 2px; }
.foot-bottom a:hover { color: var(--white); }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.plan.hot li svg { color: #5EE3A8; }

/* ===== Immersive layer: tuned ===== */
.wipe.in { animation-duration: .3s; }
.wipe.out { animation-duration: .45s; animation-delay: 0s; }
.loader .logo-mark .ring { animation-duration: .7s; }
.loader .logo-mark .tail { animation-delay: .65s; }
.loader .logo-mark .spark { animation-delay: .8s; }
.loader { cursor: pointer; }
body.has-cursor input:not([type=range]):not([type=radio]), body.has-cursor textarea, body.has-cursor select { cursor: auto; }
.cursor-dot, .cursor-ring, .cursor-glow { transition: opacity .2s; }
.btn { will-change: transform; }
@media (hover: none) { .cursor-dot, .cursor-ring, .cursor-glow { display: none; } }

/* ---------- Guides ---------- */
.x-prose h3 { font-family: var(--display); font-size: 1.3rem; margin: 28px 0 6px; color: var(--ink); }
.x-prose h2 + h3 { margin-top: 12px; }
.guide-meta { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.guide-links { display: flex; flex-direction: column; gap: 10px; }
.guide-links a { color: var(--ink); font-weight: 600; line-height: 1.35; text-decoration: none; padding-left: 14px; border-left: 3px solid var(--line); }
.guide-links a:hover, .guide-links a:focus-visible { border-left-color: var(--violet); color: var(--violet); }
.guide-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.guide-item { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 24px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.guide-item:hover, .guide-item:focus-visible { border-color: var(--violet); }
.guide-item h2 { font-family: var(--display); font-size: 1.5rem; line-height: 1.15; margin: 0; }
.guide-item p { margin: 0; color: var(--muted); }
.guide-item .more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--violet); }

/* ---------- Social links ---------- */
.foot-social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.foot-grid .foot-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: #C9CCE0; text-decoration: none; transition: color .2s, border-color .2s, background-color .2s, transform .2s; }
.foot-grid .foot-social a:hover, .foot-grid .foot-social a:focus-visible { color: var(--white); border-color: var(--white); background-color: rgba(255,255,255,.08); transform: translateY(-2px); }
.si { display: inline-block; width: 22px; height: 22px; background-color: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.si-ig { -webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAABoCAYAAAAdHLWhAAAGsUlEQVR42u2dwUtcRxzHP7sKWwLSbKiIpZccuhs8ppe13kJ7SfWsx20PgUBbegjYQ1JoVkiEEgIeCuYf0HO0l2Y91SSXJreymoMERBFDDQRCBIM9vFnqQbO/mTdvZva9+cK76OzMvN/3zczv95vfzK+EGzSAS8AIMAxU6E8cAvvAHvAY2OzT96ABtIHjgjxt9c5BowYsFoiUs55FJYugRstxfE59vI6qasGmsTTTX9U1Oa0oeO2n5YqcOGrSjSYtlDSVgA0ibKAuVdHLGopAJMceNqQKRElIzhMLnVoDngMvgTd9KtghNZOMAVcs1DcOPE1r26SZc1dDswkysP1WU8oolXxMGnwNNAs4bTWBI0OZOdPWWkSYmCDtrBvZ8WGMBYyqkkkmH3fVYJ2JOB2661PF9tQWybFLUs+prhHJ8e59adjQ2naizLWhsyaltnmKrhDU1KjoAH8BP1he20+1jaSbbUVWpSvKzjtLNpOWtONF0+ntdcFVZ4mMepF0ZDLNSZWDZoEJ6ljyDDRNlIU2GbokcjK16dgzvdYkbZU7qtUfxqRl431Vd0Bk7nXtczQ1CeoItEARQYPII09CDdKrqecicE797S2wpfpso98dzfKvLMmyJv062oGQUVHTTQd9j3FH/dY0qtX2Ho9k3W+WScJxe+G5Z2Iaat5+Bzwk2dPXRV399p2qSzdm7Q9huffCEfKPoMxImSRWuhdeel6cnwBXLdZ7VdUpsVu6+EZI0rCwvm1JXWXhkHcdQ1AF/lZffNZ4qNqqCklaPuN/u8AF4EDY7lvJlF4mPLSAf4HLDtu8rNqUuLFmSIJtpoAfgW8VM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