/* ==========================================================================
   Pixel Pardazesh — site styles (RTL, mobile-first)
   ========================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-wght.woff2") format("woff2-variations"),
       url("../assets/fonts/Vazirmatn-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-wght.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

:root {
  /* brand */
  --navy-950: #050F24;
  --navy-900: #071733;
  --navy-800: #0B2147;
  --navy: #0E2A5A;
  --blue: #1F5FD6;
  --blue-400: #4C86F0;
  --sky: #7FB0FF;
  --green: #12B886;
  --mint: #3EE0A8;
  /* neutrals */
  --ink: #0E2A5A;
  --muted: #4F5F7A;
  --muted-dark: #A9B8D4;
  --line: #E3E9F2;
  --line-dark: rgba(255, 255, 255, .1);
  --bg-light: #F5F8FC;
  --white: #FFFFFF;
  --grad: linear-gradient(270deg, var(--blue), var(--green));

  --font: "Space Grotesk", "Vazirmatn", Tahoma, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(7, 23, 51, .35);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --container: 1200px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--navy-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 800; }
p { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--blue); }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip-link { position: fixed; top: -100px; right: 16px; z-index: 1000; background: var(--mint); color: var(--navy-900); padding: 10px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* arrows point "forward" which is left in RTL — the sprite arrow already points left */

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

.dark { background: var(--navy-900); color: var(--white); }
.light { background: var(--bg-light); color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--bh); padding: 0 1.4em;
  border: 2px solid transparent; border-radius: 14px;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease-spring), background-color .2s, box-shadow .25s, color .2s, border-color .2s;
  will-change: transform;
}
.btn:active { transform: scale(.96); }
.btn--sm { --bh: 44px; padding: 0 1.1em; font-size: .95rem; }
.btn--lg { --bh: 56px; padding: 0 1.7em; font-size: 1.05rem; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--mint { background: var(--mint); color: var(--navy-900); box-shadow: 0 10px 30px -10px rgba(62, 224, 168, .6); }
.btn--mint:hover { background: #5CEBB9; box-shadow: 0 14px 36px -10px rgba(62, 224, 168, .8); }
.btn--blue { background: var(--blue); color: var(--white); box-shadow: 0 10px 30px -12px rgba(31, 95, 214, .7); }
.btn--blue:hover { background: #1A52BC; }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .22); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.btn--outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn--outline img { width: 24px; height: auto; }
.linkbtn { background: none; border: 0; color: var(--sky); text-decoration: underline; padding: 8px; min-height: 44px; }

/* ---------- progress & cursor ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: right; transform: scaleX(0); }
.cursor-pixel {
  position: fixed; top: 0; left: 0; z-index: 300; width: 14px; height: 14px; border-radius: 3px;
  background: var(--mint); pointer-events: none; mix-blend-mode: difference;
  transform: translate3d(-100px, -100px, 0); transition: width .25s var(--ease-out), height .25s var(--ease-out), border-radius .25s, opacity .2s;
  opacity: 0;
}
.cursor-pixel.is-on { opacity: 1; }
.cursor-pixel.is-hover { width: 44px; height: 44px; border-radius: 12px; }
@media (hover: none), (pointer: coarse) { .cursor-pixel { display: none; } }

.rain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 400; pointer-events: none; display: none; }
.toast {
  position: fixed; bottom: 24px; left: 50%; z-index: 500; transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  background: var(--white); color: var(--navy-900); padding: 12px 22px; border-radius: 14px; font-weight: 700;
  box-shadow: var(--shadow); transition: transform .45s var(--ease-spring), visibility 0s .45s; max-width: calc(100% - 32px); text-align: center;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease-spring); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); transition: background-color .3s, box-shadow .3s, transform .35s var(--ease-out); }
.nav.is-scrolled { background: rgba(7, 23, 51, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 800; font-size: 1.2rem; min-height: 44px; }
.brand img { width: 42px; height: auto; transition: transform .4s var(--ease-spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a:not(.btn) { color: rgba(255, 255, 255, .82); text-decoration: none; padding: 10px 14px; border-radius: 10px; font-weight: 500; transition: color .2s, background-color .2s; }
.nav__links a:not(.btn):hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav__toggle { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .06); color: var(--white); align-items: center; justify-content: center; }
.nav__toggle .ico { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 12px auto 12px; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px; border-radius: 18px; background: rgba(7, 23, 51, .96); backdrop-filter: blur(14px);
    border: 1px solid var(--line-dark); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top;
    transition: opacity .25s, transform .3s var(--ease-out), visibility 0s .3s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease-out); }
  .nav__links a:not(.btn) { padding: 14px; font-size: 1.05rem; }
  .nav__links .btn { margin-top: 6px; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 80px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 50% at 20% 40%, rgba(31, 95, 214, .28), transparent 70%),
    radial-gradient(40% 40% at 85% 80%, rgba(18, 184, 134, .16), transparent 70%),
    var(--navy-900);
}
.hero::before { /* pixel grid texture */
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .35;
  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: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 70% at 30% 50%, #000, transparent);
          mask-image: radial-gradient(70% 70% at 30% 50%, #000, transparent);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; touch-action: pan-y; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; width: min(100% - 40px, var(--container)); }
.hero__copy { position: relative; z-index: 1; }
.hero__art { aspect-ratio: 124 / 80; width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); color: var(--muted-dark); font-size: .92rem; margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--mint); box-shadow: 0 0 0 0 rgba(62, 224, 168, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(62, 224, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 224, 168, 0); } }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); font-weight: 900; letter-spacing: -.01em; line-height: 1.3; }
.rotator { display: grid; margin-top: .1em; }
.rotator__word {
  grid-area: 1 / 1; background: linear-gradient(270deg, var(--sky), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(.45em); filter: blur(6px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out), filter .55s var(--ease-out);
  padding-bottom: .12em; white-space: nowrap;
}
.rotator__word.is-active { opacity: 1; transform: none; filter: none; transition-delay: .18s; }
.rotator__word.is-leaving { opacity: 0; transform: translateY(-.45em); filter: blur(6px); transition-duration: .3s; }
.lead { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted-dark); max-width: 36em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__burst { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--muted-dark); padding: 10px 0; min-height: 44px; font-size: .95rem; }
.hero__burst:hover { color: var(--mint); }
.hero__burst-px { width: 12px; height: 12px; border-radius: 3px; background: var(--mint); animation: wiggle 2.4s infinite var(--ease-spring); }
@keyframes wiggle { 0%, 80%, 100% { transform: none; } 85% { transform: rotate(45deg) scale(1.3); } 90% { transform: rotate(-20deg); } }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .3); border-radius: 14px; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 6px; height: 6px; border-radius: 2px; background: var(--mint); transform: translateX(-50%); animation: scrolly 1.8s infinite var(--ease-out); }
@keyframes scrolly { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 16px); } }

@media (max-width: 860px) {
  .hero { align-items: flex-start; }
  .hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .hero__art { order: -1; width: min(100%, 360px); margin-inline: auto; }
  .hero__scroll { display: none; }
}

/* ---------- marquee ---------- */
.marquee { position: relative; background: var(--grad); color: var(--white); overflow: hidden; padding: 18px 0; display: flex; align-items: center; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { display: flex; align-items: center; gap: 28px; padding-inline: 28px 0; font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.5rem); white-space: nowrap; }
.marquee li::after { content: ""; width: 12px; height: 12px; border-radius: 3px; background: rgba(255, 255, 255, .85); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(50%); } }
.marquee__pause { position: absolute; left: 12px; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(7, 23, 51, .45); color: var(--white); display: grid; place-items: center; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--grad); }
.dark .kicker { color: var(--mint); }
.section h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 900; }
.section__lead { margin-top: 16px; font-size: 1.1rem; color: var(--muted); }
.dark .section__lead { color: var(--muted-dark); }

[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- builder ---------- */
.builder { display: grid; grid-template-columns: 330px 1fr; gap: 28px; align-items: start; }
.builder__controls { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 22px; box-shadow: 0 10px 40px -30px rgba(7, 23, 51, .4); position: sticky; top: calc(var(--nav-h) + 16px); }
.ctl { border: 0; margin: 0; padding: 0; min-width: 0; }
.ctl legend, .ctl > label:not(.switch) { font-weight: 700; margin-bottom: 10px; padding: 0; display: block; font-size: .95rem; }
.ctl--row { display: flex; flex-wrap: wrap; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600;
  transition: border-color .2s, background-color .2s, color .2s, transform .25s var(--ease-spring);
}
.chip:hover { border-color: var(--blue-400); }
.chip:active { transform: scale(.94); }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.dark .chip { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); color: var(--white); }
.dark .chip:hover { border-color: var(--mint); }
.dark .chip[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: var(--navy-900); }
.chips--wrap { gap: 10px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; border-radius: 12px; border: 3px solid var(--white); background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: 0 0 0 1.5px var(--line); transition: transform .25s var(--ease-spring), box-shadow .2s; }
.swatch:hover { transform: translateY(-2px) rotate(-4deg); }
.swatch.is-on { box-shadow: 0 0 0 2.5px var(--ink); transform: scale(1.06); }
.seg { display: flex; background: var(--bg-light); border-radius: 12px; padding: 4px; border: 1px solid var(--line); }
.seg button { flex: 1; min-height: 40px; border: 0; background: none; border-radius: 9px; font-weight: 600; font-size: .9rem; color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button.is-on { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px -2px rgba(7, 23, 51, .2); }
input[type="range"] { width: 100%; accent-color: var(--blue); height: 32px; cursor: pointer; }
.dark input[type="range"] { accent-color: var(--mint); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 44px; font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { width: 46px; height: 26px; border-radius: 99px; background: #CBD5E1; position: relative; transition: background-color .25s; flex: none; }
.switch__ui::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--white); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .35s var(--ease-spring); }
.switch input:checked + .switch__ui { background: var(--blue); }
.switch input:checked + .switch__ui::after { transform: translateX(-20px); }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--blue); outline-offset: 2px; }
.switch span:last-child { display: inline-flex; align-items: center; gap: 6px; }

.builder__stage { min-width: 0; display: grid; gap: 16px; }
.devices { display: inline-flex; justify-self: center; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 4px; }
.devices button { width: 48px; height: 44px; border: 0; border-radius: 10px; background: none; color: var(--muted); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.devices button.is-on { background: var(--navy); color: var(--white); }
.browser { --w: 100%; width: var(--w); max-width: 100%; justify-self: center; border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: 0 40px 80px -40px rgba(7, 23, 51, .55), 0 0 0 1px var(--line); transition: width .6s var(--ease-out); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #EEF2F8; direction: ltr; }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #F87171; }
.browser__bar i:nth-child(2) { background: #FBBF24; }
.browser__bar i:nth-child(3) { background: #34D399; }
.browser__url { flex: 1; margin-left: 10px; background: var(--white); border-radius: 8px; padding: 3px 12px; font-size: .8rem; color: var(--muted); font-family: "Space Grotesk", sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.builder__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--white); border: 1px dashed #C9D5E8; border-radius: var(--radius); padding: 18px 22px; }
.builder__cta p { font-weight: 600; }

/* preview site */
.pv {
  --p: #1F5FD6; --s: #12B886; --r: 16px; --bg: #FFFFFF; --fg: #0E2A5A; --mut: #5B6B85; --card: #F3F6FB;
  background: var(--bg); color: var(--fg); padding: 18px 22px 26px; container-type: inline-size; transition: background-color .5s, color .5s;
  min-height: 430px;
}
.pv.is-dark { --bg: #0B1220; --fg: #F1F5F9; --mut: #94A3B8; --card: #151E31; }
.pv * { transition: border-radius .4s var(--ease-out), background-color .5s, color .5s; }
.pv__nav { display: flex; align-items: center; gap: 14px; }
.pv__logo { font-weight: 900; font-size: 1.05rem; color: var(--p); }
.pv__links { display: flex; gap: 8px; margin-inline-start: auto; }
.pv__links i { width: 38px; height: 8px; border-radius: 99px; background: currentColor; opacity: .18; }
.pv__btn { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: calc(var(--r) * .6); background: var(--p); color: #fff; font-weight: 700; font-size: .8rem; white-space: nowrap; }
.pv__btn--lg { padding: 10px 20px; font-size: .9rem; border-radius: calc(var(--r) * .75); }
.pv__btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px currentColor; padding: 10px 18px; font-size: .9rem; border-radius: calc(var(--r) * .75); opacity: .85; }
.pv__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: center; margin-top: 26px; }
.pv__badge { display: inline-block; padding: 3px 12px; border-radius: 99px; background: color-mix(in srgb, var(--s) 18%, transparent); color: var(--s); font-weight: 700; font-size: .75rem; filter: saturate(1.2) brightness(.85); }
.pv.is-dark .pv__badge { filter: none; }
.pv__title { font-size: clamp(1.3rem, 4.4cqi, 2.1rem); font-weight: 900; margin-top: 10px; line-height: 1.35; }
.pv__sub { color: var(--mut); margin-top: 8px; font-size: .9rem; }
.pv__ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pv__art { position: relative; aspect-ratio: 1; border-radius: calc(var(--r) * 1.4); background: var(--card); overflow: hidden; display: grid; place-items: center; }
.blob { position: absolute; border-radius: calc(var(--r) * 1.2); }
.b1 { width: 55%; height: 55%; background: var(--p); top: 12%; right: 10%; transform: rotate(12deg); }
.b2 { width: 40%; height: 40%; background: var(--s); bottom: 12%; left: 12%; transform: rotate(-8deg); opacity: .9; }
.b3 { width: 18%; height: 18%; background: var(--fg); top: 18%; left: 18%; opacity: .15; border-radius: 4px; }
.pv.anim .b1 { animation: float1 6s ease-in-out infinite; }
.pv.anim .b2 { animation: float2 7s ease-in-out infinite; }
.pv.anim .b3 { animation: float1 5s ease-in-out infinite reverse; }
@keyframes float1 { 50% { transform: rotate(22deg) translate(-6%, 6%); } }
@keyframes float2 { 50% { transform: rotate(-18deg) translate(8%, -5%); } }
.pv__icon { position: relative; width: 34%; height: 34%; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); }
.pv__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.pv__card { background: var(--card); border-radius: var(--r); padding: 14px; display: grid; gap: 2px; }
.pv.anim .pv__card { transition: transform .35s var(--ease-spring), border-radius .4s, background-color .5s; }
.pv.anim .pv__card:hover { transform: translateY(-4px); }
.pv__ci { width: 28px; height: 28px; border-radius: calc(var(--r) * .5); background: linear-gradient(135deg, var(--p), var(--s)); margin-bottom: 6px; }
.pv__card b { font-size: .88rem; }
.pv__card small { color: var(--mut); font-size: .75rem; }
/* layouts */
.pv[data-layout="center"] .pv__hero { grid-template-columns: 1fr; text-align: center; }
.pv[data-layout="center"] .pv__ctas { justify-content: center; }
.pv[data-layout="center"] .pv__art { max-width: 240px; margin-inline: auto; aspect-ratio: 2.2; order: -1; }
.pv[data-layout="bold"] .pv__hero { grid-template-columns: 1fr; }
.pv[data-layout="bold"] .pv__title { font-size: clamp(1.8rem, 8cqi, 3.4rem); line-height: 1.2; background: linear-gradient(270deg, var(--p), var(--s)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv[data-layout="bold"] .pv__art { display: none; }
/* swap animation */
.pv.swap .pv__text, .pv.swap .pv__cards, .pv.swap .pv__art { animation: swapIn .55s var(--ease-out); }
@keyframes swapIn { from { opacity: 0; transform: translateY(14px); } }
@container (max-width: 520px) {
  .pv__hero { grid-template-columns: 1fr; }
  .pv__art { aspect-ratio: 2; order: -1; }
  .pv__cards { grid-template-columns: 1fr; }
  .pv__links { display: none; }
  .pv__nav { justify-content: space-between; }
}

@media (max-width: 980px) {
  .builder { grid-template-columns: 1fr; }
  .builder__controls { position: static; }
}

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line-dark);
  border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; transform-style: preserve-3d;
  transition: border-color .3s, box-shadow .3s;
}
.svc::before { /* spotlight following the pointer */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(62, 224, 168, .12), transparent 45%);
}
.svc:hover { border-color: rgba(62, 224, 168, .35); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.svc:hover::before { opacity: 1; }
.svc__head { display: flex; align-items: center; gap: 12px; }
.svc__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: var(--white); }
.svc h3 { font-size: 1.35rem; }
.svc > p { color: var(--muted-dark); }
@media (max-width: 980px) { .services { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* responsive demo */
.resp { margin-top: auto; display: grid; gap: 8px; }
.resp__frame { --rw: 100%; width: var(--rw); justify-self: center; background: var(--white); border-radius: 12px; padding: 10px; container-type: inline-size; transition: width .15s; min-height: 170px; }
.resp__page { display: grid; gap: 8px; }
.resp__hero { height: 54px; border-radius: 8px; background: linear-gradient(270deg, var(--blue), var(--green)); }
.resp__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.resp__grid i { height: 60px; border-radius: 8px; background: #E6EDF8; transition: height .3s; }
@container (max-width: 200px) {
  .resp__grid { grid-template-columns: 1fr; }
  .resp__grid i { height: 18px; }
  .resp__hero { height: 40px; }
}
#respRange { direction: ltr; }
.resp__label { text-align: center; font-size: .9rem; color: var(--mint); font-weight: 700; }

/* automation flow demo */
.flow { margin-top: auto; display: grid; gap: 14px; }
.flow__nodes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.flow__nodes::before { content: ""; position: absolute; right: 26px; top: 22px; bottom: 22px; width: 2px; background: rgba(255, 255, 255, .12); }
.flow__nodes::after { content: ""; position: absolute; right: 26px; top: 22px; width: 2px; height: calc((100% - 44px) * var(--fp, 0)); background: var(--mint); transition: height .5s var(--ease-out); }
.flow__nodes li { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid transparent; transition: background-color .3s, border-color .3s, transform .4s var(--ease-spring); }
.flow__n { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--navy-800); border: 1.5px solid rgba(255, 255, 255, .2); font-weight: 700; font-size: .85rem; transition: background-color .3s, color .3s, border-color .3s; flex: none; }
.flow__nodes li.is-active { border-color: var(--mint); background: rgba(62, 224, 168, .1); transform: translateX(-6px); }
.flow__nodes li.is-done .flow__n { background: var(--mint); color: var(--navy-900); border-color: var(--mint); }
.flow__row { display: flex; align-items: center; gap: 12px; }
.flow__status { color: var(--muted-dark); font-size: .92rem; }

/* phone demo */
.phone { margin: auto auto 0; width: 220px; height: 400px; border-radius: 36px; background: #020817; padding: 10px; position: relative; box-shadow: 0 0 0 2px rgba(255, 255, 255, .12), 0 30px 60px -20px rgba(0, 0, 0, .7); }
.phone__notch { position: absolute; top: 14px; left: 50%; width: 70px; height: 18px; border-radius: 99px; background: #000; transform: translateX(-50%); z-index: 2; }
.phone__screen { position: relative; height: 100%; border-radius: 28px; background: #F4F7FC; color: var(--ink); overflow: hidden; }
.phone__view { position: absolute; inset: 0 0 64px; padding: 42px 14px 10px; display: grid; align-content: start; gap: 10px; opacity: 0; transform: translateX(-30px); transition: opacity .35s, transform .45s var(--ease-out); pointer-events: none; }
.phone__view.is-on { opacity: 1; transform: none; pointer-events: auto; }
.phone__h { font-weight: 800; font-size: 1rem; }
.phone__h--c { text-align: center; }
.phone__card { background: var(--white); border-radius: 14px; padding: 10px 12px; font-size: .8rem; display: flex; justify-content: space-between; align-items: center; gap: 8px; box-shadow: 0 4px 14px -8px rgba(7, 23, 51, .3); }
.phone__card--grad { background: var(--grad); color: var(--white); display: grid; gap: 2px; }
.phone__card--grad small { opacity: .85; }
.phone__bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .3); overflow: hidden; margin-top: 4px; }
.phone__bar i { display: block; height: 100%; width: 65%; background: var(--white); border-radius: inherit; animation: load 3s ease-in-out infinite; }
@keyframes load { 0% { width: 15%; } 60%, 100% { width: 85%; } }
.phone__avatar { width: 64px; height: 64px; border-radius: 20px; background: var(--grad); justify-self: center; margin-top: 6px; }
.phone__like { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 14px; border: 0; background: var(--white); color: var(--ink); font-weight: 700; box-shadow: 0 4px 14px -8px rgba(7, 23, 51, .3); transition: transform .3s var(--ease-spring); }
.phone__like:active { transform: scale(.9); }
.phone__like[aria-pressed="true"] { color: #E11D48; }
.phone__like[aria-pressed="true"] .ico { fill: currentColor; animation: pop .45s var(--ease-spring); }
@keyframes pop { 40% { transform: scale(1.5); } }
.phone__tabs { position: absolute; inset: auto 8px 8px; height: 56px; border-radius: 20px; background: var(--white); display: flex; justify-content: space-around; align-items: center; box-shadow: 0 -4px 20px -12px rgba(7, 23, 51, .3); }
.phone__tabs button { width: 48px; height: 44px; border: 0; border-radius: 14px; background: none; color: #94A3B8; display: grid; place-items: center; transition: color .2s, background-color .2s, transform .3s var(--ease-spring); }
.phone__tabs button.is-on { color: var(--blue); background: #E8EFFC; transform: translateY(-3px); }
.mini-switch { position: relative; display: inline-block; width: 38px; height: 22px; flex: none; cursor: pointer; }
.mini-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.mini-switch span { position: absolute; inset: 0; border-radius: 99px; background: #CBD5E1; transition: background-color .25s; }
.mini-switch span::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease-spring); }
.mini-switch input:checked + span { background: var(--green); }
.mini-switch input:checked + span::after { transform: translateX(-16px); }
.mini-switch input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.phone.is-darkmode .phone__screen { background: #0B1220; color: #F1F5F9; }
.phone.is-darkmode .phone__card, .phone.is-darkmode .phone__tabs, .phone.is-darkmode .phone__like { background: #151E31; color: #F1F5F9; }
.phone.is-darkmode .phone__card--grad { background: var(--grad); }
.phone.is-darkmode .phone__tabs button.is-on { background: #1E2A44; color: var(--sky); }

/* ---------- before / after ---------- */
.ba { --pos: 50%; position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; min-height: 380px; box-shadow: var(--shadow); background: #fff; user-select: none; }
.ba__old, .ba__new { position: absolute; inset: 0; }
.ba__new { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--white); box-shadow: 0 0 0 1px rgba(7, 23, 51, .15), 0 0 20px rgba(0, 0, 0, .25); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; border-radius: 16px; background: var(--white); transform: translate(-50%, -50%) rotate(45deg); box-shadow: var(--shadow); }
.ba__handle span::before, .ba__handle span::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border: solid var(--navy); border-width: 0 0 3px 3px; transform: translate(-80%, -20%); }
.ba__handle span::after { border-width: 3px 3px 0 0; transform: translate(-20%, -80%); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; direction: ltr; touch-action: pan-y; }
.ba__range:focus-visible ~ .ba__tag { outline: 3px solid var(--blue); }
.ba:has(.ba__range:focus-visible) { outline: 3px solid var(--blue); outline-offset: 4px; }
.ba__tag { position: absolute; bottom: 16px; padding: 6px 14px; border-radius: 10px; font-weight: 700; font-size: .85rem; pointer-events: none; }
.ba__tag--old { left: 16px; background: #6B7280; color: #fff; }
.ba__tag--new { right: 16px; background: var(--mint); color: var(--navy-900); }
/* old site parody */
.old { height: 100%; background: #F0F0E0; font-family: Tahoma, "Times New Roman", serif; color: #000; font-size: 13px; line-height: 1.6; padding: 10px; overflow: hidden; }
.old__top { background: linear-gradient(#3366CC, #003399); color: #FF0; padding: 14px 10px; display: flex; justify-content: space-between; border: 3px ridge #999; }
.old__top b { font-size: 22px; text-shadow: 2px 2px #000; }
.old__top span { color: #fff; font-size: 11px; }
.old__menu { background: #CCC; padding: 6px; border: 2px outset #EEE; color: #00E; margin-top: 4px; }
.old__body table { width: 100%; border: 2px solid #999; border-collapse: collapse; margin-top: 6px; background: #fff; }
.old__body td { border: 1px solid #999; padding: 10px; vertical-align: top; }
.old__side { width: 25%; background: #FFFFCC; color: #00E; }
.old h4 { color: #C00; font-size: 18px; text-decoration: underline; }
.old u { color: #00E; }
.old__img { margin-top: 10px; height: 80px; border: 2px dashed #999; display: grid; place-items: center; color: #999; }
/* new site */
.new { height: 100%; background: var(--white); color: var(--ink); padding: clamp(14px, 3vw, 30px) clamp(16px, 4vw, 44px); display: grid; align-content: start; gap: clamp(14px, 3vw, 30px); }
.new__nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); font-size: .9rem; color: var(--muted); }
.new__nav b { color: var(--navy); font-size: 1.2rem; margin-inline-end: auto; }
.new__btn { background: var(--blue); color: var(--white); padding: 6px 14px; border-radius: 10px; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.new__btn--lg { display: inline-block; padding: 10px 22px; margin-top: 14px; font-size: .95rem; }
.new__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.new__hero small { color: var(--green); font-weight: 700; }
.new__hero h4 { font-size: clamp(1.3rem, 3.2vw, 2.4rem); font-weight: 900; margin-top: 6px; }
.new__hero p { color: var(--muted); margin-top: 6px; }
.new__art { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; aspect-ratio: 1.3; }
.new__art i { border-radius: 16px; background: var(--grad); }
.new__art i:nth-child(2) { background: #E6EDF8; }
.new__art i:nth-child(3) { background: var(--navy); }
.new__art i:nth-child(4) { background: var(--mint); border-radius: 50%; }
.new__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.new__stats span { background: var(--bg-light); border-radius: 14px; padding: 10px 14px; font-size: .8rem; color: var(--muted); display: grid; }
.new__stats b { color: var(--ink); font-size: .95rem; }
@media (max-width: 700px) {
  .ba { aspect-ratio: auto; height: 460px; }
  .new__hero { grid-template-columns: 1fr; }
  .new__art { display: none; }
  .new__stats { grid-template-columns: 1fr; }
  .new__nav span:not(.new__btn) { display: none; }
  .old__side { display: none; }
}

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 22px; max-width: 820px; }
.steps::before { content: ""; position: absolute; right: 19px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.steps::after { content: ""; position: absolute; right: 19px; top: 10px; width: 3px; border-radius: 3px; height: calc((100% - 20px) * var(--sp, 0)); background: linear-gradient(var(--blue), var(--mint)); }
.step { display: flex; gap: 22px; align-items: flex-start; position: relative; }
.step__px { position: relative; z-index: 1; flex: none; width: 41px; height: 41px; border-radius: 12px; background: var(--navy-800); border: 2px solid rgba(255, 255, 255, .18); transition: background-color .4s, border-color .4s, transform .5s var(--ease-spring); }
.step.is-lit .step__px { background: var(--mint); border-color: var(--mint); transform: rotate(45deg) scale(.8); }
.step > div { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); border-radius: 20px; padding: 20px 24px; flex: 1; transition: border-color .3s, background-color .3s; }
.step.is-lit > div { border-color: rgba(62, 224, 168, .3); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted-dark); margin-top: 6px; }

/* ---------- pixel playground ---------- */
.play { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.palette { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.palette button { width: 44px; height: 44px; border-radius: 12px; background: var(--c); border: 3px solid var(--white); box-shadow: 0 0 0 1.5px var(--line); transition: transform .25s var(--ease-spring), box-shadow .2s; }
.palette button[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--ink); transform: translateY(-3px) rotate(45deg) scale(.9); }
.play__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.paint { background: var(--white); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.paint canvas { width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; cursor: crosshair; touch-action: none; image-rendering: pixelated; }
@media (max-width: 860px) { .play { grid-template-columns: 1fr; } }

/* ---------- wizard ---------- */
.wizard { max-width: 880px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); border-radius: 28px; padding: clamp(22px, 4vw, 40px); position: relative; overflow: hidden; }
.wizard__progress { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.wizard__progress span { display: block; height: 100%; width: 20%; background: var(--grad); border-radius: inherit; transition: width .6s var(--ease-out);
  background-image: linear-gradient(90deg, rgba(7, 23, 51, .5) 2px, transparent 2px), var(--grad); background-size: 14px 100%, 100% 100%; }
.wizard__count { margin: 12px 0 18px; color: var(--muted-dark); font-size: .92rem; }
.wstep { border: 0; padding: 0; margin: 0; display: none; min-width: 0; }
.wstep.is-on { display: block; animation: stepIn .5s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(-24px); } }
.wstep legend { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 800; margin-bottom: 22px; padding: 0; }
.wstep legend small { font-size: .9rem; color: var(--muted-dark); font-weight: 500; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.pick { cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick > span { display: grid; gap: 4px; height: 100%; padding: 20px; border-radius: 18px; border: 1.5px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); transition: border-color .2s, background-color .2s, transform .3s var(--ease-spring); }
.pick .ico { width: 30px; height: 30px; color: var(--mint); margin-bottom: 6px; }
.pick b { font-size: 1.05rem; }
.pick small { color: var(--muted-dark); }
.pick:hover > span { border-color: rgba(62, 224, 168, .5); transform: translateY(-3px); }
.pick input:checked + span { border-color: var(--mint); background: rgba(62, 224, 168, .1); box-shadow: inset 0 0 0 1px var(--mint); }
.pick input:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 3px; }
@media (max-width: 760px) { .cards, .cards--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 340px) { .cards, .cards--3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .pick > span { padding: 16px; } }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); color: var(--white); font-size: 1rem; transition: border-color .2s, background-color .2s; }
.field textarea { resize: vertical; }
.field input::placeholder { color: rgba(255, 255, 255, .35); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mint); background: rgba(255, 255, 255, .08); }
.field input[aria-invalid="true"] { border-color: #FB7185; }
.help { font-size: .85rem; color: var(--muted-dark); }
.err { color: #FDA4AF; font-size: .9rem; font-weight: 600; margin-top: 8px; }
.field .err { margin-top: 0; }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }
.wizard__nav { display: flex; justify-content: space-between; margin-top: 30px; gap: 12px; }
.wresult h3 { font-size: 1.5rem; }
.wresult:focus { outline: none; }
.size { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.size__px { display: inline-flex; gap: 4px; }
.size__px i { width: 16px; height: 16px; border-radius: 4px; background: rgba(255, 255, 255, .12); transition: background-color .3s, transform .4s var(--ease-spring); }
.size__px i.on { background: var(--mint); transform: rotate(45deg) scale(.85); }
.summary { white-space: pre-wrap; font-family: inherit; background: rgba(0, 0, 0, .25); border: 1px solid var(--line-dark); border-radius: 18px; padding: 18px 20px; margin: 0; line-height: 2; color: #DCE6F7; }
.wresult__note { margin-top: 18px; color: var(--muted-dark); }
.send { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { border-color: #BFD0EE; box-shadow: 0 16px 40px -28px rgba(7, 23, 51, .5); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.08rem; cursor: pointer; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--blue); transition: transform .35s var(--ease-spring); }
.faq details[open] summary .ico { transform: rotate(135deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- footer ---------- */
.footer { padding: 70px 0 30px; border-top: 1px solid var(--line-dark); background: var(--navy-950); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer__brand img { width: 220px; height: auto; }
.footer__brand p { margin-top: 14px; color: var(--muted-dark); }
.footer__h { font-size: 1.1rem; margin-bottom: 14px; }
.footer__contact { display: grid; gap: 6px; }
.contact { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--muted-dark); transition: color .2s; font-weight: 600; }
.contact:hover { color: var(--mint); }
.contact .ico { color: var(--mint); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: #8193B5; font-size: .9rem; }
kbd { font-family: "Space Grotesk", monospace; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; padding: 1px 8px; color: var(--mint); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .cursor-pixel { display: none; }
  .rotator__word { filter: none; }
}

/* small phones: keep the rotating phrase on one line */
@media (max-width: 440px) { .rotator { font-size: .8em; } }

/* mobile builder: show the preview first, device switcher is meaningless on a phone */
@media (max-width: 980px) { .builder__stage { order: -1; } }
@media (max-width: 700px) { .devices { display: none; } .browser { width: 100% !important; } }

/* ---------- all services grid (admin-managed) ---------- */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.svc-item { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px; transition: transform .35s var(--ease-spring), box-shadow .3s, border-color .3s; }
.svc-item:hover { transform: translateY(-4px); border-color: #BFD0EE; box-shadow: 0 20px 40px -28px rgba(7, 23, 51, .5); }
.svc-item__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: var(--white); margin-bottom: 14px; transition: transform .4s var(--ease-spring); }
.svc-item:hover .svc-item__icon { transform: rotate(-8deg) scale(1.08); }
.svc-item h3 { font-size: 1.1rem; }
.svc-item p { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.svc-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; background: var(--white); border: 1px dashed #C9D5E8; border-radius: var(--radius); padding: 18px 22px; }
.svc-cta p { font-weight: 600; }
/* playground now sits on a dark section */
.dark .palette button { border-color: var(--navy-900); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .25); }
.dark .palette button[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--mint); }
