:root {
  --c-cosmos: #0a0b0d;
  --c-charcoal: #15181c;
  --c-graphite: #2a2e34;
  --c-paper: #f2ede4;
  --c-bone: #e6dfd2;
  --c-sand: #d9d2c5;
  --c-ink: #0a0b0d;
  --c-ash: #6b6f76;
  --c-ash-light: #a9adb4;
  --c-ember: #e85b2f;
  --c-ember-hi: #ff6e40;
  --c-mint: #7fe5bc;
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Bricolage Grotesque", Inter, "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1320px;
  --gutter: clamp(18px, 4vw, 64px);
  --radius: 6px;
}

[data-theme="dark"] {
  --bg: var(--c-cosmos);
  --bg-elev: var(--c-charcoal);
  --line: var(--c-graphite);
  --fg: var(--c-paper);
  --fg-muted: var(--c-ash-light);
  --accent: var(--c-ember);
}

[data-theme="light"] {
  --bg: var(--c-paper);
  --bg-elev: var(--c-bone);
  --line: var(--c-sand);
  --fg: var(--c-ink);
  --fg-muted: var(--c-ash);
  --accent: var(--c-ember);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--c-cosmos);
  color: var(--c-paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 52px;
  max-width: 760px;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 22px;
  font-size: 38px;
  max-width: 880px;
  overflow-wrap: break-word;
}

h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

main,
.footer {
  position: relative;
  z-index: 3;
}

.signal-canvas {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.34;
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 60;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px var(--gutter);
  color: var(--c-paper);
  background: linear-gradient(180deg, rgba(10, 11, 13, 0.86), rgba(10, 11, 13, 0));
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(242, 237, 228, 0.12);
  background: rgba(10, 11, 13, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(242, 237, 228, 0.28);
  background: var(--c-ember);
  color: var(--c-cosmos);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  font-weight: 700;
}

.brand small {
  color: var(--c-ash-light);
  font-family: var(--font-mono);
  font-size: 11px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(242, 237, 228, 0.76);
  font-size: 14px;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover {
  color: var(--c-paper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 14px 22px;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--c-ember);
  outline-offset: 4px;
}

.btn-primary {
  border-color: var(--c-ember);
  background: var(--c-ember);
  color: var(--c-cosmos);
}

.btn-primary:hover {
  border-color: var(--c-ember-hi);
  background: var(--c-ember-hi);
}

.btn-secondary {
  border-color: rgba(242, 237, 228, 0.2);
  background: rgba(242, 237, 228, 0.04);
  color: var(--c-paper);
}

[data-theme="light"] .btn-secondary {
  border-color: rgba(10, 11, 13, 0.2);
  background: rgba(10, 11, 13, 0.04);
  color: var(--c-ink);
}

.btn-secondary:hover {
  border-color: currentColor;
}

.btn-sm {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 14px;
}

.btn-wide {
  width: 100%;
}

.scene {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(232, 91, 47, 0.12), transparent 26%),
    var(--bg);
  color: var(--fg);
}

.scene[data-theme="light"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0)),
    var(--bg);
}

.scene-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) + var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.scene-grid > *,
.spec-board,
.spec-column,
.stage-card,
.data-board article,
.final-readout {
  min-width: 0;
}

.hero-scene {
  display: flex;
  align-items: center;
  min-height: 92svh;
  padding-top: 126px;
  padding-bottom: 82px;
  background:
    linear-gradient(90deg, rgba(21, 24, 28, 0.96), rgba(10, 11, 13, 0.88) 62%, rgba(10, 11, 13, 0.96)),
    radial-gradient(circle at 68% 20%, rgba(127, 229, 188, 0.1), transparent 28%),
    var(--c-charcoal);
}

.hero-grid {
  align-items: center;
}

.hero-copy {
  grid-column: 1 / span 6;
}

.hero-system {
  grid-column: 8 / span 5;
}

.scene-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lead,
.scene-copy {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--fg-muted);
  font-size: 18px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

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

.signal-list {
  display: grid;
  gap: 10px;
  max-width: 740px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.signal-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(242, 237, 228, 0.9);
  font-weight: 500;
  overflow-wrap: break-word;
}

.signal-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--c-mint);
  content: "";
}

.system-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(242, 237, 228, 0.16);
  border-bottom: 0;
  background: rgba(10, 11, 13, 0.58);
  color: var(--c-ash-light);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.system-bar strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-mint);
  font-weight: 500;
}

.system-bar strong::before {
  width: 7px;
  height: 7px;
  background: currentColor;
  content: "";
}

.spec-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  min-height: 430px;
  border: 1px solid rgba(242, 237, 228, 0.16);
  background: rgba(10, 11, 13, 0.72);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}

.spec-column {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}

.board-title {
  display: block;
  margin-bottom: 12px;
  color: var(--c-ember);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.spec-column p {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid rgba(242, 237, 228, 0.1);
  color: rgba(242, 237, 228, 0.82);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.spec-output p {
  display: grid;
  gap: 4px;
}

.spec-output b {
  color: var(--c-paper);
  font-weight: 700;
}

.spec-output em {
  color: var(--c-mint);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
}

.spec-output small {
  color: var(--c-ash-light);
}

.filter-core {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-inline: 1px solid rgba(242, 237, 228, 0.1);
  background: linear-gradient(180deg, rgba(232, 91, 47, 0.06), rgba(127, 229, 188, 0.04));
}

.filter-core span {
  position: absolute;
  width: 2px;
  height: 72%;
  background: var(--c-ember);
}

.filter-core span:nth-child(1) {
  transform: rotate(18deg);
}

.filter-core span:nth-child(2) {
  background: rgba(242, 237, 228, 0.22);
}

.filter-core span:nth-child(3) {
  transform: rotate(-18deg);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(242, 237, 228, 0.16);
  border-top: 0;
  background: rgba(10, 11, 13, 0.84);
}

.hero-metrics div {
  padding: 16px;
  border-right: 1px solid rgba(242, 237, 228, 0.1);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  color: var(--c-paper);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--c-ash-light);
  font-size: 12px;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  bottom: 24px;
  color: rgba(242, 237, 228, 0.56);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.split-grid {
  align-items: start;
}

.split-grid > *:first-child {
  grid-column: 1 / span 5;
}

.split-grid > *:last-child {
  grid-column: 7 / span 6;
}

.problem-scene {
  background:
    linear-gradient(180deg, rgba(10, 11, 13, 0.98), rgba(10, 11, 13, 0.94)),
    var(--c-cosmos);
}

.pain-ledger {
  display: grid;
  border-top: 1px solid rgba(242, 237, 228, 0.16);
}

.pain-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(242, 237, 228, 0.16);
}

.pain-row span {
  color: var(--c-ember);
  font-family: var(--font-mono);
  font-size: 12px;
}

.pain-row strong {
  color: var(--c-paper);
  font-size: 20px;
}

.pain-row p {
  margin: 0;
  color: var(--c-ash-light);
  overflow-wrap: break-word;
}

.noise-grid {
  position: absolute;
  z-index: 1;
  inset: auto 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding-inline: var(--gutter);
  color: rgba(242, 237, 228, 0.1);
  font-family: var(--font-mono);
  font-size: 42px;
  pointer-events: none;
}

.turning-scene {
  background:
    linear-gradient(135deg, var(--c-cosmos), var(--c-charcoal) 68%, #211a17),
    var(--c-charcoal);
}

.turning-grid {
  align-items: center;
}

.quote-block {
  grid-column: 1 / span 6;
}

blockquote {
  max-width: 760px;
  margin: 34px 0 0;
  color: var(--c-paper);
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.12;
}

.filter-visual {
  grid-column: 8 / span 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px minmax(0, 0.8fr);
  align-items: center;
  min-height: 430px;
}

.raw-tags,
.qualified-tags {
  display: grid;
  gap: 14px;
}

.raw-tags span,
.qualified-tags span {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(242, 237, 228, 0.14);
  background: rgba(242, 237, 228, 0.04);
  color: rgba(242, 237, 228, 0.72);
  font-family: var(--font-mono);
  font-size: 12px;
}

.qualified-tags span {
  border-color: rgba(127, 229, 188, 0.4);
  color: var(--c-mint);
}

.wedge {
  position: relative;
  height: 100%;
  min-height: 360px;
}

.wedge span {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 2px;
  height: 84%;
  background: var(--c-ember);
  transform-origin: center;
}

.wedge span:first-child {
  transform: rotate(14deg);
}

.wedge span:last-child {
  transform: rotate(-14deg);
}

.wide-head {
  grid-column: 1 / span 8;
}

.stage-track {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stage-card {
  position: relative;
  min-height: 320px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.24);
}

.stage-card::before {
  position: absolute;
  top: 38px;
  right: -14px;
  width: 14px;
  height: 1px;
  background: var(--line);
  content: "";
}

.stage-card:last-child::before {
  display: none;
}

.stage-card span {
  display: block;
  margin-bottom: 54px;
  color: var(--c-ember);
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1;
}

.stage-card p {
  color: var(--fg-muted);
}

.stage-card small {
  color: var(--c-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.diagnosis-scene {
  background:
    linear-gradient(180deg, rgba(21, 24, 28, 0.94), rgba(10, 11, 13, 0.98)),
    var(--c-cosmos);
}

.diagnosis-note {
  max-width: 620px;
  padding-left: 22px;
  border-left: 3px solid var(--c-ember);
}

.diagnosis-note strong,
.diagnosis-note span {
  display: block;
}

.diagnosis-note strong {
  margin-bottom: 8px;
  color: var(--c-paper);
}

.diagnosis-note span {
  color: var(--c-ash-light);
}

.calc-console {
  border: 1px solid rgba(242, 237, 228, 0.16);
  background: rgba(21, 24, 28, 0.84);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.range-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(242, 237, 228, 0.12);
}

.range-row span {
  color: var(--c-paper);
  font-weight: 700;
}

.range-row strong {
  min-width: 72px;
  color: var(--c-mint);
  font-family: var(--font-mono);
  text-align: right;
}

.range-row input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--c-ember);
}

.calc-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid rgba(242, 237, 228, 0.12);
}

.calc-result div {
  padding: 22px;
  border-right: 1px solid rgba(242, 237, 228, 0.12);
}

.calc-result div:last-child {
  border-right: 0;
}

.calc-result span {
  display: block;
  min-height: 42px;
  color: var(--c-ash-light);
  font-size: 13px;
}

.calc-result strong {
  display: block;
  margin-top: 10px;
  color: var(--c-paper);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.05;
}

.calc-comment {
  margin: 0;
  padding: 20px 24px;
  color: var(--c-ash-light);
  font-size: 14px;
}

.calc-console .btn {
  margin: 0 24px 24px;
  width: calc(100% - 48px);
}

.data-board {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.data-board article {
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(242, 237, 228, 0.14);
  background: rgba(242, 237, 228, 0.04);
}

.data-board span {
  color: var(--c-ember);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.data-board strong {
  display: block;
  margin: 48px 0 18px;
  color: var(--c-paper);
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
}

.data-board p {
  margin: 0;
  color: var(--c-ash-light);
}

.deliver-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.deliver-list div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.deliver-list span {
  color: var(--c-ember);
  font-family: var(--font-mono);
  font-size: 12px;
}

.deliver-list p {
  margin: 0;
  color: var(--fg);
  font-size: 19px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.final-scene {
  min-height: 82svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 76% 40%, rgba(232, 91, 47, 0.16), transparent 28%),
    linear-gradient(180deg, var(--c-charcoal), var(--c-cosmos));
}

.final-grid {
  align-items: center;
}

.final-grid > *:first-child {
  grid-column: 1 / span 7;
}

.final-readout {
  grid-column: 9 / span 4;
  padding: 26px;
  border: 1px solid rgba(242, 237, 228, 0.16);
  background: rgba(10, 11, 13, 0.58);
}

.final-readout span {
  display: block;
  margin-bottom: 22px;
  color: var(--c-ember);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.final-readout p {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid rgba(242, 237, 228, 0.12);
  color: var(--c-paper);
  font-family: var(--font-mono);
  font-size: 13px;
}

.footer {
  padding: 24px var(--gutter);
  border-top: 1px solid rgba(242, 237, 228, 0.12);
  background: var(--c-cosmos);
  color: var(--c-ash-light);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, var(--container));
  margin-inline: auto;
  font-size: 14px;
}

.sticky-cta {
  position: fixed;
  z-index: 55;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  border: 1px solid var(--c-ember);
  border-radius: 2px;
  padding: 12px 16px;
  background: var(--c-ember);
  color: var(--c-cosmos);
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: blur(12px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  max-height: min(92vh, 880px);
  overflow: auto;
  border: 1px solid rgba(242, 237, 228, 0.14);
  border-radius: var(--radius);
  background: var(--c-paper);
  color: var(--c-ink);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.34);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--c-sand);
  border-radius: 2px;
  background: transparent;
  color: var(--c-ink);
}

.modal-head {
  padding: 32px 32px 10px;
}

.modal-head .scene-label {
  color: var(--c-ember);
}

.modal-head h2 {
  margin-bottom: 14px;
  font-size: 36px;
}

.modal-head p:not(.scene-label) {
  max-width: 600px;
  color: var(--c-ash);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px 32px 32px;
}

.lead-form label,
.lead-form fieldset {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
}

.lead-form fieldset {
  padding: 0;
  border: 0;
}

.lead-form legend,
.lead-form label > span {
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--c-sand);
  border-radius: 2px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--c-ink);
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--c-ember);
  outline: 2px solid rgba(232, 91, 47, 0.16);
}

.span-2 {
  grid-column: 1 / -1;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.channel-choice {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px !important;
  min-height: 48px;
  border: 1px solid var(--c-sand);
  border-radius: 2px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 700;
}

.channel-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.channel-choice svg {
  width: 18px;
  height: 18px;
}

.channel-choice:has(input:checked) {
  border-color: var(--c-ember);
  background: rgba(232, 91, 47, 0.12);
}

.form-note {
  margin: 0;
  color: var(--c-ash);
  font-size: 13px;
}

.form-note.is-error {
  color: #9d2f20;
}

.form-note.is-success {
  color: #246b4f;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1024px) {
  h1 {
    font-size: 92px;
  }

  h2 {
    font-size: 64px;
  }

  h3 {
    font-size: 28px;
  }

  .scene {
    padding: 140px 0;
  }
}

@media (max-width: 1180px) {
  .hero-copy,
  .hero-system,
  .quote-block,
  .filter-visual,
  .wide-head,
  .split-grid > *:first-child,
  .split-grid > *:last-child,
  .final-grid > *:first-child,
  .final-readout {
    grid-column: 1 / -1;
  }

  .hero-grid,
  .turning-grid,
  .final-grid {
    gap: 42px;
  }

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

  .stage-card::before {
    display: none;
  }

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

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .nav,
  .site-header .btn {
    display: none;
  }

  .scene {
    padding: 88px 0;
  }

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

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  blockquote {
    font-size: 32px;
  }

  .hero-lead,
  .scene-copy {
    font-size: 17px;
  }

  .spec-board {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .filter-core {
    min-height: 74px;
    border-block: 1px solid rgba(242, 237, 228, 0.1);
    border-inline: 0;
  }

  .filter-core span {
    height: 56px;
  }

  .hero-metrics,
  .calc-result,
  .data-board,
  .stage-track {
    grid-template-columns: 1fr;
  }

  .hero-metrics div,
  .calc-result div {
    border-right: 0;
    border-bottom: 1px solid rgba(242, 237, 228, 0.12);
  }

  .hero-metrics div:last-child,
  .calc-result div:last-child {
    border-bottom: 0;
  }

  .pain-row {
    grid-template-columns: 44px 1fr;
  }

  .pain-row p {
    grid-column: 2;
  }

  .noise-grid {
    display: none;
  }

  .filter-visual {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
  }

  .wedge {
    min-height: 86px;
  }

  .wedge span {
    top: 10%;
    height: 80%;
  }

  .stage-card {
    min-height: 260px;
  }

  .deliver-list div {
    grid-template-columns: 44px 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .lead-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .modal-head {
    padding: 26px 20px 8px;
  }

  .modal-head h2 {
    padding-right: 48px;
    font-size: 30px;
  }

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

@media (max-width: 480px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .btn {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .spec-column {
    padding: 18px;
  }

  .calc-console .btn {
    margin-inline: 18px;
    width: calc(100% - 36px);
  }

  .range-row,
  .calc-result div,
  .calc-comment {
    padding-inline: 18px;
  }
}

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

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

  .signal-canvas {
    display: none;
  }
}
