/* ============================================================
   Reflection Labs — design system
   Display + body: DM Sans · Technical labels: JetBrains Mono
   ============================================================ */

:root {
  /* palette */
  --bg:        #FBFBFC;
  --bg-2:      #F4F4F7;
  --surface:   #FFFFFF;
  --ink:       #1A1A2E;
  --ink-soft:  #3A3A52;
  --muted:     #6B7084;
  --line:      #E7E7EE;
  --line-2:    #EFEFF4;

  --indigo:    #4F46E5;
  --violet:    #7C3AED;
  --grad:      linear-gradient(90deg, #4F46E5 0%, #7C3AED 100%);
  --grad-135:  linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);

  --green:     #16A34A;
  --amber:     #D97706;
  --red:       #DC2626;

  /* type */
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* shape */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(26,26,46,.04), 0 2px 8px rgba(26,26,46,.04);
  --shadow:    0 4px 16px rgba(26,26,46,.06), 0 12px 40px rgba(26,26,46,.07);
  --shadow-lg: 0 12px 32px rgba(26,26,46,.08), 0 30px 80px rgba(79,70,229,.10);

  --maxw: 1180px;
  --gut: 24px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(72px, 11vw, 140px) 0; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--indigo);
  font-weight: 500;
}
.eyebrow.muted { color: var(--muted); }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; }
.h-xl { font-size: clamp(44px, 7vw, 88px); font-weight: 500; letter-spacing: -0.035em; }
.h-lg { font-size: clamp(34px, 4.6vw, 56px); font-weight: 500; letter-spacing: -0.032em; }
.h-md { font-size: clamp(24px, 2.8vw, 34px); }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.italic-accent { font-style: italic; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); line-height: 1.6; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .01em;
  padding: 13px 22px; border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26,26,46,.18); }
.btn-grad { background: var(--grad-135); color: #fff; box-shadow: 0 6px 18px rgba(79,70,229,.28); }
.btn-grad:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(124,58,237,.34); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-1px); border-color: #d8d8e4; }
.btn-lg { padding: 16px 28px; font-size: 14px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,251,252,.78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-color: var(--line); background: rgba(251,251,252,.9); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand .mark { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 14.5px; color: var(--ink-soft); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); position: relative; transition: .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: .2s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg .glow {
  position: absolute; left: 50%; top: -8%; transform: translateX(-50%);
  width: 1100px; height: 720px;
  background: radial-gradient(50% 50% at 50% 40%, rgba(124,58,237,.16), rgba(79,70,229,.07) 45%, transparent 70%);
  filter: blur(6px);
}
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 62%);
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 62%);
  opacity: .7;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero h1 { margin: 20px auto 0; max-width: 14ch; }
.hero .lede { margin: 22px auto 0; max-width: 56ch; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* hero flow visual */
.flow-stage {
  position: relative; z-index: 1;
  margin: clamp(40px, 6vw, 64px) auto 0;
  max-width: 1080px;
  background: linear-gradient(180deg, #fff, #fcfcfe);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 3vw, 34px);
}
.flow-stage::before {
  content: ""; position: absolute; inset: -1px; border-radius: var(--r-lg);
  padding: 1px; background: linear-gradient(120deg, rgba(124,58,237,.35), transparent 35%, transparent 65%, rgba(79,70,229,.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.flow-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.flow-head .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.flow-head .live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px; color: var(--green); }
.flow-head .live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(22,163,74,.45)} 70%{box-shadow:0 0 0 9px rgba(22,163,74,0)} 100%{box-shadow:0 0 0 0 rgba(22,163,74,0)} }

/* the autonomous conveyor */
.flowline { position: relative; padding: 30px 0 8px; }
.rail { position: absolute; left: 7%; right: 7%; top: 52px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.rail-fill { position: absolute; inset: 0; width: 0; background: var(--grad); border-radius: 3px; animation: railfill 9s ease-in-out infinite; }
@keyframes railfill { 0%{width:0} 40%{width:100%} 70%{width:100%} 100%{width:0} }
.stations { display: grid; grid-template-columns: repeat(3,1fr); position: relative; z-index: 2; }
.station { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.station-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); box-shadow: var(--shadow-sm); transition: .3s; }
.station-ico svg { width: 26px; height: 26px; }
.station.lit .station-ico { color: #fff; background: var(--grad-135); border-color: transparent; box-shadow: 0 8px 22px rgba(124,58,237,.35); transform: translateY(-2px); }
.station-name { font-family: var(--mono); font-size: 12.5px; color: var(--ink); font-weight: 500; margin-top: 8px; }
.station-sub { font-size: 12.5px; color: var(--muted); }
.carrier { position: absolute; top: 36px; left: 7%; width: 36px; z-index: 3; animation: carry 9s ease-in-out infinite; }
.carrier svg { width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(26,26,46,.18)); }
@keyframes carry {
  0%   { left: 7%; transform: translateX(-50%) scale(.7); opacity: 0; }
  6%   { opacity: 1; transform: translateX(-50%) scale(.85); }
  46%  { left: 50%; transform: translateX(-50%) scale(.85); }
  86%  { left: 93%; transform: translateX(-50%) scale(.85); }
  96%  { left: 93%; transform: translateX(-50%) scale(.7); opacity: 0; }
  100% { left: 93%; opacity: 0; }
}
.handoffs { display: flex; justify-content: space-around; margin-top: 16px; padding: 0 16%; }
.handoffs span { font-family: var(--mono); font-size: 11px; color: var(--muted); opacity: .8; }
@media (max-width: 640px){ .handoffs { display: none; } .station-sub { display:none; } }

/* ============================================================
   TRUSTED-BY
   ============================================================ */
.trust { padding: 46px 0 18px; }
.trust p { text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 5vw, 60px); opacity: .72; }
.trust-row span { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--ink-soft); filter: grayscale(1); }

/* ============================================================
   PROBLEM
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split .copy p { color: var(--muted); margin-top: 18px; max-width: 46ch; font-size: 16.5px; }
.problem-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 26px; position: relative; overflow: hidden;
}
.timeline { display: grid; gap: 14px; }
.tl-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line-2); }
.tl-row.bad { background: linear-gradient(90deg, rgba(220,38,38,.05), transparent); }
.tl-row.good { background: linear-gradient(90deg, rgba(22,163,74,.06), transparent); border-color: rgba(22,163,74,.18); }
.tl-row .when { font-family: var(--mono); font-size: 12px; color: var(--muted); width: 76px; flex: none; }
.tl-row.bad .when { color: var(--red); }
.tl-row.good .when { color: var(--green); }
.tl-row .what { font-size: 14.5px; }
.tl-row .ic { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* ============================================================
   SYSTEM — three machines, one line
   ============================================================ */
.sec-head { max-width: 60ch; }
.sec-head.center { margin-inline: auto; }
.sec-head h2 { margin-top: 16px; }
.sec-head p { margin-top: 18px; }

.line-rail { position: relative; margin-top: clamp(40px, 6vw, 64px); }
.machines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 2; }
.machine {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
}
.machine:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(124,58,237,.25); }
.machine .stage-no { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--indigo); }
.machine .render { margin: 6px 0 16px; border-radius: var(--r); background: linear-gradient(160deg, #f7f7fb, #eef0f7); border: 1px solid var(--line-2); overflow: hidden; aspect-ratio: 4/3; }
.machine .render svg { width: 100%; height: 100%; }
.machine h3 { font-size: 21px; letter-spacing: -0.02em; }
.machine .role { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
.machine .desc { color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.machine ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.machine li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-soft); }
.machine li .chk { width: 17px; height: 17px; flex: none; border-radius: 50%; background: var(--grad-135); display: inline-flex; align-items: center; justify-content: center; }
.machine li .chk svg { width: 10px; height: 10px; }

/* connector arrows between machines */
.rail-connectors { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: none; }
.combine-note { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; }
.combine-note .pill {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12.5px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 9px 16px; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.combine-note .pill b { color: var(--indigo); font-weight: 600; }

/* ============================================================
   FLOW STEPPER (scrollytelling)
   ============================================================ */
.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.flow-sticky { position: sticky; top: 96px; }
.steps { display: grid; gap: 6px; margin-top: 26px; }
.step {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 18px 8px; border-bottom: 1px solid var(--line-2); cursor: pointer; transition: .2s;
}
.step .num { font-family: var(--mono); font-size: 13px; color: var(--muted); transition: .2s; }
.step .title { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; color: var(--muted); transition: .2s; }
.step .chev { color: var(--line); transition: .2s; }
.step.active { background: linear-gradient(90deg, rgba(79,70,229,.05), transparent); border-radius: var(--r); border-bottom-color: transparent; }
.step.active .num { color: var(--indigo); }
.step.active .title { color: var(--ink); }
.step.active .chev { color: var(--indigo); }

.flow-detail {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 26px; margin-top: 24px;
}
.flow-detail .tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); }
.flow-detail h3 { margin-top: 10px; font-size: 24px; }
.flow-detail p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.flow-progress { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* animated viewport on left */
.flow-viz {
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(124,58,237,.12), transparent 70%),
    linear-gradient(165deg, #fff, #f6f6fb);
  border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 1/1; padding: 24px;
  /* NOTE: overflow stays visible — overflow:hidden + border-radius + box-shadow here triggers a
     Firefox/Zen bug that drops descendant painting. The SVG is sized to fit, so nothing spills. */
  overflow: visible;
}
.viz-panel { display: none; opacity: 0; transition: opacity .35s ease; }
.viz-panel.active { display: block; opacity: 1; }
.viz-panel svg { width: 100%; height: auto; display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================
   VALUE PROPS
   ============================================================ */
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 60px); }
.prop {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
  transition: transform .22s ease, box-shadow .28s ease; box-shadow: var(--shadow-sm);
}
.prop:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.prop .ic { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(160deg, rgba(79,70,229,.12), rgba(124,58,237,.1)); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.prop .ic svg { width: 22px; height: 22px; }
.prop h3 { font-size: 18px; letter-spacing: -0.015em; }
.prop p { color: var(--muted); font-size: 14.5px; margin-top: 9px; }

/* ============================================================
   SPECS strip
   ============================================================ */
.specs {
  background: var(--ink); color: #fff; border-radius: var(--r-lg);
  padding: clamp(34px, 5vw, 56px); position: relative; overflow: hidden;
}
.specs::before { content:""; position:absolute; right:-10%; top:-30%; width:520px; height:520px; background: radial-gradient(circle, rgba(124,58,237,.5), transparent 65%); opacity:.5; }
.specs::after { content:""; position:absolute; left:-12%; bottom:-40%; width:480px; height:480px; background: radial-gradient(circle, rgba(79,70,229,.42), transparent 65%); opacity:.45; }
.specs .inner { position: relative; z-index: 1; }
.specs .eyebrow { color: #b9b4f5; }
.specs h2 { color: #fff; margin-top: 14px; max-width: 22ch; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px; }
.spec .n { font-size: clamp(30px, 4vw, 46px); font-weight: 500; letter-spacing: -0.03em; background: linear-gradient(90deg,#fff,#cfcaf7); -webkit-background-clip:text; background-clip:text; color:transparent; }
.spec .k { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: #9b9fb8; margin-top: 8px; text-transform: uppercase; }

/* ============================================================
   USE CASES
   ============================================================ */
.uc-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px; width: fit-content; margin-inline: auto; box-shadow: var(--shadow-sm); }
.uc-tab { font-family: var(--mono); font-size: 13px; padding: 9px 16px; border-radius: var(--r-pill); color: var(--muted); transition: .2s; }
.uc-tab.active { background: var(--ink); color: #fff; }
.uc-panels { margin-top: 32px; }
.uc-panel { display: none; }
.uc-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; animation: fade .35s ease; }
.uc-panel .copy h3 { font-size: 28px; }
.uc-panel .copy p { color: var(--muted); margin-top: 14px; font-size: 16px; }
.uc-panel .specsheet { margin-top: 22px; display: grid; gap: 10px; }
.uc-panel .specsheet div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.uc-panel .specsheet .lk { color: var(--muted); font-family: var(--mono); font-size: 12.5px; }
.uc-panel .specsheet .vl { font-weight: 500; }
.uc-visual { background: linear-gradient(160deg,#fff,#f4f4f9); border:1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 4/3; overflow:hidden; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta {
  text-align: center; position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, #fbfbfe, #f3f1fc); border: 1px solid var(--line);
  padding: clamp(54px, 8vw, 92px) 24px;
}
.cta .glow { position:absolute; left:50%; top:0; transform:translateX(-50%); width:760px; height:480px; background: radial-gradient(50% 50% at 50% 0, rgba(124,58,237,.22), transparent 70%); pointer-events:none; }
.cta h2 { position: relative; max-width: 18ch; margin: 14px auto 0; }
.cta p { position: relative; margin: 16px auto 0; max-width: 50ch; }
.cta .hero-cta { margin-top: 30px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 30ch; }
.footer-col h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 500; }
.footer-col a { display: block; font-size: 14.5px; color: var(--ink-soft); padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--indigo); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; gap: 16px; flex-wrap: wrap; }
.footer-bottom .mono { font-family: var(--mono); font-size: 12px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px var(--gut); box-shadow: var(--shadow); }
  .nav.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
  .split, .flow-grid, .uc-panel.active, .footer-top { grid-template-columns: 1fr; }
  .machines, .props, .spec-grid { grid-template-columns: 1fr; }
  .flow-sticky { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 600px) and (max-width: 940px) {
  .machines, .props { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
