/* ==========================================================================
   Startup Mobile Studio — styles
   ========================================================================== */

:root {
  --bg: #000;
  --bg-elev: #0b0b0e;
  --bg-card: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --dim: #6e6e73;
  --a1: #a594ff;
  --a2: #5f9bff;
  --a3: #3ee0ff;
  --grad: linear-gradient(92deg, var(--a1), var(--a2) 50%, var(--a3));
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(95, 155, 255, 0.4); }
:focus-visible { outline: 2px solid var(--a2); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; background: #fff; color: #000; border-radius: 10px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px var(--a2);
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gradShift 8s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), background 0.3s, box-shadow 0.4s var(--ease), border-color 0.3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn--primary { background: #fff; color: #000; box-shadow: 0 0 0 0 rgba(95, 155, 255, 0); }
.btn--primary:hover { box-shadow: 0 10px 40px -8px rgba(95, 155, 255, 0.55); }
.btn--ghost { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); }
.btn--small { --h: 36px; padding: 0 16px; font-size: 14px; background: #fff; color: #000; }
.btn--small.btn--ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(0, 0, 0, 0.66);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter);
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 16px; }
.brand__mark { width: 28px; height: 28px; flex: none; }
.brand__name span { color: var(--muted); font-weight: 500; }
.nav__links { display: flex; gap: 30px; font-size: 14px; color: var(--muted); }
.nav__links a { transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__lang {
  font-size: 13px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 11px;
  transition: color 0.2s, border-color 0.2s;
}
.nav__lang:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.35); }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform 0.4s var(--ease); }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px var(--gutter) 24px;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border: 0; font-size: 15px; color: var(--muted); font-weight: 500; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 110px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background:
    radial-gradient(40% 35% at 70% 40%, rgba(95, 155, 255, 0.28), transparent 70%),
    radial-gradient(30% 30% at 85% 65%, rgba(62, 224, 255, 0.16), transparent 70%),
    radial-gradient(35% 30% at 55% 70%, rgba(165, 148, 255, 0.22), transparent 70%);
  filter: blur(20px);
  animation: glowDrift 16s ease-in-out infinite alternate;
}
@keyframes glowDrift { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 60% at 70% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 60% at 70% 45%, #000 0%, transparent 75%);
  opacity: 0.5;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero__title {
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 22px 0 24px;
}
.hero__title .line { display: block; padding-bottom: 0.06em; }
.hero__sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 560px; line-height: 1.5; letter-spacing: -0.01em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 14px; color: var(--muted); }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 16px; height: 16px; color: var(--a3); }

.js [data-hero] { opacity: 0; transform: translateY(24px); filter: blur(8px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.js .hero.is-in [data-hero] { opacity: 1; transform: none; filter: none; }
.js .hero.is-in [data-hero="1"] { transition-delay: 0.08s; }
.js .hero.is-in [data-hero="2"] { transition-delay: 0.18s; }
.js .hero.is-in [data-hero="3"] { transition-delay: 0.3s; }
.js .hero.is-in [data-hero="4"] { transition-delay: 0.42s; }
.js .hero.is-in [data-hero="5"] { transition-delay: 0.54s; }

.hero__stage { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.js .hero__stage { opacity: 0; transform: translateY(60px) scale(0.94); transition: opacity 1.4s var(--ease) 0.25s, transform 1.6s var(--ease) 0.25s; }
.js .hero.is-in .hero__stage { opacity: 1; transform: none; }
.tilt { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -14deg)); transition: transform 0.9s var(--ease); }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line-strong); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Phone ---------- */
.phone {
  --pw: 300px;
  position: relative;
  width: var(--pw);
  aspect-ratio: 9 / 19.3;
  border-radius: calc(var(--pw) * 0.16);
  padding: calc(var(--pw) * 0.035);
  background: linear-gradient(145deg, #2c2c30, #0e0e10 40%, #1d1d21);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14),
    inset 0 0 0 calc(var(--pw) * 0.012) #050506,
    0 50px 100px -30px rgba(0, 0, 0, 0.9),
    0 30px 120px -40px rgba(95, 155, 255, 0.45);
  flex: none;
}
.phone__screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: calc(var(--pw) * 0.128);
  background: #0a0a0d;
  font-size: calc(var(--pw) * 0.042);
  isolation: isolate;
}
.phone__island {
  position: absolute; z-index: 5; top: calc(var(--pw) * 0.062); left: 50%;
  width: calc(var(--pw) * 0.3); height: calc(var(--pw) * 0.088);
  transform: translateX(-50%); border-radius: 999px; background: #000;
}
.phone--hero { --pw: min(340px, 72vw); }
.phone--builder { --pw: 290px; }
.phone--mini { --pw: 236px; }

.sbar {
  height: calc(var(--pw) * 0.15);
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(var(--pw) * 0.02) calc(var(--pw) * 0.09) 0;
  font-size: 0.95em; font-weight: 600; letter-spacing: -0.01em;
}
.sbar__icons { display: flex; gap: 4px; align-items: center; }
.sbar__icons i { display: block; width: 0.95em; height: 0.6em; border-radius: 2px; background: currentColor; opacity: 0.9; }
.sbar__icons i:first-child { width: 0.7em; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.sbar__icons i:last-child { width: 1.4em; border-radius: 3px; }

.sk { display: block; height: 0.62em; border-radius: 99px; background: rgba(255, 255, 255, 0.14); }
.sk--sm { height: 0.5em; }
.sk--light { background: rgba(255, 255, 255, 0.55); }
.sk--r { margin-left: auto; }
.sk--w20 { width: 20%; } .sk--w30 { width: 30%; } .sk--w40 { width: 40%; } .sk--w50 { width: 50%; } .sk--w60 { width: 60%; } .sk--w70 { width: 70%; } .sk--w80 { width: 80%; } .sk--w90 { width: 90%; }
.avatar { width: 2.4em; height: 2.4em; border-radius: 50%; background: linear-gradient(135deg, #ffb36b, #ff5f8f); flex: none; }
.pill { font-size: 0.8em; font-weight: 700; padding: 0.25em 0.6em; border-radius: 99px; background: rgba(255, 255, 255, 0.22); }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 15%; display: flex; justify-content: space-around; align-items: center; padding-bottom: 4%; background: linear-gradient(transparent, rgba(10, 10, 13, 0.95) 35%); }
.tabbar i { width: 1.6em; height: 1.6em; border-radius: 0.5em; background: rgba(255, 255, 255, 0.18); }
.tabbar i.on { background: var(--grad); }

/* Hero screen */
.hs { padding: 0 0 0; }
.hs__head { display: flex; justify-content: space-between; align-items: center; padding: 0.6em 1.4em 0.9em; }
.hs__head > div:first-child { flex: 1; }
.hs__hello { margin-top: 0.5em; height: 1em; width: 72%; border-radius: 99px; background: rgba(255, 255, 255, 0.85); }
.hs__card {
  margin: 0 1.1em; padding: 1em 1em 0; border-radius: 1.3em; overflow: hidden;
  background: linear-gradient(135deg, #6c5cff, #3b82f6 55%, #22c5e6);
  box-shadow: 0 1em 2em -1em rgba(80, 120, 255, 0.7);
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard { 50% { transform: translateY(-0.25em); } }
.hs__card-top { display: flex; justify-content: space-between; align-items: center; }
.hs__chart { width: 100%; height: 5.2em; margin-top: 0.6em; }
.hs__line { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 3.2s var(--ease) 1s infinite; }
.hs__area { opacity: 0; animation: fadeArea 3.2s var(--ease) 1s infinite; }
@keyframes draw { 0% { stroke-dashoffset: 320; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fadeArea { 30% { opacity: 0; } 55%, 85% { opacity: 1; } 100% { opacity: 0; } }
.hs__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6em; margin: 1em 1.1em 0; }
.hs__tile { padding: 0.8em 0.7em; border-radius: 1em; background: rgba(255, 255, 255, 0.06); display: grid; gap: 0.6em; animation: tileIn 4s var(--ease) infinite; }
.hs__tile i { width: 1.6em; height: 1.6em; border-radius: 0.55em; }
.t1 i { background: #ff7a59; } .t2 i { background: #34d399; } .t3 i { background: #a594ff; }
.t2 { animation-delay: 0.15s; } .t3 { animation-delay: 0.3s; }
@keyframes tileIn { 0%, 100% { transform: none; } 10% { transform: translateY(-0.2em); } }
.hs__list { margin: 1em 1.1em 0; display: grid; gap: 0.55em; }
.hs__item { display: flex; align-items: center; gap: 0.7em; padding: 0.75em 0.8em; border-radius: 0.9em; background: rgba(255, 255, 255, 0.045); animation: slideItem 5s var(--ease) infinite; }
.hs__item:nth-child(2) { animation-delay: 0.2s; } .hs__item:nth-child(3) { animation-delay: 0.4s; }
@keyframes slideItem { 0% { opacity: 0; transform: translateX(1.5em); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.dot { width: 2em; height: 2em; border-radius: 50%; flex: none; }
.d1 { background: linear-gradient(135deg, #ffcf5c, #ff7a59); } .d2 { background: linear-gradient(135deg, #5f9bff, #a594ff); } .d3 { background: linear-gradient(135deg, #3ee0ff, #34d399); }

/* floating chips */
.float {
  position: absolute; z-index: 3;
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(28, 28, 32, 0.6);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  font-size: 12px; color: var(--muted); white-space: nowrap;
  transform: translateZ(60px);
  animation: bob 6s ease-in-out infinite;
}
.float b { color: var(--text); font-size: 15px; letter-spacing: -0.01em; }
.float--a { top: 16%; left: -24%; }
.float--b { bottom: 22%; right: -22%; animation-delay: -2s; flex-direction: row; align-items: center; gap: 8px; }
.float--c { bottom: 6%; left: -14%; animation-delay: -4s; }
.float__dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; animation: blink 1.6s infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }
@keyframes blink { 50% { opacity: 0.3; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 48px; animation: marquee 40s linear infinite; }
.marquee__track span { font-size: 18px; font-weight: 600; color: var(--dim); letter-spacing: -0.01em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; height: 230vh; }
.manifesto__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.manifesto__text {
  margin-top: 26px;
  font-size: clamp(30px, 4.6vw, 62px);
  line-height: 1.12; letter-spacing: -0.035em; font-weight: 650;
  max-width: 1050px;
}
.manifesto__text .w { color: rgba(245, 245, 247, 0.16); transition: color 0.35s ease; }
.manifesto__text .w.on { color: var(--text); }
.manifesto__text .w.hl.on { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(90px, 13vw, 160px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head h2 {
  margin-top: 18px;
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.04; letter-spacing: -0.04em; font-weight: 700;
}
.section__sub { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); line-height: 1.55; max-width: 640px; }

.pillars-wrap { padding-top: 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 32px 0 0; border-top: 1px solid var(--line-strong); }
.pillar__num { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.pillar h3 { margin-top: 18px; font-size: 24px; letter-spacing: -0.025em; font-weight: 650; }
.pillar p { margin-top: 10px; color: var(--muted); }

/* ---------- Builder ---------- */
.builder { background: radial-gradient(60% 50% at 70% 40%, rgba(95, 155, 255, 0.08), transparent 70%); }
.builder__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.ctl + .ctl { margin-top: 30px; }
.ctl__label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); margin-bottom: 12px; }

.seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; height: 40px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color 0.3s; }
.seg button[aria-checked="true"] { color: #000; }
.seg__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 10px; background: #fff; transform: translateX(calc(var(--i, 0) * 100%)); transition: transform 0.5s var(--ease-spring); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }

.mods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mod {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px; border-radius: 16px; text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease-spring);
}
.mod:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.06); }
.mod:active { transform: scale(0.97); }
.mod__icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: rgba(255, 255, 255, 0.07); color: var(--muted); transition: background 0.3s, color 0.3s; }
.mod__icon svg { width: 20px; height: 20px; }
.mod__txt { display: grid; min-width: 0; }
.mod__txt b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.mod__txt small { font-size: 12.5px; color: var(--dim); line-height: 1.35; }
.mod__plus { margin-left: auto; width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--muted); transition: transform 0.45s var(--ease-spring), background 0.3s, border-color 0.3s; }
.mod__plus svg { width: 12px; height: 12px; }
.mod[aria-pressed="true"] { border-color: rgba(95, 155, 255, 0.55); background: linear-gradient(135deg, rgba(165, 148, 255, 0.12), rgba(62, 224, 255, 0.06)); }
.mod[aria-pressed="true"] .mod__icon { background: var(--grad); color: #fff; }
.mod[aria-pressed="true"] .mod__plus { transform: rotate(45deg); background: rgba(255, 255, 255, 0.12); border-color: transparent; color: var(--text); }

.builder__stage { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; position: sticky; top: 90px; }
.builder__phone-wrap { position: relative; }
.toast {
  position: absolute; left: 50%; top: 58px; z-index: 6;
  padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  font-size: 12.5px; font-weight: 600;
  background: rgba(30, 30, 34, 0.85); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transform: translate(-50%, -10px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease-spring);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.toast b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.bs { display: flex; flex-direction: column; }
.bs__title { padding: 0.2em 1.3em 0.6em; font-size: 1.55em; font-weight: 700; letter-spacing: -0.03em; }
.bs__view { position: relative; flex: 1; overflow: hidden; }
.bs__tabs { display: flex; justify-content: space-around; align-items: center; height: 15%; padding: 0 0.8em 4%; border-top: 1px solid rgba(255, 255, 255, 0.06); background: rgba(16, 16, 20, 0.9); }
.bs__tab { display: grid; justify-items: center; gap: 0.25em; font-size: 0.68em; color: var(--dim); animation: popIn 0.5s var(--ease-spring) both; }
.bs__tab svg { width: 1.9em; height: 1.9em; }
.bs__tab.on { color: var(--a2); }
@keyframes popIn { from { opacity: 0; transform: scale(0.4); } }

.estimate { padding: 24px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--line); }
.estimate__label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); }
.estimate__value { margin-top: 8px; font-size: clamp(40px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.estimate__value #est-range { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.estimate__value #est-range.bump { animation: bump 0.5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.08); } }
.estimate__value #est-unit { font-size: 0.42em; letter-spacing: -0.02em; color: var(--muted); font-weight: 600; }
.estimate__meta { margin-top: 10px; color: var(--muted); font-size: 14px; min-height: 1.5em; }
.estimate__bar { margin-top: 16px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.estimate__bar span { display: block; height: 100%; width: 10%; border-radius: inherit; background: var(--grad); transition: width 0.7s var(--ease); }
.estimate__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.estimate__actions .btn { --h: 46px; padding: 0 20px; font-size: 15px; }
.estimate__note { margin-top: 16px; font-size: 13px; color: var(--dim); line-height: 1.5; }

/* builder screens */
.scr { position: absolute; inset: 0; padding: 0.2em 1.1em 1em; display: flex; flex-direction: column; gap: 0.75em; animation: scrIn 0.6s var(--ease) both; }
.scr.out { animation: scrOut 0.35s var(--ease) both; }
@keyframes scrIn { from { opacity: 0; transform: translateX(18%) scale(0.98); } }
@keyframes scrOut { to { opacity: 0; transform: translateX(-12%) scale(0.98); } }
.scr > * { animation: itemIn 0.6s var(--ease) both; }
.scr > *:nth-child(2) { animation-delay: 0.06s; } .scr > *:nth-child(3) { animation-delay: 0.12s; } .scr > *:nth-child(4) { animation-delay: 0.18s; } .scr > *:nth-child(5) { animation-delay: 0.24s; } .scr > *:nth-child(6) { animation-delay: 0.3s; }
@keyframes itemIn { from { opacity: 0; transform: translateY(0.8em); } }
.scr--empty { align-items: center; justify-content: center; text-align: center; color: var(--dim); gap: 1em; }
.scr--empty .ghost-plus { width: 3.4em; height: 3.4em; border-radius: 1.1em; border: 1.5px dashed rgba(255, 255, 255, 0.2); display: grid; place-items: center; animation: breathe 2.4s ease-in-out infinite; }
.scr--empty .ghost-plus svg { width: 1.6em; height: 1.6em; }
@keyframes breathe { 50% { transform: scale(1.08); border-color: rgba(95, 155, 255, 0.6); color: var(--a2); } }
.u-card { border-radius: 1em; background: rgba(255, 255, 255, 0.06); padding: 0.9em; }
.u-row { display: flex; align-items: center; gap: 0.7em; }
.u-col { display: grid; gap: 0.45em; flex: 1; }
.u-btn { display: flex; align-items: center; justify-content: center; gap: 0.5em; height: 2.9em; border-radius: 0.9em; font-weight: 600; font-size: 0.95em; }
.u-btn--w { background: #fff; color: #000; }
.u-btn--d { background: rgba(255, 255, 255, 0.08); }
.u-btn--g { background: var(--grad); color: #fff; }
.u-h { font-size: 1.35em; font-weight: 700; letter-spacing: -0.02em; }
.u-p { color: var(--muted); font-size: 0.9em; }
.u-input { height: 2.8em; border-radius: 0.9em; background: rgba(255, 255, 255, 0.06); display: flex; align-items: center; gap: 0.6em; padding: 0 0.9em; color: var(--dim); font-size: 0.9em; }
.u-input svg { width: 1.2em; height: 1.2em; }
.u-chip { padding: 0.35em 0.8em; border-radius: 99px; font-size: 0.8em; background: rgba(255, 255, 255, 0.08); white-space: nowrap; }
.u-chip.on { background: #fff; color: #000; font-weight: 600; }
.u-img { border-radius: 1em; height: 7em; background: linear-gradient(135deg, #6c5cff, #22c5e6); position: relative; overflow: hidden; }
.u-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%); transform: translateX(-100%); animation: shine 2.6s var(--ease) 0.6s infinite; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.u-thumb { width: 2.6em; height: 2.6em; border-radius: 0.8em; flex: none; }
.u-orb { width: 7em; height: 7em; margin: 1.5em auto 0.4em; border-radius: 50%; background: conic-gradient(from 0deg, #a594ff, #5f9bff, #3ee0ff, #ff7ad9, #a594ff); filter: blur(0.3em); animation: spin 8s linear infinite; box-shadow: 0 0 3em rgba(95, 155, 255, 0.5); }
@keyframes spin { to { transform: rotate(1turn); } }
.u-dots { display: flex; gap: 0.35em; justify-content: center; }
.u-dots i { width: 0.45em; height: 0.45em; border-radius: 99px; background: rgba(255, 255, 255, 0.25); }
.u-dots i:first-child { width: 1.3em; background: #fff; }
.u-bubble { max-width: 78%; padding: 0.6em 0.85em; border-radius: 1.1em; font-size: 0.9em; line-height: 1.35; }
.u-bubble--in { background: rgba(255, 255, 255, 0.09); border-bottom-left-radius: 0.35em; }
.u-bubble--out { background: #3b82f6; margin-left: auto; border-bottom-right-radius: 0.35em; }
.u-typing { display: inline-flex; gap: 0.25em; padding: 0.75em 0.9em; }
.u-typing i, .typing i { width: 0.42em; height: 0.42em; border-radius: 50%; background: currentColor; opacity: 0.4; animation: typing 1.2s infinite; }
.u-typing i:nth-child(2), .typing i:nth-child(2) { animation-delay: 0.15s; }
.u-typing i:nth-child(3), .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 30% { opacity: 1; transform: translateY(-0.2em); } }
.u-map { position: relative; flex: 1; border-radius: 1.1em; overflow: hidden; background: #0e1117; min-height: 9em; }
.u-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.u-map .r { stroke-dasharray: 300; stroke-dashoffset: 300; animation: drawOnce 2s var(--ease) 0.3s forwards; }
@keyframes drawOnce { to { stroke-dashoffset: 0; } }
.u-pin { position: absolute; width: 1.2em; height: 1.2em; border-radius: 50%; background: #ff7a59; box-shadow: 0 0 0 0.35em rgba(255, 122, 89, 0.25); animation: pinDrop 0.7s var(--ease-spring) both; }
@keyframes pinDrop { from { transform: translateY(-2em); opacity: 0; } }
.u-notif { display: flex; gap: 0.7em; padding: 0.8em; border-radius: 1.1em; background: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.u-notif .u-thumb { width: 2.2em; height: 2.2em; border-radius: 0.6em; }
.u-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.3em; text-align: center; font-size: 0.82em; }
.u-cal span { padding: 0.45em 0; border-radius: 0.6em; color: var(--muted); }
.u-cal span.on { background: var(--grad); color: #fff; font-weight: 700; }
.u-cal span.dim { opacity: 0.35; }
.u-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4em; }
.u-slots span { text-align: center; padding: 0.55em 0; border-radius: 0.7em; background: rgba(255, 255, 255, 0.07); font-size: 0.82em; }
.u-slots span.on { outline: 1.5px solid var(--a2); color: var(--a3); }
.u-bars { display: flex; align-items: flex-end; gap: 0.4em; height: 6em; }
.u-bars i { flex: 1; border-radius: 0.35em 0.35em 0.15em 0.15em; background: var(--grad); height: calc(var(--h) * 100%); animation: grow 0.9s var(--ease) both; transform-origin: bottom; }
@keyframes grow { from { transform: scaleY(0); } }
.u-plan { border-radius: 1em; padding: 0.9em; border: 1.5px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; }
.u-plan.on { border-color: var(--a2); background: rgba(95, 155, 255, 0.1); }
.u-plan b { font-size: 1.1em; }
.u-stat { flex: 1; text-align: center; padding: 0.7em 0.3em; border-radius: 0.9em; background: rgba(255, 255, 255, 0.05); }
.u-stat b { display: block; font-size: 1.15em; }
.u-stat small { color: var(--dim); font-size: 0.75em; }
.u-list-row { display: flex; align-items: center; gap: 0.7em; padding: 0.7em 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.u-toggle { margin-left: auto; width: 2.4em; height: 1.4em; border-radius: 99px; background: #34d399; position: relative; flex: none; }
.u-toggle::after { content: ""; position: absolute; right: 0.15em; top: 0.15em; width: 1.1em; height: 1.1em; border-radius: 50%; background: #fff; }
.u-toggle.off { background: rgba(255, 255, 255, 0.15); }
.u-toggle.off::after { right: auto; left: 0.15em; }
.u-web { font-size: 0.7em; padding: 0.2em 0.6em; border-radius: 99px; background: rgba(95, 155, 255, 0.2); color: var(--a3); font-weight: 700; }

/* ---------- Process / timeline ---------- */
@media (min-width: 1081px) {
  .process__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0 72px; align-items: start; }
  .process__grid .section__head { position: sticky; top: 120px; }
  .process__grid .process__foot { grid-column: 2; }
}
.timeline { position: relative; display: grid; gap: 14px; padding-left: 42px; max-width: 860px; }
.timeline__rail { position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.timeline__fill { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; padding: 22px 26px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--line); }
.step__dot { position: absolute; left: -38px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); transition: border-color 0.5s, box-shadow 0.5s, background 0.5s; }
.step.is-in .step__dot { border-color: var(--a2); background: var(--a2); box-shadow: 0 0 0 5px rgba(95, 155, 255, 0.15), 0 0 18px var(--a2); }
.step__when { font-family: var(--mono); font-size: 13px; color: var(--a3); letter-spacing: 0.02em; }
.step h3 { margin-top: 6px; font-size: 21px; letter-spacing: -0.02em; font-weight: 650; }
.step p:last-child { margin-top: 6px; color: var(--muted); }
.process__foot { margin-top: 36px; font-size: clamp(19px, 2vw, 24px); letter-spacing: -0.02em; max-width: 760px; color: var(--text); font-weight: 600; }

/* ---------- Cards (why / services) ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spot { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--line); isolation: isolate; transition: border-color 0.3s, transform 0.6s var(--ease), opacity 1s var(--ease); }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(95, 155, 255, 0.14), transparent 45%); }
.spot:hover { border-color: var(--line-strong); }
.spot:hover::before { opacity: 1; }
.card { padding: 30px 28px 32px; }
.card__num { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.card h3 { margin-top: 40px; font-size: 23px; letter-spacing: -0.025em; font-weight: 650; line-height: 1.2; }
.card p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.svc { padding: 26px 24px 28px; }
.svc__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--a3); }
.svc__icon svg { width: 22px; height: 22px; }
.svc h3 { margin-top: 26px; font-size: 19px; letter-spacing: -0.02em; font-weight: 650; }
.svc p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------- Concepts ---------- */
.concepts { overflow: hidden; }
.concepts__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: max-content;
  gap: clamp(20px, 3vw, 40px);
  justify-content: center;
  padding: 10px var(--gutter) 30px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.concepts__rail::-webkit-scrollbar { display: none; }
.concept { margin: 0; scroll-snap-align: center; }
.concept:nth-child(even) { margin-top: 60px; }
.concept figcaption { display: grid; gap: 2px; margin-top: 22px; padding-left: 6px; }
.concept figcaption b { font-size: 18px; letter-spacing: -0.02em; }
.concept figcaption span { color: var(--muted); font-size: 14px; }
.concept figcaption em { font-style: normal; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.concept .phone { transition: transform 0.8s var(--ease); }
.concept:hover .phone { transform: translateY(-8px) rotate(-1deg); }

.cx { padding: 0 1.2em; }
.cx .sbar { margin: 0 -1.2em; }
.cx__kicker { font-size: 0.85em; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.6em; }
.cx__h { font-size: 1.9em; font-weight: 700; letter-spacing: -0.03em; }
.cx--pulse { background: radial-gradient(80% 40% at 50% 45%, rgba(255, 60, 120, 0.15), transparent), #07070a; }
.rings { width: 78%; margin: 1.2em auto 1em; transform: rotate(-90deg); }
.ring-bg, .ring { fill: none; stroke-width: 11; stroke-linecap: round; }
.ring-bg { opacity: 0.18; }
.ring { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2s var(--ease); }
.r1 { stroke: #ff2d6f; } .r2 { stroke: #a6ff3d; } .r3 { stroke: #2fe2ff; }
.ring.r1 { --c: 326.7; } .ring.r2 { --c: 238.8; } .ring.r3 { --c: 150.8; }
.ring { stroke-dasharray: var(--c) 400; stroke-dashoffset: var(--c); }
.concept.is-in .ring { stroke-dashoffset: calc(var(--c) * (1 - var(--p))); }
.concept.is-in .ring.r2 { transition-delay: 0.2s; } .concept.is-in .ring.r3 { transition-delay: 0.4s; }
.cx__stats { display: grid; gap: 0.5em; font-size: 0.95em; }
.cx__stats li { display: flex; align-items: center; gap: 0.6em; padding: 0.55em 0.8em; border-radius: 0.8em; background: rgba(255, 255, 255, 0.05); }
.cx__stats b { margin-left: auto; font-variant-numeric: tabular-nums; }
.cx__stats i { width: 0.7em; height: 0.7em; border-radius: 50%; }
.c1 { background: #ff2d6f; } .c2 { background: #a6ff3d; } .c3 { background: #2fe2ff; }

.cx--vault { background: linear-gradient(180deg, #0c0d12, #07070a); }
.cx__money { font-size: 2.4em; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.vcard { position: relative; height: 7.4em; margin: 0.8em 0 0.4em; border-radius: 1.1em; overflow: hidden; background: linear-gradient(135deg, #1f1f27, #3a3550 50%, #1b2a40); border: 1px solid rgba(255, 255, 255, 0.12); }
.vcard::before { content: ""; position: absolute; inset: -50%; background: conic-gradient(from 180deg, transparent, rgba(165, 148, 255, 0.4), transparent 30%); animation: spin 6s linear infinite; }
.vcard::after { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: linear-gradient(135deg, #1a1a22, #2b2840 55%, #172338); }
.vcard__chip { position: absolute; z-index: 1; left: 1em; top: 1em; width: 2.2em; height: 1.6em; border-radius: 0.35em; background: linear-gradient(135deg, #e8d18a, #b8954a); }
.vcard__num { position: absolute; z-index: 1; left: 1em; bottom: 0.9em; font-family: var(--mono); font-size: 0.95em; color: rgba(255, 255, 255, 0.8); }
.bars { display: flex; align-items: flex-end; gap: 0.45em; height: 6.4em; margin-top: 0.6em; }
.bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 0.4em 0.4em 0.2em 0.2em; background: linear-gradient(180deg, #a594ff, #5f9bff); transform: scaleY(0); transform-origin: bottom; transition: transform 1.2s var(--ease); }
.bars i:last-child { background: linear-gradient(180deg, #3ee0ff, #34d399); }
.concept.is-in .bars i { transform: scaleY(1); }
.concept.is-in .bars i:nth-child(2) { transition-delay: 0.06s; } .concept.is-in .bars i:nth-child(3) { transition-delay: 0.12s; } .concept.is-in .bars i:nth-child(4) { transition-delay: 0.18s; } .concept.is-in .bars i:nth-child(5) { transition-delay: 0.24s; } .concept.is-in .bars i:nth-child(6) { transition-delay: 0.3s; } .concept.is-in .bars i:nth-child(7) { transition-delay: 0.36s; }

.cx--dash { padding: 0; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.route { stroke-dasharray: 400; stroke-dashoffset: 400; animation: drawOnce 2.4s var(--ease) 0.4s forwards; }
.pulse-dot { transform-origin: 150px 60px; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(0.6); opacity: 0.6; } to { transform: scale(2); opacity: 0; } }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.7em 1.3em 1.6em; border-radius: 1.5em 1.5em 0 0; background: rgba(18, 18, 22, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.sheet__grab { display: block; width: 2.6em; height: 0.3em; border-radius: 99px; background: rgba(255, 255, 255, 0.25); margin: 0 auto 0.9em; }
.sheet__t { font-weight: 600; font-size: 1em; }
.sheet__eta { color: var(--muted); margin-top: 0.2em; }
.sheet__eta b { font-size: 1.8em; color: var(--text); letter-spacing: -0.03em; }
.sheet__prog { margin-top: 0.8em; height: 0.35em; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.sheet__prog span { display: block; height: 100%; width: 35%; border-radius: inherit; background: linear-gradient(90deg, #ff7a59, #ffcf5c); animation: prog 6s linear infinite; }
@keyframes prog { from { width: 8%; } to { width: 100%; } }

.cx--muse { background: radial-gradient(70% 40% at 50% 20%, rgba(165, 148, 255, 0.22), transparent), #07070a; display: flex; flex-direction: column; }
.orb { width: 6em; height: 6em; margin: 1em auto 1.2em; border-radius: 50%; background: conic-gradient(from 0deg, #a594ff, #5f9bff, #3ee0ff, #ff7ad9, #a594ff); filter: blur(0.25em); animation: spin 7s linear infinite, breatheOrb 4s ease-in-out infinite; box-shadow: 0 0 3em rgba(165, 148, 255, 0.5); }
@keyframes breatheOrb { 50% { scale: 1.08; } }
.chat { display: grid; gap: 0.55em; padding-bottom: 1em; }
.msg { max-width: 82%; padding: 0.6em 0.85em; border-radius: 1.1em; font-size: 0.92em; line-height: 1.35; opacity: 0; transform: translateY(0.6em) scale(0.96); }
.msg--ai { background: rgba(255, 255, 255, 0.09); border-bottom-left-radius: 0.35em; justify-self: start; }
.msg--me { background: linear-gradient(135deg, #6c5cff, #3b82f6); border-bottom-right-radius: 0.35em; justify-self: end; }
.typing { display: inline-flex; gap: 0.25em; }
.concept.is-in .m1 { animation: msgLoop 9s var(--ease) infinite; }
.concept.is-in .m2 { animation: msgLoop 9s var(--ease) 1.2s infinite; }
.concept.is-in .m3 { animation: typingLoop 9s var(--ease) 2.4s infinite; }
.concept.is-in .m4 { animation: msgLoop4 9s var(--ease) 2.4s infinite; }
@keyframes msgLoop { 0% { opacity: 0; transform: translateY(0.6em) scale(0.96); } 6%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes typingLoop { 0% { opacity: 0; } 4%, 18% { opacity: 1; transform: none; } 22%, 100% { opacity: 0; } }
@keyframes msgLoop4 { 0%, 20% { opacity: 0; transform: translateY(0.6em) scale(0.96); } 26%, 72% { opacity: 1; transform: none; } 82%, 100% { opacity: 0; } }
.m3, .m4 { grid-row: 3; grid-column: 1; }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa__q { font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; letter-spacing: -0.02em; }
.qa__icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform 0.5s var(--ease), background 0.3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -0.8px 0 0 -5.5px; background: var(--text); border-radius: 2px; transition: transform 0.5s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(180deg); background: rgba(255, 255, 255, 0.08); }
.qa[open] .qa__icon::after { transform: rotate(0); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 48px 26px 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.qa[open] .qa__a p { animation: faqIn 0.5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact__glow { position: absolute; left: 50%; top: 40%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(95, 155, 255, 0.16), transparent); z-index: -1; pointer-events: none; }
.form { padding: clamp(22px, 4vw, 40px); border-radius: 28px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line-strong);
  font-size: 16px; transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--a2); box-shadow: 0 0 0 4px rgba(95, 155, 255, 0.18); }
.field.invalid input, .field.invalid textarea { border-color: #ff6b6b; }
.bp { padding: 16px; border-radius: 16px; border: 1px dashed var(--line-strong); }
.bp__head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.bp__head a { color: var(--a3); font-weight: 500; }
.bp__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: 13.5px; }
.bp__chips:empty::before { content: attr(data-empty); color: var(--dim); }
.bp__chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(95, 155, 255, 0.12); border: 1px solid rgba(95, 155, 255, 0.3); animation: popIn 0.4s var(--ease-spring) both; }
.bp__chips span.meta { background: rgba(255, 255, 255, 0.06); border-color: var(--line-strong); color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__consent { font-size: 13px; color: var(--dim); }
.form__consent a, .form__alt a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form__status { min-height: 1.5em; font-size: 15px; text-align: center; }
.form__status.ok { color: #34d399; }
.form__status.err { color: #ff8b8b; }
.form__alt { font-size: 14px; color: var(--dim); text-align: center; }
.form.is-sent .field, .form.is-sent .bp, .form.is-sent .form__row, .form.is-sent .form__consent, .form.is-sent button { display: none; }
.form.is-sent .form__status { font-size: 20px; font-weight: 600; padding: 30px 0 10px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 50px 0 34px; font-size: 14px; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__brand p { margin-top: 14px; max-width: 360px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 26px; align-content: flex-start; }
.footer__links a:hover { color: var(--text); }
.footer__legal { margin-top: 34px; font-size: 12.5px; color: var(--dim); }
.footer__legal a { color: var(--muted); }

/* ---------- Legal pages ---------- */
.legal { padding-top: 130px; padding-bottom: 100px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); letter-spacing: -0.04em; line-height: 1.05; }
.legal__updated { margin-top: 12px; color: var(--dim); font-size: 14px; }
.legal h2 { margin-top: 44px; font-size: 22px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--muted); margin-top: 12px; line-height: 1.65; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--a3); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .builder__grid { grid-template-columns: 1fr; }
  .builder__stage {
    grid-row: 1; position: sticky; top: 64px; z-index: 5;
    grid-template-columns: auto 1fr; gap: 16px; align-items: center;
    margin: 0 calc(var(--gutter) * -1); padding: 12px var(--gutter);
    background: rgba(0, 0, 0, 0.82);
    -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid var(--line);
  }
  .phone--builder { --pw: 132px; }
  .phone--builder { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 30px -10px rgba(95, 155, 255, 0.5); }
  .toast { top: auto; bottom: -4px; font-size: 11px; padding: 5px 10px; }
  .estimate { padding: 0; background: none; border: 0; }
  .estimate__value { font-size: 34px; }
  .estimate__label { font-size: 11px; }
  .estimate__meta { font-size: 13px; margin-top: 4px; }
  .estimate__bar { margin-top: 10px; }
  .estimate__actions { margin-top: 14px; }
  .estimate__actions .btn { --h: 40px; padding: 0 16px; font-size: 14px; }
  .estimate__note { display: none; }
  .builder__controls { padding-top: 8px; }
  .concepts__rail { justify-content: start; }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__actions .btn--small { display: none; }
  .hero { padding-top: 100px; }
  .hero__inner { grid-template-columns: 1fr; gap: 70px; }
  .hero__stage { margin: 0 auto; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { padding: 26px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand__name { font-size: 15px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .float--a { left: -6%; top: 8%; }
  .float--b { right: -6%; }
  .float--c { left: -2%; bottom: 2%; }
  .float { padding: 9px 12px; font-size: 11px; }
  .float b { font-size: 13px; }
  .why__grid, .services__grid { grid-template-columns: 1fr; }
  .card h3 { margin-top: 26px; }
  .phone--builder { --pw: 116px; }
  #reset-blueprint { display: none; }
  .estimate__actions .btn--primary svg { display: none; }
  .hero__scroll { display: none; }
  .mods { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mod { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; }
  .mod__plus { position: absolute; top: 10px; right: 10px; }
  .mod__txt small { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .timeline { padding-left: 34px; }
  .timeline__rail { left: 7px; }
  .step { padding: 18px 20px; }
  .step__dot { left: -33px; }
  .qa__a p { padding-right: 0; }
  .concept:nth-child(even) { margin-top: 0; }
  .manifesto { height: 200vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js [data-hero], .js .hero__stage { opacity: 1; transform: none; filter: none; }
  .manifesto { height: auto; }
  .manifesto__sticky { position: static; height: auto; padding: 120px 0; }
  .manifesto__text .w { color: var(--text); }
  .marquee__track { animation: none; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 18px; }
.notfound h1 { font-size: clamp(90px, 18vw, 180px); letter-spacing: -0.06em; line-height: 1; }
.notfound p { color: var(--muted); }
