/* ═══════════════════════════════════════════════════════════
   NADINA — Sports Club Management · marketing site
   Direction: "stadium night" — near-black arena, brand red &
   amber as floodlights, wide italic display type from the logo.
   ═══════════════════════════════════════════════════════════ */
:root {
  --primary: #EC1C24;
  --accent: #F7A21B;
  /* colour scheme — derived from one background colour (theme.backgroundColor) */
  --bg: #07070B;
  --bg-rgb: 7,7,11;
  --bg-2: #0C0C12;
  --bg-deep: #040406;
  --card-solid: #16161F;
  --fg-rgb: 255,255,255;
  --line: rgba(var(--fg-rgb), .08);
  --line-2: rgba(var(--fg-rgb), .14);
  --text: #F5F5F7;
  --text-2: #D8D8E0;
  --heading: #FFFFFF;
  --muted: #A3A3B1;
  --dim: #6E6E7D;
  --grad: linear-gradient(115deg, var(--primary) 0%, var(--accent) 100%);
  --p-soft: color-mix(in srgb, var(--primary) 20%, transparent);
  --a-soft: color-mix(in srgb, var(--accent) 18%, transparent);
  --f-d: 'Times New Roman', Tinos, Times, serif;
  --f-b: 'Times New Roman', Tinos, Times, serif;
  --fs: 1;   /* text size (control panel → Theme) */
  --fs-h: 1; /* heading size */
  --fs-min: 12px; /* small print never goes below this (13px on phones) */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 calc(16px * var(--fs))/1.6 var(--f-b); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img, svg, video, canvas { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--primary); color: #fff; }
.lock { overflow: hidden; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible + span, .gal:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 3000; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 16px; }
.noscript { max-width: 800px; margin: 120px auto; padding: 0 20px; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 900px; }
.center { text-align: center; }
.sec { position: relative; padding-block: clamp(74px, 12vw, 170px); }

/* ── Type ─────────────────────────────────────────────────── */
.h1, .h2, .h3 { font-family: var(--f-d); font-weight: 800; margin: 0; color: var(--heading); }
.h1 { font-size: calc(clamp(2.7rem, 6.3vw, 6.1rem) * var(--fs-h)); line-height: .95; letter-spacing: -.035em; font-stretch: 112%; }
.h2 { font-size: calc(clamp(2.1rem, 4.6vw, 4.1rem) * var(--fs-h)); line-height: 1; letter-spacing: -.03em; font-stretch: 110%; }
.h3 { font-size: calc(clamp(1.55rem, 2.4vw, 2.2rem) * var(--fs-h)); line-height: 1.08; letter-spacing: -.02em; font-stretch: 106%; }
.hl { font-style: italic; }
.hl, .hl .wi { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: calc(clamp(1.03rem, 1.3vw, 1.2rem) * var(--fs)); color: var(--muted); max-width: 680px; margin: 22px 0 0; }
.lead.center, .center > .lead, .sec-head.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
  padding: 8px 15px 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(var(--fg-rgb), .03);
  font: 600 max(var(--fs-min), calc(12px * var(--fs)))/1 var(--f-b); letter-spacing: .18em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px var(--primary); animation: breathe 2.4s ease-in-out infinite; }
.sec-head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 76px); }
.sec-head.center { margin-inline: auto; text-align: center; }

/* word-by-word rise */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .07em .12em; margin: 0 -.07em -.12em; }
.split .wi { display: inline-block; transform: translateY(108%); transition: transform 1.05s var(--ease-out); transition-delay: calc(var(--wi, 0) * 55ms); }
.split.in .wi { transform: none; }

/* scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .split[data-reveal] { transform: none; transition: opacity .4s; }
.js [data-reveal].in { opacity: 1; transform: none; }
body.is-loading .hero [data-reveal].in { opacity: 0; transform: translateY(30px); }
body.is-loading .hero .split.in .wi { transform: translateY(108%); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; border-radius: 999px; text-decoration: none; cursor: pointer;
  font: 600 calc(15px * var(--fs))/1 var(--f-b); border: 0; padding: 0; overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease-out), box-shadow .4s;
}
.btn__in { display: inline-flex; align-items: center; gap: 14px; padding: 9px 9px 9px 26px; min-height: 56px; transition: transform .45s var(--ease-out); }
.btn__ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); transition: transform .5s var(--ease-out), background .3s; flex: none; }
.btn__ic svg { width: 17px; height: 17px; }
.btn:hover .btn__ic { transform: rotate(-45deg); }
.btn--ghost:hover .btn__ic { transform: translateY(3px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 14px 40px -12px color-mix(in srgb, var(--primary) 75%, transparent), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn--primary::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 20px 60px -12px color-mix(in srgb, var(--primary) 90%, transparent), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn--ghost { background: rgba(var(--fg-rgb), .04); color: var(--heading); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost .btn__ic { background: rgba(255, 255, 255, .08); }
.btn--ghost:hover { background: rgba(var(--fg-rgb), .08); }
.btn.sm .btn__in { min-height: 44px; padding: 5px 5px 5px 18px; gap: 10px; font-size: calc(14px * var(--fs)); }
.btn.sm .btn__ic { width: 34px; height: 34px; }
.btn--block { width: 100%; }
.btn--block .btn__in { width: 100%; justify-content: space-between; }
.btn:disabled { opacity: .7; cursor: progress; }
.btn.loading .btn__ic svg { display: none; }
.btn.loading .btn__ic { border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; background: none; animation: spin .8s linear infinite; }
.round {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(var(--fg-rgb), .04);
  display: grid; place-items: center; cursor: pointer; color: var(--heading); transition: background .3s, transform .3s, border-color .3s;
}
.round svg { width: 20px; height: 20px; }
.round:hover { background: var(--grad); border-color: transparent; transform: scale(1.06); color: #fff; }

/* ── Ambient layers ───────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .035;
  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");
  pointer-events: none;
}
@media (hover: none), (max-width: 760px) { .grain { display: none; } }
.cursor-glow {
  position: fixed; left: -180px; top: -180px; width: 360px; height: 360px; z-index: 1; pointer-events: none; border-radius: 50%; /* offset = half the size, so it stays centred on the pointer */
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 15%, transparent), transparent 62%);
  opacity: 0; transition: opacity .6s; will-change: transform;
}
.cursor-glow.on { opacity: 1; }

/* ── Preloader ────────────────────────────────────────────── */
.preloader { position: fixed; inset: 0; z-index: 2000; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transition: clip-path 1s var(--ease-out), opacity .6s .4s; clip-path: inset(0 0 0 0); }
.preloader.out { clip-path: inset(0 0 100% 0); }
.preloader__ring { position: relative; width: 120px; height: 120px; }
.preloader__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.preloader__ring circle { fill: none; stroke: rgba(var(--fg-rgb), .08); stroke-width: 3; }
.preloader__ring .preloader__bar { stroke: var(--primary); stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: load 1.3s var(--ease-out) forwards; filter: drop-shadow(0 0 8px var(--primary)); }
.preloader__ring img { position: absolute; inset: 22px; width: 76px; height: 76px; object-fit: contain; animation: bob 1.3s var(--ease-out); }
.preloader__word { font: 800 calc(14px * var(--fs-h))/1 var(--f-d); letter-spacing: .6em; padding-left: .6em; font-stretch: 120%; color: var(--heading); opacity: 0; animation: fadeUp .8s .2s var(--ease-out) forwards; }
body.is-loading { overflow: hidden; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; padding: 18px 0; transition: transform .55s var(--ease-out), background .4s, padding .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(var(--bg-rgb), .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); padding: 10px 0; }
@media (max-width: 760px) { .nav.scrolled { background: rgba(var(--bg-rgb), .94); backdrop-filter: none; -webkit-backdrop-filter: none; } .mnav { backdrop-filter: none; } }
.nav.hide { transform: translateY(-100%); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__logo { display: flex; align-items: center; position: relative; z-index: 2; }
.nav__logo img { height: 46px; width: auto; display: block; transition: height .4s; }
.nav.scrolled .nav__logo img { height: 38px; }
.nav__links { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(var(--fg-rgb), .03); border: 1px solid var(--line); }
.nav__links a { position: relative; padding: 9px 17px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: calc(14.5px * var(--fs)); transition: color .25s, background .25s; }
.nav__links a:hover { color: var(--heading); background: rgba(var(--fg-rgb), .05); }
.nav__links a.on { color: var(--heading); background: rgba(var(--fg-rgb), .08); }
.nav__r { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(var(--fg-rgb), .04); cursor: pointer; position: relative; }
.nav__burger i { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--heading); transition: transform .4s var(--ease-out), top .4s; }
.nav__burger i:first-child { top: 18px; } .nav__burger i:last-child { top: 26px; }
.nav.open .nav__burger i:first-child { top: 22px; transform: rotate(45deg); }
.nav.open .nav__burger i:last-child { top: 22px; transform: rotate(-45deg); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.mnav { position: fixed; inset: 0; z-index: 1; background: rgba(var(--bg-rgb), .98); display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; gap: 36px; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.nav.open .mnav { opacity: 1; visibility: visible; }
.mnav__links { display: flex; flex-direction: column; }
.mnav__links a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 800 calc(clamp(2rem, 8vw, 3rem) * var(--fs-h))/1.05 var(--f-d); font-stretch: 112%; letter-spacing: -.02em; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease-out); transition-delay: calc(var(--i) * 60ms + .1s); }
.mnav__links a span { font: 600 max(var(--fs-min), calc(12px * var(--fs))) var(--f-b); color: var(--accent); letter-spacing: .1em; }
.nav.open .mnav__links a { opacity: 1; transform: none; }
.mnav .btn { align-self: flex-start; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; padding: 140px 0 44px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow { position: absolute; width: 1100px; height: 1100px; right: -320px; top: -380px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 26%, transparent), transparent 62%); }
.hero__glow::after { content: ''; position: absolute; width: 800px; height: 800px; left: -900px; top: 700px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 14%, transparent), transparent 62%); }
.beam { position: absolute; top: -20%; width: 40vw; height: 130vh; background: conic-gradient(from 180deg at 50% 0%, transparent 0deg 158deg, rgba(var(--fg-rgb), .09) 172deg, rgba(var(--fg-rgb), .12) 180deg, rgba(var(--fg-rgb), .09) 188deg, transparent 202deg 360deg); -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 75%); mask-image: linear-gradient(180deg, #000 10%, transparent 75%); transform-origin: 50% 0; opacity: .7; will-change: transform; }
.beam--l { left: 2%; transform: rotate(-24deg); animation: swayL 11s ease-in-out infinite alternate; }
.beam--r { right: 2%; transform: rotate(24deg); animation: swayR 13s ease-in-out infinite alternate; }
.hero__pitch { position: absolute; left: 50%; bottom: -34%; width: 150vw; max-width: 2100px; color: rgba(var(--fg-rgb), .085); transform: translateX(-50%) perspective(1000px) rotateX(70deg); -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 75%); mask-image: linear-gradient(to top, #000 20%, transparent 75%); }
.hero__pitch svg { display: block; width: 100%; height: auto; }
.hero__pitch::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 22%, transparent), transparent); animation: sweep 7s ease-in-out infinite; will-change: transform; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 30px; align-items: center; flex: 1; }
.hero__copy { position: relative; z-index: 2; }
.hero__sub { font-size: calc(clamp(1.05rem, 1.35vw, 1.24rem) * var(--fs)); color: var(--muted); max-width: 560px; margin: 28px 0 0; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.hero__visual { position: relative; height: min(620px, 70vh); min-height: 440px; perspective: 1700px; }
.hero__sphere { position: absolute; left: -16%; top: -14%; width: 132%; height: 128%; pointer-events: none; }
.hero__tilt { position: absolute; left: 3%; right: -2%; top: 56%; translate: 0 -46%; transform-style: preserve-3d; will-change: transform; transform: rotateY(-14deg) rotateX(6deg); }
.hero__console { border-radius: 16px; overflow: hidden; background: #0B0B11; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(var(--fg-rgb), .09), 0 0 90px -30px color-mix(in srgb, var(--primary) 60%, transparent); }
.hero__console.is-img img { display: block; width: 100%; }
.fcard {
  position: absolute; display: flex; gap: 12px; align-items: center; padding: 11px 18px 11px 11px; border-radius: 16px; white-space: nowrap;
  background: var(--card-solid); border: 1px solid rgba(var(--fg-rgb), .11); will-change: transform;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .85); transform: translateZ(70px); animation: float 6s ease-in-out infinite;
}
.fcard b { display: block; font: 600 calc(14px * var(--fs))/1.2 var(--f-b); color: var(--heading); }
.fcard span:not(.fcard__ic) { font-size: max(var(--fs-min), calc(12px * var(--fs))); color: var(--muted); }
.fcard__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.fcard__ic svg { width: 20px; height: 20px; }
.tone-ok .fcard__ic { background: rgba(34, 197, 94, .16); color: #4ADE80; }
.tone-accent .fcard__ic { background: var(--a-soft); color: var(--accent); }
.tone-primary .fcard__ic { background: var(--p-soft); color: #FF6B70; }
.fcard--0 { left: -7%; top: 3%; }
.fcard--1 { right: -5%; top: 44%; animation-delay: -2s; }
.fcard--2 { left: 6%; bottom: -5%; animation-delay: -4s; }
.fcard--3 { right: 8%; top: -8%; animation-delay: -3s; }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line); padding-top: 28px; }
.hstat { padding-right: 20px; }
.hstat + .hstat { border-left: 1px solid var(--line); padding-left: 28px; }
.hstat b { display: block; font: 800 calc(clamp(1.9rem, 3.1vw, 2.9rem) * var(--fs-h))/1 var(--f-d); font-stretch: 116%; letter-spacing: -.02em; background: linear-gradient(180deg, var(--heading) 30%, var(--muted)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hstat span { display: block; color: var(--muted); font-size: calc(14px * var(--fs)); margin-top: 8px; }
.scroll-cue { display: none; }

/* ── Clients ──────────────────────────────────────────────── */
.clients { padding-block: clamp(40px, 5vw, 60px) clamp(60px, 7vw, 90px); }
.clients__title { text-align: center; color: var(--dim); font: 600 max(var(--fs-min), calc(12.5px * var(--fs)))/1.4 var(--f-b); letter-spacing: .22em; text-transform: uppercase; margin: 0 0 36px; padding-inline: var(--gutter); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marq 46s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.clients { --logo-area: 8400; --logo-max-w: 210; --logo-max-h: 88; }
.clients .marquee__track { padding-block: 12px; animation-duration: 55s; align-items: center; }
.ctile { flex: none; min-width: 120px; height: 120px; margin-right: 8px; border-radius: 20px; display: grid; place-items: center; padding: 12px 34px; transition: transform .45s var(--ease-out), box-shadow .45s, background .35s; }
.ctile img { display: block; max-width: none; object-fit: contain; transition: filter .4s, opacity .4s; -webkit-user-drag: none; user-select: none; }
.ctile__name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ctile__name i { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font: 800 calc(14px * var(--fs-h))/1 var(--f-d); font-style: normal; font-stretch: 112%; color: #fff; background: var(--grad); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--primary) 80%, transparent); }
.ctile__name { max-width: 220px; }
.ctile__name b { font: 800 calc(15px * var(--fs-h))/1.15 var(--f-d); font-stretch: 112%; letter-spacing: -.005em; text-transform: uppercase; color: var(--heading); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ctile:hover { transform: translateY(-4px); }
/* auto / plain: each logo in its own colours, no card behind it */
.clients--auto .ctile:hover img, .clients--plain .ctile:hover img { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .25)); }
/* auto: a soft badge only for logos that would vanish on this background */
.ctile.badge-light img, .ctile.badge-dark img { box-sizing: content-box; padding: 8px 14px; border-radius: 14px; box-shadow: 0 12px 28px -16px rgba(0, 0, 0, .6); }
.ctile.badge-light img { background: #FFFFFF; }
.ctile.badge-dark img { background: #15151C; }
.clients--mono .ctile img, .clients--cards .ctile img { background: none !important; padding: 0 !important; box-shadow: none !important; }
/* mono: every logo in one colour that matches the text */
.clients--mono .ctile img { filter: brightness(0) invert(1); opacity: .72; }
html[data-scheme="light"] .clients--mono .ctile img { filter: brightness(0); opacity: .68; }
.clients--mono .ctile:hover img { opacity: 1; }
/* cards: every logo on a white card */
.clients--cards .ctile { width: 230px; background: #FFFFFF; border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .7); }
.clients--cards .ctile__name b { color: #17171C; }

/* ── Cards with pointer spotlight ─────────────────────────── */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--primary) 17%, transparent), transparent 45%); opacity: 0; transition: opacity .45s; pointer-events: none; }
.spot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), var(--accent), transparent 55%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .45s; }
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ── Modules bento ────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mcard { padding: 26px 26px 28px; border-radius: 24px; background: linear-gradient(180deg, rgba(var(--fg-rgb), .04), rgba(var(--fg-rgb), .012)); border: 1px solid var(--line); min-height: 232px; display: flex; flex-direction: column; transition: transform .55s var(--ease-out), border-color .3s, opacity .9s var(--ease), translate 1s var(--ease-out); }
.mcard:hover { transform: translateY(-6px); }
.mcard__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.mcard__icon { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, color-mix(in srgb, var(--primary) 30%, transparent), color-mix(in srgb, var(--accent) 12%, transparent)); border: 1px solid rgba(var(--fg-rgb), .1); box-shadow: inset 0 1px 0 rgba(var(--fg-rgb), .12); transition: transform .6s var(--ease-out); }
.mcard:hover .mcard__icon { transform: rotate(-8deg) scale(1.06); }
.mcard__icon svg { width: 25px; height: 25px; }
.mcard__img { width: 54px; height: 54px; object-fit: contain; border-radius: 14px; }
.mcard__num { font: 600 max(var(--fs-min), calc(12px * var(--fs))) var(--f-b); color: var(--dim); letter-spacing: .12em; }
.mcard h3 { font: 700 calc(1.24rem * var(--fs-h))/1.2 var(--f-d); font-stretch: 108%; margin: 0 0 6px; color: var(--heading); }
.mcard__tag { font: 600 max(var(--fs-min), calc(11px * var(--fs))) var(--f-b); letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }
.mcard p { color: var(--muted); font-size: calc(14.5px * var(--fs)); margin: 12px 0 0; line-height: 1.5; }

/* ── Showcase (sticky stage) ──────────────────────────────── */
.sc { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(30px, 5vw, 84px); align-items: start; }
.sc__step { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; opacity: .25; transition: opacity .6s var(--ease); }
.sc__step.on { opacity: 1; }
.sc__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.sc__num { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 800 calc(13px * var(--fs-h)) var(--f-d); border: 1px solid var(--line-2); transition: background .4s, box-shadow .4s, border-color .4s; }
.sc__step.on .sc__num { background: var(--grad); border-color: transparent; box-shadow: 0 0 30px -4px var(--primary); }
.sc__kicker { font: 600 max(var(--fs-min), calc(12.5px * var(--fs))) var(--f-b); letter-spacing: .17em; text-transform: uppercase; color: var(--accent); }
.sc__step .h3 { margin-bottom: 18px; }
.sc__step p { color: var(--muted); font-size: calc(1.06rem * var(--fs)); max-width: 480px; margin: 0; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 500; color: var(--text-2); }
.ticks li > span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--p-soft); color: var(--accent); flex: none; }
.ticks li > span svg { width: 14px; height: 14px; }
.sc__stage { position: relative; height: 100%; }
.sc__sticky { position: sticky; top: 13vh; height: 74vh; display: flex; flex-direction: column; justify-content: center; }
.sc__frame { position: relative; aspect-ratio: 760 / 500; perspective: 1500px; }
.sc__frame::before { content: ''; position: absolute; inset: -14% -10% -18%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 26%, transparent), transparent); }
.sc__screen { position: absolute; inset: 0; opacity: 0; transform: translateY(46px) scale(.95) rotateX(10deg); transition: opacity .7s var(--ease), transform 1s var(--ease-out); pointer-events: none; will-change: transform, opacity; }
.sc__screen.past { transform: translateY(-46px) scale(.95) rotateX(-8deg); }
.sc__screen.on { opacity: 1; transform: none; pointer-events: auto; }
.sc__screen .media, .sc__screen .media--img img { height: 100%; }
.sc__dots { display: flex; gap: 8px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.sc__dots button { height: 6px; width: 26px; border-radius: 6px; border: 0; padding: 0; background: rgba(var(--fg-rgb), .15); cursor: pointer; transition: width .5s var(--ease-out), background .4s; }
.sc__dots button.on { width: 58px; background: var(--grad); }
.sc__dots span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sc__mobile { display: none; }

/* product screen frames */
.win-frame { border-radius: 16px; overflow: hidden; background: #0B0B11; box-shadow: 0 40px 100px -34px rgba(0, 0, 0, .95), 0 0 0 1px rgba(var(--fg-rgb), .09); }
.media--img.win-frame img { display: block; width: 100%; aspect-ratio: 760 / 500; object-fit: cover; }
.media--scene { background: #0E0A24; } /* feature illustrations (scenes.js): the drawing + the talking strip under it */
.sc__frame:has(.media--scene) { aspect-ratio: 760 / 624; width: min(100%, calc((74vh - 56px) * 760 / 624)); margin-inline: auto; }
.media img { -webkit-user-drag: none; user-select: none; }

/* ── Numbers band ─────────────────────────────────────────── */
.band { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding-block: clamp(90px, 11vw, 150px); isolation: isolate; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 26px); -webkit-mask-image: radial-gradient(ellipse at 80% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 80% 50%, #000, transparent 70%); }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 10% 0%, rgba(0, 0, 0, .28), transparent 50%); }
.band__bg img { position: absolute; right: -5%; top: 50%; width: 48vw; max-width: 720px; transform: translateY(-50%) rotate(-8deg); opacity: .13; filter: brightness(0) invert(1); z-index: -1; pointer-events: none; }
.band .eyebrow { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .12); color: #fff; }
.band .eyebrow i { background: #fff; box-shadow: 0 0 12px #fff; }
.band .h2 .hl, .band .h2 .hl .wi { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.band__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .35); }
.bstat { padding: 34px 16px 30px 0; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.bstat b { display: block; font: 900 calc(clamp(2.7rem, 5.8vw, 5.4rem) * var(--fs-h))/1 var(--f-d); font-stretch: 118%; letter-spacing: -.035em; text-shadow: 0 10px 40px rgba(0, 0, 0, .15); }
.bstat span { display: block; margin-top: 10px; font-weight: 500; font-size: calc(15px * var(--fs)); opacity: .92; }

/* ── Gallery ──────────────────────────────────────────────── */
.gallery { overflow: hidden; }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.gallery__head .sec-head { margin-bottom: 0; }
.gallery__ctrl { display: flex; gap: 10px; flex: none; }
.gal { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x proximity; padding: 64px max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))) 50px; scrollbar-width: none; perspective: 1700px; cursor: grab; outline: none; }
.gal::-webkit-scrollbar { display: none; }
.gal.drag { cursor: grabbing; scroll-snap-type: none; }
.gal__item { flex: none; width: clamp(290px, 46vw, 680px); margin: 0; scroll-snap-align: center; transform: rotateY(var(--ry, 0)) scale(var(--sc, 1)); opacity: var(--op, 1); transition: transform .3s ease-out, opacity .3s; cursor: zoom-in; }
.gal__item figcaption { margin-top: 20px; display: flex; gap: 12px; align-items: baseline; color: var(--text-2); font-weight: 500; }
.gal__item figcaption span { font: 700 calc(13px * var(--fs-h)) var(--f-d); color: var(--accent); }
.gal__item .win-frame { transition: box-shadow .4s, transform .5s var(--ease-out); }
.gal__item:hover .win-frame { box-shadow: 0 50px 110px -34px rgba(0, 0, 0, .95), 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); }
.gal__bar { height: 2px; background: rgba(var(--fg-rgb), .1); border-radius: 2px; overflow: hidden; max-width: 340px; }
.gal__bar i { display: block; height: 100%; background: var(--grad); transform-origin: left; }
.lb { position: fixed; inset: 0; z-index: 2500; background: rgba(5, 5, 8, .95); display: grid; place-items: center; opacity: 0; transition: opacity .3s; padding: 20px; }
.lb.open { opacity: 1; }
.lb__stage { width: min(1180px, 88vw); }
.lb__stage img { display: block; width: 100%; max-height: 80vh; object-fit: contain; border-radius: 14px; }
.lb__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--muted); margin: 0; }
.lb__x { position: absolute; top: 20px; right: 20px; }
.lb__p, .lb__n { position: absolute; top: 50%; translate: 0 -50%; }
.lb__p { left: 20px; } .lb__n { right: 20px; }

/* ── Sports ───────────────────────────────────────────────── */
.sports { overflow: hidden; }
.sports .h2 { margin-bottom: 54px; }
.marquee--chips { padding-block: 7px; }
.marquee--chips .marquee__track { animation-duration: 70s; }
.marquee--chips.rev .marquee__track { animation-direction: reverse; }
.chip { display: inline-flex; align-items: center; gap: 10px; margin-right: 14px; padding: 15px 26px 15px 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(var(--fg-rgb), .025); font: 700 calc(1.08rem * var(--fs-h))/1 var(--f-d); font-stretch: 110%; white-space: nowrap; color: #DADAE1; transition: background .35s, color .35s, border-color .35s; }
.chip i svg { width: 19px; height: 19px; color: var(--accent); display: block; transition: color .35s, transform .8s var(--ease-out); }
.chip:hover { background: var(--grad); color: #fff; border-color: transparent; }
.chip:hover i svg { color: #fff; transform: rotate(180deg); }

/* ── Light sections ───────────────────────────────────────── */
.light { background: #F5F3EF; color: #121217; }
.light .h2, .light .h3, .light h3 { color: #111; }
.light .lead { color: #5E5E6B; }
.light .eyebrow { color: #1A1A20; border-color: rgba(0, 0, 0, .1); background: rgba(0, 0, 0, .03); }
.light .ticks li { color: #222; }
.light .btn--ghost { color: #111; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.light .spot::before { background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--primary) 9%, transparent), transparent 45%); }

/* ── Payments ─────────────────────────────────────────────── */
.paygrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pcard { background: #fff; border-radius: 24px; padding: 28px 24px 30px; border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 44px -34px rgba(0, 0, 0, .35); transition: transform .55s var(--ease-out), box-shadow .4s, opacity .9s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 34px 60px -34px rgba(0, 0, 0, .45); }
.pcard__ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 28px; box-shadow: 0 16px 30px -14px color-mix(in srgb, var(--primary) 80%, transparent); transition: transform .7s var(--ease-out); }
.pcard__ic svg { width: 26px; height: 26px; }
.pcard:hover .pcard__ic { transform: rotate(-10deg) scale(1.07); }
.pcard b { display: block; font: 700 calc(1.16rem * var(--fs-h))/1.2 var(--f-d); font-stretch: 106%; color: #111; }
.pcard > span:last-child { display: block; color: #6B6B78; font-size: calc(14px * var(--fs)); margin-top: 6px; }

/* ── Image + text ─────────────────────────────────────────── */
.it { overflow-x: clip; }
.it__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.it--right .it__media { order: 2; }
.it__media { position: relative; isolation: isolate; }
.it__glow { position: absolute; inset: 0 -12%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 30%, transparent), transparent); }
.media.rounded img { display: block; width: 100%; border-radius: 24px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); }
.it__copy .btn { margin-top: 34px; }

/* ── Features ─────────────────────────────────────────────── */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fcard2 { padding: 36px 32px 34px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(var(--fg-rgb), .045), rgba(var(--fg-rgb), .01)); overflow: hidden; transition: transform .55s var(--ease-out), opacity .9s var(--ease); }
.fcard2:hover { transform: translateY(-5px); }
.fcard2__num { position: absolute; top: 20px; right: 26px; font: 900 calc(3.6rem * var(--fs-h))/1 var(--f-d); font-stretch: 120%; color: transparent; -webkit-text-stroke: 1px rgba(var(--fg-rgb), .13); transition: -webkit-text-stroke-color .4s; }
.fcard2:hover .fcard2__num { -webkit-text-stroke-color: color-mix(in srgb, var(--accent) 70%, transparent); }
.fcard2__ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); margin-bottom: 30px; background: rgba(var(--fg-rgb), .03); }
.fcard2__ic svg { width: 24px; height: 24px; }
.fcard2__img { width: 54px; height: 54px; object-fit: contain; margin-bottom: 30px; }
.fcard2 h3 { font: 700 calc(1.28rem * var(--fs-h))/1.2 var(--f-d); font-stretch: 106%; margin: 0 0 10px; color: var(--heading); }
.fcard2 p { color: var(--muted); margin: 0; font-size: calc(15px * var(--fs)); }

/* ── CTA ──────────────────────────────────────────────────── */
.cta__box { position: relative; border-radius: 40px; padding: clamp(64px, 9vw, 130px) clamp(22px, 6vw, 90px); overflow: hidden; isolation: isolate; text-align: center; border: 1px solid var(--line-2); background: radial-gradient(ellipse at 50% 125%, color-mix(in srgb, var(--primary) 50%, transparent), transparent 62%), var(--bg-2); }
.cta__ring { position: absolute; width: 1000px; height: 1000px; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; z-index: -1; background: conic-gradient(from 0deg, transparent 0 8%, color-mix(in srgb, var(--primary) 45%, transparent) 20%, transparent 34% 54%, color-mix(in srgb, var(--accent) 38%, transparent) 68%, transparent 82%); -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 100%); mask-image: radial-gradient(closest-side, #000 20%, transparent 100%); opacity: .6; animation: spin 16s linear infinite; will-change: transform; }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; z-index: -2; }
.cta .h2 { max-width: 980px; margin-inline: auto; }
.cta .btn { margin-top: 40px; }

/* ── Demo ─────────────────────────────────────────────────── */
.demo { overflow: hidden; }
.demo__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 42px; max-width: 440px; }
.ccontact { display: flex; gap: 16px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 20px; border: 1px solid var(--line); background: rgba(var(--fg-rgb), .025); text-decoration: none; transition: border-color .3s, background .3s, transform .4s var(--ease-out); }
.ccontact:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: rgba(var(--fg-rgb), .05); transform: translateX(4px); }
.ccontact > span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.ccontact > span svg { width: 21px; height: 21px; }
.ccontact small { display: block; font: 600 max(var(--fs-min), calc(11px * var(--fs))) var(--f-b); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.ccontact b { display: block; font-weight: 600; font-size: calc(15.5px * var(--fs)); color: var(--heading); margin-top: 2px; word-break: break-word; }
.demo__card { position: relative; padding: clamp(22px, 3.6vw, 44px); border-radius: 30px; background: var(--card-solid); border: 1px solid var(--line-2); box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .95); isolation: isolate; }
.demo__card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(140deg, color-mix(in srgb, var(--primary) 80%, transparent), transparent 30% 70%, color-mix(in srgb, var(--accent) 70%, transparent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.demo__card-glow { position: absolute; inset: -12%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 22%, transparent), transparent); pointer-events: none; }
.dform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { position: relative; display: block; }
.field input, .field textarea { width: 100%; background: rgba(var(--fg-rgb), .04); border: 1px solid var(--line-2); border-radius: 15px; padding: 25px 16px 10px; color: var(--heading); font: 500 calc(15px * var(--fs))/1.4 var(--f-b); outline: none; transition: border-color .25s, background .25s, box-shadow .25s; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 116px; padding-top: 28px; }
.field input:focus, .field textarea:focus { border-color: color-mix(in srgb, var(--accent) 80%, transparent); background: rgba(var(--fg-rgb), .06); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.field > span { position: absolute; left: 17px; top: 18px; color: var(--dim); font-size: calc(15px * var(--fs)); pointer-events: none; transition: top .22s var(--ease), font-size .22s, color .22s, letter-spacing .22s; }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 8px; font-size: max(var(--fs-min), calc(11.5px * var(--fs))); letter-spacing: .04em; color: var(--accent); }
.field.err input, .field.err textarea { border-color: #F87171; }
.field__err { display: block; font-style: normal; color: #F87171; font-size: max(var(--fs-min), calc(12.5px * var(--fs))); margin-top: 5px; }
.field__err:empty { display: none; }
.dform > .field { margin-top: 18px; }
.dform__group { margin-top: 22px; }
.dform__label { display: block; font: 600 max(var(--fs-min), calc(12px * var(--fs))) var(--f-b); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 11px; }
.seg, .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label, .tags label { position: relative; cursor: pointer; }
.seg input, .tags input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 10px 15px; border-radius: 12px; border: 1px solid var(--line-2); font-size: calc(13.5px * var(--fs)); color: var(--text-2); transition: background .25s, border-color .25s, color .25s; }
.seg label:hover span, .tags label:hover span { border-color: rgba(var(--fg-rgb), .3); }
.seg input:checked + span { background: var(--grad); border-color: transparent; color: #fff; }
.tags span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px 8px 9px; border-radius: 999px; border: 1px solid var(--line-2); font-size: calc(13.5px * var(--fs)); color: var(--text-2); transition: background .25s, border-color .25s, color .25s; }
.tags span i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .25s, border-color .25s; }
.tags span i svg { width: 12px; height: 12px; opacity: 0; transition: opacity .2s; }
.tags input:checked + span { border-color: color-mix(in srgb, var(--accent) 70%, transparent); background: var(--a-soft); color: var(--heading); }
.tags input:checked + span i { background: var(--grad); border-color: transparent; }
.tags input:checked + span i svg { opacity: 1; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.dform__foot { margin-top: 28px; }
.dform__note { display: flex; gap: 8px; align-items: center; color: var(--dim); font-size: max(var(--fs-min), calc(12.5px * var(--fs))); margin: 14px 0 0; }
.dform__note span svg { width: 16px; height: 16px; color: #4ADE80; display: block; }
.dform__msg { margin: 12px 0 0; font-size: calc(14px * var(--fs)); color: var(--muted); }
.dform__msg:empty { display: none; }
.dform__msg.bad { color: #F87171; }
.dform__ok { position: relative; text-align: center; padding: 60px 10px; }
.okmark { width: 90px; height: 90px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin: 0 auto 26px; box-shadow: 0 0 0 12px var(--p-soft), 0 20px 60px -10px var(--primary); animation: popIn .7s var(--ease-out); }
.okmark svg { width: 42px; height: 42px; color: #fff; stroke-dasharray: 30; stroke-dashoffset: 30; animation: drawCheck .6s .35s var(--ease-out) forwards; }
.dform__ok h3 { font: 800 calc(2rem * var(--fs-h))/1.1 var(--f-d); font-stretch: 110%; margin: 0 0 10px; color: var(--heading); }
.dform__ok p { color: var(--muted); max-width: 380px; margin: 0 auto; }
.confetti { position: absolute; width: 8px; height: 14px; border-radius: 2px; animation: conf 1.5s var(--ease-out) forwards; pointer-events: none; }

/* ── Generic sections ─────────────────────────────────────── */
.cgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.ccard { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: rgba(var(--fg-rgb), .03); display: flex; flex-direction: column; transition: transform .55s var(--ease-out), opacity .9s var(--ease); }
.ccard:hover { transform: translateY(-5px); }
.ccard__img { aspect-ratio: 16 / 10; overflow: hidden; }
.ccard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease-out); }
.ccard:hover .ccard__img img { transform: scale(1.06); }
.ccard__ic { margin: 30px 28px 0; width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.ccard__ic svg { width: 25px; height: 25px; }
.ccard__body { padding: 24px 28px 30px; }
.ccard h3 { font: 700 calc(1.24rem * var(--fs-h))/1.2 var(--f-d); margin: 0 0 8px; color: var(--heading); }
.ccard p { color: var(--muted); margin: 0; font-size: calc(15px * var(--fs)); }
.light .ccard { background: #fff; border-color: rgba(0, 0, 0, .07); }
.light .ccard h3 { color: #111; } .light .ccard p { color: #666; }
.link { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; color: var(--accent); font-weight: 600; text-decoration: none; }
.link span svg { width: 16px; height: 16px; display: block; transition: transform .3s; }
.link:hover span svg { transform: translateX(4px); }
.text-sec .container.center .lead { margin-inline: auto; }
.text-sec .btn { margin-top: 34px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .9); }
.video video, .video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video__facade { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: #0D0D14; cursor: pointer; display: grid; place-items: center; }
.video__facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__ph { position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--primary) 40%, transparent), transparent 50%), radial-gradient(circle at 70% 70%, color-mix(in srgb, var(--accent) 32%, transparent), transparent 50%), #0D0D14; }
.video__play { position: relative; width: 92px; height: 92px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 14px rgba(var(--fg-rgb), .08), 0 20px 60px -10px var(--primary); transition: transform .45s var(--ease-out); }
.video__play svg { width: 32px; height: 32px; margin-left: 5px; }
.video__facade:hover .video__play { transform: scale(1.08); }
.qgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.qcard { margin: 0; padding: 34px 30px 30px; border-radius: 26px; border: 1px solid var(--line); background: rgba(var(--fg-rgb), .03); transition: opacity .9s var(--ease), transform 1s var(--ease-out); }
.qcard__mark svg { width: 36px; height: 36px; color: var(--accent); display: block; }
.qcard blockquote { margin: 18px 0 28px; font: 500 calc(1.1rem * var(--fs))/1.6 var(--f-b); color: var(--text-2); }
.qcard figcaption { display: flex; gap: 12px; align-items: center; }
.qcard figcaption img, .qcard figcaption i { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.qcard figcaption i { display: grid; place-items: center; background: var(--grad); font-style: normal; font-weight: 700; }
.qcard figcaption b { display: block; color: var(--heading); }
.qcard figcaption span { color: var(--muted); font-size: calc(14px * var(--fs)); }
.faq__list { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: 20px; background: rgba(var(--fg-rgb), .025); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font: 600 calc(1.08rem * var(--fs-h))/1.4 var(--f-d); color: var(--heading); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i svg { width: 20px; height: 20px; display: block; transition: transform .35s var(--ease-out); color: var(--accent); }
.faq__item[open] summary i svg { transform: rotate(180deg); }
.faq__item p { margin: 0; padding: 0 26px 24px; color: var(--muted); }

/* ── Footer ───────────────────────────────────────────────── */
.footer { position: relative; background: var(--bg-deep); border-top: 1px solid var(--line); padding-top: clamp(70px, 8vw, 100px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 54px; width: auto; display: block; }
.footer__brand p { color: var(--muted); max-width: 400px; margin: 22px 0 0; }
.footer__col { display: flex; flex-direction: column; gap: 13px; align-items: flex-start; }
.footer__col > b { font: 600 max(var(--fs-min), calc(12px * var(--fs))) var(--f-b); letter-spacing: .17em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.footer__col a, .footer__col > span { color: var(--text-2); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; transition: color .25s; }
.footer__col a:hover { color: var(--heading); }
.footer__col a span svg, .footer__col > span span svg { width: 17px; height: 17px; color: var(--accent); display: block; }
.footer__word { font: 900 calc(clamp(4.2rem, 20vw, 18rem) * var(--fs-h))/.8 var(--f-d); font-stretch: 125%; letter-spacing: -.045em; text-align: center; margin: 80px 0 0; color: transparent; -webkit-text-stroke: 1px rgba(var(--fg-rgb), .1); background: linear-gradient(180deg, rgba(var(--fg-rgb), .07), transparent 80%); -webkit-background-clip: text; background-clip: text; user-select: none; transition: -webkit-text-stroke-color .6s; white-space: nowrap; }
.footer:hover .footer__word { -webkit-text-stroke-color: color-mix(in srgb, var(--primary) 55%, transparent); }
.footer__bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0 30px; border-top: 1px solid var(--line); color: var(--dim); font-size: calc(13.5px * var(--fs)); }
.footer__bot a { color: var(--dim); text-decoration: none; }
.footer__bot a b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .6); transition: transform .4s var(--ease-out); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ripple 2.4s ease-out infinite; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }

.is-preview .flash-sel { animation: selFlash 1.4s ease-out; }

/* ── AI assistant ─────────────────────────────────────────── */
body.has-chat .wa-float { bottom: 96px; }
.ndc { position: fixed; right: 22px; bottom: 22px; z-index: 95; font-family: var(--f-b); }
.ndc-launch { position: relative; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 8px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font: 700 calc(15px * var(--fs)) var(--f-b); cursor: pointer; box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--primary) 85%, transparent); transition: transform .4s var(--ease-out), padding .3s; }
.ndc-launch:hover { transform: translateY(-2px) scale(1.03); }
.ndc-launch::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--primary); animation: ripple 2.6s ease-out infinite; pointer-events: none; }
.ndc-launch__ic, .ndc-launch__x { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; }
.ndc-launch svg { width: 20px; height: 20px; }
.ndc-launch__x { display: none; }
.ndc-launch em { font-style: normal; }
.ndc.open .ndc-launch { padding: 0 8px; }
.ndc.open .ndc-launch::before, .ndc.open .ndc-launch em, .ndc.open .ndc-launch__ic { display: none; }
.ndc.open .ndc-launch__x { display: grid; }
.ndc-panel { position: absolute; right: 0; bottom: 74px; width: min(392px, calc(100vw - 32px)); height: min(620px, calc(100vh - 120px)); display: flex; flex-direction: column; overflow: hidden; background: var(--card-solid); border: 1px solid var(--line-2); border-radius: 24px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7); transform-origin: bottom right; animation: ndcIn .35s var(--ease-out); }
.ndc-panel[hidden] { display: none; }
.ndc-head { display: flex; align-items: center; gap: 10px; padding: 14px 10px 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 16%, transparent), transparent 65%); }
.ndc-av { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--fg-rgb), .06); flex: none; }
.ndc-av img { width: 28px; height: 28px; object-fit: contain; }
.ndc-title { flex: 1; min-width: 0; }
.ndc-title b { display: block; font: 700 calc(15px * var(--fs-h))/1.2 var(--f-d); color: var(--heading); }
.ndc-title span { display: flex; align-items: center; gap: 6px; font-size: max(var(--fs-min), calc(12px * var(--fs))); color: var(--muted); margin-top: 2px; }
.ndc-title i { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.ndc-ic { width: 34px; height: 34px; border-radius: 10px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.ndc-ic:hover { background: rgba(var(--fg-rgb), .07); color: var(--heading); }
.ndc-ic svg { width: 17px; height: 17px; }
.ndc-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ndc-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: calc(14.5px * var(--fs)); line-height: 1.55; overflow-wrap: anywhere; animation: ndcMsg .3s var(--ease-out); }
.ndc-msg p { margin: 0; }
.ndc-msg p + p, .ndc-msg p + ul, .ndc-msg ul + p { margin-top: 8px; }
.ndc-msg ul { margin: 6px 0 0; padding-inline-start: 18px; }
.ndc-msg li + li { margin-top: 3px; }
.ndc-msg a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.ndc-bot { align-self: flex-start; background: rgba(var(--fg-rgb), .06); color: var(--text); border-end-start-radius: 6px; }
.ndc-user { align-self: flex-end; background: var(--grad); color: #fff; border-end-end-radius: 6px; }
.ndc-user a { color: #fff; }
.ndc-err { color: #F87171; font-size: calc(13px * var(--fs)); margin-top: 4px !important; }
.ndc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ndc-chips button { border: 1px solid var(--line-2); background: none; color: var(--text-2); padding: 8px 12px; border-radius: 999px; font: 500 calc(13px * var(--fs))/1.3 var(--f-b); cursor: pointer; text-align: start; transition: border-color .2s, background .2s; }
.ndc-chips button:hover { border-color: color-mix(in srgb, var(--accent) 70%, transparent); background: var(--a-soft); }
.ndc-typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.ndc-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: ndcDot 1.2s infinite; }
.ndc-typing i:nth-child(2) { animation-delay: .15s; } .ndc-typing i:nth-child(3) { animation-delay: .3s; }
.ndc-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid var(--line); }
.ndc-form textarea { flex: 1; resize: none; max-height: 120px; border: 1px solid var(--line-2); background: rgba(var(--fg-rgb), .04); color: var(--heading); border-radius: 14px; padding: 11px 14px; font: 500 calc(14.5px * var(--fs))/1.4 var(--f-b); outline: none; transition: border-color .2s; }
.ndc-form textarea:focus { border-color: color-mix(in srgb, var(--accent) 75%, transparent); }
/* phones zoom into any text field under 16px — keep touch screens at 16px */
@media (hover: none) and (pointer: coarse) { .field input, .field textarea, .ndc-form textarea { font-size: max(16px, calc(16px * var(--fs))); } }
.ndc-send { width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--grad); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; transition: opacity .2s, transform .2s; }
.ndc-send:hover { transform: scale(1.05); }
.ndc-send:disabled { opacity: .5; cursor: progress; }
.ndc-send svg { width: 18px; height: 18px; }
.ndc-note { margin: 0; padding: 0 14px 11px; text-align: center; }
.ndc-note a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: max(var(--fs-min), calc(12px * var(--fs))); font-weight: 500; transition: color .2s; }
.ndc-note a:hover { color: #25D366; }
.ndc-note a span svg { width: 14px; height: 14px; display: block; }
@keyframes ndcIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes ndcMsg { from { opacity: 0; transform: translateY(6px); } }
@keyframes ndcDot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 560px) {
  .ndc { right: 14px; bottom: 14px; }
  .ndc-launch { padding: 0 8px; height: 54px; }
  .ndc-launch em { display: none; }
  .ndc.open .ndc-launch { display: none; }
  .ndc-panel { position: fixed; inset: auto 0 0 0; width: 100%; height: min(88vh, 100% - 40px); border-radius: 22px 22px 0 0; bottom: 0; right: 0; }
  body.has-chat .wa-float { bottom: 80px; }
}


/* ═══ Product screens (mocks) ════════════════════════════════ */
.mk-fit { position: relative; width: 100%; min-width: 0; overflow: hidden; }
.mk-scale { position: absolute; left: 0; top: 0; width: 760px; height: 500px; transform-origin: 0 0; } /* out of flow: never widens its column */
@media (max-width: 760px) { :root { --fs-min: 13px; } }

/* the product-screen drawings keep their designed fonts whatever the page font is */
.mk { --f-b: 'Inter', 'Segoe UI', system-ui, sans-serif; --f-d: 'Archivo', 'Segoe UI', system-ui, sans-serif; }
.mk { width: 760px; height: 500px; background: #0B0B11; color: #E8E8EE; font: 500 11.5px/1.35 var(--f-b); display: grid; grid-template-rows: 34px 1fr; text-align: left; letter-spacing: 0; --mk-card: #12121A; }
.mk:not(.play) * { animation-play-state: paused !important; }
.mk .ico { width: 1em; height: 1em; }
.mk-bar { display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #101017; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.mk-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; opacity: .85; }
.mk-bar > i:nth-child(2) { background: #FEBC2E; } .mk-bar > i:nth-child(3) { background: #28C840; }
.mk-url { margin: 0 auto; display: flex; gap: 6px; align-items: center; justify-content: center; background: #16161F; border: 1px solid rgba(255, 255, 255, .06); border-radius: 7px; padding: 4px 14px; color: #8A8A99; font-size: 10.5px; min-width: 270px; }
.mk-url svg { width: 11px; height: 11px; color: #4ADE80; }
.mk-bar-r { display: flex; gap: 10px; align-items: center; color: #8A8A99; }
.mk-bar-r svg { width: 14px; height: 14px; }
.mk-bar-r b { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 8.5px; display: grid; place-items: center; }
.mk-body { display: grid; grid-template-columns: 50px 1fr; min-height: 0; }
.mk-side { background: #0E0E15; border-right: 1px solid rgba(255, 255, 255, .05); display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 0; }
.mk-logo { width: 28px; height: 28px; background: url(../img/mark.webp) center / contain no-repeat; margin-bottom: 8px; }
.mk-side span { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #62626F; }
.mk-side span svg { width: 16px; height: 16px; }
.mk-side span.on { background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 38%, transparent), color-mix(in srgb, var(--accent) 18%, transparent)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.mk-main { padding: 13px 16px 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; overflow: hidden; }
.mk-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mk-head h4 { margin: 0; font: 700 15px/1.2 var(--f-d); font-stretch: 105%; color: #fff; }
.mk-head p { margin: 2px 0 0; color: #83838F; font-size: 10.5px; }
.mk-head-r { display: flex; gap: 6px; align-items: center; }
.mk-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 600; background: rgba(255, 255, 255, .06); color: #C9C9D3; white-space: nowrap; }
.mk-pill svg { width: 11px; height: 11px; }
.mk-pill.ok { background: rgba(34, 197, 94, .14); color: #4ADE80; }
.mk-pill.warn { background: rgba(247, 162, 27, .15); color: #FBBF24; }
.mk-pill.bad { background: rgba(239, 68, 68, .15); color: #F87171; }
.mk-pill.grad { background: var(--grad); color: #fff; }
.mk-pill.soft { background: rgba(255, 255, 255, .04); color: #B0B0BD; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.mk-pill.soft.on { color: #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent); }
.mk-pill.dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mk-pill.input { min-width: 190px; justify-content: flex-start; color: #62626F; background: var(--mk-card); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); padding: 5px 10px; }
.mk-card { background: var(--mk-card); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 11px 12px; min-width: 0; }
.mk-card-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 9px; }
.mk-card-h b { font-weight: 600; color: #fff; font-size: 11.5px; }
.mk-card-h > span { color: #74747F; font-size: 10px; }
.mk-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mk-kpi { position: relative; background: var(--mk-card); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 10px 12px; overflow: hidden; }
.mk-kpi::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--grad); opacity: .5; border-radius: 2px; }
.mk-kpi-t { display: flex; gap: 6px; align-items: center; color: #8A8A99; font-size: 10px; }
.mk-kpi-t svg { width: 12px; height: 12px; color: var(--accent); }
.mk-kpi b { display: block; font: 800 18px/1.1 var(--f-d); font-stretch: 108%; color: #fff; margin-top: 7px; letter-spacing: -.01em; white-space: nowrap; }
.mk-kpi em { position: absolute; right: 10px; top: 10px; font-style: normal; font-size: 9.5px; color: #4ADE80; font-weight: 600; }
.mk-grid { display: grid; gap: 10px; min-height: 0; }
.mk-grid--dash { grid-template-columns: 1.55fr 1fr; }
.mk-grid--member { grid-template-columns: 1.35fr 1fr; }
.mk-grid--2 { grid-template-columns: 1fr 1fr; }
.mk-grid--train { grid-template-columns: 1.75fr 1fr; }
.mk-grid--access { grid-template-columns: 1fr 1.3fr; }
.mk-grid--lockers { grid-template-columns: 1.65fr 1fr; }
.mk-grid--bill { grid-template-columns: 1.6fr 1fr; }
.mk-grid--pay { grid-template-columns: 1.3fr 1fr; }
.mk-grid--rep { grid-template-columns: 1.5fr 1fr; }
.mk-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mk-line { display: block; width: 100%; height: 118px; overflow: visible; }
.mk-gridlines path { stroke: rgba(255, 255, 255, .05); }
.mk-stroke { stroke-dasharray: 700; stroke-dashoffset: 700; }
.play .mk-stroke { animation: draw 2.2s var(--ease-out) forwards; }
.mk-area { opacity: 0; }
.play .mk-area { animation: fadeIn 1.2s .6s forwards; }
.mk-dot { fill: #fff; opacity: 0; filter: drop-shadow(0 0 6px var(--accent)); }
.play .mk-dot { animation: fadeIn .4s 1.9s forwards; }
.mk-axis { display: flex; justify-content: space-between; color: #5E5E6B; font-size: 9.5px; margin-top: 5px; }
.mk-donut-wrap { position: relative; width: 100px; height: 100px; margin: 0 auto 10px; }
.mk-donut { width: 100%; height: 100%; transform: rotate(-90deg) scale(.6); opacity: 0; }
.play .mk-donut { animation: donutIn 1.1s .3s var(--ease-out) forwards; }
.mk-donut circle { fill: none; stroke-width: 5.5; }
.mk-donut .bg { stroke: rgba(255, 255, 255, .06); }
.mk-donut .s1 { stroke: var(--primary); } .mk-donut .s2 { stroke: var(--accent); } .mk-donut .s3 { stroke: #FF7A45; } .mk-donut .s4 { stroke: #FDE68A; }
.mk-donut-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mk-donut-c b { font: 800 13px var(--f-d); color: #fff; } .mk-donut-c span { font-size: 9px; color: #7A7A88; }
.mk-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.mk-legend li { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #B5B5C2; }
.mk-legend i { width: 8px; height: 8px; border-radius: 2px; }
.mk-legend .c1 { background: var(--primary); } .mk-legend .c2 { background: var(--accent); } .mk-legend .c3 { background: #FF7A45; } .mk-legend .c4 { background: #FDE68A; }
.mk-legend b { margin-left: auto; color: #fff; font-weight: 600; }
.mk-feed-card { flex: 1; min-height: 0; }
.mk-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.mk-feed li { display: flex; align-items: center; gap: 9px; animation: slideIn .5s var(--ease-out); }
.mk-feed li div { flex: 1; min-width: 0; }
.mk-feed li b { display: block; font-weight: 600; font-size: 11px; color: #fff; }
.mk-feed li span { color: #74747F; font-size: 10px; }
.mk-feed li em { font-style: normal; color: #4ADE80; font-size: 9.5px; font-weight: 600; }
.mk-av { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-style: normal; font-size: 8.5px; font-weight: 700; background: linear-gradient(135deg, #2C2C39, #1A1A23); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); flex: none; vertical-align: middle; }
td .mk-av, .mk-rows .mk-av, .mk-att .mk-av { margin-right: 8px; }
.mk-live { display: inline-flex; align-items: center; gap: 6px; color: #F87171 !important; font-weight: 700; font-size: 10px; letter-spacing: .08em; }
.mk-live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #EF4444; }
.mk-live i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #EF4444; animation: pulseRed 1.6s infinite; }
/* member */
.mk-profile { display: flex; flex-direction: column; gap: 11px; }
.mk-prof-top { display: flex; gap: 12px; align-items: center; }
.mk-prof-top > div > span { color: #83838F; font-size: 10.5px; display: block; margin: 2px 0 6px; }
.mk-avatar { position: relative; width: 56px; height: 56px; border-radius: 17px; background: var(--grad); display: grid; place-items: center; font: 800 16px var(--f-d); color: #fff; flex: none; }
.mk-avatar i { position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; background: #22C55E; border: 3px solid var(--mk-card); }
.mk-avatar.sm { width: 40px; height: 40px; border-radius: 12px; font-size: 12px; background: rgba(255, 255, 255, .22); }
.mk-name { display: block; font: 700 15px var(--f-d); color: #fff; }
.mk-tabs { position: relative; display: flex; gap: 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 10.5px; color: #74747F; }
.mk-tabs span { padding-bottom: 7px; } .mk-tabs span.on { color: #fff; }
.mk-tab-ink { position: absolute; bottom: -1px; left: 0; width: 42px; height: 2px; background: var(--grad); transform-origin: left; }
.play .mk-tab-ink { animation: tabInk 7s var(--ease) infinite; }
.mk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; }
.mk-fields div { display: flex; flex-direction: column; gap: 2px; }
.mk-fields span { color: #62626F; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.mk-fields b { color: #fff; font-weight: 600; font-size: 11.5px; }
.mk-docs { display: flex; gap: 6px; flex-wrap: wrap; }
.mk-docs span { display: inline-flex; gap: 5px; align-items: center; padding: 5px 8px; border-radius: 8px; background: rgba(255, 255, 255, .03); border: 1px dashed rgba(255, 255, 255, .12); font-size: 10px; color: #B5B5C2; }
.mk-docs svg { width: 12px; height: 12px; color: var(--accent); }
.mk-mcard { perspective: 800px; height: 172px; }
.mk-mcard-in { position: relative; height: 100%; border-radius: 15px; padding: 14px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #000) 55%, #1C0708); box-shadow: 0 22px 40px -22px color-mix(in srgb, var(--primary) 90%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25); transform-style: preserve-3d; }
.play .mk-mcard-in { animation: cardTilt 7s ease-in-out infinite; }
.mk-mcard-in::after { content: ''; position: absolute; inset: -40%; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .22) 50%, transparent 58%); animation: sheen 4.5s ease-in-out infinite; }
.mk-mcard-top { display: flex; justify-content: space-between; align-items: center; }
.mk-mcard-top em { font-style: normal; font-size: 9px; letter-spacing: .22em; font-weight: 700; opacity: .85; }
.mk-mcard-logo { display: block; width: 26px; height: 26px; background: url(../img/mark.webp) center / contain no-repeat; }
.mk-mcard .mk-mcard-logo { filter: brightness(0) invert(1); }
.mk-mcard-mid { display: flex; gap: 10px; align-items: center; }
.mk-mcard-mid b { display: block; font: 700 13px var(--f-d); }
.mk-mcard-mid span { font-size: 10px; opacity: .8; }
.mk-mcard-bot { display: flex; justify-content: space-between; align-items: flex-end; font-size: 8.5px; letter-spacing: .14em; }
.mk-qr { display: block; }
.mk-mcard .mk-qr { width: 46px; height: 46px; border-radius: 4px; }
.mk-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.mk-rows li { display: flex; align-items: center; font-size: 10.5px; color: #A9A9B6; }
.mk-rows li > b { margin-left: auto; color: #fff; font-weight: 600; }
/* tables */
.mk-table-card { padding: 2px 0; }
.mk-table { width: 100%; border-collapse: collapse; font-size: 10.5px; }
.mk-table th { text-align: left; color: #62626F; font-weight: 600; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; padding: 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.mk-table td { padding: 7px 12px; border-bottom: 1px solid rgba(255, 255, 255, .04); color: #D4D4DC; white-space: nowrap; }
.mk-table tr:last-child td { border-bottom: 0; }
.mk-table .r { text-align: right; }
.mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; }
.mk-table td.mono { color: #fff; }
.mk-table tr.sub td:first-child { position: relative; padding-left: 26px; }
.mk-table tr.sub td:first-child::before { content: ''; position: absolute; left: 13px; top: -4px; height: 50%; width: 7px; border-left: 1px solid rgba(255, 255, 255, .2); border-bottom: 1px solid rgba(255, 255, 255, .2); border-bottom-left-radius: 4px; }
.play .mk-table tbody tr { animation: rowIn .55s var(--ease-out) both; }
.play .mk-table tbody tr:nth-child(2) { animation-delay: .08s; } .play .mk-table tbody tr:nth-child(3) { animation-delay: .16s; }
.play .mk-table tbody tr:nth-child(4) { animation-delay: .24s; } .play .mk-table tbody tr:nth-child(5) { animation-delay: .32s; }
.play .mk-table tbody tr:nth-child(6) { animation-delay: .4s; }
.mk-filters { display: flex; gap: 6px; }
.mk-bars { display: flex; align-items: flex-end; gap: 6px; height: 128px; padding-top: 6px; }
.mk-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--accent), var(--primary)); transform-origin: bottom; transform: scaleY(0); }
.mk-bars i:nth-child(odd) { opacity: .82; }
.play .mk-bars i { animation: grow .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 55ms + .15s); }
.mk-bars--sm { height: 64px; }
.mk-years { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.mk-years span { padding: 4px 7px; border-radius: 6px; background: rgba(255, 255, 255, .05); font-size: 10px; color: #9A9AA8; }
.mk-years span.on { background: var(--grad); color: #fff; }
.mk-mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mk-mini-stats div { background: rgba(255, 255, 255, .035); border-radius: 8px; padding: 7px 8px; }
.mk-mini-stats b { display: block; font: 800 14px var(--f-d); color: #fff; }
.mk-mini-stats span { font-size: 9.5px; color: #74747F; }
/* training */
.mk-chips { display: flex; gap: 6px; overflow: hidden; }
.mk-chips span { padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .08); font-size: 10.5px; color: #B5B5C2; white-space: nowrap; }
.mk-chips span.on { background: var(--grad); color: #fff; border-color: transparent; }
.mk-sched { padding: 10px; }
.mk-sched-h { display: grid; grid-template-columns: 40px repeat(5, 1fr); font-size: 9.5px; color: #74747F; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.mk-sched-b { display: grid; grid-template-columns: 40px 1fr; }
.mk-sched-t { display: grid; grid-template-rows: repeat(4, 64px); font-size: 9.5px; color: #5E5E6B; }
.mk-sched-g { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(4, 60px); gap: 4px; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 100% 64px; }
.mk-blk { border-radius: 8px; padding: 6px 7px; font-size: 9.5px; overflow: hidden; opacity: 0; transform: scale(.85); border-left: 3px solid var(--primary); background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 42%, transparent), color-mix(in srgb, var(--primary) 16%, transparent)); }
.mk-blk.t2 { border-left-color: var(--accent); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 38%, transparent), color-mix(in srgb, var(--accent) 12%, transparent)); }
.mk-blk.t3 { border-left-color: #fff; background: rgba(255, 255, 255, .08); }
.mk-blk b { display: block; color: #fff; font-size: 10px; font-weight: 600; }
.mk-blk span { color: rgba(255, 255, 255, .72); }
.play .mk-blk { animation: popIn .55s var(--ease-out) forwards; animation-delay: calc(var(--i) * 80ms + .2s); }
.mk-att { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mk-att li { display: flex; align-items: center; font-size: 10.5px; color: #D4D4DC; }
.mk-att li em { margin-left: auto; width: 17px; height: 17px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, .16); display: grid; place-items: center; font-style: normal; font-size: 10px; transition: background .3s, border-color .3s; }
.mk-att li.on em { background: #22C55E; border-color: #22C55E; } .mk-att li.on em::after { content: '✓'; color: #fff; }
.mk-att li.off em { background: rgba(239, 68, 68, .2); border-color: #EF4444; } .mk-att li.off em::after { content: '×'; color: #F87171; }
.mk-att-sum { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 10.5px; color: #8A8A99; }
.mk-att-sum b { color: #fff; }
/* access */
.mk-scan { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 14px; }
.mk-scan-frame { position: relative; width: 176px; height: 176px; display: grid; place-items: center; border-radius: 24px; background: radial-gradient(circle, rgba(255, 255, 255, .05), transparent 70%); }
.mk-face { width: 120px; height: 120px; fill: none; stroke: rgba(255, 255, 255, .32); stroke-width: 2; }
.mk-scan-frame > i { position: absolute; width: 26px; height: 26px; border: 2.5px solid var(--accent); }
.mk-scan-frame .c1 { top: 4px; left: 4px; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.mk-scan-frame .c2 { top: 4px; right: 4px; border-left: 0; border-bottom: 0; border-top-right-radius: 10px; }
.mk-scan-frame .c3 { bottom: 4px; left: 4px; border-right: 0; border-top: 0; border-bottom-left-radius: 10px; }
.mk-scan-frame .c4 { bottom: 4px; right: 4px; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }
.mk-scanline { position: absolute; left: 10%; right: 10%; top: 14%; height: 2px; will-change: transform; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 14px var(--accent); animation: scan 2.2s ease-in-out infinite alternate; }
.mk-mesh { position: absolute; inset: 22% 27% 44%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px 9px; }
.mk-mesh b { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); opacity: 0; animation: blink 2.4s infinite; animation-delay: calc(var(--i) * .13s); }
.mk-verdict { padding: 8px 16px; border-radius: 11px; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .35); text-align: center; min-width: 200px; }
.mk-verdict b { display: block; color: #4ADE80; font: 800 12px var(--f-d); letter-spacing: .12em; }
.mk-verdict span { font-size: 10px; color: #B5B5C2; }
.mk-verdict.deny { background: rgba(239, 68, 68, .12); border-color: rgba(239, 68, 68, .35); }
.mk-verdict.deny b { color: #F87171; }
.mk-scan.pulse .mk-verdict { animation: popIn .45s var(--ease-out); }
.mk-methods { display: flex; gap: 6px; }
.mk-methods span { display: inline-flex; gap: 5px; align-items: center; padding: 5px 10px; border-radius: 8px; font-size: 10px; background: rgba(255, 255, 255, .04); color: #83838F; transition: background .3s, color .3s; }
.mk-methods svg { width: 12px; height: 12px; }
.mk-methods span.on { background: var(--a-soft); color: #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); }
.mk-log-card { flex: 1; }
.mk-log { list-style: none; margin: 0; padding: 0; }
.mk-log li { display: grid; grid-template-columns: 56px 1fr 52px 36px 62px; align-items: center; gap: 6px; padding: 6px 2px; border-bottom: 1px solid rgba(255, 255, 255, .04); font-size: 10px; color: #A9A9B6; animation: slideIn .45s var(--ease-out); }
.mk-log li b { color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-log li .mk-pill { justify-self: end; }
.mk-gates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-gates div { background: var(--mk-card); border: 1px solid rgba(255, 255, 255, .06); border-radius: 10px; padding: 8px 10px; font-size: 10.5px; color: #fff; font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mk-gates span { width: 100%; font-weight: 500; color: #74747F; font-size: 9.5px; }
.mk-gates i { width: 7px; height: 7px; border-radius: 50%; }
.mk-gates i.ok { background: #22C55E; box-shadow: 0 0 8px #22C55E; }
.mk-gates i.warn { background: #F59E0B; box-shadow: 0 0 8px #F59E0B; }
/* courts */
.mk-tl { position: relative; padding: 10px 12px; }
.mk-tl-h { display: grid; grid-template-columns: 70px 1fr; margin-bottom: 4px; }
.mk-tl-h div { display: grid; grid-template-columns: repeat(8, 1fr); font-size: 9.5px; color: #5E5E6B; }
.mk-tl-r { display: grid; grid-template-columns: 70px 1fr; align-items: center; height: 30px; border-top: 1px solid rgba(255, 255, 255, .04); }
.mk-tl-r > span { font-size: 10.5px; color: #B5B5C2; font-weight: 600; }
.mk-tl-lane { position: relative; height: 22px; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 12.5%); }
.mk-tl-lane i { position: absolute; top: 0; bottom: 0; left: calc(var(--s) / 32 * 100%); width: calc(var(--l) / 32 * 100% - 3px); border-radius: 6px; font-style: normal; display: flex; align-items: center; padding: 0 7px; overflow: hidden; transform: scaleX(0); transform-origin: left; transition: background .5s; }
.mk-tl-lane i.c { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.mk-tl-lane i.p { background: repeating-linear-gradient(135deg, rgba(247, 162, 27, .38) 0 6px, rgba(247, 162, 27, .14) 6px 12px); box-shadow: inset 0 0 0 1px rgba(247, 162, 27, .6); }
.mk-tl-lane i b { font-size: 9.5px; color: #fff; white-space: nowrap; font-weight: 600; }
.play .mk-tl-lane i { animation: growX .75s var(--ease-out) forwards; animation-delay: calc(var(--i) * 60ms + .1s); }
.mk-now { position: absolute; top: 28px; bottom: 8px; left: calc(82px + (100% - 94px) * var(--s) / 32); width: 2px; background: #fff; box-shadow: 0 0 10px #fff; border-radius: 2px; }
.mk-now::before { content: ''; position: absolute; top: -4px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.mk-lockers { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.mk-lockers--strip { grid-template-columns: repeat(30, 1fr); gap: 3px; }
.mk-lockers i { aspect-ratio: 1 / 1.2; border-radius: 4px; display: grid; place-items: center; font-style: normal; transition: background .5s; }
.mk-lockers--strip i { aspect-ratio: 1 / 1.7; }
.mk-lockers i b { font-size: 7.5px; color: rgba(255, 255, 255, .85); font-weight: 600; }
.mk-lockers--strip i b { display: none; }
.mk-lockers i.paid { background: linear-gradient(180deg, var(--primary), color-mix(in srgb, var(--primary) 65%, #000)); }
.mk-lockers i.pend { background: color-mix(in srgb, var(--accent) 72%, #000); }
.mk-lockers i.free { background: rgba(255, 255, 255, .06); }
.mk-lockers i.flash { animation: flash .7s; }
.mk-legend-inline { display: inline-flex; align-items: center; gap: 4px; }
.mk-legend-inline i { width: 8px; height: 8px; border-radius: 2px; margin-left: 7px; }
.mk-legend-inline i.paid { background: var(--primary); } .mk-legend-inline i.pend { background: var(--accent); } .mk-legend-inline i.free { background: rgba(255, 255, 255, .18); }
.mk-locker-detail { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.mk-locker-detail .mk-rows { width: 100%; }
.mk-big-num { font: 900 30px/1 var(--f-d); font-stretch: 115%; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-ring { --p: 50; position: relative; width: 96px; height: 96px; border-radius: 50%; margin: 2px auto; display: flex; flex-direction: column; align-items: center; justify-content: center; background: conic-gradient(var(--primary) calc(var(--p) * 1%), rgba(255, 255, 255, .07) 0); }
.mk-ring.alt { background: conic-gradient(var(--accent) calc(var(--p) * 1%), rgba(255, 255, 255, .07) 0); }
.mk-ring::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--ring-bg, var(--mk-card)); }
.mk-ring b, .mk-ring span { position: relative; }
.mk-ring b { font: 800 16px var(--f-d); color: #fff; }
.mk-ring span { font-size: 9px; color: #74747F; }
.mk-rings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; --ring-bg: #0B0B11; }
.mk-rings .mk-ring { width: 104px; height: 104px; }
.mk-rep-list li em { font-style: normal; color: var(--accent); font-weight: 700; width: 30px; }
.mk-rep-list li > b { font-weight: 500 !important; color: #8A8A99 !important; font-size: 9.5px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .05); }
.mk-rep-list { gap: 10px; }
/* billing */
.mk-receipt { position: relative; background: #fff; color: #111; border-radius: 12px; padding: 14px; overflow: hidden; font-size: 10.5px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .85); }
.mk-receipt-h { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px dashed #DDD; }
.mk-receipt-h .mk-mcard-logo { width: 30px; height: 30px; }
.mk-receipt-h b { display: block; font: 800 13px var(--f-d); }
.mk-receipt-h span { color: #777; font-size: 9.5px; }
.mk-receipt ul { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; }
.mk-receipt li { display: flex; justify-content: space-between; color: #444; }
.mk-receipt li b { font-weight: 700; color: #111; }
.mk-receipt li.t { border-top: 1px solid #EEE; padding-top: 8px; font-weight: 700; color: #111; }
.mk-receipt li.t b { color: var(--primary); font: 800 14px var(--f-d); }
.mk-receipt-f { display: flex; gap: 10px; align-items: center; }
.mk-receipt-f .mk-qr { width: 66px; height: 66px; }
.mk-receipt-f span { display: block; color: #888; font-size: 9px; }
.mk-receipt-f b { display: block; font-size: 10px; margin: 1px 0 3px; }
.mk-stamp { position: absolute; right: 12px; top: 64px; transform: rotate(-14deg) scale(2); opacity: 0; border: 2px solid #16A34A; color: #16A34A; font: 800 11px var(--f-d); letter-spacing: .1em; padding: 4px 8px; border-radius: 6px; }
.play .mk-stamp { animation: stamp .5s 1.1s var(--ease-out) forwards; }
/* payments */
.mk-amount { display: flex; flex-direction: column; gap: 3px; }
.mk-amount > span { color: #74747F; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.mk-amount > b { font: 900 30px/1.1 var(--f-d); font-stretch: 112%; color: #fff; }
.mk-progress { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; margin: 8px 0 4px; }
.mk-progress i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(.6); }
.play .mk-progress i { animation: fillBar 1.8s .4s var(--ease-out) forwards; }
.mk-amount em { font-style: normal; font-size: 10px; color: #4ADE80; }
.mk-methods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.mk-methods-grid span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 10px; background: var(--mk-card); border: 1px solid rgba(255, 255, 255, .06); font-size: 9.5px; color: #9A9AA8; transition: background .35s, border-color .35s, color .35s, transform .35s var(--ease-out); }
.mk-methods-grid svg { width: 19px; height: 19px; color: #B5B5C2; transition: color .35s; }
.mk-methods-grid b { font-weight: 600; }
.mk-methods-grid span.on { background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 30%, transparent), color-mix(in srgb, var(--accent) 14%, transparent)); border-color: color-mix(in srgb, var(--accent) 60%, transparent); color: #fff; transform: translateY(-3px); }
.mk-methods-grid span.on svg { color: #fff; }
.mk-summary .mk-rows li { padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.grad-t { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.mk-confirm { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 700; font-size: 11px; }
.mk-confirm span { width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .25); display: grid; place-items: center; }
.mk-confirm svg { width: 11px; height: 11px; }

/* ── Keyframes ────────────────────────────────────────────── */
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { opacity: .45; transform: scale(.8); } }
@keyframes float { 50% { transform: translateZ(70px) translateY(-12px); } }
@keyframes swayL { from { transform: rotate(-30deg); } to { transform: rotate(-16deg); } }
@keyframes swayR { from { transform: rotate(30deg); } to { transform: rotate(16deg); } }
@keyframes sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }
@keyframes load { to { stroke-dashoffset: 0; } }
@keyframes bob { from { transform: scale(.6) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
@keyframes selFlash { 0% { box-shadow: inset 0 0 0 3px var(--accent); } 100% { box-shadow: inset 0 0 0 3px transparent; } }
@keyframes popIn { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
@keyframes conf { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes growX { to { transform: scaleX(1); } }
@keyframes fillBar { to { transform: scaleX(1); } }
@keyframes rowIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes donutIn { to { opacity: 1; transform: rotate(-90deg) scale(1); } }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(124px); } }
@keyframes blink { 0%, 100% { opacity: 0; } 50% { opacity: .95; } }
@keyframes pulseRed { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }
@keyframes flash { 50% { opacity: .45; } }
@keyframes stamp { to { opacity: .92; transform: rotate(-14deg) scale(1); } }
@keyframes cardTilt { 0%, 100% { transform: rotateY(-9deg) rotateX(4deg); } 50% { transform: rotateY(9deg) rotateX(-3deg); } }
@keyframes sheen { 0%, 60% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
@keyframes tabInk { 0%, 22% { transform: none; } 25%, 47% { transform: translateX(56px) scaleX(1.48); } 50%, 72% { transform: translateX(132px) scaleX(.72); } 75%, 97% { transform: translateX(176px) scaleX(.76); } 100% { transform: none; } }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1180px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .paygrid { grid-template-columns: repeat(2, 1fr); }
  .fcard--0 { left: -2%; } .fcard--1 { right: -2%; }
}
@media (max-width: 1024px) {
  .nav__links, .nav__r > .btn { display: none; }
  .nav__burger { display: block; }
  .hero { padding-top: 120px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero__visual { height: auto; min-height: 0; aspect-ratio: 760 / 560; margin-top: 30px; }
  .hero__tilt { left: 4%; right: 4%; transform: rotateY(-8deg) rotateX(4deg); }
  .hero__sphere { left: -10%; width: 120%; top: -18%; height: 136%; }
  .sc { grid-template-columns: minmax(0, 1fr); }
  .sc__stage { display: none; }
  .sc__step { min-height: 0; opacity: 1; padding-block: 40px; border-top: 1px solid var(--line); }
  .sc__mobile { display: block; margin-top: 30px; }
  .it__grid, .demo__grid { grid-template-columns: minmax(0, 1fr); }
  .it--right .it__media { order: 0; }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .hstat:nth-child(3) { border-left: 0; padding-left: 0; }
  .fcard { transform: translateZ(40px) scale(.8); }
  .fcard--0 { left: -3%; top: -8%; transform-origin: left; }
  .fcard--1 { right: -2%; top: auto; bottom: -10%; transform-origin: right; }
  .fcard--2, .fcard--3 { display: none; }
  @keyframes float { 50% { transform: translateZ(40px) scale(.8) translateY(-8px); } }
  .bento { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mcard { padding: 18px; min-height: 0; border-radius: 20px; }
  .mcard__top { margin-bottom: 18px; }
  .mcard__icon { width: 44px; height: 44px; border-radius: 14px; }
  .mcard p { display: none; }
  .band__grid { grid-template-columns: 1fr 1fr; }
  .bstat { padding-right: 10px; }
  .paygrid { gap: 10px; }
  .pcard { padding: 20px 18px; }
  .pcard__ic { width: 48px; height: 48px; margin-bottom: 18px; }
  .fgrid { grid-template-columns: 1fr; }
  .gallery__head { flex-direction: column; align-items: flex-start; }
  .gal { padding-top: 40px; gap: 16px; }
  .gal__item { width: 84vw; }
  .clients { --logo-area: 5600; --logo-max-w: 160; --logo-max-h: 72; }
  .ctile { height: 100px; padding: 10px 22px; border-radius: 16px; margin-right: 4px; }
  .clients--cards .ctile { width: 180px; }
  .ctile__name { gap: 10px; }
  .ctile__name i { width: 36px; height: 36px; border-radius: 11px; font-size: max(var(--fs-min), calc(12px * var(--fs-h))); }
  .ctile__name b { font-size: max(var(--fs-min), calc(12.5px * var(--fs-h))); }
  .clients__title { margin-bottom: 24px; }
  .dform__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .cta__box { border-radius: 28px; }
  .lb__p, .lb__n { top: auto; bottom: 16px; translate: none; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
@media (max-width: 420px) {
  .mcard { padding: 15px; border-radius: 18px; }
  .mcard__icon { width: 40px; height: 40px; border-radius: 12px; }
  .mcard__icon svg { width: 20px; height: 20px; }
  .mcard__num { display: none; }
  .mcard h3 { font-size: calc(1.02rem * var(--fs-h)); }
  .mcard__tag { font-size: max(var(--fs-min), calc(9.5px * var(--fs))); letter-spacing: .08em; }
  .hero__ctas .btn { width: 100%; }
  .hero__ctas .btn__in { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none !important; }
}
