/* ══════════════════════════════════════════════════════════════════════
   KABOx — "Cinematic Engineering" design system (shared by every page)
   Built from the homepage styles + inner-page components.
   ══════════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════
   KABOx — "Cinematic Engineering" design system
═══════════════════════════════════════════════ */
:root {
  --void: #050b16;
  --navy: #0c1830;
  --navy-2: #0b1120;
  --ink: #eef3fb;
  --ink-2: #aebbd0;
  --ink-3: #71819b;
  --ink-mid: #aebbd0;            /* aliases used by the slider components */
  --ink-dim: #71819b;
  --teal: #00c2b0;
  --teal-2: #18dcc8;
  --teal-3: #5ff5e4;
  --orange: #f26822;
  --orange-2: #ff8a4d;
  --amber: #f5a04a;
  --ok: #3ee6b5;
  --line: rgba(170,200,240,.09);
  --line-2: rgba(170,200,240,.16);
  --line-hot: rgba(24,220,200,.45);
  --ease: cubic-bezier(.16,1,.3,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
  --gutter: clamp(20px, 4vw, 40px);
  --maxw: 1240px;
  --f-display: 'Unbounded', 'Outfit', system-ui, sans-serif;
  --f-body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-ar: 'IBM Plex Sans Arabic', 'Cairo', 'Segoe UI', sans-serif;
  /* Brand backdrop — sampled from the KABOx social designs */
  --bg-amber: 196,112,48;
  --bg-copper: 150,80,36;
  --bg-royal: 22,58,110;
  --bg-petrol: 16,112,108;
  --bg-cyan: 38,150,140;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: #0c1830; color: var(--ink);
  scroll-behavior: smooth; scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
body {
  margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip;
}
/* Smooth scroll (Lenis) — native smooth scrolling would fight it, so it is disabled while Lenis runs */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
::selection { background: rgba(24,220,200,.3); color: #fff; }
:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.skip {
  position: fixed; left: 16px; top: -64px; z-index: 1000;
  padding: 10px 16px; border-radius: 10px; background: var(--teal-2); color: #04121a; font-weight: 600;
  transition: top .3s var(--ease);
}
.skip:focus { top: 16px; }

/* ── Static brand backdrop (no motion) ── */
.backdrop {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(115% 60% at 55% -18%, rgba(var(--bg-amber),.72) 0%, rgba(var(--bg-copper),.34) 38%, rgba(var(--bg-copper),0) 100%),
    radial-gradient(55% 35% at 12% 50%,   rgba(var(--bg-royal),.45) 0%, rgba(var(--bg-royal),0) 100%),
    radial-gradient(85% 65% at -8% 112%,  rgba(var(--bg-petrol),.85) 0%, rgba(13,88,93,.38) 50%, rgba(13,88,93,0) 100%),
    radial-gradient(60% 45% at 108% 108%, rgba(var(--bg-cyan),.42) 0%, rgba(var(--bg-cyan),0) 100%),
    linear-gradient(180deg, #1a1210 0%, #0c1830 42%, #0b2232 75%, #0a2a30 100%);
}
.gridlines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
  background-image:
    linear-gradient(rgba(170,200,240,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170,200,240,.05) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 38%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 38%, #000 10%, transparent 75%);
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.4'/></svg>");
}
.site { position: relative; z-index: 2; overflow-x: clip; }

/* ── Reveal system (only active when JS runs) ── */
.js [data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 1s var(--ease) var(--rd, 0s), transform 1.1s var(--ease) var(--rd, 0s);
}
.js [data-reveal].in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .1em .16em; margin: -.08em -.1em -.16em; }
.wi { display: inline-block; }
.js [data-split] .wi {
  transform: translateY(115%) rotate(5deg); transform-origin: 0 100%;
  transition: transform 1.15s var(--ease);
  transition-delay: calc(var(--i) * 55ms + var(--sd, 0ms));
}
.js [data-split].in .wi { transform: none; }

/* ── Buttons ── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font: 500 15px/1 var(--f-body); letter-spacing: .005em; white-space: nowrap;
  transition: transform .5s var(--ease), background .3s, border-color .3s, box-shadow .4s, color .3s;
}
.btn i { font-size: 13px; transition: transform .45s var(--ease); }
.btn:hover .fa-arrow-right { transform: translateX(4px); }
.btn--primary {
  color: #1a0b03;
  background: linear-gradient(135deg, #ffa063 0%, #f26822 58%, #e2551a 100%);
  box-shadow: 0 12px 34px -10px rgba(242,104,34,.65), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--primary:hover { box-shadow: 0 18px 44px -12px rgba(242,104,34,.85), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--ghost {
  color: var(--ink); background: rgba(255,255,255,.04); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(170,200,240,.32); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* ═══════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════ */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; padding: 14px var(--gutter) 0; transition: padding .5s var(--ease); }
.js .nav { opacity: 0; transform: translateY(-14px); transition: opacity .9s var(--ease) .05s, transform .9s var(--ease) .05s, padding .5s var(--ease); }
.is-loaded .nav { opacity: 1; transform: none; }
.nav__inner {
  margin: 0 auto; max-width: var(--maxw); height: 62px;
  display: flex; align-items: center; gap: 20px; padding: 0 8px 0 18px;
  border-radius: 18px; border: 1px solid transparent;
  transition: max-width .7s var(--ease), background .5s, border-color .5s, box-shadow .5s, border-radius .6s var(--ease);
}
.nav.is-scrolled { padding-top: 10px; }
.nav.is-scrolled .nav__inner {
  max-width: 1120px; border-radius: 999px;
  background: rgba(7,14,28,.74); border-color: var(--line-2);
  box-shadow: 0 18px 50px -12px rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
}
.nav__logo { flex: 0 0 auto; display: block; }
.nav__logo img { height: 21px; width: auto; }
.nav__links {
  position: relative; display: flex; align-items: center; gap: 2px; margin-inline: auto;
  padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.025);
  transition: border-color .5s, background .5s;
}
.nav.is-scrolled .nav__links { border-color: transparent; background: transparent; }
.nav__links > a, .nav__drop > button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 15px; border-radius: 999px;
  font-size: 14px; color: var(--ink-2); transition: color .3s;
}
.nav__links > a:hover, .nav__drop > button:hover, .nav__links > a.is-active, .nav__drop > button.is-active, .nav__drop.is-current > button { color: #fff; }
.nav__drop > button i { font-size: 9px; transition: transform .35s var(--ease); }
.nav__drop:hover > button i, .nav__drop.is-open > button i { transform: rotate(180deg); }
.nav__pill {
  position: absolute; z-index: 0; top: 4px; left: 0; height: 38px; width: 0;
  border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
}
.nav__drop { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 300px; padding: 8px;
  border-radius: 18px; background: rgba(9,17,34,.97); border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .3s, transform .45s var(--ease), visibility 0s linear .3s;
}
.nav__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu, .nav__drop.is-open .nav__menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.nav__menu a { display: flex; gap: 14px; align-items: center; padding: 11px 12px; border-radius: 12px; transition: background .25s; }
.nav__menu a:hover { background: rgba(255,255,255,.05); }
.nav__menu .ico {
  flex: 0 0 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(24,220,200,.1); border: 1px solid rgba(24,220,200,.22); color: var(--teal-3); font-size: 14px;
}
.nav__menu strong { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.nav__menu small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }
.nav__cta { flex: 0 0 auto; }
.nav__burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; border-radius: 2px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.nav__burger span:nth-child(1) { top: 19px; }
.nav__burger span:nth-child(2) { top: 26px; }
.nav.menu-open .nav__burger span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.nav.menu-open .nav__burger span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column;
  padding: 110px var(--gutter) 36px; overflow-y: auto;
  background: rgba(5,10,20,.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.menu.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu__links a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-size: clamp(24px, 7vw, 36px); letter-spacing: -.04em;
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
  transition-delay: calc(.06s + var(--i) * .05s);
}
.menu__links a small { font: 500 11px var(--f-mono); letter-spacing: .16em; color: var(--ink-3); }
.menu.open .menu__links a { opacity: 1; transform: none; }
.menu__foot { margin-top: auto; padding-top: 34px; display: grid; gap: 14px; }
.menu__foot a:not(.btn) { font: 400 14px var(--f-mono); color: var(--ink-2); }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 96px; overflow-x: hidden; overflow-x: clip; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.chip {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(8,16,32,.5);
  font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2);
}
.chip i { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.pulse-dot { position: relative; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(24,220,200,.14); }
.pulse-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 10px var(--teal-2); }
.pulse-dot::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--teal-2); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.hero__title {
  margin: 28px 0 26px;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(40px, 5.1vw, 78px); line-height: 1.04; letter-spacing: -.045em; color: var(--ink);
}
.hero__title .hl {
  background: linear-gradient(100deg, #a6fcf2 0%, #18dcc8 45%, #00a99a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.hero__title em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.2em; letter-spacing: -.01em;
  background: linear-gradient(100deg, #ffe3c6 0%, #f8b26a 38%, #f26822 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  padding-right: .08em;
}
.hero__sub { max-width: 540px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.75; font-weight: 300; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero__stats { display: flex; flex-wrap: wrap; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 560px; }
.hero__stats > div { display: flex; flex-direction: column-reverse; gap: 9px; padding-right: 32px; margin-right: 32px; border-right: 1px solid var(--line); }
.hero__stats > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__stats dd { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.04em; line-height: 1; color: var(--ink); white-space: nowrap; }
.hero__stats dd small { font-size: .5em; letter-spacing: 0; color: var(--ink-3); margin-left: 2px; }
.hero__stats dt { font: 500 10px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 500 9.5px var(--f-mono); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-3);
}
.hero__scroll span { position: relative; width: 1px; height: 42px; overflow: hidden; background: linear-gradient(rgba(24,220,200,.5), transparent); }
.hero__scroll span::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

/* ── Hero motion graphic: live build console ── */
.viz { position: relative; width: 100%; max-width: 600px; margin-left: auto; aspect-ratio: 1 / .98; perspective: 1500px; }
.js .viz { opacity: 0; transform: translateY(40px) scale(.96); transition: opacity 1.3s var(--ease) .35s, transform 1.5s var(--ease) .35s; }
.is-loaded .viz { opacity: 1; transform: none; }
.viz__stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(4deg) rotateY(-8deg); }
.viz__glow { position: absolute; inset: 6% -2% -4% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(24,220,200,.24), rgba(24,220,200,0) 72%); filter: blur(24px); transform: translateZ(-120px); }
.viz__glow--amber { inset: -14% 24% 46% -10%; background: radial-gradient(closest-side, rgba(245,160,74,.22), rgba(245,160,74,0) 72%); }
.viz__ring { position: absolute; left: 50%; top: 50%; width: 108%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(170,200,240,.14); transform: translate(-50%, -50%) translateZ(-90px); }
.viz__ring--2 { width: 80%; border-style: solid; border-color: rgba(170,200,240,.07); }
.viz__orbit { position: absolute; left: 50%; top: 50%; width: 108%; aspect-ratio: 1; transform: translate(-50%, -50%) translateZ(-90px); }
.viz__orbit span { position: absolute; inset: 0; border-radius: 50%; animation: spin 30s linear infinite; }
.viz__orbit span::before { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--teal-3); box-shadow: 0 0 14px var(--teal-2), 0 0 32px var(--teal-2); }
.viz__orbit span:nth-child(2) { animation-duration: 46s; animation-direction: reverse; }
.viz__orbit span:nth-child(2)::before { background: var(--amber); box-shadow: 0 0 14px var(--amber), 0 0 30px var(--amber); }
@keyframes spin { to { transform: rotate(360deg); } }

.win {
  position: absolute; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, rgba(17,29,54,.97), rgba(9,17,34,.98));
  border: 1px solid rgba(170,200,240,.15);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.07);
}
.win__bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgba(170,200,240,.08); background: rgba(255,255,255,.025); }
.win__bar > i { width: 10px; height: 10px; border-radius: 50%; background: #33405a; }
.win__bar > i:nth-child(1) { background: #ff6a5f; }
.win__bar > i:nth-child(2) { background: #f8bd3b; }
.win__bar > i:nth-child(3) { background: #2fcb5a; }
.win__title { margin-left: 10px; display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--f-mono); color: var(--ink-2); }
.win__title .ts { padding: 1px 4px; border-radius: 4px; background: #3178c6; color: #fff; font-size: 9px; font-weight: 600; }
.win__tag { margin-left: auto; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); font: 500 10.5px var(--f-mono); color: var(--ink-3); }
.win__tag i { font-size: 9px; margin-right: 5px; color: var(--teal-2); }
.win--editor { left: 0; top: 6%; width: 88%; transform: translateZ(0); }
.code {
  display: block; margin: 0; padding: 16px 18px 20px 6px;
  height: calc(10 * 1.8em + 36px); overflow: hidden; white-space: pre;
  font: 400 clamp(10.5px, .93vw, 13.5px)/1.8 var(--f-mono); color: #c9d6ea;
  transition: opacity .45s;
}
.code .ln { display: inline-block; width: 2.4ch; margin-right: 16px; color: #3b4a66; text-align: right; user-select: none; }
:is(.code, .mw__code) .kw { color: #ff8f6a; }
:is(.code, .mw__code) .str { color: #f6c47f; }
:is(.code, .mw__code) .fn { color: #5ff5e4; }
:is(.code, .mw__code) .prop { color: #9ec8ff; }
:is(.code, .mw__code) .pun { color: #7787a2; }
:is(.code, .mw__code) .cm { color: #56688a; font-style: italic; }
:is(.code, .mw__code) .id { color: #eef3fb; }
.caret { display: inline-block; width: .55em; height: 1.2em; margin-left: 1px; vertical-align: -.22em; background: var(--teal-2); box-shadow: 0 0 12px rgba(24,220,200,.8); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.win--term { right: -3%; bottom: 12%; width: 64%; transform: translateZ(70px); }
.win--term .win__bar { height: 34px; }
.term {
  padding: 12px 16px 16px; height: calc(6 * 1.85em + 28px); overflow: hidden; white-space: nowrap;
  font: 400 clamp(10px, .86vw, 12.5px)/1.85 var(--f-mono); color: #aebbd0;
  transition: opacity .45s;
}
.term .row { display: block; }
.term .prompt { color: var(--amber); margin-right: 8px; }
.term .ok { color: var(--ok); }
.term .dim { color: #5d6d89; }
.term .caret { width: .5em; }
.pbar { display: inline-block; width: 34%; height: 6px; margin: 0 8px; border-radius: 6px; vertical-align: middle; overflow: hidden; background: rgba(255,255,255,.08); }
.pbar b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--teal-3)); box-shadow: 0 0 10px var(--teal-2); }
.live {
  position: absolute; top: -1%; right: -5%; width: 44%; padding: 15px 16px 12px;
  border-radius: 16px; background: linear-gradient(180deg, rgba(18,31,58,.98), rgba(10,19,38,.98));
  border: 1px solid rgba(170,200,240,.17); box-shadow: 0 30px 70px -25px rgba(0,0,0,.75);
  transform: translateZ(120px);
}
.live__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 500 10px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.status {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border-radius: 999px;
  font: 600 10px var(--f-mono); letter-spacing: .08em; color: var(--amber);
  background: rgba(245,160,74,.12); border: 1px solid rgba(245,160,74,.28);
  transition: color .4s, background .4s, border-color .4s;
}
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1s infinite; }
.status .s-live { display: none; }
.viz.is-live .status { color: var(--ok); background: rgba(62,230,181,.12); border-color: rgba(62,230,181,.32); }
.viz.is-live .status::before { animation: none; box-shadow: 0 0 8px currentColor; }
.viz.is-live .status .s-build { display: none; }
.viz.is-live .status .s-live { display: inline; }
.live__chart { position: relative; margin: 14px 0 10px; }
.spark { width: 100%; height: 46px; overflow: visible; }
.live__load { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 9px; transition: opacity .5s; }
.live__load span { font: 500 9.5px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
.live__load span::after { content: '...'; display: inline-block; width: 1.4em; overflow: hidden; vertical-align: bottom; animation: dots 1.4s steps(4) infinite; }
.live__load b { position: relative; display: block; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(170,200,240,.1); }
.live__load b::after { content: ''; position: absolute; top: 0; left: -45%; width: 45%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--amber), transparent); animation: load 1.4s var(--ease-io) infinite; }
@keyframes load { to { left: 100%; } }
@keyframes dots { from { width: 0; } to { width: 1.4em; } }
.viz.is-live .live__load { opacity: 0; }
.spark .l { fill: none; stroke: var(--teal-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s var(--ease); }
.spark .a { opacity: 0; transition: opacity 1s .45s; }
.viz.is-live .spark .l { stroke-dashoffset: 0; }
.viz.is-live .spark .a { opacity: 1; }
.live__row { display: flex; justify-content: space-between; padding: 8px 0 2px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.live__row b { font: 500 12px var(--f-mono); color: var(--ink); }
.toast {
  position: absolute; left: 4%; bottom: 0; display: flex; align-items: center; gap: 12px;
  padding: 11px 18px 11px 11px; border-radius: 14px;
  background: rgba(10,19,38,.97); border: 1px solid rgba(62,230,181,.32);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.8), 0 0 34px -12px rgba(62,230,181,.4);
  font-size: 13px; color: var(--ink); line-height: 1.3;
  opacity: 0; transform: translateZ(150px) translateY(16px) scale(.96);
  transition: opacity .55s var(--ease), transform .7s var(--ease);
}
.toast .ico { flex: 0 0 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(62,230,181,.15); color: var(--ok); font-size: 13px; }
.toast small { display: block; margin-top: 3px; font: 400 10.5px var(--f-mono); color: var(--ink-3); }
.viz.is-live .toast { opacity: 1; transform: translateZ(150px); }
.viz.is-reset .code, .viz.is-reset .term { opacity: 0; }
@keyframes bob { 50% { translate: 0 -8px; } }

/* ═══════════════════════════════════════════════
   SECTIONS — shared frame
═══════════════════════════════════════════════ */
.sec { position: relative; padding: clamp(100px, 11vw, 150px) 0; }
.sec::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%; z-index: -1; pointer-events: none;
  width: min(var(--maxw), 100% - 2 * var(--gutter)); transform: translateX(-50%);
  border-inline: 1px solid var(--line);
}
.xline { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(var(--maxw), 100% - 2 * var(--gutter)); height: 1px; background: var(--line); pointer-events: none; }
.xline::before, .xline::after { content: '+'; position: absolute; top: 0; transform: translate(-50%, -50%); font: 300 18px/1 var(--f-mono); color: rgba(170,200,240,.4); }
.xline::before { left: 0; }
.xline::after { left: 100%; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head p { max-width: 46ch; justify-self: end; color: var(--ink-2); font-size: 17px; line-height: 1.75; font-weight: 300; }
.sec-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0; }
.sec-head--center p { justify-self: center; max-width: 56ch; margin-top: 22px; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; font: 500 11px/1 var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--teal-2); }
.eyebrow b { display: inline-grid; place-items: center; min-width: 32px; height: 24px; padding: 0 7px; border-radius: 7px; border: 1px solid rgba(24,220,200,.35); background: rgba(24,220,200,.08); color: var(--teal-3); font-weight: 600; letter-spacing: .04em; }
.h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -.04em; color: var(--ink); }
.h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.18em; letter-spacing: -.01em; color: var(--teal-3); }
.h2 em.amber { color: var(--amber); }

/* ═══════════════════════════════════════════════
   SERVICES — bento with live micro-animations
═══════════════════════════════════════════════ */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.svc {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; grid-column: span 2;
  display: flex; flex-direction: column; border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, rgba(17,30,56,.64), rgba(9,17,34,.72));
  border: 1px solid var(--line);
}
.js .svc[data-reveal] { transition: opacity 1s var(--ease) var(--rd, 0s), transform 1.1s var(--ease) var(--rd, 0s), border-color .4s; }
.svc--web { grid-column: span 4; }
.svc::before, .stk::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(24,220,200,.10), transparent 45%); opacity: 0; transition: opacity .5s; }
.svc::after, .stk::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(95,245,228,.65), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .5s;
}
.svc:hover::before, .svc:hover::after, .stk:hover::before, .stk:hover::after { opacity: 1; }
.svc__viz {
  position: relative; height: 236px; margin: 10px 10px 0; border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(24,220,200,.08), transparent 60%), rgba(3,9,20,.55);
  border: 1px solid rgba(170,200,240,.07);
}
.svc--web .svc__viz { height: 270px; }
.svc:not(.is-playing) .svc__viz * { animation-play-state: paused !important; }
.svc__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px 28px 28px; }
.svc__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc__kicker, .svc__num { font: 500 10.5px var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.svc h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 1.7vw, 25px); letter-spacing: -.025em; color: var(--ink); }
.svc__tags { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 500 11px var(--f-mono); color: var(--teal-2); }
.svc__tags span::before { content: '#'; color: var(--ink-3); }
.svc p { color: var(--ink-2); font-size: 15px; line-height: 1.7; font-weight: 300; }
.svc__points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.svc__points li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font-size: 12.5px; color: var(--ink-2); background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.svc__points li i { font-size: 9px; color: var(--teal-2); }

/* web — live dashboard */
.mw { position: absolute; left: 7%; right: 7%; top: 15%; bottom: -14%; border-radius: 12px; overflow: hidden; background: #0a1426; border: 1px solid rgba(170,200,240,.14); box-shadow: 0 30px 60px -24px rgba(0,0,0,.9); }
.mw__bar { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-bottom: 1px solid rgba(170,200,240,.08); background: rgba(255,255,255,.025); }
.mw__bar > i { width: 7px; height: 7px; border-radius: 50%; background: #2c3954; }
.mw__bar > span { margin: 0 auto; padding: 3px 14px; border-radius: 6px; background: rgba(255,255,255,.045); font: 400 9.5px var(--f-mono); color: var(--ink-3); }
.mw__live { display: inline-flex; align-items: center; gap: 5px; font: 600 8.5px var(--f-mono); letter-spacing: .12em; color: var(--ok); }
.mw__live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; animation: blink 1.4s infinite; }
.mw__body { display: grid; grid-template-columns: 42px minmax(0, 1fr); height: calc(100% - 28px); }
.mw__side { display: flex; flex-direction: column; align-items: center; gap: 11px; padding: 12px 0; border-right: 1px solid rgba(170,200,240,.07); }
.mw__side span { width: 16px; height: 4px; border-radius: 2px; background: rgba(170,200,240,.16); }
.mw__side .logo { width: 18px; height: 18px; border-radius: 6px; margin-bottom: 4px; background: linear-gradient(135deg, var(--teal-3), var(--teal)); }
.mw__side .on { background: var(--teal-2); box-shadow: 0 0 8px var(--teal-2); }
.mw__main { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; min-width: 0; }
.mw__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mw__kpis > div { padding: 8px 10px; border-radius: 9px; background: rgba(255,255,255,.03); border: 1px solid rgba(170,200,240,.08); animation: mw-pop 8s var(--ease) infinite both; }
.mw__kpis > div:nth-child(2) { animation-delay: .12s; }
.mw__kpis > div:nth-child(3) { animation-delay: .24s; }
.mw__kpis small { display: block; font: 500 8px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.mw__kpis strong { display: block; margin: 4px 0 2px; font: 500 15px var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.mw__kpis em { font: 600 8.5px var(--f-mono); font-style: normal; color: var(--ok); }
.mw__chart { position: relative; flex: 1; min-height: 60px; border-radius: 9px; background: repeating-linear-gradient(180deg, rgba(170,200,240,.05) 0 1px, transparent 1px 25%); }
.mw__chart svg { position: absolute; left: 0; top: 6px; width: 100%; height: calc(100% - 6px); overflow: visible; }
.mw__chart .line { fill: none; stroke: var(--teal-2); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1000; animation: mw-draw 8s var(--ease) infinite both; filter: drop-shadow(0 0 5px rgba(24,220,200,.55)); }
.mw__chart .area { animation: mw-area 8s var(--ease) infinite both; }
.mw__code { position: absolute; right: 5%; top: 5%; padding: 8px 12px; border-radius: 10px; background: rgba(9,17,34,.97); border: 1px solid rgba(24,220,200,.32); box-shadow: 0 14px 30px -12px rgba(0,0,0,.9); font: 400 11px var(--f-mono); color: var(--ink-2); animation: bob 5s var(--ease-io) infinite; }
@keyframes mw-pop { 0%, 6% { opacity: 0; transform: translateY(8px); } 16%, 100% { opacity: 1; transform: none; } }
@keyframes mw-draw { 0%, 12% { stroke-dashoffset: 1000; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes mw-area { 0%, 35% { opacity: 0; } 65%, 100% { opacity: 1; } }

/* mobile — Flutter phone */
.mm { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.phone { position: relative; width: 118px; height: 210px; padding: 6px; border-radius: 25px; transform: translateY(24px); background: linear-gradient(160deg, #2a3753, #0d1628 60%); box-shadow: 0 30px 50px -22px rgba(0,0,0,.95), inset 0 0 0 1px rgba(255,255,255,.1); }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 19px; overflow: hidden; background: #0a1426; }
.phone__notch { position: absolute; z-index: 2; top: 5px; left: 50%; width: 36px; height: 9px; margin-left: -18px; border-radius: 6px; background: #04070d; }
.phone__strip { display: flex; width: 400%; height: 100%; animation: mm-slide 10s var(--ease-io) infinite; }
.scr { flex: 0 0 25%; height: 100%; display: flex; flex-direction: column; gap: 7px; padding: 24px 10px 10px; }
.scr b { display: block; height: 7px; border-radius: 4px; background: rgba(170,200,240,.14); }
.scr b.t { width: 60%; height: 8px; background: rgba(238,243,251,.5); }
.scr--a { align-items: center; justify-content: center; padding-top: 16px; }
.scr--a .av { width: 34px; height: 34px; margin-bottom: 4px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-3), var(--teal)); }
.scr--a b { width: 84%; }
.scr--a b.t { width: 56%; }
.scr--a .go { width: 84%; height: 18px; margin-top: 4px; border-radius: 6px; background: linear-gradient(135deg, #ffa063, #f26822); }
.scr--b .row { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 7px; background: rgba(255,255,255,.035); }
.scr--b .row i { flex: 0 0 16px; height: 16px; border-radius: 5px; background: rgba(24,220,200,.38); }
.scr--b .row:nth-child(odd) i { background: rgba(245,160,74,.42); }
.scr--b .row b { flex: 1; }
.scr--c { align-items: center; }
.scr--c .ring { width: 62px; height: 62px; margin: 6px 0; border-radius: 50%; background: conic-gradient(var(--teal-2) 0 68%, rgba(170,200,240,.12) 0); -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%); mask: radial-gradient(circle, transparent 54%, #000 56%); }
.scr--c .bars2 { display: flex; align-items: flex-end; gap: 5px; width: 84%; height: 34px; }
.scr--c .bars2 i { flex: 1; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, var(--amber), rgba(245,160,74,.25)); }
.scr--c .bars2 i:nth-child(1) { height: 45%; }
.scr--c .bars2 i:nth-child(2) { height: 80%; }
.scr--c .bars2 i:nth-child(3) { height: 60%; }
.scr--c .bars2 i:nth-child(4) { height: 100%; }
@keyframes mm-slide { 0%, 22% { transform: translateX(0); } 25%, 47% { transform: translateX(-25%); } 50%, 72% { transform: translateX(-50%); } 75%, 100% { transform: translateX(-75%); } }
.os { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; background: rgba(12,22,42,.94); border: 1px solid rgba(170,200,240,.15); box-shadow: 0 14px 30px -14px rgba(0,0,0,.85); font: 500 11.5px var(--f-body); color: var(--ink); animation: bob 5.5s var(--ease-io) infinite; }
.os i { font-size: 13px; color: #fff; }
.os--ios { left: calc(50% - 146px); top: 26%; }
.os--and { right: calc(50% - 150px); top: 56%; animation-delay: -2.7s; }
.os--and i { color: #3ddc84; }

/* lms — protected player */
.ml { position: absolute; inset: 18px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; }
.player { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #0a1426; border: 1px solid rgba(170,200,240,.12); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.player__screen { position: relative; flex: 1; display: grid; place-items: center; background: radial-gradient(70% 80% at 25% 20%, rgba(245,160,74,.32), transparent 65%), radial-gradient(70% 80% at 85% 100%, rgba(24,220,200,.3), transparent 60%), #0d1a33; }
.play { width: 40px; height: 40px; padding-left: 3px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 12px; animation: ml-pulse 2.6s var(--ease-io) infinite; }
@keyframes ml-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.25); } 50% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } }
.prot { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 6px; background: rgba(5,10,20,.65); font: 600 8.5px var(--f-mono); letter-spacing: .06em; color: var(--ok); }
.player__bar { height: 4px; background: rgba(255,255,255,.08); }
.player__bar b { display: block; height: 100%; width: 76%; background: linear-gradient(90deg, var(--orange), var(--amber)); animation: ml-prog 8s linear infinite both; }
@keyframes ml-prog { 0% { width: 6%; } 100% { width: 76%; } }
.player__meta { display: flex; justify-content: space-between; padding: 7px 10px; font: 400 9.5px var(--f-mono); color: var(--ink-3); }
.ml__side { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.lessons { display: flex; flex-direction: column; gap: 7px; }
.lessons li { display: flex; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 9px; background: rgba(255,255,255,.035); border: 1px solid rgba(170,200,240,.08); font-size: 11.5px; color: var(--ink-2); }
.lessons li i { flex: 0 0 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: 8px; background: rgba(62,230,181,.16); color: var(--ok); animation: ml-check 8s var(--ease) infinite both; }
.lessons li:nth-child(2) i { animation-delay: .7s; }
.lessons li:nth-child(3) i { animation-delay: 1.4s; }
@keyframes ml-check { 0%, 12% { transform: scale(0); } 20%, 100% { transform: scale(1); } }
.score { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 11px; border-radius: 10px; background: linear-gradient(135deg, rgba(24,220,200,.16), rgba(24,220,200,.04)); border: 1px solid rgba(24,220,200,.28); font-size: 10.5px; color: var(--ink-2); animation: mw-pop 8s var(--ease) infinite both; animation-delay: 1.9s; }
.score b { font: 500 14px var(--f-display); color: var(--teal-3); }

/* shop — cart & sales */
.ms { position: absolute; inset: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px; }
.pcard { display: flex; flex-direction: column; gap: 8px; padding: 9px; border-radius: 12px; background: #0a1426; border: 1px solid rgba(170,200,240,.12); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); min-width: 0; }
.pcard__img { flex: 1; min-height: 0; border-radius: 8px; display: grid; place-items: center; font-size: 26px; color: rgba(255,255,255,.9); background: radial-gradient(60% 60% at 50% 45%, rgba(245,160,74,.55), transparent 72%), linear-gradient(135deg, #1c2c4f, #0f1a33); }
.pcard__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pcard__name { flex: 1; height: 6px; border-radius: 3px; background: rgba(170,200,240,.2); }
.pcard__price { font: 500 12px var(--f-display); color: var(--ink); }
.pcard__add { display: block; text-align: center; padding: 6px; border-radius: 7px; font: 600 10px var(--f-body); color: #1a0b03; background: linear-gradient(135deg, #ffa063, #f26822); animation: ms-tap 7s var(--ease) infinite both; }
@keyframes ms-tap { 0%, 20% { transform: none; } 24% { transform: scale(.92); } 28%, 100% { transform: none; } }
.ms__side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cart { align-self: flex-end; position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(170,200,240,.14); color: var(--ink); font-size: 15px; }
.cart__n { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; overflow: hidden; background: var(--orange); color: #fff; font: 700 10px/20px var(--f-mono); text-align: center; box-shadow: 0 0 0 2px #0a1426; }
.cart__n > span { display: block; animation: ms-count 7s var(--ease) infinite both; }
.cart__n b { display: block; height: 20px; }
@keyframes ms-count { 0%, 25% { transform: translateY(0); } 31%, 100% { transform: translateY(-20px); } }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(170,200,240,.08); }
.bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--teal-3), rgba(24,220,200,.2)); transform-origin: 50% 100%; animation: ms-grow 7s var(--ease) infinite both; animation-delay: calc(var(--k) * 80ms); }
@keyframes ms-grow { 0%, 3% { transform: scaleY(.06); } 22%, 100% { transform: scaleY(1); } }
.order { position: absolute; left: 50%; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(9,17,34,.97); border: 1px solid rgba(62,230,181,.38); box-shadow: 0 14px 30px -12px rgba(0,0,0,.9); font: 500 10.5px var(--f-body); color: var(--ink); white-space: nowrap; transform: translateX(-50%); animation: ms-toast 7s var(--ease) infinite both; }
.order i { font-size: 9px; color: var(--ok); }
@keyframes ms-toast { 0%, 30% { opacity: 0; transform: translate(-50%, 12px); } 38%, 84% { opacity: 1; transform: translate(-50%, 0); } 92%, 100% { opacity: 0; transform: translate(-50%, -6px); } }

/* b2b — agency ⇄ KABOx */
.mb { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 7%; }
.mnode { flex: 0 0 92px; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.mnode__ico { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(160deg, #1d2d50, #0d1730); border: 1px solid rgba(170,200,240,.16); box-shadow: 0 18px 40px -16px rgba(0,0,0,.9); color: var(--amber); font-size: 21px; }
.mnode--k .mnode__ico { border-color: rgba(24,220,200,.42); box-shadow: 0 0 0 6px rgba(24,220,200,.06), 0 0 36px -6px rgba(24,220,200,.5); }
.mnode--k .mnode__ico img { width: 46px; height: auto; }
.mnode strong { font: 500 12.5px var(--f-body); color: var(--ink); }
.mnode small { font: 500 9px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.mlink { position: relative; flex: 1; height: 2px; margin: 0 4px; transform: translateY(-21px); }
.mlink svg { position: absolute; left: 0; top: -4px; width: 100%; height: 10px; overflow: visible; }
.mlink path { fill: none; stroke: rgba(24,220,200,.55); stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; animation: mb-dash 1s linear infinite; }
@keyframes mb-dash { to { stroke-dashoffset: -20; } }
.pkt { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-3); box-shadow: 0 0 12px var(--teal-2); animation: mb-pkt 2.8s var(--ease-io) infinite both; }
.pkt--back { background: var(--amber); box-shadow: 0 0 12px var(--amber); animation-name: mb-back; animation-delay: 1.4s; }
@keyframes mb-pkt { 0% { left: 0; opacity: 0; } 12%, 88% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
@keyframes mb-back { 0% { left: calc(100% - 8px); opacity: 0; } 12%, 88% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.mlink em { position: absolute; left: 50%; transform: translateX(-50%); font: 500 8.5px var(--f-mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.mlink__t { top: -21px; }
.mlink__b { top: 13px; }
.mb__tag { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(9,17,34,.8); font: 500 9.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-2); white-space: nowrap; }

/* ═══════════════════════════════════════════════
   TECH STACK — every layer, grouped by discipline
═══════════════════════════════════════════════ */
.stk-num { font-family: var(--f-display); font-weight: 500; color: var(--ink); }
.stk-cmd {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 26px;
  padding: 11px 16px; border-radius: 12px; background: rgba(5,11,22,.55); border: 1px solid var(--line);
  font: 400 13px/1.4 var(--f-mono); color: var(--ink-2);
}
.stk-cmd .prompt { color: var(--amber); }
.stk-cmd .typed { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: bottom; }
.stk-cmd .caret { width: .5em; }
.stk-cmd .out { color: var(--ok); }
.js .stk-cmd .typed { width: 0; transition: width 1s steps(18, end) .3s; }
.js .stk-cmd.in .typed { width: 18ch; }
.js .stk-cmd .out { opacity: 0; transition: opacity .5s ease 1.4s; }
.js .stk-cmd.in .out { opacity: 1; }
.stk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stk {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 14px;
  padding: 26px 24px 26px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(17,30,56,.62), rgba(9,17,34,.72)); border: 1px solid var(--line);
}
.stk__head { display: flex; align-items: center; gap: 14px; }
.stk__ico { flex: 0 0 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(24,220,200,.1); border: 1px solid rgba(24,220,200,.26); color: var(--teal-3); font-size: 17px; }
.stk__title { font-family: var(--f-display); font-weight: 500; font-size: 16px; letter-spacing: -.025em; line-height: 1.25; color: var(--ink); }
.stk__count { margin-left: auto; padding: 4px 9px; border-radius: 8px; border: 1px solid var(--line); font: 500 11px var(--f-mono); color: var(--ink-3); }
.stk__blurb { font-size: 14px; line-height: 1.6; font-weight: 300; color: var(--ink-2); }
.stk__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.tk {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 10px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line);
  font-size: 13px; line-height: 1.2; color: var(--ink-2); white-space: nowrap;
  transition: opacity .5s var(--ease), transform .6s var(--ease), border-color .3s, color .3s, background .3s;
  transition-delay: calc(var(--rd, 0s) + .3s + var(--k) * 30ms);
}
.tk__i { flex: 0 0 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: rgba(255,255,255,.05); color: var(--teal-2); font-size: 12.5px; transition: background .3s, color .3s; }
.tk__i--m { font: 600 9.5px/1 var(--f-mono); letter-spacing: .02em; color: var(--teal-3); background: rgba(24,220,200,.1); }
.tk__i--svg svg { width: 13px; height: 13px; color: #54c5f8; }
.tk:hover { color: #fff; border-color: var(--line-hot); background: rgba(24,220,200,.08); transform: translateY(-2px); }
.tk:hover .tk__i { background: rgba(24,220,200,.18); color: var(--teal-3); }
.js .stk .tk { opacity: 0; transform: translateY(8px) scale(.97); }
.js .stk.in .tk { opacity: 1; transform: none; }
.js .stk.in .tk:hover { transform: translateY(-2px); }
.stk.settled .tk { transition-delay: 0s; }
.stk-ui { display: none; }

/* ═══════════════════════════════════════════════
   PROCESS — CI-style pipeline (scroll-linked)
═══════════════════════════════════════════════ */
.pipe { --p: 0; position: relative; }
.pipe__track { position: absolute; left: 32px; top: 31px; width: calc((100% + 20px) * .8); height: 2px; border-radius: 2px; background: var(--line-2); }
.pipe__fill { position: absolute; left: 0; top: 0; width: calc(var(--p) * 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--teal-3)); box-shadow: 0 0 14px rgba(24,220,200,.6); }
.pipe__fill::after { content: ''; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(24,220,200,.25), 0 0 18px var(--teal-2); }
.pipe__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; }
.step__node {
  position: relative; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 18px; background: rgba(10,18,36,.96); border: 1px solid var(--line-2);
  color: var(--ink-3); font-size: 20px;
  transition: color .5s, border-color .5s, box-shadow .6s, background .5s;
}
.step__n { position: absolute; top: -9px; right: -9px; padding: 2px 6px; border-radius: 7px; background: #0a1426; border: 1px solid var(--line-2); font: 600 9.5px var(--f-mono); color: var(--ink-3); }
.step[data-state="run"] .step__node { color: var(--amber); border-color: rgba(245,160,74,.55); box-shadow: 0 0 0 6px rgba(245,160,74,.07), 0 0 30px -6px rgba(245,160,74,.45); }
.step[data-state="done"] .step__node { color: var(--teal-3); border-color: rgba(24,220,200,.55); background: rgba(9,30,40,.96); box-shadow: 0 0 0 6px rgba(24,220,200,.07), 0 0 30px -6px rgba(24,220,200,.5); }
.step__cmd { display: block; margin: 24px 0 10px; font: 500 11.5px var(--f-mono); color: var(--ink-3); }
.step h3 { margin-bottom: 10px; font-family: var(--f-display); font-weight: 500; font-size: 20px; letter-spacing: -.025em; color: var(--ink); }
.step p { font-size: 14.5px; line-height: 1.65; font-weight: 300; color: var(--ink-2); }
.step__status {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 11px; border-radius: 999px;
  border: 1px solid var(--line); font: 500 10px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  transition: color .4s, border-color .4s, background .4s;
}
.step__status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.step__status b { font-weight: 500; }
.step[data-state="run"] .step__status { color: var(--amber); border-color: rgba(245,160,74,.35); background: rgba(245,160,74,.08); }
.step[data-state="run"] .step__status i { animation: blink 1s infinite; }
.step[data-state="done"] .step__status { color: var(--ok); border-color: rgba(62,230,181,.35); background: rgba(62,230,181,.08); }

/* ═══════════════════════════════════════════════
   ABOUT — Who we are
═══════════════════════════════════════════════ */
.about__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.about__head { position: sticky; top: 120px; }
.facts { margin-top: 44px; border-top: 1px solid var(--line); }
.facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 10.5px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { font-size: 15px; color: var(--ink); text-align: right; }
.quote {
  position: relative; padding: clamp(30px, 4.5vw, 56px); border-radius: 28px;
  background: linear-gradient(180deg, rgba(17,30,56,.62), rgba(9,17,34,.72)); border: 1px solid var(--line);
  direction: rtl; text-align: right; font-family: var(--f-ar);
}
.quote::before { content: '\201C'; position: absolute; top: 4px; left: 28px; direction: ltr; font: 400 130px/1 var(--f-serif); color: rgba(24,220,200,.16); }
.quote p { font-size: clamp(16px, 1.3vw, 18px); line-height: 2.05; color: var(--ink-2); margin: 0 0 20px; }
.quote .hl-text { color: var(--teal-3); font-family: var(--f-body); font-weight: 600; letter-spacing: .01em; }
.quote .hl-orange { color: var(--amber); font-family: var(--f-body); font-weight: 600; }
.quote__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.quote__sig { font: 500 14px var(--f-ar); color: var(--ink-3); }

/* ═══════════════════════════════════════════════
   SMALL CONTROLS
═══════════════════════════════════════════════ */
.tctl { display: flex; align-items: center; gap: 10px; }
.ibtn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--ink); transition: background .3s, border-color .3s; }
.ibtn:hover { background: rgba(24,220,200,.1); border-color: var(--line-hot); }
.link-arrow { display: inline-flex; align-items: center; gap: 9px; margin-left: 10px; font-size: 14.5px; color: var(--ink-2); transition: color .3s; }
.link-arrow i { font-size: 12px; transition: transform .4s var(--ease); }
.link-arrow:hover { color: #fff; }
.link-arrow:hover i { transform: translateX(4px); }

/* ═══════════════════════════════════════════════
   PORTFOLIO — Laptop Showcase (component carried over)
═══════════════════════════════════════════════ */
#portfolio { position: relative; }
/* ── Laptop slider ──
   --lt-dur  : time each project stays on screen (keep in sync with JS DURATION)
   --lt-fade : crossfade duration between projects                          */
.lt {
  --lt-dur: 3000ms;
  --lt-fade: 700ms;
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}

/* The device box keeps the exact ratio of laptop-frame.png (1479 × 869),
   so the screen percentages below stay aligned at every viewport width. */
.lt-device {
  position: relative;
  width: min(1100px, 100%);
  aspect-ratio: 1479 / 869;
  margin-inline: auto;
}
.lt-device::before {                       /* soft teal glow behind the lid */
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  left: 10%; right: 10%; top: 4%; bottom: 22%;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,194,176,.16), transparent 70%);
  filter: blur(48px);
}
.lt-device::after {                        /* contact shadow under the base */
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  left: 4%; right: 4%; bottom: -3%; height: 8%;
  background: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,.7), transparent 70%);
  filter: blur(12px);
}

/* Layer 2 — transparent laptop PNG, always above the project image */
.lt-frame {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; display: block;
  pointer-events: none; user-select: none;
}

/* Layer 1 — the screen.
   ▸ SCREEN POSITION: these four values are measured from laptop-frame.png.
     They sit 1px under the bezel on every side, so there is never a gap.
     If you swap the PNG, re-measure and change only these four variables. */
.lt-screen {
  --lt-left:   13.590%;
  --lt-top:     5.178%;
  --lt-width:  72.887%;
  --lt-height: 71.346%;
  position: absolute; z-index: 1;
  left: var(--lt-left); top: var(--lt-top);
  width: var(--lt-width); height: var(--lt-height);
  overflow: hidden;
  border-radius: .5% / .9%;
  background: #05080d;
  margin: 0; padding: 0; border: 0;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
}
.lt-screen:focus-visible { outline: 2px solid var(--teal-2); outline-offset: -6px; }

.lt-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; display: block;
  opacity: 0; transform: scale(1.04);
  transition: opacity var(--lt-fade) var(--ease),
              transform calc(var(--lt-fade) * 1.7) var(--ease);
  will-change: opacity, transform;
  user-select: none; -webkit-user-drag: none;
}
.lt-slide.is-active  { opacity: 1; transform: scale(1);    z-index: 2; }
.lt-slide.is-leaving { opacity: 1; transform: scale(.985); z-index: 1; } /* stays solid underneath → no dark dip */

.lt-glare {                                 /* faint glass reflection */
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.015) 30%, transparent 44%);
}

/* Side arrows — subtle, outside the lid */
.lt-arrow {
  width: 44px; height: 44px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 50%;
  background: rgba(7,12,24,.55); color: var(--ink-mid);
  font-size: 13px; padding: 0; cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: color .3s var(--ease), border-color .3s var(--ease),
              background .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}
.lt-arrow:hover { color: var(--teal-3); border-color: var(--line-hot); background: rgba(0,194,176,.08); }
.lt-arrow:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; opacity: 1; }
.lt-arrow--prev, .lt-arrow--next {
  position: absolute; z-index: 3;
  top: 40.85%;                 /* vertical centre of the screen = --lt-top + --lt-height / 2 */
  transform: translateY(-50%);
  opacity: .45;
}
.lt-arrow--prev { left: 3%; }
.lt-arrow--next { right: 3%; }
.lt-device:hover .lt-arrow--prev,
.lt-device:hover .lt-arrow--next { opacity: 1; }
.lt-arrow--prev:hover { transform: translate(-3px, -50%); }
.lt-arrow--next:hover { transform: translate(3px, -50%); }
.lt-arrow--inline { display: none; }

/* Project info — outside the laptop */
.lt-info {
  margin-top: 36px; text-align: center; min-height: 66px;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.lt-info.is-swapping { opacity: 0; transform: translateY(6px); }
.lt-info__cat {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange-2); margin-bottom: 10px;
  text-shadow: 0 0 12px rgba(242,104,34,.35);
}
.lt-info__title {
  font-size: clamp(22px, 2.4vw, 32px); font-weight: 400;
  letter-spacing: -.03em; color: #fff; line-height: 1.15;
}

/* Pagination */
.lt-controls {
  margin-top: 26px;
  display: flex; align-items: center; justify-content: center; gap: 20px;
}
.lt-count {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .2em; color: var(--ink-dim);
  padding-right: 20px; border-right: 1px solid var(--line-2);
}
.lt-count span { color: var(--ink); }
.lt-dots { display: flex; align-items: center; gap: 8px; }
.lt-dot {
  position: relative; width: 30px; height: 28px;
  margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
  transition: width .5s var(--ease);
}
.lt-dot::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; margin-top: -1px; border-radius: 2px;
  background: rgba(168,180,204,.22);
  transition: background .3s var(--ease);
}
.lt-dot:hover::before { background: rgba(168,180,204,.5); }
.lt-dot:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 2px; border-radius: 3px; }
.lt-dot.is-active { width: 58px; }
.lt-dot__fill {
  position: absolute; left: 0; top: 50%;
  height: 2px; margin-top: -1px; width: 0; border-radius: 2px;
  background: var(--teal-2); box-shadow: 0 0 8px rgba(0,194,176,.6);
}
.lt-dot.is-active .lt-dot__fill { animation: ltFill var(--lt-dur) linear forwards; }
.lt.is-paused .lt-dot.is-active .lt-dot__fill { animation-play-state: paused; }
@keyframes ltFill { from { width: 0; } to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .lt-slide, .lt-slide.is-active, .lt-slide.is-leaving { transform: none; transition: opacity .25s linear; }
  .lt-info { transition: opacity .2s linear; }
  .lt-info.is-swapping { transform: none; }
  .lt-dot { transition: none; }
  .lt-dot.is-active .lt-dot__fill { animation: none; width: 100%; }
  .lt-arrow--prev:hover, .lt-arrow--next:hover { transform: translateY(-50%); }
}

.lt-info__title { font-family: var(--f-display); font-weight: 400; letter-spacing: -.03em; }

/* ═══════════════════════════════════════════════
   BLOG — Design Post Slider
═══════════════════════════════════════════════ */
.bl-section { padding-top: 40px; }
.bl { --bl-dur: 5000ms; --bl-fade: 650ms; max-width: 1460px; margin: 0 auto; }

/* All slides share one grid cell → the card is as tall as the tallest slide, no jumps */
.bl-track { display: grid; }
.bl-slide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(80% 95% at 105% -8%, rgba(var(--bg-amber),.55) 0%, rgba(var(--bg-amber),0) 100%),
    radial-gradient(85% 95% at -5% 108%, rgba(var(--bg-petrol),.85) 0%, rgba(var(--bg-petrol),0) 100%),
    linear-gradient(180deg, #1c1411 0%, #0c1830 50%, #0a2a30 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden;
  transition: opacity var(--bl-fade) var(--ease), visibility 0s linear var(--bl-fade);
}
.bl-slide.is-active { opacity: 1; visibility: visible; transition: opacity var(--bl-fade) var(--ease), visibility 0s; z-index: 1; }

.bl-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.bl-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.04); transition: transform calc(var(--bl-fade) * 2) var(--ease);
}
.bl-slide.is-active .bl-media img { transform: scale(1); }

.bl-body {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(28px, 5vw, 80px);
  transform: translateY(14px); transition: transform calc(var(--bl-fade) * 1.4) var(--ease);
}
.bl-slide.is-active .bl-body { transform: none; }
.bl-title {
  font-size: clamp(26px, 3vw, 46px); font-weight: 600; line-height: 1.15;
  letter-spacing: -.03em; color: #fff; margin: 0 0 22px; max-width: 18ch;
}
.bl-desc { color: var(--ink-mid); font-size: 16px; line-height: 1.85; font-weight: 300; margin: 0 0 34px; max-width: 58ch; }
.bl-view {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 30px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05);
  color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.bl-view i { font-size: 13px; color: var(--teal-3); }
.bl-view:hover { background: rgba(0,194,176,.12); border-color: var(--line-hot); transform: translateY(-2px); }
.bl-view:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; }

.bl-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; }
.bl-nav { display: flex; align-items: center; gap: 18px; }
.bl-btn {
  width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03);
  color: #fff; font-size: 15px; cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.bl-btn:hover { background: rgba(0,194,176,.12); border-color: var(--line-hot); }
.bl-btn:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; }
.bl-dots { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.bl-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(168,180,204,.28); position: relative;
  transition: width .45s var(--ease), background .3s var(--ease);
}
.bl-dot::after { content: ''; position: absolute; inset: -10px -4px; }        /* bigger tap target */
.bl-dot:hover { background: rgba(168,180,204,.55); }
.bl-dot.is-active { width: 34px; background: var(--teal-2); box-shadow: 0 0 10px rgba(0,194,176,.5); }
.bl-dot:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 4px; }
.bl-count { font-size: 15px; color: var(--ink-dim); white-space: nowrap; }
.bl-count b { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -.02em; }

@media (max-width: 900px) {
  .bl-slide { grid-template-columns: 1fr; border-radius: 18px; }
  .bl-body { padding: 28px 24px 32px; }
  .bl-desc { font-size: 15px; margin-bottom: 26px; }
  .bl-btn { width: 46px; height: 46px; }
  .bl-nav { gap: 12px; }
  .bl-count b { font-size: 22px; }
}
@media (max-width: 420px) { .bl-dots { gap: 6px; } .bl-dot.is-active { width: 24px; } }
@media (prefers-reduced-motion: reduce) {
  .bl-slide, .bl-slide.is-active { transition: opacity .2s linear, visibility 0s; }
  .bl-media img, .bl-slide.is-active .bl-media img, .bl-body, .bl-slide.is-active .bl-body { transform: none; transition: none; }
  .bl-dot { transition: none; }
}


/* ═══════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════ */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.cta__panel { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: clamp(64px, 8vw, 120px) clamp(22px, 6vw, 80px); border-radius: 34px; }
.cta__panel::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--ang), rgba(95,245,228,0) 0deg, rgba(95,245,228,.95) 50deg, rgba(242,104,34,.95) 95deg, rgba(95,245,228,0) 150deg, rgba(95,245,228,0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: ang 7s linear infinite;
}
.cta__panel::after {
  content: ''; position: absolute; inset: 0; z-index: -2; border-radius: inherit;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(var(--bg-amber),.3), transparent 70%),
    radial-gradient(70% 70% at 50% 100%, rgba(var(--bg-petrol),.6), transparent 70%),
    linear-gradient(180deg, #0f1c36, #0a1628);
  box-shadow: inset 0 0 0 1px var(--line);
}
@keyframes ang { to { --ang: 360deg; } }
.cta .h2 { max-width: 15ch; margin: 0 auto; font-size: clamp(36px, 5.4vw, 78px); }
.cta__lead { max-width: 52ch; margin: 26px auto 0; color: var(--ink-2); font-size: 17px; line-height: 1.75; font-weight: 300; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.cta__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; margin: 64px auto 0; border-top: 1px solid var(--line); }
.cta__stats > div { display: flex; flex-direction: column-reverse; gap: 10px; padding: 28px 10px 0; border-left: 1px solid var(--line); }
.cta__stats > div:first-child { border-left: 0; }
.cta__stats dd { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 4vw, 54px); letter-spacing: -.05em; line-height: 1; background: linear-gradient(180deg, #fff, #9ffbf0); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.cta__stats dt { font: 500 10.5px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer { position: relative; padding: 96px 0 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(5,10,20,0), rgba(5,10,20,.78) 35%); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .7fr)); gap: 40px; }
.footer__logo img { height: 26px; width: auto; }
.footer__brand p { margin: 22px 0 24px; max-width: 40ch; color: var(--ink-2); font-size: 15px; line-height: 1.75; font-weight: 300; }
.footer__contact { display: grid; gap: 10px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 12px; font: 400 13.5px var(--f-mono); color: var(--ink-2); transition: color .3s; }
.footer__contact a:hover { color: #fff; }
.footer__contact i { width: 14px; color: var(--teal-2); }
.footer h4 { margin-bottom: 20px; font: 500 10.5px var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--teal-2); }
.footer nav ul { display: grid; gap: 13px; }
.footer nav a { font-size: 15px; color: var(--ink-2); transition: color .3s; }
.footer nav a:hover { color: #fff; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--ink-2); font-size: 17px; transition: color .35s, transform .45s var(--ease), border-color .35s, background .35s; }
.social a:hover { color: #fff; transform: translateY(-3px); border-color: var(--line-hot); background: rgba(24,220,200,.12); }
.footer__mark { margin: 76px 0 16px; }
.footer__mark svg { width: 100%; height: auto; overflow: visible; }
.footer__mark text { font-family: var(--f-display); font-weight: 600; font-size: 250px; fill: url(#markGrad); fill-opacity: .16; }
.js .footer__mark svg { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s var(--ease) .2s; }
.js .footer__mark.in svg { clip-path: inset(0 0 0 0); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font: 400 12px var(--f-mono); letter-spacing: .05em; color: var(--ink-3); }
.footer__bottom b { font-weight: 500; color: var(--orange-2); }
.footer__bottom .fa-heart { color: #ff5b6b; }
.totop { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); transition: color .3s; }
.totop:hover { color: var(--teal-3); }

/* WhatsApp float */
.wa { position: fixed; right: clamp(16px, 2.4vw, 28px); bottom: clamp(16px, 2.4vw, 28px); z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #3be07a, #1fb85a); color: #fff; font-size: 28px; box-shadow: 0 14px 34px -10px rgba(31,184,90,.65); }
.wa::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(59,224,122,.7); animation: wa 2.8s var(--ease) infinite; }
@keyframes wa { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa__tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); padding: 8px 12px; border-radius: 10px; background: rgba(9,17,34,.96); border: 1px solid var(--line-2); font: 500 13px var(--f-body); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.wa:hover .wa__tip { opacity: 1; transform: translate(0, -50%); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9000; display: none; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 48px); background: rgba(3,7,15,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lightbox.open { display: flex; animation: lbIn .45s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__inner { position: relative; width: min(1080px, 100%); max-height: 100%; overflow: auto; border-radius: 22px; background: #0a1426; border: 1px solid var(--line-2); box-shadow: 0 40px 120px -30px rgba(0,0,0,.9); animation: lbUp .55s var(--ease); }
@keyframes lbUp { from { transform: translateY(24px) scale(.98); } to { transform: none; } }
.lightbox__inner img { width: 100%; height: auto; display: block; }
.lightbox__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(5,10,20,.78); border: 1px solid var(--line-2); color: #fff; font-size: 16px; }
.lightbox__caption { padding: 26px 30px 32px; }
.lightbox__caption[hidden] { display: none; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .nav__links > a, .nav__drop > button { padding: 0 12px; }
}
@media (max-width: 1080px) {
  .hero { padding-top: 120px; }
  .hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .viz { margin: 0 auto; max-width: 580px; }
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .sec-head p { justify-self: start; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc, .svc--web { grid-column: span 1; }
  .stk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc--web { grid-column: 1 / -1; }
  .pipe__steps { grid-template-columns: 1fr; gap: 40px; }
  .pipe__track { left: 31px; top: 32px; width: 2px; height: calc(100% - 64px); }
  .pipe__fill { width: 100%; height: calc(var(--p) * 100%); }
  .pipe__fill::after { right: auto; left: 50%; top: auto; bottom: -5px; margin: 0 0 0 -5px; }
  .step { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 24px; }
  .step > :not(.step__node) { grid-column: 2; }
  .step__node { grid-row: 1 / span 5; }
  .step__cmd { margin-top: 2px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__head { position: static; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .lt-device { width: 100%; }
}
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; margin-left: auto; }
}
@media (max-width: 760px) {
  .sec { padding: 84px 0; }
  .sec::after, .xline::before, .xline::after { display: none; }
  .hero { padding: 112px 0 72px; min-height: auto; }
  .hero__stats > div { padding-right: 18px; margin-right: 18px; }
  .hero__scroll { display: none; }
  .viz { aspect-ratio: 1 / 1.2; }
  .win--editor { width: 100%; top: 0; }
  .win--term { width: 90%; right: -2%; bottom: 5%; }
  .live { display: none; }
  .toast { left: -2%; bottom: -3%; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 0 12px; }
  .hero__stats > div { padding-right: 0; margin-right: 0; border-right: 0; }
  .bento { grid-template-columns: 1fr; }
  .svc--web { grid-column: auto; }
  .svc__viz, .svc--web .svc__viz { height: 214px; }
  .stk-grid {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px;
  }
  .stk-grid::-webkit-scrollbar { display: none; }
  .stk { flex: 0 0 86%; scroll-snap-align: start; padding: 22px 18px; }
  .js .stk[data-reveal] { --rd: 0s !important; opacity: 1 !important; transform: none !important; }   /* next card must peek to invite a swipe */
  .stk-ui { display: flex; align-items: center; gap: 16px; margin-top: 6px; font: 500 10.5px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
  .stk-ui span { white-space: nowrap; }
  .stk-ui__bar { flex: 1 1 auto; max-width: 170px; height: 2px; border-radius: 2px; overflow: hidden; background: var(--line-2); }
  .stk-ui__bar b { display: block; height: 100%; width: 20%; border-radius: 2px; background: linear-gradient(90deg, var(--teal-2), var(--teal-3)); }
  .tk { font-size: 12.5px; }
  .cta__stats { grid-template-columns: 1fr; }
  .cta__stats > div { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0; }
  .cta__stats > div:first-child { border-top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .lt-arrow--prev, .lt-arrow--next { display: none; }
  .lt-arrow--inline { display: inline-flex; width: 40px; height: 40px; }
  .lt-count { display: none; }
  .lt-controls { gap: 14px; margin-top: 20px; }
  .lt-dot { height: 36px; width: 22px; }
  .lt-dot.is-active { width: 40px; }
  .lt-info { margin-top: 24px; min-height: 58px; }
  .lt-device::before { filter: blur(28px); }
}
@media (max-width: 480px) {
  .chip__opt { display: none; }
}
@media (max-width: 420px) {
  .chip { font-size: 9.5px; letter-spacing: .14em; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__stats dd { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .wi, .js :is(.hero, .phero) [data-in], .js .viz, .js .nav { opacity: 1 !important; transform: none !important; }
  .js .stk .tk { opacity: 1 !important; transform: none !important; }
  .js .stk-cmd .typed { width: auto !important; }
  .js .stk-cmd .out { opacity: 1 !important; }
}

/* ═══════════════════════════════════════════════
   SHARED EXTRAS — nav states, lightbox caption, Arabic text
═══════════════════════════════════════════════ */
.nav__menu a[aria-current="page"] { background: rgba(24,220,200,.07); }
.nav__menu a[aria-current="page"] strong { color: var(--teal-3); }
.lightbox__cat { margin-bottom: 8px; font: 500 10px var(--f-mono); letter-spacing: .28em; text-transform: uppercase; color: var(--orange-2); }
.lightbox__title { font-size: 26px; font-weight: 500; letter-spacing: -.03em; line-height: 1.25; }
.lightbox__title[dir="rtl"], .lightbox__desc[dir="rtl"] { font-family: var(--f-ar); letter-spacing: 0; }
.lightbox__desc { margin-top: 12px; max-width: 800px; font-size: 14px; font-weight: 300; line-height: 1.75; color: var(--ink-mid); white-space: pre-line; }
.is-ar { font-family: var(--f-ar) !important; letter-spacing: 0 !important; }
.sec--tight { padding-top: clamp(16px, 3vw, 40px); }
.sec--flushb { padding-bottom: clamp(40px, 5vw, 70px); }
.sec-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin-top: 44px; }
.link-arrow.is-amber { color: var(--amber); }
.btn.is-busy { opacity: .7; pointer-events: none; }
.btn.is-busy i { animation: spin 1s linear infinite; }

/* ═══════════════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════════════ */
.phero { position: relative; padding: clamp(132px, 15vw, 184px) 0 clamp(44px, 6vw, 80px); overflow-x: hidden; overflow-x: clip; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 30px 64px; align-items: end; }
.phero--center { text-align: center; }
.phero--center .phero__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 11px; margin-bottom: 26px; font: 500 10.5px/1.5 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.phero--center .crumbs { justify-content: center; }
.crumbs a { color: var(--ink-2); transition: color .3s; }
.crumbs a:hover { color: var(--teal-3); }
.crumbs i { font-size: 8px; color: var(--ink-3); }
.crumbs [aria-current] { max-width: min(42ch, 70vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--teal-2); }
.phero__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(38px, 6vw, 90px); line-height: 1.03; letter-spacing: -.05em; color: var(--ink); }
.phero__title.is-sm { font-size: clamp(32px, 4.6vw, 66px); }
.phero__title .hl { background: linear-gradient(100deg, #a6fcf2 0%, #18dcc8 45%, #00a99a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.phero__title em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.16em; letter-spacing: -.01em; padding-right: .08em;
  background: linear-gradient(100deg, #ffe3c6 0%, #f8b26a 38%, #f26822 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.phero__title.is-ar { line-height: 1.35; font-weight: 600; }
.phero__lead { max-width: 56ch; margin-top: 26px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; font-weight: 300; color: var(--ink-2); }
.phero--center .phero__lead { margin-inline: auto; }
.phero__lead[dir="rtl"] { font-family: var(--f-ar); }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.phero--center .phero__actions { justify-content: center; }
.phero__aside { justify-self: end; display: grid; gap: 18px; width: 100%; max-width: 440px; }
.phero__stats { display: flex; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.phero__stats > div { display: flex; flex-direction: column-reverse; gap: 9px; padding-right: 26px; margin-right: 26px; border-right: 1px solid var(--line); }
.phero__stats > div:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.phero__stats dd { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1; letter-spacing: -.04em; color: var(--ink); white-space: nowrap; }
.phero__stats dd small { margin-left: 2px; font-size: .5em; letter-spacing: 0; color: var(--ink-3); }
.phero__stats dt { font: 500 10px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.pcmd { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 11px 16px; border-radius: 12px; background: rgba(5,11,22,.55); border: 1px solid var(--line); font: 400 13px/1.4 var(--f-mono); color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.pcmd .prompt { color: var(--amber); }
.pcmd .out { color: var(--ok); }
.pcmd .caret { width: .5em; }
.js :is(.hero, .phero) [data-in] { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.is-loaded :is(.hero, .phero) [data-in] { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════
   SOFTWARE THEMES — collections browser inside the laptop
   The screen is a tiny web app sized in container units (cqw),
   so it keeps its proportions at every laptop width.
═══════════════════════════════════════════════ */
.ta { position: relative; }
.ta .lt-device { width: min(1100px, 100%); }
.ta-screen { cursor: default; background: #070d1a; }
.ta-ui {
  position: absolute; inset: 0; overflow: hidden; container-type: inline-size;
  font-family: var(--f-body); color: var(--ink); text-align: left;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(var(--bg-amber),.2), transparent 60%),
    radial-gradient(80% 80% at 0% 100%, rgba(var(--bg-petrol),.38), transparent 62%),
    linear-gradient(180deg, #0c1528, #08101f);
}
.ta-bar { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: 1.4cqw; height: 4cqw; padding: 0 1.6cqw; background: rgba(5,10,20,.75); border-bottom: 1px solid rgba(170,200,240,.08); }
.ta-dots { display: flex; gap: .7cqw; }
.ta-dots i { display: block; width: .95cqw; aspect-ratio: 1; border-radius: 50%; background: #33405a; }
.ta-dots i:nth-child(1) { background: #ff6a5f; }
.ta-dots i:nth-child(2) { background: #f8bd3b; }
.ta-dots i:nth-child(3) { background: #2fcb5a; }
.ta-url { flex: 0 1 50cqw; min-width: 0; margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: .7cqw; height: 2.5cqw; padding: 0 1.4cqw; border-radius: .9cqw; background: rgba(255,255,255,.05); border: 1px solid rgba(170,200,240,.07); font: 400 1.2cqw/1 var(--f-mono); color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.ta-url i { font-size: .95cqw; color: var(--ok); }
.ta-url b { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 400; color: var(--ink-2); }
.ta-live { display: inline-flex; align-items: center; gap: .6cqw; font: 600 1.05cqw var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ok); }
.ta-live::before { content: ''; width: .7cqw; aspect-ratio: 1; border-radius: 50%; background: currentColor; box-shadow: 0 0 .8cqw currentColor; animation: blink 1.4s infinite; }
.ta-body { position: absolute; left: 0; right: 0; bottom: 0; top: 4cqw; display: grid; grid-template-columns: 25cqw minmax(0, 1fr); }
.ta-side { display: flex; flex-direction: column; gap: 1.1cqw; min-height: 0; padding: 2cqw 1.5cqw 1.6cqw; border-right: 1px solid rgba(170,200,240,.08); background: rgba(5,10,20,.34); }
.ta-side__h { display: flex; align-items: center; justify-content: space-between; padding: 0 .6cqw .3cqw; font: 500 1.05cqw var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.ta-side__h b { font-weight: 500; color: var(--teal-2); }
.ta-tabs { display: flex; flex-direction: column; gap: .45cqw; min-height: 0; }
.ta-tab {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1cqw; width: 100%;
  padding: 1.05cqw 1.1cqw 1.25cqw; border-radius: 1cqw; text-align: left; font: 400 1.42cqw/1.25 var(--f-body); color: var(--ink-2);
  transition: background .35s, color .35s, box-shadow .35s, transform .2s var(--ease);
}
.ta-tab__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-tab__n { font: 500 1.05cqw var(--f-mono); color: var(--ink-3); transition: color .35s; }
.ta-tab:hover { color: #fff; background: rgba(255,255,255,.04); }
.ta-tab.is-active { color: #fff; background: linear-gradient(90deg, rgba(24,220,200,.15), rgba(24,220,200,.04)); box-shadow: inset 0 0 0 1px rgba(24,220,200,.28); }
.ta-tab.is-active .ta-tab__n { color: var(--teal-3); }
.ta-tab.is-press { transform: scale(.96); background: rgba(24,220,200,.12); }
.ta-tab:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 1px; }
.ta-tab__bar { position: absolute; left: 1.1cqw; right: 1.1cqw; bottom: .4cqw; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(170,200,240,.1); opacity: 0; transition: opacity .3s; }
.ta-tab__bar b { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-2), var(--teal-3)); transform-origin: 0 50%; transform: scaleX(0); }
.ta-tab.is-active .ta-tab__bar { opacity: 1; }
.ta-side__all { margin-top: auto; display: inline-flex; align-items: center; gap: .8cqw; padding: .9cqw 1.1cqw; border-radius: 1cqw; font: 500 1.15cqw var(--f-mono); letter-spacing: .06em; color: var(--teal-2); transition: background .3s, color .3s; }
.ta-side__all i { font-size: .95cqw; transition: transform .4s var(--ease); }
.ta-side__all:hover { color: #fff; background: rgba(24,220,200,.08); }
.ta-side__all:hover i { transform: translateX(.4cqw); }
.ta-main { position: relative; min-width: 0; min-height: 0; }
.ta-panel {
  position: absolute; inset: 1.8cqw 2cqw; display: flex; flex-direction: column; gap: 1.4cqw;
  opacity: 0; visibility: hidden; transform: translateY(1.4cqw);
  transition: opacity .55s var(--ease), transform .8s var(--ease), visibility 0s linear .55s;
}
.ta-panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease) .08s, transform .8s var(--ease) .08s, visibility 0s; }
.ta-win { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; border-radius: 1.2cqw; overflow: hidden; background: #0a1426; border: 1px solid rgba(170,200,240,.14); box-shadow: 0 2cqw 4cqw -2cqw rgba(0,0,0,.85); }
.ta-win__bar { flex: 0 0 auto; display: flex; align-items: center; gap: .55cqw; height: 2.7cqw; padding: 0 1.1cqw; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(170,200,240,.07); }
.ta-win__bar > i { width: .7cqw; aspect-ratio: 1; border-radius: 50%; background: #2c3954; }
.ta-win__title { margin-left: .8cqw; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 1.12cqw 'JetBrains Mono', 'IBM Plex Sans Arabic', monospace; color: var(--ink-3); }
.ta-shots { position: relative; flex: 1; min-height: 0; display: block; overflow: hidden; background: #05080d; }
.ta-shots::after { content: ''; position: absolute; inset: auto 0 0; z-index: 3; height: 34%; background: linear-gradient(180deg, transparent, rgba(5,8,13,.32)); pointer-events: none; }
.ta-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 3.4s var(--ease); }
.ta-shot.is-active { z-index: 2; opacity: 1; transform: scale(1); }
.ta-shot.is-leaving { z-index: 1; opacity: 1; }
.ta-foot { flex: 0 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.8cqw; }
.ta-thumbs { display: flex; gap: .8cqw; }
.ta-thumb, .ta-more { position: relative; flex: 0 0 auto; width: 7cqw; aspect-ratio: 16 / 10; border-radius: .8cqw; overflow: hidden; }
.ta-thumb { padding: 0; border: 1px solid rgba(170,200,240,.14); background: #0a1426; opacity: .5; transition: opacity .35s, border-color .35s, box-shadow .35s, transform .45s var(--ease); }
.ta-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ta-thumb:hover { opacity: .85; transform: translateY(-.3cqw); }
.ta-thumb.is-active { opacity: 1; border-color: var(--teal-2); box-shadow: 0 0 0 .25cqw rgba(24,220,200,.18), 0 0 1.6cqw -.4cqw rgba(24,220,200,.7); }
.ta-more { display: grid; place-items: center; border: 1px dashed rgba(170,200,240,.28); background: rgba(255,255,255,.04); font: 500 1.45cqw var(--f-mono); color: var(--ink); transition: border-color .3s, background .3s, color .3s; }
.ta-more:hover { border-color: var(--teal-2); color: var(--teal-3); background: rgba(24,220,200,.08); }
.ta-meta { min-width: 0; display: grid; gap: .5cqw; }
.ta-label { font: 500 1.05cqw var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--teal-2); }
.ta-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font: 400 2.05cqw/1.16 var(--f-display); letter-spacing: -.035em; color: var(--ink); }
.ta-go { width: 5cqw; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: 1.5cqw; color: #1a0b03; background: linear-gradient(135deg, #ffa063 0%, #f26822 60%, #e2551a 100%); box-shadow: 0 1cqw 2.4cqw -1cqw rgba(242,104,34,.75); transition: transform .5s var(--ease); }
.ta-go:hover { transform: rotate(-45deg); }
.ta-cursor { position: absolute; left: 0; top: 0; z-index: 6; width: 2.3cqw; pointer-events: none; opacity: 0; transform: translate(70cqw, 30cqw); transition: transform 1.05s var(--ease-io), opacity .45s; filter: drop-shadow(0 .4cqw .6cqw rgba(0,0,0,.55)); }
.ta.is-cursor:not(.is-paused) .ta-cursor { opacity: 1; }
.ta-cursor svg { width: 100%; height: auto; overflow: visible; transition: transform .16s; }
.ta-cursor::after { content: ''; position: absolute; left: -.9cqw; top: -.9cqw; width: 2.6cqw; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--teal-3); opacity: 0; transform: scale(.3); }
.ta-cursor.is-click::after { animation: taClick .6s var(--ease) forwards; }
.ta-cursor.is-click svg { transform: scale(.84); }
@keyframes taClick { 0% { opacity: .95; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.7); } }
.ta-after { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin-top: 40px; }
.ta-chips, .ta-out { display: none; }
.ta-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: 13.5px; color: var(--ink-2); white-space: nowrap; transition: color .3s, background .3s, border-color .3s; }
.ta-chip b { font: 500 10.5px var(--f-mono); color: var(--ink-3); }
.ta-chip.is-active { color: #04121a; background: linear-gradient(135deg, var(--teal-3), var(--teal-2)); border-color: transparent; }
.ta-chip.is-active b { color: rgba(4,18,26,.7); }
.ta-outp { display: none; align-items: center; gap: 16px; padding: 16px 16px 16px 20px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(17,30,56,.66), rgba(9,17,34,.78)); }
.ta-outp.is-active { display: flex; }
.ta-outp > div { flex: 1; min-width: 0; }
.ta-outp small { display: block; font: 500 10px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--teal-2); }
.ta-outp strong { display: block; margin-top: 5px; font: 400 18px/1.25 var(--f-display); letter-spacing: -.03em; }
.ta-outp .ta-go { flex: 0 0 48px; width: 48px; font-size: 15px; }
@media (max-width: 1080px) {
  .ta-body { grid-template-columns: minmax(0, 1fr); top: 5.6cqw; }
  .ta-side, .ta-foot, .ta-cursor, .ta-win__bar { display: none; }
  .ta-bar { height: 5.6cqw; gap: 2cqw; padding: 0 2.4cqw; }
  .ta-dots { gap: 1cqw; }
  .ta-dots i { width: 1.4cqw; }
  .ta-url { height: 3.6cqw; border-radius: 1.4cqw; padding: 0 2cqw; gap: 1cqw; font-size: 1.9cqw; }
  .ta-url i { font-size: 1.5cqw; }
  .ta-live { gap: 1cqw; font-size: 1.6cqw; }
  .ta-live::before { width: 1.1cqw; }
  .ta-panel { inset: 0; }
  .ta-win { border: 0; border-radius: 0; box-shadow: none; }
  .ta-chips { display: flex; gap: 8px; margin: 28px calc(-1 * var(--gutter)) 0; padding: 2px var(--gutter) 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
  .ta-chips::-webkit-scrollbar { display: none; }
  .ta-out { display: block; margin-top: 14px; }
}

/* ═══════════════════════════════════════════════
   THEME CARDS · CATALOG TOOLBAR · PAGER · EMPTY STATE
═══════════════════════════════════════════════ */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tcard {
  position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(17,30,56,.68), rgba(9,17,34,.8)); border: 1px solid var(--line);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .5s;
}
.js .tcard[data-reveal] { transition: opacity 1s var(--ease) var(--rd, 0s), transform 1.1s var(--ease) var(--rd, 0s), border-color .4s, box-shadow .5s; }
.tcard:hover { transform: translateY(-6px); border-color: rgba(24,220,200,.35); box-shadow: 0 30px 60px -30px rgba(0,0,0,.85), 0 0 40px -16px rgba(24,220,200,.4); }
.js .tcard[data-reveal].in:hover { transform: translateY(-6px); }
.tcard__win { margin: 8px 8px 0; border-radius: 15px; overflow: hidden; background: #0a1426; border: 1px solid rgba(170,200,240,.1); }
.tcard__bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 11px; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(170,200,240,.07); }
.tcard__bar > i { flex: 0 0 7px; height: 7px; border-radius: 50%; background: #2c3954; }
.tcard__bar > i:nth-child(1) { background: rgba(255,106,95,.85); }
.tcard__bar > i:nth-child(2) { background: rgba(248,189,59,.85); }
.tcard__bar > i:nth-child(3) { background: rgba(47,203,90,.85); }
.tcard__bar span { margin-left: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 10px var(--f-mono); color: var(--ink-3); }
.tcard__shot { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #05080d; }
.tcard__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease); }
.tcard:hover .tcard__shot img { transform: scale(1.05); }
.tcard__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.tcard__cat { font: 500 10px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-2); }
.tcard__title { font-family: var(--f-display); font-weight: 400; font-size: 17px; line-height: 1.4; letter-spacing: -.02em; color: var(--ink); }
.tcard__title.is-ar { font-size: 18px; font-weight: 500; }
.tcard__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 22px; }
.tcard__title a:focus-visible { outline: none; }
.tcard:has(.tcard__title a:focus-visible) { outline: 2px solid var(--teal-2); outline-offset: 3px; }
.tcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.tcard__go { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--orange-2); }
.tcard__go i { font-size: 12px; transition: transform .45s var(--ease); }
.tcard:hover .tcard__go i { transform: translateX(5px); }
.tcard__live { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 11px var(--f-mono); color: var(--ink-2); transition: color .3s, border-color .3s, background .3s; }
.tcard__live:hover { color: #fff; border-color: var(--line-hot); background: rgba(24,220,200,.1); }
.tcard__live i { font-size: 9px; }

.tbar {
  position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 34px; padding: 12px; border-radius: 22px; border: 1px solid var(--line);
  background: rgba(9,17,34,.62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.fchips { flex: 1 1 480px; min-width: 0; display: flex; gap: 8px; padding: 2px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.fchips::-webkit-scrollbar { display: none; }
.fchip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 13.5px; color: var(--ink-2); white-space: nowrap; transition: color .3s, border-color .3s, background .3s; }
.fchip b { font: 500 10.5px var(--f-mono); color: var(--ink-3); }
.fchip:hover { color: #fff; border-color: var(--line-2); }
.fchip.is-active { color: #04121a; background: linear-gradient(135deg, var(--teal-3), var(--teal-2)); border-color: transparent; }
.fchip.is-active b { color: rgba(4,18,26,.7); }
.tsearch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tsearch__box { position: relative; display: flex; align-items: center; }
.tsearch__box > i { position: absolute; left: 16px; font-size: 13px; color: var(--ink-3); pointer-events: none; }
.tsearch .input { width: min(250px, 100%); height: 42px; padding-left: 40px; border-radius: 999px; font-size: 14px; }
.tsearch .select { width: auto; height: 42px; border-radius: 999px; font-size: 14px; }
.tsearch__go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--ink); transition: background .3s, border-color .3s; }
.tsearch__go:hover { background: rgba(24,220,200,.12); border-color: var(--line-hot); }
.tmeta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: -14px 0 26px; font: 500 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.tmeta b { font-weight: 500; color: var(--ink); }
.tmeta a { color: var(--teal-2); }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 50px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: rgba(255,255,255,.03); font: 500 13px var(--f-mono); color: var(--ink-2); transition: color .3s, border-color .3s, background .3s; }
.pager a:hover { color: #fff; border-color: var(--line-hot); background: rgba(24,220,200,.08); }
.pager [aria-current] { color: #04121a; background: var(--teal-2); border-color: transparent; }
.pager .is-gap { border: 0; background: none; min-width: 20px; padding: 0; }
.empty { display: grid; justify-items: center; gap: 14px; padding: clamp(44px, 6vw, 84px) 24px; border-radius: 26px; border: 1px dashed var(--line-2); background: rgba(9,17,34,.5); text-align: center; }
.empty__ico { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; background: rgba(24,220,200,.1); border: 1px solid rgba(24,220,200,.26); color: var(--teal-3); font-size: 22px; }
.empty h2, .empty h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(21px, 2.2vw, 28px); letter-spacing: -.03em; }
.empty p { max-width: 50ch; color: var(--ink-2); font-weight: 300; line-height: 1.75; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }

/* "How it works" strip */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.flow__item { position: relative; padding: 28px 26px 26px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(17,30,56,.58), rgba(9,17,34,.72)); }
.flow__item:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -14px; z-index: 1; width: 9px; height: 9px; border-top: 1px solid var(--teal-2); border-right: 1px solid var(--teal-2); transform: translateY(-50%) rotate(45deg); opacity: .7; }
.flow__top { display: flex; align-items: center; justify-content: space-between; }
.flow__ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: rgba(245,160,74,.1); border: 1px solid rgba(245,160,74,.3); color: var(--amber); font-size: 18px; }
.flow__n { font: 500 11px var(--f-mono); letter-spacing: .2em; color: var(--ink-3); }
.flow h3 { margin: 20px 0 8px; font-family: var(--f-display); font-weight: 500; font-size: 19px; letter-spacing: -.025em; color: var(--ink); }
.flow p { font-size: 14.5px; line-height: 1.7; font-weight: 300; color: var(--ink-2); }

/* ═══════════════════════════════════════════════
   THEME DETAIL
═══════════════════════════════════════════════ */
.tdetail { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); gap: clamp(30px, 4.5vw, 70px); align-items: center; }
.tdetail .lt-device { width: 100%; }
.tdetail .lt-screen { cursor: zoom-in; }
.tdetail .lt-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.4s var(--ease); }
.tdetail .lt-screen:hover img { transform: scale(1.03); }
.tdetail__zoom { position: absolute; z-index: 4; right: 3%; bottom: 3%; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: rgba(5,10,20,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); font: 500 10.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; pointer-events: none; }
.tdetail__info { display: grid; gap: 22px; align-content: center; }
.tdetail__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(24,220,200,.3); background: rgba(24,220,200,.08); font: 500 10.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-3); }
.tag--amber { border-color: rgba(245,160,74,.32); background: rgba(245,160,74,.08); color: var(--amber); }
.tdetail__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.1; letter-spacing: -.04em; color: var(--ink); }
.tdetail__title.is-ar { font-weight: 600; line-height: 1.4; }
.tdetail__desc { color: var(--ink-2); font-size: 16px; line-height: 1.8; font-weight: 300; }
.ticks { display: grid; gap: 11px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ticks li i { flex: 0 0 22px; height: 22px; margin-top: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(62,230,181,.14); color: var(--ok); font-size: 10px; }
.tdetail__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.note { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }
.note i { margin-top: 3px; color: var(--teal-2); }

/* ═══════════════════════════════════════════════
   FORMS · ALERTS · PANELS
═══════════════════════════════════════════════ */
.panel { position: relative; padding: clamp(24px, 3.4vw, 44px); border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(17,30,56,.64), rgba(9,17,34,.78)); }
.input, .select, .textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(5,11,22,.62); color: var(--ink); font: 400 15px var(--f-body); outline: none;
  -webkit-appearance: none; appearance: none; transition: border-color .3s, box-shadow .3s, background .3s;
}
.textarea { height: auto; min-height: 140px; padding: 14px 16px; line-height: 1.7; resize: vertical; }
.select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2318dcc8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 11px;
}
[dir="rtl"] .select { padding-right: 16px; padding-left: 42px; background-position: left 16px center; }
.select option { background: #0b1120; color: var(--ink); }
.input::placeholder, .textarea::placeholder { color: #5d6d89; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(170,200,240,.26); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--teal-2); background: rgba(5,11,22,.85); box-shadow: 0 0 0 4px rgba(24,220,200,.12); }
.field { display: grid; gap: 9px; align-content: start; }
.field > label, .field__label { font: 500 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field > label small, .field__label small { letter-spacing: .06em; color: var(--ink-3); text-transform: none; }
[dir="rtl"] .field > label, [dir="rtl"] .field__label { font: 500 14px var(--f-ar); letter-spacing: 0; text-transform: none; }
[dir="rtl"] .input, [dir="rtl"] .textarea, [dir="rtl"] .select { font-family: var(--f-ar), var(--f-body); }
.field__err { display: none; font-size: 12.5px; color: #ff8a7a; }
[dir="rtl"] .field__err { font-family: var(--f-ar); font-size: 13px; }
.field.is-error .input, .field.is-error .select, .field.is-error .textarea { border-color: rgba(255,106,95,.75); box-shadow: 0 0 0 4px rgba(255,106,95,.1); }
.field.is-error .opt > span { border-color: rgba(255,106,95,.55); }
.field.is-error .field__err { display: block; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fgrid .full { grid-column: 1 / -1; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; padding: 16px 18px; border-radius: 16px; border: 1px solid; font-size: 14.5px; line-height: 1.65; }
.alert > i { margin-top: 4px; }
.alert strong { display: block; color: #fff; font-weight: 500; }
.alert--ok { color: #c9fbe9; border-color: rgba(62,230,181,.35); background: rgba(62,230,181,.08); }
.alert--ok > i { color: var(--ok); }
.alert--err { color: #ffd7d2; border-color: rgba(255,106,95,.4); background: rgba(255,106,95,.08); }
.alert--err > i { color: #ff8a7a; }
[dir="rtl"] .alert { font-family: var(--f-ar); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.form-foot .note { max-width: 40ch; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
.cinfo { display: grid; gap: 14px; }
.cline { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; border: 1px solid var(--line); background: rgba(9,17,34,.58); transition: border-color .35s, transform .5s var(--ease), background .35s; }
a.cline:hover { border-color: var(--line-hot); background: rgba(12,26,44,.75); transform: translateY(-3px); }
.cline__ico { flex: 0 0 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: rgba(24,220,200,.1); border: 1px solid rgba(24,220,200,.26); color: var(--teal-3); font-size: 18px; }
.cline--wa .cline__ico { background: rgba(59,224,122,.12); border-color: rgba(59,224,122,.36); color: #3be07a; font-size: 21px; }
.cline small { display: block; font: 500 10px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.cline strong { display: block; margin-top: 4px; font-size: 15.5px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.cline > .fa-arrow-right { margin-left: auto; font-size: 12px; color: var(--ink-3); transition: transform .4s var(--ease), color .3s; }
a.cline:hover > .fa-arrow-right { color: var(--teal-3); transform: translateX(4px); }
.cinfo .social { margin-top: 6px; }
.form-head { margin-bottom: 26px; }
.form-head h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.035em; }
.form-head p { margin-top: 8px; color: var(--ink-3); font-size: 14.5px; }

/* Project wizard (Build Your Website) */
.wiz { max-width: 980px; margin: 0 auto; }
.wiz__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.wiz__step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(9,17,34,.55); color: var(--ink-3); text-align: right; transition: color .35s, border-color .35s, background .35s; }
.wiz__step b { flex: 0 0 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); font: 600 12px var(--f-mono); transition: inherit; }
.wiz__step span { font: 500 14px var(--f-ar); }
.wiz__step.is-current { color: #fff; border-color: rgba(245,160,74,.45); background: rgba(245,160,74,.08); }
.wiz__step.is-current b { color: var(--amber); border-color: rgba(245,160,74,.55); }
.wiz__step.is-done { color: var(--ink-2); border-color: rgba(24,220,200,.28); }
.wiz__step.is-done b { color: #04121a; background: var(--teal-2); border-color: transparent; }
.wiz__bar { height: 3px; margin-bottom: 22px; border-radius: 3px; overflow: hidden; background: var(--line); }
.wiz__bar b { display: block; width: 25%; height: 100%; border-radius: inherit; background: linear-gradient(270deg, var(--teal), var(--teal-3)); margin-inline-start: 0; transition: width .6s var(--ease); }
.wiz__pane { border: 0; margin: 0; padding: 0; min-width: 0; }
.wiz__pane + .wiz__pane { margin-top: 22px; }
.js .wiz.is-ready .wiz__pane { display: none; }
.js .wiz.is-ready .wiz__pane.is-active { display: block; animation: paneIn .6s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wiz__head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.wiz__head .ico { flex: 0 0 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; background: rgba(245,160,74,.1); border: 1px solid rgba(245,160,74,.3); color: var(--amber); font-size: 20px; }
.wiz__head h2 { font: 600 clamp(19px, 2vw, 24px)/1.4 var(--f-ar); color: var(--ink); outline: none; }
.wiz__head p { margin-top: 2px; font: 400 14px var(--f-ar); color: var(--ink-3); }
.wiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.wiz__nav .btn { font-family: var(--f-ar), var(--f-body); }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt > span { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(5,11,22,.55); transition: border-color .3s, background .3s, box-shadow .3s, transform .4s var(--ease); }
.opt > span > i { flex: 0 0 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.04); color: var(--teal-3); font-size: 15px; transition: background .3s, color .3s; }
.opt > span > span { min-width: 0; }
.opt strong { display: block; font: 500 14.5px/1.35 var(--f-ar); color: var(--ink); }
.opt small { display: block; margin-top: 3px; font: 400 12.5px/1.5 var(--f-ar); color: var(--ink-3); }
.opt:hover > span { border-color: rgba(170,200,240,.3); transform: translateY(-2px); }
.opt input:checked + span { border-color: var(--teal-2); background: rgba(24,220,200,.08); box-shadow: 0 0 0 4px rgba(24,220,200,.08); }
.opt input:checked + span > i { background: var(--teal-2); color: #04121a; }
.opt input:focus-visible + span { outline: 2px solid var(--teal-2); outline-offset: 2px; }
.wiz-sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wiz-sum > div { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(5,11,22,.45); }
.wiz-sum dt { font: 500 12.5px var(--f-ar); color: var(--ink-3); }
.wiz-sum dd { margin-top: 4px; font: 500 14.5px/1.6 var(--f-ar); color: var(--ink); overflow-wrap: anywhere; white-space: pre-line; max-height: 7.5em; overflow: hidden; }
.wiz-sum dd.is-empty { color: var(--ink-3); }
.attach { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px dashed rgba(59,224,122,.4); background: rgba(59,224,122,.06); font: 400 14px/1.7 var(--f-ar); color: var(--ink-2); }
.attach > i { flex: 0 0 auto; font-size: 22px; color: #3be07a; }
.attach a { color: #3be07a; font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 920px; margin-inline: auto; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: rgba(9,17,34,.58); transition: border-color .35s, background .35s; }
.faq details[open] { border-color: rgba(24,220,200,.3); background: rgba(12,26,44,.75); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; cursor: pointer; list-style: none; font: 500 16.5px/1.45 var(--f-body); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 2px; border-radius: 18px; }
.faq summary i { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 11px; color: var(--teal-3); transition: transform .45s var(--ease), background .3s; }
.faq details[open] summary i { transform: rotate(45deg); background: rgba(24,220,200,.12); }
.faq__a { padding: 0 22px 22px; max-width: 74ch; color: var(--ink-2); font-weight: 300; line-height: 1.8; }

/* Services: complementary services */
.extras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.extra { padding: 24px 22px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(17,30,56,.52), rgba(9,17,34,.68)); transition: border-color .4s, transform .6s var(--ease); }
.extra:hover { border-color: rgba(245,160,74,.32); transform: translateY(-4px); }
.extra__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(245,160,74,.1); border: 1px solid rgba(245,160,74,.28); color: var(--amber); font-size: 17px; }
.extra h3 { margin: 18px 0 8px; font-family: var(--f-display); font-weight: 500; font-size: 17px; letter-spacing: -.02em; }
.extra p { font-size: 14px; line-height: 1.65; font-weight: 300; color: var(--ink-2); }

/* ═══════════════════════════════════════════════
   BLOG · ARTICLE
═══════════════════════════════════════════════ */
.feature { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(17,30,56,.66), rgba(9,17,34,.8)); transition: border-color .4s, box-shadow .5s; }
.feature:hover { border-color: rgba(24,220,200,.32); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 50px -20px rgba(24,220,200,.35); }
.feature__media { position: relative; min-height: 320px; overflow: hidden; background: #0a1426; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.04); }
.feature__body { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px, 4vw, 56px); }
.feature__title { font: 600 clamp(24px, 2.6vw, 36px)/1.45 var(--f-ar); color: var(--ink); }
.feature__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.feature__ex { font: 400 16px/1.95 var(--f-ar); color: var(--ink-2); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font: 500 12px var(--f-mono); letter-spacing: .08em; color: var(--ink-3); }
.meta i { margin-inline-end: 6px; color: var(--teal-2); }
.meta--ar { font: 500 13.5px var(--f-ar); letter-spacing: 0; }
.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.acard { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(17,30,56,.66), rgba(9,17,34,.8)); transition: transform .6s var(--ease), border-color .4s; }
.acard:hover { transform: translateY(-5px); border-color: rgba(24,220,200,.32); }
.acard__media { aspect-ratio: 16 / 9; overflow: hidden; background: #0a1426; }
.acard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.acard:hover .acard__media img { transform: scale(1.05); }
.acard__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 20px 22px 22px; }
.acard__title { font: 600 18px/1.55 var(--f-ar); color: var(--ink); }
.acard__title a::after { content: ''; position: absolute; inset: 0; }
.dgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dcard { position: relative; display: block; aspect-ratio: 1; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #0a1426; cursor: zoom-in; }
.dcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,10,20,.92)); transition: opacity .5s; }
.dcard__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 20px 22px; }
.dcard__cap strong { font-family: var(--f-display); font-weight: 400; font-size: 17px; line-height: 1.3; letter-spacing: -.02em; color: #fff; }
.dcard__cap i { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: 12px; color: #fff; transition: background .3s, transform .5s var(--ease); }
.dcard:hover img { transform: scale(1.06); }
.dcard:hover .dcard__cap i { background: var(--teal-2); color: #04121a; transform: rotate(-12deg); }

.article { max-width: 860px; margin: 0 auto; }
.article__head { text-align: right; }
.article__title { margin: 22px 0 22px; font: 600 clamp(30px, 4.2vw, 54px)/1.4 var(--f-ar); color: var(--ink); }
.article__media { margin: 34px 0 44px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #0a1426; cursor: zoom-in; }
.article__media img { width: 100%; height: auto; }
.article__body { font: 400 clamp(17px, 1.3vw, 19px)/2.05 var(--f-ar); color: #d3dcea; }
.article__body p + p { margin-top: 1.1em; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.share strong { margin-inline-end: 8px; font: 600 15px var(--f-ar); color: var(--ink); }
.share a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--ink-2); font-size: 16px; transition: color .3s, border-color .3s, background .3s, transform .45s var(--ease); }
.share a:hover { color: #fff; border-color: var(--line-hot); background: rgba(24,220,200,.12); transform: translateY(-3px); }

/* ═══════════════════════════════════════════════
   PORTFOLIO — case rows
═══════════════════════════════════════════════ */
.cases { display: grid; gap: clamp(64px, 9vw, 120px); }
.case { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.case:nth-child(even) .case__media { order: 2; }
.case__media { position: relative; display: block; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #0a1426; cursor: zoom-in; box-shadow: 0 40px 90px -45px rgba(0,0,0,.9); }
.case__media img { width: 100%; height: auto; transition: transform 1.4s var(--ease); }
.case__media:hover img { transform: scale(1.035); }
.case__media::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); pointer-events: none; }
.case__zoom { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: rgba(5,10,20,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); font: 500 10.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease); }
.case__media:hover .case__zoom, .case__media:focus-visible .case__zoom { opacity: 1; transform: none; }
.case__num { display: flex; align-items: center; gap: 14px; font: 500 11px var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--teal-2); }
.case__num::after { content: ''; flex: 0 0 56px; height: 1px; background: linear-gradient(90deg, var(--teal-2), transparent); }
.case__title { margin: 18px 0 16px; font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.7vw, 40px); line-height: 1.14; letter-spacing: -.035em; color: var(--ink); }
.case__desc { color: var(--ink-2); font-weight: 300; line-height: 1.85; }
.case__more { margin-top: 26px; }

/* ═══════════════════════════════════════════════
   404
═══════════════════════════════════════════════ */
.nf { text-align: center; }
.nf__code { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(110px, 22vw, 270px); line-height: .9; letter-spacing: -.07em; background: linear-gradient(180deg, #ffffff 10%, rgba(95,245,228,.32)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.nf .pcmd { margin-top: 30px; }
.nf .pcmd .err { color: #ff8a7a; }
.nf__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE (inner pages)
═══════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .phero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .phero__aside { justify-self: start; max-width: none; }
  .tgrid, .agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tdetail, .contact, .feature { grid-template-columns: minmax(0, 1fr); }
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case { grid-template-columns: minmax(0, 1fr); }
  .case:nth-child(even) .case__media { order: 0; }
}
@media (max-width: 760px) {
  .tgrid, .agrid, .flow, .extras { grid-template-columns: minmax(0, 1fr); }
  .flow__item::after { display: none; }
  .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dcard__cap { padding: 14px; }
  .dcard__cap strong { font-size: 14px; }
  .dcard__cap i { display: none; }
  .fgrid, .wiz-sum, .opts--3 { grid-template-columns: minmax(0, 1fr); }
  .tbar { padding: 10px; border-radius: 18px; }
  .tsearch { width: 100%; }
  .tsearch__box { flex: 1 1 100%; }
  .tsearch .input { width: 100%; }
  .tsearch .select { flex: 1; }
  .wiz__step { justify-content: center; padding: 10px; }
  .wiz__step span { display: none; }
  .feature__media { min-height: 220px; aspect-ratio: 16 / 9; }
  .case__zoom { opacity: 1; transform: none; }
  .phero__stats > div { padding-right: 18px; margin-right: 18px; }
  .tdetail__zoom { display: none; }
}
@media (hover: none) {
  .case__zoom { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js :is(.hero, .phero) [data-in] { opacity: 1 !important; transform: none !important; }
  .ta-shot, .ta-panel { transition: none !important; }
}

/* Arabic headings: serif italic accents fall back to the Arabic face */
.is-ar em { font-family: var(--f-ar) !important; font-style: normal !important; font-size: 1em !important; font-weight: 600; letter-spacing: 0 !important; }
.h2.is-ar { line-height: 1.35; font-weight: 600; }
.article__title.is-en { font-family: var(--f-display); font-weight: 400; line-height: 1.12; letter-spacing: -.04em; }
.nf .phero__title { max-width: 18ch; margin: 18px auto 0; }
.nf .phero__lead { margin-inline: auto; }
.tdetail-sec .crumbs { margin-bottom: clamp(26px, 3.4vw, 44px); }
.themes-show .ta { margin-top: 6px; }

/* ═══════════════════════════════════════════════
   SUCCESS PARTNERS — client logos
   Logos sit in monochrome and come to colour on hover (always in colour on touch screens).
═══════════════════════════════════════════════ */
.sec.partners { padding: clamp(36px, 5vw, 70px) 0 clamp(24px, 3vw, 44px); }
.sec.partners + .sec { padding-top: clamp(72px, 7.5vw, 104px); }
.partners__head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(30px, 3.6vw, 48px); }
.partners__head .eyebrow { margin-bottom: 16px; }
.partners__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 3vw, 42px); line-height: 1.1; letter-spacing: -.04em; color: var(--ink); }
.partners__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.16em; letter-spacing: -.01em; color: var(--teal-3); }
.partners__lead { max-width: 62ch; margin-top: 14px; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; font-weight: 300; }
.partners__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.partner {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; height: 176px; padding: 34px 24px 22px;
  border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 0%, rgba(24,220,200,.05), transparent 60%), linear-gradient(180deg, rgba(17,30,56,.58), rgba(9,17,34,.74));
  transition: border-color .45s, box-shadow .6s, transform .7s var(--ease);
}
.js .partner[data-reveal] { transition: opacity 1s var(--ease) var(--rd, 0s), transform 1.1s var(--ease) var(--rd, 0s), border-color .45s, box-shadow .6s; }
.partner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(24,220,200,.11), transparent 50%); opacity: 0; transition: opacity .5s; }
.partner::after { content: ''; position: absolute; top: -30%; bottom: -30%; left: -45%; width: 32%; z-index: 1; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); transform: skewX(-18deg); transition: left 1.1s var(--ease); }
.partner:hover { border-color: rgba(24,220,200,.32); box-shadow: 0 34px 70px -40px rgba(0,0,0,.95), 0 0 44px -20px rgba(24,220,200,.4); }
.js .partner[data-reveal].in:hover, .partner:hover { transform: translateY(-5px); }
.partner:hover::before { opacity: 1; }
.partner:hover::after { left: 120%; }
.partner img { height: var(--h, 60px); width: auto; max-width: 88%; object-fit: contain; filter: grayscale(1) brightness(1.45) contrast(.92); opacity: .74; transition: filter .7s var(--ease), opacity .5s, transform .8s var(--ease); }
.partner:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.partner__tag { position: absolute; left: 20px; top: 16px; font: 500 9.5px var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); transition: color .4s; }
.partner:hover .partner__tag { color: var(--teal-2); }
@media (hover: none) {
  .partner img { filter: none; opacity: 1; }
}
@media (max-width: 760px) {
  .partners__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .partner { height: 138px; padding-top: 30px; }
  .partner img { height: calc(var(--h, 60px) * .86); }
}

/* ═══════════════════════════════════════════════
   DEVTOOLS GUARD — full-page cover shown while devtools looks open (see assets/js/kbx.js)
═══════════════════════════════════════════════ */
.dt-guard { position: fixed; inset: 0; z-index: 2147483000; display: none; align-items: center; justify-content: center; padding: 24px; text-align: center; background: var(--void); }
.dt-guard.is-open { display: flex; }
.dt-guard__ico { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center; background: rgba(24,220,200,.08); border: 1px solid rgba(24,220,200,.22); color: var(--teal-3); font-size: 20px; }
.dt-guard p { max-width: 42ch; margin: 0 auto; font: 400 16px/1.75 var(--f-body); color: var(--ink-2); }
