@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #060a0c;
  --ink-soft: #0a0f12;
  --panel: #0d1317;
  --panel-raised: #121a1e;
  --line: #202b31;
  --line-light: #2c3a41;
  --text: #f0f4f2;
  --muted: #8b9a9f;
  --cyan: #19e5d1;
  --cyan-soft: #93fff4;
  --cyan-dark: #0a716b;
  --ember: #ff6a3d;
  --amber: #ffb84d;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--line) var(--ink);
}

::selection {
  background: rgba(25, 229, 209, 0.25);
  color: var(--cyan-soft);
}

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

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--line-light);
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

@media (max-width: 640px) {
  .data-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

@layer base {
  button,
  a {
    font: inherit;
  }

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

  button {
    color: inherit;
  }
}

.icon {
  display: block;
  flex: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.shell {
  margin: 0 auto;
  max-width: 1240px;
  padding-left: 28px;
  padding-right: 28px;
}

.nav {
  align-items: center;
  display: flex;
  height: 78px;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}

.logo {
  align-items: center;
  display: flex;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  gap: 11px;
  letter-spacing: 0.12em;
}

.logo-mark {
  align-items: center;
  background: transparent;
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--cyan);
}

.nav-cta {
  align-items: center;
  border: 1px solid var(--line-light);
  display: flex;
  font-family: var(--mono);
  font-size: 11px;
  gap: 9px;
  letter-spacing: 0.06em;
  padding: 11px 15px;
  transition: border-color 180ms ease, color 180ms ease;
}

.nav-cta:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.menu-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  padding: 6px;
}

.hero {
  align-items: center;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  min-height: 750px;
  overflow: hidden;
  padding-bottom: 72px;
  padding-top: 58px;
  position: relative;
}

.hero::before {
  background: radial-gradient(circle, rgba(25, 229, 209, 0.09), transparent 62%);
  content: "";
  height: 700px;
  position: absolute;
  right: -220px;
  top: 20px;
  width: 820px;
}

.hero-grid,
.download-grid {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-copy {
  padding-bottom: 18px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  align-items: center;
  color: var(--cyan);
  display: inline-flex;
  font-family: var(--mono);
  font-size: 10px;
  gap: 9px;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(25, 229, 209, 0.04);
  border: 1px solid rgba(25, 229, 209, 0.14);
  cursor: pointer;
  user-select: none;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.eyebrow:hover,
.section-kicker:hover {
  background: rgba(25, 229, 209, 0.12);
  border-color: rgba(25, 229, 209, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.pulse-dot {
  background: var(--cyan);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(25, 229, 209, 0.1);
  height: 6px;
  width: 6px;
  transition: box-shadow 0.24s ease, transform 0.24s ease;
}

.eyebrow:hover .pulse-dot {
  box-shadow: 0 0 0 5px rgba(25, 229, 209, 0.28);
  transform: scale(1.15);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(52px, 5.4vw, 80px);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 27px 0 26px;
}

h1 em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 500;
}

.hero-lede {
  color: #a9b5b8;
  font-size: 17px;
  line-height: 1.7;
  max-width: 575px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  display: inline-flex;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  gap: 30px;
  justify-content: center;
  letter-spacing: 0.06em;
  min-height: 50px;
  padding: 0 22px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.os-button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--cyan);
  color: var(--ink);
}

.button-primary:hover {
  background: var(--cyan-soft);
}

.button-secondary {
  border: 1px solid var(--line-light);
}

.button-secondary:hover {
  border-color: var(--muted);
}

.hero-trust {
  color: #718087;
  display: flex;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 8px;
  gap: 18px;
  letter-spacing: 0.05em;
  margin-top: 27px;
}

.hero-trust span {
  align-items: center;
  display: flex;
  gap: 5px;
}

.hero-trust .icon {
  color: var(--cyan);
}

.console-wrap {
  min-height: 505px;
  position: relative;
  transform: perspective(1000px) rotateY(-2deg);
  z-index: 3;
}

.console-glow {
  background: rgba(25, 229, 209, 0.14);
  filter: blur(70px);
  height: 360px;
  left: 15%;
  position: absolute;
  top: 16%;
  width: 75%;
}

.console {
  background: #0b1013;
  border: 1px solid #334047;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  left: 22px;
  overflow: hidden;
  position: absolute;
  top: 22px;
  width: 640px;
}

.console-topbar {
  align-items: center;
  background: #131a1e;
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 38px;
  justify-content: space-between;
  padding: 0 12px;
}

.console-brand {
  align-items: center;
  display: flex;
  font-family: var(--mono);
  font-size: 8px;
  gap: 7px;
  letter-spacing: 0.1em;
}

.console-logo {
  align-items: center;
  background: transparent;
  display: flex;
  height: 20px;
  justify-content: center;
  width: 20px;
  flex-shrink: 0;
}

.version {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(25, 229, 209, 0.06);
  border: 1px solid rgba(25, 229, 209, 0.18);
  color: #8da4af;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.version::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.version::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(25, 229, 209, 0.25) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
}

.version:hover {
  color: #ffffff;
  background: rgba(25, 229, 209, 0.14);
  border-color: rgba(25, 229, 209, 0.55);
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.version:hover::before {
  transform: scale(1.3);
  box-shadow: 0 0 0 2px rgba(25, 229, 209, 0.4);
}

.version:hover::after {
  animation: versionShine 0.75s ease-out forwards;
}

.version:active {
  transform: translateY(0) scale(0.98);
}

@keyframes versionShine {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

.window-controls {
  display: flex;
  gap: 7px;
}

.window-controls i {
  background: #344147;
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.console-toolbar {
  align-items: flex-end;
  background: #0e1518;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  padding: 17px;
}

.control-label {
  color: #5f7077;
  display: block;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}

.chip-row {
  align-items: center;
  display: flex;
  gap: 5px;
}

.mini-chip {
  background: transparent;
  border: 1px solid var(--line-light);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  padding: 5px 8px;
}

.mini-chip.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}

.unit {
  color: #65747a;
  font-family: var(--mono);
  font-size: 8px;
  margin-left: 2px;
}

.ceiling-control strong {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 13px;
}

.ceiling-control small {
  font-size: 8px;
}

.mode-switch {
  background: #080d10;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
}

.mode-switch button {
  background: transparent;
  border: 0;
  color: #68777d;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 7px;
  padding: 7px;
  text-transform: uppercase;
}

.mode-switch button.active {
  background: #223036;
  color: var(--cyan);
}

.track-head,
.track-row {
  display: grid;
  grid-template-columns: 2.2fr 0.8fr 0.8fr 1fr;
  padding-left: 16px;
  padding-right: 16px;
}

.track-head {
  color: #4f5e64;
  font-family: var(--mono);
  font-size: 7px;
  padding-bottom: 7px;
  padding-top: 10px;
}

.track-row {
  align-items: center;
  background: #10191d;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  min-height: 48px;
}

.track-name {
  align-items: center;
  display: flex;
  gap: 9px;
}

.file-icon {
  align-items: center;
  background: #1a282d;
  color: var(--cyan);
  display: flex;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.track-name strong,
.track-name small {
  display: block;
}

.track-name strong {
  font-size: 8px;
  margin-bottom: 3px;
}

.track-name small {
  color: #64747b;
  font-family: var(--mono);
  font-size: 6px;
}

.reading {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 8px;
}

.source-reading {
  color: #9aa5a8;
}

.verified,
.compliant {
  align-items: center;
  color: var(--cyan);
  display: flex;
  font-family: var(--mono);
  font-size: 7px;
  gap: 4px;
}

.inspector {
  padding: 13px 16px 10px;
}

.inspector-title {
  color: #718087;
  display: flex;
  font-family: var(--mono);
  font-size: 7px;
  justify-content: space-between;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.inspector-title > span:first-child {
  align-items: center;
  color: #91a0a5;
  display: flex;
  gap: 6px;
}

.zoom {
  color: #586970;
}

.lane {
  align-items: center;
  background: #080c0f;
  display: flex;
  height: 70px;
  padding: 0 9px;
  position: relative;
}

.lane-label,
.lane-value {
  color: #627177;
  font-family: var(--mono);
  font-size: 6px;
  left: 7px;
  position: absolute;
  top: 6px;
  z-index: 2;
}

.lane-value {
  left: auto;
  right: 7px;
}

.waveform {
  align-items: center;
  display: flex;
  gap: 3px;
  height: 100%;
  justify-content: space-between;
  overflow: hidden;
  width: 100%;
}

.waveform i {
  background: linear-gradient(to bottom, #e4613d, #94351e);
  display: block;
  opacity: 0.88;
  width: 8px;
}

.waveform-output i {
  background: linear-gradient(to bottom, var(--cyan-soft), var(--cyan-dark));
}

.ceiling-line {
  border-top: 1px dashed rgba(255, 184, 77, 0.65);
  height: 0;
  position: relative;
  z-index: 2;
}

.ceiling-line span {
  background: #201b12;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 5px;
  padding: 2px 5px;
  position: absolute;
  right: 0;
  top: -8px;
}

.output-value {
  color: var(--cyan);
}

.timeline {
  color: #46555b;
  display: flex;
  font-family: var(--mono);
  font-size: 6px;
  justify-content: space-between;
  margin-top: 5px;
}

.console-footer {
  align-items: center;
  background: #0d1417;
  border-top: 1px solid var(--line);
  color: #6b7a80;
  display: flex;
  font-family: var(--mono);
  font-size: 7px;
  gap: 18px;
  justify-content: flex-end;
  padding: 10px 14px;
}

.console-footer span {
  align-items: center;
  display: flex;
  gap: 5px;
}

.console-footer span:first-child {
  color: var(--cyan);
  margin-right: auto;
}

.process-button {
  background: var(--cyan);
  border: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 500;
  padding: 9px 13px;
}

.float-card {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(16, 25, 29, 0.96);
  border: 1px solid #324148;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  gap: 10px;
  padding: 11px 13px;
  position: absolute;
  z-index: 4;
}

.float-card strong,
.float-card small {
  display: block;
}

.float-card strong {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.02em;
  margin-bottom: 3px;
}

.float-card small {
  color: #66767d;
  font-size: 7px;
}

.float-card-top {
  left: 0;
  top: 73px;
}

.float-card-bottom {
  bottom: 24px;
  right: -2px;
}

.float-card-bottom .icon {
  color: var(--cyan);
  margin-left: 12px;
}

.float-icon {
  align-items: center;
  background: rgba(25, 229, 209, 0.12);
  color: var(--cyan);
  display: flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.status-dot {
  background: var(--cyan);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.signal-strip {
  background: var(--cyan);
  color: var(--ink);
}

.strip-inner {
  align-items: center;
  display: flex;
  font-family: var(--mono);
  font-size: 9px;
  height: 54px;
  justify-content: space-between;
  letter-spacing: 0.06em;
}

.strip-inner > span {
  font-weight: 500;
}

.strip-inner i {
  background: rgba(6, 10, 12, 0.3);
  height: 3px;
  width: 3px;
}

.section {
  padding-bottom: 120px;
  padding-top: 120px;
}

.problem-grid {
  display: grid;
  gap: 100px;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
}

.problem h2,
.section-heading h2,
.workflow h2,
.modes h2,
.compatibility h2,
.faq h2,
.download h2 {
  font-size: clamp(36px, 4.1vw, 57px);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: 0;
}

.problem h2 span {
  color: #77878c;
}

.problem-copy {
  color: #c2cbcd;
  font-size: 16px;
  line-height: 1.75;
  max-width: 530px;
}

.problem-copy strong:first-of-type {
  color: var(--ember);
}

.problem-copy strong:last-of-type {
  color: var(--amber);
}

.problem-copy .muted {
  color: #74838a;
  margin-bottom: 0;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  margin-top: 72px;
}

.compare-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.compare-top {
  color: #728188;
  display: flex;
  font-family: var(--mono);
  font-size: 8px;
  justify-content: space-between;
  letter-spacing: 0.07em;
  margin-bottom: 20px;
}

.compare-card .waveform {
  height: 120px;
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  overflow: hidden;
}

.compare-card .waveform i {
  flex: 1 1 0;
  min-width: 2px;
  max-width: 12px;
  display: block;
  border-radius: 1px;
}

.compare-scale {
  color: #4f5e64;
  display: flex;
  font-family: var(--mono);
  font-size: 7px;
  justify-content: space-between;
  margin-top: 12px;
}

.forge-divider {
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
}

.forge-divider::before {
  background: var(--line);
  content: "";
  height: 100%;
  position: absolute;
  width: 1px;
}

.forge-divider span {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--line-light);
  color: var(--cyan);
  display: flex;
  height: 40px;
  justify-content: center;
  position: relative;
  width: 40px;
}

.features,
.modes {
  background: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.section-heading {
  align-items: flex-end;
  display: grid;
  gap: 100px;
  grid-template-columns: 1.35fr 0.65fr;
}

.section-heading h2 {
  margin-top: 22px;
}

.section-heading > p,
.workflow-intro > p,
.modes-copy > p,
.compat-heading > p,
.faq-title > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 5px;
}

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 490px;
  padding: 22px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.feature-card:hover {
  border-color: #3f535b;
  transform: translateY(-4px);
}

.feature-meta {
  color: #536168;
  display: flex;
  font-family: var(--mono);
  font-size: 8px;
  justify-content: space-between;
  letter-spacing: 0.08em;
}

.feature-meta span:last-child {
  color: var(--cyan);
}

.feature-visual {
  align-items: center;
  background: #090e11;
  display: flex;
  height: 210px;
  justify-content: center;
  margin: 20px 0 27px;
  overflow: hidden;
  position: relative;
}

.feature-visual > strong {
  bottom: 12px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 8px;
  left: 12px;
  letter-spacing: 0.08em;
  position: absolute;
}

.meter-track {
  align-items: flex-end;
  display: flex;
  gap: 5px;
  height: 90px;
  position: relative;
}

.meter-track i {
  background: var(--cyan);
  height: 12px;
  opacity: 0.25;
  width: 22px;
}

.meter-track i:nth-child(n + 3) {
  opacity: 0.5;
}

.meter-track i:nth-child(n + 5) {
  opacity: 0.8;
}

.meter-track b {
  background: var(--amber);
  height: 64px;
  width: 2px;
}

.visual-meter > span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 9px;
  margin-left: 8px;
}

.bar-visual {
  align-items: center;
  display: flex;
  gap: 7px;
  height: 115px;
}

.bar-visual i {
  background: var(--cyan);
  width: 9px;
}

.local-visual {
  align-items: center;
  display: flex;
  height: 150px;
  justify-content: center;
  position: relative;
  width: 220px;
}

.local-lock {
  align-items: center;
  background: #132328;
  border: 1px solid #284148;
  color: var(--cyan);
  display: flex;
  height: 64px;
  justify-content: center;
  position: relative;
  width: 64px;
  z-index: 2;
}

.orbit {
  border: 1px solid #1b3439;
  border-radius: 50%;
  position: absolute;
}

.orbit-one {
  height: 108px;
  width: 108px;
}

.orbit-two {
  border-style: dashed;
  height: 158px;
  width: 158px;
}

.local-visual > i {
  background: var(--cyan);
  border-radius: 50%;
  height: 4px;
  position: absolute;
  width: 4px;
}

.local-visual > i:nth-last-child(1) {
  left: 19px;
  top: 75px;
}

.local-visual > i:nth-last-child(2) {
  right: 38px;
  top: 23px;
}

.local-visual > i:nth-last-child(3) {
  bottom: 28px;
  right: 42px;
}

.feature-card h3,
.step h3,
.mode-card h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.feature-card > p,
.step p,
.mode-card > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.workflow {
  display: grid;
  gap: 110px;
  grid-template-columns: 0.8fr 1.2fr;
}

.workflow-intro {
  position: sticky;
  top: 70px;
}

.workflow h2 {
  margin: 22px 0 22px;
}

.steps {
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  gap: 22px;
  grid-template-columns: 38px 52px 1fr;
  padding: 32px 0;
  position: relative;
}

.step:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.step-number {
  color: #56666c;
  font-family: var(--mono);
  font-size: 9px;
  padding-top: 17px;
}

.step-icon {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  color: #738288;
  display: flex;
  height: 52px;
  justify-content: center;
}

.active-step .step-icon {
  background: rgba(25, 229, 209, 0.08);
  border-color: var(--cyan-dark);
  color: var(--cyan);
}

.target-icon {
  font-family: var(--mono);
  font-size: 14px;
}

.step h3 {
  margin: 0 0 7px;
}

.step p {
  margin-bottom: 0;
  max-width: 480px;
}

.modes-grid {
  align-items: center;
  display: grid;
  gap: 90px;
  grid-template-columns: 0.72fr 1.28fr;
}

.modes-copy h2 {
  margin: 22px 0;
}

.mode-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.mode-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 25px;
}

.mode-card.selected {
  background: linear-gradient(145deg, rgba(25, 229, 209, 0.08), var(--panel) 50%);
  border-color: var(--cyan-dark);
}

.mode-card-head {
  align-items: center;
  color: #64747a;
  display: flex;
  font-family: var(--mono);
  font-size: 7px;
  justify-content: space-between;
  letter-spacing: 0.08em;
  margin-bottom: 48px;
}

.selected .mode-card-head {
  color: var(--cyan);
}

.radio {
  border: 1px solid #48575d;
  border-radius: 50%;
  height: 14px;
  width: 14px;
}

.radio.active {
  border: 4px solid var(--cyan);
}

.mode-card h3 {
  font-family: var(--mono);
  font-size: 17px;
}

.mode-card ul {
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 24px 0 0;
  padding: 20px 0 0;
}

.mode-card li {
  align-items: center;
  color: #9aa7ab;
  display: flex;
  font-size: 11px;
  gap: 8px;
  margin-top: 11px;
}

.mode-card li .icon {
  color: var(--cyan);
}

.compat-heading {
  align-items: end;
}

.compat-heading h2 {
  margin-top: 22px;
}

.software-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: #9ca8ab;
  display: flex;
  font-size: 18px;
  font-weight: 700;
  justify-content: space-between;
  margin-top: 65px;
  min-height: 110px;
}

.software-row i {
  background: var(--line-light);
  border-radius: 50%;
  height: 3px;
  width: 3px;
}

.spec-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.spec-band > div {
  border-bottom: 1px solid var(--line);
  padding: 27px 18px 27px 0;
}

.spec-band > div:not(:last-child) {
  border-right: 1px solid var(--line);
}

.spec-band > div:not(:first-child) {
  padding-left: 18px;
}

.spec-band span,
.spec-band strong {
  display: block;
  font-family: var(--mono);
}

.spec-band span {
  color: #536269;
  font-size: 7px;
  letter-spacing: 0.08em;
  margin-bottom: 9px;
}

.spec-band strong {
  color: #aeb9bc;
  font-size: 9px;
  font-weight: 400;
}

.faq {
  display: grid;
  gap: 100px;
  grid-template-columns: 0.72fr 1.28fr;
}

.faq-title h2 {
  margin: 22px 0;
}

.text-link {
  align-items: center;
  color: var(--cyan);
  display: inline-flex;
  font-family: var(--mono);
  font-size: 9px;
  gap: 8px;
  letter-spacing: 0.08em;
  margin-top: 15px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 24px 0;
  text-align: left;
  width: 100%;
}

.faq-item.open button {
  color: var(--cyan);
}

.faq-plus {
  align-items: center;
  border: 1px solid var(--line-light);
  display: flex;
  font-family: var(--mono);
  height: 27px;
  justify-content: center;
  margin-left: 20px;
  width: 27px;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  max-width: 620px;
  overflow: hidden;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 24px;
}

.download {
  background: #0b1518;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  text-align: center;
}

.download::before {
  background: radial-gradient(circle, rgba(25, 229, 209, 0.12), transparent 65%);
  content: "";
  height: 600px;
  left: 50%;
  position: absolute;
  top: -200px;
  transform: translateX(-50%);
  width: 900px;
}

.download-grid {
  mask-image: radial-gradient(circle, black, transparent 68%);
}

.download-inner {
  position: relative;
}

.download .eyebrow {
  justify-content: center;
}

.download h2 {
  font-size: clamp(46px, 6vw, 76px);
  margin: 24px 0;
}

.download-inner > p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 auto;
  max-width: 540px;
}

.download-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}

.os-button {
  align-items: center;
  background: var(--panel-raised);
  border: 1px solid var(--line-light);
  display: grid;
  gap: 13px;
  grid-template-columns: 30px 1fr 20px;
  min-width: 210px;
  padding: 14px 16px;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease;
}

.os-button:hover {
  border-color: var(--cyan);
}

.os-button.primary-os {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}

.os-icon {
  align-items: center;
  display: flex;
  font-size: 24px;
  justify-content: center;
}

.os-button small,
.os-button strong {
  display: block;
}

.os-button small {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
  opacity: 0.65;
}

.os-button strong {
  font-size: 13px;
}

.download-note {
  color: #506066;
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  margin-top: 20px;
}

footer {
  background: #050809;
  padding: 55px 0 20px;
}

.footer-top {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.footer-top p {
  color: #526168;
  font-size: 11px;
  margin: 17px 0 0;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  align-items: center;
  display: flex;
  gap: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  color: #3f4d53;
  display: flex;
  font-family: var(--mono);
  font-size: 7px;
  justify-content: space-between;
  letter-spacing: 0.08em;
  margin-top: 46px;
  padding-top: 18px;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

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

  .console-wrap {
    margin: 60px auto 0;
    width: 700px;
  }

  .workflow,
  .modes-grid,
  .faq {
    gap: 60px;
  }
}

@media (max-width: 800px) {
  .shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-links {
    background: var(--panel-raised);
    border: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 20px;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 70px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 60px;
  }

  .console-wrap {
    min-height: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    position: relative;
    height: 380px;
    margin-top: 40px;
  }

  .console {
    position: relative;
    left: auto;
    top: 0;
    width: 640px;
    transform: scale(min(0.82, calc((100vw - 40px) / 640)));
    transform-origin: top center;
  }

  .float-card {
    display: none;
  }

  .strip-inner strong:nth-of-type(n + 3),
  .strip-inner i:nth-of-type(n + 3) {
    display: none;
  }

  .section {
    padding-bottom: 82px;
    padding-top: 82px;
  }

  .problem-grid,
  .section-heading,
  .workflow,
  .modes-grid,
  .faq {
    gap: 28px;
    grid-template-columns: 1fr;
  }

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

  .forge-divider {
    height: 58px;
  }

  .forge-divider::before {
    height: 58px;
  }

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

  .feature-card {
    min-height: auto;
  }

  .workflow-intro {
    position: static;
  }

  .mode-cards {
    margin-top: 25px;
  }

  .software-row {
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    padding: 30px 0;
  }

  .software-row i {
    display: none;
  }

  .spec-band {
    grid-template-columns: 1fr 1fr;
  }

  .spec-band > div {
    border-right: 0 !important;
    padding-left: 0 !important;
  }

  .download-buttons {
    align-items: stretch;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    max-width: 330px;
  }

  .footer-top {
    gap: 38px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(34px, 8vw, 48px);
    line-height: 1.1;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    justify-content: space-between;
  }

  .hero-trust {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .console-wrap {
    height: 290px;
    margin-top: 24px;
  }

  .console {
    transform: scale(min(0.54, calc((100vw - 40px) / 640)));
    transform-origin: top center;
  }

  .strip-inner {
    justify-content: space-around;
  }

  .strip-inner span,
  .strip-inner strong:nth-of-type(n + 2),
  .strip-inner i {
    display: none;
  }

  .problem-grid {
    margin-top: 20px;
  }

  .compare-card .waveform {
    height: 85px;
  }

  .mode-cards {
    grid-template-columns: 1fr;
  }

  .spec-band {
    grid-template-columns: 1fr;
  }

  .step {
    gap: 15px;
    grid-template-columns: 28px 46px 1fr;
  }

  .step-icon {
    height: 46px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  .console-wrap {
    height: 245px;
  }

  .console {
    transform: scale(min(0.45, calc((100vw - 32px) / 640)));
    transform-origin: top center;
  }

  .compare-card {
    padding: 14px;
  }
}

@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;
    scroll-behavior: auto !important;
  }
}
/* =========================================================================
   WAVEFORGE INTERACTIVE VISUAL HOW-TO GUIDE COMPONENT STYLES
   Studio-Grade Dark Aesthetic with Precision Cyan & Ember Accents
   Ultra-Responsive for Mobile (320px+), Tablet, and Modern 4K Displays
   ========================================================================= */

.how-to-guide {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  max-width: 100%;
  box-sizing: border-box;
}

.guide-heading {
  margin-bottom: 32px;
}

/* Stepper Tabs Bar */
.guide-stepper-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  background: var(--ink-soft);
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 28px;
  max-width: 100%;
  box-sizing: border-box;
}

.guide-step-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  cursor: pointer;
  transition: all 200ms ease;
  position: relative;
  text-align: left;
  box-sizing: border-box;
}

.guide-step-btn:hover {
  background: var(--panel);
  border-color: var(--line-light);
}

.guide-step-btn.active {
  background: var(--panel);
  border-color: var(--cyan);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.guide-step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
}

.guide-step-btn.active .guide-step-num {
  color: var(--cyan);
}

.guide-step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.guide-step-glow {
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

/* Main Stage Card */
.guide-stage-card {
  background: var(--panel);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  box-sizing: border-box;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr;
  min-height: 560px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Left Column: Information Pane */
.guide-info-pane {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  box-sizing: border-box;
  min-width: 0;
}

.guide-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  background: rgba(25, 229, 209, 0.08);
  border: 1px solid rgba(25, 229, 209, 0.25);
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
  align-self: flex-start;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

.guide-step-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 14px 0;
  color: var(--text);
  word-break: break-word;
}

.guide-step-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #c5d2d6;
  margin: 0 0 24px 0;
  word-break: break-word;
}

/* Specifications Telemetry Box */
.guide-specs-box {
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.specs-box-title {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 10px;
}

.guide-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.specs-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.specs-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.specs-val {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cyan-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* DJ Pro Tip Box */
.guide-pro-tip {
  background: rgba(255, 106, 61, 0.06);
  border: 1px solid rgba(255, 106, 61, 0.28);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.tip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ember);
  margin-bottom: 6px;
}

.tip-icon {
  stroke: var(--ember);
  flex-shrink: 0;
}

.guide-pro-tip p {
  font-size: 13px;
  line-height: 1.55;
  color: #d1dcde;
  margin: 0;
  word-break: break-word;
}

/* Stepper Navigation Row */
.guide-nav-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  box-sizing: border-box;
}

.guide-nav-btn {
  background: var(--panel-raised);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text);
  cursor: pointer;
  transition: all 180ms ease;
  white-space: nowrap;
}

.guide-nav-btn:hover:not(:disabled) {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--panel);
}

.guide-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.guide-cta-btn {
  margin-left: auto;
  background: var(--cyan);
  color: var(--ink);
  border: 1px solid var(--cyan);
  border-radius: 4px;
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 180ms ease;
  white-space: nowrap;
}

.guide-cta-btn:hover {
  background: var(--cyan-soft);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Right Column: Visual Stage */
.guide-visual-pane {
  background: #090e11;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}

.guide-window-frame {
  width: 100%;
  max-width: 100%;
  background: var(--panel);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.window-header {
  background: var(--panel-raised);
  border-bottom: 1px solid var(--line);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  box-sizing: border-box;
}

.window-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.window-title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}

.window-badge {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(25, 229, 209, 0.1);
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid rgba(25, 229, 209, 0.2);
  flex-shrink: 0;
}

.screenshot-container {
  position: relative;
  background: #000;
  cursor: pointer;
  overflow: hidden;
  width: 100%;
}

.guide-screenshot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 300ms ease;
}

.screenshot-container:hover .guide-screenshot {
  transform: scale(1.015);
}

.zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(6, 10, 12, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-light);
  padding: 5px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--cyan-soft);
  opacity: 0.9;
  transition: opacity 180ms ease, background 180ms ease;
  pointer-events: none;
}

.zoom-text-desktop {
  display: inline;
}

.zoom-text-mobile {
  display: none;
}

.screenshot-container:hover .zoom-hint {
  opacity: 1;
  background: rgba(6, 10, 12, 0.96);
  border-color: var(--cyan);
}

.screenshot-footer {
  background: var(--panel-raised);
  border-top: 1px solid var(--line);
  padding: 7px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  box-sizing: border-box;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.status-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27c93f;
}

.footer-dimensions {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Lightbox Modal */
.guide-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 10, 12, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 180ms ease forwards;
  box-sizing: border-box;
}

.lightbox-content {
  max-width: 1300px;
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--cyan-dark);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  box-sizing: border-box;
}

.lightbox-header {
  padding: 14px 20px;
  background: var(--panel-raised);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  box-sizing: border-box;
}

.lightbox-header strong {
  color: var(--cyan);
  font-family: var(--mono);
}

.lightbox-close {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  padding: 4px 10px;
  font-size: 15px;
  cursor: pointer;
  transition: all 180ms ease;
}

.lightbox-close:hover {
  color: var(--text);
  border-color: var(--cyan);
}

.lightbox-image-wrap {
  background: #000;
  padding: 8px;
  display: flex;
  justify-content: center;
}

.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-caption {
  padding: 10px 20px;
  background: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .guide-stepper-bar {
    grid-template-columns: repeat(3, 1fr);
  }

  .guide-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .guide-info-pane {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 28px 20px;
  }

  .guide-visual-pane {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .guide-stepper-bar {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding: 6px;
    margin-bottom: 20px;
  }

  .guide-stepper-bar::-webkit-scrollbar {
    display: none;
  }

  .guide-step-btn {
    flex: 0 0 auto;
    min-width: 140px;
    scroll-snap-align: start;
    padding: 10px 12px;
  }

  .guide-step-label {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .how-to-guide {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .guide-info-pane {
    padding: 20px 16px;
  }

  .guide-visual-pane {
    padding: 16px 12px;
  }

  .guide-step-title {
    font-size: clamp(18px, 5.5vw, 22px);
  }

  .guide-step-desc {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .guide-specs-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .guide-pro-tip {
    padding: 10px 12px;
    margin-bottom: 20px;
  }

  .guide-nav-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .guide-nav-btn {
    flex: 1 1 110px;
    padding: 9px 12px;
    font-size: 11px;
    text-align: center;
  }

  .guide-cta-btn {
    width: 100%;
    margin-left: 0;
    margin-top: 4px;
    padding: 11px;
    text-align: center;
    font-size: 12px;
  }

  .window-badge {
    display: none;
  }

  .zoom-text-desktop {
    display: none;
  }

  .zoom-text-mobile {
    display: inline;
  }

  .zoom-hint {
    padding: 4px 8px;
    font-size: 9px;
    bottom: 6px;
    right: 6px;
  }

  .screenshot-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 7px 12px;
    font-size: 9px;
  }

  .guide-lightbox-overlay {
    padding: 10px;
  }
}

/* ==========================================================================
   Engineering Articles & Research Grid
   ========================================================================== */

.articles-section {
  padding-top: 40px;
  padding-bottom: 80px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.article-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease-out, transform 0.18s ease-out;
}

.article-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.article-badge {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(25, 229, 209, 0.08);
  border: 1px solid rgba(25, 229, 209, 0.2);
  padding: 4px 8px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 16px;
}

.article-card h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 8px;
}

.article-card h3 a {
  color: inherit;
  text-decoration: none;
}

.article-card h3 a:hover {
  color: var(--cyan);
}

.article-subtitle {
  font-size: 13px;
  font-family: var(--mono);
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.4;
}

.article-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 24px;
  flex: 1;
}

.article-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 12px;
}

.article-card-footer .read-time {
  color: var(--muted);
}

.article-link {
  color: var(--cyan);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.article-link:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   Studio UI Proof Gallery
   ========================================================================== */

.gallery-section {
  position: relative;
  padding: 100px 0 80px;
  background: radial-gradient(circle at 50% 20%, rgba(25, 229, 209, 0.04) 0%, transparent 60%);
}

.gallery-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.gallery-header h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin: 12px 0 16px;
}

.gallery-header p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.gallery-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-tab-btn:hover {
  background: var(--panel-raised);
  border-color: var(--line-light);
  color: var(--text);
}

.gallery-tab-btn.active {
  background: rgba(25, 229, 209, 0.08);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(25, 229, 209, 0.15);
}

.gallery-frame {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.gallery-frame-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #090e11;
  border-bottom: 1px solid var(--line);
}

.gallery-frame-dots {
  display: flex;
  gap: 6px;
}

.gallery-frame-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.gallery-frame-dots span:nth-child(1) { background: #ff5f56; }
.gallery-frame-dots span:nth-child(2) { background: #ffbd2e; }
.gallery-frame-dots span:nth-child(3) { background: #27c93f; }

.gallery-frame-title {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-frame-status {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  background: rgba(25, 229, 209, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(25, 229, 209, 0.2);
}

.gallery-viewport {
  position: relative;
  background: #030506;
  padding: 8px;
  border-bottom: 1px solid var(--line);
}

.gallery-viewport picture,
.gallery-viewport img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.gallery-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  padding: 32px;
  background: var(--panel-raised);
}

@media (max-width: 900px) {
  .gallery-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }
}

.gallery-meta-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(25, 229, 209, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(25, 229, 209, 0.2);
}

.gallery-meta-left h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin: 0;
}

.gallery-meta-left .gallery-subtitle {
  font-size: 15px;
  color: var(--cyan-soft);
  margin: 0;
  font-weight: 500;
}

.gallery-meta-left .gallery-caption {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.gallery-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  background: var(--ink);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.gallery-callout-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: var(--panel);
  border: 1px solid rgba(25, 229, 209, 0.3);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.gallery-callout-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--cyan);
}

.gallery-callout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.gallery-callout-card p {
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .gallery-thumbnails {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.gallery-thumb-btn {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.gallery-thumb-btn:hover {
  border-color: var(--line-light);
  background: var(--panel-raised);
}

.gallery-thumb-btn.active {
  border-color: var(--cyan);
  background: rgba(25, 229, 209, 0.05);
}

.gallery-thumb-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #030506;
}

.gallery-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb-caption {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-thumb-btn.active .gallery-thumb-caption {
  color: var(--cyan);
  font-weight: 500;
}

/* ==========================================================================
   Interactive DJ Headroom & Intersample Peak Calculator Styles
   ========================================================================== */
.calculator-section {
  padding: 80px 0;
  position: relative;
}

.calc-header {
  margin-bottom: 32px;
}

.calc-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
  color: var(--text);
}

.calc-header p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 780px;
  line-height: 1.6;
  margin: 0;
}

.calc-preset-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.preset-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.preset-chips {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.preset-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  color: var(--text);
}

.preset-chip strong {
  font-size: 12px;
  font-weight: 600;
}

.preset-chip small {
  font-size: 10px;
  color: var(--muted);
  font-family: var(--mono);
}

.preset-chip:hover {
  border-color: var(--line-light);
  background: #151f24;
}

.preset-chip.active {
  border-color: var(--cyan);
  background: rgba(25, 229, 209, 0.08);
}

.preset-chip.active strong {
  color: var(--cyan);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 992px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.card-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.format-badge {
  font-family: var(--mono);
  font-size: 10px;
  background: rgba(25, 229, 209, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(25, 229, 209, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.status-pill {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid;
  padding: 4px 10px;
  border-radius: 6px;
  text-align: right;
  max-width: 65%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.control-label-row label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.mono-value {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--cyan);
  font-weight: 600;
}

.calc-slider {
  width: 100%;
  accent-color: var(--cyan);
  background: var(--line);
  height: 6px;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  opacity: 0.8;
}

.format-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.format-btn {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
  color: var(--text);
}

.format-btn:hover {
  border-color: var(--line-light);
}

.format-btn.active {
  border-color: var(--cyan);
  background: rgba(25, 229, 209, 0.06);
}

.format-btn strong {
  font-size: 12px;
}

.format-btn small {
  font-size: 10px;
  color: var(--muted);
}

.target-quick-chips,
.ceiling-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.target-chip {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.target-chip:hover {
  border-color: var(--line-light);
  color: var(--text);
}

.target-chip.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(25, 229, 209, 0.08);
}

.card-separator {
  height: 1px;
  background: var(--line);
  margin: 6px 0;
}

/* Meter Styling */
.calc-meters-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #080d10;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
}

.meter-unit {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meter-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.meter-header strong {
  font-weight: 600;
}

.meter-bar-track {
  position: relative;
  height: 22px;
  background: #040608;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.meter-clip-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(255, 106, 61, 0.15);
  border-left: 1px dashed var(--ember);
}

.meter-fill {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 2px;
  border-radius: 2px;
  transition: width 0.15s ease-out;
}

.source-fill {
  background: rgba(25, 229, 209, 0.25);
}

.output-fill {
  background: linear-gradient(90deg, rgba(25, 229, 209, 0.6) 0%, var(--cyan) 100%);
  border-right: 2px solid var(--cyan);
  box-shadow: 0 0 10px rgba(25, 229, 209, 0.4);
}

.peak-source-fill {
  opacity: 0.4;
}

.peak-output-fill {
  background: linear-gradient(90deg, rgba(255, 106, 61, 0.6) 0%, var(--ember) 100%);
  border-right: 2px solid var(--ember);
  box-shadow: 0 0 10px rgba(255, 106, 61, 0.4);
}

.meter-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  z-index: 5;
}

.target-marker {
  background: var(--cyan);
}

.ceiling-marker {
  background: var(--ember);
  border-left: 1px dashed #fff;
}

.zero-marker {
  background: #ff4d4d;
}

.marker-label {
  display: none;
}

.meter-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  opacity: 0.7;
}

/* Summary Grid */
.calc-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 640px) {
  .calc-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.summary-stat {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.stat-value {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.stat-hint {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tabs & Panel */
.calc-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 8px;
}

.calc-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.calc-tab-btn.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
  font-weight: 600;
}

.calc-tab-panel {
  min-height: 140px;
}

.status-narrative {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 14px;
}

.framegain-callout {
  background: rgba(25, 229, 209, 0.05);
  border: 1px solid rgba(25, 229, 209, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.5;
}

.framegain-callout strong {
  color: var(--cyan);
  display: block;
  margin-bottom: 4px;
}

.framegain-callout p {
  margin: 0;
  color: var(--muted);
}

.receipt-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #05080a;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 12px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.receipt-row.highlight {
  color: var(--cyan);
  font-weight: 600;
  border-top: 1px dashed var(--line);
  padding-top: 4px;
}

.receipt-row.warning {
  color: var(--amber);
  font-weight: 600;
}

.mono-math {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #05080a;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  font-family: var(--mono);
  font-size: 11px;
}

.formula-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.formula-name {
  color: var(--cyan);
  font-weight: 600;
}

.formula-block code {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 6px;
  border-radius: 4px;
  overflow-x: auto;
}

.booth-advice h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  margin: 12px 0 4px;
}

.booth-advice h4:first-child {
  margin-top: 0;
}

.booth-advice p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 10px;
}

/* Action Bar */
.calc-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #05080a;
  border: 1px solid rgba(25, 229, 209, 0.25);
  border-radius: 10px;
  padding: 16px 20px;
}

@media (max-width: 640px) {
  .calc-action-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

.calc-action-text strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 2px;
}

.calc-action-text small {
  color: var(--muted);
  font-size: 11px;
}

.calc-cta-btn {
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(25, 229, 209, 0.3);
  transition: all 0.2s ease;
}

.calc-cta-btn:hover {
  background: var(--cyan-soft);
  box-shadow: 0 0 24px rgba(25, 229, 209, 0.5);
  transform: translateY(-1px);
}



