/* ==========================================================================
   GU Tuning Websites – app.css
   One stylesheet for the public site, auth, order wizard, client area & admin.
   ========================================================================== */

:root {
  --bg: #07080a;
  --bg-2: #0c0e12;
  --panel: #111419;
  --panel-2: #171b22;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f4f5f7;
  --muted: #9199a8;
  --dim: #5d6573;
  --accent: #e10600;
  --accent-2: #ff3326;
  --chrome: #d5d9df;
  --grad: linear-gradient(180deg, #ff2216 0%, #d00800 55%, #9e0000 100%);
  --ok: #22c55e;
  --warn: #f5a524;
  --info: #38bdf8;
  --bad: #f43f5e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.link { color: var(--accent-2); border-bottom: 1px solid currentColor; }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Film grain overlay for a photographic feel */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-5%,4%) } 40% { transform: translate(4%,-6%) } 60% { transform: translate(-3%,2%) } 80% { transform: translate(6%,5%) } }

.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 90; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.h1, .h2, .h3, .h4, h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.02; letter-spacing: -.02em; }
.h1 { font-size: clamp(44px, 8vw, 110px); font-weight: 900; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.035em; }
.h2 { font-size: clamp(34px, 5.2vw, 68px); font-weight: 800; font-stretch: 105%; }
.h3 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 800; font-stretch: 108%; }
.h4 { font-size: 22px; font-weight: 700; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--chrome); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 13px; color: #d5d8de; background: rgba(255,255,255,.04); backdrop-filter: blur(8px); margin: 0 0 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(225,6,0,.6); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(225,6,0,.6) } 80%,100% { box-shadow: 0 0 0 10px rgba(225,6,0,0) } }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --h: 46px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 99px; border: 1px solid transparent; font-weight: 600; font-size: 15px;
  white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), border-color .25s, background .25s, box-shadow .25s;
  cursor: pointer; background: none;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -12px rgba(225,6,0,.8), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.25); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(225,6,0,.85), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.03); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); }
.btn--model { background: var(--model, var(--accent)); color: #0a0a0b; }
.btn--model:hover { box-shadow: 0 14px 36px -12px var(--model); }
.btn--dark { background: var(--panel-2); border-color: var(--line-2); }
.btn--dark:hover { background: #1e232c; }
.btn--danger { background: rgba(244,63,94,.12); color: #ff8da1; border-color: rgba(244,63,94,.3); }
.btn--danger:hover { background: rgba(244,63,94,.2); }
.btn--ok { background: var(--ok); color: #05210f; }
.btn:disabled, .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 80; transition: background .4s, border-color .4s, transform .4s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled .nav__inner { height: 72px; }
.nav.is-scrolled { background: rgba(7,8,10,.72); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 92px; transition: height .4s var(--ease); max-width: 1400px; margin: auto; padding-inline: var(--gutter); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 99px; font-size: 14px; color: #c8ccd4; transition: color .2s, background .2s; }
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__login { font-size: 14px; font-weight: 500; padding: 8px 12px; color: #c8ccd4; }
.nav__login:hover { color: #fff; }
.nav__user { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 4px 12px 4px 4px; border: 1px solid var(--line-2); border-radius: 99px; }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); position: relative; }
.nav__burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
.nav__burger i:first-child { top: 16px; } .nav__burger i:last-child { top: 23px; }
.nav.is-open .nav__burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__drawer { display: none; }

.logo { display: block; height: var(--logo-h, 72px); width: auto; max-width: 260px; object-fit: contain; object-position: left center; transition: height .4s var(--ease); }
.nav.is-scrolled .logo { height: var(--logo-h-scrolled, 54px); }
.logo--lg { height: 110px; margin-bottom: 18px; }
.side__brand .logo { height: 76px; }
.logout-form { display: contents; }
.logout-form button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.nav__drawer .logout-form button { padding: 14px 0; font: 800 26px var(--display); border-bottom: 1px solid var(--line); width: 100%; }
.footer__grid .logout-form button { display: block; color: #c8ccd4; padding: 4px 0; font-size: 15px; }
.footer__grid .logout-form button:hover { color: #fff; }
.side__foot .logout-form button { color: var(--muted); padding: 6px; border-radius: 8px; display: grid; }
.side__foot .logout-form button:hover { color: #fff; background: rgba(255,255,255,.05); }
.side__foot .logout-form svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; font: 700 14px var(--display); background: var(--grad); color: #fff; flex: none; }
.avatar--sm { width: 30px; height: 30px; font-size: 11px; }
.avatar--lg { width: 64px; height: 64px; font-size: 22px; }

/* --------------------------------------------------------------------------
   Cart
   -------------------------------------------------------------------------- */
.nav__cart { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); display: grid; place-items: center; transition: border-color .2s, background .2s; }
.nav__cart:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.nav__cart svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav__cart-n { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font: 700 11px/20px var(--font); text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.drawer { position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--panel); border-left: 1px solid var(--line-2); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease); box-shadow: var(--shadow); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 20px; }
.drawer__head button { background: none; border: 0; color: var(--muted); font-size: 28px; line-height: 1; }
.drawer__body { padding: 18px 22px 24px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; }
.cart-open, .cart-open body { overflow: hidden; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cart-line { position: relative; display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 40px 12px 12px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); animation: pop .35s var(--ease) both; transition: opacity .3s, transform .3s; }
.cart-line.is-leaving { opacity: 0; transform: translateX(30px); }
.cart-line__img { width: 64px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--panel-2); display: grid; place-items: center; border: 1px solid var(--line); }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cart-line__img span { font: 900 20px var(--display); color: var(--model, var(--accent)); }
.cart-line__img--addon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; }
.cart-line__body { min-width: 0; }
.cart-line__body b { display: block; font-size: 14.5px; }
.cart-line__body small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-line__price { font: 800 16px var(--display); white-space: nowrap; }
.cart-line__x { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.06); color: var(--muted); font-size: 16px; line-height: 1; }
.cart-line__x:hover { background: rgba(225,6,0,.2); color: #fff; }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--line-2); border-radius: 99px; overflow: hidden; }
.qty button { width: 30px; height: 28px; border: 0; background: rgba(255,255,255,.04); color: #fff; font-size: 16px; }
.qty button:hover { background: rgba(225,6,0,.25); }
.qty span { min-width: 30px; text-align: center; font-weight: 700; font-size: 14px; }
.cart-totals { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.cart-totals div { display: flex; justify-content: space-between; }
.cart-totals__total { color: #fff; align-items: baseline; margin-top: 4px; }
.cart-totals__total b { font: 900 30px var(--display); }
.cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 22px; }
.cart-empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.cart-empty svg { width: 48px; height: 48px; margin: 0 auto 14px; fill: none; stroke: var(--dim); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cart-empty b { color: #fff; }
.is-disabled { opacity: .45; pointer-events: none; }
.btn--added { background: var(--ok) !important; color: #05210f !important; }

/* --------------------------------------------------------------------------
   Toasts
   -------------------------------------------------------------------------- */
.toasts { position: fixed; top: 88px; right: 16px; z-index: 120; display: grid; gap: 10px; width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 14px 14px 16px; border-radius: 14px; background: rgba(23,27,34,.92); border: 1px solid var(--line-2); backdrop-filter: blur(14px); box-shadow: var(--shadow); animation: toastIn .6s var(--ease) both; }
.toast p { margin: 0; flex: 1; font-size: 14px; line-height: 1.5; }
.toast__icon { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.toast--ok .toast__icon { background: rgba(34,197,94,.18); color: var(--ok); }
.toast--bad .toast__icon { background: rgba(244,63,94,.18); color: var(--bad); }
.toast--warn .toast__icon { background: rgba(245,165,36,.18); color: var(--warn); }
.toast--info .toast__icon { background: rgba(56,189,248,.18); color: var(--info); }
.toast__x { background: none; border: 0; color: var(--muted); font-size: 20px; line-height: 1; padding: 0 4px; }
.toast.is-out { animation: toastOut .4s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.96) } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px) } }

/* --------------------------------------------------------------------------
   Preloader
   -------------------------------------------------------------------------- */
.preloader { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; align-content: center; gap: 4px; }
.no-js .preloader { display: none; }
.preloader__tacho { width: 170px; height: 170px; }
.tacho__track, .tacho__fill { fill: none; stroke-width: 6; stroke-dasharray: 377 503; transform: rotate(135deg); transform-origin: 100px 100px; stroke-linecap: round; }
.tacho__track { stroke: rgba(255,255,255,.08); }
.tacho__fill { stroke: var(--accent); stroke-dasharray: 0 503; }
.tacho__tick { stroke: rgba(255,255,255,.4); stroke-width: 2; }
.tacho__tick.is-red { stroke: var(--accent); }
.tacho__needle { stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.preloader__rpm { font: 800 28px var(--display); font-stretch: 115%; display: flex; align-items: baseline; gap: 6px; margin-top: -40px; }
.preloader__rpm small { font: 600 10px var(--mono); letter-spacing: .2em; color: var(--muted); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.15); animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.02) translate(-1.5%, 1%); } }
.hero__shade { position: absolute; inset: 0; background:
  radial-gradient(80% 60% at 75% 40%, rgba(225,6,0,.14), transparent 60%),
  linear-gradient(90deg, rgba(7,8,10,.95) 0%, rgba(7,8,10,.72) 36%, rgba(7,8,10,.12) 70%, rgba(7,8,10,.4) 100%),
  linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero__streaks i { position: absolute; height: 1px; width: 40vw; left: -40vw; background: linear-gradient(90deg, transparent, rgba(225,6,0,.8), transparent); animation: streak 6s linear infinite; }
.hero__streaks i:nth-child(1) { top: 90%; animation-delay: .6s; }
.hero__streaks i:nth-child(2) { top: 94%; animation-delay: 2.4s; animation-duration: 4.5s; }
.hero__streaks i:nth-child(3) { top: 97%; animation-delay: 4s; animation-duration: 7s; opacity: .6; }
@keyframes streak { to { transform: translateX(180vw); } }

.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.hero__title { font-size: clamp(42px, 5.8vw, 92px); font-weight: 900; font-stretch: 115%; text-transform: uppercase; line-height: .9; letter-spacing: -.04em; margin: 0 0 26px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .word { display: inline-block; white-space: nowrap; }
.hero__title .char { display: inline-block; will-change: transform; }
.hero__lead { font-size: clamp(17px, 1.5vw, 19px); color: #c3c8d1; max-width: 540px; margin: 0 0 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ticks { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.hero__ticks li { display: flex; align-items: center; gap: 8px; }
.hero__ticks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(34,197,94,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat; }

.hero__stage { position: relative; height: 560px; perspective: 1400px; }
.hero__stage .device--laptop { position: absolute; top: 30px; right: 0; width: 100%; transform: rotateY(-14deg) rotateX(6deg); transform-style: preserve-3d; }
.hero__stage .device--phone { position: absolute; right: -10px; bottom: 0; width: 170px; }
.hero__stage .dyno-card { position: absolute; left: -40px; bottom: 30px; width: 330px; }
.hero__chip { position: absolute; top: 0; left: 6%; padding: 10px 16px; border-radius: 99px; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pingG 1.6s infinite; }
@keyframes pingG { 80%,100% { box-shadow: 0 0 0 10px rgba(34,197,94,0) } }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: #fff; transform: translateX(-50%); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0) } 30% { opacity: 1 } 100% { opacity: 0; transform: translate(-50%, 14px) } }

.glass { background: rgba(17,20,25,.62); border: 1px solid var(--line-2); backdrop-filter: blur(16px) saturate(1.3); box-shadow: var(--shadow); }

/* Devices -------------------------------------------------------------- */
.device { display: block; position: relative; }
.device--laptop { border-radius: 14px; overflow: hidden; background: #0d0f13; border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 0 6px rgba(255,255,255,.02); }
.device__bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #15181e; border-bottom: 1px solid var(--line); }
.device__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2f38; }
.device__bar i:nth-child(1) { background: #ff5f57; } .device__bar i:nth-child(2) { background: #febc2e; } .device__bar i:nth-child(3) { background: #28c840; }
.device__bar span { margin-left: 12px; flex: 1; max-width: 260px; font: 11px var(--mono); color: var(--muted); padding: 4px 10px; background: rgba(255,255,255,.04); border-radius: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device__screen { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.device__screen img { width: 100%; height: auto; }
.autoscroll { animation: autoscroll 22s ease-in-out infinite alternate; }
@keyframes autoscroll { 0%, 8% { transform: translateY(0) } 92%, 100% { transform: translateY(calc(-100% + 340px)) } }
.hoverscroll { transition: transform 6s cubic-bezier(.45,.05,.35,1); }
.device--hover:hover .hoverscroll, .device--hover:focus-visible .hoverscroll { transform: translateY(calc(-100% + var(--screen-h, 380px))); }
.device__cta { position: absolute; right: 14px; bottom: 14px; padding: 8px 14px; border-radius: 99px; background: rgba(0,0,0,.7); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; border: 1px solid var(--line-2); opacity: 0; transform: translateY(8px); transition: .35s var(--ease); }
.device--hover:hover .device__cta { opacity: 1; transform: none; }
.device--phone { border-radius: 30px; overflow: hidden; border: 6px solid #1b1f26; background: #000; box-shadow: var(--shadow), 0 0 0 1px var(--line-2); aspect-ratio: 390 / 844; }
.device--phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device__notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 34%; height: 16px; background: #000; border-radius: 99px; z-index: 2; }

/* Dyno card ------------------------------------------------------------ */
.dyno-card { border-radius: var(--radius); padding: 16px 18px; }
.dyno-card__head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.dyno-card__gain { font: 800 20px var(--display); color: var(--ok); }
.dyno { width: 100%; height: auto; margin: 8px 0; overflow: visible; }
.dyno__grid line { stroke: rgba(255,255,255,.06); }
.dyno__stock, .dyno__tuned { fill: none; stroke-width: 3; stroke-linecap: round; }
.dyno__stock { stroke: #6b7280; stroke-dasharray: 6 6; }
.dyno__tuned { stroke: var(--accent); filter: drop-shadow(0 0 8px rgba(225,6,0,.6)); }
.dyno-card__legend { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.dyno-card__legend b { color: #fff; font-family: var(--display); font-size: 16px; }
.sw { display: inline-block; width: 12px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.sw--stock { background: #6b7280; } .sw--tuned { background: var(--accent); }

/* --------------------------------------------------------------------------
   Info bar (under the hero)
   -------------------------------------------------------------------------- */
.infobar { border-block: 1px solid var(--line); background: var(--bg-2); position: relative; }
.infobar::before { content: ""; position: absolute; inset: -1px 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--accent) 80%, transparent); opacity: .7; }
.infobar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.infobar__item { display: flex; gap: 14px; align-items: flex-start; padding: 28px 24px; border-left: 1px solid var(--line); }
.infobar__item:first-child { border-left: 0; padding-left: 0; }
.infobar__item svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.infobar__item b { display: block; font-size: 15px; font-weight: 700; color: #fff; }
.infobar__item span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section__head { margin-bottom: clamp(40px, 6vw, 80px); max-width: 860px; }
.section__head .h2 { margin-bottom: 18px; }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .lead { margin-inline: auto; }

/* Showroom -------------------------------------------------------------- */
.showroom { background: radial-gradient(60% 40% at 50% 0%, rgba(225,6,0,.08), transparent 70%); }
.showroom__list { display: grid; gap: clamp(90px, 12vw, 160px); }
.model { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.model--flip .model__visual { order: 2; }
.model__visual { position: relative; padding: 0 0 50px; }
.model__visual::before { content: ""; position: absolute; inset: 10% -5% 0; background: radial-gradient(closest-side, color-mix(in srgb, var(--model) 22%, transparent), transparent); filter: blur(30px); z-index: -1; }
.model__num { position: absolute; top: -70px; left: -20px; font: 900 clamp(110px, 16vw, 220px)/1 var(--display); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); z-index: -1; }
.model--flip .model__num { left: auto; right: -20px; }
.model__visual .device--laptop { --screen-h: 380px; }
.model__visual .device--phone-sm { position: absolute; width: 23%; right: -4%; bottom: 0; }
.model--flip .model__visual .device--phone-sm { right: auto; left: -4%; }
.model__tag { font: 600 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--model); margin: 0 0 10px; }
.model__info .h3 { margin-bottom: 16px; }
.model__info > p { color: var(--muted); margin: 0 0 26px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 0 0 28px; }
.specs div { background: var(--bg); padding: 14px 16px; }
.specs dt { font: 600 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.specs dd { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.swatch { width: 12px; height: 12px; border-radius: 4px; background: var(--model); box-shadow: 0 0 12px var(--model); }
.ticks { list-style: none; padding: 0; margin: -10px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: 14px; color: #d3d7de; }
.ticks li { display: flex; gap: 9px; }
.ticks li::before { content: "✓"; color: var(--model, var(--accent)); font-weight: 800; }
.live-thumb { position: absolute; top: 0; left: 0; border: 0; width: 1440px; height: 2400px; transform-origin: 0 0; pointer-events: none; background: #fff; }
.model__visual, .model__info { min-width: 0; }
.device__screen, .ow-design__img, .cat-card__img { position: relative; }
.addon { align-items: center; }
.addon > span { margin-left: auto; }
.model__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.model__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.price { font: 900 40px/1 var(--display); font-stretch: 110%; display: flex; align-items: baseline; gap: 8px; }
.price small { font: 500 12px var(--font); color: var(--muted); }

/* Photo break ----------------------------------------------------------- */
.photo-break { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.photo-break__img, .stats-band__bg, .cta__bg { position: absolute; inset: -15% 0; z-index: -1; }
.photo-break__img img, .stats-band__bg img, .cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.photo-break::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(7,8,10,.55) 30%, rgba(7,8,10,.65) 70%, var(--bg) 100%); }
.big-quote { font: 800 clamp(28px, 4.4vw, 60px)/1.12 var(--display); letter-spacing: -.025em; max-width: 1100px; margin: 0; }
.big-quote .w { opacity: .18; transition: opacity .2s; }

/* Features -------------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { position: relative; padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), border-color .4s; }
.feature:hover { transform: translateY(-6px); border-color: var(--line-2); }
.spotlight::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(225,6,0,.14), transparent 45%); }
.spotlight:hover::before { opacity: 1; }
.feature__icon { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: rgba(225,6,0,.1); border: 1px solid rgba(225,6,0,.25); fill: none; stroke: var(--accent-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Stats band ------------------------------------------------------------ */
.stats-band { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; }
.stats-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,8,10,.92), rgba(7,8,10,.7)); }
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat b { font: 900 clamp(48px, 6vw, 84px)/1 var(--display); font-stretch: 115%; }
.stat span { font: 800 24px var(--display); color: var(--accent-2); margin-left: 4px; }
.stat p { color: var(--muted); margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--line-2); }

/* Process --------------------------------------------------------------- */
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps__line { position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: var(--line); }
.steps__line span { display: block; width: 100%; height: 100%; background: var(--grad); transform-origin: top; transform: scaleY(0); }
.step { display: grid; grid-template-columns: 64px 1fr 280px; gap: 28px; align-items: center; padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.step__num { width: 64px; height: 64px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); display: grid; place-items: center; font: 900 24px var(--display); position: relative; z-index: 1; transition: border-color .4s, box-shadow .4s; }
.step.is-in .step__num { border-color: var(--accent); box-shadow: 0 0 30px rgba(225,6,0,.35); }
.step h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); max-width: 520px; }
.step__img { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16/10; }
.step__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.2s var(--ease); filter: saturate(.8); }
.step:hover .step__img img { transform: scale(1); filter: none; }

/* Who ------------------------------------------------------------------- */
.who__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who__card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; display: flex; align-items: flex-end; isolation: isolate; border: 1px solid var(--line); }
.who__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.who__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(7,8,10,.95)); }
.who__card:hover img { transform: scale(1.08); }
.who__card > div { padding: 24px; }
.who__card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.who__card p { margin: 0; color: #c3c8d1; font-size: 14px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.who__card:hover p, .who__card:focus-visible p { max-height: 120px; opacity: 1; margin-bottom: 12px; }
.who__go { font-weight: 600; font-size: 14px; color: var(--accent-2); }

/* Pricing --------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; padding: 34px 30px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.plan:hover { transform: translateY(-6px); }
.plan--hot { background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: 0 30px 80px -30px rgba(225,6,0,.5); }
.plan__badge { position: absolute; top: -13px; left: 30px; padding: 5px 12px; border-radius: 99px; background: var(--grad); font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.plan h3 { font-size: 26px; font-weight: 800; }
.plan__tag { color: var(--muted); margin: 6px 0 22px; font-size: 14px; }
.plan__price { font: 900 54px/1 var(--display); font-stretch: 110%; margin-bottom: 26px; display: flex; align-items: baseline; gap: 8px; }
.plan__price small { font: 500 13px var(--font); color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: #d3d7de; }
.plan li::before { content: "✓"; color: var(--model); font-weight: 800; }
.addons { margin-top: 50px; padding: 30px; border-radius: 22px; border: 1px dashed var(--line-2); }
.addons .h4 { margin-bottom: 18px; }
.addons__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 30px; }
.addon { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.addon p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.addon span { font: 800 18px var(--display); white-space: nowrap; }

/* FAQ ------------------------------------------------------------------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 700 clamp(18px, 1.8vw, 21px) var(--display); }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; flex: none; transition: transform .4s var(--ease), background .3s; }
.accordion__item summary i::before, .accordion__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: #fff; transform: translate(-50%, -50%); }
.accordion__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.accordion__item[open] summary i { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.accordion__item[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.accordion__body { color: var(--muted); padding: 0 50px 24px 0; }
.accordion__body p { margin: 0; }

/* CTA ------------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; padding: clamp(110px, 16vw, 220px) 0; text-align: center; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(7,8,10,.55), rgba(7,8,10,.95)); }
.cta__inner { display: grid; justify-items: center; gap: 22px; }
.cta .lead { margin: 0; }

/* Footer ---------------------------------------------------------------- */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 80px 0 0; background: var(--bg-2); }
.footer__glow { position: absolute; left: 50%; top: -200px; width: 800px; height: 400px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(225,6,0,.18), transparent); pointer-events: none; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { color: var(--muted); max-width: 320px; font-size: 15px; }
.footer h4 { font: 600 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.footer__grid a { display: block; color: #c8ccd4; padding: 4px 0; font-size: 15px; transition: color .2s, transform .2s; }
.footer__grid a:hover { color: #fff; transform: translateX(3px); }
.footer__mail { font-weight: 600; color: #fff !important; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 40px var(--gutter) 30px; font-size: 13px; color: var(--dim); }
.footer__base a:hover { color: #fff; }
.footer__word { font: 900 clamp(70px, 17vw, 260px)/.8 var(--display); font-stretch: 125%; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); white-space: nowrap; margin-bottom: -.12em; user-select: none; }

/* --------------------------------------------------------------------------
   Inner page hero (showroom, contact, legal)
   -------------------------------------------------------------------------- */
.page-hero { position: relative; padding: 170px 0 70px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,8,10,.6), var(--bg)); }
.page-hero .h1 { font-size: clamp(42px, 7vw, 96px); margin-bottom: 18px; }
.page-hero--short { padding-bottom: 40px; }
.vc { position: relative; min-height: 460px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); padding: clamp(10px, 2vw, 22px); overflow: hidden; }
.vc__embed { position: relative; z-index: 1; }
.vc__embed iframe { border-radius: 14px; }
.vc__loading { position: absolute; inset: clamp(10px, 2vw, 22px); z-index: 2; display: grid; align-content: center; justify-items: center; gap: 16px; background: var(--panel); border-radius: 14px; transition: opacity .5s var(--ease), visibility .5s; }
.vc__loading.is-done { opacity: 0; visibility: hidden; }
.vc__skeleton { width: min(560px, 90%); display: grid; gap: 12px; }
.vc__skeleton i { height: 46px; border-radius: 12px; background: linear-gradient(90deg, rgba(255,255,255,.04) 25%, rgba(255,255,255,.09) 50%, rgba(255,255,255,.04) 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.vc__skeleton i:last-child { width: 40%; justify-self: center; background-color: rgba(225,6,0,.25); }
@keyframes shimmer { to { background-position: -200% 0; } }
.vc__empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 70px 20px; }
.vc__empty svg { width: 56px; height: 56px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vc__empty p { margin: 0 0 8px; }
.vc-cta { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border-radius: 20px; border: 1px dashed var(--line-2); }
.vc-cta p { margin: 6px 0 0; }
.prose { max-width: 760px; color: #c8ccd4; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; color: #fff; }

/* Preview page ---------------------------------------------------------- */
.preview { padding: 100px 0 40px; }
.preview__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.preview__tabs { display: flex; gap: 6px; padding: 5px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); }
.preview__tabs a, .preview__tabs button { padding: 8px 16px; border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--muted); background: none; border: 0; }
.preview__tabs .is-active { background: var(--panel-2); color: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.preview__frame { margin: 0 auto; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: var(--shadow); transition: width .6s var(--ease), height .6s var(--ease); width: 100%; height: 78vh; position: relative; }
.preview__frame[data-device="tablet"] { width: 820px; max-width: 100%; }
.preview__frame[data-device="mobile"] { width: 390px; height: 760px; border-radius: 40px; border: 10px solid #1b1f26; }
.preview__frame iframe { width: 100%; height: calc(100% - 34px); border: 0; background: #fff; }
.preview__frame[data-device="mobile"] iframe { height: 100%; }
.preview__frame[data-device="mobile"] .device__bar { display: none; }
.preview__loading { position: absolute; inset: 34px 0 0; display: grid; place-items: center; background: var(--bg-2); color: var(--muted); font-size: 14px; transition: opacity .4s; }
.preview__loading.is-done { opacity: 0; pointer-events: none; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field > label, .field__label { font-size: 14px; font-weight: 600; color: #dde0e6; }
.field__label .req, .field > label .req { color: var(--accent); }
.field__hint { font-size: 12.5px; color: var(--dim); }
.field__error { font-size: 13px; color: #ff8da1; display: flex; align-items: center; gap: 6px; }
.field__error::before { content: "!"; width: 16px; height: 16px; border-radius: 50%; background: rgba(244,63,94,.2); display: inline-grid; place-items: center; font-size: 10px; font-weight: 800; }
.input, .field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field input[type=password], .field input[type=number], .field input[type=date], .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,.035); border: 1px solid var(--line-2); border-radius: 12px; color: var(--text);
  padding: 13px 15px; font: inherit; font-size: 15px; transition: border-color .2s, background .2s, box-shadow .2s; outline: none;
}
.field textarea { resize: vertical; min-height: 90px; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239199a8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field select option { background: var(--panel); }
.input:hover, .field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(255,255,255,.25); }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent-2); background: rgba(225,6,0,.04); box-shadow: 0 0 0 4px rgba(225,6,0,.12); }
.field.has-error input, .field.has-error textarea, .field.has-error select, .field.has-error .choice-grid { border-color: rgba(244,63,94,.6); }
.input-icon { position: relative; }
.input-icon .toggle-pass { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); font-size: 12px; font-weight: 600; padding: 6px; }

/* Pills / choice cards */
.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 14px; border: 1px solid transparent; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: 14px; cursor: pointer; transition: all .25s var(--ease); user-select: none; }
.choice span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid rgba(255,255,255,.3); transition: all .25s var(--ease); flex: none; }
.choice input[type=radio] + span::before { border-radius: 50%; }
.choice span:hover { border-color: rgba(255,255,255,.3); }
.choice input:checked + span { border-color: var(--accent); background: rgba(225,6,0,.1); color: #fff; }
.choice input:checked + span::before { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; border-color: var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.choice-grid--cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.choice-grid--cards .choice span { width: 100%; height: 100%; border-radius: 14px; flex-direction: column; align-items: flex-start; padding: 16px; min-height: 92px; justify-content: space-between; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; color: #c8ccd4; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin-top: 1px; }

/* Colour pickers */
.colours { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.colour { position: relative; width: 58px; height: 58px; border-radius: 16px; border: 1px solid var(--line-2); overflow: hidden; cursor: pointer; }
.colour input { position: absolute; inset: -10px; width: calc(100% + 20px); height: calc(100% + 20px); border: 0; padding: 0; cursor: pointer; background: none; }
.colour--empty { display: grid; place-items: center; color: var(--muted); font-size: 22px; background: rgba(255,255,255,.03); border-style: dashed; }
.colour__x { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; line-height: 1; display: grid; place-items: center; z-index: 2; }

/* Dropzone */
.dropzone { position: relative; border: 1.5px dashed var(--line-2); border-radius: var(--radius); padding: 30px; text-align: center; background: rgba(255,255,255,.02); transition: border-color .25s, background .25s, transform .25s var(--ease); cursor: pointer; }
.dropzone:hover, .dropzone.is-over { border-color: var(--accent-2); background: rgba(225,6,0,.05); }
.dropzone.is-over { transform: scale(1.01); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__icon { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center; background: rgba(225,6,0,.1); border: 1px solid rgba(225,6,0,.25); }
.dropzone__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dropzone strong { display: block; font-size: 15px; }
.dropzone small { color: var(--dim); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 14px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); animation: pop .4s var(--ease) both; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__name { position: absolute; inset: auto 0 0; padding: 4px 6px; font-size: 10px; background: rgba(0,0,0,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb__file { display: grid; place-items: center; height: 100%; font: 700 12px var(--mono); color: var(--muted); }
.thumb__x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.7); color: #fff; font-size: 13px; }
@keyframes pop { from { opacity: 0; transform: scale(.85) } }
.progress { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .3s; }

/* Signature */
.signature { position: relative; border: 1px solid var(--line-2); border-radius: 14px; background: #f8f8f6; overflow: hidden; }
.signature canvas { width: 100%; height: 180px; display: block; touch-action: none; cursor: crosshair; }
.signature__line { position: absolute; left: 24px; right: 24px; bottom: 44px; border-bottom: 1px dashed #b7b7b7; pointer-events: none; }
.signature__x { position: absolute; left: 24px; bottom: 50px; color: #9c9c9c; font: 700 18px var(--display); pointer-events: none; }
.signature__clear { position: absolute; top: 10px; right: 10px; padding: 5px 12px; border-radius: 99px; border: 1px solid #ddd; background: #fff; color: #333; font-size: 12px; font-weight: 600; }
.signature__hint { position: absolute; inset: 0; display: grid; place-items: center; color: #aaa; pointer-events: none; font-size: 14px; transition: opacity .3s; }
.signature.is-signed .signature__hint { opacity: 0; }

.notice { padding: 16px 18px; border-radius: 14px; background: rgba(245,165,36,.08); border: 1px solid rgba(245,165,36,.25); font-size: 14px; color: #f3d9a6; }
.notice--info { background: rgba(56,189,248,.07); border-color: rgba(56,189,248,.22); color: #bfe6f8; }
.notice--ok { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.25); color: #b9efcb; }

/* --------------------------------------------------------------------------
   Auth pages
   -------------------------------------------------------------------------- */
.auth { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; }
.auth__visual { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 50px; isolation: isolate; }
.auth__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 30s ease-in-out infinite alternate; }
.auth__visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,8,10,.2), rgba(7,8,10,.9)), linear-gradient(90deg, transparent 60%, var(--bg)); }
.auth__quote { max-width: 460px; }
.auth__quote h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 900; font-stretch: 112%; text-transform: uppercase; line-height: .95; margin-bottom: 14px; }
.auth__quote p { color: #c8ccd4; margin: 0; }
.auth__panel { display: grid; place-items: center; padding: 110px var(--gutter) 50px; }
.auth__card { width: 100%; max-width: 440px; }
.auth__card h1 { font-size: 38px; font-weight: 900; font-stretch: 110%; margin-bottom: 8px; }
.auth__card > p { color: var(--muted); margin: 0 0 30px; }
.auth__card form { display: grid; gap: 18px; }
.auth__row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.auth__alt { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }
.auth__alt a { color: var(--accent-2); font-weight: 600; }
.strength { display: flex; gap: 4px; margin-top: 4px; }
.strength i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); transition: background .3s; }
.strength[data-score="1"] i:nth-child(-n+1) { background: var(--bad); }
.strength[data-score="2"] i:nth-child(-n+2) { background: var(--warn); }
.strength[data-score="3"] i:nth-child(-n+3) { background: #a3e635; }
.strength[data-score="4"] i { background: var(--ok); }

/* --------------------------------------------------------------------------
   Order form (calm, single column, fixed action bar)
   -------------------------------------------------------------------------- */
.ow { padding: 104px 0 150px; min-height: 100svh; background: radial-gradient(60% 40% at 50% 0%, rgba(225,6,0,.07), transparent 70%); }
.ow__wrap { max-width: 860px; margin: 0 auto; padding-inline: var(--gutter); }
.ow-head { margin-bottom: 26px; }
.ow-head__eyebrow { font: 600 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.ow-progress { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; }
.ow-progress::before { content: ""; position: absolute; left: 6%; right: 6%; top: 15px; height: 2px; background: var(--line-2); }
.ow-progress li { position: relative; display: flex; justify-content: center; }
.ow-progress button { display: grid; justify-items: center; gap: 8px; background: none; border: 0; padding: 0; color: var(--dim); font-size: 13px; font-weight: 600; cursor: pointer; }
.ow-progress button:disabled { cursor: default; }
.ow-progress i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--font); font-style: normal; background: var(--bg); border: 2px solid var(--line-2); position: relative; z-index: 1; transition: background .25s, border-color .25s, color .25s; }
.ow-progress li.is-done button { color: #c8ccd4; }
.ow-progress li.is-done i { background: #fff; border-color: #fff; color: #0a0a0b; }
.ow-progress li.is-done i::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; background: #fff; border-radius: 50%; }
.ow-progress li.has-error i { border-color: var(--bad); color: #ff8da1; }
.ow-progress li.is-current button { color: #fff; }
.ow-progress li.is-current i { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 5px rgba(225,6,0,.18); }
.ow-progress-bar { display: none; height: 4px; border-radius: 99px; background: var(--line-2); overflow: hidden; margin-top: 14px; }
.ow-progress-bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .35s var(--ease); }
.ow-restore { margin-bottom: 16px; }
.ow-restore .link { background: none; border: 0; padding: 0; font: inherit; color: #fff; cursor: pointer; margin-left: 6px; }

.ow-step { display: none; }
.ow-step.is-active { display: block; animation: owIn .18s ease-out both; }
@keyframes owIn { from { opacity: .4; } }
.ow-step__head { margin-bottom: 20px; }
.ow-step__meta { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--accent-2); }
.ow-step__meta span { margin: 0 8px; color: var(--dim); }
.ow-step__title { font: 800 clamp(28px, 4vw, 38px)/1.1 var(--display); letter-spacing: -.02em; margin: 0 0 8px; }
.ow-step__intro { color: var(--muted); margin: 0; font-size: 16px; }
.ow-alert { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: rgba(244,63,94,.1); border: 1px solid rgba(244,63,94,.35); color: #ffc2cd; font-size: 14px; font-weight: 600; }

.ow-block { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 28px); }
.ow-block + .ow-block, .ow-designs + .ow-block, .ow-cards + .ow-block { margin-top: 16px; }
.ow-block > h3 { font-size: 19px; font-weight: 700; margin: 0 0 16px; }
.ow-block > h3 .muted { font: 500 14px var(--font); }
.ow-note { margin: -4px 0 18px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line); color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.ow .form-grid { gap: 16px; }

/* design cards */
.ow-designs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; border-radius: 18px; }
.ow-designs.has-error { outline: 2px solid rgba(244,63,94,.55); outline-offset: 6px; }
.ow-designs > .field__error { grid-column: 1 / -1; }
.ow-design { position: relative; cursor: pointer; }
.ow-design input { position: absolute; opacity: 0; pointer-events: none; }
.ow-design__card { display: flex; flex-direction: column; height: 100%; border-radius: 18px; overflow: hidden; background: var(--panel); border: 2px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.ow-design:hover .ow-design__card { border-color: var(--line-2); }
.ow-design input:checked + .ow-design__card { border-color: var(--model); box-shadow: 0 14px 40px -18px var(--model); }
.ow-design input:focus-visible + .ow-design__card { outline: 2px solid #fff; outline-offset: 2px; }
.ow-design__img { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.ow-design__img img { width: 100%; }
.ow-design__body { display: grid; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.ow-design__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ow-design__top b { font: 800 18px var(--display); }
.ow-design__price { font: 800 18px var(--display); color: var(--model); white-space: nowrap; }
.ow-design__body small { color: var(--muted); font-size: 13px; }
.ow-design__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.ow-design__foot a { font-size: 13px; color: var(--muted); }
.ow-design__foot a:hover { color: #fff; }
.ow-design__pick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.ow-design__pick i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; }
.ow-design__pick em { font-style: normal; }
.ow-design__pick .is-on, .ow-design input:checked + .ow-design__card .ow-design__pick .is-off { display: none; }
.ow-design input:checked + .ow-design__card .ow-design__pick .is-on { display: inline; color: #fff; }
.ow-design input:checked + .ow-design__card .ow-design__pick i { background: var(--model); border-color: var(--model); }
.ow-design input:checked + .ow-design__card .ow-design__pick i::after { content: "✓"; font-size: 12px; color: #0a0a0b; font-weight: 900; }

/* extras */
.ow-extras { display: grid; gap: 10px; }
.ow-extra { border: 1px solid var(--line-2); border-radius: 14px; transition: border-color .2s, background .2s; }
.ow-extra.is-on { border-color: var(--accent); background: rgba(225,6,0,.06); }
.ow-extra__main { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; }
.ow-extra__main input { position: absolute; opacity: 0; pointer-events: none; }
.ow-check { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 2px solid rgba(255,255,255,.3); transition: all .2s; }
.ow-extra__main input:checked + .ow-check { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/13px no-repeat; border-color: var(--accent); }
.ow-extra__main input:focus-visible + .ow-check { outline: 2px solid #fff; outline-offset: 2px; }
.ow-extra__text { flex: 1; min-width: 0; }
.ow-extra__text b { display: block; font-size: 15px; }
.ow-extra__text small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.ow-extra__price { font: 800 16px var(--display); white-space: nowrap; text-align: right; }
.ow-extra__price small { display: block; font: 500 11px var(--font); color: var(--muted); }
.ow-qty { display: none; align-items: center; gap: 8px; padding: 0 16px 14px 52px; font-size: 13px; color: var(--muted); }
.ow-extra.is-on .ow-qty { display: flex; }
.ow-qty span { margin-right: 4px; }
.ow-qty button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); color: #fff; font-size: 18px; line-height: 1; }
.ow-qty button:hover { border-color: var(--accent); }
.ow-qty input { width: 56px; height: 34px; text-align: center; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); color: #fff; font: 700 15px var(--font); -moz-appearance: textfield; }
.ow-qty input::-webkit-outer-spin-button, .ow-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* optional cards & "add more" */
.ow-cards { display: grid; gap: 10px; }
.ow-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ow-card[open] { border-color: var(--line-2); }
.ow-card.is-filled { border-color: rgba(34,197,94,.4); }
.ow-card summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; }
.ow-card summary::-webkit-details-marker { display: none; }
.ow-card__title b { display: block; font-size: 15.5px; }
.ow-card__title small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.ow-card__state { flex: none; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700; color: var(--muted); }
.ow-card[open] .ow-card__state { color: #fff; }
.ow-card.is-filled .ow-card__state { color: var(--ok); border-color: rgba(34,197,94,.4); }
.ow-card__body { padding: 4px 18px 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.ow-more { margin-top: 16px; }
.ow-more > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; font-weight: 600; color: #dde0e6; }
.ow-more > summary::-webkit-details-marker { display: none; }
.ow-more > summary::before { content: "+"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-weight: 700; }
.ow-more[open] > summary::before { content: "–"; }
.ow-more > summary span { color: var(--dim); font-weight: 500; }
.ow-more > .form-grid, .ow-more > .review { margin-top: 16px; }

/* confirm step */
.ow-summary__lines { display: grid; gap: 8px; font-size: 15px; }
.ow-summary__lines div, .ow-summary__vat, .ow-summary__total { display: flex; justify-content: space-between; gap: 12px; }
.ow-summary__lines div span:first-child { color: #c8ccd4; }
.ow-summary__vat { margin-top: 8px; color: var(--muted); font-size: 14px; }
.ow-summary__total { align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ow-summary__total b { font: 900 30px var(--display); }

/* fixed action bar */
.ow-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(10,11,14,.92); backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); }
.ow-bar__inner { max-width: 820px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ow-bar__total { text-align: center; line-height: 1.1; }
.ow-bar__total small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.ow-bar__total b { font: 900 22px var(--display); }
.ow-bar .btn { min-width: 130px; }
.page-order .nav.is-hidden { transform: none; }

/* Shared bits (checkout, cart, order review) */
.addon-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); }
.addon-opt div { flex: 1; }
.addon-opt b { font-size: 15px; display: block; }
.addon-opt small { color: var(--muted); }
.addon-opt > span { font: 800 17px var(--display); white-space: nowrap; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.summary__total b { font: 900 34px var(--display); font-stretch: 110%; }
.summary__secure { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 12px; margin-top: 14px; }
.summary__secure svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.paylogos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.paylogos span { padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line-2); font: 700 11px var(--font); color: var(--muted); }
.review { display: grid; gap: 12px; }
.review__block { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.review__block header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.review__block h4 { font-size: 15px; }
.review__block button { background: none; border: 0; color: var(--accent-2); font-size: 13px; font-weight: 600; cursor: pointer; }
.review dl { display: grid; grid-template-columns: 200px 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.review dt { color: var(--dim); }
.review dd { margin: 0; color: #dde0e6; word-break: break-word; }
.account-switch { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 18px; }
.account-switch label { padding: 8px 16px; border-radius: 99px; font-size: 14px; cursor: pointer; color: var(--muted); }
.account-switch input { display: none; }
.account-switch label:has(input:checked) { background: var(--panel-2); color: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }

/* Checkout & thanks ------------------------------------------------------ */
.checkout { padding: 120px 0 80px; min-height: 100svh; }
.checkout__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; max-width: 1040px; margin: auto; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 32px); }
.card + .card { margin-top: 16px; }
.card__title { font-size: 20px; margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.paybtn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg-2); color: #fff; font-weight: 600; font-size: 16px; transition: all .25s var(--ease); }
.paybtn:hover { border-color: var(--accent); transform: translateY(-2px); }
.paybtn .cards { display: flex; gap: 6px; }
.paybtn .cards i { font: 700 10px var(--font); font-style: normal; padding: 4px 6px; border-radius: 4px; background: #fff; color: #1a1f71; }
.or { display: flex; align-items: center; gap: 14px; color: var(--dim); font-size: 12px; margin: 16px 0; text-transform: uppercase; letter-spacing: .14em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.bank summary { list-style: none; cursor: pointer; }
.bank summary::-webkit-details-marker { display: none; }
.bank[open] summary { border-color: var(--accent); }
.bank__body { padding: 16px 4px 4px; }
.bank__body pre { margin: 0; padding: 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font: 14px/1.6 var(--mono); white-space: pre-wrap; color: #fff; }
.pay-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.pay-head p { margin: 4px 0 0; }
.pay-head__right { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.field input[type=file] { color: var(--muted); font-size: 13.5px; max-width: 100%; }
.field input[type=file]::file-selector-button { margin-right: 12px; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--panel-2); color: #fff; font: 600 13.5px var(--font); cursor: pointer; transition: border-color .2s; }
.field input[type=file]::file-selector-button:hover { border-color: rgba(255,255,255,.35); }
.brand-row { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.brand-preview { flex: none; width: 240px; border-radius: 14px; border: 1px solid var(--line); background: repeating-conic-gradient(#14171c 0 25%, #101216 0 50%) 0 0/16px 16px; display: grid; place-items: center; padding: 16px; }
.brand-preview img { max-width: 100%; max-height: 110px; object-fit: contain; }
.brand-preview--og { padding: 0; overflow: hidden; aspect-ratio: 1200/630; }
.brand-preview--og img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.fake-tab { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px; border-radius: 10px 10px 0 0; background: #2a2d33; font-size: 12.5px; color: #e5e7eb; }
.fake-tab img { width: 18px; height: 18px; }
.fake-tab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fee-box { margin-top: 18px; padding: 16px; border-radius: 14px; border: 1px dashed var(--line-2); }
.pay-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.thanks { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.thanks__flag { width: 110px; height: 110px; margin: 0 auto 26px; border-radius: 50%; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.35); display: grid; place-items: center; }
.thanks__flag svg { width: 54px; height: 54px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 150; }

/* --------------------------------------------------------------------------
   Panel layout (client account + admin)
   -------------------------------------------------------------------------- */
.panel-body { background: var(--bg); }
.panel { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 22px 16px; border-right: 1px solid var(--line); background: var(--bg-2); overflow-y: auto; }
.side__brand { padding: 4px 8px 22px; }
.side__label { font: 600 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); padding: 16px 12px 6px; }
.side a.side__link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #aeb4bf; font-size: 14px; font-weight: 500; transition: background .2s, color .2s; position: relative; }
.side a.side__link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.side a.side__link:hover { background: rgba(255,255,255,.04); color: #fff; }
.side a.side__link.is-active { background: linear-gradient(90deg, rgba(225,6,0,.16), rgba(225,6,0,.02)); color: #fff; }
.side a.side__link.is-active::before { content: ""; position: absolute; left: -16px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad); }
.side__count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.side__foot { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.side__foot div, .side__me { min-width: 0; flex: 1; }
.side__me { color: inherit !important; padding: 0 !important; background: none !important; }
.side__me:hover b { text-decoration: underline; }
.side__foot b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side__foot small { color: var(--dim); font-size: 12px; display: block; overflow: hidden; text-overflow: ellipsis; }
.side__foot a { color: var(--muted); padding: 6px; border-radius: 8px; }
.side__foot a:hover { color: #fff; background: rgba(255,255,255,.05); }
.side__foot svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; height: 70px; padding: 0 clamp(16px, 3vw, 36px); background: rgba(7,8,10,.78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar h1 { font-size: 20px; font-weight: 800; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: none; }
.topbar__burger svg { width: 20px; height: 20px; margin: auto; fill: none; stroke: #fff; stroke-width: 2; }
.content { padding: clamp(16px, 3vw, 36px); display: grid; gap: 20px; align-content: start; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.page-head p { color: var(--muted); margin: 6px 0 0; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { padding: 20px 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(225,6,0,.18), transparent); }
.kpi small { font: 600 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.kpi b { display: block; font: 900 32px/1.1 var(--display); font-stretch: 108%; margin-top: 10px; }
.kpi > span { font-size: 13px; color: var(--muted); }
.kpi a { position: absolute; inset: 0; z-index: 1; }

.grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.grid-2--even { grid-template-columns: 1fr 1fr; }
.stack { display: grid; gap: 20px; align-content: start; min-width: 0; }

.table-wrap { overflow-x: auto; margin: 0 calc(clamp(20px, 3vw, 32px) * -1); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 600 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 10px clamp(20px, 3vw, 32px) 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th:first-child, .table td:first-child { padding-left: clamp(20px, 3vw, 32px); }
.table th:last-child, .table td:last-child { padding-right: clamp(20px, 3vw, 32px); }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: rgba(255,255,255,.025); }
.table tr[data-href] { cursor: pointer; }
.table .ref { font: 600 13px var(--mono); color: #fff; }
.table .sub { display: block; color: var(--dim); font-size: 12.5px; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty svg { width: 44px; height: 44px; margin: 0 auto 12px; fill: none; stroke: var(--dim); stroke-width: 1.5; }

.badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; border: 1px solid; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--muted { color: #aab1bd; border-color: rgba(170,177,189,.25); background: rgba(170,177,189,.08); }
.badge--info { color: var(--info); border-color: rgba(56,189,248,.3); background: rgba(56,189,248,.08); }
.badge--accent { color: #ff6b62; border-color: rgba(225,6,0,.35); background: rgba(225,6,0,.1); }
.badge--warn { color: var(--warn); border-color: rgba(245,165,36,.35); background: rgba(245,165,36,.08); }
.badge--ok { color: var(--ok); border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.08); }
.badge--bad { color: #ff7b93; border-color: rgba(244,63,94,.35); background: rgba(244,63,94,.08); }
.badge--accent i, .badge--warn i { animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }

.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.chip:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.chip.is-active { background: #fff; color: #0a0a0b; border-color: #fff; }
.chip__n { font-size: 11px; opacity: .7; }
.search { position: relative; }
.search input { padding-left: 40px !important; min-width: 260px; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; fill: none; stroke: var(--dim); stroke-width: 2; }

/* Order progress stepper (client) */
.tracker { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; margin: 10px 0 4px; }
.tracker::before { content: ""; position: absolute; left: 8%; right: 8%; top: 17px; height: 3px; background: var(--line); border-radius: 3px; }
.tracker__fill { position: absolute; left: 8%; top: 17px; height: 3px; background: var(--grad); border-radius: 3px; width: 0; transition: width 1.4s var(--ease); box-shadow: 0 0 14px rgba(225,6,0,.6); }
.tracker__step { display: grid; justify-items: center; gap: 10px; text-align: center; position: relative; font-size: 13px; color: var(--dim); }
.tracker__step i { width: 36px; height: 36px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); display: grid; place-items: center; font: 700 12px var(--mono); font-style: normal; transition: all .5s var(--ease); }
.tracker__step.is-done { color: #c8ccd4; }
.tracker__step.is-done i { background: var(--accent); border-color: var(--accent); color: #fff; }
.tracker__step.is-current { color: #fff; font-weight: 700; }
.tracker__step.is-current i { border-color: var(--accent); box-shadow: 0 0 0 6px rgba(225,6,0,.18); animation: beat 1.6s infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 10px rgba(225,6,0,.05); } }

.order-card { display: block; padding: 22px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.order-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.order-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.order-card h3 { font-size: 20px; }
.order-card__meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.minibar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.minibar span { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.minibar-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); margin-top: 8px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 20px 26px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: -8px; width: 1px; background: var(--line-2); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--panel); border: 2px solid var(--accent); }
.timeline li:first-child::after { background: var(--accent); box-shadow: 0 0 0 4px rgba(225,6,0,.2); }
.timeline b { display: block; }
.timeline p { margin: 2px 0 0; color: var(--muted); white-space: pre-line; }
.timeline small { color: var(--dim); font-size: 12px; }

/* Chat */
.chat { display: grid; gap: 12px; max-height: 520px; overflow-y: auto; padding: 4px 2px 10px; scroll-behavior: smooth; }
.msg { max-width: 82%; display: grid; gap: 4px; animation: pop .4s var(--ease) both; }
.msg__bubble { padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: var(--panel-2); border: 1px solid var(--line); font-size: 14.5px; white-space: pre-line; word-wrap: break-word; }
.msg small { color: var(--dim); font-size: 11.5px; padding: 0 6px; }
.msg--me { justify-self: end; }
.msg--me .msg__bubble { background: linear-gradient(135deg, rgba(225,6,0,.22), rgba(225,6,0,.14)); border-color: rgba(225,6,0,.3); border-radius: 18px 18px 6px 18px; }
.msg--me small { text-align: right; }
.composer { display: flex; gap: 10px; align-items: flex-end; margin-top: 14px; }
.composer textarea { flex: 1; min-height: 50px; max-height: 200px; resize: none; }

/* Info requests */
.request { border: 1px solid var(--line-2); border-radius: 16px; padding: 18px; position: relative; overflow: hidden; }
.request + .request { margin-top: 12px; }
.request--open { border-color: rgba(245,165,36,.4); background: linear-gradient(135deg, rgba(245,165,36,.07), transparent 60%); }
.request--open::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--warn); }
.request header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.request h4 { font-size: 16px; }
.request > p { margin: 0 0 12px; color: #c8ccd4; font-size: 14px; white-space: pre-line; }
.request__answer { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); font-size: 14px; white-space: pre-line; margin-top: 10px; }
.request form { display: grid; gap: 12px; margin-top: 12px; }

/* Files */
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.file { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); transition: transform .3s var(--ease), border-color .3s; }
.file:hover { transform: translateY(-3px); border-color: var(--line-2); }
.file__thumb { aspect-ratio: 4/3; display: grid; place-items: center; background: repeating-conic-gradient(#14171c 0 25%, #101216 0 50%) 0 0/16px 16px; overflow: hidden; }
.file__thumb img { width: 100%; height: 100%; object-fit: cover; }
.file__thumb span { font: 800 18px var(--mono); color: var(--muted); text-transform: uppercase; }
.file__info { padding: 10px 12px; font-size: 12.5px; }
.file__info b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.file__info small { color: var(--dim); }
.file__tag { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 99px; background: rgba(0,0,0,.7); font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.file__tag--logo { color: var(--accent-2); }
.file__actions { position: absolute; top: 6px; right: 6px; display: flex; gap: 4px; opacity: 0; transition: opacity .2s; }
.file:hover .file__actions { opacity: 1; }
.file__actions a, .file__actions button { width: 28px; height: 28px; border-radius: 8px; background: rgba(0,0,0,.75); border: 0; display: grid; place-items: center; color: #fff; }
.file__actions svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.file__link { position: absolute; inset: 0; z-index: 0; }

/* Definition list for application answers */
.answers { display: grid; gap: 22px; }
.answers h4 { font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 10px; }
.answers dl { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 8px 18px; margin: 0; font-size: 14px; }
.answers dt { color: var(--dim); }
.answers dd { margin: 0; white-space: pre-line; word-break: break-word; }
.answers dd .empty-val { color: var(--dim); }
.answers .colours-view { display: flex; gap: 6px; }
.answers .colours-view i { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line-2); }
.answers img.sig { background: #f8f8f6; border-radius: 10px; max-width: 320px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: -6px 0 22px; overflow-x: auto; }
.tabs button { padding: 10px 16px; border: 0; background: none; color: var(--muted); font-size: 14px; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.is-active { color: #fff; border-color: var(--accent); }
.tabpane { display: none; }
.tabpane.is-active { display: block; animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cat-card { border-radius: 18px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s; }
.cat-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.cat-card.is-hidden .cat-card__img { opacity: .45; filter: grayscale(.8); }
.cat-card__img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); border-bottom: 3px solid var(--model); }
.cat-card__img img { width: 100%; }
.cat-card__img .badge { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.75); }
.cat-card__body { padding: 16px 18px 18px; }
.cat-card__body h3 { font-size: 18px; }
.cat-card__body p { margin: 4px 0 0; }
.cat-card__price { font: 900 20px var(--display); color: var(--model); }
.drag-handle { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid transparent; background: none; color: var(--dim); cursor: grab; touch-action: none; }
.drag-handle svg { width: 16px; height: 16px; fill: currentColor; }
.drag-handle:hover, .drag-handle:focus-visible { color: #fff; border-color: var(--line-2); background: rgba(255,255,255,.05); }
.drag-handle:active { cursor: grabbing; }
.drag-handle--card { position: absolute; top: 10px; right: 10px; z-index: 3; background: rgba(0,0,0,.7); color: #fff; border-color: var(--line-2); }
.cat-card { position: relative; }
[data-sort-item] { transition: opacity .2s, background .2s; }
[data-sort-item].is-dragging { opacity: .55; }
tr[data-sort-item].is-dragging td { background: rgba(225,6,0,.08); }
.cat-grid.is-sorting [data-sort-item]:not(.is-dragging), tbody.is-sorting [data-sort-item]:not(.is-dragging) { outline: 1px dashed var(--line-2); outline-offset: -1px; }
body.is-dragging-sort, body.is-dragging-sort * { user-select: none !important; cursor: grabbing !important; }
[data-sort-item].is-dragging { box-shadow: 0 18px 40px -12px rgba(0,0,0,.8); }
[data-sortable].is-saving { opacity: .7; pointer-events: none; }
.cat-card--new { align-items: center; justify-content: center; gap: 10px; min-height: 280px; border-style: dashed; color: var(--muted); font-weight: 600; }
.cat-card--new span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: rgba(225,6,0,.12); color: var(--accent); }
.cat-card--new:hover { color: #fff; border-color: var(--accent); }
.cat-shot { max-height: 260px; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); }
.cat-shot img { width: 100%; }
.cat-shot--phone { max-width: 160px; }
.kv { display: grid; gap: 10px; font-size: 14px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; }
.kv span { color: var(--dim); }
.kv b { font-weight: 600; text-align: right; word-break: break-word; }

.bars { display: flex; align-items: flex-end; gap: 14px; height: 200px; padding-top: 20px; }
.bars__col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; height: 100%; }
.bars__track { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.bars__bar { width: 100%; max-width: 46px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); transform-origin: bottom; animation: grow 1.1s var(--ease) both; position: relative; min-height: 4px; }
.bars__bar span { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--muted); white-space: nowrap; }
.bars__col small { color: var(--dim); font-size: 12px; }
@keyframes grow { from { transform: scaleY(0); } }

.pipeline { display: grid; gap: 10px; }
.pipeline a { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 13.5px; }
.pipeline .minibar { grid-column: 1 / -1; height: 5px; }

dialog.modal { border: 1px solid var(--line-2); border-radius: 22px; background: var(--panel); color: var(--text); padding: 0; width: min(560px, calc(100vw - 32px)); box-shadow: var(--shadow); }
dialog.modal::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(6px); }
dialog.modal[open] { animation: pop .35s var(--ease); }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.modal__head h3 { font-size: 19px; }
.modal__head button { background: none; border: 0; color: var(--muted); font-size: 24px; line-height: 1; }
.modal__body { padding: 24px; display: grid; gap: 16px; }
.modal__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 0 24px 24px; }

.pager ul, nav .pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 16px 0 0; flex-wrap: wrap; }
.pagination li a, .pagination li span { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.pagination li.active a, .pagination li.active span { background: #fff; color: #0a0a0b; border-color: #fff; }

.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch i { width: 40px; height: 22px; border-radius: 99px; background: var(--line-2); position: relative; transition: background .3s; flex: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.switch input:checked + i { background: var(--ok); }
.switch input:checked + i::after { transform: translateX(18px); }

.reveal-fallback { opacity: 1; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .who__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__drawer { display: grid; position: fixed; inset: 92px 0 auto; padding: 16px var(--gutter) 30px; background: rgba(7,8,10,.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease); }
  .nav__drawer a { padding: 14px 0; font: 800 26px var(--display); border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__drawer { clip-path: inset(0 0 0 0); }
  .nav.is-open { background: rgba(7,8,10,.97); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { height: 440px; max-width: 640px; }
  .model, .model--flip { grid-template-columns: 1fr; }
  .model--flip .model__visual { order: 0; }
  .faq__grid { grid-template-columns: 1fr; gap: 20px; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: auto; }
  .step { grid-template-columns: 64px 1fr; }
  .step__img { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .infobar__grid { grid-template-columns: 1fr 1fr; }
  .infobar__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .infobar__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .auth { grid-template-columns: 1fr; }
  .auth__visual { display: none; }
  .checkout__grid, .grid-2, .grid-2--even { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .panel { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 60; left: 0; top: 0; width: 280px; transform: translateX(-100%); transition: transform .4s var(--ease); }
  .panel.is-open .side { transform: none; box-shadow: var(--shadow); }
  .topbar__burger { display: grid; }
  .choice-grid--cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .ow { padding-top: 90px; }
  .ow-progress button span { display: none; }
  .ow-progress li.is-current button span { display: block; position: absolute; top: 40px; white-space: nowrap; font-size: 12px; }
  .ow-progress { margin-bottom: 22px; }
  .ow-progress-bar { display: none; }
  .ow-qty { padding-left: 16px; }
  .ow-bar .btn { min-width: 0; padding: 0 16px; }
  .ow-bar__total b { font-size: 18px; }
  .ow-extra__main { align-items: flex-start; }
  .cat-row { grid-template-columns: 1fr !important; }
  .addon-row { grid-template-columns: 1fr 1fr !important; }
  .hide-sm { display: none !important; }
  .nav__inner { height: 66px; }
  .nav__drawer { inset: 66px 0 auto; }
  .nav .btn--sm { padding: 0 12px; font-size: 13px; }
  .nav__user { display: none; }
  .logo, .nav.is-scrolled .logo { height: 50px; }
  .nav.is-scrolled .nav__inner { height: 66px; }
  .logo--lg { height: 90px; }
  .hero { padding-top: 100px; }
  .hero__stage { height: 340px; }
  .hero__stage .dyno-card { left: 0; width: 250px; bottom: 0; padding: 12px; }
  .hero__stage .device--phone { width: 110px; right: 0; }
  .hero__chip { display: none; }
  .features, .who__grid, .stats-band__grid, .addons__grid, .infobar__grid { grid-template-columns: 1fr; }
  .infobar__item, .infobar__item:first-child { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0; }
  .infobar__item:first-child { border-top: 0; }
  .stats-band__grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .specs, .ticks { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .review dl, .answers dl { grid-template-columns: 1fr; gap: 2px; }
  .review dd, .answers dd { margin-bottom: 8px; }
  .tracker { grid-template-columns: repeat(6, 1fr); font-size: 10px; }
  .tracker__step { font-size: 10px; }
  .tracker__step i { width: 28px; height: 28px; }
  .tracker::before, .tracker__fill { top: 13px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi b { font-size: 24px; }
  .search input { min-width: 0; }
  .preview__frame { height: 70vh; }
  .model__visual .device--phone-sm { width: 26%; right: 0; }
  .model--flip .model__visual .device--phone-sm { left: 0; }
  .model__num { top: -40px; left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .preloader { display: none; }
}
