/* urbiz: brand palette from urbiz-03-palette.png */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(/assets/fonts/heebo-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(/assets/fonts/heebo-latin.woff2) format('woff2');
  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 {
  --night: #0b0b0a;
  --graphite: #1a1a18;
  --moss: #2e3a0a;
  --glow: #d6ff3d;
  --light: #f5f5f0;
  --text-2: #c5cac1;
  --text-3: #8d938a;
  --card: #111411;
  --line: #262b24;
  --on-lime: #0a0c08;
  --glow-a: rgba(214, 255, 61, .16);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 5vw, 56px);
  --radius: 22px;
  --hdr-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--light);
  font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}
body::after { /* film grain */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--glow); color: var(--on-lime); }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: fixed; top: 10px; inset-inline-start: 10px; z-index: 200;
  background: var(--glow); color: var(--on-lime); font-weight: 800;
  padding: 12px 18px; border-radius: 999px; text-decoration: none;
  transform: translateY(-160%); transition: transform .25s var(--ease-out);
}
.skip:focus { transform: none; }
main:focus { outline: none; }

/* ---------- shared ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .38em 1em; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(17, 20, 17, .7);
  color: var(--text-2); font-size: .875rem; font-weight: 600; line-height: 1.4;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px 1px var(--glow); flex: none; }
.h2 {
  font-weight: 900; font-size: clamp(2.1rem, 8.4vw, 4.6rem); line-height: 1.04;
  letter-spacing: -.02em; text-wrap: balance;
}
.h2 em, .hero__title .hl { font-style: normal; color: var(--glow); text-shadow: 0 0 34px rgba(214, 255, 61, .35); }
.sec { position: relative; padding-block: clamp(88px, 14vw, 168px); }
.sec__head { display: grid; gap: 18px; justify-items: start; margin-bottom: clamp(40px, 6vw, 72px); max-width: 900px; }
.sec__lead { color: var(--text-2); font-size: clamp(1.1rem, 2.6vw, 1.35rem); max-width: 40ch; }

.btn {
  --b: var(--line);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 800; font-size: 1.0625rem; text-decoration: none; white-space: nowrap;
  border: 1px solid var(--b); cursor: pointer; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s, border-color .25s, color .25s;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn--lime { background: var(--glow); color: var(--on-lime); --b: var(--glow); box-shadow: 0 0 0 0 rgba(214, 255, 61, 0), 0 10px 30px -10px rgba(214, 255, 61, .55); }
.btn--ghost { background: rgba(17, 20, 17, .6); color: var(--light); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .95rem; }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 1.15rem; }
@media (hover: hover) {
  .btn--lime:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(214, 255, 61, .14), 0 18px 44px -12px rgba(214, 255, 61, .7); }
  .btn--ghost:hover { --b: var(--glow); color: var(--glow); transform: translateY(-2px); }
}
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.link {
  display: inline-flex; gap: .4em; align-items: center; font-weight: 800; color: var(--glow);
  text-decoration: none; padding-block: 8px; background: linear-gradient(currentColor, currentColor) 100% 100% / 0 2px no-repeat;
  transition: background-size .4s var(--ease-out);
}
@media (hover: hover) { .link:hover { background-size: 100% 2px; } }

.halo { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(10px); z-index: 0; }
.halo--a {
  width: max(150vw, 700px); max-width: 1100px; aspect-ratio: 1; top: -30%; inset-inline-end: -70%;
  background: radial-gradient(closest-side, rgba(214, 255, 61, .38), rgba(120, 150, 20, .14) 45%, transparent 72%);
}
.halo--b {
  width: max(140vw, 620px); max-width: 900px; aspect-ratio: 1; bottom: -34%; inset-inline-start: -62%;
  background: radial-gradient(closest-side, rgba(214, 255, 61, .26), rgba(46, 58, 10, .3) 50%, transparent 74%);
}
@media (min-width: 900px) {
  .halo--a { width: 1100px; top: -45%; inset-inline-end: -12%; }
  .halo--b { width: 900px; bottom: -55%; inset-inline-start: -14%; }
}
.halo--c {
  width: min(140vw, 1300px); aspect-ratio: 1; top: 10%; left: 50%; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(46, 58, 10, .55), transparent 70%);
}

/* reveal */
.motion .rv { opacity: 0; translate: 0 34px; filter: blur(6px); transition: opacity .9s var(--ease-out), translate .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--d, 0s); }
.motion .rv.in { opacity: 1; translate: 0 0; filter: none; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h);
  padding-top: env(safe-area-inset-top);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.hdr.is-solid { background: rgba(11, 11, 10, .72); border-color: rgba(38, 43, 36, .8); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.hdr__in { height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr__logo { position: relative; z-index: 2; display: block; padding: 6px 0; border-radius: 8px; }
.hdr__logo img { width: 108px; }
.hdr__nav { display: flex; align-items: center; gap: 28px; }
.hdr__nav ul { display: flex; gap: 26px; list-style: none; padding: 0; margin: 0; }
.hdr__nav ul a { text-decoration: none; color: var(--text-2); font-weight: 600; font-size: .98rem; padding: 8px 2px; transition: color .25s; }
.hdr__nav ul a:hover { color: var(--light); }
.hdr__menu { display: none; }

@media (max-width: 859px) {
  .hdr__menu {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line); background: rgba(17, 20, 17, .7); cursor: pointer; position: relative; z-index: 2;
  }
  .burger { width: 18px; height: 10px; position: relative; }
  .burger i { position: absolute; inset-inline: 0; height: 2px; border-radius: 2px; background: var(--light); transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
  .burger i:first-child { top: 0; }
  .burger i:last-child { top: 8px; }
  .hdr__menu[aria-expanded='true'] .burger i:first-child { top: 4px; transform: rotate(45deg); }
  .hdr__menu[aria-expanded='true'] .burger i:last-child { top: 4px; transform: rotate(-45deg); }
  .nav-open .hdr { height: 100vh; height: 100dvh; }
  .hdr__nav {
    position: absolute; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: stretch; gap: 40px;
    padding: calc(var(--hdr-h) + 24px) var(--gutter) 40px;
    background: radial-gradient(ellipse 90% 50% at 50% 100%, rgba(214, 255, 61, .16), transparent 70%), var(--night);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease-out), visibility 0s .4s;
  }
  .hdr__nav ul { flex-direction: column; gap: 6px; }
  .hdr__nav ul a { display: block; font-size: 2rem; font-weight: 900; color: var(--light); padding: 8px 0; translate: 0 16px; opacity: 0; transition: translate .6s var(--ease-out), opacity .6s var(--ease-out), color .25s; }
  .nav-open .hdr__nav { opacity: 1; visibility: visible; transition: opacity .4s var(--ease-out); }
  .nav-open .hdr__nav ul a { translate: 0 0; opacity: 1; }
  .nav-open .hdr__nav li:nth-child(2) a { transition-delay: .05s; }
  .nav-open .hdr__nav li:nth-child(3) a { transition-delay: .1s; }
  .nav-open .hdr__nav li:nth-child(4) a { transition-delay: .15s; }
  .nav__cta { min-height: 58px; font-size: 1.15rem; }
  .nav-open { overflow: hidden; }
  .no-js .hdr__menu { display: none; }
  .no-js .hdr__nav { position: static; opacity: 1; visibility: visible; background: none; padding: 0; flex-direction: row; }
  .no-js .hdr__nav ul { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center; overflow-x: clip;
  padding: calc(var(--hdr-h) + 28px) 0 96px;
}
.hero__in { position: relative; z-index: 1; display: grid; gap: 28px; justify-items: center; text-align: center; }
.hero__copy { display: grid; gap: 22px; justify-items: center; }
.hero__sym { position: relative; width: clamp(112px, 30vw, 380px); aspect-ratio: 800 / 904; --bx: 0px; --by: 0px; }
.hero__sym img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sym__u { z-index: 2; }
.sym__ball { z-index: 1; translate: var(--bx) var(--by); transition: translate .6s var(--ease-out); }
.sym__halo {
  position: absolute; inset: -40%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 255, 61, .3), rgba(214, 255, 61, .06) 55%, transparent 70%);
}
.hero__title { font-weight: 900; font-size: clamp(2.55rem, 11.2vw, 6.4rem); line-height: 1.02; letter-spacing: -.025em; }
.hero__title .ln { display: block; text-wrap: balance; }
.hero__title .ln--dim { color: var(--text-3); }
.hero__title .w { display: inline-block; }
.hero__lead { color: var(--text-2); font-size: clamp(1.1rem, 3.2vw, 1.4rem); max-width: 34ch; text-wrap: balance; }
.hero__lead strong { color: var(--light); font-weight: 800; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; width: 100%; }
.hero__ctas .btn { flex: 1 1 200px; max-width: 280px; }
.hero__cue {
  position: absolute; z-index: 1; bottom: calc(24px + env(safe-area-inset-bottom)); inset-inline-start: 50%; translate: 50% 0;
  width: 30px; height: 48px; border: 1.5px solid var(--line); border-radius: 999px; display: grid; justify-items: center; padding-top: 9px;
}
.hero__cue span { width: 4px; height: 9px; border-radius: 4px; background: var(--glow); box-shadow: 0 0 8px var(--glow); }

@media (min-width: 900px) {
  .hero__in { grid-template-columns: 1.35fr 1fr; text-align: start; justify-items: start; gap: 40px; }
  .hero__copy { justify-items: start; order: 0; }
  .hero__sym { order: 1; justify-self: center; width: clamp(240px, 26vw, 380px); }
  .hero__ctas { justify-content: flex-start; }
  .hero__ctas .btn { flex: 0 0 auto; }
}

/* hero intro motion (JS + motion allowed) */
@media (prefers-reduced-motion: no-preference) {
  .motion .hero__title .w { opacity: 0; translate: 0 .5em; filter: blur(10px); }
  .motion .hero__pill, .motion .hero__lead, .motion .hero__ctas, .motion .hdr { opacity: 0; translate: 0 18px; }
  .motion .hdr { translate: 0 -12px; }
  .motion .sym__ball { opacity: 0; }
  .motion .sym__u { opacity: 0; scale: .86; }
  .motion .sym__halo { opacity: 0; scale: .6; }
  .is-ready .hero__title .w { animation: wordIn 1s var(--ease-out) forwards; animation-delay: calc(.35s + var(--i) * .07s); }
  .is-ready .hero__pill { animation: fadeUp .9s var(--ease-out) .2s forwards; }
  .is-ready .hero__lead { animation: fadeUp .9s var(--ease-out) 1s forwards; }
  .is-ready .hero__ctas { animation: fadeUp .9s var(--ease-out) 1.15s forwards; }
  .is-ready .hdr { animation: fadeUp .9s var(--ease-out) .5s forwards; }
  .is-ready .sym__u { animation: uIn 1.1s var(--ease-out) .1s forwards; }
  .is-ready .sym__ball { animation: ballDrop 1.25s .55s forwards, ballFloat 6s ease-in-out 2.4s infinite; }
  .is-ready .sym__halo { animation: haloIn 1.4s var(--ease-out) 1.1s forwards, haloPulse 5s ease-in-out 2.6s infinite; }
  .halo--a { animation: drift 18s ease-in-out infinite alternate; }
  .halo--b { animation: drift 22s ease-in-out -6s infinite alternate-reverse; }
  .hero__cue span { animation: cue 2.2s var(--ease-io) infinite; }
}
@keyframes wordIn { to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes fadeUp { to { opacity: 1; translate: 0 0; } }
@keyframes uIn { to { opacity: 1; scale: 1; } }
@keyframes ballDrop {
  0% { opacity: 0; transform: translateY(-75%); animation-timing-function: cubic-bezier(.55, 0, .9, .4); }
  15% { opacity: 1; }
  52% { transform: translateY(0); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  68% { transform: translateY(-9%); animation-timing-function: cubic-bezier(.6, 0, .9, .5); }
  82% { transform: translateY(0); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  91% { transform: translateY(-2.5%); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes ballFloat { 0%, 100% { opacity: 1; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3%); } }
@keyframes haloIn { 0% { opacity: 0; scale: .6; } 40% { opacity: 1; scale: 1.15; } 100% { opacity: .85; scale: 1; } }
@keyframes haloPulse { 0%, 100% { opacity: .85; scale: 1; } 50% { opacity: 1; scale: 1.08; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-6%, 8%) scale(1.12); } }
@keyframes cue { 0% { translate: 0 0; opacity: 1; } 70% { translate: 0 16px; opacity: 0; } 100% { translate: 0 0; opacity: 0; } }

/* ---------- problem (scroll scene) ---------- */
.problem { position: relative; --p: 0; }
.motion .problem { height: 260vh; }
.problem__stick { position: relative; min-height: 100svh; display: grid; align-items: center; padding-block: 96px; }
.motion .problem__stick { position: sticky; top: 0; height: 100svh; padding-block: 0; }
.problem:not(.motion *) { --p: .8; }
.problem__in { display: grid; gap: clamp(28px, 6vw, 72px); justify-items: center; text-align: center; }
.problem__copy { display: grid; gap: 20px; justify-items: center; max-width: 820px; }
.ring { position: relative; width: clamp(150px, 42vw, 300px); aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; rotate: -90deg; scale: -1 1; overflow: visible; }
.ring circle { fill: none; stroke-width: 3; }
.ring__track { stroke: var(--line); }
.ring__bar {
  stroke: var(--glow); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p) * 1.25);
  filter: drop-shadow(0 0 6px rgba(214, 255, 61, .8));
}
.ring__sec { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.ring__sec b { font-size: clamp(3.4rem, 15vw, 7rem); font-weight: 900; color: var(--glow); text-shadow: 0 0 40px rgba(214, 255, 61, .45); font-variant-numeric: tabular-nums; }
.ring__sec small { font-size: .95rem; color: var(--text-3); font-weight: 700; margin-top: 6px; }
.problem__text { font-size: clamp(1.4rem, 5vw, 2.5rem); font-weight: 800; line-height: 1.3; text-wrap: balance; }
.motion .problem__text .pw { color: #4a5047; transition: color .35s; }
.motion .problem__text .pw.lit { color: var(--light); }
.motion .problem__text .pw.lit.em { color: var(--glow); }
@media (min-width: 900px) {
  .problem__in { grid-template-columns: auto 1fr; text-align: start; justify-items: start; align-items: center; }
  .problem__copy { justify-items: start; }
}

/* ---------- services ---------- */
.cards { display: grid; gap: 14px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  --mx: 50%; --my: 0%; --on: 0;
  position: relative; display: grid; gap: 10px; align-content: start;
  padding: 26px 24px 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  overflow: hidden; isolation: isolate; min-height: 220px;
  transition: border-color .6s, translate .9s var(--ease-out), opacity .9s var(--ease-out), filter .9s var(--ease-out), box-shadow .6s;
}
.card::before { /* spotlight */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: var(--on);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(214, 255, 61, .13), transparent 60%);
  transition: opacity .6s;
}
.card::after { /* lit border */
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(214, 255, 61, .9), rgba(214, 255, 61, 0) 45%, rgba(214, 255, 61, 0) 70%, rgba(214, 255, 61, .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: var(--on); transition: opacity .6s;
}
.card.lit { --on: 1; box-shadow: 0 30px 60px -30px rgba(214, 255, 61, .25); }
.card__num { font-weight: 900; font-size: 1rem; color: var(--glow); letter-spacing: .04em; text-shadow: 0 0 14px rgba(214, 255, 61, .6); }
.card__ico { width: 52px; height: 52px; margin-block: 14px 8px; fill: none; stroke: var(--text-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .6s; }
.card.lit .card__ico { stroke: var(--glow); }
.card__title { font-size: 1.9rem; font-weight: 900; line-height: 1.1; }
.card__text { color: var(--text-2); font-size: 1.06rem; }

/* ---------- template generator ---------- */
.gen {
  display: grid; gap: 22px; padding: clamp(20px, 4vw, 40px); border-radius: 28px;
  background: linear-gradient(180deg, #121512, #0e100e); border: 1px solid var(--line);
}
@media (min-width: 980px) { .gen { grid-template-columns: 1fr 1.25fr; align-items: center; gap: 44px; } }
.gen__form { display: grid; gap: 14px; }
.gen__label { font-weight: 800; font-size: clamp(1.2rem, 3.4vw, 1.5rem); line-height: 1.3; }
.gen__row { display: grid; gap: 10px; }
.gen__input {
  min-height: 56px; padding: 0 20px; border-radius: 16px; border: 1px solid #3a4136; background: var(--night);
  font-size: 1.0625rem; color: var(--light); transition: border-color .25s, box-shadow .25s;
}
.gen__input::placeholder { color: #7f857c; }
.gen__input:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 4px rgba(214, 255, 61, .18); }
.gen__btn { width: 100%; min-height: 56px; }
.gen__note { color: var(--text-3); font-size: .9rem; }
.gen__out { display: grid; gap: 16px; min-width: 0; }
.gen__status { display: grid; gap: 10px; opacity: 0; transition: opacity .35s; }
.gen.is-busy .gen__status, .gen.is-built .gen__status { opacity: 1; }
.gen.is-clone .gen__status { opacity: 0; }
.gen__again[hidden] { display: none; }
.gen__step { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .98rem; color: var(--text-2); min-height: 1.6em; }
.gen__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); flex: none; }
.motion .gen.is-busy .gen__pulse { animation: genPulse 1s ease-in-out infinite; }
@keyframes genPulse { 50% { opacity: .25; scale: .7; } }
.gen__bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.gen__bar span { display: block; height: 100%; width: 0; background: var(--glow); box-shadow: 0 0 12px var(--glow); }
.gen__view { display: grid; align-items: center; }
.gen__view > * { grid-area: 1 / 1; min-width: 0; }
.gen__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; min-height: 42px; }
.gen__result { color: var(--text-2); font-weight: 700; font-size: .98rem; }
.gen.is-built .gen__result { color: var(--light); }
.gen.is-done .gen__result { color: var(--glow); font-weight: 900; font-size: clamp(1.2rem, 3.6vw, 1.6rem); text-shadow: 0 0 24px rgba(214, 255, 61, .35); }
.motion .gen.is-done .gen__result { animation: genIn .7s var(--ease-out) both; }
.motion .gen.is-done .gen__again:not([hidden]) { animation: genIn .7s var(--ease-out) .25s both; }
@keyframes genIn { from { opacity: 0; translate: 0 12px; } }

/* the stage: laptop + phone showing the template site */
.gstage { --p: 1; position: relative; padding-bottom: 12%; transition: opacity .6s var(--ease-out), scale .8s var(--ease-out), visibility 0s; }
.gstage .dev--laptop { margin-inline-end: 14%; }
@media (max-width: 559px) {
  .gstage { padding-bottom: 34%; }
  .gstage .dev--laptop { margin-inline-end: 0; }
  .gstage .dev--phone { width: 30%; }
}
.gscreen { position: relative; container-type: inline-size; overflow: hidden; background: #fff; }
.gscreen--l { aspect-ratio: 16 / 10; }
.gscreen--m { aspect-ratio: 480 / 1038; border-radius: 17px; }
.gscreen > .ts { transition: filter .7s var(--ease-out); }
.gen:not(.is-run) .gscreen > .ts { filter: saturate(.2) brightness(.5); }
.motion .gen.is-busy .gscreen::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(214, 255, 61, .22) 50%, transparent 65%); background-size: 260% 100%;
  animation: genSweep 1.3s linear infinite;
}
@keyframes genSweep { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.gen.is-clone .gstage { opacity: 0; scale: .72; visibility: hidden; transition: opacity .5s, scale .7s var(--ease-out), visibility 0s .7s; }

/* the cheap template site itself (sized by its screen: 1cqw = 1% of the screen width) */
.ts {
  height: 100%; display: flex; flex-direction: column; overflow: hidden; background: #fff; color: #374151;
  font-family: Arial, 'Helvetica Neue', sans-serif; font-weight: 400; line-height: 1.25; text-align: right;
}
.ts i { font-style: normal; }
.ts__nav { flex: none; display: flex; align-items: center; gap: 1.6cqw; height: 7cqw; padding-inline: 3cqw; border-bottom: 1px solid #e5e7eb; }
.ts__logo { width: 4.2cqw; height: 4.2cqw; border-radius: 50%; background: #2563eb; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 2.2cqw; flex: none; }
.ts__brand { font-size: 2.2cqw; font-weight: 700; color: #1f2937; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts__links { margin-inline-start: auto; display: flex; gap: 2.2cqw; font-size: 1.5cqw; color: #6b7280; white-space: nowrap; }
.ts__burger { display: none; margin-inline-start: auto; width: 7cqw; gap: 1.3cqw; flex-direction: column; }
.ts__burger i { display: block; height: 1cqw; border-radius: 1cqw; background: #6b7280; }
.ts__hero { flex: none; position: relative; height: 28cqw; overflow: hidden; background: linear-gradient(180deg, #cfe7fc, #8dbbec); }
.ts__sun { position: absolute; top: 4cqw; inset-inline-start: 9cqw; width: 7cqw; height: 7cqw; border-radius: 50%; background: #fff6c4; box-shadow: 0 0 4cqw #fff6c4; }
.ts__hill { position: absolute; border-radius: 50%; }
.ts__hill--a { width: 80cqw; height: 34cqw; bottom: -20cqw; inset-inline-end: -16cqw; background: #79a8df; }
.ts__hill--b { width: 90cqw; height: 30cqw; bottom: -20cqw; inset-inline-start: -24cqw; background: #5a8fcf; }
.ts__img { position: absolute; inset: 0; opacity: 0; background: var(--img, none) center / cover no-repeat; }
.ts__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, .35), rgba(15, 23, 42, .6)); }
.ts__hero.has-img .ts__img { opacity: 1; }
.ts__hero.has-img .ts__title { color: #fff; }
.ts__hero.has-img .ts__sub { color: #e5e7eb; }
.ts__copy { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1.3cqw; text-align: center; padding-inline: 6cqw; }
.ts__title { font-size: 4.2cqw; font-weight: 700; color: #0f2a4a; line-height: 1.15; }
.ts__sub { font-size: 1.8cqw; color: #1e3a5f; }
.ts__btn { margin-top: .6cqw; padding: 1cqw 3.4cqw; border-radius: .8cqw; background: #2563eb; color: #fff; font-size: 1.7cqw; font-weight: 700; }
.ts__svc { flex: none; padding: 2.6cqw 4cqw 2.2cqw; display: grid; gap: 1.8cqw; }
.ts__h { font-size: 2.4cqw; font-weight: 700; color: #1f2937; text-align: center; }
.ts__boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.ts__boxes > span { display: grid; justify-items: center; gap: 1cqw; padding: 1.8cqw 1cqw; border: 1px solid #e5e7eb; border-radius: 1cqw; font-size: 1.7cqw; font-weight: 700; color: #374151; }
.ts__boxes i { width: 4cqw; height: 4cqw; border-radius: 50%; background: #dbeafe; border: .4cqw solid #93c5fd; }
.ts__foot { margin-top: auto; flex: none; padding: 1.3cqw; background: #1f2937; color: #9ca3af; font-size: 1.3cqw; text-align: center; }
/* the phone layout of the same template */
.ts--m .ts__nav { height: 16cqw; gap: 3cqw; padding-inline: 6cqw; }
.ts--m .ts__logo { width: 9cqw; height: 9cqw; font-size: 5cqw; }
.ts--m .ts__brand { font-size: 5.4cqw; }
.ts--m .ts__links { display: none; }
.ts--m .ts__burger { display: flex; }
.ts--m .ts__hero { height: 74cqw; }
.ts--m .ts__sun { width: 16cqw; height: 16cqw; top: 8cqw; }
.ts--m .ts__hill--a { width: 170cqw; height: 70cqw; bottom: -42cqw; inset-inline-end: -40cqw; }
.ts--m .ts__hill--b { width: 180cqw; height: 62cqw; bottom: -42cqw; inset-inline-start: -60cqw; }
.ts--m .ts__copy { gap: 3cqw; padding-inline: 8cqw; }
.ts--m .ts__title { font-size: 9cqw; }
.ts--m .ts__sub { font-size: 5cqw; }
.ts--m .ts__btn { font-size: 5cqw; padding: 2.4cqw 8cqw; border-radius: 2cqw; }
.ts--m .ts__svc { padding: 7cqw 7cqw 6cqw; gap: 4cqw; }
.ts--m .ts__h { font-size: 6.4cqw; }
.ts--m .ts__boxes { grid-template-columns: 1fr; gap: 3cqw; }
.ts--m .ts__boxes > span { grid-auto-flow: column; justify-content: start; align-items: center; gap: 3cqw; padding: 3.4cqw 4cqw; font-size: 5cqw; border-radius: 2.4cqw; }
.ts--m .ts__boxes i { width: 8cqw; height: 8cqw; border-width: 1cqw; }
.ts--m .ts__foot { font-size: 3.6cqw; padding: 3.4cqw; }
/* building it piece by piece */
.motion .gstage .tp { transition: opacity .55s var(--ease-out), translate .7s var(--ease-out), clip-path .9s var(--ease-out); }
.motion .gstage .tp:not(.on) { opacity: 0; translate: 0 3cqw; }
.motion .gstage .ts__hero.tp:not(.on) { opacity: 1; translate: none; clip-path: inset(0 0 100% 0); }
.motion .gstage .ts__hero.tp.on { clip-path: inset(0 0 0 0); }

/* the clones: the exact same site, six times */
.clones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; visibility: hidden; }
@media (min-width: 560px) { .clones { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gen.is-clone .clones { visibility: visible; }
.clone { display: grid; gap: 7px; min-width: 0; }
.clone__frame { border-radius: 10px; overflow: hidden; border: 1px solid #2c312a; background: #141613; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .9); }
.clone__bar { display: flex; align-items: center; gap: 3px; height: 12px; padding-inline: 6px; direction: ltr; border-bottom: 1px solid #22261f; }
.clone__bar i { width: 4px; height: 4px; border-radius: 50%; background: #2f342d; }
.clone .gscreen { aspect-ratio: 16 / 10; }
.clone__cap { font-size: .85rem; font-weight: 700; color: var(--text-3); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.35em; }
.clone--you .clone__frame { border-color: rgba(214, 255, 61, .75); box-shadow: 0 0 0 3px rgba(214, 255, 61, .12), 0 0 34px -8px rgba(214, 255, 61, .5); }
.clone--you .clone__cap { color: var(--glow); }
.motion .gen.is-clone .clone { animation: popIn .7s var(--ease-out) both; animation-delay: calc(var(--i) * .09s); }
@keyframes popIn { from { opacity: 0; translate: 0 14px; scale: .94; } to { opacity: 1; translate: 0 0; scale: 1; } }

.truth { display: grid; gap: clamp(26px, 4vw, 40px); margin-top: clamp(56px, 9vw, 110px); max-width: 980px; }
.truth__line { font-size: clamp(1.3rem, 4.2vw, 2.1rem); font-weight: 700; line-height: 1.35; color: var(--text-2); text-wrap: pretty; }
.truth__line strong { color: var(--light); font-weight: 900; }
.truth__big { font-size: clamp(2.2rem, 9vw, 5rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; }
.truth__big span { display: block; color: var(--glow); text-shadow: 0 0 40px rgba(214, 255, 61, .35); }

/* ---------- process ---------- */
.process { --p: 0; }
.steps { position: relative; display: grid; gap: clamp(20px, 4vw, 32px); padding-inline-start: 38px; }
.steps::before, .steps::after { content: ''; position: absolute; inset-inline-start: 11px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--line); }
.steps::after { background: var(--glow); box-shadow: 0 0 12px var(--glow); transform-origin: top; scale: 1 var(--p); }
.no-js .steps::after { scale: 1; }
.step {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 4vw, 40px); align-items: center;
  padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: border-color .6s, box-shadow .6s;
}
.step::before {
  content: ''; position: absolute; inset-inline-start: -32px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: var(--night); border: 2px solid var(--line); transition: background-color .4s, border-color .4s, box-shadow .4s;
}
.step__num { font-size: clamp(3.2rem, 12vw, 6.5rem); font-weight: 900; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px #3a4036; transition: color .6s, -webkit-text-stroke-color .6s, text-shadow .6s; font-variant-numeric: tabular-nums; }
.step__title { font-size: clamp(1.5rem, 4.6vw, 2.2rem); font-weight: 900; line-height: 1.15; margin-bottom: 4px; }
.step p { color: var(--text-2); font-size: clamp(1.02rem, 2.8vw, 1.2rem); }
.step.lit { border-color: rgba(214, 255, 61, .35); box-shadow: 0 24px 60px -34px rgba(214, 255, 61, .4); }
.step.lit::before { background: var(--glow); border-color: var(--glow); box-shadow: 0 0 14px var(--glow); }
.step.lit .step__num { color: var(--glow); -webkit-text-stroke-color: var(--glow); text-shadow: 0 0 30px rgba(214, 255, 61, .5); }
.no-js .step .step__num { color: var(--glow); }

/* ---------- work ---------- */
.work { overflow: clip; }
.work .wrap { position: relative; z-index: 1; }
.proj { display: grid; gap: 28px; align-items: center; }
.proj + .proj { margin-top: clamp(90px, 14vw, 170px); }
@media (min-width: 980px) {
  .proj { grid-template-columns: 1.6fr 1fr; gap: 56px; }
  .proj--flip .stage { order: 1; }
}
.proj__info { display: grid; gap: 14px; justify-items: start; }
.proj__title { font-size: clamp(2.2rem, 7.6vw, 3.8rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.stage {
  --p: 1; position: relative; perspective: 1400px; padding-bottom: 12%; padding-inline-start: 0;
}
.dev { position: relative; background: #050605; border: 1px solid #2c312a; overflow: hidden; }
.dev__vid { width: 100%; height: 100%; object-fit: cover; background: #050605; }
.dev--laptop {
  border-radius: 14px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 6px #121411, 0 0 80px -20px rgba(214, 255, 61, .2);
  transform-origin: 50% 100%;
  transform: rotateX(calc((1 - var(--p)) * 22deg)) rotateY(calc((1 - var(--p)) * -10deg)) scale(calc(.9 + var(--p) * .1));
  margin-inline-end: 14%;
}
.proj--flip .dev--laptop { margin-inline-end: 0; margin-inline-start: 14%; transform: rotateX(calc((1 - var(--p)) * 22deg)) rotateY(calc((1 - var(--p)) * 10deg)) scale(calc(.9 + var(--p) * .1)); }
.dev__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding-inline: 12px; background: #141613; border-bottom: 1px solid #22261f; direction: ltr; }
.dev__bar i { width: 8px; height: 8px; border-radius: 50%; background: #2f342d; }
.dev__bar span { margin-inline: auto; font-size: .72rem; color: var(--text-3); background: #0b0c0b; border-radius: 6px; padding: 2px 12px; font-weight: 600; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dev--laptop .dev__vid { aspect-ratio: 16 / 10; }
.dev--phone {
  position: absolute; bottom: 0; inset-inline-end: 0; width: 27%; border-radius: 22px; padding: 5px; background: #0d0f0d;
  border: 1px solid #343a31;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .95), 0 0 50px -14px rgba(214, 255, 61, .3);
  transform: translateY(calc((1 - var(--p)) * 30%)) rotate(calc((1 - var(--p)) * -6deg));
}
.proj--flip .dev--phone { inset-inline-end: auto; inset-inline-start: 0; transform: translateY(calc((1 - var(--p)) * 30%)) rotate(calc((1 - var(--p)) * 6deg)); }
.dev--phone .dev__vid { aspect-ratio: 480 / 1038; border-radius: 17px; }
.vidbtn {
  position: absolute; z-index: 3; top: 10px; inset-inline-start: 10px; display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(11, 11, 10, .78);
  color: var(--text-2); font-size: .82rem; font-weight: 700; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: color .25s, border-color .25s;
}
.proj--flip .vidbtn { inset-inline-start: auto; inset-inline-end: 10px; }
.vidbtn:hover { color: var(--glow); border-color: var(--glow); }
.vidbtn__ico { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.vidbtn[data-state='paused'] .vidbtn__ico { border: 0; width: 0; height: 0; border-block: 6px solid transparent; border-inline-end: 10px solid currentColor; }

/* ---------- why ---------- */
.routes { display: grid; gap: 16px; margin-bottom: clamp(40px, 6vw, 64px); }
.route { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; font-weight: 800; font-size: clamp(.82rem, 2.8vw, 1.15rem); }
.route span { flex: none; padding: .55em 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.route i { flex: 1 1 auto; min-width: 10px; height: 2px; background: var(--line); position: relative; }
.route--old { color: var(--text-3); position: relative; }
.route--old::after {
  content: ''; position: absolute; inset-inline: -4px; top: 50%; height: 3px; border-radius: 3px; background: #a85a4a;
  transform-origin: right; scale: 0 1; transition: scale .9s var(--ease-io) .5s;
}
.routes.in .route--old::after, .no-js .route--old::after { scale: 1 1; }
.route--new span { border-color: rgba(214, 255, 61, .5); color: var(--light); }
.route--new span:last-child { background: var(--glow); color: var(--on-lime); border-color: var(--glow); box-shadow: 0 0 30px -6px rgba(214, 255, 61, .7); }
.route--new i { background: var(--glow); box-shadow: 0 0 10px var(--glow); transform-origin: right; scale: 0 1; transition: scale 1s var(--ease-out) 1.2s; }
.routes.in .route--new i, .no-js .route--new i { scale: 1 1; }
.perks { display: grid; gap: 14px; }
@media (min-width: 820px) { .perks { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.perk { padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.perk__ico { width: 44px; height: 44px; fill: none; stroke: var(--glow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; filter: drop-shadow(0 0 8px rgba(214, 255, 61, .45)); }
.perk h3 { font-size: 1.5rem; font-weight: 900; }
.perk p { color: var(--text-2); }

/* ---------- CTA ---------- */
body { position: relative; }
.endglow {
  position: absolute; inset-inline: 0; bottom: 0; height: min(170vh, 1500px); pointer-events: none;
  background:
    radial-gradient(ellipse 70% 42% at 50% 100%, rgba(214, 255, 61, .30), rgba(120, 150, 20, .12) 45%, transparent 75%),
    radial-gradient(ellipse 110% 70% at 50% 100%, rgba(46, 58, 10, .55), transparent 70%);
}
@media (min-width: 900px) { .endglow { background:
    radial-gradient(ellipse 45% 45% at 50% 100%, rgba(214, 255, 61, .30), rgba(120, 150, 20, .12) 45%, transparent 75%),
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(46, 58, 10, .55), transparent 70%); } }
.cta { position: relative; padding-block: clamp(70px, 10vw, 120px) clamp(90px, 14vw, 170px); text-align: center; }
.cta__in { position: relative; display: grid; gap: 22px; justify-items: center; }
.cta__kicker { font-size: clamp(1.2rem, 3.6vw, 1.6rem); font-weight: 800; color: var(--text-2); }
.cta__title { font-weight: 900; font-size: clamp(2.3rem, 9vw, 5.4rem); line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.cta__title span { display: block; font-size: 1.7em; color: var(--glow); text-shadow: 0 0 60px rgba(214, 255, 61, .55); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; width: 100%; }
.cta__btns .btn { flex: 1 1 240px; max-width: 320px; }
@media (prefers-reduced-motion: no-preference) {
  .cta__title span { animation: breathe 4.5s ease-in-out infinite; }
}
@keyframes breathe { 50% { text-shadow: 0 0 90px rgba(214, 255, 61, .8), 0 0 20px rgba(214, 255, 61, .3); } }

/* ---------- lead form ---------- */
.lead {
  width: 100%; max-width: 780px; margin-top: clamp(20px, 4vw, 40px); text-align: start;
  padding: clamp(20px, 4.5vw, 44px); border-radius: 28px;
  background: linear-gradient(180deg, rgba(20, 23, 20, .92), rgba(13, 15, 13, .92)); border: 1px solid var(--line);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(214, 255, 61, .04);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.lead__form { display: grid; gap: 18px; }
.lead__title { font-size: clamp(1.5rem, 5vw, 2.3rem); font-weight: 900; line-height: 1.12; letter-spacing: -.015em; }
.lead__title span { color: var(--glow); }
.lead__req { color: var(--text-3); font-size: .92rem; margin-top: -8px; }
.req { color: var(--glow); }
.opt { color: var(--text-3); font-weight: 500; font-size: .9em; }
.lead__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .lead__grid { grid-template-columns: 1fr 1fr; } }
.fld { display: grid; gap: 7px; align-content: start; }
.fld label, .chips legend { font-weight: 700; color: var(--text-2); font-size: 1rem; }
.fld input, .fld textarea {
  width: 100%; min-height: 54px; padding: 13px 16px; border-radius: 14px; border: 1px solid #3a4136; background: var(--night);
  color: var(--light); font-size: 1.0625rem; transition: border-color .25s, box-shadow .25s;
}
.fld input[dir='ltr'] { text-align: right; }
.fld textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 4px rgba(214, 255, 61, .18); }
.fld input[aria-invalid='true'] { border-color: #ff8f7a; box-shadow: 0 0 0 3px rgba(255, 143, 122, .15); }
.fld__err { color: #ffab99; font-size: .92rem; font-weight: 600; }
.fld__err:empty { display: none; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 10px; float: right; width: 100%; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1px solid #3a4136; background: var(--night); color: var(--text-2); font-weight: 700;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.chip span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color .25s, box-shadow .25s; }
.chip input:checked + span { background: rgba(214, 255, 61, .12); border-color: var(--glow); color: var(--light); }
.chip input:checked + span::before { background: var(--glow); border-color: var(--glow); box-shadow: 0 0 8px var(--glow); }
.chip input:focus-visible + span { outline: 3px solid var(--glow); outline-offset: 3px; }
@media (hover: hover) { .chip:hover span { border-color: var(--text-3); } }
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.lead__send { width: 100%; }
@media (min-width: 640px) { .lead__send { width: auto; justify-self: start; min-width: 240px; } }
.lead__send[aria-disabled='true'] { opacity: .7; cursor: progress; }
.lead__privacy { color: var(--text-3); font-size: .92rem; line-height: 1.6; padding-top: 14px; border-top: 1px solid var(--line); }
.lead__privacy a, .lead__alt a { color: var(--glow); text-underline-offset: 3px; }
.lead__summary { background: rgba(255, 143, 122, .08); border: 1px solid rgba(255, 143, 122, .45); color: #ffc3b6; padding: 14px 18px; border-radius: 14px; font-weight: 600; }
.lead__summary:focus { outline: none; }
.lead__alt { margin-top: 22px; color: var(--text-2); font-size: .98rem; text-align: center; }
.lead__done { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 30px 0 10px; }
.lead__done:focus { outline: none; }
.lead__done[hidden], .lead__form[hidden], .lead__summary[hidden] { display: none; }
.lead__donetitle { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 900; line-height: 1.15; }
.lead__check {
  width: 84px; height: 84px; border-radius: 50%; background: var(--glow); position: relative;
  box-shadow: 0 0 0 10px rgba(214, 255, 61, .12), 0 0 60px rgba(214, 255, 61, .55);
}
.lead__check::after {
  content: ''; position: absolute; left: 50%; top: 46%; width: 16px; height: 32px; border: solid var(--on-lime); border-width: 0 5px 5px 0;
  translate: -50% -50%; rotate: 45deg;
}
@media (prefers-reduced-motion: no-preference) {
  .lead__done:not([hidden]) .lead__check { animation: pop .7s var(--ease-out) both; }
  .lead__done:not([hidden]) .lead__donetitle { animation: fadeUp .8s var(--ease-out) .2s both; opacity: 0; translate: 0 14px; }
}
@keyframes pop { from { scale: .3; opacity: 0; } 60% { scale: 1.1; opacity: 1; } to { scale: 1; } }

.lead__donesub { color: var(--text-2); font-weight: 600; }

/* ---------- "that's work" scene ---------- */
.scene { position: relative; --p: 0; }
.scene__stick { position: relative; padding-block: 10px clamp(88px, 14vw, 160px); }
.scene__in { position: relative; z-index: 2; }
.scene__lines { display: grid; gap: clamp(22px, 4vw, 36px); max-width: 980px; }
.scene__line { font-size: clamp(1.75rem, 7.6vw, 3.4rem); font-weight: 800; line-height: 1.22; color: var(--text-2); text-wrap: balance; }
.scene__line strong { color: var(--light); font-weight: 900; }
.scene__line--big { font-size: clamp(2.9rem, 14vw, 8.4rem); font-weight: 900; color: var(--light); line-height: 1; letter-spacing: -.03em; }
.scene__line--final > span { display: block; color: var(--light); font-weight: 900; }
.scene__line--final em {
  display: block; font-style: normal; color: var(--glow); font-weight: 900; font-size: 1.55em; line-height: 1.05; letter-spacing: -.02em;
  text-shadow: 0 0 50px rgba(214, 255, 61, .5); margin-top: .08em;
}
.scene__cta { display: flex; width: max-content; margin-top: 30px; font-size: 1.1rem; }
.scene__bg, .scene__sketch, .scene__glow, .scene__meta { display: none; }

.motion .scene { height: calc(7 * 62vh + 100vh); }
.motion .scene__stick { position: sticky; top: 0; height: 100svh; overflow: hidden; padding: 0; display: grid; align-items: center; }
.motion .scene__in::before {
  content: ''; position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(11, 11, 10, .78), rgba(11, 11, 10, .35) 60%, transparent);
}
.motion .scene__lines { display: block; position: relative; min-height: 64svh; max-width: none; }
.motion .scene__line {
  position: absolute; inset-inline: 0; top: 50%; transform: translateY(-50%); text-align: center; margin-inline: auto; max-width: 980px;
  opacity: 0; translate: 0 56px; filter: blur(12px); scale: .96; pointer-events: none;
  transition: opacity .7s var(--ease-out), translate .9s var(--ease-out), filter .7s var(--ease-out), scale .9s var(--ease-out);
}
.motion .scene__line.is-past { translate: 0 -56px; }
.motion .scene__line.is-on, .motion .scene__line:focus-within { opacity: 1; translate: 0 0; filter: none; scale: 1; pointer-events: auto; }
.motion .scene__cta { margin-inline: auto; }

.motion .scene__bg {
  position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(3, min(27vw, 230px));
  justify-content: center; align-content: center; gap: clamp(10px, 2vw, 20px); pointer-events: none;
}
.ghost {
  aspect-ratio: 4 / 3; border-radius: 14px; border: 1px solid #3a4136; background: #181b17; padding: clamp(8px, 1.4vw, 14px);
  display: grid; grid-template-rows: auto 1fr auto auto; gap: 7px; opacity: 0; scale: .82; translate: 0 20px;
  transition: opacity .8s var(--ease-out), scale .8s var(--ease-out), translate .9s var(--ease-out), filter .8s, border-color .6s;
}
.ghost:first-child { grid-area: 2 / 2; }
.ghost b { font-size: clamp(.55rem, 1.6vw, .8rem); font-weight: 800; color: #7f857c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ghost i { display: block; border-radius: 4px; background: #252a23; }
.ghost i:nth-of-type(1) { border-radius: 8px; }
.ghost i:nth-of-type(2) { height: 6px; width: 72%; }
.ghost i:nth-of-type(3) { height: 12px; width: 42%; border-radius: 99px; background: #30352d; }
.scene[data-beat='0'] .ghost:first-child { opacity: .9; scale: 1; translate: 0 0; }
.scene[data-beat='1'] .ghost:first-child { opacity: .6; scale: .96; translate: 0 0; filter: grayscale(1); }
.scene[data-beat='2'] .ghost { opacity: .7; scale: 1; translate: 0 0; }
.scene[data-beat='2'] .ghost:first-child { opacity: 1; border-color: rgba(214, 255, 61, .6); }
.scene[data-beat='2'] .ghost:first-child b { color: var(--glow); }
.scene[data-beat='2'] .ghost:nth-child(2) { transition-delay: .05s; }
.scene[data-beat='2'] .ghost:nth-child(3) { transition-delay: .1s; }
.scene[data-beat='2'] .ghost:nth-child(4) { transition-delay: .15s; }
.scene[data-beat='2'] .ghost:nth-child(5) { transition-delay: .2s; }
.scene[data-beat='2'] .ghost:nth-child(6) { transition-delay: .25s; }
.scene[data-beat='2'] .ghost:nth-child(7) { transition-delay: .3s; }
.scene[data-beat='2'] .ghost:nth-child(8) { transition-delay: .35s; }
.scene[data-beat='2'] .ghost:nth-child(9) { transition-delay: .4s; }
.scene[data-beat='3'] .ghost, .scene[data-beat='4'] .ghost, .scene[data-beat='5'] .ghost, .scene[data-beat='6'] .ghost { opacity: 0; translate: 0 90px; filter: blur(8px); scale: .9; }

.motion .scene__sketch { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; opacity: 0; transition: opacity .9s var(--ease-out); pointer-events: none; }
.scene__sketch svg { width: min(86vw, 620px); overflow: visible; }
.sk { fill: none; stroke: #4a5047; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease-io), stroke .6s; }
.scene[data-beat='3'] .scene__sketch, .scene[data-beat='4'] .scene__sketch { opacity: .8; }
.scene[data-beat='5'] .scene__sketch { opacity: .22; }
.scene[data-beat='3'] .sk--frame, .scene[data-beat='3'] .sk--a { stroke-dashoffset: 0; }
.scene[data-beat='4'] .sk, .scene[data-beat='5'] .sk, .scene[data-beat='6'] .sk { stroke-dashoffset: 0; }
.scene[data-beat='4'] .sk--d, .scene[data-beat='5'] .sk--d { stroke: var(--glow); }
.scene[data-beat='4'] .sk--b { transition-delay: .25s; }
.scene[data-beat='4'] .sk--c { transition-delay: .45s; }
.scene[data-beat='4'] .sk--d { transition-delay: .65s; }

.motion .scene__glow {
  display: block; position: absolute; left: 50%; top: 50%; z-index: 0; width: min(130vw, 1150px); aspect-ratio: 1; border-radius: 50%;
  translate: -50% -50%; pointer-events: none; opacity: 0; scale: .55;
  background: radial-gradient(closest-side, rgba(214, 255, 61, .3), rgba(120, 150, 20, .14) 42%, rgba(46, 58, 10, .2) 58%, transparent 72%);
  transition: opacity 1.1s var(--ease-out), scale 1.4s var(--ease-out);
}
.scene[data-beat='5'] .scene__glow { opacity: .55; scale: .8; }
.scene[data-beat='6'] .scene__glow { opacity: 1; scale: 1; }

.motion .scene__meta {
  position: absolute; z-index: 3; inset-inline: 0; bottom: calc(92px + env(safe-area-inset-bottom));
  display: flex; justify-content: center; align-items: center; gap: 18px; color: var(--text-3); font-weight: 800; font-size: .9rem; font-variant-numeric: tabular-nums;
}
@media (min-width: 860px) { .motion .scene__meta { bottom: 34px; } }
.scene__count b { color: var(--glow); }
.scene__dots { display: flex; gap: 6px; direction: rtl; }
.scene__dots i { width: 6px; height: 6px; border-radius: 6px; background: #3a4036; transition: width .5s var(--ease-out), background-color .4s, box-shadow .4s; }
.scene__dots i.on { background: var(--glow); box-shadow: 0 0 8px rgba(214, 255, 61, .7); }
.scene__dots i.on:last-of-type, .scene__dots i.on:has(+ i:not(.on)) { width: 20px; }

/* ---------- popup ---------- */
.pop { border: 0; padding: 0; background: transparent; color: var(--light); width: min(520px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); overflow: visible; }
.pop::backdrop { background: rgba(5, 6, 5, .74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pop__form, .pop__done {
  position: relative; display: grid; gap: 14px; padding: 34px clamp(20px, 5vw, 32px) 20px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, #161916, #0d0f0d); border: 1px solid var(--line);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .95), 0 0 90px -30px rgba(214, 255, 61, .35);
  max-height: calc(100dvh - 32px); overflow-y: auto;
}
.pop__form::before, .pop__done::before {
  content: ''; position: absolute; inset: -40% -20% auto; height: 70%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(214, 255, 61, .22), transparent 70%);
}
.pop__form { isolation: isolate; }
.pop__form .pill { justify-self: start; }
.pop__title { font-size: clamp(1.7rem, 6.4vw, 2.3rem); font-weight: 900; line-height: 1.1; letter-spacing: -.015em; }
.pop__title span { display: block; color: var(--glow); }
.pop__sub { color: var(--text-2); font-size: 1.05rem; margin-top: -4px; }
.pop .lead__send { width: 100%; margin-top: 4px; }
.pop__privacy { color: var(--text-3); font-size: .86rem; line-height: 1.5; }
.pop__privacy a { color: var(--glow); }
.pop__later { justify-self: center; min-height: 44px; padding: 0 14px; background: none; border: 0; color: var(--text-3); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pop__later:hover { color: var(--light); }
.pop__x {
  position: absolute; z-index: 3; top: 14px; inset-inline-end: 14px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(11, 11, 10, .7); cursor: pointer; display: grid; place-items: center;
}
.pop__x span[aria-hidden]::before, .pop__x span[aria-hidden]::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; border-radius: 2px; background: var(--light); translate: -50% -50%; rotate: 45deg; }
.pop__x span[aria-hidden]::after { rotate: -45deg; }
.pop__x:hover { border-color: var(--glow); }
.pop__done { justify-items: center; text-align: center; padding-block: 44px 22px; isolation: isolate; }
.pop__done:focus { outline: none; }
.pop__done[hidden], .pop__form[hidden] { display: none; }
.motion .pop[open] { animation: popIn .55s var(--ease-out); }
@media (max-width: 640px) {
  .pop { width: 100%; margin: auto 0 0; max-height: 92dvh; }
  .pop__form, .pop__done { border-radius: 26px 26px 0 0; border-bottom: 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); max-height: 92dvh; }
  .motion .pop[open] { animation: sheetIn .55s var(--ease-out); }
}
@keyframes sheetIn { from { translate: 0 100%; } to { translate: 0 0; } }

/* ---------- accessibility toolbar ---------- */
.a11y { position: fixed; z-index: 60; inset-inline-end: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 860px) { .a11y { bottom: 22px; inset-inline-end: 22px; } }
.a11y__fab {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #151815; border: 1px solid #3a4136; color: var(--light); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8);
  transition: border-color .25s, color .25s;
}
.a11y__fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a11y__fab:hover, .a11y__fab[aria-expanded='true'] { border-color: var(--glow); color: var(--glow); }
.a11y__panel {
  position: absolute; bottom: 60px; inset-inline-end: 0; width: min(310px, calc(100vw - 32px)); display: grid; gap: 8px; padding: 16px;
  border-radius: 20px; background: #111411; border: 1px solid #3a4136; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .95);
}
.a11y__panel[hidden] { display: none; }
.a11y__title { font-weight: 900; font-size: 1.1rem; margin-bottom: 4px; }
.a11y__size { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.a11y__size span { flex: 1; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.a11y__size button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid #3a4136; background: var(--night); font-weight: 900; cursor: pointer; }
.a11y__size output { min-width: 3.2em; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.a11y__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 12px;
  border: 1px solid #3a4136; background: var(--night); font-weight: 700; cursor: pointer; text-align: start;
}
.a11y__opt::after { content: ''; width: 34px; height: 20px; border-radius: 20px; background: #2c312a; box-shadow: inset 0 0 0 2px #3a4136; transition: background-color .25s; flex: none; }
.a11y__opt[aria-pressed='true'] { border-color: var(--glow); color: var(--light); background: rgba(214, 255, 61, .07); }
.a11y__opt[aria-pressed='true']::after { background: var(--glow); box-shadow: inset 0 0 0 2px var(--glow); }
.a11y__size button:hover, .a11y__opt:hover { border-color: var(--text-3); }
.a11y__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; }
.a11y__foot button { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid #3a4136; background: none; font-weight: 700; cursor: pointer; }
.a11y__foot a { color: var(--glow); font-weight: 700; padding: 10px 0; }

/* accessibility modes */
html.a11y-size-1 { font-size: 112.5%; }
html.a11y-size-2 { font-size: 125%; }
.a11y-contrast { --text-2: #f5f5f0; --text-3: #dfe3da; --line: #9aa096; --card: #000; }
.a11y-contrast body { background: #000; }
.a11y-contrast body::after, .a11y-contrast .halo, .a11y-contrast .endglow, .a11y-contrast .scene__bg, .a11y-contrast .scene__glow,
.a11y-contrast .scene__sketch, .a11y-contrast .sym__halo { display: none !important; }
.a11y-contrast * { text-shadow: none !important; }
.a11y-contrast .hero__title .ln--dim, .a11y-contrast .scene__line { color: #eef1ea; }
.a11y-contrast .motion .problem__text .pw { color: #b9bfb5; }
.a11y-contrast .ring__track { stroke: #9aa096; }
.a11y-contrast .fld input, .a11y-contrast .fld textarea, .a11y-contrast .chip span, .a11y-contrast .gen__input { border-color: #c5cac1; }
.a11y-contrast .motion .scene__in::before { display: none; }
.a11y-links a:not(.btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 4px; }
.a11y-links a { outline: 2px dashed var(--glow); outline-offset: 3px; }
html.a11y-still { scroll-behavior: auto; }
.a11y-still *, .a11y-still *::before, .a11y-still *::after {
  animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
  transition-duration: .01ms !important; transition-delay: 0s !important;
}

/* ---------- footer ---------- */
.ftr { position: relative; border-top: 1px solid rgba(38, 43, 36, .6); padding: 48px 0 calc(110px + env(safe-area-inset-bottom)); }
@media (min-width: 860px) { .ftr { padding-bottom: 48px; } }
.ftr__in { display: grid; gap: 28px; }
.ftr__brand { display: grid; gap: 10px; }
.ftr__brand img { width: 120px; }
.ftr__brand p { color: var(--text-3); font-weight: 600; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ftr__links a { color: var(--text-2); text-decoration: none; font-weight: 600; display: inline-block; padding: 8px 0; }
.ftr__links a:hover { color: var(--glow); }
.ftr__copy { color: var(--text-3); font-size: .9rem; }
@media (min-width: 860px) { .ftr__in { grid-template-columns: 1fr auto; align-items: center; } .ftr__copy { grid-column: 1 / -1; } }

/* ---------- mobile dock ---------- */
.dock {
  position: fixed; z-index: 40; inset-inline: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: .6em; min-height: 56px; border-radius: 999px;
  background: var(--glow); color: var(--on-lime); font-weight: 900; font-size: 1.1rem; text-decoration: none;
  box-shadow: 0 14px 40px -10px rgba(214, 255, 61, .6), 0 0 0 1px rgba(0, 0, 0, .3);
  translate: 0 150%; transition: translate .5s var(--ease-out);
}
.dock.is-on { translate: 0 0; }
@media (min-width: 860px) { .dock { display: none; } }

/* ---------- inner pages ---------- */
.page { padding: calc(var(--hdr-h) + 56px) 0 96px; position: relative; overflow: clip; }
.page .wrap { max-width: 860px; position: relative; z-index: 1; }
.page h1 { font-size: clamp(2.2rem, 8vw, 3.8rem); font-weight: 900; line-height: 1.05; margin-bottom: 14px; letter-spacing: -.02em; }
.page .meta { color: var(--text-3); margin-bottom: 40px; }
.page h2 { font-size: clamp(1.4rem, 4.4vw, 1.9rem); font-weight: 900; margin: 44px 0 12px; color: var(--glow); }
.page p, .page li { color: var(--text-2); font-size: 1.08rem; }
.page p + p { margin-top: 12px; }
.page ul { padding-inline-start: 1.3em; display: grid; gap: 8px; }
.page a { color: var(--glow); text-underline-offset: 3px; }
.page .box { margin-top: 18px; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.page .back { display: inline-flex; margin-top: 48px; }
.hdr--page .hdr__nav ul { display: none; }
@media (max-width: 859px) { .hdr--page .hdr__nav { position: static; opacity: 1; visibility: visible; background: none; padding: 0; flex-direction: row; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; translate: none; filter: none; }
  .dev--laptop, .proj--flip .dev--laptop, .dev--phone, .proj--flip .dev--phone { transform: none; }
}

/* ---------- forced colors ---------- */
@media (forced-colors: active) {
  .btn, .card, .step, .perk, .pill { border: 1px solid CanvasText; }
  .halo, .endglow, body::after { display: none; }
}
