/* ==========================================================================
   ScreenHandoff — Flagship Product Design System (ui-ux-pro-max)
   Typography : IBM Plex Sans (UI/Display) + JetBrains Mono (Telemetry/Code)
   Themes     : Precision Dark (default) + Eye-Friendly Sage Paper Light
   ========================================================================== */

:root {
  /* Dark Mode — Hardware-Precision Charcoal & Sage */
  --bg: #0a0e11;
  --bg-subtle: #0e1317;
  --surface: #12191e;
  --surface-elevated: #172026;
  --surface-hover: #1d2830;
  --surface-inset: #0c1115;
  --header-bg: rgba(14, 19, 23, 0.8);
  --header-bg-scrolled: rgba(12, 17, 21, 0.94);

  --border: rgba(237, 242, 239, 0.085);
  --border-strong: rgba(237, 242, 239, 0.16);
  --specular: inset 0 1px 0 rgba(255, 255, 255, 0.065);

  --text: #eff4f1;
  --text-secondary: #b5c3bc;
  --text-muted: #86968e;

  --accent: #a3e879;
  --accent-hover: #b6f192;
  --accent-deep: #22c55e;
  --accent-ink: #0a1408;
  --accent-soft: rgba(163, 232, 121, 0.105);
  --accent-border: rgba(163, 232, 121, 0.34);
  --ambient-top: rgba(163, 232, 121, 0.07);

  /* Stage hardware tones */
  --stage-bg: #0c1115;
  --stage-grid: rgba(237, 242, 239, 0.045);
  --hw-body: #172026;
  --hw-body-top: #1f2a32;
  --hw-screen-1-a: #192822;
  --hw-screen-1-b: #0f1815;
  --hw-screen-2-a: #19232c;
  --hw-screen-2-b: #10171d;
  --cable-idle: #2e3c44;
  --cable-active: #a3e879;

  /* Layered Elevation Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.38);
  --shadow-md: 0 10px 26px -8px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 18px 42px -12px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.38);
  --shadow-xl: 0 32px 72px -18px rgba(0, 0, 0, 0.78), 0 10px 24px rgba(0, 0, 0, 0.48);

  /* Radii */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max-w: 1120px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

/* Eye-Friendly Sage-Paper Light Theme — Zero Harsh White Glare, >= 4.5:1 Contrast */
:root[data-theme="light"] {
  --bg: #d9e2dd;
  --bg-subtle: #d1dcd6;
  --surface: #e4ebe7;
  --surface-elevated: #ecf1ee;
  --surface-hover: #dae3de;
  --surface-inset: #ced8d2;
  --header-bg: rgba(228, 235, 231, 0.86);
  --header-bg-scrolled: rgba(233, 239, 235, 0.96);

  --border: rgba(24, 35, 30, 0.13);
  --border-strong: rgba(24, 35, 30, 0.24);
  --specular: inset 0 1px 0 rgba(255, 255, 255, 0.55);

  --text: #18231e;
  --text-secondary: #2e3f37;
  --text-muted: #41544b;

  --accent: #296820;
  --accent-hover: #205618;
  --accent-deep: #1e7a34;
  --accent-ink: #f2f8f1;
  --accent-soft: rgba(41, 104, 32, 0.105);
  --accent-border: rgba(41, 104, 32, 0.38);
  --ambient-top: rgba(41, 104, 32, 0.06);

  --stage-bg: #ced8d2;
  --stage-grid: rgba(24, 35, 30, 0.055);
  --hw-body: #dfe7e2;
  --hw-body-top: #e9f0ec;
  --hw-screen-1-a: #c3d6c8;
  --hw-screen-1-b: #d6e3da;
  --hw-screen-2-a: #c2d0d9;
  --hw-screen-2-b: #d4dfe6;
  --cable-idle: #91a499;
  --cable-active: #296820;

  --shadow-sm: 0 1px 2px rgba(20, 32, 26, 0.07);
  --shadow-md: 0 10px 26px -8px rgba(20, 32, 26, 0.13), 0 2px 6px rgba(20, 32, 26, 0.06);
  --shadow-lg: 0 18px 40px -12px rgba(20, 32, 26, 0.17), 0 4px 12px rgba(20, 32, 26, 0.08);
  --shadow-xl: 0 30px 64px -18px rgba(20, 32, 26, 0.22), 0 8px 20px rgba(20, 32, 26, 0.09);

  color-scheme: light;
}

/* Reset & Base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

button {
  font-family: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

code {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.84em;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--surface-inset);
  border: 1px solid var(--border);
  color: var(--text);
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

section[id] {
  scroll-margin-top: 96px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--shadow-lg);
  transition: top 150ms var(--ease);
}

.skip-link:focus {
  top: 16px;
}

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

/* ==========================================================================
   FLOATING PRECISION HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 20px 0;
  pointer-events: none;
}

.header-shell {
  pointer-events: auto;
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md), var(--specular);
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.site-header.is-scrolled .header-shell {
  background: var(--header-bg-scrolled);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg), var(--specular);
}

.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 0 12px 0 14px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  padding: 4px 6px 4px 2px;
  border-radius: var(--r-sm);
  transition: opacity 150ms var(--ease);
}

.brand:hover {
  opacity: 0.9;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  box-shadow: var(--specular);
  flex-shrink: 0;
}

.brand-ver {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--surface-inset);
  border: 1px solid var(--border);
}

.nav-links {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 10px;
  background: var(--surface-inset);
  border: 1px solid var(--border);
}

.nav-links a {
  padding: 6px 13px;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 180ms var(--ease), background-color 180ms var(--ease);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.nav-links a[aria-current="page"],
.nav-links a.is-active {
  color: var(--text);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-sm), var(--specular);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  display: inline-grid;
  place-items: center;
  transition: color 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease);
}

.icon-btn:hover {
  color: var(--text);
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

[data-theme-toggle] .icon-moon { display: none; }
[data-theme-toggle] .icon-sun { display: block; }
:root[data-theme="light"] [data-theme-toggle] .icon-sun { display: none; }
:root[data-theme="light"] [data-theme-toggle] .icon-moon { display: block; }

.icon-btn.menu-toggle {
  display: none;
}

.mobile-drawer {
  border-top: 1px solid var(--border);
  padding: 10px 12px 14px;
  display: grid;
  gap: 4px;
}

.mobile-drawer[hidden] {
  display: none;
}

@media (min-width: 768px) {
  .mobile-drawer {
    display: none !important;
  }
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}

.mobile-drawer a:hover,
.mobile-drawer a[aria-current="page"] {
  background: var(--surface-hover);
  color: var(--text);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 0.82rem;
}

.btn-lg {
  height: 46px;
  padding: 0 20px;
  font-size: 0.92rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-secondary {
  background: var(--surface-elevated);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm), var(--specular);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--accent-border);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 4px;
  transition: color 180ms var(--ease);
}

.text-link:hover {
  color: var(--accent);
}

.text-link svg {
  transition: transform 180ms var(--ease);
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   HERO & ELEVATED WORKSTATION STAGE
   ========================================================================== */
.hero {
  position: relative;
  padding: 56px 0 48px;
}

/* Restrained studio ambient highlight + precision blueprint grid behind hero */
.hero::before {
  content: "";
  position: absolute;
  inset: -76px 0 auto 0;
  height: 580px;
  background-image:
    radial-gradient(ellipse 68% 55% at 50% 0%, var(--ambient-top), transparent 72%),
    linear-gradient(to right, var(--stage-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--stage-grid) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 12%, black 22%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 12%, black 22%, transparent 82%);
  pointer-events: none;
  z-index: -1;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 32px 48px;
  align-items: end;
  margin-bottom: 40px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-deep);
  box-shadow: 0 0 0 3px var(--accent-soft);
  flex-shrink: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.55rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: var(--text);
}

.hero-right p {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.66;
  color: var(--text-secondary);
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

/* Realistic Layered App Window Showcase */
.window-frame {
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xl), var(--specular);
  overflow: hidden;
}

.window-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.chrome-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.window-lights {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}

.window-lights span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.view-tabs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 9px;
  background: var(--surface-inset);
  border: 1px solid var(--border);
}

.view-tab {
  height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}

.view-tab:hover {
  color: var(--text);
}

.view-tab.active {
  background: var(--surface-elevated);
  color: var(--text);
  box-shadow: var(--shadow-sm), var(--specular);
}

.stage-panel[hidden] {
  display: none;
}

.stage-panel > img {
  width: 100%;
  display: block;
}

/* Interactive Workstation Hardware Stage */
.stage-inner {
  background: var(--stage-bg);
}

.workstation-stage {
  position: relative;
  height: 326px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 28px;
  padding: 28px 32px 62px;
  background-image: radial-gradient(var(--stage-grid) 1px, transparent 1px);
  background-size: 20px 20px;
  overflow: hidden;
}

.stage-floor {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 61px;
  height: 1px;
  background: var(--border-strong);
}

.stage-cables {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cable-path {
  fill: none;
  stroke: var(--cable-idle);
  stroke-width: 2;
  transition: stroke 220ms var(--ease);
}

.cable-path.active {
  stroke: var(--cable-active);
  stroke-width: 2.5;
}

/* Desktop PC Tower Chassis (Industrial Case + Top I/O + Intake Vents + Case Feet) */
.hw-tower {
  position: relative;
  z-index: 2;
  width: 82px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tower-chassis {
  width: 82px;
  height: 144px;
  border-radius: 5px;
  border: 1.5px solid var(--border-strong);
  background: linear-gradient(180deg, var(--hw-body-top) 0%, var(--hw-body) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 12px;
  box-shadow: var(--shadow-md), var(--specular);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.hw-tower:hover .tower-chassis,
.hw-mini:hover .mini-chassis {
  border-color: var(--accent-border);
}

.hw-tower.active .tower-chassis,
.hw-mini.active .mini-chassis {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-lg), var(--specular);
}

.tower-top-io {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--border);
}

.tower-ports {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tower-ports span {
  width: 8px;
  height: 3px;
  border-radius: 1px;
  background: var(--border-strong);
}

.tower-pwr {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.hw-tower.active .tower-pwr {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.win-grid {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  gap: 2.5px;
}

.win-grid span {
  width: 9px;
  height: 9px;
  border-radius: 1px;
  background: var(--text-muted);
  transition: background-color 200ms var(--ease);
}

.hw-tower.active .win-grid span {
  background: var(--accent);
}

.tower-vents {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 0 2px;
}

.tower-vents span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--border-strong);
}

.tower-feet {
  width: 66px;
  display: flex;
  justify-content: space-between;
}

.tower-feet span {
  width: 12px;
  height: 4px;
  border-radius: 0 0 2px 2px;
  background: var(--border-strong);
}

.hw-under-label {
  position: absolute;
  top: calc(100% + 26px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  transition: color 200ms var(--ease);
}

.hw-tower.active .hw-under-label,
.hw-mini.active .hw-under-label {
  color: var(--accent);
}

.hw-monitor {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.hw-screen {
  width: 248px;
  height: 156px;
  border-radius: 10px;
  border: 2px solid var(--border-strong);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg), var(--specular);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.hw-screen-1 {
  background: linear-gradient(155deg, var(--hw-screen-1-a), var(--hw-screen-1-b));
}

.hw-screen-2 {
  background: linear-gradient(155deg, var(--hw-screen-2-a), var(--hw-screen-2-b));
}

.hw-monitor.active .hw-screen {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-lg);
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screen-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid var(--border);
}

:root[data-theme="light"] .screen-num {
  background: rgba(255, 255, 255, 0.5);
}

.hw-monitor.active .screen-num {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.screen-input-pill {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.66rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid var(--border);
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.hw-monitor.active .screen-input-pill {
  color: var(--accent);
  border-color: var(--accent-border);
}

:root[data-theme="light"] .screen-input-pill {
  background: rgba(255, 255, 255, 0.5);
}

.screen-meta strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.screen-meta span {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.hw-stand-neck {
  width: 14px;
  height: 24px;
  background: var(--border-strong);
}

.hw-stand-base {
  width: 78px;
  height: 5px;
  border-radius: 3px;
  background: var(--border-strong);
}

/* Flat Aluminum Mac mini Enclosure + Base Plinth + Front Power LED */
.hw-mini {
  position: relative;
  z-index: 2;
  width: 112px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 200ms var(--ease);
}

.mini-chassis {
  position: relative;
  width: 112px;
  height: 38px;
  border-radius: 7px;
  border: 1.5px solid var(--border-strong);
  background: linear-gradient(180deg, var(--hw-body-top) 0%, var(--hw-body) 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md), var(--specular);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.mini-led {
  position: absolute;
  right: 10px;
  bottom: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.hw-mini.active {
  color: var(--accent);
}

.hw-mini.active .mini-led {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.mini-base {
  width: 84px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--border-strong);
}

.stage-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 13px 18px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.stage-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.stage-telemetry {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.stage-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.follow-pill {
  height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface-inset);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: border-color 180ms var(--ease), color 180ms var(--ease), background-color 180ms var(--ease);
}

.follow-pill:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.follow-pill[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--text);
}

.follow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: background-color 180ms var(--ease);
}

.follow-pill[aria-pressed="true"] .follow-dot {
  background: var(--accent);
}

/* Architectural 4-Cell Spec Bar */
.meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
}

.meta-cell {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm), var(--specular);
}

.meta-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  flex-shrink: 0;
}

.meta-cell dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 3px;
}

.meta-cell dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

/* ==========================================================================
   3-STEP SETUP STRIP ("HOW IT WORKS")
   ========================================================================== */
.steps-band {
  padding: 44px 0 56px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md), var(--specular);
  overflow: hidden;
}

.step-card {
  padding: 24px 26px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-card:last-child {
  border-right: 0;
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}

.step-ico {
  color: var(--text-muted);
}

.step-card h3 {
  margin: 4px 0 0;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--text-secondary);
}

/* ==========================================================================
   FEATURE BANDS — INTERACTIVE PRODUCT SHOWCASE
   ========================================================================== */
.feature-band {
  padding: 68px 0;
  border-top: 1px solid var(--border);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-demo {
  order: 1;
}

.feature-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.feature-label span {
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}

.feature-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.032em;
  color: var(--text);
}

.feature-copy p {
  margin: 0 0 14px;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.feature-copy p:last-child {
  margin-bottom: 0;
}

.key-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.key-row > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Interactive Mini-UI Panels */
.mini-ui {
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 20px;
  box-shadow: var(--shadow-lg), var(--specular);
}

.mini-ui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.mini-ui-head-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mini-ui-head-left svg {
  color: var(--accent);
}

.mini-ui-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface-inset);
  border: 1px solid var(--border);
}

.seg-demo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: var(--surface-inset);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.seg-demo button {
  height: 38px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.seg-demo button:hover {
  color: var(--text);
}

.seg-demo button.active {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.chip-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  color: var(--text-secondary);
  font-size: 0.83rem;
  font-weight: 600;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease);
}

.chip-btn code {
  font-size: 0.72rem;
  padding: 1px 5px;
  color: var(--text-muted);
}

.chip-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.chip-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
}

.chip-btn.active code {
  color: var(--accent);
  border-color: var(--accent-border);
}

.preset-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.preset-btn {
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease);
}

.preset-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.preset-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
}

.audio-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 9px;
  background: var(--surface-inset);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
}

.pill-switch {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-elevated);
  padding: 0;
  flex-shrink: 0;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease);
}

.pill-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: transform 180ms var(--ease), background-color 180ms var(--ease);
}

.pill-switch[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
}

.pill-switch[aria-pressed="true"]::after {
  transform: translateX(18px);
  background: var(--accent-ink);
}

.deck-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.deck-key {
  text-align: left;
  padding: 12px 11px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, var(--surface-elevated), var(--surface-inset));
  color: var(--text);
  box-shadow: var(--shadow-sm), var(--specular);
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.deck-key:hover {
  border-color: var(--accent-border);
}

.deck-key.active {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface-elevated));
  box-shadow: 0 0 0 2px var(--accent-soft), var(--shadow-sm);
}

.deck-key small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.deck-key.active small {
  color: var(--accent);
}

.deck-key strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.kv-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
}

.kv-line span:first-child {
  color: var(--text-muted);
}

.kv-line span:last-child {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  text-align: right;
}

/* ==========================================================================
   EDITORIAL SECTIONS (COMPARE, SECURITY & SPECS, FAQ, DOWNLOAD)
   ========================================================================== */
.ed-section {
  padding: 76px 0;
  border-top: 1px solid var(--border);
}

.ed-header {
  max-width: 650px;
  margin-bottom: 32px;
}

.ed-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.1vw, 2.3rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.032em;
  color: var(--text);
}

.ed-header p {
  margin: 0;
  font-size: 0.99rem;
  color: var(--text-secondary);
}

.ed-header a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.table-wrap {
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md), var(--specular);
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th, td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

thead th {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  color: var(--text-muted);
  background: var(--surface-elevated);
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr {
  transition: background-color 150ms var(--ease);
}

tbody tr:hover {
  background: var(--surface-hover);
}

th.col-sh,
td.col-sh {
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 600;
}

thead th.col-sh {
  color: var(--accent);
  box-shadow: inset 0 2px 0 var(--accent);
}

td.dim {
  color: var(--text-muted);
}

.cell-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cell-badge svg {
  color: var(--accent);
  flex-shrink: 0;
}

.spec-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.security-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm), var(--specular);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.sec-ico {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.security-list strong {
  color: var(--text);
}

.specs-table td:first-child {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  width: 140px;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq-item {
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm), var(--specular);
  transition: border-color 180ms var(--ease);
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text);
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 200ms var(--ease), color 180ms var(--ease);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-body {
  padding: 0 20px 18px;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.faq-body p {
  margin: 0;
}

/* Dual-Platform Download Showcase */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg), var(--specular);
}

.download-card.featured {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--surface) 44%);
}

.dl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dl-os {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.dl-os-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.download-card.featured .dl-os-icon {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.dl-os h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dl-os p {
  margin: 2px 0 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.dl-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--surface-inset);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  white-space: nowrap;
}

.download-card.featured .dl-pill {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.dl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.dl-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.dl-list svg {
  color: var(--accent);
  flex-shrink: 0;
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.dl-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dl-meta a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dl-meta a:hover {
  color: var(--accent);
}

/* ==========================================================================
   PROSE / DOCS PAGES (/guide/, /privacy/, /terms/)
   ========================================================================== */
.prose-main {
  padding: 44px 0 80px;
}

.prose-hero {
  max-width: 720px;
  margin-bottom: 32px;
}

.eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.prose-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.prose-hero p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-secondary);
}

.prose-hero a:not(.btn):not(.text-link),
.prose-card a:not(.btn):not(.text-link) {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-stack {
  display: grid;
  gap: 16px;
  max-width: 820px;
}

.prose-card {
  padding: 24px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md), var(--specular);
}

.prose-card h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.prose-card p,
.prose-card li {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.prose-card ul,
.prose-card ol {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.prose-card strong {
  color: var(--text);
}

/* ==========================================================================
   MULTI-COLUMN PRODUCT FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  padding: 52px 0 36px;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer-brand-col p {
  margin: 12px 0 0;
  max-width: 34ch;
  font-size: 0.88rem;
  line-height: 1.58;
  color: var(--text-muted);
}

.footer-col h3 {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: var(--text-muted);
  transition: color 160ms var(--ease);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--text-secondary);
  transition: color 160ms var(--ease);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (1024px, 768px, 375px — Zero Horizontal Scroll)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .meta-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .step-card:last-child {
    border-bottom: 0;
  }

  .feature-row,
  .spec-split,
  .download-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-demo {
    order: initial;
  }

  .hw-screen {
    width: 210px;
    height: 142px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-bar {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .brand-ver {
    display: none;
  }

  .nav-links a {
    padding: 6px 9px;
    font-size: 0.81rem;
  }
}

@media (max-width: 767px) {
  .site-header {
    padding: 10px 12px 0;
  }

  .header-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 54px;
    padding: 0 8px 0 10px;
  }

  .brand {
    font-size: 0.9rem;
    gap: 8px;
    min-width: 0;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .header-actions {
    gap: 5px;
    flex-shrink: 0;
  }

  .header-actions .icon-btn {
    width: 34px;
    height: 34px;
  }

  .header-actions .btn-sm {
    height: 34px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .header-actions .btn-sm svg {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .icon-btn.menu-toggle {
    display: inline-grid;
  }

  .container {
    padding: 0 16px;
  }

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

  .workstation-stage {
    height: auto;
    min-height: 230px;
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px 14px 22px;
  }

  .stage-cables,
  .stage-floor {
    display: none;
  }

  .hw-tower {
    width: 68px;
    margin-bottom: 20px;
  }

  .tower-chassis {
    width: 68px;
    height: 112px;
    padding: 8px 8px 10px;
  }

  .tower-feet {
    width: 52px;
  }

  .hw-screen {
    width: 158px;
    height: 116px;
    padding: 10px;
  }

  .hw-stand-neck {
    height: 14px;
  }

  .hw-stand-base {
    width: 54px;
  }

  .hw-mini {
    width: 96px;
    margin-bottom: 20px;
  }

  .mini-chassis {
    width: 96px;
    height: 34px;
  }

  .mini-base {
    width: 70px;
  }

  .meta-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-band,
  .ed-section {
    padding: 50px 0;
  }

  .deck-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .preset-row {
    grid-template-columns: 1fr;
  }

  .download-card {
    padding: 22px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
