/* =========================================================
   QAMAR ALNAJAH — audio-visual & recording trade, Al Fahidi
   Direction: dark instrument-panel hero, light card body,
   electric blue accent, Manrope + JetBrains Mono + Kufi.
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body, h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

:root {
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --ink: #0A0D12;
  --ink-soft: #151B25;
  --body: #4C5666;
  --muted: #7B8697;
  --line: #E4E7EC;
  --line-2: #D7DCE4;
  --blue: #2B5CFF;
  --blue-hi: #5B8CFF;
  --cyan: #7BE7FF;
  --red: #FF4D2E;
  --dark: #06080C;
  --dark-2: #0A0E15;
  --on-dark: #EDF2FA;
  --on-dark-muted: #98A5B8;
  --dark-line: rgba(255, 255, 255, .1);
  --dark-line-2: rgba(255, 255, 255, .18);

  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ar: 'Noto Kufi Arabic', 'Geeza Pro', sans-serif;

  --gut: clamp(16px, 3.2vw, 44px);
  --wrap: 1240px;
  --section-y: clamp(64px, 8vw, 120px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 20px;
}

html, body { background: var(--bg); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible { outline-color: var(--cyan); }

.mono {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  transform: translateY(-200%);
  background: var(--blue); color: #fff;
  padding: 10px 16px; border-radius: 10px;
  font-size: .8rem; font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip:focus { transform: translateY(0); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-hi);
  box-shadow: 0 0 0 4px rgba(91, 140, 255, .16);
  flex: 0 0 auto;
}
.dot--rec {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 77, 46, .16);
  animation: rec 2.6s infinite;
}
@keyframes rec {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 77, 46, .18); }
  50% { box-shadow: 0 0 0 6px rgba(255, 77, 46, .05); }
}

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap;
  background: var(--blue);
  color: #EAF0FF;
  font-size: .78rem;
  padding: 9px var(--gut);
  text-align: center;
}
.topbar a {
  color: #fff; font-weight: 700; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  padding-bottom: 1px;
}
.topbar a:hover { border-color: #fff; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 10px; z-index: 60;
  padding: 10px var(--gut) 0;
}
.nav__bar {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px);
  height: 64px;
  padding: 0 10px 0 18px;
  border-radius: 999px;
  background: rgba(8, 11, 17, .82);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, .8);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff; white-space: nowrap;
}
.brand__mark {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(160deg, rgba(43, 92, 255, .9), rgba(123, 231, 255, .35));
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(43, 92, 255, .9);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__en { font-size: .9rem; font-weight: 700; letter-spacing: -.01em; }
.brand__ar { font-family: var(--ar); font-size: .62rem; color: var(--on-dark-muted); }

.nav__links { display: flex; gap: clamp(12px, 2vw, 26px); margin-left: auto; }
.nav__links a {
  font-size: .82rem; font-weight: 500;
  color: rgba(237, 242, 250, .68);
  text-decoration: none; padding: 6px 2px;
  transition: color .2s var(--ease);
}
.nav__links a:hover { color: #fff; }

.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--on-dark);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.nav__icon:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); }
.nav__toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: .9rem; font-weight: 700; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .82rem; border-radius: 10px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #3E6DFF, #2B5CFF);
  border-color: #4B76FF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 24px -12px rgba(43, 92, 255, .95);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 16px 30px -12px rgba(43, 92, 255, 1);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  color: var(--on-dark);
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .18);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.btn--ghost-dark {
  color: var(--ink); background: #fff; border-color: var(--line-2);
}
.btn--ghost-dark:hover { background: #F7F8FA; border-color: #C9D1DD; }
.section--dark .btn--ghost-dark {
  color: var(--on-dark);
  background: rgba(255, 255, 255, .03);
  border-color: rgba(255, 255, 255, .16);
}
.section--dark .btn--ghost-dark:hover { background: rgba(255, 255, 255, .12); }

.linkish {
  display: inline-block; padding: 0 0 2px;
  background: none; border: 0; border-bottom: 1px solid var(--line-2);
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  cursor: pointer; text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.linkish:hover { color: var(--ink); border-color: var(--ink); }
.section--dark .linkish { color: var(--on-dark-muted); border-color: var(--dark-line-2); }
.section--dark .linkish:hover { color: #fff; border-color: #fff; }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(10, 13, 18, .04);
  font-size: .76rem; font-weight: 600; color: var(--body);
  letter-spacing: .005em;
}
.chip__num {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .12em;
  color: var(--blue);
  padding-right: 9px;
  border-right: 1px solid var(--line);
}
.chip--dark {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
  color: rgba(237, 242, 250, .78);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.chip--dark .chip__num { color: var(--cyan); border-right-color: rgba(255, 255, 255, .14); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  margin-top: -84px;
  padding: 132px 0 0;
  background: var(--dark);
  color: var(--on-dark);
  border-radius: 0 0 34px 34px;
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 60% 30%, #000 20%, transparent 75%);
}
.hero__glow {
  position: absolute; inset: -20% -10% auto;
  height: 90%;
  background:
    radial-gradient(45% 50% at 72% 42%, rgba(43, 92, 255, .42), transparent 70%),
    radial-gradient(30% 34% at 22% 12%, rgba(123, 231, 255, .12), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.hero__copy { padding: clamp(16px, 2vw, 34px) 0 clamp(26px, 3.4vw, 44px); }
.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(2.35rem, 5.1vw, 4.35rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
  max-width: 15ch;
  background: linear-gradient(180deg, #FFFFFF 30%, #C8D5EC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not (background-clip: text) { .hero h1 { color: #fff; } }
.hero__lede {
  margin-top: 18px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.6;
  color: rgba(232, 240, 252, .66);
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 14px 34px;
  margin-top: 34px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero__meta dt { font-family: var(--mono); font-size: .56rem; letter-spacing: .14em; color: var(--on-dark-muted); }
.hero__meta dd { margin: 3px 0 0; font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .9); font-variant-numeric: tabular-nums; }

/* ---------- 3D console ---------- */
.stage {
  position: relative;
  height: clamp(380px, 34vw, 480px);
  display: grid; place-items: center;
  perspective: 1500px;
  perspective-origin: 50% 45%;
  isolation: isolate;
}
.stage__floor {
  position: absolute; inset: 6% 0 0;
  background:
    radial-gradient(50% 45% at 52% 46%, rgba(43, 92, 255, .38), transparent 72%),
    radial-gradient(30% 24% at 40% 64%, rgba(123, 231, 255, .12), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}
.console3d {
  position: relative;
  width: 500px; height: 330px;
  --tiltX: 0deg;
  --tiltZ: 0deg;
  --scale: .96;
  transform: rotateX(calc(56deg + var(--tiltX))) rotateZ(calc(-38deg + var(--tiltZ))) scale(var(--scale));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
  will-change: transform;
}
.panel {
  position: absolute;
  border-radius: 12px;
  transform-style: preserve-3d;
}
.panel--desk {
  left: 10px; top: 30px;
  width: 470px; height: 290px;
  padding: 18px 20px 14px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 40%),
    linear-gradient(160deg, #1A2333, #0B1018 70%);
  border: 1px solid rgba(122, 160, 255, .22);
  box-shadow:
    0 60px 70px -40px rgba(0, 0, 0, .95),
    0 0 70px -22px rgba(59, 124, 255, .55),
    inset 0 1px 0 rgba(255, 255, 255, .1);
  transform: translateZ(0);
}
.panel--screen {
  left: 52px; top: -52px;
  width: 372px; height: 162px;
  padding: 12px 14px 10px;
  background: linear-gradient(165deg, #0F1726, #070B12);
  border: 1px solid rgba(90, 140, 255, .32);
  box-shadow: 0 50px 60px -40px #000, 0 0 50px -14px rgba(59, 124, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .07);
  transform: translateZ(96px);
  overflow: hidden;
}
.screen__bar {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 7.5px; letter-spacing: .16em;
  color: rgba(180, 205, 255, .7);
  padding-bottom: 8px;
}
.screen__wave { width: 100%; height: 82px; }
.screen__scale {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 7px; letter-spacing: .1em;
  color: rgba(150, 180, 230, .55);
  border-top: 1px solid rgba(90, 140, 255, .18);
  padding-top: 6px;
}
.desk__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.meters { display: flex; align-items: flex-end; gap: 12px; height: 58px; }
.meter { display: flex; align-items: flex-end; gap: 3px; height: 58px; }
.meter i {
  display: block; width: 5px; height: 100%;
  border-radius: 2px 2px 1px 1px;
  background: linear-gradient(180deg, #9FE9FF, #3B7CFF 55%, #1B47C8);
  transform-origin: bottom;
  transform: scaleY(var(--h));
  box-shadow: 0 0 10px rgba(59, 124, 255, .55);
  animation: meter 2.8s var(--ease) infinite alternate;
}
.meter i:nth-child(2n) { animation-duration: 2.1s; animation-delay: -.7s; }
.meter i:nth-child(3n) { animation-duration: 3.4s; animation-delay: -1.4s; }
.meter i:nth-child(4n) { animation-duration: 1.7s; animation-delay: -.3s; }
@keyframes meter {
  from { transform: scaleY(calc(var(--h) * .55)); }
  to { transform: scaleY(var(--h)); }
}
.knobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 10px; padding-top: 2px; }
.knob {
  width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #3A4356, #131A26 70%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12);
  display: grid; place-items: center;
}
.knob i { display: block; width: 2px; height: 8px; background: #9FE9FF; border-radius: 2px; transform: translateY(-5px) rotate(24deg); }
.knob:nth-child(2) i { transform: translateY(-5px) rotate(-42deg); }
.knob:nth-child(3) i { transform: translateY(-5px) rotate(68deg); }
.knob:nth-child(4) i { transform: translateY(-5px) rotate(-8deg); }
.knob:nth-child(5) i { transform: translateY(-5px) rotate(50deg); }
.knob:nth-child(6) i { transform: translateY(-5px) rotate(-64deg); }

.faders {
  display: flex; justify-content: space-between; gap: 6px;
  margin-top: 18px; height: 118px;
}
.fader {
  position: relative; flex: 1 1 0;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .07);
}
.fader::before {
  content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px;
  transform: translateX(-50%);
  background: #05070B;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  border-radius: 2px;
}
.fader i {
  position: absolute; left: 50%; bottom: var(--v);
  width: 26px; height: 13px; margin-left: -13px;
  border-radius: 3px;
  background: linear-gradient(180deg, #E9EFFB, #A9B6CB 55%, #6F7C92);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .6), inset 0 1px 0 #fff;
}
.fader i::after {
  content: ""; position: absolute; left: 4px; right: 4px; top: 5px; height: 2px;
  background: rgba(20, 26, 38, .55); border-radius: 1px;
}
.desk__foot {
  display: flex; justify-content: space-between;
  margin-top: 12px;
  font-family: var(--mono); font-size: 7px; letter-spacing: .18em;
  color: rgba(170, 195, 235, .45);
}
.float {
  position: absolute;
  z-index: 3;
  animation: floaty 7s ease-in-out infinite alternate;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10, 15, 24, .88);
  border: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--mono); font-size: 8px; letter-spacing: .12em;
  color: #DCE8FA;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.float strong { color: #fff; font-family: var(--sans); font-size: 12px; letter-spacing: 0; }
.float--rec { right: 1%; top: 6%; }
.float--stock { left: 0; bottom: 7%; animation-delay: -3.5s; }
@keyframes floaty {
  from { transform: translateY(0); }
  to { transform: translateY(-7px); }
}

/* ---------- ticker ---------- */
.ticker {
  position: relative;
  margin-top: clamp(20px, 3vw, 34px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .02);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex; align-items: center; gap: 0;
  width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker__track span {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 15px 22px;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(237, 242, 250, .45);
  white-space: nowrap;
}
.ticker__track span::after {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(123, 231, 255, .5);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: var(--section-y) 0; }
.section--dark {
  position: relative;
  margin: 0 clamp(8px, 1.2vw, 16px);
  border-radius: 32px;
  background:
    radial-gradient(70% 60% at 80% 0%, rgba(43, 92, 255, .16), transparent 65%),
    var(--dark-2);
  color: var(--on-dark);
  overflow: hidden;
}
.section--dark::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(90% 60% at 50% 0%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(90% 60% at 50% 0%, #000, transparent 80%);
  pointer-events: none;
}
.section--dark > .wrap { position: relative; }

.head {
  display: grid; justify-items: center; text-align: center;
  gap: 16px;
  margin: 0 auto clamp(36px, 4.4vw, 60px);
  max-width: 820px;
}
.head h2 {
  font-size: clamp(1.95rem, 4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.head__note {
  max-width: 58ch;
  color: var(--body);
  font-size: .98rem;
  line-height: 1.62;
  text-wrap: pretty;
}
.head--dark .head__note { color: var(--on-dark-muted); }

/* ---------- supply cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}
.card {
  grid-column: span 2;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(10, 13, 18, .05), 0 10px 24px -22px rgba(10, 13, 18, .35);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card--wide { grid-column: span 3; }
.card:hover {
  transform: translateY(-4px);
  border-color: #CED6E4;
  box-shadow: 0 2px 4px rgba(10, 13, 18, .05), 0 30px 50px -28px rgba(24, 42, 90, .45);
}
.card__art {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #090D14;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.card--wide .card__art { aspect-ratio: 2 / 1; }
.card__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.04) brightness(.96);
  transform: scale(1.02);
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
}
.card:hover .card__art img { transform: scale(1.06); filter: saturate(.95) contrast(1.05) brightness(1); }
.art--audio img { object-position: 64% 50%; }
.card__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 12, 0) 45%, rgba(6, 8, 12, .5) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  pointer-events: none;
}
.card__body { padding: clamp(18px, 2vw, 24px) clamp(18px, 2vw, 26px) clamp(20px, 2.2vw, 26px); }
.card__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px;
  min-height: 34px;
}
.card__num {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
  white-space: nowrap; flex: 0 0 auto; padding-top: 2px;
}
.card h3 {
  margin: 8px 0 12px;
  font-size: clamp(1.14rem, 1.45vw, 1.34rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.025em;
  max-width: 26ch;
}
.card__ar {
  font-family: var(--ar);
  font-size: .64rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: right;
  max-width: 52%;
  margin: 0;
}
.card__list li {
  font-size: .84rem;
  color: var(--body);
  padding: 7px 0;
  border-top: 1px solid #EFF2F6;
}
.card__list li:first-child { border-top: 0; padding-top: 2px; }
.supply__foot {
  margin-top: clamp(22px, 3vw, 32px);
  font-size: .78rem;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------- chain ---------- */
.chain__tabs {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 4px;
  width: fit-content;
  margin: 0 auto clamp(26px, 3.4vw, 40px);
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
}
.chain__tab {
  border: 0; background: none; cursor: pointer;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .82rem; font-weight: 600;
  color: rgba(237, 242, 250, .6);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.chain__tab:hover { color: #fff; }
.chain__tab[aria-selected="true"] {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.chain__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.rack { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.slot {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 14px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.slot:hover { background: rgba(255, 255, 255, .055); border-color: rgba(255, 255, 255, .16); }
.slot__no { font-family: var(--mono); font-size: .56rem; letter-spacing: .14em; color: var(--on-dark-muted); }
.slot__name { font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.slot__items {
  flex: 1 1 auto;
  font-size: .82rem; line-height: 1.5;
  color: var(--on-dark-muted);
  text-wrap: pretty;
}
.tick {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; width: fit-content; margin-top: 6px;
}
.tick input { position: absolute; opacity: 0; width: 16px; height: 16px; margin: 0; }
.tick__box {
  width: 14px; height: 14px; border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .28);
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.tick input:checked + .tick__box {
  background: var(--blue);
  border-color: var(--blue-hi);
  box-shadow: 0 0 0 3px rgba(43, 92, 255, .18);
}
.tick input:focus-visible + .tick__box { outline: 2px solid var(--cyan); outline-offset: 3px; }
.tick__text { font-size: .62rem; font-weight: 600; color: var(--on-dark-muted); }
.tick input:checked ~ .tick__text { color: #fff; }

.compose {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 220px);
  gap: clamp(18px, 2.4vw, 32px);
  padding: clamp(18px, 2vw, 24px);
  border-radius: 18px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  align-items: start;
}
.compose__title { font-size: 1rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 12px; }
.compose__needs { margin-bottom: 0; }
.compose__doc { min-width: 0; }
.compose__side { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.compose__side .linkish { margin-top: 4px; text-align: left; }
.compose__needs li {
  font-size: .8rem; color: var(--on-dark-muted);
  padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .07);
}
.compose__needs li:first-child { border-top: 0; }
.compose__label { font-family: var(--mono); font-size: .56rem; letter-spacing: .14em; color: var(--on-dark-muted); text-transform: uppercase; }
.compose__preview {
  margin: 8px 0 0;
  padding: 12px;
  min-height: 128px; max-height: 220px; overflow: auto;
  border-radius: 10px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--mono); font-size: .64rem; line-height: 1.7;
  color: rgba(237, 242, 250, .86);
  white-space: pre-wrap; word-break: break-word;
}
.compose [data-copy] { margin-top: 4px; }

/* ---------- process ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}
.step {
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(10, 13, 18, .04);
}
.step__no {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(43, 92, 255, .08);
  border: 1px solid rgba(43, 92, 255, .2);
  color: var(--blue);
  font-size: .64rem;
  margin-bottom: clamp(18px, 2.6vw, 30px);
}
.step h3 { font-size: clamp(1.1rem, 1.4vw, 1.28rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: 8px; }
.step p:last-child { font-size: .9rem; line-height: 1.6; color: var(--body); max-width: 36ch; }
.process__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 14px 40px;
  margin-top: clamp(24px, 3vw, 36px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.process__foot p { font-size: .8rem; line-height: 1.6; color: var(--muted); max-width: 76ch; }

/* ---------- credentials ---------- */
.cred {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr);
  gap: clamp(14px, 1.8vw, 20px);
  align-items: stretch;
}
.cred__stamp {
  position: relative;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(43, 92, 255, .08), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(10, 13, 18, .04);
}
.cred__label { font-family: var(--mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cred__trn {
  margin: 8px 0 12px;
  font-size: clamp(1.3rem, 2.2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.cred__stamp-note { font-size: .84rem; line-height: 1.6; color: var(--body); max-width: 38ch; }
.cred__seal { position: absolute; right: 18px; bottom: 16px; color: var(--blue); opacity: .55; }

.cred__table {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(10, 13, 18, .04);
}
.cred__table > div {
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
  gap: 16px;
  padding: 11px clamp(16px, 2vw, 24px);
  border-bottom: 1px solid #EFF2F6;
}
.cred__table > div:last-child { border-bottom: 0; }
.cred__table > div:nth-child(odd) { background: #FBFCFE; }
.cred__table dt { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.cred__table dd { font-size: .88rem; line-height: 1.5; }
.cred__table dd[lang="ar"] { font-family: var(--ar); font-size: .8rem; line-height: 1.95; }

/* ---------- visit ---------- */
.visit__body {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.visit__contact { display: flex; flex-direction: column; align-items: flex-start; }
.visit__contact .cred__label { color: var(--on-dark-muted); margin-top: 20px; }
.visit__contact .cred__label:first-child { margin-top: 0; }
.visit__phone {
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 800; letter-spacing: -.03em;
  text-decoration: none; margin-top: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.visit__phone:hover { color: var(--cyan); border-color: var(--cyan); }
.visit__mail { margin-top: 4px; font-size: .95rem; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .16); padding-bottom: 1px; overflow-wrap: anywhere; }
.visit__mail:hover { border-color: #fff; }
.visit__address { font-style: normal; margin-top: 4px; font-size: .95rem; line-height: 1.6; color: rgba(237, 242, 250, .8); }
.visit__contact .btn { margin-top: 26px; }

.map {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .025);
  overflow: hidden;
}
.map__svg { width: 100%; height: auto; }
.map__water { fill: rgba(43, 92, 255, .12); }
.map__shore { fill: none; stroke: rgba(123, 231, 255, .45); stroke-width: 1; }
.map__blocks rect { fill: rgba(255, 255, 255, .055); stroke: rgba(255, 255, 255, .18); stroke-width: 1; }
.map__fort { fill: none !important; stroke: rgba(255, 255, 255, .5) !important; }
.map__roads path { stroke: rgba(255, 255, 255, .16); stroke-width: 1.2; fill: none; }
.map__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .09em;
  text-transform: uppercase; fill: rgba(237, 242, 250, .68);
}
.map__label--water { fill: rgba(123, 231, 255, .55); font-size: 10px; letter-spacing: .18em; }
.map__label--road { fill: rgba(237, 242, 250, .45); font-size: 9.5px; letter-spacing: .14em; }
.map__metro circle { fill: #0A0E15; stroke: rgba(255, 255, 255, .45); stroke-width: 1.2; }
.map__metro path { stroke: rgba(255, 255, 255, .45); stroke-width: 1.2; }
.map__pin-dot { fill: var(--red); }
.map__pulse { fill: none; stroke: var(--red); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: map-pulse 3.4s var(--ease) infinite; }
.map__leader { stroke: rgba(255, 255, 255, .35); stroke-width: 1; fill: none; }
.map__pin-label { fill: #fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; dominant-baseline: middle; }
.map__north path { stroke: rgba(255, 255, 255, .4); stroke-width: 1.2; fill: none; }
.map__cap {
  font-family: var(--mono); font-size: .56rem; letter-spacing: .1em;
  color: var(--on-dark-muted);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 8px 12px; text-transform: uppercase;
}
@keyframes map-pulse {
  0% { transform: scale(.45); opacity: .9; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ---------- footer ---------- */
.footer {
  background: var(--dark);
  color: var(--on-dark);
  padding: clamp(40px, 5vw, 72px) 0 clamp(20px, 3vw, 32px);
  margin-top: clamp(32px, 4vw, 56px);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 60px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer__ar { font-family: var(--ar); font-size: 1.5rem; font-weight: 600; color: #fff; }
.footer__en { font-size: 1rem; font-weight: 700; margin-top: 2px; }
.footer__legal { font-size: .8rem; color: var(--on-dark-muted); margin-top: 6px; max-width: 42ch; line-height: 1.6; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.footer__label { font-family: var(--mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 6px; }
.footer__cols a, .footer__cols p:not(.footer__label) { display: block; font-size: .84rem; color: rgba(237, 242, 250, .82); text-decoration: none; margin-top: 5px; overflow-wrap: anywhere; }
.footer__cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 30px;
  padding-top: 16px;
  font-size: .72rem; color: var(--on-dark-muted);
}

/* ---------- reveals ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .map__pulse { display: none; }
}

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 1120px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    cursor: pointer;
  }
  .nav__toggle-bars { display: flex; flex-direction: column; gap: 4px; width: 14px; }
  .nav__toggle-bars i { display: block; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars i:first-child { transform: translateY(2.75px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars i:last-child { transform: translateY(-2.75px) rotate(-45deg); }
  .nav__actions { margin-left: auto; }
  .nav__panel {
    max-width: var(--wrap);
    margin: 8px auto 0;
    padding: 12px 18px 18px;
    border-radius: 20px;
    background: rgba(8, 11, 17, .96);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 30px 60px -30px #000;
    backdrop-filter: blur(18px);
  }
  .nav__panel a {
    display: flex; align-items: baseline; gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: var(--on-dark); text-decoration: none;
    font-size: 1rem; font-weight: 600;
  }
  .nav__panel a .mono { font-size: .56rem; color: var(--on-dark-muted); }
  .nav__panel-call { border-bottom: 0 !important; color: var(--cyan) !important; font-family: var(--mono); font-size: .82rem !important; }

  .hero { padding-top: 140px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { padding-bottom: 8px; }
  .stage { height: clamp(340px, 52vw, 460px); margin-top: 8px; }
  .rack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compose { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .compose__side { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .compose__side .linkish { margin-top: 0; }
  .cred { grid-template-columns: minmax(0, 1fr); }
  .cred__stamp { max-width: 520px; }
}

@media (max-width: 820px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card--wide { grid-column: span 1; }
  .card__art, .card--wide .card__art { aspect-ratio: 16 / 10; }
  .card__head { display: block; min-height: 0; }
  .card__ar { margin-top: 5px; max-width: 100%; text-align: right; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step__no { margin-bottom: 22px; }
  .visit__body { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .rack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compose { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 18ch; }
}

@media (max-width: 560px) {
  .topbar { font-size: .68rem; gap: 10px; padding: 7px 12px; }
  .topbar p { display: none; }
  .nav { top: 6px; padding: 8px 10px 0; }
  .nav__bar { height: 56px; padding: 0 8px 0 12px; }
  .brand__en { font-size: .82rem; }
  .brand__ar { font-size: .56rem; }
  .brand__mark { width: 26px; height: 26px; border-radius: 8px; }

  .hero { margin-top: -72px; padding-top: 118px; border-radius: 0 0 24px 24px; }
  .hero__inner { padding: 0 16px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero__meta { gap: 12px 22px; }
  .hero__meta dd { font-size: .8rem; }
  .stage { height: 232px; margin-top: -8px; }
  .console3d { --scale: .42; }
  .float { display: none; }
  .compose__side { flex-direction: column; align-items: stretch; }
  .compose__side .btn { width: 100%; }
  .ticker__track span { font-size: .56rem; padding: 12px 16px; gap: 16px; }

  .section { padding: 56px 0; }
  .section--dark { margin: 0 6px; border-radius: 24px; }
  .head { margin-bottom: 28px; gap: 12px; }
  .head h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .head__note { font-size: .9rem; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .rack { grid-template-columns: minmax(0, 1fr); }
  .slot__items { flex: 0 0 auto; }
  .chain__tab { padding: 8px 13px; font-size: .74rem; }
  .compose { padding: 16px; }
  .cred__table > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 16px; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .footer__bottom { font-size: .64rem; }
}


/* =========================================================
   services / commerce / legal
   ========================================================= */
.nav__cart {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: var(--on-dark);
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.nav__cart:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .26); }
.nav__cart-count {
  font-family: var(--mono); font-size: .62rem; letter-spacing: 0;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  transition: background .2s var(--ease);
}
.nav__cart.is-filled .nav__cart-count { background: var(--blue); }

/* ---- services ---- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}
.service {
  display: flex; flex-direction: column;
  padding: clamp(18px, 1.8vw, 24px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(10, 13, 18, .05), 0 10px 24px -22px rgba(10, 13, 18, .35);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  border-color: #CED6E4;
  box-shadow: 0 2px 4px rgba(10, 13, 18, .05), 0 30px 50px -28px rgba(24, 42, 90, .45);
}
.service__top {
  display: flex; justify-content: space-between; gap: 10px;
  font-family: var(--mono); font-size: .54rem; letter-spacing: .12em;
  text-transform: uppercase;
}
.service__tag { color: var(--blue); white-space: nowrap; }
.service__time { color: var(--muted); text-align: right; flex: 1 1 auto; }
.service h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  font-weight: 800; line-height: 1.18; letter-spacing: -.025em;
}
.service__desc {
  font-size: .85rem; line-height: 1.55; color: var(--body);
  text-wrap: pretty;
}
.service__list { margin: auto 0 0; padding-top: 14px; }
.service__list li {
  font-size: .78rem; line-height: 1.45; color: var(--muted);
  padding: 6px 0;
  border-top: 1px solid #EFF2F6;
}
.service__list li:first-child { border-top: 0; }
.service__foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 10px; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line);
}
.service__price { display: flex; flex-direction: column; line-height: 1.05; }
.service__price span { font-size: 1.14rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.service__price small { font-size: .5rem; letter-spacing: .12em; color: var(--muted); margin-top: 4px; }
.service .btn {
  min-height: 38px; padding: 0 12px; font-size: .74rem; white-space: nowrap;
  box-shadow: none;
}
.service .btn:hover { box-shadow: 0 8px 18px -10px rgba(43, 92, 255, .6); }
.service .btn.is-added { background: #0F7B4F; border-color: #0F7B4F; color: #fff; }
.services__foot {
  margin-top: clamp(18px, 2.4vw, 26px);
  font-size: .78rem; color: var(--muted); max-width: 72ch;
}

/* ---- cart drawer ---- */
.cart { position: fixed; inset: 0; z-index: 120; }
.cart__scrim {
  position: absolute; inset: 0;
  background: rgba(6, 8, 12, .55);
  backdrop-filter: blur(3px);
  animation: fade-in .25s var(--ease);
}
.cart__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(430px, 94vw);
  display: flex; flex-direction: column;
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 70px -30px rgba(0, 0, 0, .55);
  padding: max(20px, env(safe-area-inset-top)) clamp(16px, 2vw, 22px) max(18px, env(safe-area-inset-bottom));
  overflow: auto;
  animation: slide-in .38s var(--ease);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in { from { transform: translateX(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.cart__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart__head h2 { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; }
.cart__close {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-2); background: #fff; cursor: pointer;
  transition: background .2s var(--ease);
}
.cart__close:hover { background: #F1F4F9; }
.cart__items { flex: 0 1 auto; }
.cart-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item__name { font-size: .9rem; font-weight: 700; letter-spacing: -.01em; }
.cart-item__meta { font-family: var(--mono); font-size: .54rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.cart-item__line { justify-self: end; font-size: .9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-2); border-radius: 9px;
  overflow: hidden; background: #fff; width: fit-content; margin-top: 6px;
}
.qty button {
  width: 28px; height: 28px; border: 0; background: none;
  cursor: pointer; font-size: .95rem; line-height: 1; color: var(--ink);
}
.qty button:hover { background: #F1F4F9; }
.qty span { min-width: 26px; text-align: center; font-size: .82rem; font-variant-numeric: tabular-nums; }
.cart-item__remove {
  justify-self: end; align-self: end;
  background: none; border: 0; padding: 0 0 1px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); cursor: pointer;
}
.cart-item__remove:hover { color: var(--crimson, #B3261E); border-color: #B3261E; }
.cart__empty { padding: 26px 0; font-size: .88rem; color: var(--muted); }
.cart__totals { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.cart__totals div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: .88rem; color: var(--body); }
.cart__totals span:last-child { font-variant-numeric: tabular-nums; }
.cart__total { margin-top: 6px; padding-top: 10px !important; border-top: 1px solid var(--line); color: var(--ink) !important; font-weight: 800; font-size: 1rem !important; }
.cart__note { margin-top: 12px; font-size: .74rem; line-height: 1.5; color: var(--muted); }
.cart__checkout { width: 100%; margin-top: 12px; }
.cart__checkout[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.cart__legal { margin-top: 10px; font-size: .66rem; color: var(--muted); text-align: center; }
.cart__legal a { color: var(--body); text-underline-offset: 2px; }

/* ---- sub pages ---- */
.subnav { position: sticky; top: 0; z-index: 40; background: rgba(244, 245, 247, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav__in { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.subnav__back { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--body); text-decoration: none; }
.subnav__back:hover { color: var(--ink); }
.subnav__brand { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.subnav__brand .brand__mark { width: 26px; height: 26px; border-radius: 8px; }

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding: clamp(26px, 4vw, 48px) 0 clamp(50px, 7vw, 88px);
}
.checkout__title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 8px; }
.checkout__sub { color: var(--body); font-size: .92rem; max-width: 52ch; margin-bottom: 22px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.2vw, 26px); box-shadow: 0 1px 2px rgba(10, 13, 18, .04); }
.form-card h2 { font-size: .78rem; font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.field { margin-bottom: 13px; }
.field label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; height: 46px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: #fff; color: var(--ink);
  font-family: var(--sans); font-size: .92rem;
}
.field textarea { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field .err { display: none; color: #B3261E; font-size: .72rem; margin-top: 4px; }
.field.has-error input, .field.has-error select { border-color: #B3261E; }
.field.has-error .err { display: block; }
.pay { display: grid; gap: 8px; margin: 8px 0 18px; }
.pay__opt {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff;
  cursor: pointer;
}
.pay__opt:has(input:checked) { border-color: var(--blue); background: rgba(43, 92, 255, .045); }
.pay__opt input { margin-top: 3px; accent-color: var(--blue); }
.pay__opt strong { display: block; font-size: .88rem; }
.pay__opt small { display: block; color: var(--muted); font-size: .74rem; line-height: 1.45; margin-top: 2px; }
.pay__opt.is-off { opacity: .5; cursor: not-allowed; }
.summary { position: sticky; top: 78px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2vw, 24px); }
.summary h2 { font-size: .78rem; font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.summary__item { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #EFF2F6; font-size: .86rem; }
.summary__item span:first-child { color: var(--body); }
.summary__item b { font-weight: 700; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .88rem; color: var(--body); }
.summary__row span:last-child { font-variant-numeric: tabular-nums; }
.summary__total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 800; color: var(--ink); font-size: 1.02rem; }
.summary__note { margin-top: 12px; font-size: .74rem; color: var(--muted); line-height: 1.5; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.form-foot .btn { min-height: 50px; padding: 0 26px; }
.form-error { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #FDEDEC; border: 1px solid #F3C7C3; color: #8E241C; font-size: .84rem; }
.form-error.is-on { display: block; }
.checkout-empty { padding: 40px 0 60px; }
.checkout-empty h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }

/* ---- thank you ---- */
.done { max-width: 640px; margin: 0 auto; padding: clamp(40px, 7vw, 90px) var(--gut); }
.done__ref { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; }
.done h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin: 16px 0 12px; }
.done p { color: var(--body); font-size: .98rem; line-height: 1.6; }
.done ol { margin-top: 22px; display: grid; gap: 10px; counter-reset: s; }
.done ol li { position: relative; padding-left: 34px; font-size: .92rem; color: var(--body); }
.done ol li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: -2px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(43, 92, 255, .09); border: 1px solid rgba(43, 92, 255, .2);
  font-family: var(--mono); font-size: .6rem; color: var(--blue);
}
.done__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---- legal ---- */
.legal { max-width: 780px; margin: 0 auto; padding: clamp(30px, 5vw, 64px) var(--gut) clamp(60px, 8vw, 100px); }
.legal__meta { font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; margin: 12px 0 14px; }
.legal__lede { font-size: 1rem; line-height: 1.6; color: var(--body); max-width: 64ch; }
.legal h2 { font-size: 1.08rem; font-weight: 800; letter-spacing: -.02em; margin: 34px 0 8px; }
.legal p, .legal li { font-size: .93rem; line-height: 1.68; color: var(--body); }
.legal p + p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 20px; margin: 10px 0; display: grid; gap: 7px; }
.legal a { color: var(--blue); text-underline-offset: 3px; }
.legal__box { margin-top: 32px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.legal__box p { font-size: .88rem; }
.legal__nav { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal__nav a { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.legal__nav a:hover { color: var(--ink); }

.footer__links {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  padding-top: 18px; margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer__links a {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark-muted); text-decoration: none;
}
.footer__links a:hover { color: #fff; }

@media (max-width: 1120px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}
@media (max-width: 760px) {
  .services__grid { grid-template-columns: minmax(0, 1fr); }
  .field--row { grid-template-columns: minmax(0, 1fr); }
  .cart__panel { width: 100%; }
  .service__foot { align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cart__panel, .cart__scrim { animation: none; }
}

/* legal tables */
.legal__table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: .86rem; }
.legal__table th {
  text-align: left; padding: 8px 10px;
  font-family: var(--mono); font-size: .54rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line-2);
}
.legal__table td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--body); vertical-align: top; }
.legal__table td:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
@media (max-width: 560px) {
  .legal__table { font-size: .78rem; }
  .legal__table th, .legal__table td { padding: 7px 6px; }
  .legal__table td:last-child { white-space: normal; }
}

.fineprint { font-size: .76rem; line-height: 1.6; color: var(--muted); max-width: 62ch; margin: 0; }
.fineprint a { color: var(--body); text-underline-offset: 2px; }

/* ---- software ---- */
.software__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}
.sw {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(18px, 1.8vw, 22px);
  border-radius: var(--radius);
  background: linear-gradient(165deg, #151B28 0%, #0A0E15 62%);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--on-dark);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(10, 13, 18, .18), 0 24px 44px -34px rgba(10, 13, 18, .85);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.sw::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 55% at 120% -12%, rgba(43, 92, 255, .2), transparent 66%);
  pointer-events: none;
}
.sw:hover { transform: translateY(-4px); border-color: rgba(123, 231, 255, .34); box-shadow: 0 30px 60px -30px rgba(6, 8, 12, .9); }
.sw > * { position: relative; }
.sw__top {
  display: flex; justify-content: space-between; gap: 10px;
  font-family: var(--mono); font-size: .54rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-muted);
}
.sw__ver { color: var(--cyan); }
.sw h3 {
  margin: 14px 0 8px;
  font-size: clamp(1.04rem, 1.25vw, 1.18rem);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.15;
  color: #fff;
}
.sw__desc { font-size: .84rem; line-height: 1.55; color: var(--on-dark-muted); text-wrap: pretty; }
.sw__list { margin: auto 0 0; padding-top: 14px; }
.sw__list li {
  font-size: .75rem; line-height: 1.45;
  color: rgba(237, 242, 250, .74);
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.sw__list li:first-child { border-top: 0; }
.sw__foot {
  margin-top: 14px; padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid; gap: 10px;
}
.sw__price { display: flex; flex-direction: column; line-height: 1.1; }
.sw__price span { font-size: 1.14rem; font-weight: 800; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.sw__price small { font-size: .5rem; letter-spacing: .09em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 4px; }
.sw .btn { width: 100%; box-shadow: none; }
.sw .btn:hover { box-shadow: 0 10px 22px -12px rgba(43, 92, 255, .9); }
.software__foot { margin-top: clamp(18px, 2.4vw, 26px); font-size: .78rem; line-height: 1.6; color: var(--muted); max-width: 84ch; }

@media (max-width: 1120px) {
  .software__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .software__grid { grid-template-columns: minmax(0, 1fr); }
}
