/* ==========================================================================
   Brightvane — brightvane.org
   ========================================================================== */

:root {
  --bg: #F8F8F4;
  --surface: #FFFFFF;
  --surface-2: #F1F2EE;
  --ink: #0E1222;
  --ink-2: #4A5064;
  --ink-3: #7A8093;
  --line: #E6E7E1;
  --blue: #2B47F5;
  --blue-2: #4560FF;
  --blue-soft: #E8EBFF;
  --gold: #F6C343;
  --dark: #0F1324;
  --dark-2: #171C31;
  --dark-line: #262C45;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(14, 18, 34, .04), 0 8px 24px -12px rgba(14, 18, 34, .12);
  --shadow-lg: 0 30px 60px -30px rgba(14, 18, 34, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0A0D18;
  --surface: #121628;
  --surface-2: #181D33;
  --ink: #EEF0F8;
  --ink-2: #A9AEC2;
  --ink-3: #7D8399;
  --line: #232944;
  --blue-soft: #1B2250;
  --dark: #060812;
  --dark-2: #11152A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  transition: background .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -.035em; }
p { margin: 0; }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3); }
.accent { color: var(--blue); font-style: normal; }
[data-theme="dark"] .accent { color: #6F84FF; }
.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.section { padding: 120px 0 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 10px;
  font: 600 15px/1 var(--font-body); border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(43, 71, 245, .6); }
.btn--primary:hover { background: var(--blue-2); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(43, 71, 245, .7); }
.btn--ghost { background: var(--surface); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .4); }
[data-theme="dark"] .btn--white { color: #0E1222; }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(3px); }
.btn:hover .arrow--down { transform: translateY(3px); }

.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  transition: transform .25s var(--ease), border-color .25s;
}
.icon-btn:hover { transform: translateY(-1px); border-color: var(--ink-3); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-color: var(--line); }
.nav__inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--font-display); letter-spacing: -.03em; }
.brand__mark { width: 28px; height: 28px; color: var(--ink); }
.brand__star { fill: var(--blue); transform-origin: 16px 8.5px; animation: twinkle 4s ease-in-out infinite; }
.nav__links { display: flex; gap: 34px; font-size: 14.5px; color: var(--ink-2); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); border-radius: 2px; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after, .nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; }
.nav__burger span { width: 16px; height: 1.8px; background: currentColor; border-radius: 2px; transition: transform .3s; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.4px) rotate(-45deg); }
.nav__mobile { display: none; }

@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.75) rotate(45deg); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 72px 0 56px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--ink-2); }
.chip__tag { font: 500 11.5px/1 var(--font-mono); background: #C9D1FF; color: #1B2C9E; padding: 6px 9px; border-radius: 999px; }
[data-theme="dark"] .chip__tag { background: #2A3577; color: #DDE2FF; }
.hero__title { font-size: clamp(52px, 7.4vw, 96px); line-height: .95; font-weight: 800; letter-spacing: -.045em; margin: 0 0 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .08s; }
.hero__title .line:nth-child(3) > span { animation-delay: .16s; }
.hero__title .line:nth-child(4) > span { animation-delay: .24s; }
.hero__title .accent { position: relative; }
.hero__title .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .09em; background: var(--gold); border-radius: 4px; transform: scaleX(0); transform-origin: left; animation: underline .8s var(--ease) 1.1s forwards; opacity: .9; }
@keyframes rise { to { transform: none; } }
@keyframes underline { to { transform: scaleX(1); } }
.hero__lede { font-size: 17.5px; color: var(--ink-2); max-width: 520px; line-height: 1.65; }
.hero__ctas { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }

.hero__art { position: relative; aspect-ratio: 1.08; border-radius: 28px; background: #E8EBFF; overflow: visible; isolation: isolate; }
[data-theme="dark"] .hero__art { background: #151B3D; }
.hero__dots { position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(43, 71, 245, .22) 1px, transparent 1.4px); background-size: 16px 16px; animation: drift 30s linear infinite; z-index: -1; }
@keyframes drift { to { background-position: 160px 160px; } }
.sparkle { fill: var(--gold); }
.sparkle--hero { position: absolute; width: 54px; top: 7%; right: 7%; animation: spin 9s ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(246, 195, 67, .5)); }
@keyframes spin { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(90deg) scale(.85); } }

.mock-browser { position: absolute; left: 7%; top: 12%; width: 68%; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; animation: float 7s ease-in-out infinite; }
.mock-browser__bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.mock-browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #D9DBE3; }
.mock-browser__bar span { margin-left: 10px; font: 10px var(--font-mono); color: var(--ink-3); background: var(--surface-2); padding: 3px 12px; border-radius: 5px; width: 50%; }
.mock-browser__body { display: grid; grid-template-columns: 26% 1fr; min-height: 200px; }
.mock-side { border-right: 1px solid var(--line); padding: 16px 12px; display: grid; gap: 9px; align-content: start; }
.mock-side b { height: 6px; width: 80%; background: var(--ink); border-radius: 4px; margin-bottom: 4px; }
.mock-side s { height: 4px; width: 70%; background: #D5D9EE; border-radius: 4px; }
.mock-side s.on { background: #A9B5FF; width: 55%; }
.mock-main { padding: 16px; }
.mock-title { font: 700 13px var(--font-display); letter-spacing: -.01em; margin-bottom: 12px; }
.plan-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.plan-grid i { aspect-ratio: 1.35; border-radius: 3px; background: #EEF0FA; transition: background .6s var(--ease), transform .6s var(--ease); }
[data-theme="dark"] .plan-grid i { background: #20264A; }
.plan-grid i.l1 { background: #C3CCFF; }
.plan-grid i.l2 { background: var(--blue); transform: scale(1.04); }
.mock-bars { display: flex; gap: 6px; margin-top: 16px; align-items: end; height: 22px; }
.mock-bars i { flex: 1; height: 50%; background: #E1E4EF; border-radius: 3px; animation: bar 3.2s ease-in-out infinite; }
[data-theme="dark"] .mock-bars i { background: #262D55; }
.mock-bars i:nth-child(2) { height: 75%; animation-delay: .3s; }
.mock-bars i:nth-child(3) { height: 60%; animation-delay: .6s; }
.mock-bars i.hl { background: #B9C3FF; height: 100%; animation-delay: .9s; }
@keyframes bar { 50% { transform: scaleY(.6); } }
.mock-bars i { transform-origin: bottom; }

.mock-phone { position: absolute; right: 6%; top: 31%; width: 30%; aspect-ratio: .5; background: var(--surface); border: 6px solid #0E1222; border-radius: 26px; box-shadow: var(--shadow-lg); padding: 18px 10px 10px; display: flex; flex-direction: column; animation: float 7s ease-in-out -3.5s infinite; }
.mock-phone__notch { width: 30%; height: 4px; background: #D9DBE3; border-radius: 4px; margin: -6px auto 10px; }
.mock-phone__title { font: 700 11px var(--font-display); margin-bottom: 8px; }
.mock-cv { border: 1px solid var(--line); border-radius: 8px; padding: 9px; display: grid; gap: 5px; }
.mock-cv b { height: 5px; width: 72%; background: var(--ink); border-radius: 3px; }
.mock-cv b.blue { width: 46%; background: var(--blue); }
.mock-cv s { height: 3px; background: #DADDE8; border-radius: 3px; transform-origin: left; animation: type 4s var(--ease) infinite; }
.mock-cv s:nth-of-type(2) { animation-delay: .25s; }
.mock-cv s:nth-of-type(3) { animation-delay: .5s; }
.mock-cv s.short { width: 60%; animation-delay: .75s; }
@keyframes type { 0% { transform: scaleX(0); } 30%, 100% { transform: scaleX(1); } }
.ats-chip { align-self: flex-start; margin-top: 10px; font: 500 8.5px var(--font-mono); color: #15803D; background: #DCFCE7; padding: 3px 7px; border-radius: 99px; animation: pop 4s var(--ease) infinite; }
@keyframes pop { 0%, 30% { transform: scale(0); opacity: 0; } 40%, 100% { transform: scale(1); opacity: 1; } }
.mock-phone__btn { margin-top: auto; background: var(--blue); color: #fff; font: 600 9px var(--font-body); text-align: center; padding: 9px; border-radius: 7px; }

.toast { position: absolute; left: 6%; bottom: 7%; display: flex; gap: 10px; align-items: center; background: var(--surface); padding: 10px 16px 10px 10px; border-radius: 10px; box-shadow: var(--shadow-lg); animation: toast 7s var(--ease) infinite; }
.toast__play { width: 28px; height: 28px; display: grid; place-items: center; background: #FFE4E6; color: #E11D48; border-radius: 7px; font-size: 10px; }
.toast strong { display: block; font-size: 11.5px; }
.toast small { font-size: 10px; color: var(--ink-3); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes toast { 0%, 8% { transform: translateY(14px); opacity: 0; } 14%, 86% { transform: none; opacity: 1; } 94%, 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stat { padding: 26px 18px 30px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { font: 700 38px/1 var(--font-display); letter-spacing: -.04em; margin-bottom: 10px; }
.stat__num--text { font-size: 30px; line-height: 1; }
.stat__label { font-size: 13px; color: var(--ink-2); }

/* ---------- Section heads ---------- */
.eyebrow { font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
[data-theme="dark"] .eyebrow { color: #7D90FF; }
.eyebrow--gold, [data-theme="dark"] .eyebrow--gold { color: var(--gold); }
.h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; }
.section__head { margin-bottom: 36px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section__aside { max-width: 380px; color: var(--ink-2); font-size: 15px; }

/* ---------- Tabs ---------- */
.tabs { position: relative; display: inline-flex; padding: 4px; background: var(--surface-2); border-radius: 12px; border: 1px solid var(--line); }
.tab { position: relative; z-index: 1; border: 0; background: none; padding: 9px 18px; border-radius: 9px; font-size: 14px; color: var(--ink-2); transition: color .25s; }
.tab.is-active { color: var(--ink); font-weight: 500; }
.tabs__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; background: var(--surface); border-radius: 9px; box-shadow: var(--shadow); transition: left .4s var(--ease), width .4s var(--ease); }

/* ---------- Product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; cursor: pointer; display: flex; flex-direction: column; outline: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.pcard.reveal.is-in:hover, .pcard.reveal.is-in:focus-visible { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(14, 18, 34, .35); border-color: color-mix(in srgb, var(--blue) 30%, var(--line)); }
.pcard.is-hidden { display: none; }
.pcard.is-filtering { animation: cardIn .55s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.pcard__art { position: relative; aspect-ratio: 1.27; border-radius: 13px; overflow: hidden; }
.pcard__body { padding: 14px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.pcard__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.pcard__top h3 { font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.pcard p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin-bottom: 18px; }
.pcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.cat { font-size: 13px; color: var(--c); font-weight: 500; }
[data-theme="dark"] .cat { color: color-mix(in srgb, var(--c) 55%, white); }
.go { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; transition: background .3s, color .3s, transform .3s var(--ease); }
.pcard:hover .go { background: var(--blue); color: #fff; transform: rotate(45deg); }

.badge { position: absolute; z-index: 3; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #0E1222; font: 500 10.5px var(--font-mono); padding: 5px 9px; border-radius: 99px; box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); animation: ping 2s infinite; }
.badge--build i { background: #F59E0B; box-shadow: 0 0 0 0 rgba(245, 158, 11, .6); }
@keyframes ping { 70% { box-shadow: 0 0 0 6px rgba(0, 0, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); } }

/* Card art: real screenshots */
@property --x { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@keyframes wipe { 0%, 100% { --x: 28%; } 50% { --x: 74%; } }
@keyframes swayL { 50% { transform: rotate(-11deg) translateX(-4px); } }
@keyframes swayR { 50% { transform: rotate(11deg) translateX(4px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 100% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); } }
.pcard__art { isolation: isolate; }
.pcard__art img, .pcard__art video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.art-talora { background: #E6E9FF; }
.art-recipia { background: #FDEBDD; }
.art-revive { background: #F3E8D6; }
.art-propclips { background: #FDE4EA; }
.art-grovana { background: #E6F2DA; }
.art-cart { background: #FFF3CF; }

.sh-browser { position: absolute; border-radius: 10px 10px 0 0; background: #fff; overflow: hidden; box-shadow: 0 18px 34px -18px rgba(14, 18, 34, .45), 0 0 0 1px rgba(14, 18, 34, .06); transition: translate .7s var(--ease); }
.sh-browser__bar { height: 18px; display: flex; align-items: center; gap: 4px; padding: 0 8px; background: #F1F2F6; border-bottom: 1px solid #E4E6EE; }
.sh-browser__bar i { width: 5px; height: 5px; border-radius: 50%; background: #CDD1DC; flex: none; }
.sh-browser__bar span { margin-left: 8px; font: 500 8.5px/1.6 var(--font-mono); color: #8A90A2; background: #fff; padding: 0 8px; border-radius: 99px; white-space: nowrap; }
.sh-browser__view { position: absolute; inset: 18px 0 0; overflow: hidden; }
.sh-browser__view img { transition: object-position 5s ease-in-out; }
.pcard:hover .sh-browser__view img, .pcard:focus-visible .sh-browser__view img { object-position: 50% 100%; }
.sh-main { left: 9%; right: -8%; top: 17%; bottom: 0; }
.pcard:hover .sh-main { translate: 0 -5px; }

.sh-phone { position: absolute; z-index: 2; width: 25%; aspect-ratio: 9 / 19.5; right: 6%; bottom: -16%; border-radius: 14px; border: 3px solid #0E1222; background: #0E1222; overflow: hidden; box-shadow: 0 22px 30px -14px rgba(14, 18, 34, .6); transition: translate .7s var(--ease); }
.sh-phone img { border-radius: 10px; }
.sh-float { animation: float 6s ease-in-out infinite; }
.pcard:hover .sh-float { translate: 0 -14px; }

.sh-card { position: absolute; top: 18%; width: 29%; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 18px 30px -14px rgba(14, 18, 34, .45); transition: translate .7s var(--ease); }
.sh-c { z-index: 2; left: 34%; top: 9%; width: 32%; }
.sh-l { left: 8%; transform: rotate(-7deg); animation: swayL 5s ease-in-out infinite; }
.sh-r { right: 8%; transform: rotate(7deg); animation: swayR 5s ease-in-out infinite; }
.pcard:hover .sh-c { translate: 0 -8px; }
.pcard:hover .sh-l { translate: -10px 4px; }
.pcard:hover .sh-r { translate: 10px 4px; }
.sh-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: #fff; color: #C81E45; display: grid; place-items: center; font-size: 12px; padding-left: 2px; animation: pulse 2s infinite; transition: opacity .3s, transform .3s var(--ease); }
.sh-reel.is-playing .sh-play { opacity: 0; transform: scale(.6); }

.art-revive .split { position: absolute; left: 8%; top: 15%; width: 54%; aspect-ratio: .9; border-radius: 10px; overflow: hidden; --x: 50%; animation: wipe 5s ease-in-out infinite; box-shadow: 0 18px 30px -14px rgba(60, 40, 10, .5); }
.art-revive .split img { position: absolute; inset: 0; }
.art-revive .split__new { clip-path: inset(0 0 0 var(--x)); }
.art-revive .split__handle { position: absolute; z-index: 2; top: 50%; left: var(--x); width: 26px; height: 26px; margin: -13px 0 0 -13px; background: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #6B5A3A; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.art-revive .split::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; }

.art-cart .sh-back { left: 22%; right: -12%; top: 9%; bottom: 0; opacity: .85; }
.art-cart .sh-main { left: 6%; right: 10%; top: 25%; z-index: 1; }
.pcard:hover .art-cart .sh-back { translate: 8px -6px; }

/* ---------- Showcase ---------- */
.showcase { overflow: hidden; }
.sc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.sc-tab { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: all .3s var(--ease); }
.sc-tab img, .sc-tab .sc-logo { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
.sc-logo { display: grid; place-items: center; font: 700 12px var(--font-display); color: #fff; }
.sc-tab:hover { color: var(--ink); transform: translateY(-2px); }
.sc-tab.is-active { color: var(--ink); border-color: var(--pc, var(--blue)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pc, var(--blue)) 18%, transparent); }

.sc-stage { display: grid; grid-template-columns: 360px 1fr; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 20px; min-height: 620px; }
.sc-info { padding: 22px 18px; display: flex; flex-direction: column; }
.sc-info.is-swap > * { animation: infoIn .6s var(--ease) both; }
.sc-info.is-swap > *:nth-child(2) { animation-delay: .05s; } .sc-info.is-swap > *:nth-child(3) { animation-delay: .1s; }
.sc-info.is-swap > *:nth-child(4) { animation-delay: .15s; } .sc-info.is-swap > *:nth-child(5) { animation-delay: .2s; } .sc-info.is-swap > *:nth-child(6) { animation-delay: .25s; }
@keyframes infoIn { from { opacity: 0; transform: translateY(12px); } }
.sc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.sc-head img, .sc-head .sc-logo { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; box-shadow: var(--shadow); font-size: 22px; }
.sc-head h3 { font-size: 30px; font-weight: 800; }
.sc-meta { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.sc-meta span { font: 500 10.5px var(--font-mono); padding: 3px 8px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); }
.sc-meta .live { background: #DCFCE7; color: #166534; } .sc-meta .build { background: #FEF3C7; color: #92400E; }
.sc-tagline { font: 600 20px/1.3 var(--font-display); letter-spacing: -.02em; margin-bottom: 14px; }
.sc-desc { color: var(--ink-2); font-size: 14.5px; margin-bottom: 18px; }
.sc-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.sc-list li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.sc-list li::before { content: ""; flex: 0 0 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--pc) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; margin-top: 2px; }
[data-theme="dark"] .sc-list li::before { filter: invert(1); }
.sc-info .btn { margin-top: auto; align-self: flex-start; }

.sc-view { position: relative; border-radius: 16px; background: var(--pbg, var(--surface-2)); display: flex; flex-direction: column; overflow: hidden; transition: background .6s var(--ease); }
.sc-frame { position: relative; flex: 1; min-height: 480px; display: grid; place-items: center; padding: 32px; perspective: 1400px; }
.slide { position: absolute; inset: 32px; display: grid; place-items: center; opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.slide.is-on { opacity: 1; transform: none; pointer-events: auto; }
.slide.is-out { opacity: 0; transform: translateY(-20px) scale(.97); }

.f-browser { width: 100%; max-width: 760px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 40px 70px -35px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .06); cursor: zoom-in; }
.f-browser__bar { height: 30px; background: #F2F3F6; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.f-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #FF5F57; } .f-browser__bar i:nth-child(2) { background: #FEBC2E; } .f-browser__bar i:nth-child(3) { background: #28C840; }
.f-browser__bar span { margin: 0 auto; font: 10.5px var(--font-mono); color: #6B7080; background: #fff; padding: 3px 30px; border-radius: 6px; }
.f-browser img { width: 100%; max-height: 420px; object-fit: cover; object-position: top; }
.slide.is-on .f-browser img { animation: pan 9s ease-in-out .6s both; }
@keyframes pan { from { object-position: 50% 0; } to { object-position: 50% 100%; } }
.f-browser img.no-pan { animation: none !important; }

.f-phone { height: 100%; max-height: 450px; aspect-ratio: 9 / 19.5; border-radius: 34px; padding: 8px; background: #0B0D14; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6), inset 0 0 0 2px #2B2F3D; position: relative; cursor: zoom-in; }
.f-phone::before { content: ""; position: absolute; top: 14px; left: 50%; width: 26%; height: 16px; margin-left: -13%; background: #0B0D14; border-radius: 99px; z-index: 2; }
.f-phone img, .f-phone video { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; background: #000; }
.slide.is-on .f-phone img.tall { animation: pan 10s ease-in-out .6s both; }

.f-post { height: 100%; max-height: 450px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55); cursor: zoom-in; }
.f-post img { width: 100%; height: 100%; object-fit: cover; }
.f-photo { width: 100%; max-width: 640px; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55); cursor: zoom-in; }
.f-photo img { width: 100%; }
.slide.is-on .f-photo img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.f-wide { width: 100%; max-width: 720px; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55); cursor: zoom-in; }

.f-duo { display: flex; gap: 22px; align-items: center; height: 100%; max-height: 450px; }
.f-duo > * { height: 100%; }
.f-duo > :last-child { transform: translateY(24px); }

.f-store { height: 100%; max-height: 450px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55); cursor: zoom-in; }
.f-store img { width: 100%; height: 100%; object-fit: cover; }
.f-duo > :nth-child(2):not(:last-child) { transform: translateY(-14px); }

.slide { container-type: size; }
.f-duo:has(> :nth-child(3)) { gap: 18px; }
.f-duo:has(> :nth-child(3)) > .f-phone { height: min(100cqh, calc((100cqw - 36px) / 3 * 19.5 / 9)); }
.f-duo:has(> :nth-child(3)) > .f-store { height: min(100cqh, calc((100cqw - 36px) / 3 * 16 / 9)); }
.f-duo:has(> :nth-child(3)) > .f-post { height: min(100cqh, calc((100cqw - 36px) / 3 * 5 / 4)); }
.f-duo > .f-phone, .f-duo > .f-store, .f-duo > .f-post { flex: 0 0 auto; }

/* Before/after compare */
.f-compare { position: relative; height: 100%; max-height: 450px; aspect-ratio: .9; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); --pos: 50%; touch-action: none; cursor: ew-resize; user-select: none; }
.f-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.f-compare .after { clip-path: inset(0 0 0 var(--pos)); }
.f-compare .bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; }
.f-compare .knob { position: absolute; top: 50%; left: var(--pos); width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-weight: 700; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.f-compare .tag { position: absolute; top: 14px; font: 500 10.5px var(--font-mono); letter-spacing: .08em; background: rgba(0, 0, 0, .55); color: #fff; padding: 5px 9px; border-radius: 99px; backdrop-filter: blur(6px); }
.f-compare .tag--b { left: 14px; } .f-compare .tag--a { right: 14px; }
.f-compare.is-auto { animation: none; }

.sc-controls { display: flex; align-items: center; gap: 12px; padding: 0 16px 14px; }
.sc-controls .icon-btn { flex: 0 0 auto; background: color-mix(in srgb, var(--surface) 85%, transparent); }
.sc-thumbs { flex: 1; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; justify-content: center; }
.sc-thumbs::-webkit-scrollbar { display: none; }
.sc-thumb { flex: 0 0 auto; width: 58px; height: 42px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: rgba(0, 0, 0, .1); opacity: .6; transition: opacity .3s, border-color .3s, transform .3s var(--ease); }
.sc-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sc-thumb:hover { opacity: 1; transform: translateY(-2px); }
.sc-thumb.is-on { opacity: 1; border-color: var(--pc, var(--blue)); }
.sc-thumb .sc-thumb__txt { display: grid; place-items: center; height: 100%; font: 500 9px var(--font-mono); color: #fff; background: var(--pc); }
.sc-progress { height: 3px; background: rgba(0, 0, 0, .08); }
.sc-progress i { display: block; height: 100%; width: 0; background: var(--pc, var(--blue)); }

/* Wall marquee */
.wall { margin-top: 70px; display: grid; gap: 16px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wall__row { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.wall__row--rev { animation-direction: reverse; animation-duration: 80s; }
.wall:hover .wall__row { animation-play-state: paused; }
.wall__row img { height: 190px; width: auto; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Capabilities ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 30px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.cap.is-in:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -26px rgba(14, 18, 34, .35); }
.cap__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: var(--blue-soft); color: var(--blue); margin-bottom: 26px; transition: transform .5s var(--ease); }
[data-theme="dark"] .cap__icon { color: #8C9CFF; }
.cap:hover .cap__icon { transform: rotate(-8deg) scale(1.08); }
.cap__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cap h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.cap p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- Approach ---------- */
.approach { background: var(--dark); color: #fff; margin-top: 120px; }
.approach .section { padding: 110px 0 100px; }
.approach .section__aside { color: #A6ACC4; }
.step { position: relative; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 22px 20px 30px; min-height: 200px; overflow: hidden; transition: transform .4s var(--ease), border-color .4s; }
.step::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(101%); transition: transform .6s var(--ease); z-index: 0; }
.step > * { position: relative; z-index: 1; }
.step.is-active::before, .step--hl::before { transform: none; }
.steps:has(.step.is-active) .step--hl:not(.is-active)::before { transform: translateY(101%); }
.step__n { color: var(--gold); display: block; margin-bottom: 44px; }
.step.is-active .step__n, .step--hl .step__n { color: #FFE7A3; }
.steps:has(.step.is-active) .step--hl:not(.is-active) .step__n { color: var(--gold); }
.step h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.step p { font-size: 13.5px; color: #A6ACC4; transition: color .4s; }
.step.is-active p, .step--hl p { color: #E4E8FF; }
.steps:has(.step.is-active) .step--hl:not(.is-active) p { color: #A6ACC4; }

/* ---------- Studio ---------- */
.statement { font: 700 clamp(28px, 3.6vw, 44px)/1.12 var(--font-display); letter-spacing: -.035em; max-width: 920px; margin-bottom: 48px; }
.statement .w { opacity: .18; transition: opacity .5s var(--ease); }
.statement .w.is-lit { opacity: 1; }
.statement .muted .w.is-lit { opacity: 1; color: var(--ink-3); }
.scard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 28px; }
.scard--tint { background: var(--blue-soft); border-color: transparent; }
.founder { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.avatar { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font: 700 15px var(--font-display); background: var(--blue-soft); color: var(--blue); }
.founder strong { display: block; font: 600 16px var(--font-display); }
.founder small { color: var(--ink-3); font-size: 12px; }
.scard p { font-size: 13.5px; color: var(--ink-2); }
.scard__eyebrow { text-transform: uppercase; margin-bottom: 14px; }
.scard--tint .scard__eyebrow { color: var(--blue); }
.scard__big { font: 500 19px/1.35 var(--font-display) !important; color: var(--ink) !important; letter-spacing: -.015em; margin-bottom: 20px; }
.link { color: var(--blue); font-size: 13.5px; font-weight: 600; display: inline-flex; gap: 6px; }
[data-theme="dark"] .link, [data-theme="dark"] .scard--tint .scard__eyebrow { color: #8C9CFF; }
.places { list-style: none; padding: 0; margin: 0; }
.places li { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font: 500 15px var(--font-display); }
.places li:last-child { border: 0; }
.places small { font: 400 11.5px var(--font-body); color: var(--ink-3); }

/* ---------- CTA ---------- */
#contact { padding: 90px 0 100px; }
.cta { position: relative; overflow: hidden; background: var(--blue); color: #fff; border-radius: 24px; padding: 70px 56px 64px; }
.cta__title { font-size: clamp(44px, 6.6vw, 80px); line-height: .96; font-weight: 800; letter-spacing: -.045em; margin-bottom: 22px; position: relative; }
.cta p { color: #DCE2FF; max-width: 420px; margin-bottom: 30px; position: relative; font-size: 15px; }
.cta__btns { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.cta__v { position: absolute; right: 1%; bottom: -14%; width: 280px; stroke: rgba(255, 255, 255, .16); }
.cta__v .cta__star { fill: rgba(255, 255, 255, .16); stroke: none; transform-origin: 110px 54px; animation: twinkle 5s ease-in-out infinite; }
.sparkle--cta { position: absolute; width: 34px; left: 42%; top: 14%; animation: spin 7s ease-in-out infinite; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 30px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer__tag { color: var(--ink-2); font-size: 13.5px; max-width: 300px; margin-top: 14px; }
.footer__cols { display: flex; gap: 64px; }
.footer__cols > div { display: grid; gap: 10px; align-content: start; font-size: 13.5px; }
.footer__cols .mono { text-transform: uppercase; margin-bottom: 4px; }
.footer__cols a { color: var(--ink); transition: color .2s; }
.footer__cols a:hover { color: var(--blue); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 20px; font-size: 12.5px; color: var(--ink-2); }
.footer__bottom a { margin-left: 24px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 8, 18, .88); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 40px 80px; animation: fadeIn .3s ease forwards; opacity: 0; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; max-height: 100%; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 140px); border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: zoomIn .4s var(--ease); }
.lightbox figcaption { color: #C9CDE0; font-size: 13px; }
.lightbox .icon-btn { position: absolute; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; } .lightbox__nav--next { right: 20px; top: 50%; }
@keyframes zoomIn { from { transform: scale(.94); opacity: 0; } }

/* ---------- Ticketing platform ---------- */
.pcard--wide { grid-column: span 2; }
.pcard--wide .pcard__art { aspect-ratio: auto; height: calc(100% - 0px); min-height: 220px; }
.pcard--wide { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; }
.pcard--wide .pcard__body { padding: 18px 16px 12px 20px; }
.pcard--wide .pcard__top .mono { display: none; }
.art-ticket { background: linear-gradient(135deg, #DFF0FB, #C9E6F8); }
[data-theme="dark"] .art-ticket { background: linear-gradient(135deg, #DFF0FB, #BFE0F5); }
.badge--platform i { background: #0284C7; box-shadow: 0 0 0 0 rgba(2, 132, 199, .6); }
.art-ticket .sh-main { left: 9%; right: -30%; top: 13%; bottom: 0; }
.art-ticket .sh-phone { width: 31%; max-width: 150px; }
.sh-tk1 { left: 9%; right: auto; bottom: -7%; }
.sh-tk2 { right: 7%; bottom: 5%; animation: float 6s ease-in-out infinite -3s; }
.pcard:hover .sh-tk1 { translate: 0 -12px; }
.pcard:hover .sh-tk2 { translate: 0 -18px; }
.sc-meta .plat { background: #E0F2FE; color: #075985; }

/* ---------- Founder / career ---------- */
.wins { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; margin-bottom: 28px; }
.win { padding: 22px 18px 24px; border-left: 1px solid var(--line); position: relative; }
.win:first-child { border-left: 0; }
.win__num { font: 800 34px/1 var(--font-display); letter-spacing: -.04em; margin-bottom: 10px; color: var(--ink); }
.win:nth-child(2) .win__num, .win:nth-child(4) .win__num { color: var(--blue); }
[data-theme="dark"] .win:nth-child(2) .win__num, [data-theme="dark"] .win:nth-child(4) .win__num { color: #7D90FF; }
.win__label { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.win::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.win:hover::after { transform: scaleX(1); }

.career { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.career__side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.profile { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.avatar--lg { width: 56px; height: 56px; border-radius: 16px; font-size: 20px; background: linear-gradient(135deg, var(--blue), #6F84FF); color: #fff; box-shadow: 0 10px 24px -12px rgba(43, 71, 245, .7); }
.profile strong { display: block; font: 700 18px var(--font-display); letter-spacing: -.02em; }
.profile small { font-size: 12.5px; color: var(--ink-3); }
.profile__lede { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.cred { display: grid; gap: 10px; margin-bottom: 20px; }
.cred__item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.cred__icon { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 8px; background: #FEF3C7; color: #B45309; font-size: 13px; }
.cred__item:nth-child(2) .cred__icon { background: var(--blue-soft); color: var(--blue); }
.cred__item b { display: block; font: 600 13.5px var(--font-display); }
.cred__item small { display: block; font-size: 11.5px; line-height: 1.4; color: var(--ink-3); margin-top: 2px; }
.career__k { text-transform: uppercase; margin: 4px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chips span { font-size: 12px; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-2); background: var(--surface); transition: border-color .25s, color .25s; }
.chips span:hover { border-color: var(--blue); color: var(--ink); }
.chips--soft span { background: var(--blue-soft); border-color: transparent; color: var(--ink); }
[data-theme="dark"] .chips--soft span { color: #DDE2FF; }
.career__cta { width: 100%; justify-content: center; margin-top: 4px; }

.sys-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sys { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s), border-color .3s, box-shadow .3s; }
.sys::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), #6F84FF); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) calc(var(--d, 0s) + .25s); }
.sys.is-in::before { transform: scaleX(1); }
.sys.is-in:hover { transform: translateY(-4px); transition-delay: 0s; border-color: color-mix(in srgb, var(--blue) 35%, var(--line)); box-shadow: 0 20px 36px -26px rgba(14, 18, 34, .35); }
.sys__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sys__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-soft); color: var(--blue); transform: scale(.4) rotate(-20deg); opacity: 0; transition: transform .7s var(--ease) calc(var(--d, 0s) + .35s), opacity .5s calc(var(--d, 0s) + .35s); }
[data-theme="dark"] .sys__icon { color: #8C9CFF; }
.sys.is-in .sys__icon { transform: none; opacity: 1; }
.sys__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sys__when { color: var(--blue); }
[data-theme="dark"] .sys__when { color: #8C9CFF; }
.sys h3 { font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 4px; }
.sys__org { font-size: 12.5px; color: var(--ink-3); margin-bottom: 8px; }
.sys p:not(.sys__org) { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.sys__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; }
.sys__chips span { font: 500 11px var(--font-mono); padding: 4px 8px; border-radius: 99px; background: #ECFDF3; color: #166534; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); }
.sys.is-in .sys__chips span { opacity: 1; transform: none; }
.sys.is-in .sys__chips span:nth-child(1) { transition-delay: calc(var(--d, 0s) + .55s); }
.sys.is-in .sys__chips span:nth-child(2) { transition-delay: calc(var(--d, 0s) + .65s); }
.sys.is-in .sys__chips span:nth-child(3) { transition-delay: calc(var(--d, 0s) + .75s); }
[data-theme="dark"] .sys__chips span { background: #0F2A1C; color: #86EFAC; }
.sys--hl { background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 9%, var(--surface)), var(--surface)); border-color: color-mix(in srgb, var(--blue) 30%, var(--line)); }
.career__note { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }

/* ---------- Contact form ---------- */
.cta__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.cta__mail { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .45); padding-bottom: 1px; transition: border-color .2s; }
.cta__mail:hover { border-color: #fff; }
.cform { display: grid; gap: 14px; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > span, .field > legend { font: 500 11px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: #DCE2FF; padding: 0; }
.field > legend { margin-bottom: 8px; }
.field input, .field textarea { width: 100%; font: 400 15px/1.45 var(--font-body); color: #0E1222; background: #fff; border: 1.5px solid transparent; border-radius: 10px; padding: 11px 12px; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9AA0B2; }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .4); }
.cform.was-tried :is(input, textarea):invalid { border-color: #FCA5A5; box-shadow: 0 0 0 3px rgba(252, 165, 165, .35); }
.cform__topics { display: flex; flex-wrap: wrap; gap: 6px; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic span { display: inline-block; padding: 7px 13px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .38); font-size: 13px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.topic span:hover { border-color: #fff; }
.topic input:checked + span { background: #fff; color: var(--blue); border-color: #fff; font-weight: 600; }
.topic input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.cform__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cform__send[disabled] { opacity: .7; cursor: progress; }
.cta p.cform__status { margin: 0; max-width: none; font-size: 13.5px; color: #fff; }
.cform__status a { color: #fff; text-decoration: underline; }
.cform.is-sent .cform__send { background: #DCFCE7; color: #166534; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .wins { grid-template-columns: repeat(3, 1fr); }
  .win:nth-child(4) { border-left: 0; }
  .win:nth-child(n+4) { border-top: 1px solid var(--line); }
  .career { grid-template-columns: 1fr; }
  .career__side { position: static; }
  .grid-products, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sc-stage { grid-template-columns: 1fr; }
  .sc-info { padding: 10px 8px; }
  .sc-info .btn { margin-top: 0; }
}
@media (max-width: 900px) {
  .cta__grid { grid-template-columns: 1fr; gap: 28px; }
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__mobile { display: grid; gap: 4px; padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .45s var(--ease), padding .45s; border-top: 1px solid transparent; }
  .nav__mobile.is-open { max-height: 420px; padding: 12px 24px 20px; border-color: var(--line); }
  .nav__mobile a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__mobile .btn { margin-top: 12px; justify-content: center; border: 0; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 44px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding-top: 90px; }
}
@media (max-width: 600px) {
  .wins { grid-template-columns: repeat(2, 1fr); }
  .win:nth-child(n) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .win:nth-child(odd) { border-left: 0; }
  .win:nth-child(-n+2) { border-top: 0; }
  .win__num { font-size: 28px; }
  .sys-grid { grid-template-columns: 1fr; }
  .cform__row { grid-template-columns: 1fr; }
  .cform { padding: 16px; }
  .f-duo > :nth-child(n+2) { display: none; }
  .pcard--wide { grid-column: auto; grid-template-columns: 1fr; }
  .pcard--wide .pcard__art { min-height: 0; aspect-ratio: 1.27; }
  .container { width: calc(100% - 32px); }
  .grid-products, .grid-4 { grid-template-columns: 1fr; }
  .sc-stage { padding: 10px; border-radius: 18px; }
  .sc-frame { min-height: 400px; padding: 18px; }
  .slide { inset: 18px; }
  .cta { padding: 48px 26px; }
  .cta__v { width: 180px; opacity: .7; }
  .sparkle--cta { left: auto; right: 8%; top: 5%; width: 26px; }
  .footer__cols { gap: 36px; flex-wrap: wrap; }
  .lightbox { padding: 60px 12px; }
  .lightbox__nav { top: auto !important; bottom: 16px; }
  .wall__row img { height: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .sys__icon, .sys__chips span { opacity: 1; transform: none; }
  .sys::before { transform: none; }
  .hero__title .line > span { transform: none; }
}
