/* ==========================================================================
   Vaiden Labs - Design System
   Dark, teal-accented theme for an aerospace & defense software company.
   ========================================================================== */

:root {
  /* Backgrounds (near-black with a cool cast) */
  --bg-900: #060b0f;
  --bg-800: #0a1218;
  --bg-700: #0f1a22;
  --bg-600: #142430;
  --bg-card: #0e1820;

  /* Lines / borders */
  --line: #1b2c38;
  --line-soft: rgba(255, 255, 255, 0.06);

  /* Brand teal (matches Strix --primary #00d4aa) */
  --teal: #00d4aa;
  --teal-bright: #2af0cd;
  --teal-dim: #00a884;
  --teal-deep: #0a6f5c;

  /* Text */
  --text: #e8f1f1;
  --text-2: #a3b7bf;
  --text-3: #6f868f;

  /* Effects */
  --glow: rgba(0, 212, 170, 0.22);
  --glow-soft: rgba(0, 212, 170, 0.10);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --shadow-teal: 0 12px 50px rgba(0, 212, 170, 0.18);

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --maxw: 1180px;
  --nav-h: 70px;

  --font-head: "Space Grotesk", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-900);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambient page glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(0, 212, 170, 0.12), transparent 60%),
    radial-gradient(800px 700px at 8% 8%, rgba(0, 140, 200, 0.07), transparent 55%),
    linear-gradient(180deg, var(--bg-900) 0%, #04080b 100%);
  pointer-events: none;
}

/* Subtle dotted grid */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 70%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--teal-bright); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(48px, 6vw, 80px) 0;
  position: relative;
}

.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

h2.title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: 16px;
}
.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--text-2);
}

.text-teal {
  background: linear-gradient(120deg, var(--teal-bright), var(--teal-dim));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(120deg, var(--teal), var(--teal-dim));
  color: #04231d;
  box-shadow: 0 8px 26px rgba(0, 212, 170, 0.28);
}
.btn-primary:hover { color: #04231d; box-shadow: 0 12px 34px rgba(0, 212, 170, 0.42); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-bright); background: var(--glow-soft); }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 11, 15, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Desktop: menu is a single row pushed right; one CTA, no hamburger */
.nav-menu { display: flex; align-items: center; margin-left: auto; }
.nav-mobile-cta { display: none; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 10px var(--glow)); }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.16em;
  color: var(--text);
}
.brand-name b { color: var(--teal); font-weight: 700; }
.brand-sub {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  color: var(--text-3);
  font-weight: 500;
  margin-top: -2px;
}

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width 0.22s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  width: 44px; height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 212, 170, 0.06);
  font-size: 0.82rem;
  color: var(--text-2);
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.04;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero p.lead { max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-meta { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta .k { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--text); }
.hero-meta .v { font-size: 0.8rem; color: var(--text-3); letter-spacing: 0.04em; }

/* Hero image */
.hero-images {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 212, 170, 0.08), 0 0 0 1px rgba(0, 212, 170, 0.12);
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* ---------- Stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--bg-800);
  padding: 28px 24px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--teal);
}
.stat .label { font-size: 0.85rem; color: var(--text-2); margin-top: 4px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, var(--bg-700), var(--bg-800));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(0, 212, 170, 0.4); box-shadow: var(--shadow-teal); }
.card:hover::after { transform: scaleX(1); }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--glow-soft);
  border: 1px solid rgba(0, 212, 170, 0.25);
  margin-bottom: 18px;
  color: var(--teal);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 0.96rem; }
.card .tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- Feature block (Strix) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 900px 500px at 10% 20%, rgba(0, 212, 170, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-700) 0%, var(--bg-800) 100%);
  padding: 46px 42px;
}
.feature-media {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 30%, rgba(0, 212, 170, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-700), var(--bg-900));
  padding: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.feature-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 212, 170, 0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.feature-media img { position: relative; z-index: 1; max-height: 380px; width: auto; filter: drop-shadow(0 20px 50px rgba(0,0,0,0.55)); }

.feature-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.feature-logo img { width: 40px; height: 40px; }
.feature-logo .name { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; letter-spacing: 0.02em; }
.checks { list-style: none; margin: 22px 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--text-2); font-size: 0.98rem; }
.checks svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--teal); margin-top: 3px; }
.feature ul.checks { margin: 22px 0 30px; }

.stats--compact {
  grid-column: 1 / -1;
  margin-top: 10px;
}
.stats--compact .num { font-size: 1rem; }
.stats--compact .label { font-size: 0.72rem; }

/* ---------- Split / approach ---------- */
.approach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.approach-item {
  display: flex; gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-800);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.approach-item:hover { border-color: rgba(0,212,170,0.35); background: var(--bg-700); }
.approach-item .n { font-family: var(--font-head); font-weight: 700; color: var(--teal); font-size: 1.1rem; }
.approach-item h4 { font-size: 1.08rem; margin-bottom: 6px; }
.approach-item p { color: var(--text-2); font-size: 0.92rem; }

/* ---------- About / CTA panel ---------- */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(0, 212, 170, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-700), var(--bg-800));
  padding: clamp(34px, 5vw, 64px);
}
.panel.center { text-align: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-800);
  padding: 26px;
}
.contact-card h4 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.contact-card .big { font-family: var(--font-head); font-size: 1.3rem; word-break: break-word; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; color: var(--text-2); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg-900);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 38px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f868f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
.field select option { background: var(--bg-800); color: var(--text); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 34px;
  background: #04080b;
}
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 38px; }
.footer .brand-name { font-size: 1.05rem; }
.footer p.muted { color: var(--text-3); font-size: 0.9rem; max-width: 320px; margin-top: 14px; }
.footer-col h5 { font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-3); font-size: 0.92rem; margin-bottom: 9px; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--text-3); font-size: 0.84rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------- Sub-page header (Strix page) ---------- */
.subhero { padding: calc(var(--nav-h) + 70px) 0 40px; position: relative; }
.subhero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--text-3); font-size: 0.9rem; margin-bottom: 26px; }
.back-link:hover { color: var(--teal); }

.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.spec-table th { background: var(--bg-700); font-family: var(--font-head); color: var(--text); font-weight: 600; }
.spec-table td:first-child { color: var(--text-2); width: 38%; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tbody tr:hover { background: rgba(0, 212, 170, 0.04); }

.note-box {
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  background: var(--glow-soft);
  padding: 18px 22px;
  margin: 26px 0;
  color: var(--text-2);
  font-size: 0.95rem;
}
.note-box strong { color: var(--text); }

.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 30px 0; }
.media-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-800);
  padding: 18px;
}
.media-card img { border-radius: var(--radius-sm); margin: 0 auto; }
.media-card .cap { text-align: center; color: var(--text-3); font-size: 0.85rem; margin-top: 12px; }

/* ---------- Domains: Aerospace section ---------- */
.domain-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
}
.founder-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  background: var(--glow-soft);
  color: var(--text-2);
  font-size: 0.92rem;
  margin: 4px 0 26px;
}
.founder-note svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--teal); }

/* Satellite visualization (orbiting satellites around a planet) */
.space-viz { display: grid; place-items: center; }
.space-viz svg { width: 100%; max-width: 440px; height: auto; overflow: visible; }
.orbit-path { fill: none; stroke: rgba(0, 212, 170, 0.16); stroke-width: 1; }
.orbit-spin { transform-box: view-box; transform-origin: 200px 200px; }
.orbit-spin.s1 { animation: orbit 26s linear infinite; }
.orbit-spin.s2 { animation: orbit 40s linear infinite reverse; }
.orbit-spin.s3 { animation: orbit 56s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.star { animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.95; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-images { max-width: 380px; margin: 0 auto; }
  .feature { grid-template-columns: 1fr; gap: 34px; padding: 28px 22px; }
  .feature-media { order: -1; }
  .domain-grid { grid-template-columns: 1fr; gap: 36px; }
  .space-viz { order: -1; }
  .space-viz svg { max-width: 340px; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .approach-grid { grid-template-columns: 1fr; }
  .media-row { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .nav-desktop-cta { display: none; }
  .nav-menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    margin-left: 0;
    background: rgba(6, 11, 15, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); font-size: 1rem; display: block; }
  .nav-links a::after { display: none; }
  .nav-mobile-cta { display: inline-flex; margin-top: 16px; justify-content: center; }
}

@media (max-width: 560px) {
  .grid-3, .grid-2, .stats { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .hero-meta { gap: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mesh-legend { display: none; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Strix page: data tables, device-type grid, deploy media ---------- */
.data-table { width:100%; border-collapse:collapse; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; font-size:.9rem; margin:18px 0; }
.data-table th, .data-table td { padding:11px 14px; border-bottom:1px solid var(--line); text-align:left; }
.data-table thead th { background:var(--bg-700); font-family:var(--font-head); color:var(--text); font-weight:600; }
.data-table td:first-child { color:var(--text-2); }
.data-table tbody tr:hover { background:rgba(0,212,170,.04); }
.data-table tr:last-child td { border-bottom:none; }
.data-table .row-emph td { background:rgba(0,212,170,.07); }
.data-table .row-emph td:first-child { color:var(--teal); font-weight:600; }
.device-types { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin:26px 0; }
.device-types .media-card img { max-height:200px; width:auto; }
@media (max-width:760px){ .device-types { grid-template-columns:1fr; } }
.deploy-media { margin-top:30px; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--bg-800); }
.deploy-media img { width:100%; display:block; }
.deploy-media .cap { text-align:center; color:var(--text-3); font-size:0.85rem; padding:12px 16px; }

/* ---------- Static contact form status (Web3Forms) ---------- */
.form-status { margin-top:14px; font-size:0.92rem; min-height:1.2em; }
.form-status.sending { color:var(--text-3); }
.form-status.success { color:var(--teal); }
.form-status.error { color:#ff6b6b; }
