/* Wholesta — shared styles */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #0176d3;
  --blue-400: #1b96ff;
  --blue-600: #0b5cab;
  --navy: #032d60;
  --navy-900: #021b3d;
  --navy-950: #01122b;
  --sky-50: #f4f9ff;
  --sky-100: #eaf5fe;
  --sky-200: #cfe9fe;
  --sky-300: #a8d6fb;
  --ink: #1b2b44;
  --muted: #52627a;
  --line: #dbe7f3;
  --amber: #ffb75d;
  --teal: #06a59a;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 70px -30px rgba(3, 45, 96, .42);
  --shadow-sm: 0 10px 28px -16px rgba(3, 45, 96, .32);
  --dark-bg:
    radial-gradient(60% 80% at 88% 0%, rgba(27, 150, 255, .34), transparent 62%),
    radial-gradient(50% 60% at 0% 100%, rgba(6, 165, 154, .22), transparent 62%),
    linear-gradient(160deg, #021b3d 0%, #032d60 60%, #04387a 100%);
  --wrap: 1180px;
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
svg text { font-family: inherit; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }

h1, h2, h3 {
  margin: 0 0 .5em;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
}
h1 { font-size: clamp(2.6rem, 5.8vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 16px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; overflow: hidden;
  transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.btn .arr { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(135deg, #0176d3 0%, #0b5cab 100%); color: #fff;
  box-shadow: 0 14px 28px -14px rgba(1, 118, 211, .95), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 34px -16px rgba(1, 118, 211, 1), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover::after { left: 120%; }
.btn-ghost { background: rgba(255, 255, 255, .8); color: var(--navy); border-color: rgba(3, 45, 96, .16); }
.btn-ghost:hover { background: #fff; color: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .6); }
.btn-light:hover { color: var(--blue); transform: translateY(-2px); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0; }
.progress { position: fixed; left: 0; top: 0; width: 100%; height: 3px; z-index: 60; pointer-events: none; }
.progress i {
  display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue-400), var(--blue) 60%, var(--teal));
}
.nav {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 9px 10px 9px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 8px 24px -18px rgba(3, 45, 96, .4);
  transition: background .3s, box-shadow .3s;
}
.is-scrolled .nav { background: rgba(255, 255, 255, .94); box-shadow: 0 18px 40px -22px rgba(3, 45, 96, .5); }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.3rem; letter-spacing: -.035em;
  color: var(--navy); text-decoration: none;
}
.logo:hover { color: var(--navy); }
.logo svg { width: 32px; height: 32px; flex: none; transition: transform .4s var(--ease); }
.logo:hover svg { transform: rotate(-8deg) scale(1.06); }
.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-menu a:not(.btn) {
  padding: 9px 14px; border-radius: 999px;
  color: var(--navy); font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: background .2s, color .2s;
}
.nav-menu a:not(.btn):hover { background: var(--sky-100); }
.nav-menu a[aria-current="page"], .nav-menu a.is-active { color: var(--blue); background: var(--sky-100); }
.nav .btn { padding: 12px 22px; }
.menu-cta { display: none; }
.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 46px; height: 46px; margin-left: auto; padding: 0;
  border: 0; border-radius: 50%; background: var(--sky-100); cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero, .page-head {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 64px);
  background: linear-gradient(180deg, #a9d6ff 0%, #cfe8ff 46%, #eef7ff 100%);
}
.hero { padding-bottom: 200px; }
.hero-bg {
  position: absolute; inset: -30px; z-index: -1; pointer-events: none;
  transform: translate3d(calc(var(--px, 0px) * -1), calc(var(--py, 0px) * -1), 0);
  transition: transform .4s ease-out;
}
.orb { position: absolute; border-radius: 50%; filter: blur(64px); }
.orb-1 { width: 540px; height: 540px; left: -120px; top: -140px; background: #6fbcff; opacity: .75; animation: floatA 20s ease-in-out infinite alternate; }
.orb-2 { width: 460px; height: 460px; right: -60px; top: 60px; background: #b3a6ff; opacity: .42; animation: floatB 24s ease-in-out infinite alternate; }
.orb-3 { width: 400px; height: 400px; left: 36%; bottom: 40px; background: #86ecdc; opacity: .34; animation: floatA 28s ease-in-out infinite alternate-reverse; }
.grid-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(3, 45, 96, .17) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 62% at 50% 28%, #000 0%, transparent 76%);
  mask-image: radial-gradient(70% 62% at 50% 28%, #000 0%, transparent 76%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; position: relative; }
.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.grad {
  background: linear-gradient(100deg, #0176d3 0%, #0b5cab 55%, #0176d3 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--blue);
  animation: sheen 7s linear infinite;
}
.pill {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  padding: 7px 15px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); border: 1px solid #fff; box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 700; color: var(--navy);
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: pulse 2.4s ease-out infinite; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 36em; }
.hero .lede { color: #2f4467; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: .93rem; font-weight: 600; color: var(--navy); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: "\2713"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; color: var(--blue); font-size: 11px; font-weight: 800; box-shadow: var(--shadow-sm);
}
.clouds { position: absolute; left: -4%; bottom: -1px; width: 108%; max-width: none; height: 170px; pointer-events: none; }
.clouds .back { animation: drift 16s ease-in-out infinite alternate; }

/* Hero illustration */
.mock-wrap { position: relative; perspective: 1400px; animation: rise 1s var(--ease) .15s both; }
.mock {
  padding: 18px; border-radius: 30px;
  background: rgba(255, 255, 255, .5); border: 1px solid #fff; box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .3s ease-out;
}
.mock-brief { padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-weight: 800; color: var(--navy); }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--sky-100); color: var(--blue-600); font-size: .75rem; font-weight: 700; }
.mock-room { position: relative; border-radius: 14px; overflow: hidden; }
.mock-room svg { width: 100%; height: auto; }
.scan {
  position: absolute; top: 0; bottom: 0; left: -30%; width: 26%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  animation: scan 4.5s ease-in-out infinite;
}
.mock-checks { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.mock-checks li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px 5px 6px; border-radius: 999px;
  background: var(--sky-50); border: 1px solid var(--line);
  font-size: .8rem; font-weight: 700; color: var(--navy);
  animation: rise .6s var(--ease) both;
}
.mock-checks li:nth-child(1) { animation-delay: .5s; }
.mock-checks li:nth-child(2) { animation-delay: .65s; }
.mock-checks li:nth-child(3) { animation-delay: .8s; }
.mock-checks li::before {
  content: "\2713"; display: grid; place-items: center;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 10px; font-weight: 800; line-height: 1;
}
.mock-split { width: 100%; height: 40px; }
.mock-split path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 4 6; stroke-linecap: round; animation: dash 1.1s linear infinite; }
.mock-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.offer {
  padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue);
  animation: rise .7s var(--ease) both; transition: transform .3s var(--ease), box-shadow .3s;
}
.offer:nth-child(1) { animation-delay: .95s; }
.offer:nth-child(2) { animation-delay: 1.1s; border-top-color: var(--teal); }
.offer:nth-child(3) { animation-delay: 1.25s; border-top-color: var(--amber); }
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.offer-title { display: block; margin-bottom: 8px; font-size: .85rem; font-weight: 800; color: var(--navy); }
.offer-row { display: block; margin-bottom: 7px; }
.offer-row i { display: block; font-style: normal; font-size: .68rem; font-weight: 600; color: var(--muted); line-height: 1.5; }
.offer-row b { display: block; height: 7px; width: var(--w, 60%); border-radius: 99px; background: var(--sky-200); transform-origin: 0 50%; animation: grow .9s var(--ease) 1.4s both; }
.offer-row.total { margin: 10px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); }
.offer-row.total b { background: var(--navy); height: 8px; }
.mock-note { margin: 12px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }
.float-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow);
  font-size: .85rem; font-weight: 800; color: var(--navy); white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float-chip i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: var(--blue); color: #fff; font-style: normal; font-size: .8rem; }
.chip-a { top: -20px; right: -18px; }
.chip-b { bottom: 96px; left: -34px; animation-delay: -3s; }
.chip-b i { background: var(--teal); }

/* ---------- Facts strip ---------- */
.facts { position: relative; z-index: 2; margin-top: -92px; }
.facts ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.facts li {
  display: flex; gap: 16px; align-items: flex-start; padding: 26px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.facts li:hover { border-color: var(--sky-300); box-shadow: var(--shadow); }
.facts strong { display: block; margin-bottom: 2px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--navy); }
.facts span { color: var(--muted); font-size: .96rem; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section.tint { background: var(--sky-50); }
.section-head { max-width: 740px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

.card { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.card p { margin: 0; color: var(--muted); }
.ico { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 15px; background: var(--sky-100); color: var(--blue); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- How it works: stepper ---------- */
.stepper { display: grid; grid-template-columns: .92fr 1.08fr; gap: 28px; align-items: stretch; }
.step-list { display: grid; gap: 12px; align-content: center; }
.step-tab {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  width: 100%; padding: 22px 22px 26px; text-align: left;
  border-radius: 22px; border: 1px solid var(--line); background: #fff;
  font: inherit; color: inherit; cursor: pointer; overflow: hidden;
  transition: border-color .25s, box-shadow .3s, transform .3s var(--ease);
}
.step-tab:hover { border-color: var(--sky-300); }
.step-tab.is-active { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow); transform: translateX(6px); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--sky-100); color: var(--blue); font-weight: 800; transition: background .25s, color .25s;
}
.step-tab.is-active .step-num { background: var(--blue); color: #fff; }
.step-text strong { display: block; margin-bottom: 4px; font-size: 1.15rem; letter-spacing: -.01em; color: var(--navy); }
.step-text span { display: block; color: var(--muted); font-size: .97rem; line-height: 1.55; }
.step-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; }
.step-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-400), var(--blue)); transform: scaleX(0); transform-origin: 0 50%; }
.step-tab.is-active .step-bar i { transform: scaleX(1); }
.is-auto .step-tab.is-active .step-bar i { animation: stepfill 6s linear both; }
.is-auto:hover .step-bar i { animation-play-state: paused; }

.step-stage {
  position: relative; display: grid; min-height: 440px; padding: 30px;
  border-radius: 30px; overflow: hidden; color: #d7e6f8; background: var(--dark-bg); box-shadow: var(--shadow);
}
.step-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent);
  mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent);
}
.scene { position: relative; display: grid; align-content: center; gap: 18px; padding: 8px 0; }
.js .scene { grid-area: 1 / 1; }
.js .scene:not(.is-active) { display: none; }
.scene.is-active { animation: scenein .55s var(--ease) both; }
.scene-title { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-300); }
.scene-note { margin: 0; font-size: .8rem; color: #9db9dc; }

.sb { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
.sb-photo { border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .7); }
.sb-photo svg { width: 100%; height: auto; }
.sb-fields { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sb-fields li {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15);
  animation: rise .55s var(--ease) both;
}
.sb-fields li:nth-child(1) { animation-delay: .15s; }
.sb-fields li:nth-child(2) { animation-delay: .3s; }
.sb-fields li:nth-child(3) { animation-delay: .45s; }
.sb-fields b { display: block; color: #fff; font-size: .95rem; line-height: 1.3; }
.sb-fields span { display: block; font-size: .8rem; color: #a9c4e4; line-height: 1.4; }
.sb-fields li::after {
  content: "\2713"; margin-left: auto; flex: none; display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 12px; font-weight: 800;
}

.net { width: 100%; height: auto; }
.net .wire { fill: none; stroke: rgba(255, 255, 255, .4); stroke-width: 2; stroke-dasharray: 5 7; animation: dash 1.2s linear infinite; }
.net .node { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .28); stroke-width: 1.5; }
.net .node.main { fill: var(--blue); stroke: #7cc4ff; }
.net text { fill: #fff; font-size: 14px; font-weight: 700; }
.net text.sub { fill: #cfe3fb; font-size: 11.5px; font-weight: 600; }
.net .dot { fill: var(--amber); }

.cmp { display: grid; grid-template-columns: minmax(104px, 1.25fr) repeat(3, 1fr); gap: 8px 10px; align-items: center; }
.cmp .h { padding: 8px 4px; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #fff; font-size: .86rem; font-weight: 800; text-align: center; }
.cmp .l { font-size: .84rem; font-weight: 600; color: #cfe0f5; line-height: 1.3; }
.cmp .c { display: flex; align-items: center; height: 36px; padding: 0 10px; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.cmp .c i { display: block; height: 8px; width: var(--w, 60%); border-radius: 99px; background: var(--sky-300); transform-origin: 0 50%; animation: grow .8s var(--ease) .2s both; }
.cmp .c:nth-child(4n+3) i { background: #6fe3d3; }
.cmp .c:nth-child(4n) i { background: var(--amber); }

/* ---------- Dark stage: comparison demo ---------- */
.stage-dark {
  position: relative; overflow: hidden; margin: 0 16px; border-radius: 40px;
  color: #c9dcf3; background: var(--dark-bg);
}
.stage-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.stage-dark > .wrap { position: relative; }
.stage-dark h2, .stage-dark h3 { color: #fff; }
.stage-dark .eyebrow { color: var(--sky-300); }
.demo-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 56px; align-items: center; }
.demo-copy p { font-size: 1.06rem; }
.demo-controls { display: grid; gap: 20px; margin: 28px 0 22px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; width: fit-content; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.seg-btn {
  padding: 10px 18px; border: 0; border-radius: 999px; background: transparent;
  font: inherit; font-size: .92rem; font-weight: 700; color: #dbe9fa; cursor: pointer;
  transition: background .25s, color .25s, box-shadow .25s;
}
.seg-btn:hover { color: #fff; }
.seg-btn.is-on { background: #fff; color: var(--navy); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .7); }
.range-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: .92rem; font-weight: 700; color: #dbe9fa; }
.range-head output { font-size: 1.3rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 8px; margin: 0;
  border-radius: 99px; cursor: pointer;
  background: linear-gradient(90deg, var(--blue-400) var(--fill, 50%), var(--track, rgba(255, 255, 255, .22)) var(--fill, 50%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 4px solid var(--blue-400); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .5); cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid var(--blue-400); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .5); cursor: grab;
}
input[type="range"]:focus-visible { outline-offset: 8px; }

.demo-verdict {
  min-height: 4.6em; margin: 0; padding: 16px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, .08); border-left: 3px solid var(--amber);
  color: #fff; font-weight: 600; line-height: 1.5;
}
.demo-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.d-offer {
  position: relative; padding: 18px; border-radius: 20px; background: #fff; color: var(--ink);
  border: 2px solid transparent; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8);
  transition: border-color .3s, box-shadow .3s;
}
.d-offer.is-low { border-color: var(--blue-400); box-shadow: 0 0 0 6px rgba(27, 150, 255, .22), 0 30px 50px -30px rgba(0, 0, 0, .8); }
.d-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; margin-bottom: 10px; }
.d-top b { color: var(--navy); font-size: 1rem; }
.d-badge { padding: 3px 9px; border-radius: 99px; background: var(--blue); color: #fff; font-size: .68rem; font-weight: 800; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s var(--ease); }
.is-low .d-badge { opacity: 1; transform: none; }
.d-label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.d-big { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--navy); font-variant-numeric: tabular-nums; }
.d-bar { display: flex; height: 10px; margin: 12px 0; border-radius: 99px; overflow: hidden; background: var(--sky-100); }
.d-bar i { display: block; height: 100%; transition: opacity .35s; }
.d-bar .p { background: var(--navy); }
.d-bar .d { background: var(--blue-400); }
.d-bar .a { background: var(--amber); }
.d-rows { display: grid; gap: 4px; margin: 0; font-size: .85rem; }
.d-rows div { display: flex; justify-content: space-between; gap: 8px; transition: opacity .35s; }
.d-rows dt { color: var(--muted); }
.d-rows dd { margin: 0; font-weight: 700; color: var(--navy); }
.mode-price .d-bar .d, .mode-price .d-bar .a { opacity: .22; }
.mode-price .d-rows .extra { opacity: .38; }
.d-fit { margin: 12px 0 0; padding: 6px 10px; border-radius: 10px; font-size: .78rem; font-weight: 800; text-align: center; transition: background .3s, color .3s; }
.d-fit.ok { background: #dcfae6; color: #067647; }
.d-fit.over { background: #fee4e2; color: #b42318; }
.demo-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .82rem; color: #b9cfea; }
.demo-legend li { display: inline-flex; align-items: center; gap: 7px; }
.demo-legend li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: #fff; }
.demo-legend li:nth-child(2)::before { background: var(--blue-400); }
.demo-legend li:nth-child(3)::before { background: var(--amber); }
.demo-disclaimer { margin: 10px 0 0; font-size: .82rem; color: #9db9dc; }

.crit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 72px 0 0; padding: 0; list-style: none; }
.crit li {
  position: relative; overflow: hidden; padding: 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
}
.crit li:hover { border-color: rgba(255, 255, 255, .34); }
.crit .ico { margin-bottom: 18px; background: rgba(27, 150, 255, .22); color: #9fd2ff; }
.crit h3 { margin-bottom: 6px; font-size: 1.1rem; }
.crit p { margin: 0; font-size: .95rem; color: #b9cfea; }
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(240px circle at var(--mx, -300px) var(--my, -300px), rgba(27, 150, 255, .32), transparent 70%);
}
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; }

/* ---------- How we are paid: flow ---------- */
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.flow-copy p { color: var(--muted); font-size: 1.06rem; }
.flow-steps { display: grid; gap: 10px; margin-top: 26px; }
.flow-btn {
  display: flex; gap: 14px; align-items: flex-start; width: 100%; padding: 15px 18px; text-align: left;
  border-radius: 18px; border: 1px solid var(--line); background: #fff;
  font: inherit; color: inherit; cursor: pointer;
  transition: border-color .25s, box-shadow .25s, background .25s, transform .25s var(--ease);
}
.flow-btn:hover { border-color: var(--sky-300); }
.flow-btn.is-on { border-color: var(--blue); background: var(--sky-50); box-shadow: 0 0 0 4px rgba(1, 118, 211, .12); transform: translateX(6px); }
.flow-btn[data-flow="commission"].is-on { border-color: #d97706; background: #fff8ee; box-shadow: 0 0 0 4px rgba(217, 119, 6, .14); }
.flow-n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--sky-100); color: var(--blue); font-size: .85rem; font-weight: 800; }
.flow-btn.is-on .flow-n { background: var(--blue); color: #fff; }
.flow-btn[data-flow="commission"].is-on .flow-n { background: #d97706; }
.flow-btn b { display: block; color: var(--navy); line-height: 1.35; }
.flow-btn span span { display: block; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.flow-figure { margin: 0; padding: 26px; border-radius: 30px; background: linear-gradient(180deg, var(--sky-100), #fff); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.flow-svg { width: 100%; height: auto; }
.flow-svg .edge { fill: none; stroke: #cfe0f1; stroke-width: 2; }
.flow-svg .fp { opacity: 0; transition: opacity .35s; }
.flow-svg .fp.is-on { opacity: 1; }
.flow-svg .fp path { fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-dasharray: 8 8; stroke-linecap: round; animation: dash 1s linear infinite; }
.flow-svg .fp.amber path { stroke: #d97706; }
.flow-svg .box { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.flow-svg .box.brand { fill: var(--blue); stroke: var(--blue-600); }
.flow-svg text { fill: var(--navy); font-size: 15px; font-weight: 800; }
.flow-svg text.on-brand { fill: #fff; }
.flow-svg text.small { fill: var(--muted); font-size: 11px; font-weight: 600; }
.flow-svg text.small.on-brand { fill: #d6ebff; }
.flow-caption { margin: 14px 0 0; text-align: center; font-size: .85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro p { color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.faq.is-open { border-color: var(--sky-300); box-shadow: var(--shadow-sm); }
.faq h3 { margin: 0; font-size: 1rem; letter-spacing: 0; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%;
  padding: 20px 22px; border: 0; border-radius: 18px; background: none; text-align: left;
  font: inherit; font-size: 1.06rem; font-weight: 700; color: var(--navy); cursor: pointer;
}
.faq-q::after {
  content: "+"; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--sky-100); color: var(--blue); font-size: 1.3rem; font-weight: 600; line-height: 1;
  transition: transform .35s var(--ease), background .25s, color .25s;
}
.faq.is-open .faq-q::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a > div > p { margin: 0; padding: 0 70px 22px 22px; color: var(--muted); }
.js .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.js .faq-a > div { overflow: hidden; visibility: hidden; transition: visibility 0s .4s; }
.js .faq.is-open .faq-a { grid-template-rows: 1fr; }
.js .faq.is-open .faq-a > div { visibility: visible; transition-delay: 0s; }

/* ---------- Closing call to action ---------- */
.cta {
  position: relative; overflow: hidden; padding: 76px 32px; border-radius: 36px; text-align: center;
  color: #d6ebff; background: linear-gradient(135deg, #0176d3 0%, #0b5cab 55%, #032d60 100%); box-shadow: var(--shadow);
}
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); pointer-events: none; }
.cta::before { width: 520px; height: 520px; left: -180px; top: -260px; box-shadow: 0 0 0 60px rgba(255, 255, 255, .05), 0 0 0 130px rgba(255, 255, 255, .035); }
.cta::after { width: 380px; height: 380px; right: -140px; bottom: -220px; box-shadow: 0 0 0 50px rgba(255, 255, 255, .05), 0 0 0 110px rgba(255, 255, 255, .035); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { max-width: 34em; margin: 0 auto 28px; font-size: 1.12rem; }

/* ---------- Inner pages ---------- */
.page-head { padding-bottom: 72px; }
.page-head::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -200px;
  border-radius: 50%; background: #b3a6ff; opacity: .4; filter: blur(70px);
}
.page-head::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: radial-gradient(rgba(3, 45, 96, .16) 1px, transparent 1.3px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 25%, #000 100%);
}
.page-head h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); }
.page-head .lede { margin-bottom: 0; color: #2f4467; }
.updated { display: inline-block; margin: 20px 0 0; padding: 5px 13px; border-radius: 999px; background: rgba(255, 255, 255, .75); font-size: .86rem; font-weight: 700; color: var(--blue-600); }

.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; padding: 56px 0 96px; align-items: start; }
.legal-nav { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 3px; max-height: calc(100vh - 128px); overflow: auto; padding-right: 6px; }
.legal-nav > span { margin: 0 0 8px 14px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legal-nav > a { padding: 9px 14px; border-radius: 12px; color: var(--navy); font-weight: 600; font-size: .96rem; text-decoration: none; transition: background .2s; }
.legal-nav > a:hover { background: var(--sky-100); }
.legal-nav > a[aria-current="page"] { background: var(--sky-100); color: var(--blue); }
.legal-nav .toc-label { margin-top: 22px; }
.toc { display: flex; flex-direction: column; border-left: 2px solid var(--line); margin-left: 14px; }
.toc a { margin-left: -2px; padding: 5px 0 5px 14px; border-left: 2px solid transparent; font-size: .88rem; line-height: 1.4; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--navy); }
.toc a.is-active { color: var(--blue); border-left-color: var(--blue); font-weight: 700; }

.prose { max-width: 760px; }
.prose h2 { margin: 2.1em 0 .6em; font-size: 1.5rem; letter-spacing: -.015em; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .4em; font-size: 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue); }
.note { margin: 0 0 1.8em; padding: 20px 24px; border-radius: 18px; background: linear-gradient(135deg, var(--sky-100), #f7fbff); border: 1px solid var(--sky-200); border-left: 4px solid var(--blue); color: var(--navy); }
.note p:last-child { margin-bottom: 0; }

.company-card { margin: 0 0 1.4em; padding: 22px 24px; border-radius: 18px; background: var(--sky-50); border: 1px solid var(--line); }
.company-card address { font-style: normal; line-height: 1.8; }
.todo { padding: 1px 7px; border-radius: 6px; background: #ffe08a; color: #3d2c00; font-weight: 600; font-size: .92em; }

/* ---------- Contact: brief builder ---------- */
.builder-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 36px; padding: 56px 0 96px; align-items: start; }
.builder { display: grid; gap: 18px; min-width: 0; }
.fs { min-width: 0; margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s; }
.fs:focus-within { border-color: var(--sky-300); box-shadow: var(--shadow); }
.fs legend { float: left; display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 8px; padding: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; color: var(--navy); }
.fs legend + * { clear: both; }
.fs-n { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 11px; background: var(--sky-100); color: var(--blue); font-size: .9rem; }
.hint { margin: 0 0 16px; color: var(--muted); font-size: .96rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-block; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--navy); transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.chip:hover span { border-color: var(--sky-300); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-1px); }
.chip input:checked + span::before { content: "\2713"; font-size: .8rem; }
.chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 3px; }
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.field { min-width: 0; }
.field + .field-wide, .fields + .field { margin-top: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 700; color: var(--navy); }
.input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(1, 118, 211, .15); }
textarea.input { min-height: 84px; resize: vertical; }
.unit { position: relative; }
.unit .input { padding-right: 46px; }
.unit::after { content: attr(data-unit); position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: .9rem; font-weight: 700; color: var(--muted); pointer-events: none; }
.unit.lead .input { padding: 12px 14px 12px 34px; }
.unit.lead::after { right: auto; left: 14px; }
.budget-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.budget-row input[type="range"] { --track: var(--sky-200); }
.check { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--sky-50); border: 1.5px solid var(--line); font-weight: 700; color: var(--navy); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--blue); }
.tips { margin: 0 0 16px; padding-left: 1.2em; color: var(--muted); font-size: .96rem; }
.tips li { margin-bottom: .3em; }
.tips li::marker { color: var(--blue); }

.side { position: sticky; top: 108px; display: grid; gap: 18px; min-width: 0; }
.preview { position: relative; overflow: hidden; padding: 26px; border-radius: 28px; color: #d7e6f8; background: var(--dark-bg); box-shadow: var(--shadow); }
.preview h2 { margin-bottom: 14px; font-size: 1.3rem; color: #fff; }
.plan { border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15); }
.plan svg { width: 100%; height: auto; }
.plan .area { fill: rgba(27, 150, 255, .28); stroke: #7cc4ff; stroke-width: 2; transition: all .35s var(--ease); }
.plan .area.empty { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .35); stroke-dasharray: 6 7; }
.plan text { fill: #fff; font-size: 12.5px; font-weight: 700; }
.plan text.ph { fill: #a9c4e4; font-weight: 600; }
.sum { display: grid; gap: 10px; margin: 18px 0 16px; padding: 0; list-style: none; font-size: .95rem; }
.sum li { display: flex; gap: 12px; align-items: flex-start; }
.sum li::before {
  content: ""; flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); font-size: 11px; font-weight: 800; color: #fff; transition: background .25s, border-color .25s;
}
.sum li.done::before { content: "\2713"; background: var(--teal); border-color: var(--teal); }
.sum b { display: block; color: #fff; line-height: 1.35; }
.sum i { display: block; font-style: normal; color: #b9cfea; line-height: 1.45; word-break: break-word; }
.meter { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--blue-400), #6fe3d3); transition: width .45s var(--ease); }
.tiny { margin: 8px 0 0; font-size: .84rem; color: #a9c4e4; }
.preview .btn { width: 100%; margin-top: 16px; }
.preview .btn + .btn { margin-top: 10px; }
.side .card h2 { font-size: 1.2rem; }
.side .card address { font-style: normal; line-height: 1.8; }
.side .card p { margin-top: 12px; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 76px 0 28px; background: var(--navy-950); color: #b9cbe2; font-size: .96rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue-400), var(--teal), var(--amber)); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.2fr; gap: 40px; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer h2 { margin-bottom: 16px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7fa3cf; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #e6f0fb; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer a[aria-current="page"] { color: #fff; font-weight: 700; }
.site-footer address { font-style: normal; line-height: 1.85; }
.site-footer address strong { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: #8fa8c8; }
.noscript { padding: 16px 20px; text-align: center; font-size: .92rem; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease), background .2s;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); }

/* ---------- Scroll reveal (only armed by script once the page scrolls) ---------- */
[data-reveal] { transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].rv-wait { opacity: 0; transform: translateY(28px); }
[data-reveal="stagger"] { transition: none; }
[data-reveal="stagger"].rv-wait { opacity: 1; transform: none; }
[data-reveal="stagger"] > * {
  transition: opacity .7s var(--ease) calc(var(--i, 0) * 90ms), transform .7s var(--ease) calc(var(--i, 0) * 90ms), border-color .25s, box-shadow .25s;
}
[data-reveal="stagger"] > :nth-child(2) { --i: 1; }
[data-reveal="stagger"] > :nth-child(3) { --i: 2; }
[data-reveal="stagger"] > :nth-child(4) { --i: 3; }
[data-reveal="stagger"].rv-wait > * { opacity: 0; transform: translateY(24px); }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes stepfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scenein { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes dash { to { stroke-dashoffset: -48; } }
@keyframes floatA { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.12); } }
@keyframes floatB { from { transform: translate(0, 0) scale(1.05); } to { transform: translate(-70px, 50px) scale(.95); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-34px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes scan { 0%, 55% { left: -30%; } 100% { left: 120%; } }
@keyframes sheen { to { background-position: -200% 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(1, 118, 211, .55); } 100% { box-shadow: 0 0 0 10px rgba(1, 118, 211, 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .chip-b { display: none; }
  .chip-a { right: -6px; }
  .crit { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-menu {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
    border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; animation: rise .3s var(--ease) both; }
  .nav-menu a:not(.btn) { padding: 12px 14px; }
  .menu-cta { display: inline-flex; margin-top: 8px; }

  .hero { padding-bottom: 180px; }
  .hero-grid, .stepper, .demo-grid, .flow, .faq-grid, .builder-grid { grid-template-columns: 1fr; gap: 40px; }
  .facts ul { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .step-tab.is-active, .flow-btn.is-on { transform: none; }
  .step-stage { min-height: 380px; }
  .faq-intro, .side { position: static; }
  .stage-dark { margin: 0 8px; border-radius: 30px; }
  .crit { margin-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; max-height: none; overflow: visible; padding-right: 0; }
  .legal-nav > span, .legal-nav .toc { display: none; }
  .legal-nav > a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero, .page-head { padding-top: calc(var(--header-h) + 36px); }
  .chip-a { display: none; }
  .mock { padding: 12px; border-radius: 22px; }
  .mock-offers { gap: 7px; }
  .offer { padding: 10px 8px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .step-stage { padding: 20px; border-radius: 24px; min-height: 0; }
  .sb { grid-template-columns: 1fr; }
  .demo-offers { grid-template-columns: 1fr; }
  .seg { width: 100%; }
  .seg-btn { flex: 1 1 auto; padding: 10px 12px; }
  .crit { grid-template-columns: 1fr; }
  .flow-figure { padding: 14px; border-radius: 22px; }
  .faq-q { padding: 18px; font-size: 1rem; }
  .faq-a > div > p { padding: 0 18px 20px; }
  .cta { padding: 56px 22px; border-radius: 28px; }
  .fs { padding: 20px; }
  .fields { grid-template-columns: 1fr; }
  .budget-row { grid-template-columns: 1fr; }
  .preview { padding: 20px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .net .dot, .scan { display: none; }
}

@media print {
  .site-header, .to-top, .legal-nav, .clouds, .hero-bg { display: none !important; }
  .rv-wait, .rv-wait > * { opacity: 1 !important; transform: none !important; }
}
