/* ============================================================
   XPIPS Technologies — styles
   Aesthetic: instrumentation / engineering. Near-black canvas,
   acid-lime signal accent, mono technical labels, data motifs.
   ============================================================ */

:root {
  --bg:        #07090b;
  --bg-2:      #0b0e12;
  --bg-3:      #10141a;
  --panel:     #0d1116;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);
  --text:      #e9edf2;
  --muted:     #889099;
  --muted-2:   #5c646e;
  --accent:    #c9f24a;   /* acid lime — the signal */
  --accent-2:  #56e0ff;   /* cool cyan — secondary series */
  --accent-ink:#0a0c08;   /* text on accent */
  --warn:      #ffb454;

  --radius:    14px;
  --radius-sm: 10px;
  --maxw:      1180px;
  --gutter:    clamp(20px, 5vw, 56px);

  --font-display: "Bricolage Grotesque", "Hanken Grotesk", sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* ─────────────── ambient background ─────────────── */
.bg-grid,
.bg-glow,
.bg-noise { position: fixed; inset: 0; pointer-events: none; z-index: -1; }

.bg-grid {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 70% 0%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 60% at 70% 0%, #000 10%, transparent 75%);
  opacity: 0.6;
}

.bg-glow {
  background:
    radial-gradient(60% 50% at 82% -5%, rgba(201,242,74,0.16), transparent 60%),
    radial-gradient(45% 40% at 8% 12%, rgba(86,224,255,0.07), transparent 60%);
}

.bg-noise {
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─────────────── shared ─────────────── */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(72px, 11vw, 140px) var(--gutter);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow.center { justify-content: center; width: 100%; }
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,242,74,0.18);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 {
  font-size: clamp(30px, 4.6vw, 50px);
  margin: 18px 0 0;
}
.section-sub { color: var(--muted); font-size: 17px; margin-top: 18px; max-width: 60ch; }

/* ─────────────── buttons ─────────────── */
.btn {
  --pad: 13px 22px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: var(--pad);
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn span { transition: transform .18s ease; }
.btn:hover span { transform: translateX(3px); }
.btn-sm { --pad: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; --pad: 15px 22px; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  box-shadow: 0 0 0 0 rgba(201,242,74,0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px -8px rgba(201,242,74,0.55);
}

.btn-ghost {
  border-color: var(--line-2);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ─────────────── header ─────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 16px var(--gutter);
  max-width: var(--maxw); margin: 0 auto;
  backdrop-filter: blur(10px);
}
.site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(var(--bg), rgba(7,9,11,0.55));
  -webkit-mask-image: linear-gradient(#000, transparent);
          mask-image: linear-gradient(#000, transparent);
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 6px 18px -6px rgba(201,242,74,0.6);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.brand-dim {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-size: 14.5px; color: var(--muted);
  position: relative; transition: color .18s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width .22s ease;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.header-cta { margin-left: 8px; }

.menu-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px;
  background: transparent; border: 1px solid var(--line-2); border-radius: 10px;
  flex-direction: column; gap: 4px; align-items: center; justify-content: center;
  cursor: pointer;
}
.menu-toggle span { width: 18px; height: 1.6px; background: var(--text); transition: .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

.mobile-menu {
  position: sticky; top: 74px; z-index: 49;
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px var(--gutter) 22px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 6px; color: var(--muted); border-bottom: 1px solid var(--line); }
.mobile-menu a.btn { margin-top: 12px; border: none; color: var(--accent-ink); justify-content: center; }

/* ─────────────── hero ─────────────── */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) var(--gutter) clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 800;
  margin: 22px 0 0;
}
.hero h1 .hl { color: var(--accent); position: relative; white-space: nowrap; }
.lede {
  color: var(--muted);
  font-size: clamp(16.5px, 1.9vw, 19px);
  margin-top: 24px; max-width: 52ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 36px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-trust li {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em;
  color: var(--muted-2); display: flex; align-items: center; gap: 8px;
}
.hero-trust li::before { content: "✓"; color: var(--accent); font-size: 12px; }
.hero-trust strong { color: var(--muted); font-weight: 500; }

/* instrumentation panel */
.hero-panel { position: relative; justify-self: end; width: 100%; max-width: 480px; }
.panel {
  background: linear-gradient(180deg, var(--bg-3), var(--panel));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.02) inset;
}
.panel-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 15px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}
.panel-title { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.panel-dots { display: inline-flex; gap: 6px; }
.panel-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.panel-dots i:first-child { background: var(--accent); }

.panel-body { padding: 16px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 11px 12px;
}
.kpi-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; color: var(--muted-2); display: block; }
.kpi-value { font-family: var(--font-display); font-weight: 700; font-size: 19px; display: block; margin-top: 5px; letter-spacing: -0.02em; }
.kpi-value small { font-size: 12px; color: var(--muted); font-weight: 500; }
.kpi-trend { font-family: var(--font-mono); font-size: 10px; }
.kpi-trend.up { color: var(--accent); }
.kpi-trend.down { color: var(--accent-2); }

.chart {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px;
}
.chart-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted-2);
  margin-bottom: 10px;
}
.chart-legend { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.chart-legend i.s1 { background: var(--accent); }
.chart-legend i.s2 { background: var(--accent-2); margin-left: 6px; }
.spark { width: 100%; height: 84px; }
.spark .line { stroke-linecap: round; stroke-linejoin: round; }
.spark .line1 { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s ease forwards .3s; }
.spark .line2 { opacity: 0.55; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s ease forwards .5s; }
.spark .area { opacity: 0; animation: fade 1.2s ease forwards 1.6s; }
.spark .pulse { animation: pulse 2s ease-in-out infinite 2.4s; }

.rows { display: grid; gap: 7px; }
.row {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--muted);
  padding: 8px 11px; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 8px;
}
.row .rstat { margin-left: auto; color: var(--muted-2); font-size: 10.5px; }
.rdot { width: 7px; height: 7px; border-radius: 50%; }
.rdot.ok { background: var(--accent); box-shadow: 0 0 8px rgba(201,242,74,0.6); }
.rdot.warn { background: var(--warn); box-shadow: 0 0 8px rgba(255,180,84,0.5); animation: blink 1.4s steps(2) infinite; }

.panel-badge {
  position: absolute; bottom: -14px; left: -14px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--accent-ink); background: var(--accent);
  padding: 8px 14px; border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(201,242,74,0.6);
}

/* ─────────────── ticker ─────────────── */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden; padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: inline-flex; align-items: center; gap: 22px;
  white-space: nowrap; will-change: transform;
  animation: marquee 38s linear infinite;
}
.ticker-track span {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.ticker-track .sep { color: var(--accent); }

/* ─────────────── services ─────────────── */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(201,242,74,0.07), transparent 55%);
  opacity: 0; transition: opacity .22s ease;
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 60px -36px rgba(0,0,0,0.9); }
.svc-card:hover::before { opacity: 1; }
.svc-no {
  font-family: var(--font-mono); font-size: 12px; color: var(--accent);
  position: absolute; top: 22px; right: 22px;
}
.svc-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; color: var(--accent);
  background: rgba(201,242,74,0.08); border: 1px solid rgba(201,242,74,0.2);
  margin-bottom: 20px;
}
.svc-icon svg { width: 23px; height: 23px; }
.svc-card h3 { font-size: 25px; margin-bottom: 12px; }
.svc-card > p { color: var(--muted); font-size: 15px; }
.svc-list { list-style: none; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.svc-list li {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  display: flex; align-items: center; gap: 9px;
}
.svc-list li::before { content: "→"; color: var(--accent); }

/* ─────────────── capabilities ─────────────── */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cap {
  background: var(--bg); padding: 30px 26px;
  transition: background .2s ease;
}
.cap:hover { background: var(--bg-2); }
.cap-k { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.cap h4 { font-size: 19px; margin: 14px 0 9px; }
.cap p { color: var(--muted); font-size: 14.5px; }

/* ─────────────── process ─────────────── */
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s;
}
.step {
  position: relative; padding: 26px 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2);
}
.step-k {
  font-family: var(--font-mono); font-size: 13px; color: var(--accent-ink);
  background: var(--accent); border-radius: 7px;
  width: 34px; height: 30px; display: grid; place-items: center; font-weight: 600;
  margin-bottom: 18px;
}
.step h4 { font-size: 20px; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 41px; right: -10px;
  width: 20px; height: 1px; background: var(--line-2);
}

/* ─────────────── stats ─────────────── */
.stats {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: clamp(34px, 5vw, 56px) 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-v {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 4.5vw, 48px); letter-spacing: -0.03em; color: var(--text);
}
.stat-v small { font-size: 0.5em; color: var(--accent); }
.stat-l { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* ─────────────── stack ─────────────── */
.stack { text-align: center; padding-top: clamp(56px, 8vw, 90px); padding-bottom: clamp(56px, 8vw, 90px); }
.stack-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: 28px;
}
.stack-row span {
  font-family: var(--font-mono); font-size: 13px; color: var(--muted);
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-2); transition: color .18s ease, border-color .18s ease;
}
.stack-row span:hover { color: var(--accent); border-color: rgba(201,242,74,0.35); }

/* ─────────────── about ─────────────── */
.about-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.about-copy h2 { font-size: clamp(28px, 4vw, 46px); margin: 16px 0 22px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; max-width: 56ch; }
.about-copy .btn { margin-top: 12px; }

.about-card {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 26px 24px;
}
.about-card h4 { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.reg { display: grid; gap: 0; }
.reg > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.reg > div:last-child { border-bottom: none; }
.reg dt { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.reg dd { font-size: 14px; text-align: right; }
.reg dd a { color: var(--accent); }
.reg-note { font-size: 12px; color: var(--muted-2); margin-top: 16px; line-height: 1.5; }
.reg-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.reg-note a:hover { color: var(--accent); }

/* ─────────────── contact ─────────────── */
.contact { position: relative; }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px);
  align-items: start;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line-2); border-radius: 20px;
  padding: clamp(32px, 5vw, 56px);
  position: relative; overflow: hidden;
}
.contact-inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 80% at 100% 0%, rgba(201,242,74,0.1), transparent 60%);
}
.contact-copy h2 { font-size: clamp(28px, 4vw, 44px); margin: 16px 0 16px; }
.contact-copy p { color: var(--muted); max-width: 42ch; }
.contact-direct { margin-top: 22px; font-family: var(--font-mono); font-size: 13px; }
.contact-direct a { color: var(--accent); }

.contact-form { display: grid; gap: 16px; position: relative; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.field .opt { color: var(--muted-2); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 13px 14px; resize: vertical;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,242,74,0.14);
}
.form-status { font-family: var(--font-mono); font-size: 12.5px; min-height: 1em; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--warn); }

/* ─────────────── footer ─────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(48px, 7vw, 72px) var(--gutter) 36px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-brand .brand-name { font-family: var(--font-display); font-weight: 800; font-size: 20px; display: inline-flex; gap: 6px; align-items: baseline; }
.brand-mark-text { color: var(--accent); }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 34ch; }
.footer-nav { display: flex; flex-direction: column; gap: 11px; }
.footer-nav a, .footer-contact a { color: var(--muted); font-size: 14px; transition: color .18s ease; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; gap: 11px; }
.footer-contact a { font-family: var(--font-mono); font-size: 13px; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding-top: 28px; color: var(--muted-2);
}
.footer-legal p { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em; }

/* ─────────────── reveal animation ─────────────── */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0ms); }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes pulse {
  0%, 100% { r: 3.5; opacity: 1; }
  50% { r: 6; opacity: 0.4; }
}
@keyframes blink { 50% { opacity: 0.3; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─────────────── responsive ─────────────── */
@media (max-width: 940px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-panel { justify-self: center; margin-top: 12px; }
  .services, .cap-grid, .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .about-grid, .contact-inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .services, .cap-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .hero-trust { gap: 8px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .spark .line1, .spark .line2 { stroke-dashoffset: 0; }
  .spark .area { opacity: 1; }
}
