:root {
  color-scheme: dark;
  --ink: #070d16;
  --ink-soft: #0d1726;
  --factory: #16243a;
  --factory-raised: #25344b;
  --steel: #8fa3bf;
  --steel-bright: #c9d5e7;
  --paper: #f2eee6;
  --muted: #8898ae;
  --signal: #d64a46;
  --signal-dark: #8d2928;
  --line: rgba(201, 213, 231, 0.18);
  --line-strong: rgba(201, 213, 231, 0.36);
  --header-height: 72px;
  --display: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --wordmark-font: "Chakra Petch", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
}

body.story-locked {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:where(a, button):focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

::selection {
  background: var(--signal);
  color: var(--paper);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-160%);
  border: 1px solid var(--line-strong);
  padding: 10px 14px;
  background: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.landing-loader {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-content: center;
  justify-items: center;
  pointer-events: none;
  background: var(--ink);
  opacity: 1;
  transition:
    opacity 320ms ease,
    visibility 320ms ease;
}

body.landing-ready .landing-loader {
  visibility: hidden;
  opacity: 0;
}

.loader-mark {
  display: flex;
  align-items: baseline;
  color: var(--paper);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.loader-mark span:first-child {
  color: var(--signal);
}

.loader-rule {
  width: 260px;
  height: 2px;
  margin-top: 24px;
  overflow: hidden;
  background: rgba(201, 213, 231, 0.12);
}

.loader-rule span {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--signal);
  animation: loader-line 760ms ease-in-out infinite;
}

.landing-loader p {
  margin: 15px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

@keyframes loader-line {
  from {
    transform: translateX(-110%);
  }

  to {
    transform: translateX(350%);
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(201, 213, 231, 0.1);
  padding: 0 32px;
  background: rgba(7, 13, 22, 0.82);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  font-family: var(--wordmark-font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 4px;
  line-height: 1;
  text-transform: uppercase;
}

.wordmark-mark {
  width: 13px;
  height: 13px;
  background: var(--signal);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%);
  box-shadow: 0 0 16px rgba(214, 74, 70, 0.36);
}

.public-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.header-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.71rem;
  white-space: nowrap;
}

.header-link:hover,
.header-link:focus-visible {
  color: var(--paper);
}

.header-demo {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 99px;
  padding: 0 24px;
  background: linear-gradient(115deg, #eaf2fa 0%, #dde9f4 55%, #eed9dd 135%);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
  color: #0b1b2e;
  font-size: 0.84375rem;
  font-weight: 600;
  transition:
    background 140ms ease,
    transform 140ms ease;
}

.header-demo:hover,
.header-demo:focus-visible {
  background: #ffffff;
  transform: translateY(-1px);
}

.story {
  position: relative;
  min-height: 700svh;
  background: var(--ink);
}

.story-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
}

.story-canvas,
.story-shade,
.factory-doors {
  position: absolute;
  inset: 0;
}

.story-canvas {
  z-index: 0;
  background: #0e1828;
}

.story-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.story-shade {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(7, 13, 22, 0.96) 0%,
      rgba(7, 13, 22, 0.84) 25%,
      rgba(7, 13, 22, 0.32) 47%,
      rgba(7, 13, 22, 0.04) 69%
    ),
    linear-gradient(0deg, rgba(7, 13, 22, 0.58), transparent 26%);
}

.factory-doors {
  z-index: 70;
  display: flex;
  overflow: hidden;
  pointer-events: none;
}

.factory-door {
  position: relative;
  display: flex;
  width: 50%;
  align-items: center;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent),
    var(--signal-dark);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.32);
  transition: transform 1.45s cubic-bezier(0.76, 0, 0.24, 1);
}

.factory-door::before,
.factory-door::after {
  position: absolute;
  right: 28px;
  left: 28px;
  height: 4px;
  background: rgba(74, 15, 17, 0.58);
  content: "";
}

.factory-door::before {
  top: 16%;
}

.factory-door::after {
  bottom: 16%;
}

.factory-door-left {
  justify-content: flex-end;
  border-right: 4px solid #54191a;
  padding-right: 4px;
}

.factory-door-right {
  justify-content: flex-start;
  border-left: 4px solid #54191a;
  padding-left: 4px;
}

.factory-door-left > span,
.factory-door-right > span {
  position: absolute;
  top: calc(50% + 76px);
  color: rgba(242, 238, 230, 0.66);
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.factory-door-left > span {
  right: 8px;
}

.factory-door-right > span {
  left: 8px;
}

.door-word {
  color: var(--paper);
  font-family: var(--wordmark-font);
  font-size: 7.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.door-word-left {
  margin-right: -4px;
}

.factory-doors.is-open .factory-door-left {
  transform: translateX(-102%);
}

.factory-doors.is-open .factory-door-right {
  transform: translateX(102%);
}

.factory-doors.is-gone {
  display: none;
}

.story-meta {
  position: absolute;
  top: calc(var(--header-height) + 24px);
  right: 32px;
  left: 32px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  color: rgba(143, 163, 191, 0.62);
  font-family: var(--mono);
  font-size: 0.65rem;
  pointer-events: none;
  text-transform: uppercase;
}

.story-panels {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.story-panel {
  position: absolute;
  top: 50%;
  left: 7vw;
  width: min(38vw, 490px);
  opacity: 0;
  transform: translateY(calc(-50% + 36px));
  will-change: opacity, transform;
}

.story-panel::before {
  position: absolute;
  top: -18px;
  bottom: -18px;
  left: -28px;
  width: 3px;
  background: var(--signal);
  box-shadow: 0 0 22px rgba(214, 74, 70, 0.42);
  content: "";
}

.story-kicker,
.story-index,
.story-note {
  display: block;
  color: var(--signal);
  font-family: var(--mono);
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
}

.story-kicker,
.story-note {
  font-size: 0.7rem;
}

.story-index {
  font-size: 0.95rem;
  line-height: 1.35;
}

.story-panel h1,
.story-panel h2 {
  max-width: 100%;
  margin: 15px 0 0;
  color: var(--paper);
  font-size: 3.15rem;
  font-weight: 800;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.story-panel h1 {
  font-size: 6.4rem;
  text-transform: uppercase;
}

.story-panel p {
  max-width: 43ch;
  margin: 18px 0 0;
  color: var(--steel-bright);
  font-family: var(--mono);
  font-size: 0.87rem;
  line-height: 1.72;
}

.story-panel-intro p {
  max-width: 26ch;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.4;
}

.story-note {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  color: var(--muted);
  font-size: 0.63rem;
}

.story-proof {
  position: relative;
  height: 188px;
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid rgba(201, 213, 231, 0.3);
  border-radius: 3px;
  background: rgba(9, 16, 27, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 44px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 240ms ease 100ms,
    transform 300ms ease 100ms;
}

.story-proof::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 2px;
  background: var(--signal);
  content: "";
}

.story-panel[aria-hidden="false"] .story-proof {
  opacity: 1;
  transform: translateY(0);
}

.proof-shell {
  height: 100%;
  color: var(--steel-bright);
  font-family: var(--mono);
}

.proof-toolbar {
  display: flex;
  min-height: 31px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.52rem;
  text-transform: uppercase;
}

.proof-toolbar strong {
  color: var(--paper);
  font-size: inherit;
  font-weight: 600;
}

.proof-need {
  display: grid;
  min-height: 58px;
  align-content: center;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  padding: 7px 12px;
}

.proof-need > span,
.proof-need small {
  color: var(--muted);
  font-size: 0.48rem;
  text-transform: uppercase;
}

.proof-need strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
}

.proof-paths,
.proof-matches {
  display: grid;
  height: calc(100% - 89px);
}

.proof-path {
  display: grid;
  min-height: 0;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(201, 213, 231, 0.1);
  padding: 0 12px;
  grid-template-columns: 18px minmax(0, 1fr) auto;
}

.proof-path:last-child {
  border-bottom: 0;
}

.proof-path > span,
.proof-path em {
  color: var(--muted);
  font-size: 0.5rem;
  font-style: normal;
}

.proof-path strong {
  overflow: hidden;
  color: var(--steel-bright);
  font-size: 0.57rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proof-path.is-selected {
  background: rgba(214, 74, 70, 0.12);
}

.proof-path.is-selected > span,
.proof-path.is-selected em {
  color: #f17e78;
}

.proof-path.is-selected strong {
  color: var(--paper);
}

.proof-matches {
  height: calc(100% - 69px);
}

.proof-match {
  display: grid;
  min-height: 0;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(201, 213, 231, 0.1);
  padding: 4px 12px;
  grid-template-columns: 25px minmax(0, 1fr) auto;
}

.proof-match img {
  width: 25px;
  height: 25px;
  border: 1px solid rgba(201, 213, 231, 0.16);
  border-radius: 2px;
  background: #f5f6f8;
  object-fit: contain;
}

.proof-match > span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.proof-match strong,
.proof-match small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proof-match strong {
  color: var(--paper);
  font-size: 0.56rem;
  font-weight: 600;
}

.proof-match small {
  color: var(--muted);
  font-size: 0.48rem;
}

.proof-match em {
  color: #a8c9f5;
  font-size: 0.55rem;
  font-style: normal;
}

.proof-outreach {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
}

.proof-channel {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 0 7px;
  color: var(--muted);
  font-size: 0.48rem;
}

.proof-channel.is-on {
  border-color: rgba(214, 74, 70, 0.58);
  background: rgba(214, 74, 70, 0.12);
  color: var(--paper);
}

.proof-channel.is-on::before {
  margin-right: 4px;
  color: #f17e78;
  content: "✓";
}

.proof-outreach > strong {
  margin-left: auto;
  color: #c9e9d6;
  font-size: 0.51rem;
  font-weight: 600;
}

.story-proof-deploy .proof-shell {
  display: grid;
  grid-template-columns: 44% 56%;
  grid-template-rows: minmax(0, 1fr) 51px;
}

.proof-pinch {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid #d9dcee;
  padding: 16px;
  background: #f0f2fe;
  color: #021047;
  grid-row: 1 / 3;
}

.proof-pinch > span,
.proof-pinch > small {
  font-size: 0.48rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.proof-pinch img {
  display: block;
  width: min(132px, 100%);
  height: auto;
}

.proof-commitment {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
}

.proof-commitment > span {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.proof-commitment small {
  color: var(--muted);
  font-size: 0.48rem;
  font-weight: 500;
  text-transform: uppercase;
}

.proof-commitment > span > strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.67rem;
  line-height: 1.25;
}

.proof-commitment > strong {
  color: var(--paper);
  font-size: 0.8rem;
  white-space: nowrap;
}

.proof-commitment > strong small {
  margin-left: 2px;
  color: var(--muted);
  font-size: 0.44rem;
}

.proof-secured {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid rgba(214, 38, 84, 0.28);
  padding: 9px 14px;
  background: rgba(214, 38, 84, 0.12);
}

.proof-secured > span:first-child {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #d62654;
  color: #fff;
  font-size: 0.7rem;
}

.proof-secured > span:last-child {
  display: grid;
  gap: 2px;
}

.proof-secured strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.65rem;
}

.proof-secured small {
  color: #d4b2c2;
  font-size: 0.47rem;
}

.story-panel-outcome {
  text-align: left;
}

.story-rail {
  position: absolute;
  top: 50%;
  right: 3vw;
  z-index: 20;
  display: grid;
  width: 146px;
  height: 405px;
  transform: translateY(-50%);
  grid-template-rows: repeat(3, 1fr);
}

.story-rail-track {
  position: absolute;
  top: 24px;
  right: 0;
  bottom: 24px;
  width: 2px;
  overflow: hidden;
  background: rgba(143, 163, 191, 0.28);
  box-shadow: 0 0 14px rgba(143, 197, 232, 0.16);
}

.story-rail-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
  background: var(--signal);
}

.story-rail-step {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 64px;
  align-content: center;
  justify-items: end;
  gap: 4px;
  border: 0;
  padding: 0 24px 0 0;
  background: transparent;
  color: rgba(143, 163, 191, 0.58);
  cursor: pointer;
  text-align: right;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.story-rail-step::after {
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border: 1px solid rgba(143, 163, 191, 0.55);
  border-radius: 50%;
  background: var(--ink-soft);
  content: "";
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.story-rail-step span {
  font-family: var(--mono);
  font-size: 0.78rem;
}

.story-rail-step strong {
  font-family: var(--mono);
  font-size: 0.9rem;
}

.story-rail-step:hover,
.story-rail-step:focus-visible,
.story-rail-step.is-active {
  color: var(--paper);
  transform: translateX(-3px);
}

.story-rail-step:focus-visible {
  outline: 0;
}

.story-rail-step:focus-visible strong {
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.story-rail-step.is-complete {
  color: rgba(201, 213, 231, 0.72);
}

.story-rail-step.is-active::after {
  border-color: var(--signal);
  background: var(--signal);
  box-shadow: 0 0 16px rgba(214, 74, 70, 0.66);
}

.story-rail-step.is-complete::after {
  border-color: #754043;
  background: #754043;
}

.story-scroll-hint,
.story-fallback {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 8;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(143, 163, 191, 0.66);
  font-family: var(--mono);
  font-size: 0.65rem;
  pointer-events: none;
  text-transform: uppercase;
}

.story-scroll-hint::after {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-4px);
}

.story-fallback {
  display: none;
  width: min(480px, calc(100% - 40px));
  color: var(--steel-bright);
  text-align: center;
}

.story[data-story-state="animated"] .story-fallback {
  display: none;
}

.story[data-story-state="fallback"] {
  min-height: auto;
}

.story[data-story-state="fallback"] .story-stage,
.story[data-story-state="static"] .story-stage {
  height: auto;
  min-height: 100svh;
  padding: calc(var(--header-height) + 80px) 7vw 80px;
  background:
    linear-gradient(90deg, rgba(7, 13, 22, 0.96), rgba(13, 23, 38, 0.88)),
    #0e1828;
}

.story[data-story-state="fallback"] .story-canvas,
.story[data-story-state="static"] .story-canvas,
.story[data-story-state="fallback"] .factory-doors,
.story[data-story-state="static"] .factory-doors,
.story[data-story-state="fallback"] .story-shade,
.story[data-story-state="static"] .story-shade,
.story[data-story-state="fallback"] .story-scroll-hint,
.story[data-story-state="static"] .story-scroll-hint {
  display: none;
}

.story[data-story-state="fallback"] .story-panels,
.story[data-story-state="static"] .story-panels {
  position: relative;
  inset: auto;
  display: grid;
  max-width: 760px;
  gap: 70px;
}

.story[data-story-state="fallback"] .story-panel,
.story[data-story-state="static"] .story-panel {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  opacity: 1;
  transform: none;
}

.story[data-story-state="fallback"] .story-proof,
.story[data-story-state="static"] .story-proof {
  opacity: 1;
  transform: none;
}

.story[data-story-state="fallback"] .story-rail,
.story[data-story-state="static"] .story-rail,
.story[data-story-state="fallback"] .story-meta,
.story[data-story-state="static"] .story-meta {
  display: none;
}

.story[data-story-state="fallback"] .story-fallback {
  position: relative;
  bottom: auto;
  left: auto;
  display: block;
  margin: 70px 0 0;
  transform: none;
  text-align: left;
}

@media (max-width: 900px) {
  .story-panel {
    left: 7vw;
    width: min(44vw, 430px);
  }

  .story-panel h1 {
    font-size: 4.4rem;
  }

  .story-panel h2 {
    font-size: 2.65rem;
  }

  .story-rail {
    right: 20px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    gap: 10px;
    padding: 0 14px;
  }

  .wordmark {
    gap: 7px;
    font-size: 0.82rem;
  }

  .wordmark-mark {
    width: 10px;
    height: 10px;
  }

  .public-actions {
    gap: 9px;
  }

  .header-link {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    font-size: 0.62rem;
  }

  .header-demo {
    min-height: 44px;
    padding: 0 11px;
    font-size: 0.64rem;
  }

  .story {
    min-height: 620svh;
  }

  .story-stage {
    min-height: 560px;
  }

  .story-shade {
    background:
      linear-gradient(0deg, rgba(7, 13, 22, 0.98) 0%, rgba(7, 13, 22, 0.8) 39%, transparent 68%),
      linear-gradient(90deg, rgba(7, 13, 22, 0.2), transparent);
  }

  .story-meta {
    top: calc(var(--header-height) + 16px);
    right: 16px;
    left: 16px;
    font-size: 0.56rem;
  }

  .story-panels {
    inset: auto 0 0;
    height: 58%;
  }

  .story-panel {
    top: 50%;
    right: 24px;
    left: 24px;
    width: auto;
    transform: translateY(calc(-50% + 28px));
  }

  .story-panel::before {
    top: -12px;
    bottom: -12px;
    left: -13px;
    width: 2px;
  }

  .story-panel h1 {
    font-size: 3.25rem;
  }

  .story-panel h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .story-panel p {
    max-width: 42ch;
    margin-top: 13px;
    font-size: 0.75rem;
    line-height: 1.55;
  }

  .story-panel-intro p {
    font-family: var(--display);
    font-size: 1rem;
  }

  .story-note {
    display: none;
  }

  .story-proof {
    height: 136px;
    margin-top: 12px;
  }

  .proof-toolbar {
    min-height: 25px;
    padding: 0 9px;
  }

  .proof-need {
    min-height: 43px;
    padding: 4px 9px;
  }

  .proof-need strong {
    font-size: 0.66rem;
  }

  .proof-paths {
    height: calc(100% - 68px);
  }

  .proof-path {
    padding: 0 9px;
  }

  .proof-path:nth-child(3),
  .proof-match:nth-child(3) {
    display: none;
  }

  .proof-matches {
    height: calc(100% - 61px);
  }

  .proof-match {
    padding: 3px 9px;
  }

  .proof-outreach {
    min-height: 36px;
    padding: 0 9px;
  }

  .proof-outreach > strong {
    font-size: 0.46rem;
  }

  .story-proof-deploy .proof-shell {
    grid-template-columns: 43% 57%;
    grid-template-rows: minmax(0, 1fr) 44px;
  }

  .proof-pinch {
    gap: 5px;
    padding: 9px;
  }

  .proof-pinch img {
    width: min(108px, 100%);
  }

  .proof-commitment {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    padding: 8px 10px;
  }

  .proof-commitment > span {
    gap: 3px;
  }

  .proof-commitment > span > strong {
    font-size: 0.57rem;
  }

  .proof-commitment > strong {
    font-size: 0.68rem;
  }

  .proof-secured {
    gap: 7px;
    padding: 7px 10px;
  }

  .proof-secured > span:first-child {
    width: 21px;
    height: 21px;
  }

  .proof-secured strong {
    font-size: 0.58rem;
  }

  .proof-secured small {
    font-size: 0.42rem;
  }

  .story-rail {
    top: calc(var(--header-height) + 86px);
    right: 16px;
    width: 116px;
    height: 232px;
    transform: none;
  }

  .story-rail-step {
    min-height: 58px;
    padding-right: 19px;
  }

  .story-rail-step span {
    font-size: 0.66rem;
  }

  .story-rail-step strong {
    font-size: 0.78rem;
  }

  .story-scroll-hint {
    bottom: 18px;
    font-size: 0.57rem;
  }

  .door-word {
    font-size: 3.7rem;
  }

  .factory-door-left > span,
  .factory-door-right > span {
    top: calc(50% + 45px);
    font-size: 0.55rem;
  }
}

@media (max-width: 520px) {
  :root {
    --header-height: 100px;
  }

  .site-header {
    display: grid;
    min-height: var(--header-height);
    align-content: center;
    justify-content: stretch;
    gap: 3px;
    padding: 8px 14px 10px;
  }

  .wordmark {
    min-height: 28px;
  }

  .public-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }

  .header-link {
    min-width: auto;
    min-height: 38px;
  }

  .header-demo {
    min-height: 38px;
    margin-left: auto;
  }
}

@media (max-width: 390px) {
  .site-header {
    padding: 7px 10px 9px;
  }

  .wordmark {
    font-size: 0.74rem;
  }

  .public-actions {
    gap: 4px;
  }

  .header-link {
    min-width: 38px;
    font-size: 0.56rem;
  }

  .header-demo {
    padding: 0 8px;
    font-size: 0.58rem;
  }

  .story-panel {
    right: 20px;
    left: 20px;
  }

  .story-panel h1 {
    font-size: 2.8rem;
  }

  .story-panel h2 {
    font-size: 1.75rem;
  }

  .story-panel p {
    font-size: 0.7rem;
  }

  .story-proof {
    height: 132px;
  }

  .proof-match img {
    width: 22px;
    height: 22px;
  }

  .proof-channel {
    padding: 0 5px;
  }

  .story-kicker {
    font-size: 0.6rem;
  }

  .story-index {
    font-size: 0.8rem;
  }
}

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

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