:root,
html[data-theme="obsidian"] {
  color-scheme: dark;
  --bg: #04070d;
  --bg-elev: #080f1c;
  --surface: #0c1526;
  --surface-2: #111f36;
  --panel-bar: #070d19;
  --panel-tabs: #091121;
  --input-bg: #060b14;
  --chip-bg: #080f1d;
  --blueprint-bg: rgba(4, 7, 13, 0.72);
  --contact-bg: rgba(8, 15, 28, 0.85);
  --guarantee-bg: rgba(8, 15, 28, 0.75);
  --section-alt-bg: rgba(8, 15, 28, 0.72);
  --header-bg: rgba(4, 7, 13, 0.82);
  --header-bg-scrolled: rgba(4, 7, 13, 0.95);
  --mobile-nav-bg: rgba(8, 15, 28, 0.98);
  --footer-bg: #04070d;
  --telemetry-bg: rgba(8, 15, 28, 0.92);
  --lightbox-body-bg: #050a12;
  --ink: #f0f6fc;
  --muted: #9eb0c9;
  --dim: #7387a6;
  --list-ink: #d2e0f3;
  --label-ink: #d7e4f5;
  --active-ink: #ffffff;
  --line: rgba(56, 189, 248, 0.16);
  --line-strong: rgba(0, 229, 255, 0.42);
  --cyan: #00e5ff;
  --sky: #38bdf8;
  --emerald: #00ffa3;
  --btn-primary-bg: linear-gradient(135deg, #00e5ff, #4ef2ff 60%, #00ffa3);
  --btn-primary-ink: #031018;
  --btn-primary-shadow: 0 0 24px rgba(0, 229, 255, 0.22);
  --btn-primary-shadow-hover: 0 0 32px rgba(0, 229, 255, 0.42);
  --btn-ghost-bg: rgba(12, 21, 38, 0.78);
  --btn-ghost-hover: rgba(17, 31, 54, 0.96);
  --btn-ghost-border: rgba(158, 176, 201, 0.34);
  --card-bg: linear-gradient(180deg, rgba(17, 31, 54, 0.65), rgba(12, 21, 38, 0.94));
  --featured-bg: linear-gradient(180deg, rgba(0, 229, 255, 0.09), rgba(12, 21, 38, 0.98) 42%);
  --featured-shadow: 0 20px 50px rgba(0, 229, 255, 0.12);
  --scope-bg: linear-gradient(125deg, rgba(12, 21, 38, 0.96), rgba(8, 15, 28, 0.96));
  --demo-bg: radial-gradient(circle at 8% 12%, rgba(0, 229, 255, 0.1), transparent 46%), var(--surface);
  --featured-price-grad: linear-gradient(95deg, #7ef6ff 0%, #00ffa3 100%);
  --ribbon-ink: #031510;
  --role-bg: rgba(0, 255, 163, 0.09);
  --role-border: rgba(0, 255, 163, 0.36);
  --icon-bg: rgba(0, 229, 255, 0.08);
  --icon-border: rgba(0, 229, 255, 0.28);
  --tab-hover-bg: rgba(0, 229, 255, 0.06);
  --tab-active-bg: rgba(0, 229, 255, 0.1);
  --seg-active-bg: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(0, 255, 163, 0.14));
  --input-border: rgba(158, 176, 201, 0.34);
  --input-focus-ring: 0 0 0 3px rgba(0, 229, 255, 0.16);
  --body-glow-1: rgba(0, 229, 255, 0.08);
  --body-glow-2: rgba(0, 255, 163, 0.05);
  --grid-line: rgba(56, 189, 248, 0.03);
  --shadow-console: 0 22px 60px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 14px 30px rgba(0, 0, 0, 0.35);
  --viewport-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1240px;
  --radius: 12px;
}

html[data-theme="clinical"] {
  color-scheme: light;
  --bg: #f4f7fb;
  --bg-elev: #eaf0f8;
  --surface: #ffffff;
  --surface-2: #e7f0fa;
  --panel-bar: #e8f0f9;
  --panel-tabs: #eff5fc;
  --input-bg: #ffffff;
  --chip-bg: #f4f8fc;
  --blueprint-bg: #f0f5fc;
  --contact-bg: #f5f9fe;
  --guarantee-bg: #ffffff;
  --section-alt-bg: #ebf1f9;
  --header-bg: rgba(244, 247, 251, 0.9);
  --header-bg-scrolled: rgba(255, 255, 255, 0.97);
  --mobile-nav-bg: rgba(255, 255, 255, 0.98);
  --footer-bg: #e7eef7;
  --telemetry-bg: rgba(255, 255, 255, 0.96);
  --lightbox-body-bg: #e9eff6;
  --ink: #081526;
  --muted: #425670;
  --dim: #556a86;
  --list-ink: #1e324d;
  --label-ink: #172b45;
  --active-ink: #061526;
  --line: rgba(15, 52, 96, 0.14);
  --line-strong: rgba(0, 119, 182, 0.36);
  --cyan: #0077b6;
  --sky: #0284c7;
  --emerald: #047857;
  --btn-primary-bg: linear-gradient(135deg, #0077b6, #0096c7 62%, #059669);
  --btn-primary-ink: #ffffff;
  --btn-primary-shadow: 0 8px 22px rgba(0, 119, 182, 0.22);
  --btn-primary-shadow-hover: 0 12px 28px rgba(0, 119, 182, 0.32);
  --btn-ghost-bg: #ffffff;
  --btn-ghost-hover: #edf5fc;
  --btn-ghost-border: rgba(15, 52, 96, 0.24);
  --card-bg: linear-gradient(180deg, #ffffff, #f8fbff);
  --featured-bg: linear-gradient(180deg, rgba(0, 119, 182, 0.08), #ffffff 42%);
  --featured-shadow: 0 18px 42px rgba(8, 21, 38, 0.1);
  --scope-bg: linear-gradient(125deg, #ffffff, #edf3fa);
  --demo-bg: radial-gradient(circle at 8% 12%, rgba(0, 119, 182, 0.07), transparent 46%), #ffffff;
  --featured-price-grad: linear-gradient(95deg, #0066a1 0%, #047857 100%);
  --ribbon-ink: #ffffff;
  --role-bg: rgba(4, 120, 87, 0.1);
  --role-border: rgba(4, 120, 87, 0.32);
  --icon-bg: rgba(0, 119, 182, 0.09);
  --icon-border: rgba(0, 119, 182, 0.26);
  --tab-hover-bg: rgba(0, 119, 182, 0.07);
  --tab-active-bg: rgba(0, 119, 182, 0.12);
  --seg-active-bg: linear-gradient(135deg, rgba(0, 119, 182, 0.14), rgba(4, 120, 87, 0.12));
  --input-border: rgba(15, 52, 96, 0.24);
  --input-focus-ring: 0 0 0 3px rgba(0, 119, 182, 0.16);
  --body-glow-1: rgba(0, 119, 182, 0.07);
  --body-glow-2: rgba(5, 150, 105, 0.05);
  --grid-line: rgba(15, 52, 96, 0.045);
  --shadow-console: 0 18px 46px rgba(8, 21, 38, 0.09);
  --shadow-card: 0 10px 26px rgba(8, 21, 38, 0.08);
  --viewport-shadow: 0 10px 28px rgba(8, 21, 38, 0.12);
}

html[data-theme="emerald"] {
  color-scheme: dark;
  --bg: #030a09;
  --bg-elev: #071412;
  --surface: #0b1c19;
  --surface-2: #102824;
  --panel-bar: #061210;
  --panel-tabs: #081815;
  --input-bg: #050f0d;
  --chip-bg: #071613;
  --blueprint-bg: rgba(3, 10, 9, 0.76);
  --contact-bg: rgba(7, 20, 18, 0.88);
  --guarantee-bg: rgba(7, 20, 18, 0.82);
  --section-alt-bg: rgba(7, 20, 18, 0.76);
  --header-bg: rgba(3, 10, 9, 0.82);
  --header-bg-scrolled: rgba(3, 10, 9, 0.95);
  --mobile-nav-bg: rgba(7, 20, 18, 0.98);
  --footer-bg: #030a09;
  --telemetry-bg: rgba(7, 20, 18, 0.92);
  --lightbox-body-bg: #040d0b;
  --ink: #ecfdf5;
  --muted: #9bc0b6;
  --dim: #6f948a;
  --list-ink: #ccece2;
  --label-ink: #d5f5eb;
  --active-ink: #ffffff;
  --line: rgba(0, 255, 163, 0.16);
  --line-strong: rgba(0, 255, 163, 0.42);
  --cyan: #00ffa3;
  --sky: #2dd4bf;
  --emerald: #38bdf8;
  --btn-primary-bg: linear-gradient(135deg, #00ffa3, #2dd4bf 62%, #38bdf8);
  --btn-primary-ink: #02140e;
  --btn-primary-shadow: 0 0 24px rgba(0, 255, 163, 0.22);
  --btn-primary-shadow-hover: 0 0 32px rgba(0, 255, 163, 0.42);
  --btn-ghost-bg: rgba(11, 28, 25, 0.82);
  --btn-ghost-hover: rgba(16, 40, 36, 0.96);
  --btn-ghost-border: rgba(155, 192, 182, 0.34);
  --card-bg: linear-gradient(180deg, rgba(16, 40, 36, 0.65), rgba(11, 28, 25, 0.95));
  --featured-bg: linear-gradient(180deg, rgba(0, 255, 163, 0.1), rgba(11, 28, 25, 0.98) 42%);
  --featured-shadow: 0 20px 50px rgba(0, 255, 163, 0.12);
  --scope-bg: linear-gradient(125deg, rgba(11, 28, 25, 0.96), rgba(7, 20, 18, 0.96));
  --demo-bg: radial-gradient(circle at 8% 12%, rgba(0, 255, 163, 0.1), transparent 46%), var(--surface);
  --featured-price-grad: linear-gradient(95deg, #6effc8 0%, #38bdf8 100%);
  --ribbon-ink: #021614;
  --role-bg: rgba(56, 189, 248, 0.1);
  --role-border: rgba(56, 189, 248, 0.38);
  --icon-bg: rgba(0, 255, 163, 0.08);
  --icon-border: rgba(0, 255, 163, 0.28);
  --tab-hover-bg: rgba(0, 255, 163, 0.07);
  --tab-active-bg: rgba(0, 255, 163, 0.11);
  --seg-active-bg: linear-gradient(135deg, rgba(0, 255, 163, 0.2), rgba(56, 189, 248, 0.14));
  --input-border: rgba(155, 192, 182, 0.34);
  --input-focus-ring: 0 0 0 3px rgba(0, 255, 163, 0.16);
  --body-glow-1: rgba(0, 255, 163, 0.08);
  --body-glow-2: rgba(56, 189, 248, 0.06);
  --grid-line: rgba(0, 255, 163, 0.032);
  --shadow-console: 0 22px 60px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 14px 30px rgba(0, 0, 0, 0.35);
  --viewport-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 0%, var(--body-glow-1), transparent 42%),
    radial-gradient(circle at 88% 18%, var(--body-glow-2), transparent 36%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}
h2 { font-size: clamp(2rem, 4.1vw, 3.25rem); font-weight: 700; }
h3 { font-size: 1.24rem; font-weight: 600; }
p { color: var(--muted); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.shell {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--cyan);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: top 0.16s ease;
}
.skip-link:focus { top: 0.75rem; }

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  flex: none;
  animation: pulseGlow 2.4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.84); }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.72rem 1.35rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn-sm { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.875rem; }
.btn-icon { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-ink);
  border-color: var(--cyan);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  box-shadow: var(--btn-primary-shadow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--btn-primary-shadow-hover);
}

.btn-ghost {
  background: var(--btn-ghost-bg);
  color: var(--ink);
  border-color: var(--btn-ghost-border);
}
.btn-ghost:hover {
  background: var(--btn-ghost-hover);
  border-color: var(--cyan);
  color: var(--active-ink);
}

/* HEADER & THEME SWITCHER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  border-bottom-color: var(--line-strong);
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-emblem { width: 36px; height: 36px; display: block; flex: none; }
.brand-emblem svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.brand-accent { color: var(--cyan); }
.brand-sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--emerald);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.95rem, 2.2vw, 2.1rem);
}
.desktop-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.16s ease;
  white-space: nowrap;
}
.desktop-nav a:hover { color: var(--cyan); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: var(--panel-bar);
}
.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 32px;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.theme-btn:hover { color: var(--ink); }
.theme-btn.is-active {
  background: var(--surface-2);
  color: var(--active-ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.theme-swatch {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  flex: none;
}
.swatch-obsidian { background: linear-gradient(135deg, #04070d 45%, #00e5ff 55%); }
.swatch-clinical { background: linear-gradient(135deg, #ffffff 45%, #0077b6 55%); border-color: rgba(8, 21, 38, 0.3); }
.swatch-emerald { background: linear-gradient(135deg, #030a09 45%, #00ffa3 55%); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--mobile-nav-bg);
}
.mobile-nav-inner {
  display: grid;
  gap: 0.45rem;
  padding-block: 1rem 1.25rem;
}
.mobile-nav-inner a:not(.btn) {
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}
.mobile-theme-row {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.55rem;
}
.mobile-theme-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}
.mobile-theme-switcher .theme-btn {
  justify-content: center;
  min-height: 38px;
}
.mobile-nav-inner .btn { margin-top: 0.5rem; width: 100%; }

/* HERO (intentionally dark-staged for seamless robotics photography across themes) */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #04070d;
  color: #f0f6fc;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 48%;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 45%, rgba(0, 0, 0, 0.8), transparent 78%);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #04070d 0%, rgba(4, 7, 13, 0.94) 36%, rgba(4, 7, 13, 0.62) 58%, rgba(4, 7, 13, 0.12) 86%),
    linear-gradient(0deg, #04070d 0%, rgba(4, 7, 13, 0.45) 18%, transparent 45%);
}

.hero-content {
  min-height: clamp(540px, 48vw, 680px);
  display: flex;
  align-items: center;
  padding-block: clamp(3.2rem, 6vw, 5.2rem);
}
.hero-copy { max-width: 650px; }

.hud-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.85rem;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.84);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: #00e5ff;
}
.hero .pulse-dot {
  background: #00ffa3;
  box-shadow: 0 0 10px #00ffa3;
}
html[data-theme="emerald"] .hero .hud-kicker {
  border-color: rgba(0, 255, 163, 0.34);
  color: #00ffa3;
}

.hero h1 {
  margin-top: 1.3rem;
  font-size: clamp(2.85rem, 6vw, 4.95rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #f0f6fc;
}
.hero-highlight {
  display: block;
  background: linear-gradient(95deg, #00e5ff 0%, #86f7ff 48%, #00ffa3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="emerald"] .hero-highlight {
  background: linear-gradient(95deg, #00ffa3 0%, #6ef5d2 48%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  margin-top: 1.3rem;
  max-width: 560px;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  color: #c7d5e8;
}

.hero-cta-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero .btn-ghost {
  background: rgba(12, 21, 38, 0.78);
  color: #f0f6fc;
  border-color: rgba(158, 176, 201, 0.34);
}
.hero .btn-ghost:hover {
  background: rgba(17, 31, 54, 0.96);
  border-color: #00e5ff;
  color: #ffffff;
}

.trust-pills {
  list-style: none;
  padding: 0;
  margin-top: 1.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #9eb0c9;
}
.trust-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--cyan);
}
.hero .pill-dot { background: #00e5ff; }
html[data-theme="emerald"] .hero .pill-dot { background: #00ffa3; }

/* TELEMETRY STRIP */
.telemetry-strip {
  border-top: 1px solid var(--line);
  background: var(--telemetry-bg);
  backdrop-filter: blur(10px);
}
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.telemetry-cell {
  padding: 1.25rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.telemetry-cell + .telemetry-cell { border-left: 1px solid var(--line); }
.telemetry-val {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.02em;
}
.telemetry-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.telemetry-meta {
  font-size: 0.78rem;
  color: var(--dim);
}

/* PIPELINE STRIP */
.pipeline-band {
  padding-block: 2.3rem;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
}
.pipeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-bottom: 1.25rem;
}
.pipeline-head p { font-size: 0.93rem; }
.pipeline-track {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.pipeline-track li {
  position: relative;
  padding: 0.95rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.step-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--emerald);
}
.pipeline-track strong {
  font-family: var(--font-display);
  font-size: 0.97rem;
  color: var(--ink);
}
.pipeline-track li span:last-child {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

/* SECTIONS */
.section {
  padding-block: clamp(4rem, 7vw, 6.2rem);
  scroll-margin-top: 76px;
}
.section-alt {
  background: var(--section-alt-bg);
  border-block: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.5rem 2.5rem;
  align-items: end;
  margin-bottom: 2.4rem;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 0.7rem;
}
.kicker-line {
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
}
.section-desc { font-size: 1.03rem; max-width: 480px; justify-self: end; }

/* COMMAND DECK */
.command-console {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-console);
}
.console-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--panel-bar);
}
.console-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.console-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.deck-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--panel-tabs);
}
.deck-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 58px;
  padding: 0.75rem 0.6rem;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.deck-tab + .deck-tab { border-left: 1px solid var(--line); }
.tab-idx {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cyan);
}
.deck-tab:hover { background: var(--tab-hover-bg); color: var(--ink); }
.deck-tab.is-active {
  background: var(--tab-active-bg);
  color: var(--active-ink);
  border-bottom-color: var(--cyan);
}

.deck-panel {
  display: grid;
  grid-template-columns: minmax(270px, 0.85fr) minmax(0, 1.45fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  padding: clamp(1.4rem, 3.2vw, 2.5rem);
}
.role-chip {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--role-border);
  background: var(--role-bg);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 0.9rem;
}
.panel-info h3 {
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  margin-bottom: 0.75rem;
}
.panel-info p { margin-bottom: 1rem; }
.panel-points {
  padding-left: 1.1rem;
  margin-bottom: 1.35rem;
  display: grid;
  gap: 0.45rem;
  color: var(--list-ink);
  font-size: 0.93rem;
}
.panel-points li::marker { color: var(--cyan); }

.viewport-frame {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  background: #edf2f4;
  aspect-ratio: 16 / 10;
  overflow-y: auto;
  box-shadow: var(--viewport-shadow);
}
.viewport-frame img { width: 100%; }
.panel-viewport figcaption {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--dim);
}

/* HUD CARD SIGNATURE */
.hud-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  padding: 1.45rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.hud-card::before,
.hud-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  border-color: var(--cyan);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.hud-card::before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; border-top-left-radius: 4px; }
.hud-card::after { bottom: -1px; right: -1px; border-bottom: 2px solid; border-right: 2px solid; border-bottom-right-radius: 4px; }
.hud-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.hud-card:hover::before,
.hud-card:hover::after { opacity: 1; }

/* MODULES FILTER + GRID */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.filter-btn {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--btn-ghost-bg);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.filter-btn:hover { color: var(--ink); border-color: var(--cyan); }
.filter-btn.is-active {
  background: var(--cyan);
  color: var(--btn-primary-ink);
  border-color: var(--cyan);
}
.filter-status {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--emerald);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.mod-code {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--cyan);
}
.mod-cat {
  font-size: 0.74rem;
  color: var(--dim);
}
.mod-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--icon-border);
  background: var(--icon-bg);
  color: var(--cyan);
  margin-bottom: 0.9rem;
}
.mod-icon svg { width: 20px; height: 20px; }
.module-card h3 { margin-bottom: 0.45rem; }
.module-card p { font-size: 0.93rem; }

/* PRICING & EDITIONS */
.pricing-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.segmented-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--panel-bar);
}
.seg-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border-radius: 7px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.seg-btn:hover { color: var(--ink); }
.seg-btn.is-active {
  background: var(--seg-active-bg);
  color: var(--active-ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.save-badge {
  padding: 0.12rem 0.42rem;
  border-radius: 4px;
  border: 1px solid var(--role-border);
  background: var(--role-bg);
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.editions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.edition-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.7rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.edition-card.is-featured {
  border-color: var(--cyan);
  background: var(--featured-bg);
  box-shadow: var(--featured-shadow);
}
.featured-ribbon {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.9rem;
  padding: 0.25rem 0.68rem;
  border-radius: 5px;
  background: var(--emerald);
  color: var(--ribbon-ink);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.edition-top h3 { font-size: 1.5rem; margin-top: 0.45rem; margin-bottom: 0.55rem; }
.edition-top p { font-size: 0.94rem; }

.price-block {
  margin-top: 1.25rem;
  padding-block: 1rem;
  border-block: 1px solid var(--line);
}
.price-prefix {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
}
.price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.3rem;
}
.price-amount {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.edition-card.is-featured .price-amount {
  background: var(--featured-price-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-unit {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.price-sub {
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--emerald);
}

.edition-list {
  list-style: none;
  padding: 0;
  margin-block: 1.35rem;
  display: grid;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--list-ink);
}
.edition-list li {
  position: relative;
  padding-left: 1.25rem;
}
.edition-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--cyan);
}
.edition-foot {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
}
.quote-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.pricing-guarantees {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.9rem;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--guarantee-bg);
  font-size: 0.85rem;
  color: var(--list-ink);
}
.pricing-disclaimer {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--dim);
}

/* SCOPE CONFIGURATOR */
.scope-builder {
  margin-top: 1.75rem;
  padding: 1.65rem;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--scope-bg);
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 1.75rem;
  align-items: center;
}
.scope-col h3 { font-size: 1.35rem; margin-block: 0.45rem 0.5rem; }
.scope-col p { font-size: 0.93rem; }
.scope-controls { display: grid; gap: 1rem; }
.scope-group { display: grid; gap: 0.5rem; }
.scope-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.scope-chip {
  padding: 0.44rem 0.85rem;
  border-radius: 7px;
  border: 1px solid var(--btn-ghost-border);
  background: var(--chip-bg);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}
.scope-chip:hover { border-color: var(--cyan); color: var(--ink); }
.scope-chip.is-selected {
  border-color: var(--emerald);
  background: var(--role-bg);
  color: var(--active-ink);
}

/* ARCHITECTURE */
.arch-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.arch-visual-card {
  display: grid;
  gap: 1.15rem;
}
.arch-image-wrap {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: #04070d;
}
.arch-image-wrap img { width: 100%; }
.arch-hud-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  background: rgba(7, 13, 25, 0.94);
}
.arch-hud-tags span {
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #00e5ff;
}

.urdu-spotlight {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.urdu-copy h3 { margin-block: 0.35rem 0.45rem; font-size: 1.15rem; }
.urdu-copy p { font-size: 0.88rem; margin-bottom: 0.85rem; }
.urdu-thumb {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}

.arch-pillars {
  display: grid;
  gap: 1rem;
}
.pillar-card { padding: 1.35rem 1.45rem; }
.pillar-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 0.35rem;
}
.pillar-card h3 { margin-bottom: 0.45rem; }
.pillar-card p { font-size: 0.93rem; }

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}
.faq-intro p:not(.section-kicker) { margin-top: 0.9rem; max-width: 390px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--cyan);
  flex: none;
}
.faq-list details[open] summary::after { content: "−"; color: var(--emerald); }
.faq-list details p { padding: 0 0.25rem 1.15rem; font-size: 0.95rem; }

/* DEMO CONSOLE */
.demo-console {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3.8rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--demo-bg);
  box-shadow: var(--shadow-console);
}
.demo-lead { margin-top: 0.95rem; }

.blueprint-box {
  margin-top: 1.45rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--blueprint-bg);
}
.blueprint-head { margin-bottom: 0.6rem; }
.blueprint-dl { display: grid; gap: 0.45rem; }
.blueprint-dl > div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0.5rem;
  font-size: 0.87rem;
}
.blueprint-dl dt { color: var(--dim); }
.blueprint-dl dd { color: var(--ink); font-weight: 600; }

.direct-contacts {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.contact-link {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--contact-bg);
  text-decoration: none;
  transition: border-color 0.16s ease;
}
.contact-link:hover { border-color: var(--cyan); }
.contact-link strong { font-size: 0.92rem; color: var(--ink); word-break: break-word; }

.demo-form {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.demo-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--label-ink);
  min-width: 0;
}
.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  min-width: 0;
  padding: 0.62rem 0.78rem;
  border-radius: 8px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--ink);
  font-size: 0.95rem;
}
.demo-form textarea { resize: vertical; }
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: var(--input-focus-ring);
}
.form-privacy { font-size: 0.81rem; color: var(--dim); }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.form-status {
  min-height: 1.25rem;
  font-size: 0.86rem;
  color: var(--emerald);
}
.form-status:empty { display: none; }
.noscript-cta { margin-top: 1rem; display: grid; gap: 0.75rem; }

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem 2rem;
  background: var(--footer-bg);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding-bottom: 1.65rem;
  border-bottom: 1px solid var(--line);
}
.footer-tagline {
  margin-top: 0.65rem;
  max-width: 440px;
  font-size: 0.88rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.45rem;
}
.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.8rem;
  color: var(--dim);
}

/* LIGHTBOX */
.lightbox {
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
}
.lightbox::backdrop {
  background: rgba(2, 5, 10, 0.82);
  backdrop-filter: blur(6px);
}
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: var(--panel-bar);
}
.lightbox-close {
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.86rem;
}
.lightbox-close:hover { border-color: var(--cyan); }
.lightbox-body {
  max-height: calc(100vh - 7rem);
  overflow: auto;
  padding: 1rem;
  background: var(--lightbox-body-bg);
}
.lightbox-body img {
  margin-inline: auto;
  border-radius: 8px;
}

/* PROGRESSIVE REVEAL */
html.has-anim .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
html.has-anim .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1120px) {
  .header-actions .theme-name { display: none; }
  .header-actions .theme-btn { padding-inline: 0.45rem; }
}

@media (max-width: 1024px) {
  .telemetry-grid { grid-template-columns: repeat(2, 1fr); }
  .telemetry-cell:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .telemetry-cell:nth-child(4) { border-top: 1px solid var(--line); }
  .pipeline-track { grid-template-columns: repeat(3, 1fr); }
  .deck-tabs { grid-template-columns: repeat(3, 1fr); }
  .deck-tab:nth-child(4) { border-left: 0; }
  .deck-tab:nth-child(n+4) { border-top: 1px solid var(--line); }
  .deck-panel,
  .modules-grid,
  .editions-grid,
  .scope-builder,
  .arch-layout,
  .faq-layout,
  .demo-console { grid-template-columns: 1fr; }
  .modules-grid,
  .pricing-guarantees { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; }
  .section-desc { justify-self: start; }
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-actions .btn,
  .header-actions .theme-switcher { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .shell { width: min(var(--max), calc(100% - 2rem)); }
  .hero-content { min-height: 620px; align-items: flex-end; padding-block: 11.5rem 2.5rem; }
  .hero-img { height: 48%; object-position: 76% 18%; }
  .hero-scrim {
    background:
      linear-gradient(0deg, #04070d 42%, rgba(4, 7, 13, 0.96) 62%, rgba(4, 7, 13, 0.48) 82%, rgba(4, 7, 13, 0.25) 100%);
  }
  .hud-kicker { font-size: 0.65rem; letter-spacing: 0.05em; border-radius: 8px; padding: 0.38rem 0.7rem; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  .telemetry-grid,
  .pipeline-track,
  .modules-grid,
  .pricing-guarantees,
  .urdu-spotlight,
  .direct-contacts,
  .form-row-2 { grid-template-columns: 1fr; }
  .pricing-controls { flex-direction: column; align-items: stretch; }
  .segmented-group { width: 100%; justify-content: space-between; }
  .seg-btn { flex: 1 1 auto; justify-content: center; font-size: 0.8rem; padding: 0.45rem 0.6rem; }
  .telemetry-cell + .telemetry-cell { border-left: 0; border-top: 1px solid var(--line); }
  .deck-tabs { grid-template-columns: repeat(2, 1fr); }
  .deck-tab { justify-content: flex-start; padding-inline: 0.75rem; min-height: 50px; font-size: 0.8rem; }
  .deck-tab:nth-child(odd) { border-left: 0; }
  .deck-tab:nth-child(n+3) { border-top: 1px solid var(--line); }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .blueprint-dl > div { grid-template-columns: 1fr; gap: 0.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-dot { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
