/* =========================================================
   HeScales — styles
   ========================================================= */
:root {
  --bg: #05070d;
  --bg-2: #0a0e18;
  --card: rgba(14, 20, 34, 0.72);
  --card-solid: #0d1322;
  --line: rgba(120, 160, 255, 0.12);
  --line-2: rgba(120, 160, 255, 0.22);
  --ink: #eef3ff;
  --mute: #8b95ad;
  --dim: #5a6480;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #fb7185;
  --grad: linear-gradient(110deg, #22d3ee 0%, #3b82f6 45%, #8b5cf6 100%);
  --display: "Space Grotesk", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --pad: clamp(16px, 5vw, 72px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--cyan); color: var(--bg); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- background layers ---------- */
#net { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.glow-cursor {
  position: fixed; z-index: 1; pointer-events: none;
  width: 520px; height: 520px; border-radius: 50%;
  left: 0; top: 0; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59,130,246,.13), transparent 65%);
  transition: opacity .4s ease;
}
main, footer, .nav { position: relative; z-index: 2; }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 24px), 1180px); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(8, 12, 22, .55); border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background .3s ease, border-color .3s ease, top .3s ease;
}
.nav.scrolled { background: rgba(8, 12, 22, .85); border-color: var(--line-2); top: 8px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; display: block; box-shadow: 0 0 22px rgba(106,120,255,.5); transition: transform .4s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.wm { font-family: var(--sans); font-weight: 900; font-size: 1.32rem; letter-spacing: -.035em; line-height: 1; }
.wm-he { color: var(--ink); }
.wm-sc { background: linear-gradient(90deg, #5b63ee, #3a8fe0 55%, #12a8c6); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; gap: 30px; font-size: .92rem; color: var(--mute); white-space: nowrap; }
.nav-links a { position: relative; transition: color .2s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--cyan); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .96rem; white-space: nowrap;
  border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .3s ease;
  will-change: transform;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px -6px rgba(59,130,246,.65), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: var(--grad); filter: blur(14px); opacity: .55; transition: opacity .3s ease;
}
.btn-primary:hover::before { opacity: .95; }
.btn-ghost { background: rgba(255,255,255,.04); border: 1px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.ring-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: ping 1.6s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(52,211,153,0); } }

/* ---------- section head ---------- */
section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; color: var(--cyan); text-transform: uppercase; margin-bottom: 18px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--cyan); }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 5vw, 3.9rem); line-height: 1.04; letter-spacing: -.035em; max-width: 18ch; }
.lead { color: var(--mute); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 56ch; margin-top: 18px; }
.head { margin-bottom: clamp(44px, 6vw, 72px); }
.head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.head.center .h2 { max-width: 20ch; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 130px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(34,211,238,.07); border: 1px solid rgba(34,211,238,.25); font-size: .84rem; color: #bfeff8; margin-bottom: 26px;
}
.badge b { background: var(--cyan); color: var(--bg); font-size: .72rem; padding: 3px 8px; border-radius: 999px; letter-spacing: .04em; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 5.2vw, 4.7rem); line-height: 1; letter-spacing: -.045em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero-sub { color: #b4bdd3; font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 50ch; margin-top: 26px; opacity: 0; animation: fade .8s .45s ease forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; opacity: 0; animation: fade .8s .6s ease forwards; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; opacity: 0; animation: fade .8s .75s ease forwards; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--mute); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.pill svg { width: 14px; height: 14px; color: var(--cyan); }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* phone mockup */
.phone-stage { position: relative; display: grid; place-items: center; perspective: 1200px; opacity: 0; animation: fade 1s .3s ease forwards; }
.phone-halo { position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,.28), rgba(139,92,246,.12) 40%, transparent 68%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
.orbit { position: absolute; border: 1px dashed rgba(120,160,255,.16); border-radius: 50%; animation: spin 40s linear infinite; }
.orbit.o1 { width: 112%; aspect-ratio: 1; }
.orbit.o2 { width: 140%; aspect-ratio: 1; animation-duration: 70s; animation-direction: reverse; }
.orbit i { position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.orbit.o2 i { background: var(--violet); box-shadow: 0 0 14px var(--violet); }
@keyframes spin { to { transform: rotate(360deg); } }
.phone {
  position: relative; width: min(340px, 86vw); border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #1b2336, #0b0f19); border: 1px solid rgba(160,190,255,.18);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  transform-style: preserve-3d; transition: transform .5s var(--ease);
}
.screen { position: relative; border-radius: 34px; background: linear-gradient(180deg, #0b1120, #070a13); overflow: hidden; height: 600px; display: flex; flex-direction: column; }
.notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.call-head { padding: 52px 20px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.call-status { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: var(--green); text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; }
.call-status .ring-dot { width: 6px; height: 6px; }
.call-name { font-family: var(--display); font-weight: 600; font-size: 1.12rem; margin-top: 6px; }
.call-sub { color: var(--dim); font-size: .78rem; }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 34px; margin-top: 12px; }
.wave span { width: 3px; border-radius: 3px; background: var(--grad); height: 6px; animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 50% { height: 28px; } }
.chat { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 84%; padding: 9px 13px; border-radius: 16px; font-size: .8rem; line-height: 1.4; animation: pop .45s var(--ease) both; }
.msg.ai { align-self: flex-start; background: rgba(59,130,246,.14); border: 1px solid rgba(59,130,246,.3); border-bottom-left-radius: 5px; }
.msg.user { align-self: flex-end; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); border-bottom-right-radius: 5px; }
.msg.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.toast {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 4;
  display: flex; gap: 11px; align-items: center; padding: 11px 13px; border-radius: 16px;
  background: rgba(16, 32, 28, .92); border: 1px solid rgba(52,211,153,.35); backdrop-filter: blur(8px);
  transform: translateY(130%); transition: transform .5s var(--ease);
}
.toast.show { transform: none; }
.toast .ico { width: 30px; height: 30px; border-radius: 9px; background: rgba(52,211,153,.15); display: grid; place-items: center; color: var(--green); flex: none; }
.toast strong { display: block; font-size: .8rem; }
.toast small { color: var(--mute); font-size: .72rem; }

.float-card {
  position: absolute; z-index: 3; padding: 11px 14px; border-radius: 14px; font-size: .78rem;
  background: rgba(10, 15, 27, .88); border: 1px solid var(--line-2); backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); display: flex; align-items: center; gap: 10px;
  animation: float 6s ease-in-out infinite;
}
.float-card .ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.float-card b { display: block; font-size: .8rem; }
.float-card span { color: var(--mute); }
.fc-1 { top: 12%; left: -8%; }
.fc-1 .ico { background: rgba(251,191,36,.14); color: var(--amber); }
.fc-2 { bottom: 16%; right: -10%; animation-delay: -3s; }
.fc-2 .ico { background: rgba(139,92,246,.16); color: #c4b5fd; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- marquee ---------- */
.marquee { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: rgba(5,7,13,.6); -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: 1.15rem; color: #6f7a96; white-space: nowrap; transition: color .2s ease; }
.marquee-item:hover { color: var(--ink); }
.marquee-item svg { width: 18px; height: 18px; color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- problem / calculator ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.calc { position: relative; padding: clamp(24px, 3vw, 38px); border-radius: 26px; background: var(--card); border: 1px solid var(--line-2); backdrop-filter: blur(12px); overflow: hidden; }
.calc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(34,211,238,.5), transparent 40%, transparent 60%, rgba(139,92,246,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.calc-title { font-family: var(--mono); font-size: .76rem; color: var(--mute); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px; display: flex; justify-content: space-between; }
.field { margin-bottom: 26px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: .94rem; color: #c7cfe2; }
.field-top output { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--cyan), var(--violet)) 0 0 / var(--fill, 50%) 100% no-repeat, rgba(255,255,255,.08); outline: none; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: 0 0 0 6px rgba(59,130,246,.18); transition: transform .2s ease; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }
.calc-result { margin-top: 8px; padding: 22px; border-radius: 18px; background: linear-gradient(140deg, rgba(251,113,133,.1), rgba(251,191,36,.06)); border: 1px solid rgba(251,113,133,.25); }
.calc-result small { color: #f6b5c0; font-size: .84rem; }
.calc-result .money { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -.03em; line-height: 1.1; margin-top: 4px; }
.calc-result p { color: var(--mute); font-size: .82rem; margin-top: 6px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.stat { padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.stat b { font-family: var(--display); font-size: 1.9rem; display: block; line-height: 1; }
.stat span { color: var(--mute); font-size: .84rem; display: block; margin-top: 8px; }

/* ---------- feature cards (tilt + spotlight) ---------- */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; grid-column: span 2; padding: 28px; border-radius: 22px; min-height: 250px;
  background: var(--card); border: 1px solid var(--line); overflow: hidden;
  transform-style: preserve-3d; transition: transform .35s var(--ease), border-color .3s ease, box-shadow .3s ease;
  will-change: transform;
}
.card.wide { grid-column: span 3; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(59,130,246,.16), transparent 45%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(34,211,238,.8), transparent 50%); -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 .3s ease; pointer-events: none; }
.card:hover { box-shadow: 0 30px 60px -30px rgba(34,211,238,.35); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.22); color: var(--cyan); margin-bottom: 22px; transform: translateZ(30px); transition: transform .4s var(--ease); }
.card:hover .card-ico { transform: translateZ(40px) rotate(-6deg) scale(1.06); }
.card-ico svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--display); font-size: 1.28rem; letter-spacing: -.02em; margin-bottom: 8px; transform: translateZ(20px); }
.card p { color: var(--mute); font-size: .94rem; transform: translateZ(10px); }
.card .tag { position: absolute; top: 24px; right: 24px; font-family: var(--mono); font-size: .68rem; color: var(--dim); letter-spacing: .06em; }
.mini { margin-top: 20px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid var(--line); padding: 12px; font-size: .78rem; transform: translateZ(16px); }
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px dashed var(--line); color: #c7cfe2; }
.mini-row:last-child { border: 0; }
.mini-row em { font-style: normal; font-family: var(--mono); font-size: .7rem; padding: 2px 8px; border-radius: 999px; }
.ok { background: rgba(52,211,153,.12); color: var(--green); }
.hot { background: rgba(251,113,133,.14); color: var(--red); }
.lang { display: flex; gap: 8px; margin-top: 20px; transform: translateZ(16px); }
.lang span { padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line-2); font-size: .86rem; transition: background .3s ease, border-color .3s ease, color .3s ease; }
.card:hover .lang span:last-child { background: rgba(139,92,246,.15); border-color: rgba(139,92,246,.5); color: #ddd2ff; }
.mail-preview { margin-top: 20px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid var(--line); padding: 14px; font-size: .8rem; transform: translateZ(16px); }
.mail-preview .from { color: var(--mute); font-size: .72rem; }
.mail-preview .subj { font-weight: 600; margin: 4px 0; display: flex; align-items: center; gap: 8px; }
.mail-preview .subj i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }

/* ---------- flow (sticky steps) ---------- */
.flow { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.steps { position: relative; padding-left: 34px; }
.steps-line { position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.steps-line i { position: absolute; left: 0; top: 0; width: 100%; height: var(--p, 0%); background: var(--grad); border-radius: 2px; box-shadow: 0 0 12px rgba(34,211,238,.6); transition: height .2s linear; }
.step { position: relative; padding: 4px 0 70px; opacity: .35; transition: opacity .5s ease; }
.step:last-child { padding-bottom: 0; }
.step.active { opacity: 1; }
.step-dot { position: absolute; left: -34px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: border-color .4s ease, box-shadow .4s ease; }
.step.active .step-dot { border-color: var(--cyan); box-shadow: 0 0 0 5px rgba(34,211,238,.15), 0 0 18px rgba(34,211,238,.6); }
.step-num { font-family: var(--mono); font-size: .76rem; color: var(--cyan); letter-spacing: .08em; }
.step h3 { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.025em; margin: 6px 0 10px; }
.step p { color: var(--mute); max-width: 44ch; }
.sheet-wrap { position: sticky; top: 120px; }
.sheet { border-radius: 22px; background: var(--card-solid); border: 1px solid var(--line-2); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.sheet-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .84rem; }
.sheet-bar .dots { display: flex; gap: 6px; }
.sheet-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #29324a; }
.sheet-bar .file { display: flex; align-items: center; gap: 8px; margin-left: 8px; color: #c7cfe2; }
.sheet-bar .file svg { width: 16px; height: 16px; color: var(--green); }
.sheet-bar .live { margin-left: auto; font-family: var(--mono); font-size: .7rem; color: var(--green); display: flex; align-items: center; gap: 6px; }
.sheet-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.sheet-table th { text-align: left; font-weight: 500; color: var(--dim); font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.sheet-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); color: #c7cfe2; white-space: nowrap; }
.sheet-table tr.new td { animation: rowIn 1.4s var(--ease) both; }
@keyframes rowIn { 0% { background: rgba(34,211,238,.18); opacity: 0; transform: translateY(-8px); } 30% { opacity: 1; transform: none; } 100% { background: transparent; } }
.sheet-table .st { font-family: var(--mono); font-size: .68rem; padding: 3px 8px; border-radius: 999px; }
.sheet-foot { padding: 12px 18px; display: flex; justify-content: space-between; color: var(--dim); font-size: .76rem; font-family: var(--mono); }

/* ---------- demo call band ---------- */
.demo-band {
  position: relative; border-radius: 32px; padding: clamp(40px, 7vw, 90px) clamp(24px, 5vw, 72px); overflow: hidden;
  background: radial-gradient(ellipse at 20% 0%, rgba(34,211,238,.18), transparent 50%), radial-gradient(ellipse at 90% 100%, rgba(139,92,246,.22), transparent 55%), var(--card-solid);
  border: 1px solid var(--line-2); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.demo-band .h2 { max-width: 16ch; }
.demo-steps { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.demo-steps li { display: flex; gap: 14px; align-items: flex-start; color: #c7cfe2; }
.demo-steps li b { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-family: var(--mono); font-size: .78rem; background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.3); color: var(--cyan); }
.dial { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.dial-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(34,211,238,.35); animation: ripple 3s ease-out infinite; }
.dial-ring:nth-child(2) { animation-delay: 1s; }
.dial-ring:nth-child(3) { animation-delay: 2s; }
@keyframes ripple { from { transform: scale(.45); opacity: 1; } to { transform: scale(1.05); opacity: 0; } }
.dial-btn {
  position: relative; z-index: 2; width: 58%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--grad); box-shadow: 0 20px 60px -10px rgba(59,130,246,.8), inset 0 2px 0 rgba(255,255,255,.3);
  transition: transform .3s var(--ease);
}
.dial-btn:hover { transform: scale(1.05); }
.dial-btn svg { width: 34px; height: 34px; margin: 0 auto 8px; animation: shake 2.4s ease-in-out infinite; }
@keyframes shake { 0%, 60%, 100% { transform: rotate(0); } 65%, 75%, 85% { transform: rotate(-14deg); } 70%, 80%, 90% { transform: rotate(14deg); } }
.dial-btn span { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.8vw, 1.25rem); }
.dial-btn small { display: block; font-size: .74rem; opacity: .85; }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cmp { padding: 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--card); }
.cmp h3 { font-family: var(--display); font-size: 1.3rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.cmp ul { list-style: none; display: grid; gap: 14px; }
.cmp li { display: flex; gap: 12px; color: #c7cfe2; font-size: .96rem; }
.cmp li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.cmp.bad li svg { color: var(--red); }
.cmp.bad { opacity: .78; }
.cmp.good { border-color: rgba(34,211,238,.35); background: linear-gradient(160deg, rgba(34,211,238,.07), rgba(139,92,246,.06)), var(--card); box-shadow: 0 30px 80px -40px rgba(34,211,238,.4); }
.cmp.good li svg { color: var(--green); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.qa { border-radius: 18px; border: 1px solid var(--line); background: var(--card); transition: border-color .3s ease, background .3s ease; }
.qa:hover { border-color: var(--line-2); }
.qa.open { border-color: rgba(34,211,238,.35); }
.qa button { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-family: var(--display); font-size: 1.1rem; font-weight: 500; }
.qa .plus { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: transform .35s var(--ease), background .3s ease; }
.qa .plus::before, .qa .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.qa .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.open .plus { transform: rotate(45deg); background: rgba(34,211,238,.15); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.qa .ans > div { overflow: hidden; }
.qa.open .ans { grid-template-rows: 1fr; }
.qa .ans p { color: var(--mute); padding: 0 26px 24px; max-width: 70ch; }

/* ---------- final CTA ---------- */
.final { text-align: center; }
.final-box { position: relative; border-radius: 36px; padding: clamp(56px, 9vw, 120px) var(--pad); overflow: hidden; border: 1px solid var(--line-2); background: var(--card-solid); }
.final-box::before { content: ""; position: absolute; left: 50%; top: 100%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(59,130,246,.45), rgba(139,92,246,.2) 40%, transparent 70%); filter: blur(20px); pointer-events: none; }
.final-box .h2 { margin: 0 auto; max-width: 16ch; font-size: clamp(2.4rem, 6vw, 4.6rem); }
.final-box .lead { margin: 20px auto 0; }
.final-box .hero-cta { justify-content: center; opacity: 1; animation: none; }
.final-mail { display: inline-block; margin-top: 26px; color: var(--mute); font-size: .95rem; }
.final-mail a { color: var(--ink); background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.final-mail a:hover { background-size: 100% 1px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--mute); font-size: .88rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a:hover { color: var(--ink); }

/* ---------- legal pages ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 150px var(--pad) 100px; }
.legal h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; }
.legal .updated { color: var(--mute); margin-bottom: 44px; font-family: var(--mono); font-size: .82rem; }
.legal-card { padding: clamp(24px, 4vw, 44px); border-radius: 26px; background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.legal h2 { font-family: var(--display); font-size: 1.2rem; margin: 36px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #c2cadd; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--cyan); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero-grid, .split, .flow, .demo-band { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .phone-stage { margin-top: 30px; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card, .card.wide { grid-column: span 1; }
  .sheet-wrap { position: relative; top: 0; order: -1; }
  .dial { max-width: 300px; margin: 0 auto; width: 100%; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav { padding-left: 14px; }
  .cards, .compare, .stat-row { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .glow-cursor { display: none; }
  .sheet { overflow-x: auto; }
  .screen { height: 540px; }
  .float-card { display: none; }
  .qa button { padding: 18px 20px; font-size: 1rem; }
  .qa .ans p { padding: 0 20px 20px; }
}

/* ---------- overflow guards ---------- */
html, body { overflow-x: clip; }
.hero, section { overflow-x: clip; }
.hero-grid > *, .split > *, .flow > *, .demo-band > *, .cards > *, .compare > * { min-width: 0; }
@media (max-width: 720px) {
  .orbit.o2 { width: 118%; }
  .phone-halo { width: 100%; }
}
