/* ───────────────────────────────
   SCORPEX Site Styles (Unified)
   ─────────────────────────────── */

/* ============ 1) Theme Tokens ============ */
:root {
  --bg: #0b0f12;
  --panel: #11161c;
  --muted: #8a98a8;
  --text: #e9eef5;
  --accent: #3ba0ff;
  --accent-2: #2b7bd9;
  --card: #0f141a;
  --border: #1a2230;
  --display-font: Georgia, "Times New Roman", serif;
  --content-width: 1200px;
  --section-space: clamp(40px, 5vw, 68px);
}
:root {
  color-scheme: dark;
}

/* ============ 2) Base / Reset ============ */
* {
  box-sizing: border-box;
}

html {
  height: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Inter,
    Ubuntu,
    Cantarell,
    Noto Sans,
    sans-serif;
  background: var(--bg);
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  z-index: 0;
}

/* subtle grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 64 64'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 320px 320px;
  mix-blend-mode: normal;
  z-index: 0;
}

/* corner glow overlay */
body::after {
  content: "";
  position: fixed;
  inset: -25% -20% -25% -20%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
        900px 700px at 115% -10%,
        rgba(59, 160, 255, 0.22) 0%,
        rgba(59, 160, 255, 0.05) 45%,
        transparent 80%
      )
      no-repeat,
    radial-gradient(
        900px 700px at -15% 120%,
        rgba(59, 160, 255, 0.18) 0%,
        rgba(59, 160, 255, 0.05) 45%,
        transparent 80%
      )
      no-repeat;
  filter: blur(42px);
  opacity: 0.85;
}

body > main,
body > footer,
body > section {
  position: relative;
  z-index: 1;
}

/* links & layout */
a {
  color: #bcd3f0;
}
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(59, 160, 255, 0.14);
  background: rgba(11, 15, 18, 0.9);
  backdrop-filter: blur(16px);
}

.hr-divider {
  border: none;
  height: 2px;
  width: 100%;
  margin: 32px 0;
  background: var(--accent); /* uses your existing Scorpex blue */
  border-radius: 2px;
}

/* ============ 3) Navigation ============ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
  position: relative; /* anchor for absolute dropdown */
  z-index: 1000; /* keeps header above hero */
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.brand img {
  width: 28px;
  height: 28px;
}

.nav-links {
  /* desktop */
  display: flex;
  gap: 20px;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  margin-left: 16px;
}
.nav a.active,
.nav a:hover {
  color: var(--text);
}

.nav a:focus-visible {
  color: var(--text);
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 3px;
}

/* Mobile toggle: stack bars vertically, centered */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0d1319;
  appearance: none;
  -webkit-appearance: none;
  color: transparent;
  font-size: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #cfe0f7;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle__bar + .nav-toggle__bar {
  margin-top: 0;
}

/* Animate bars */
.nav-toggle__bar {
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
  transform-origin: center;
}

/* When menu is open (we’ll set aria-expanded=true in JS) */
.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;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Dropdown panel: slide & fade */
@media (max-width: 720px) {
  .nav-links {
    transform: translateY(-8px);
    opacity: 0;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nav-toggle__bar {
    transition: none !important;
  }
  .nav-links {
    transition: none !important;
  }
}

/* ============ 5) Typography ============ */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text);
  font-weight: 700;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.1;
}
h2 {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2;
  margin-bottom: 16px;
}
p.lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 0 28px;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
}

.hero {
  padding: 44px 0 28px;
}

.hero-grid,
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 64px;
}

.badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  padding: 8px 12px;
  color: #bdd5ef;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(17, 22, 28, 0.72);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
}

.trust-row span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--accent);
}

.plain-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}

.plain-feature {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.plain-feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.plain-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-card-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.product-meta span {
  padding: 5px 9px;
  color: #aab8ca;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-screenshot {
  margin: 0;
}

.product-screenshot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border: 1px solid #263245;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.product-screenshot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.technology-section {
  padding-left: 24px;
  padding-right: 24px;
  border: 1px solid rgba(59, 160, 255, 0.18);
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(59, 160, 255, 0.07),
    rgba(17, 22, 28, 0.35)
  );
}

.technology-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-heading h2,
.editorial-title {
  font-family: inherit;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.section-heading h2 em,
.editorial-title em {
  color: inherit;
  font-style: normal;
  font-weight: inherit;
}

.section-heading p,
.info-card p,
.about-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feature-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #10161d, #0c1116);
  border-radius: 16px;
  padding: 20px;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.compatibility-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 32px 0;
  padding: 22px 24px;
  border: 1px solid rgba(59, 160, 255, 0.22);
  border-radius: 16px;
  background: rgba(59, 160, 255, 0.06);
}

.compatibility-strip p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 4px 0 0;
  max-width: 70ch;
}

.cta-panel {
  margin-top: 48px;
  padding: clamp(56px, 8vw, 104px) 24px;
  text-align: center;
  border-block: 1px solid var(--border);
  border-radius: 0;
  background: radial-gradient(
    circle at 50% 100%,
    rgba(59, 160, 255, 0.2),
    transparent 54%
  );
}

.cta-panel h2 {
  max-width: 900px;
  margin-inline: auto;
  font-family: inherit;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cta-panel p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 auto 18px;
  max-width: 62ch;
  line-height: 1.6;
}

.cta-panel .btns {
  justify-content: center;
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.company-fact {
  padding: 16px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.025);
}

.company-fact span {
  display: block;
  color: var(--muted);
  margin-bottom: 5px;
  font-size: 14px;
}

/* ============ 6) Buttons ============ */
.btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  font: inherit;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  color: var(--text);
  background: linear-gradient(180deg, #121a24, #0e151d);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    filter 0.15s ease;
}

.btn:hover {
  filter: brightness(1.08);
}
.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 6px 18px rgba(0, 0, 0, 0.45);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    filter 0.25s ease;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 160, 255, 0.25);
}

/* hover/lift */
.btn.primary:hover,
.btn.primary:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 24px rgba(59, 160, 255, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.55);
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.btn.primary:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 3px 12px rgba(0, 0, 0, 0.4);
  filter: brightness(0.97);
}

.btn:hover:not(.primary),
.btn:focus-visible:not(.primary) {
  border-color: rgba(59, 160, 255, 0.35);
  box-shadow:
    0 0 14px rgba(59, 160, 255, 0.2),
    0 4px 16px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

/* tactile press */
.btn:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: none;
  filter: brightness(0.98);
}

/* ============ 7) Cards ============ */
.card,
.preview {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #0f151c, #0b1016);
  border-radius: 18px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  padding: 16px;
  margin-top: 16px;
}
.card h3 {
  margin: 0 0 8px;
}

/* Cards grid: responsive columns */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.preview {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}
.preview img {
  max-width: 240px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

/* clickable card links */
.card-link {
  display: block; /* link wraps whole card */
  text-decoration: none; /* no underline */
  color: inherit; /* keep text colors */
  cursor: pointer;
}

/* glow + lift on hover */
.card-link .card {
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.card-link:hover .card,
.card-link:focus-visible .card {
  border-color: rgba(59, 160, 255, 0.35);
  box-shadow:
    0 0 12px rgba(59, 160, 255, 0.2),
    0 4px 14px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px);
}

/* faint highlight edge (no shimmer) */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(59, 160, 255, 0.08),
    rgba(59, 160, 255, 0.02)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card-link:hover .card::before,
.card-link:focus-visible .card::before {
  opacity: 0.75;
}

/* Phase cards improvements */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.info-card {
  background: linear-gradient(180deg, #10151b, #0c1116);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  padding: 20px 24px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
}

/* Title hierarchy */
.info-label {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.info-card ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.55;
}

/* ============ 8) Forms ============ */
.form .input,
.form .textarea,
input.input,
textarea.textarea {
  width: 100%;
  color: var(--text);
  background: #0d1319;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  font: inherit;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.form .input:focus-visible,
.form .textarea:focus-visible,
input.input:focus-visible,
textarea.textarea:focus-visible {
  border-color: #2a5ea5;
  box-shadow: 0 0 0 3px rgba(59, 160, 255, 0.18);
}
.form .input:focus,
.form .textarea:focus,
input.input:focus,
textarea.textarea:focus {
  box-shadow: none;
}

.form--contact {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 14px;
  max-width: 720px;
}
.form--contact label {
  align-self: start;
  padding-top: 10px;
  font-weight: 600;
  color: #d7e2ee;
}
.input {
  height: 44px;
  line-height: 44px;
}
.textarea {
  height: 160px;
  resize: none;
}
.form--contact .actions {
  grid-column: 2;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ============ 9) Page Title Divider ============ */
.page-title {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 24px;
  font-family: inherit;
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.page-title em {
  color: inherit;
  font-style: normal;
  font-weight: inherit;
}
.page-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(200px, 38vw, 600px);
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    rgba(59, 160, 255, 1) 0%,
    rgba(59, 160, 255, 0.5) 30%,
    rgba(59, 160, 255, 0.15) 55%,
    rgba(59, 160, 255, 0.03) 70%,
    rgba(59, 160, 255, 0) 80%
  );
  opacity: 0.95;
}

.service-ribbon {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 15px 24px;
  border-block: 1px solid var(--border);
  background: #0d1319;
  color: #bcd3f0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============ 10) Footer ============ */
.footer {
  color: #90a2b6;
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 14px;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: var(--section-space);
  padding: 64px 0 28px;
  border-top: 1px solid var(--border);
  background: #080b0f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(28px, 5vw, 72px);
}

.footer-grid h2,
.footer-grid h3,
.footer-grid p {
  margin-top: 0;
}

.footer-grid h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.footer-grid h3 {
  color: #7f91a6;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid a {
  display: block;
  margin: 9px 0;
  color: #a9b8ca;
  text-decoration: none;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: #728196;
  font-size: 12px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-note {
  max-width: 65ch;
  margin: -4px 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-legal {
  display: block;
  margin-top: 8px;
  color: #728196;
  font-size: 12px;
  line-height: 1.5;
}

/* ============ 11) Responsive (nav) ============ */
@media (max-width: 720px) {
  .brand {
    margin-right: auto;
  }
  .nav {
    position: relative;
    z-index: 1000;
  }

  /* show hamburger on mobile */
  .nav-toggle {
    display: inline-flex;
  }

  /* dropdown panel (hidden by default but animatable) */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 24px;
    right: 24px;
    z-index: 1100;
    flex-direction: column;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);

    background: linear-gradient(180deg, #0f151c, #0b1016);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);

    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }
  .nav-links a {
    margin-left: 0;
    padding: 10px 12px;
    border-radius: 10px;
  }

  /* open state */
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* hamburger → X */
  .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;
    transform: scaleX(0);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero {
    padding-top: 40px;
  }
  .hero-grid,
  .product-hero,
  .product-card-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .plain-features,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
  .trust-row {
    display: grid;
    gap: 8px;
  }
  .section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .cta-panel {
    padding: 24px 18px;
  }
  .technology-section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .form--contact {
    grid-template-columns: 1fr;
  }
  .form--contact label {
    padding-top: 0;
  }
  .form--contact .actions {
    grid-column: 1;
    align-items: flex-start;
    flex-direction: column;
  }
  .footer {
    margin-top: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

/* ============ 12) Accessibility ============ */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ============ 13) Product showcase ============ */
.product-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.product-showcase > .section-heading {
  margin-bottom: 0;
}

.product-showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  margin-top: 28px;
  border-bottom: 1px solid var(--border);
}

.product-showcase-tabs button {
  padding: 10px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.product-showcase-tabs button.active,
.product-showcase-tabs button:hover,
.product-showcase-tabs button:focus-visible {
  border-color: var(--accent);
  color: var(--text);
}

.product-showcase-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid #253852;
  background: #080d12;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.product-showcase-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
}

.product-showcase-frame figcaption {
  padding: 11px 15px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 720px) {
  .product-showcase {
    grid-template-columns: 1fr;
  }
}

/* ============ 14) Media Smith product site ============ */
/* Media Smith product components, scoped so they cannot affect Scorpex pages. */
.mediasmith-site {
  --panel2: var(--card);
  --ink: var(--text);
  --green: var(--accent);
  --line: var(--border);
  --orange: var(--accent-2);

  scroll-behavior: smooth;
  line-height: 1.65;

  .shell {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
  }
  .skip {
    position: absolute;
    top: -60px;
    left: 20px;
    padding: 10px;
    background: var(--green);
    color: #081018;
    z-index: 99;
  }
  .skip:focus {
    top: 10px;
  }
  .brand b {
    color: var(--text);
    font-size: inherit;
    letter-spacing: 0.3px;
  }
  .brand b span {
    color: inherit;
  }
  .navbuy {
    border: 1px solid var(--green);
    color: var(--green);
    padding: 9px 16px;
  }
  h1,
  h2,
  h3,
  p {
    margin-top: 0;
  }
  h1,
  h2 {
    font-family: inherit;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
  }
  h1 {
    font-size: clamp(36px, 4.8vw, 56px);
    margin: 14px 0 22px;
  }

  .hero .page-title {
    font-size: clamp(38px, 4.5vw, 56px);
    margin: 14px 0 26px;
  }

  .footer-grid h2 {
    color: var(--text);
    font-size: 22px;
    letter-spacing: normal;
    line-height: 1.2;
  }
  h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    margin: 10px 0 20px;
  }
  em {
    color: inherit;
    font-style: normal;
    font-weight: inherit;
  }
  .eyebrow {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .hero {
    min-height: 480px;
    padding: 48px 0;
    display: flex;
    align-items: center;
  }
  .hero-copy {
    max-width: 780px;
  }
  .lead,
  .intro > p:last-child {
    color: var(--muted);
    font-size: 18px;
    max-width: 600px;
  }
  .actions {
    display: flex;
    gap: 12px;
    margin: 34px 0;
  }
  .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 13px 21px;
    border: 1px solid #29425f;
    text-decoration: none;
    font-weight: 750;
    font-size: 14px;
    transition: 0.2s;
  }
  .btn:hover {
    border-color: var(--green);
    transform: translateY(-2px);
  }
  .primary {
    background: var(--green);
    color: #081018;
    border-color: var(--green);
    box-shadow: 0 8px 30px rgba(59, 160, 255, 0.18);
  }
  .trust {
    display: flex;
    gap: 24px;
    padding: 0;
    list-style: none;
    color: #91a3b8;
    font-size: 13px;
  }
  .trust li:before {
    content: "\2713";
    color: var(--green);
    margin-right: 7px;
  }
  .ribbon {
    padding: 14px;
    border-block: 1px solid var(--line);
    background: #0d1319;
    color: #bcd3f0;
    white-space: nowrap;
    overflow: hidden;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-align: center;
  }
  .section {
    padding: 88px 0;
  }
  .intro {
    max-width: 690px;
    margin-bottom: 55px;
  }
  .center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .features article {
    min-height: 280px;
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 28px;
    position: relative;
  }
  .features article.wide {
    grid-column: span 2;
  }
  .features article i {
    position: absolute;
    right: 22px;
    color: #3c4c61;
    font-style: normal;
  }
  .features h3 {
    font-size: 21px;
    margin: 18px 0 8px;
  }
  .features p {
    color: var(--muted);
    font-size: 14px;
  }
  .features .icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border: 1px solid #27415f;
    color: var(--green);
  }
  .chips {
    display: flex;
    gap: 8px;
    margin-top: 25px;
  }
  .chips span {
    border: 1px solid var(--line);
    padding: 4px 9px;
    font-size: 10px;
    color: #8b9caf;
  }
  .features .accent {
    border-left: 3px solid var(--green);
    background: var(--panel);
    color: var(--ink);
  }
  .features .accent p {
    font-size: 10px;
    color: var(--green);
    letter-spacing: 0.12em;
  }
  .features .accent strong {
    display: flex;
    align-items: end;
    gap: 10px;
    margin-top: 38px;
    font-size: 48px;
    font-weight: 700;
  }
  .features .accent small {
    font: 11px Inter;
    text-transform: uppercase;
  }
  .showcase,
  .pricing {
    padding: 88px 0;
    background: #0d1218;
    border-block: 1px solid var(--line);
  }
  .product {
    display: grid;
    grid-template-columns: 0.8fr 1.4fr;
    gap: 65px;
    align-items: center;
  }
  .product > div > p:not(.eyebrow) {
    color: var(--muted);
  }
  .tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
    margin-top: 28px;
  }
  .tabs button {
    padding: 10px 12px;
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #8a98a8;
    cursor: pointer;
  }
  .tabs button.active {
    color: var(--green);
    border-color: var(--green);
  }
  .ticks {
    list-style: none;
    padding: 12px 0;
    font-size: 13px;
  }
  .ticks li {
    margin: 8px 0;
  }
  .ticks li:before {
    content: "\2713";
    color: var(--green);
    margin-right: 10px;
  }
  .product figure {
    margin: 0;
    background: #0f141a;
    border: 1px solid #253852;
    box-shadow: 0 25px 60px #000;
  }
  .product figure img {
    display: block;
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: contain;
    object-position: center;
    background: #080d12;
    transition: 0.15s;
  }
  .product figure img.changing {
    opacity: 0;
  }
  .product figcaption {
    padding: 11px 15px;
    color: var(--muted);
    font-size: 11px;
  }
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .steps article {
    text-align: center;
    position: relative;
  }
  .steps article > span {
    position: absolute;
    top: 10px;
    left: 20%;
    color: #2b3b50;
    font: 70px Georgia;
  }
  .steps article > b {
    position: relative;
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
    width: 76px;
    height: 76px;
    border: 1px solid #2b4563;
    background: #0f161e;
    color: var(--green);
    font-size: 25px;
  }
  .steps h3 {
    font-size: 19px;
  }
  .steps p {
    color: var(--muted);
    font-size: 14px;
  }
  .plans {
    display: grid;
    grid-template-columns: repeat(2, 390px);
    justify-content: center;
    gap: 20px;
  }
  .plans article {
    position: relative;
    padding: 38px;
    background: #111820;
    border: 1px solid var(--line);
  }
  .plans article.featured {
    border-color: var(--green);
    box-shadow: 0 20px 50px #000;
  }
  .plans article > mark {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--green);
    color: #081018;
    padding: 6px 13px;
    font-size: 10px;
    text-transform: uppercase;
  }
  .plans article > p {
    color: var(--green);
    font-size: 11px;
    letter-spacing: 0.15em;
    font-weight: 800;
  }
  .plans h3 {
    font: 24px Georgia;
  }
  .price {
    display: flex;
    align-items: start;
    margin: 22px 0;
  }
  .price sup {
    font-size: 20px;
    margin-top: 10px;
  }
  .price b {
    font: 70px Georgia;
    line-height: 1;
  }
  .price small {
    align-self: end;
    color: var(--muted);
    margin: 0 0 10px 8px;
  }
  .plans ul {
    list-style: none;
    padding: 20px 0;
    border-top: 1px solid var(--line);
  }
  .plans li {
    margin: 11px 0;
    font-size: 14px;
    color: #a9b8ca;
  }
  .plans li:before {
    content: "\2713";
    color: var(--green);
    margin-right: 9px;
  }
  .buy {
    width: 100%;
  }
  .commercial {
    text-align: center;
    color: var(--muted);
    margin-top: 30px;
  }
  .commercial a {
    color: var(--green);
  }
  .faq {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 90px;
  }
  .faq details {
    border-top: 1px solid var(--line);
    padding: 20px 0;
  }
  .faq summary {
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    list-style: none;
  }
  .faq summary span {
    float: right;
    color: var(--green);
    font-size: 24px;
  }
  .faq details p {
    color: var(--muted);
    font-size: 14px;
    padding-right: 30px;
  }
  .cta-panel img {
    width: 65px;
  }
  .cta-panel > .shell > p {
    color: var(--green);
    letter-spacing: 0.15em;
    font-size: 10px;
    font-weight: 800;
  }
  .cta-panel > .shell > h2 {
    margin: 20px;
  }
  .cta-panel small {
    display: block;
    color: #7d8fa4;
    margin-top: 20px;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
  @media (max-width: 850px) {
    .hero {
      padding-top: 40px;
    }
    .features {
      grid-template-columns: 1fr 1fr;
    }
    .features article.wide {
      grid-column: span 2;
    }
    .product,
    .faq {
      grid-template-columns: 1fr;
    }
    .plans {
      grid-template-columns: repeat(2, 1fr);
    }
    .footgrid {
      grid-template-columns: 2fr 1fr 1fr;
    }
    .footgrid > div:last-child {
      display: none;
    }
  }
  @media (max-width: 580px) {
    .shell {
      width: min(100% - 28px, 1160px);
    }
    h1 {
      font-size: 40px;
    }
    .hero {
      padding-top: 32px;
    }
    .trust {
      gap: 8px;
      flex-direction: column;
    }
    .section,
    .showcase,
    .pricing {
      padding: 56px 0;
    }
    .features {
      grid-template-columns: 1fr;
    }
    .features article.wide {
      grid-column: auto;
    }
    .product {
      gap: 35px;
    }
    .steps {
      grid-template-columns: 1fr;
    }
    .plans {
      grid-template-columns: 1fr;
    }
    .faq {
      gap: 20px;
    }
    .actions {
      flex-direction: column;
    }
    .ribbon {
      text-align: left;
    }
    .product figure {
      margin-inline: -8px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }
  .plans.single {
    grid-template-columns: minmax(300px, 460px);
  }
  .delivery-note {
    display: block;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
    margin-top: 15px;
    text-align: center;
  }

  /* Scorpex electric-blue surface palette */
  .steps article > b {
    background: #0f141a;
    border-color: #1f2d40;
  }

  .showcase,
  .pricing {
    background: #0d1218;
  }

  .plans article {
    background: #11161c;
  }
}
