/*
  LytGuide brand preset
  One visual system applied over the existing product-demo skeleton.
*/

:root {
  color-scheme: dark;
  --brand-bg: #0c100e;
  --brand-bg-alt: #101511;
  --brand-surface: #131a16;
  --brand-surface-raised: #18211b;
  --brand-ink: #f7f2e6;
  --brand-muted: #9ba79f;
  --brand-line: rgba(247, 242, 230, 0.12);
  --brand-line-strong: rgba(247, 242, 230, 0.2);
  --brand-green: #58d69b;
  --brand-green-strong: #28d17c;
  --brand-green-soft: rgba(88, 214, 155, 0.12);
  --brand-cream: #fff4d6;
  --brand-amber: #f5a623;
  --brand-radius-sm: 10px;
  --brand-radius: 16px;
  --brand-radius-lg: 24px;
  --brand-radius-xl: 32px;
  --brand-max: 1500px;
  --brand-font: Inter, "Avenir Next", "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --brand-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  --brand-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --ink: var(--brand-ink);
  --muted: var(--brand-muted);
  --paper: var(--brand-bg);
  --paper-strong: var(--brand-bg-alt);
  --charcoal: var(--brand-bg);
  --charcoal-2: var(--brand-surface);
  --line: var(--brand-line);
  --green: var(--brand-green);
  --green-strong: var(--brand-green-strong);
  --cream: var(--brand-cream);
  --shadow: var(--brand-shadow);
  --max: var(--brand-max);
  --header-height: 76px;
  --page-gutter: clamp(20px, 4vw, 72px);
  --page-x: max(var(--page-gutter), calc((100vw - var(--brand-max)) / 2));
  --section-y: clamp(92px, 10vw, 148px);
  --title-section: clamp(42px, 5vw, 72px);
  --title-hero: clamp(54px, 6.1vw, 92px);
  --text-body: clamp(16px, 1.3vw, 20px);
  --card-title: clamp(20px, 1.65vw, 26px);
}

* {
  scrollbar-color: rgba(88, 214, 155, 0.42) var(--brand-bg);
}

::selection {
  background: var(--brand-green);
  color: #08110c;
}

html {
  background: var(--brand-bg);
}

body,
button,
input,
select,
textarea {
  font-family: var(--brand-font);
}

body {
  background: var(--brand-bg);
  color: var(--brand-ink);
  font-weight: 450;
  letter-spacing: -0.01em;
}

a,
button,
input,
select,
textarea {
  border-radius: var(--brand-radius-sm);
}

:focus-visible {
  outline: 2px solid var(--brand-green) !important;
  outline-offset: 3px;
}

.site-header {
  background: rgba(12, 16, 14, 0.82);
  border-bottom: 1px solid var(--brand-line);
  box-shadow: none;
  min-height: var(--header-height);
  padding-bottom: 12px;
  padding-top: 12px;
  backdrop-filter: blur(18px) saturate(130%);
}

.site-header.is-over-hero {
  background: rgba(12, 16, 14, 0.76);
  border-color: var(--brand-line);
  box-shadow: none;
}

.brand {
  gap: 10px;
}

.brand-icon {
  filter: none;
  height: 40px;
  width: 40px;
}

.brand-main {
  color: var(--brand-ink);
  font-size: 29px;
  font-weight: 820;
  letter-spacing: -0.055em;
}

.brand-main span {
  color: var(--brand-green);
  text-shadow: none;
}

.brand-suffix {
  color: var(--brand-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  gap: clamp(20px, 2.2vw, 34px);
}

.nav-links a,
.header-cta {
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  color: rgba(247, 242, 230, 0.64);
}

.nav-links a::after {
  background: var(--brand-green);
  bottom: 2px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand-ink);
}

.header-cta {
  background: var(--brand-green);
  border: 1px solid var(--brand-green);
  box-shadow: none;
  color: #07110b;
  min-height: 46px;
  padding: 0 20px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms var(--brand-ease);
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #71e3ad;
  border-color: #71e3ad;
  box-shadow: none;
  transform: translateY(-1px);
}

.menu-toggle,
.mobile-menu {
  border-color: var(--brand-line);
  border-radius: var(--brand-radius-sm);
}

.mobile-menu {
  background: rgba(16, 21, 17, 0.98);
  box-shadow: var(--brand-shadow);
}

.hero.demo-section {
  background:
    radial-gradient(circle at 76% 25%, rgba(88, 214, 155, 0.09), transparent 30%),
    linear-gradient(180deg, #0c100e 0%, #0d120f 100%);
  color: var(--brand-ink);
  min-height: calc(100svh - var(--header-height));
  padding: clamp(32px, 5svh, 56px) var(--page-x);
}

.hero.demo-section::before {
  background:
    linear-gradient(rgba(247, 242, 230, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 242, 230, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 35%, black, transparent 62%);
  opacity: 0.55;
}

.hero.demo-section::after {
  background: linear-gradient(90deg, rgba(12, 16, 14, 0.1), transparent 46%, rgba(12, 16, 14, 0.1));
}

.hero.demo-section .hero-grid {
  align-items: center;
  gap: clamp(44px, 5vw, 84px);
  grid-template-columns: minmax(350px, 0.7fr) minmax(680px, 1.3fr);
  max-width: var(--brand-max);
  min-height: calc(100svh - var(--header-height) - clamp(64px, 10svh, 112px));
}

.hero.demo-section .hero-content {
  max-width: 640px;
}

.eyebrow,
.hero.demo-section .eyebrow {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 720;
  gap: 10px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  padding: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.hero.demo-section .eyebrow::before {
  background: var(--brand-green);
  box-shadow: none;
  height: 1px;
  width: 28px;
}

.hero.demo-section h1 {
  color: var(--brand-ink);
  font-size: clamp(54px, 5.5vw, 84px);
  font-weight: 690;
  letter-spacing: -0.065em;
  line-height: 0.94;
  max-width: 680px;
}

.hero.demo-section h1 span {
  color: var(--brand-green);
}

.hero.demo-section .hero-copy {
  color: var(--brand-muted);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.62;
  margin-top: 20px;
  max-width: 610px;
}

.hero.demo-section .hero-copy strong {
  color: var(--brand-ink);
  font-size: 0.86em;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.hero-loop {
  border-bottom: 1px solid var(--brand-line);
  border-top: 1px solid var(--brand-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.hero-loop article {
  align-content: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--brand-line);
  gap: 9px;
  grid-template-columns: 1fr;
  min-height: 110px;
  padding: 15px 12px;
  transition: border-color 180ms ease, transform 220ms var(--brand-ease);
}

.hero-loop article:first-child {
  padding-left: 0;
}

.hero-loop article:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero-loop article:hover {
  background: transparent;
  border-color: var(--brand-line-strong);
  transform: translateX(4px);
}

.hero-loop-index {
  color: rgba(247, 242, 230, 0.32);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.hero-loop strong {
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.hero-loop small {
  display: none;
}

.hero-loop .brand-symbol {
  height: 32px;
  width: 32px;
}

.hero-loop .brand-symbol svg {
  height: 17px;
  width: 17px;
}

.brand-symbol {
  align-items: center;
  background: var(--brand-green-soft);
  border: 1px solid rgba(88, 214, 155, 0.2);
  border-radius: 10px;
  color: var(--brand-green);
  display: inline-flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand-symbol svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
  width: 20px;
}

.brand-symbol--large {
  border-radius: 13px;
  height: 48px;
  width: 48px;
}

.brand-symbol--large svg {
  height: 24px;
  width: 24px;
}

.brand-symbol--amber {
  background: rgba(245, 166, 35, 0.1);
  border-color: rgba(245, 166, 35, 0.2);
  color: var(--brand-amber);
}

.hero.demo-section .hero-actions {
  gap: 10px;
  margin-top: 20px;
}

.button,
.hero.demo-section .hero-actions .button {
  border-radius: 12px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 680;
  min-height: 52px;
  padding: 0 21px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 220ms var(--brand-ease);
}

.button.primary {
  background: var(--brand-green);
  border: 1px solid var(--brand-green);
  box-shadow: none;
  color: #07110b;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #71e3ad;
  border-color: #71e3ad;
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--brand-line-strong);
  color: var(--brand-ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(247, 242, 230, 0.06);
  border-color: rgba(247, 242, 230, 0.3);
}

.hero-retrofit-note {
  color: rgba(247, 242, 230, 0.45);
  font-size: 11px;
}

.hero-demo-card {
  background: rgba(19, 26, 22, 0.92);
  border: 1px solid var(--brand-line);
  border-radius: var(--brand-radius-lg);
  box-shadow: var(--brand-shadow);
  gap: 14px;
  height: min(560px, calc(100svh - var(--header-height) - 64px));
  min-height: 520px;
  overflow: hidden;
  padding: 18px;
  backdrop-filter: blur(18px);
}

.hero-demo-label {
  border-color: var(--brand-line);
  min-height: 38px;
  padding: 0 2px 12px;
}

.hero-demo-label > span {
  color: var(--brand-green);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.hero-demo-label i {
  box-shadow: none;
}

.hero-demo-label strong {
  color: var(--brand-muted);
  font-size: 10px;
  font-weight: 560;
}

.hero-demo-card .demo-copy {
  align-items: start;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 120px;
}

.hero-demo-card .demo-mode-cue {
  color: var(--brand-muted);
  margin-bottom: 8px;
}

.hero-demo-card .demo-mode-badge {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--brand-green);
  min-height: auto;
  padding: 0;
}

.hero-demo-card .step-kicker {
  color: var(--demo-color);
  letter-spacing: 0.11em;
  margin-bottom: 4px;
}

.hero-demo-card .demo-copy h2 {
  color: var(--brand-ink);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 620;
  letter-spacing: -0.04em;
}

.hero-demo-card .demo-copy p:not(.step-kicker) {
  color: var(--brand-muted);
  font-size: 11px;
  line-height: 1.45;
}

.hero-demo-card .step-track-label,
.hero-demo-card .demo-action-label {
  color: rgba(247, 242, 230, 0.38);
  letter-spacing: 0.1em;
}

.hero-demo-card .step-track {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  width: min(100%, 380px);
}

.hero-demo-card .step-track button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--brand-line);
  color: var(--brand-muted);
  display: grid;
  gap: 5px;
  grid-template-columns: auto minmax(0, 1fr);
  height: 34px;
  justify-content: start;
  padding: 0 8px;
  width: auto;
}

.hero-demo-card .step-track button span {
  align-items: center;
  background: rgba(247, 242, 230, 0.06);
  border-radius: 50%;
  display: inline-flex;
  font-size: 8px;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.hero-demo-card .step-track button small {
  color: inherit;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
}

.hero-demo-card .step-track button.is-active {
  background: var(--brand-green-soft);
  border-color: rgba(88, 214, 155, 0.42);
  color: var(--brand-green);
}

.hero-demo-card .step-track button.is-active span,
.hero-demo-card .step-track button.is-complete span {
  background: rgba(88, 214, 155, 0.16);
}

.hero-demo-card .step-track button.is-complete {
  color: rgba(88, 214, 155, 0.66);
}

.hero-demo-card .step-track button::before {
  display: none;
}

.hero-demo-card .demo-action-panel {
  align-self: end;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--brand-line);
  border-radius: 0;
  box-shadow: none;
  padding: 2px 0 2px 12px;
}

.hero-demo-card .flow-choice {
  background: rgba(12, 16, 14, 0.58);
  border: 1px solid var(--brand-line);
  border-radius: 11px;
  gap: 3px;
  padding: 3px;
}

.hero-demo-card .flow-choice-button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--brand-muted);
  min-height: 34px;
}

.hero-demo-card .flow-choice-button.is-active {
  background: var(--brand-surface-raised);
  border: 0;
  color: var(--demo-color);
}

.demo-replay {
  color: rgba(247, 242, 230, 0.4);
  text-decoration: none;
}

.demo-replay:hover,
.demo-replay:focus-visible {
  color: var(--brand-green);
}

.hero-demo-card .demo-lab {
  background:
    linear-gradient(rgba(247, 242, 230, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 242, 230, 0.025) 1px, transparent 1px),
    #0e1410;
  background-size: 30px 30px;
  border: 1px solid var(--brand-line);
  border-radius: 16px;
  display: grid;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 14px;
  place-items: center;
}

.demo-start-overlay {
  align-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(88, 214, 155, 0.13), transparent 38%),
    rgba(9, 13, 10, 0.84);
  border-radius: inherit;
  display: grid;
  inset: 0;
  justify-items: center;
  opacity: 1;
  padding: 24px;
  position: absolute;
  text-align: center;
  transition: opacity 420ms var(--brand-ease), visibility 420ms ease;
  visibility: visible;
  z-index: 20;
  backdrop-filter: blur(7px);
}

.demo-start-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.demo-start-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-start-kicker {
  color: var(--brand-muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-start-button {
  align-items: center;
  background: var(--brand-green);
  border: 1px solid var(--brand-green);
  border-radius: 13px;
  color: #07110b;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 720;
  gap: 11px;
  min-height: 56px;
  padding: 0 22px 0 14px;
  transition: background 180ms ease, transform 220ms var(--brand-ease);
}

.demo-start-button:hover,
.demo-start-button:focus-visible {
  background: #71e3ad;
  transform: translateY(-2px);
}

.demo-start-button > span {
  align-items: center;
  background: rgba(7, 17, 11, 0.12);
  border-radius: 9px;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.demo-start-button svg {
  fill: currentColor;
  height: 18px;
  width: 18px;
}

.demo-start-content small {
  color: rgba(247, 242, 230, 0.5);
  font-size: 11px;
}

.demo-start-overlay:not(.is-hidden) ~ .monitor-mockup,
.demo-start-overlay:not(.is-hidden) ~ .physical-demo {
  opacity: 0.26;
  transform: scale(0.95);
}

.hero-demo-card .monitor-mockup {
  aspect-ratio: 1500 / 1000;
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.28));
  height: 100%;
  max-height: 100%;
  max-width: 88%;
  min-height: 0;
  transform-origin: center;
  width: auto;
}

.hero-demo-card .physical-demo {
  max-height: 100%;
  transition: opacity 560ms var(--brand-ease), transform 680ms var(--brand-ease);
}

.hero.demo-section[data-step="3"] .demo-lab,
.hero.demo-section[data-step="4"] .demo-lab {
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  padding: 18px;
}

.hero.demo-section[data-step="4"] .demo-lab {
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
}

.hero.demo-section[data-step="3"] .monitor-mockup,
.hero.demo-section[data-step="4"] .monitor-mockup {
  aspect-ratio: 1500 / 1000;
  grid-column: 1;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  transform: none;
  width: 100%;
}

.hero.demo-section[data-step="3"] .physical-demo,
.hero.demo-section[data-step="4"] .physical-demo {
  align-self: center;
  grid-column: 2;
  justify-self: stretch;
  max-height: 100%;
  position: relative;
  right: auto;
  top: auto;
  width: 100%;
}

.hero.demo-section[data-step="3"] .rack-board,
.hero.demo-section[data-step="4"] .rack-board {
  max-height: 100%;
  width: 100%;
}

.station-screen {
  background: #0b100d;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(247, 242, 230, 0.06);
}

.station-screen::before {
  opacity: 0.18;
}

.task-builder {
  background: rgba(12, 16, 14, 0.92);
  border: 1px solid var(--brand-line-strong);
  border-radius: 13px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.task-field {
  background: var(--brand-surface);
  border: 1px solid var(--brand-line);
  border-radius: 10px;
}

.create-task-button,
.confirm-screen button {
  background: var(--brand-green);
  border: 1px solid var(--brand-green);
  border-radius: 10px;
  box-shadow: none;
  color: #07110b;
}

.create-task-button:hover,
.create-task-button:focus-visible,
.confirm-screen button:hover,
.confirm-screen button:focus-visible {
  background: #71e3ad;
}

.split-dialog,
.confirm-screen {
  background: rgba(12, 16, 14, 0.96);
  border-color: var(--brand-line-strong);
  border-radius: 13px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}

.confirm-screen {
  gap: 4px;
  inset: 10px;
  overflow: hidden;
  padding: 8px;
  transition: background 420ms ease, border-color 420ms ease, opacity 280ms ease, transform 420ms var(--brand-ease);
}

.completion-mark {
  align-items: center;
  background: rgba(88, 214, 155, 0.08);
  border: 1px solid rgba(88, 214, 155, 0.22);
  border-radius: 50%;
  color: var(--brand-green);
  display: inline-flex;
  height: 22px;
  justify-content: center;
  margin-bottom: 1px;
  transition: background 420ms ease, color 420ms ease, transform 520ms var(--brand-ease);
  width: 22px;
}

.completion-mark svg {
  fill: none;
  height: 12px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 12px;
}

.confirm-eyebrow {
  color: var(--brand-green);
  font-size: 7px;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.confirm-screen p {
  color: var(--brand-muted);
  font-size: 7.5px;
  line-height: 1.3;
  margin: 0;
  max-width: 230px;
  text-align: center;
}

.confirm-screen button {
  font-size: 9px;
  min-height: 30px;
  min-width: 120px;
  padding: 0 12px;
}

.confirm-screen.is-complete {
  background:
    radial-gradient(circle at 50% 16%, rgba(88, 214, 155, 0.15), transparent 42%),
    rgba(12, 16, 14, 0.98);
  border-color: rgba(88, 214, 155, 0.38);
}

.confirm-screen.is-complete .completion-mark {
  background: var(--brand-green);
  color: #07110b;
  transform: scale(1.08);
}

.confirm-screen.is-complete button {
  background: transparent;
  border-color: rgba(88, 214, 155, 0.38);
  color: var(--brand-green);
}

.step-narration.is-step-entering [data-step-kicker],
.step-narration.is-step-entering [data-step-title],
.step-narration.is-step-entering [data-step-description] {
  animation: demo-copy-enter 440ms var(--brand-ease) both;
}

.step-narration.is-step-entering [data-step-description] {
  animation-delay: 55ms;
}

.demo-section.is-task-complete .step-track button {
  border-color: rgba(88, 214, 155, 0.25);
  color: var(--brand-green);
}

@keyframes demo-copy-enter {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rack-board::before {
  background: rgba(12, 16, 14, 0.18);
  border-color: var(--brand-line);
  border-radius: 14px;
}

.snapshot,
.workflow,
.reporting,
.hardware,
.impact,
.contact {
  color: var(--brand-ink);
  padding: var(--section-y) var(--page-x);
}

.snapshot,
.reporting,
.impact {
  background: var(--brand-bg-alt);
}

.workflow,
.hardware {
  background: var(--brand-bg);
}

.section-heading,
.section-heading.compact {
  align-items: start;
  display: grid;
  gap: 18px;
  justify-items: start;
  margin: 0 auto clamp(48px, 6vw, 76px);
  max-width: var(--brand-max);
  text-align: left;
}

.section-heading h2,
.section-heading.compact h2,
.contact h2 {
  color: var(--brand-ink);
  font-size: var(--title-section);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0;
  max-width: 920px;
}

.section-heading p:not(.eyebrow),
.section-heading.compact p:not(.eyebrow),
article p {
  color: var(--brand-muted);
  font-size: var(--text-body);
  line-height: 1.58;
  margin: 0;
  max-width: 760px;
}

.snapshot-grid,
.timeline,
.architecture,
.impact-grid {
  gap: 0;
  max-width: var(--brand-max);
}

.snapshot-grid article,
.timeline article,
.architecture article,
.impact-grid article,
.report-list article {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.snapshot-grid,
.timeline,
.architecture,
.impact-grid {
  border-bottom: 1px solid var(--brand-line);
  border-top: 1px solid var(--brand-line);
}

.snapshot-grid article,
.timeline article,
.architecture article,
.impact-grid article {
  border-right: 1px solid var(--brand-line);
  min-height: 0;
  padding: clamp(28px, 3vw, 46px);
  text-align: left;
}

.snapshot-grid article:first-child,
.timeline article:first-child,
.architecture article:first-child,
.impact-grid article:first-child {
  padding-left: 0;
}

.snapshot-grid article:last-child,
.timeline article:last-child,
.architecture article:last-child,
.impact-grid article:last-child {
  border-right: 0;
  padding-right: 0;
}

.product-cycle article::after {
  display: none;
}

.cycle-tag {
  color: rgba(247, 242, 230, 0.36);
  font-size: 9px;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.product-cycle .brand-symbol {
  margin-bottom: 44px;
}

article h3 {
  color: var(--brand-ink);
  font-size: var(--card-title);
  font-weight: 610;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}

.reporting-grid {
  align-items: stretch;
  gap: clamp(24px, 3vw, 44px);
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  max-width: var(--brand-max);
}

.report-console {
  background:
    linear-gradient(rgba(247, 242, 230, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 242, 230, 0.025) 1px, transparent 1px),
    var(--brand-surface);
  background-size: 36px 36px;
  border: 1px solid var(--brand-line);
  border-radius: var(--brand-radius-lg);
  box-shadow: none;
  min-height: 480px;
  padding: clamp(24px, 3vw, 40px);
}

.report-console-top span {
  color: var(--brand-green);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.report-console-top strong {
  color: var(--brand-muted);
  font-size: 12px;
  font-weight: 560;
}

.report-bars {
  gap: 16px;
  margin-top: 48px;
}

.report-bars span {
  background: rgba(247, 242, 230, 0.055);
  border: 1px solid rgba(247, 242, 230, 0.06);
  border-radius: 10px;
  height: 58px;
  overflow: hidden;
}

.report-bars span::before {
  background: linear-gradient(90deg, rgba(40, 209, 124, 0.72), rgba(88, 214, 155, 0.52));
  border-radius: 9px;
  opacity: 0.82;
}

.report-bars b {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.report-bars em {
  color: rgba(247, 242, 230, 0.72);
  font-size: 10px;
}

.report-recommendation {
  background: rgba(88, 214, 155, 0.075);
  border: 1px solid rgba(88, 214, 155, 0.18);
  border-radius: 12px;
  margin-top: 22px;
  padding: 15px 17px;
}

.report-recommendation span {
  color: var(--brand-green);
}

.report-recommendation strong {
  color: var(--brand-ink);
  font-weight: 560;
}

.report-list {
  border-top: 1px solid var(--brand-line);
  gap: 0;
}

.report-list article {
  border-bottom: 1px solid var(--brand-line);
  min-height: 0;
  padding: clamp(24px, 2.4vw, 36px) 0;
}

.report-list span,
.step-number,
.arch-index {
  color: var(--brand-green);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.13em;
  margin-bottom: 28px;
}

.report-list article h3 {
  margin-bottom: 8px;
}

.report-list article p {
  font-size: 15px;
  line-height: 1.5;
}

.timeline article,
.architecture article {
  position: relative;
}

.timeline .step-number,
.architecture .arch-index {
  display: block;
  margin-bottom: 52px;
}

.architecture .brand-symbol {
  margin-bottom: 32px;
}

.hardware-features {
  display: grid;
  gap: 11px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.hardware-features li {
  color: var(--brand-muted);
  display: grid;
  font-size: 14px;
  gap: 10px;
  grid-template-columns: 7px minmax(0, 1fr);
  line-height: 1.45;
}

.hardware-features li::before {
  background: var(--brand-green);
  border-radius: 50%;
  content: "";
  height: 5px;
  margin-top: 7px;
  width: 5px;
}

.hardware-summary {
  border-bottom: 1px solid var(--brand-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--brand-max);
}

.hardware-summary > span {
  border-right: 1px solid var(--brand-line);
  color: var(--brand-muted);
  display: grid;
  font-size: 13px;
  gap: 5px;
  line-height: 1.4;
  padding: 24px clamp(22px, 3vw, 44px);
}

.hardware-summary > span:first-child {
  padding-left: 0;
}

.hardware-summary > span:last-child {
  border-right: 0;
  padding-right: 0;
}

.hardware-summary strong {
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 650;
}

.system-strip {
  background: transparent;
  border-bottom: 1px solid var(--brand-line);
  border-radius: 0;
  color: var(--brand-ink);
  margin-top: 0;
  max-width: var(--brand-max);
  padding: 28px 0;
}

.system-strip span {
  color: var(--brand-muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-strip i {
  background: linear-gradient(90deg, var(--brand-green), rgba(88, 214, 155, 0.18));
  height: 1px;
}

.impact-grid .brand-symbol {
  margin-bottom: 54px;
}

.contact {
  background: var(--brand-bg);
  padding-bottom: clamp(64px, 8vw, 110px);
  padding-top: clamp(64px, 8vw, 110px);
}

.contact-inner {
  background:
    radial-gradient(circle at 84% 16%, rgba(40, 209, 124, 0.2), transparent 28%),
    var(--brand-cream);
  border-radius: var(--brand-radius-xl);
  color: #142019;
  max-width: var(--brand-max);
  padding: clamp(42px, 7vw, 96px);
  text-align: left;
}

.contact .eyebrow {
  color: #178d53;
}

.contact .eyebrow::before {
  background: #178d53;
}

.contact h2 {
  color: #142019;
  max-width: 980px;
}

.contact p:not(.eyebrow) {
  color: rgba(20, 32, 25, 0.68);
  font-size: var(--text-body);
  line-height: 1.6;
  margin: 22px 0 0;
  max-width: 740px;
}

.contact-actions {
  justify-content: flex-start;
  margin-top: 34px;
}

.contact .button.primary,
.contact .button.light {
  background: #142019;
  border-color: #142019;
  color: var(--brand-cream);
}

.contact .button.secondary,
.contact .button.light-outline {
  background: transparent;
  border: 1px solid rgba(20, 32, 25, 0.28);
  color: #142019;
}

.pilot-panel {
  border: 0;
  border-top: 1px solid rgba(20, 32, 25, 0.18);
  border-radius: 0;
  box-shadow: none;
  margin: 52px 0 0;
  max-width: 820px;
}

.pilot-panel span {
  border-color: rgba(20, 32, 25, 0.16);
  color: rgba(20, 32, 25, 0.58);
  min-height: 98px;
  padding: 24px 24px 0 0;
}

.pilot-panel strong {
  color: #142019;
}

.inquiry-dialog {
  background:
    radial-gradient(circle at 10% 0%, rgba(88, 214, 155, 0.11), transparent 34%),
    linear-gradient(160deg, #18211b 0%, #111814 58%, #0e1411 100%);
  border: 1px solid rgba(88, 214, 155, 0.16);
  border-radius: 32px;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.5);
  color: var(--brand-ink);
  overflow: auto;
  width: min(780px, calc(100vw - 32px));
}

.inquiry-dialog::backdrop {
  background: rgba(5, 8, 6, 0.72);
  backdrop-filter: blur(14px) saturate(110%);
}

.inquiry-head h2,
.inquiry-form label {
  color: var(--brand-ink);
}

.inquiry-head {
  align-items: start;
  padding-bottom: 4px;
}

.inquiry-kicker {
  align-items: center;
  display: inline-flex;
  gap: 9px;
  letter-spacing: 0.11em;
}

.inquiry-kicker::before {
  background: var(--brand-green);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(88, 214, 155, 0.48);
  content: "";
  height: 6px;
  width: 6px;
}

.inquiry-head h2 {
  font-size: clamp(34px, 3.2vw, 52px);
  font-weight: 640;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.inquiry-form input,
.inquiry-form textarea,
.inquiry-recipient {
  background: rgba(7, 12, 9, 0.54);
  border-color: rgba(247, 242, 230, 0.09);
  color: var(--brand-ink);
}

.inquiry-close {
  background: rgba(247, 242, 230, 0.045);
  border-color: rgba(247, 242, 230, 0.1);
  border-radius: 50%;
  color: rgba(247, 242, 230, 0.68);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms var(--brand-ease);
}

.inquiry-close:hover,
.inquiry-close:focus-visible {
  background: rgba(88, 214, 155, 0.1);
  border-color: rgba(88, 214, 155, 0.32);
  color: var(--brand-green);
  transform: rotate(4deg);
}

.inquiry-form {
  gap: 16px;
  padding: clamp(24px, 2.5vw, 38px);
}

.inquiry-intro {
  color: var(--brand-muted);
  font-size: clamp(13px, 0.9vw, 16px);
  line-height: 1.5;
  margin: 10px 0 0;
  max-width: 58ch;
}

.inquiry-honeypot {
  display: none !important;
}

.inquiry-field-grid {
  background: rgba(7, 12, 9, 0.5);
  border: 1px solid rgba(247, 242, 230, 0.09);
  border-radius: 20px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.inquiry-field-grid label {
  gap: 5px;
  min-width: 0;
  padding: 14px 18px 15px;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.inquiry-field-grid label:nth-child(odd) {
  border-right: 1px solid rgba(247, 242, 230, 0.08);
}

.inquiry-field-grid label:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(247, 242, 230, 0.08);
}

.inquiry-field-grid label:focus-within {
  background: rgba(88, 214, 155, 0.055);
  box-shadow: inset 3px 0 0 rgba(88, 214, 155, 0.68);
}

.inquiry-field-grid label:has(input:user-invalid) {
  background: rgba(237, 93, 79, 0.06);
  box-shadow: inset 3px 0 0 rgba(237, 93, 79, 0.82);
}

.inquiry-field-grid input:user-invalid {
  color: #ffaea5;
}

.inquiry-field-grid input {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 540;
  min-height: 32px;
  padding: 0;
}

.inquiry-field-grid input:focus {
  border: 0;
  box-shadow: none;
}

.inquiry-form input[type="datetime-local"] {
  color-scheme: dark;
}

.field-hint {
  color: rgba(247, 242, 230, 0.38);
  font-size: clamp(9px, 0.62vw, 11px);
  font-weight: 500;
  letter-spacing: 0;
}

.inquiry-timezone-note,
.inquiry-privacy {
  color: var(--brand-muted);
  font-size: clamp(11px, 0.72vw, 13px);
  line-height: 1.4;
  margin: -4px 0 0;
}

.inquiry-timezone-note strong {
  color: var(--brand-ink);
  font-weight: 650;
}

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

.field-label small {
  color: var(--brand-muted);
  font-size: 0.72em;
  font-weight: 560;
}

.inquiry-message-field {
  background: rgba(7, 12, 9, 0.5);
  border: 1px solid rgba(247, 242, 230, 0.09);
  border-radius: 20px;
  gap: 7px;
  padding: 14px 18px 12px;
  transition: background 180ms ease, border-color 180ms ease;
}

.inquiry-message-field:focus-within {
  background: rgba(88, 214, 155, 0.045);
  border-color: rgba(88, 214, 155, 0.24);
}

.inquiry-message-field textarea {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 76px;
  padding: 2px 0 0;
}

.inquiry-message-field textarea:focus {
  border: 0;
  box-shadow: none;
}

.inquiry-form textarea::placeholder {
  color: rgba(247, 242, 230, 0.36);
}

.inquiry-recipient {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247, 242, 230, 0.08);
  border-radius: 0;
  border-top: 1px solid rgba(247, 242, 230, 0.08);
  padding: 11px 0;
}

.inquiry-recipient button {
  background: rgba(247, 242, 230, 0.06);
  border: 1px solid rgba(247, 242, 230, 0.1);
  border-radius: 999px;
  color: var(--brand-ink);
}

.inquiry-actions .button.primary.is-success {
  background: #71e3ad;
  border-color: #71e3ad;
}

.inquiry-actions {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 0;
}

.inquiry-actions .button {
  border-radius: 999px;
}

.inquiry-actions .button.primary {
  justify-content: center;
  width: 100%;
}

.inquiry-actions .button.secondary {
  background: transparent;
  border-color: transparent;
  color: var(--brand-muted);
}

.inquiry-actions .button.secondary:hover,
.inquiry-actions .button.secondary:focus-visible {
  background: rgba(247, 242, 230, 0.05);
  border-color: rgba(247, 242, 230, 0.08);
  color: var(--brand-ink);
}

.inquiry-actions .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.inquiry-form[aria-busy="true"] .inquiry-field-grid,
.inquiry-form[aria-busy="true"] > label,
.inquiry-form[aria-busy="true"] .inquiry-timezone-note {
  opacity: 0.66;
}

.inquiry-privacy {
  margin-top: -3px;
}

.inquiry-status {
  color: var(--brand-ink);
  font-weight: 580;
}

.inquiry-status:not(:empty) {
  background: rgba(88, 214, 155, 0.07);
  border-left: 2px solid rgba(88, 214, 155, 0.55);
  border-radius: 0 10px 10px 0;
  padding: 10px 12px;
}

.inquiry-form input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(88%) sepia(17%) saturate(724%) hue-rotate(96deg) brightness(95%);
  opacity: 0.72;
}

@media (min-width: 2200px) {
  .inquiry-dialog {
    width: min(980px, calc(100vw - 64px));
  }

  .inquiry-form {
    gap: 20px;
    padding: 46px;
  }

  .inquiry-field-grid label,
  .inquiry-message-field {
    padding: 20px 24px;
  }

  .inquiry-field-grid input {
    font-size: 22px;
  }
}

@media (max-width: 720px) {
  .inquiry-dialog {
    border-radius: 24px;
    max-height: calc(100dvh - 16px);
    max-width: calc(100vw - 16px);
    width: calc(100vw - 16px);
  }

  .inquiry-form {
    gap: 13px;
    padding: 20px;
  }

  .inquiry-field-grid {
    grid-template-columns: 1fr;
  }

  .inquiry-field-grid label:nth-child(odd) {
    border-right: 0;
  }

  .inquiry-field-grid label:nth-child(-n + 3) {
    border-bottom: 1px solid rgba(247, 242, 230, 0.08);
  }

  .inquiry-field-grid label:last-child {
    border-bottom: 0;
  }

  .inquiry-field-grid label {
    padding: 12px 15px 13px;
  }

  .inquiry-intro {
    font-size: 13px;
  }

  .inquiry-head h2 {
    font-size: clamp(31px, 10vw, 40px);
  }

  .inquiry-message-field {
    padding: 12px 15px 10px;
  }

  .inquiry-recipient {
    gap: 7px 10px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .inquiry-recipient > span {
    grid-column: 1 / -1;
  }

  .inquiry-actions {
    grid-template-columns: 1fr;
  }

  .inquiry-actions .button {
    width: 100%;
  }
}

@media (min-width: 1600px) {
  :root {
    --brand-max: 1840px;
    --header-height: 88px;
    --page-gutter: clamp(56px, 4vw, 92px);
    --section-y: clamp(124px, 9vw, 172px);
    --title-section: clamp(58px, 4.4vw, 84px);
    --text-base: 20px;
    --text-body: clamp(19px, 1.2vw, 23px);
    --text-small: 17px;
    --card-title: clamp(25px, 1.6vw, 31px);
  }

  .site-header {
    padding-bottom: 15px;
    padding-top: 15px;
  }

  .brand-icon {
    height: 46px;
    width: 46px;
  }

  .brand-main {
    font-size: 34px;
  }

  .nav-links a,
  .header-cta {
    font-size: 16px;
  }

  .eyebrow,
  .hero.demo-section .eyebrow {
    font-size: 14px;
  }

  .hero.demo-section .hero-grid {
    grid-template-columns: minmax(480px, 0.84fr) minmax(740px, 1.16fr);
  }

  .hero.demo-section h1 {
    font-size: clamp(76px, 5.2vw, 100px);
  }

  .hero.demo-section .hero-copy {
    font-size: clamp(19px, 1.15vw, 23px);
  }

  .button,
  .hero.demo-section .hero-actions .button {
    font-size: 16px;
    min-height: 58px;
    padding: 0 26px;
  }

  .hero-demo-card {
    height: clamp(620px, 70svh, 760px);
    padding: 22px;
  }

  .hero-demo-label > span,
  .hero-demo-label strong,
  .hero-demo-card .step-kicker {
    font-size: 12px;
  }

  .hero-demo-card .demo-copy p:not(.step-kicker) {
    font-size: 14px;
  }

  .hero-demo-card .step-track button {
    height: 40px;
  }

  .hero-demo-card .step-track button small,
  .hero-demo-card .flow-choice-button {
    font-size: 11px;
  }

  .hardware-features li {
    font-size: 16px;
  }

  .hardware-summary > span {
    font-size: 15px;
    padding-bottom: 30px;
    padding-top: 30px;
  }

  .hardware-summary strong {
    font-size: 17px;
  }

  .demo-start-kicker {
    font-size: 12px;
  }

  .demo-start-button {
    font-size: 18px;
    min-height: 64px;
    padding-right: 28px;
  }

  .demo-start-content small {
    font-size: 13px;
  }
}

@media (min-width: 2200px) {
  :root {
    --brand-max: 2240px;
    --header-height: 104px;
    --page-gutter: clamp(84px, 4.2vw, 140px);
    --section-y: clamp(164px, 8vw, 220px);
    --title-section: clamp(76px, 4.2vw, 104px);
    --text-base: 23px;
    --text-body: clamp(22px, 1.15vw, 28px);
    --text-small: 20px;
    --card-title: clamp(30px, 1.5vw, 38px);
  }

  .brand-icon {
    height: 54px;
    width: 54px;
  }

  .brand-main {
    font-size: 40px;
  }

  .brand-suffix {
    font-size: 12px;
  }

  .nav-links a,
  .header-cta {
    font-size: 19px;
  }

  .header-cta {
    min-height: 56px;
    padding: 0 27px;
  }

  .hero.demo-section .hero-grid {
    gap: clamp(72px, 5vw, 124px);
    grid-template-columns: minmax(620px, 0.78fr) minmax(980px, 1.22fr);
  }

  .hero.demo-section h1 {
    font-size: clamp(98px, 5vw, 124px);
  }

  .hero.demo-section .hero-copy {
    font-size: clamp(24px, 1.12vw, 29px);
    max-width: 820px;
  }

  .eyebrow,
  .hero.demo-section .eyebrow {
    font-size: 17px;
  }

  .button,
  .hero.demo-section .hero-actions .button {
    font-size: 20px;
    min-height: 68px;
    padding: 0 32px;
  }

  .hero-demo-card {
    border-radius: 30px;
    height: clamp(760px, 55svh, 980px);
    padding: 28px;
  }

  .hero-demo-card .demo-copy h2 {
    font-size: clamp(38px, 2vw, 50px);
  }

  .hero-demo-label > span,
  .hero-demo-label strong,
  .hero-demo-card .step-kicker {
    font-size: 15px;
  }

  .hero-demo-card .demo-copy p:not(.step-kicker) {
    font-size: 17px;
  }

  .hero-demo-card .step-track button {
    height: 50px;
  }

  .hero-demo-card .step-track button span {
    font-size: 11px;
    height: 24px;
    width: 24px;
  }

  .hero-demo-card .step-track button small,
  .hero-demo-card .flow-choice-button {
    font-size: 14px;
  }

  .brand-symbol--large {
    height: 62px;
    width: 62px;
  }

  .brand-symbol--large svg {
    height: 31px;
    width: 31px;
  }

  .architecture .brand-symbol {
    height: 52px;
    width: 52px;
  }

  .hardware-features li {
    font-size: 19px;
    gap: 14px;
  }

  .hardware-summary > span {
    font-size: 19px;
    padding-bottom: 38px;
    padding-top: 38px;
  }

  .hardware-summary strong {
    font-size: 22px;
  }

  .demo-start-kicker {
    font-size: 15px;
  }

  .demo-start-button {
    font-size: 23px;
    min-height: 76px;
    padding-left: 18px;
    padding-right: 34px;
  }

  .demo-start-button > span {
    height: 44px;
    width: 44px;
  }

  .demo-start-content small {
    font-size: 17px;
  }
}

@media (min-width: 3200px) {
  :root {
    --brand-max: 2880px;
    --header-height: 124px;
    --page-gutter: clamp(120px, 4vw, 190px);
    --section-y: clamp(210px, 7vw, 280px);
    --title-section: clamp(104px, 3.7vw, 132px);
    --text-base: 28px;
    --text-body: clamp(28px, 1vw, 34px);
    --text-small: 25px;
    --card-title: clamp(38px, 1.35vw, 48px);
  }

  .brand-icon {
    height: 66px;
    width: 66px;
  }

  .brand-main {
    font-size: 50px;
  }

  .nav-links a,
  .header-cta {
    font-size: 24px;
  }

  .header-cta {
    min-height: 68px;
    padding: 0 34px;
  }

  .hero.demo-section .hero-grid {
    gap: 150px;
    grid-template-columns: minmax(820px, 0.8fr) minmax(1280px, 1.2fr);
  }

  .hero.demo-section h1 {
    font-size: clamp(132px, 4.3vw, 164px);
  }

  .hero.demo-section .hero-copy {
    font-size: 32px;
    max-width: 1040px;
  }

  .eyebrow,
  .hero.demo-section .eyebrow {
    font-size: 21px;
  }

  .button,
  .hero.demo-section .hero-actions .button {
    font-size: 25px;
    min-height: 82px;
    padding: 0 40px;
  }

  .hero-demo-card {
    height: clamp(940px, 54svh, 1220px);
    padding: 34px;
  }

  .hero-demo-card .demo-copy h2 {
    font-size: 60px;
  }

  .hero-demo-label > span,
  .hero-demo-label strong,
  .hero-demo-card .step-kicker {
    font-size: 19px;
  }

  .hero-demo-card .demo-copy p:not(.step-kicker) {
    font-size: 22px;
  }

  .hero-demo-card .step-track button {
    height: 62px;
  }

  .hero-demo-card .step-track button small,
  .hero-demo-card .flow-choice-button {
    font-size: 18px;
  }

  .hardware-features li {
    font-size: 24px;
  }

  .hardware-summary > span {
    font-size: 24px;
    padding-bottom: 46px;
    padding-top: 46px;
  }

  .hardware-summary strong {
    font-size: 28px;
  }

  .demo-start-kicker {
    font-size: 19px;
  }

  .demo-start-button {
    font-size: 29px;
    min-height: 92px;
    padding-left: 22px;
    padding-right: 42px;
  }

  .demo-start-button > span {
    height: 54px;
    width: 54px;
  }

  .demo-start-button svg {
    height: 24px;
    width: 24px;
  }

  .demo-start-content small {
    font-size: 21px;
  }
}

@media (min-width: 1600px) and (min-aspect-ratio: 2 / 1) {
  :root {
    --brand-max: 2040px;
  }

  .hero.demo-section {
    padding-bottom: clamp(30px, 4svh, 54px);
    padding-top: clamp(30px, 4svh, 54px);
  }

  .hero-demo-card {
    height: clamp(560px, 72svh, 760px);
  }
}

@media (min-width: 721px) and (max-aspect-ratio: 4 / 5) {
  .hero.demo-section {
    min-height: auto;
  }

  .hero.demo-section .hero-grid {
    gap: clamp(64px, 7vw, 110px);
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero.demo-section .hero-content {
    max-width: 1080px;
  }

  .hero-demo-card {
    height: clamp(680px, 45svh, 940px);
    justify-self: center;
    max-width: 1400px;
    width: 100%;
  }

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

@media (min-width: 721px) and (max-height: 650px) and (orientation: landscape) {
  .hero.demo-section {
    min-height: auto;
    padding-bottom: 30px;
    padding-top: 30px;
  }

  .hero.demo-section .hero-grid {
    min-height: 0;
  }

  .hero.demo-section h1 {
    font-size: clamp(44px, 5vw, 66px);
  }

  .hero-demo-card {
    height: 510px;
    min-height: 480px;
  }
}

@media (max-width: 1180px) {
  :root {
    --page-gutter: 28px;
  }

  .hero.demo-section .hero-grid {
    gap: 34px;
    grid-template-columns: minmax(330px, 0.76fr) minmax(520px, 1.24fr);
  }

  .hero.demo-section h1 {
    font-size: clamp(48px, 5.2vw, 64px);
  }

}

@media (max-width: 980px) {
  .hero.demo-section {
    min-height: auto;
  }

  .hero.demo-section .hero-grid {
    gap: 46px;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero.demo-section .hero-content {
    max-width: 720px;
  }

  .hero-demo-card {
    height: auto;
    min-height: 600px;
    width: 100%;
  }

  .snapshot-grid,
  .architecture {
    grid-template-columns: 1fr;
  }

  .snapshot-grid article,
  .architecture article {
    border-bottom: 1px solid var(--brand-line);
    border-right: 0;
    padding: 34px 0;
  }

  .snapshot-grid article:last-child,
  .architecture article:last-child {
    border-bottom: 0;
  }

  .product-cycle .brand-symbol,
  .architecture .brand-symbol {
    margin-bottom: 26px;
  }

  .hardware-summary {
    grid-template-columns: 1fr;
  }

  .hardware-summary > span,
  .hardware-summary > span:first-child,
  .hardware-summary > span:last-child {
    border-bottom: 1px solid var(--brand-line);
    border-right: 0;
    padding: 22px 0;
  }

  .hardware-summary > span:last-child {
    border-bottom: 0;
  }

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

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
    --page-gutter: 16px;
    --page-x: 16px;
    --section-y: 78px;
    --title-section: clamp(36px, 11vw, 50px);
  }

  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-icon {
    height: 34px;
    width: 34px;
  }

  .brand-main {
    font-size: 23px;
  }

  .header-cta {
    min-height: 40px;
  }

  .hero.demo-section {
    padding: 38px 16px 64px;
  }

  .hero.demo-section h1 {
    font-size: clamp(43px, 13.2vw, 58px);
  }

  .hero.demo-section .hero-copy {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-loop {
    display: none;
  }

  .hero.demo-section .hero-actions {
    display: flex;
    margin-top: 26px;
  }

  .hero.demo-section .hero-actions .button.primary {
    width: auto;
  }

  .hero.demo-section .hero-actions .button.secondary,
  .hero-retrofit-note {
    display: none;
  }

  .hero-demo-card {
    border-radius: 18px;
    min-height: 0;
    padding: 12px;
  }

  .hero-demo-card .demo-copy {
    grid-template-columns: 1fr;
  }

  .hero-demo-card .demo-action-panel {
    align-items: center;
    border-left: 0;
    border-top: 1px solid var(--brand-line);
    display: grid;
    grid-template-columns: auto 1fr auto;
    padding: 10px 0 0;
  }

  .hero-demo-card .demo-lab {
    border-radius: 12px;
    min-height: 330px;
  }

  .demo-start-overlay {
    padding: 18px;
  }

  .demo-start-kicker {
    font-size: 9px;
    line-height: 1.4;
  }

  .demo-start-button {
    font-size: 14px;
    min-height: 52px;
  }

  .hero-demo-card .monitor-mockup {
    aspect-ratio: auto;
    height: auto;
    max-width: 100%;
    min-height: 300px;
    width: 100%;
  }

  .hero-demo-card .station-screen,
  .hero-demo-card .station-screen-stage {
    min-height: 300px;
  }

  .hero.demo-section[data-step="3"] .demo-lab,
  .hero.demo-section[data-step="4"] .demo-lab {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero.demo-section[data-step="3"] .monitor-mockup,
  .hero.demo-section[data-step="4"] .monitor-mockup,
  .hero.demo-section[data-step="3"] .physical-demo,
  .hero.demo-section[data-step="4"] .physical-demo {
    grid-column: 1;
  }

  .section-heading,
  .section-heading.compact {
    gap: 14px;
    margin-bottom: 38px;
  }

  .section-heading h2,
  .section-heading.compact h2,
  .contact h2 {
    line-height: 1;
  }

  .section-heading p:not(.eyebrow),
  .section-heading.compact p:not(.eyebrow),
  article p {
    font-size: 15px;
  }

  .timeline,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .timeline article,
  .impact-grid article {
    border-bottom: 1px solid var(--brand-line);
    border-right: 0;
    padding: 32px 0;
  }

  .timeline article:last-child,
  .impact-grid article:last-child {
    border-bottom: 0;
  }

  .timeline .step-number,
  .impact-grid .brand-symbol {
    margin-bottom: 26px;
  }

  .report-console {
    border-radius: 18px;
    min-height: 430px;
    padding: 20px;
  }

  .report-bars {
    margin-top: 34px;
  }

  .report-recommendation {
    grid-template-columns: 1fr;
  }

  .system-strip {
    grid-template-columns: 1fr;
  }

  .system-strip i {
    background: linear-gradient(var(--brand-green), rgba(88, 214, 155, 0.18));
    height: 18px;
    margin-left: 3px;
    width: 1px;
  }

  .contact {
    padding: 16px;
  }

  .contact-inner {
    border-radius: 22px;
    padding: 36px 24px;
  }

  .contact-actions {
    display: grid;
  }

  .pilot-panel {
    margin-top: 38px;
  }

  .pilot-panel span {
    border-bottom: 1px solid rgba(20, 32, 25, 0.16);
    border-right: 0;
    padding: 20px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-loop article:hover {
    transform: none;
  }
}

/* Manual PICK / PUT product story */
.story-carousel {
  --story-accent: var(--brand-green);
  --story-accent-rgb: 88, 214, 155;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.story-toolbar {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.story-flow-tabs {
  align-items: center;
  background: rgba(7, 12, 9, 0.68);
  border: 1px solid var(--brand-line);
  border-radius: 12px;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
}

.story-flow-tabs button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--brand-muted);
  cursor: pointer;
  display: inline-flex;
  font-size: clamp(10px, 0.72vw, 14px);
  font-weight: 700;
  gap: 7px;
  min-height: 34px;
  padding: 0 13px;
  transition: background 180ms ease, color 180ms ease;
}

.story-flow-tabs button > span {
  background: currentColor;
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.story-flow-tabs button[data-carousel-flow="pick"].is-active {
  background: rgba(88, 214, 155, 0.12);
  color: var(--brand-green);
}

.story-flow-tabs button[data-carousel-flow="put"].is-active {
  background: rgba(237, 93, 79, 0.12);
  color: #ff7567;
}

.story-status {
  color: rgba(247, 242, 230, 0.48);
  font-size: clamp(9px, 0.62vw, 12px);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-viewport {
  background:
    radial-gradient(circle at 78% 44%, rgba(var(--story-accent-rgb), 0.1), transparent 44%),
    linear-gradient(rgba(247, 242, 230, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 242, 230, 0.018) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  border: 0;
  border-radius: 0;
  display: grid;
  min-height: 0;
  overflow: hidden;
  padding: clamp(6px, 0.7vw, 12px);
  transition: background 240ms ease, border-color 240ms ease;
}

.story-viewport[data-active-flow="put"] {
  --story-accent: #ed5d4f;
  --story-accent-rgb: 237, 93, 79;
}

.story-slide {
  align-items: center;
  animation: story-slide-in 360ms var(--brand-ease) both;
  display: grid;
  gap: clamp(14px, 1.55vw, 26px);
  grid-area: 1 / 1;
  grid-template-columns: minmax(150px, 0.27fr) minmax(390px, 0.73fr);
  min-height: 0;
  width: 100%;
}

.story-slide[hidden] {
  display: none !important;
}

.story-slide[data-flow="put"] {
  --story-accent: #ed5d4f;
  --story-accent-rgb: 237, 93, 79;
}

.story-copy {
  align-content: center;
  display: grid;
  gap: 7px;
  min-width: 0;
}

.story-copy > span {
  color: var(--story-accent);
  font-size: clamp(9px, 0.65vw, 13px);
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.story-copy h2 {
  color: var(--brand-ink);
  font-size: clamp(25px, 2vw, 39px);
  font-weight: 640;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0;
}

.story-copy p {
  color: var(--brand-muted);
  font-size: clamp(12px, 0.84vw, 16px);
  line-height: 1.5;
  margin: 0;
  max-width: 32ch;
}

.story-frame {
  align-items: center;
  aspect-ratio: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  height: 100%;
  justify-content: center;
  max-height: 100%;
  min-height: 250px;
  overflow: visible;
  padding: clamp(4px, 0.4vw, 8px) clamp(2px, 0.3vw, 6px) clamp(18px, 1.25vw, 24px);
  position: relative;
  width: 100%;
}

.story-frame::before {
  display: none;
}

.story-frame-note {
  bottom: 0;
  color: rgba(247, 242, 230, 0.44);
  font-size: clamp(8px, 0.6vw, 12px);
  font-weight: 650;
  left: clamp(4px, 0.4vw, 8px);
  letter-spacing: 0.08em;
  position: absolute;
  text-transform: uppercase;
}

.story-app {
  background: rgba(9, 14, 11, 0.94);
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: clamp(9px, 0.9vw, 15px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 88%;
  max-height: 380px;
  max-width: 720px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.story-app-bar {
  align-items: center;
  background: rgba(247, 242, 230, 0.04);
  border-bottom: 1px solid rgba(247, 242, 230, 0.09);
  display: flex;
  justify-content: space-between;
  min-height: clamp(40px, 3vw, 56px);
  padding: 0 clamp(15px, 1.4vw, 25px);
}

.story-app-bar b {
  color: var(--brand-ink);
  font-size: clamp(12px, 0.95vw, 18px);
  font-weight: 720;
}

.story-app-bar span {
  color: var(--story-accent);
  font-size: clamp(9px, 0.7vw, 14px);
  font-weight: 720;
  letter-spacing: 0.08em;
}

.story-app-body {
  display: grid;
  align-content: center;
  gap: clamp(9px, 0.78vw, 14px);
  grid-template-columns: 1fr 0.72fr;
  padding: clamp(16px, 1.55vw, 28px);
}

.story-app-body > small {
  color: rgba(247, 242, 230, 0.38);
  font-size: clamp(8px, 0.62vw, 12px);
  grid-column: 1 / -1;
  letter-spacing: 0.1em;
}

.story-field {
  background: rgba(247, 242, 230, 0.035);
  border: 1px solid rgba(247, 242, 230, 0.09);
  border-radius: clamp(6px, 0.6vw, 10px);
  display: grid;
  gap: 2px;
  padding: clamp(10px, 0.9vw, 16px);
}

.story-field span {
  color: rgba(247, 242, 230, 0.4);
  font-size: clamp(8px, 0.62vw, 12px);
}

.story-field strong {
  color: var(--brand-ink);
  font-size: clamp(13px, 1vw, 20px);
  font-weight: 640;
}

.story-primary-action {
  align-items: center;
  background: var(--story-accent);
  border-radius: clamp(6px, 0.6vw, 10px);
  color: #08110c;
  display: flex;
  font-size: clamp(11px, 0.82vw, 16px);
  font-weight: 760;
  grid-column: 1 / -1;
  justify-content: space-between;
  min-height: clamp(40px, 3.2vw, 56px);
  padding: 0 clamp(13px, 1.15vw, 21px);
}

.story-plan {
  display: grid;
  gap: clamp(8px, 0.8vw, 14px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(16px, 1.5vw, 28px) clamp(16px, 1.5vw, 28px) 10px;
}

.story-plan > div {
  align-items: center;
  background: rgba(var(--story-accent-rgb), 0.09);
  border: 1px solid rgba(var(--story-accent-rgb), 0.27);
  border-radius: clamp(8px, 0.75vw, 12px);
  display: grid;
  grid-template-columns: 1fr auto;
  padding: clamp(11px, 1vw, 18px);
}

.story-plan span,
.story-plan small {
  color: var(--story-accent);
  font-size: clamp(9px, 0.7vw, 14px);
  font-style: normal;
  font-weight: 720;
}

.story-plan strong {
  color: var(--brand-ink);
  font-size: clamp(22px, 1.8vw, 36px);
  grid-row: 1 / 3;
}

.story-plan small {
  opacity: 0.68;
}

.story-route {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(22px, 1fr) auto 2fr;
  padding: 4px clamp(16px, 1.5vw, 28px) clamp(14px, 1.15vw, 22px);
}

.story-route span {
  align-items: center;
  background: var(--story-accent);
  border-radius: 50%;
  color: #07110b;
  display: inline-flex;
  font-size: clamp(9px, 0.68vw, 13px);
  font-weight: 800;
  height: clamp(25px, 1.9vw, 36px);
  justify-content: center;
  width: clamp(25px, 1.9vw, 36px);
}

.story-route i {
  background: linear-gradient(90deg, var(--story-accent), rgba(var(--story-accent-rgb), 0.18));
  height: 1px;
}

.story-route em {
  color: var(--brand-muted);
  font-size: clamp(9px, 0.68vw, 13px);
  font-style: normal;
  justify-self: end;
}

.story-frame--rack {
  align-content: stretch;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: clamp(2px, 0.25vw, 5px) clamp(3px, 0.35vw, 7px) clamp(19px, 1.3vw, 25px);
}

.story-rack-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto clamp(7px, 0.62vw, 12px);
  max-width: 100%;
  width: 100%;
}

.story-rack-heading b {
  color: var(--brand-ink);
  display: flex;
  font-size: clamp(12px, 0.92vw, 18px);
  gap: clamp(7px, 0.55vw, 11px);
  letter-spacing: 0.03em;
}

.story-rack-heading b small {
  align-items: center;
  color: rgba(247, 242, 230, 0.4);
  display: inline-flex;
  font-size: 0.58em;
  font-weight: 680;
  letter-spacing: 0.1em;
}

.story-rack-heading span {
  background: rgba(var(--story-accent-rgb), 0.1);
  border: 1px solid rgba(var(--story-accent-rgb), 0.25);
  border-radius: 999px;
  color: var(--story-accent);
  font-size: clamp(9px, 0.68vw, 13px);
  font-weight: 720;
  padding: clamp(4px, 0.38vw, 7px) clamp(7px, 0.72vw, 13px);
}

.story-rack-shell {
  align-self: stretch;
  background: rgba(5, 9, 7, 0.7);
  border-left: clamp(6px, 0.58vw, 11px) solid #46534c;
  border-right: clamp(6px, 0.58vw, 11px) solid #46534c;
  border-top: clamp(5px, 0.46vw, 9px) solid #526057;
  box-shadow:
    0 17px 26px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(247, 242, 230, 0.04);
  display: grid;
  margin: 0 auto clamp(5px, 0.5vw, 10px);
  max-width: 100%;
  min-height: 0;
  position: relative;
  width: 100%;
}

.story-rack-shell::before,
.story-rack-shell::after {
  background: #526057;
  bottom: clamp(-9px, -0.48vw, -5px);
  content: "";
  height: clamp(7px, 0.52vw, 10px);
  position: absolute;
  width: clamp(18px, 1.55vw, 30px);
}

.story-rack-shell::before {
  left: clamp(-9px, -0.5vw, -5px);
}

.story-rack-shell::after {
  right: clamp(-9px, -0.5vw, -5px);
}

.story-rack-grid {
  --rack-panel-height: clamp(27px, 2.15vw, 42px);
  --rack-panel-offset: clamp(4px, 0.4vw, 8px);
  --rack-shelf-position: calc(var(--rack-panel-height) + clamp(8px, 0.62vw, 12px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: 0;
  width: 100%;
}

.story-rack-grid > span {
  background:
    linear-gradient(180deg, rgba(247, 242, 230, 0.045), transparent 44%),
    #0e1511;
  border-right: clamp(4px, 0.36vw, 7px) solid #46534c;
  min-height: 0;
  overflow: visible;
  position: relative;
}

.story-rack-grid > span:nth-child(3n) {
  border-right: 0;
}

.story-rack-grid > span::before {
  background: linear-gradient(90deg, #928260, #625942 52%, #8c7c5a);
  bottom: var(--rack-shelf-position);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.48);
  content: "";
  height: clamp(3px, 0.28vw, 6px);
  inset-inline: 0;
  position: absolute;
  z-index: 3;
}

.story-rack-grid i {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(247, 242, 230, 0.28);
  font-size: clamp(6px, 0.48vw, 9px);
  font-weight: 680;
  font-style: normal;
  left: clamp(5px, 0.44vw, 8px);
  letter-spacing: 0.11em;
  padding: 0;
  position: absolute;
  top: clamp(2px, 0.2vw, 4px);
  z-index: 4;
}

.story-cartons {
  align-items: flex-end;
  bottom: calc(var(--rack-shelf-position) + clamp(7px, 0.55vw, 11px));
  display: flex;
  gap: clamp(2px, 0.28vw, 5px);
  height: 48%;
  justify-content: center;
  left: 8%;
  position: absolute;
  right: 8%;
  z-index: 2;
}

.story-cartons b {
  background:
    linear-gradient(90deg, transparent 47%, rgba(247, 242, 230, 0.16) 47%, rgba(247, 242, 230, 0.16) 53%, transparent 53%),
    linear-gradient(145deg, #9b855f, #66563d);
  border: 1px solid rgba(247, 242, 230, 0.18);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  display: block;
  height: 82%;
  position: relative;
  width: 28%;
}

.story-cartons b::after {
  background: rgba(247, 242, 230, 0.16);
  border-radius: 999px;
  content: "";
  height: 3px;
  left: 18%;
  position: absolute;
  right: 18%;
  top: 18%;
}

.story-cartons b:nth-child(2) {
  height: 100%;
}

.story-cartons b:nth-child(3) {
  height: 72%;
}

.story-cartons--two b {
  width: 36%;
}

.story-rack-grid > span > strong {
  align-items: center;
  background: linear-gradient(180deg, #080d0a, #030504);
  border: clamp(1px, 0.1vw, 2px) solid rgba(247, 242, 230, 0.14);
  border-radius: clamp(4px, 0.38vw, 7px);
  bottom: var(--rack-panel-offset);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.72);
  color: rgba(247, 242, 230, 0.18);
  display: flex;
  gap: clamp(3px, 0.28vw, 5px);
  height: var(--rack-panel-height);
  justify-content: center;
  left: 50%;
  min-width: clamp(58px, 4.7vw, 90px);
  padding: 0 clamp(6px, 0.58vw, 11px);
  position: absolute;
  transform: translateX(-50%);
  z-index: 6;
}

.story-rack-grid > span > strong small {
  font-size: clamp(7px, 0.52vw, 10px);
  font-weight: 760;
  letter-spacing: 0.08em;
}

.story-rack-grid > span > strong b {
  font-size: clamp(15px, 1.22vw, 24px);
  line-height: 1;
}

.story-rack-grid > span.is-lit {
  background:
    linear-gradient(180deg, rgba(247, 242, 230, 0.045), transparent 44%),
    #0e1511;
  box-shadow: none;
}

.story-rack-grid > span.is-lit i {
  color: rgba(247, 242, 230, 0.28);
  font-weight: 680;
}

.story-rack-grid > span.is-lit > strong {
  background:
    radial-gradient(circle at 50% 40%, rgba(var(--story-accent-rgb), 0.17), transparent 68%),
    #07100c;
  border-color: var(--story-accent);
  box-shadow:
    0 0 20px rgba(var(--story-accent-rgb), 0.55),
    inset 0 0 13px rgba(var(--story-accent-rgb), 0.16);
  color: var(--story-accent);
  text-shadow: 0 0 8px rgba(var(--story-accent-rgb), 0.42);
}

.story-frame--result {
  align-items: stretch;
  display: grid;
  gap: clamp(11px, 1.1vw, 20px);
  grid-template-columns: 0.82fr 1.18fr;
  padding: clamp(3px, 0.3vw, 6px) clamp(2px, 0.25vw, 5px) clamp(20px, 1.35vw, 26px);
}

.story-result-card,
.story-insight-card {
  background: rgba(8, 13, 10, 0.88);
  border: 1px solid rgba(247, 242, 230, 0.11);
  border-radius: clamp(9px, 0.8vw, 14px);
  display: grid;
  min-height: 0;
  padding: clamp(15px, 1.3vw, 24px);
}

.story-result-card {
  align-content: center;
  justify-items: center;
  text-align: center;
}

.story-check {
  align-items: center;
  background: var(--story-accent);
  border-radius: 50%;
  color: #07110b;
  display: inline-flex;
  font-size: clamp(14px, 1.05vw, 20px);
  height: clamp(34px, 2.7vw, 50px);
  justify-content: center;
  margin-bottom: 5px;
  width: clamp(34px, 2.7vw, 50px);
}

.story-result-card small,
.story-insight-card > span {
  color: var(--story-accent);
  font-size: clamp(8px, 0.62vw, 12px);
  font-weight: 760;
  letter-spacing: 0.09em;
}

.story-result-card strong,
.story-insight-card strong {
  color: var(--brand-ink);
  font-size: clamp(14px, 1.05vw, 21px);
  margin-top: 4px;
}

.story-result-card p,
.story-insight-card small {
  color: var(--brand-muted);
  font-size: clamp(10px, 0.72vw, 14px);
  line-height: 1.35;
  margin: 3px 0 0;
}

.story-insight-card {
  align-content: center;
  gap: 4px;
}

.story-insight-card i {
  background: rgba(247, 242, 230, 0.07);
  border-radius: 999px;
  display: block;
  height: clamp(7px, 0.55vw, 11px);
  margin: clamp(7px, 0.65vw, 12px) 0;
  overflow: hidden;
}

.story-insight-card i b {
  background: var(--story-accent);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: var(--bar);
}

.story-controls {
  align-items: center;
  display: grid;
  grid-template-columns: clamp(44px, 3.1vw, 56px) 1fr clamp(44px, 3.1vw, 56px);
  width: 100%;
}

.story-controls > button {
  align-items: center;
  background: rgba(247, 242, 230, 0.035);
  border: 1px solid var(--brand-line);
  border-radius: 50%;
  color: var(--brand-ink);
  cursor: pointer;
  display: grid;
  height: clamp(44px, 3.1vw, 56px);
  justify-self: start;
  padding: 0;
  place-items: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms var(--brand-ease);
  width: clamp(44px, 3.1vw, 56px);
}

.story-controls > button:last-child {
  justify-self: end;
}

.story-controls > button:not(:disabled):hover {
  background: rgba(var(--story-accent-rgb), 0.12);
  border-color: rgba(var(--story-accent-rgb), 0.5);
  color: var(--story-accent);
  transform: translateY(-2px);
}

.story-controls > button:disabled {
  cursor: default;
  opacity: 0.22;
}

.story-controls svg {
  fill: none;
  height: clamp(18px, 1.4vw, 24px);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: clamp(18px, 1.4vw, 24px);
}

.story-progress {
  align-items: center;
  display: flex;
  gap: 6px;
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
}

.story-progress button {
  background: rgba(247, 242, 230, 0.16);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 6px;
  padding: 0;
  transition: background 180ms ease, width 240ms var(--brand-ease);
  width: 16px;
}

.story-progress button.is-active {
  background: var(--story-accent);
  width: 34px;
}

@keyframes story-slide-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 2200px) {
  .story-flow-tabs {
    border-radius: 16px;
    padding: 6px;
  }

  .story-flow-tabs button {
    font-size: 17px;
    min-height: 46px;
    padding: 0 18px;
  }

  .story-status {
    font-size: 15px;
  }

  .story-copy > span {
    font-size: 16px;
  }

  .story-copy h2 {
    font-size: 48px;
  }

  .story-copy p {
    font-size: 20px;
  }

  .story-app {
    max-height: 480px;
    max-width: 920px;
  }

  .story-frame-note {
    font-size: 15px;
  }

  .story-controls > button {
    height: 68px;
    width: 68px;
  }

  .story-rack-heading b {
    font-size: 21px;
  }

  .story-rack-heading span {
    font-size: 15px;
    padding: 9px 16px;
  }

  .story-rack-shell {
    border-left-width: 13px;
    border-right-width: 13px;
    border-top-width: 11px;
  }

  .story-rack-grid {
    --rack-panel-height: 47px;
    --rack-panel-offset: 8px;
    --rack-shelf-position: 61px;
  }

  .story-rack-grid > span {
    border-right-width: 9px;
  }

  .story-rack-grid i {
    font-size: 11px;
  }

  .story-rack-grid > span > strong {
    min-width: 110px;
    padding: 0 14px;
  }

  .story-rack-grid > span > strong small {
    font-size: 11px;
  }

  .story-rack-grid > span > strong b {
    font-size: 27px;
  }

  .story-progress button {
    height: 8px;
    width: 22px;
  }

  .story-progress button.is-active {
    width: 46px;
  }
}

@media (max-width: 980px) {
  .story-carousel.hero-demo-card {
    height: auto;
    min-height: 640px;
  }

  .story-viewport {
    min-height: 410px;
  }
}

@media (max-width: 720px) {
  .story-carousel.hero-demo-card {
    gap: 12px;
    min-height: 0;
  }

  .story-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .story-flow-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .story-flow-tabs button {
    justify-content: center;
  }

  .story-status {
    text-align: center;
  }

  .story-viewport {
    min-height: 0;
    padding: 4px 0;
  }

  .story-slide {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .story-copy {
    gap: 5px;
    min-height: 0;
  }

  .story-copy h2 {
    font-size: clamp(23px, 6.8vw, 29px);
  }

  .story-copy p {
    font-size: 12px;
    max-width: 40ch;
  }

  .story-frame {
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
    padding-bottom: 19px;
  }

  .story-frame--rack {
    aspect-ratio: 4 / 3;
    padding: 3px 2px 20px;
  }

  .story-frame--result {
    aspect-ratio: 4 / 3;
  }

  .story-rack-heading {
    max-width: 100%;
  }

  .story-rack-heading b {
    font-size: 11px;
  }

  .story-rack-heading span {
    font-size: 7px;
  }

  .story-rack-shell {
    max-width: 100%;
  }

  .story-rack-grid {
    --rack-panel-height: 25px;
    --rack-panel-offset: 3px;
    --rack-shelf-position: 34px;
  }

  .story-rack-grid i {
    font-size: 6px;
  }

  .story-rack-grid > span > strong {
    min-width: 52px;
  }

  .story-rack-grid > span > strong b {
    font-size: 14px;
  }

  .story-controls {
    grid-template-columns: 46px 1fr 46px;
  }

  .story-controls > button {
    height: 46px;
    width: 46px;
  }

  .story-progress {
    gap: 4px;
  }

  .story-progress button {
    width: 9px;
  }

  .story-progress button.is-active {
    width: 19px;
  }
}

@media (max-width: 420px) {
  .story-controls {
    grid-template-columns: 42px 1fr 42px;
  }

  .story-controls > button {
    height: 42px;
    width: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-slide {
    animation: none;
  }
}

.site-toast {
  align-items: center;
  background:
    radial-gradient(circle at 8% 20%, rgba(88, 214, 155, 0.15), transparent 42%),
    rgba(19, 27, 22, 0.96);
  border: 1px solid rgba(88, 214, 155, 0.25);
  border-radius: 18px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.36);
  color: var(--brand-ink);
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  max-width: min(390px, calc(100vw - 32px));
  opacity: 0;
  padding: 14px 18px 14px 14px;
  pointer-events: none;
  position: fixed;
  right: max(16px, var(--page-gutter));
  top: calc(var(--header-height) + 16px);
  transform: translateY(-12px) scale(0.98);
  transition: opacity 240ms ease, transform 320ms var(--brand-ease);
  width: max-content;
  z-index: 1200;
  backdrop-filter: blur(18px) saturate(125%);
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-toast-icon {
  align-items: center;
  background: var(--brand-green);
  border-radius: 50%;
  color: #07110b;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.site-toast-icon svg {
  fill: none;
  height: 19px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 19px;
}

.site-toast-copy {
  display: grid;
  gap: 3px;
}

.site-toast-copy strong {
  font-size: 14px;
  font-weight: 720;
  line-height: 1.2;
}

.site-toast-copy small {
  color: var(--brand-muted);
  font-size: 12px;
  line-height: 1.35;
}

@media (min-width: 2200px) {
  .site-toast {
    border-radius: 24px;
    gap: 16px;
    max-width: 520px;
    padding: 19px 24px 19px 19px;
    top: calc(var(--header-height) + 24px);
  }

  .site-toast-icon {
    height: 48px;
    width: 48px;
  }

  .site-toast-copy strong {
    font-size: 18px;
  }

  .site-toast-copy small {
    font-size: 15px;
  }
}

@media (max-width: 720px) {
  .site-toast {
    left: 12px;
    max-width: none;
    right: 12px;
    top: calc(var(--header-height) + 8px);
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-toast {
    transition: none;
  }
}
