:root {
  color-scheme: dark;
  --black: #070807;
  --black-2: #10110f;
  --ink: #f4f0e6;
  --paper: #fffaf0;
  --muted: #b8b1a4;
  --muted-2: #7e786d;
  --line: rgba(244, 240, 230, 0.16);
  --line-strong: rgba(244, 240, 230, 0.28);
  --lime: #ccff00;
  --lime-2: #e7ff62;
  --cyan: #63d9ff;
  --orange: #ff7a3d;
  --violet: #9c83ff;
  --rose: #f66d9b;
  --danger: #ff5f5f;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(244, 240, 230, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 230, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #070807 0%, #11130f 52%, #080907 100%);
  background-size: 54px 54px, 54px 54px, auto;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-radial-gradient(ellipse at 76% 16%, transparent 0 72px, rgba(244, 240, 230, 0.08) 74px 76px, transparent 78px 140px),
    linear-gradient(120deg, transparent 0 18%, rgba(204, 255, 0, 0.08) 18% 18.2%, transparent 18.2% 100%),
    linear-gradient(70deg, transparent 0 64%, rgba(99, 217, 255, 0.07) 64% 64.2%, transparent 64.2% 100%);
  opacity: 0.9;
}

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

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

button {
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(244, 240, 230, 0.18);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.08);
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--lime) 50%),
    linear-gradient(135deg, var(--lime) 50%, transparent 50%),
    rgba(255, 250, 240, 0.08);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    0 0;
  background-size: 6px 6px, 6px 6px, auto;
  background-repeat: no-repeat;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(204, 255, 0, 0.72);
  background: rgba(255, 250, 240, 0.11);
  box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.12);
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--lime);
}

input[type="file"] {
  min-height: 54px;
  padding: 11px;
}

input[type="range"] {
  min-height: 34px;
  padding: 0;
  accent-color: var(--lime);
  background: transparent;
  border: 0;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(244, 240, 230, 0.84);
  font-size: 0.9rem;
  font-weight: 800;
}

label small {
  color: rgba(244, 240, 230, 0.58);
  font-size: 0.78rem;
  font-weight: 600;
}

.app-shell {
  min-height: 100dvh;
  padding: 84px 20px 28px;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 12px 20px;
  background: rgba(7, 8, 7, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 52px;
  border: 1px solid rgba(244, 240, 230, 0.12);
  border-radius: var(--radius);
  padding: 5px 14px 5px 8px;
  background: rgba(7, 8, 7, 0.5);
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  overflow: hidden;
}

.brand-symbol img {
  display: block;
  width: 40px;
  height: 46px;
  object-fit: contain;
  filter: saturate(1.15) contrast(1.08);
}

.brand-name {
  color: var(--ink);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.34rem, 2.2vw, 1.78rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.brand-name span {
  color: var(--lime);
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  color: var(--black);
  background: linear-gradient(145deg, var(--lime-2), var(--lime));
  border: 1px solid rgba(7, 8, 7, 0.12);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    inset 0 -5px 10px rgba(7, 8, 7, 0.12),
    0 18px 34px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.brand-mark span {
  position: relative;
  z-index: 1;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

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

.brand strong {
  color: var(--ink);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.brand strong span,
.brand small {
  color: var(--lime);
}

.brand small {
  margin-top: 5px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.studio-link,
.demo-link,
.button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.icon-button {
  width: 42px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 250, 240, 0.06);
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.studio-link {
  min-width: 138px;
  border: 1px solid rgba(204, 255, 0, 0.42);
  padding: 0 14px;
  color: var(--black);
  background: var(--lime);
  font-size: 0.82rem;
}

.demo-link {
  min-width: 82px;
  border: 1px solid rgba(244, 240, 230, 0.18);
  padding: 0 12px;
  color: var(--lime);
  background: rgba(204, 255, 0, 0.07);
  font-size: 0.78rem;
}

.button {
  border: 1px solid transparent;
  padding: 13px 16px;
  font-size: 0.92rem;
}

.button-primary {
  color: var(--black);
  background: var(--lime);
  box-shadow: 0 16px 36px rgba(204, 255, 0, 0.14);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.08);
  border-color: var(--line);
}

.button-ghost {
  color: var(--lime);
  background: transparent;
  border-color: rgba(204, 255, 0, 0.38);
}

.text-button {
  border: 1px solid rgba(204, 255, 0, 0.28);
  padding: 0 12px;
  color: var(--lime);
  background: rgba(204, 255, 0, 0.06);
}

.icon-button:hover,
.button:hover,
.text-button:hover,
.demo-link:hover,
.studio-link:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(210px, 0.32fr) minmax(0, 1.68fr);
  gap: 20px;
  width: min(1560px, 100%);
  margin: 0 auto;
}

.journey-panel,
.flow-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 8, 7, 0.58);
  box-shadow: var(--shadow);
}

.journey-panel {
  backdrop-filter: blur(12px);
}

.journey-panel {
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100dvh - 116px);
  padding: 12px;
  overflow: hidden;
}

.tree-scene {
  position: relative;
  height: min(30dvh, 245px);
  min-height: 198px;
  border: 1px solid rgba(244, 240, 230, 0.12);
  border-radius: var(--radius);
  background: #050704;
  overflow: hidden;
}

.tree-scene::before,
.tree-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.tree-scene::before {
  background:
    linear-gradient(rgba(204, 255, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 217, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mix-blend-mode: screen;
}

.tree-scene::after {
  background:
    radial-gradient(circle at var(--focus-x, 50%) var(--focus-y, 58%), transparent 0 16%, rgba(7, 8, 7, 0.3) 34%, rgba(7, 8, 7, 0.74) 82%),
    linear-gradient(180deg, rgba(7, 8, 7, 0.18), rgba(7, 8, 7, 0.56));
}

.tech-tree-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.08) brightness(0.86);
  transform: scale(1);
  transform-origin: 50% 52%;
  transition:
    transform 1200ms cubic-bezier(0.2, 0.86, 0.18, 1),
    filter 420ms ease;
}

.tree-scan {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(180deg, transparent, rgba(204, 255, 0, 0.12), transparent);
  opacity: 0.46;
  transform: translateY(-100%);
  animation: treeScan 5.5s linear infinite;
}

.camera-reticle {
  position: absolute;
  left: var(--focus-x, 50%);
  top: var(--focus-y, 58%);
  z-index: 5;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(204, 255, 0, 0.62);
  border-radius: 50%;
  box-shadow:
    inset 0 0 24px rgba(204, 255, 0, 0.08),
    0 0 30px rgba(204, 255, 0, 0.18);
  opacity: 0.7;
  transform: translate(-50%, -50%);
  transition: left 900ms ease, top 900ms ease, opacity 240ms ease;
}

.camera-reticle::before,
.camera-reticle::after {
  content: "";
  position: absolute;
  background: rgba(204, 255, 0, 0.78);
}

.camera-reticle::before {
  left: 50%;
  top: -18px;
  bottom: -18px;
  width: 1px;
  transform: translateX(-50%);
}

.camera-reticle::after {
  left: -18px;
  right: -18px;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
}

.tree-node {
  position: absolute;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(204, 255, 0, 0.48);
  border-radius: 50%;
  color: var(--lime);
  background: rgba(7, 8, 7, 0.72);
  box-shadow: 0 0 18px rgba(204, 255, 0, 0.18);
  transition: transform 220ms ease, color 220ms ease, border-color 220ms ease, background 220ms ease, opacity 220ms ease;
}

.tree-node::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.tree-node span {
  display: none;
}

.tree-focus-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 7;
  border: 1px solid rgba(204, 255, 0, 0.34);
  border-radius: var(--radius);
  padding: 8px 10px;
  color: var(--black);
  background: rgba(204, 255, 0, 0.92);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.node-root {
  left: calc(50% - 8px);
  bottom: 17%;
}

.node-trunk {
  left: calc(50% - 8px);
  top: 44%;
}

.node-branch-a {
  left: 8%;
  top: 31%;
}

.node-branch-b {
  right: 8%;
  top: 31%;
}

.node-leaf-a {
  left: 18%;
  top: 13%;
}

.node-leaf-b {
  right: 18%;
  top: 13%;
}

.node-fruit {
  left: calc(50% - 8px);
  top: 12%;
}

.app-shell[data-tree-stage="overview"] .tree-scene {
  --focus-x: 50%;
  --focus-y: 52%;
}

.app-shell[data-tree-stage="root"] .tree-scene,
.app-shell.is-journey-started[data-tree-stage="overview"] .tree-scene {
  --focus-x: 50%;
  --focus-y: 78%;
}

.app-shell[data-tree-stage="trunk"] .tree-scene {
  --focus-x: 50%;
  --focus-y: 50%;
}

.app-shell[data-tree-stage="branches"] .tree-scene {
  --focus-x: 50%;
  --focus-y: 34%;
}

.app-shell[data-tree-stage="leaves"] .tree-scene,
.app-shell[data-tree-stage="fruits"] .tree-scene {
  --focus-x: 50%;
  --focus-y: 20%;
}

.app-shell[data-tree-stage="root"] .tech-tree-image,
.app-shell.is-journey-started[data-tree-stage="overview"] .tech-tree-image {
  transform: scale(1.46) translate3d(0, -6%, 0);
  transform-origin: 50% 86%;
}

.app-shell[data-tree-stage="trunk"] .tech-tree-image {
  transform: scale(1.5) translate3d(0, 2%, 0);
  transform-origin: 50% 52%;
}

.app-shell[data-tree-stage="branches"] .tech-tree-image {
  transform: scale(1.26) translate3d(0, 4%, 0);
  transform-origin: 50% 32%;
}

.app-shell[data-tree-stage="leaves"] .tech-tree-image {
  transform: scale(1.38) translate3d(0, 12%, 0);
  transform-origin: 50% 18%;
}

.app-shell[data-tree-stage="fruits"] .tech-tree-image {
  transform: scale(1.24) translate3d(0, 10%, 0);
  transform-origin: 50% 22%;
}

.tree-node.is-active,
.tree-node.is-complete {
  color: var(--black);
  border-color: rgba(204, 255, 0, 0.74);
  background: var(--lime);
  transform: translateY(-2px) scale(1.34);
}

.tree-node.is-complete {
  background: rgba(204, 255, 0, 0.78);
  opacity: 0.82;
}

.journey-copy {
  padding: 7px 2px 6px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--lime);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.journey-copy h1,
.flow-head h2,
.section-copy h3,
.agreement h3,
.summary-panel h3,
.modal-content h2 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
}

.journey-copy h1 {
  font-size: 1.02rem;
}

.journey-copy p,
.section-copy p,
.lead,
.promise-panel p,
.agreement p,
.modal-content p {
  margin: 12px 0 0;
  color: rgba(244, 240, 230, 0.68);
}

.journey-copy p:not(.eyebrow) {
  display: none;
}

.stage-list {
  display: grid;
  gap: 3px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.stage-list li {
  display: grid;
  grid-template-columns: 23px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  border: 1px solid rgba(244, 240, 230, 0.1);
  border-radius: var(--radius);
  padding: 4px 7px;
  color: rgba(244, 240, 230, 0.64);
  background: rgba(255, 250, 240, 0.035);
}

.stage-list li.is-active {
  color: var(--ink);
  border-color: rgba(204, 255, 0, 0.5);
  background: rgba(204, 255, 0, 0.11);
}

.stage-index {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius);
  color: var(--black);
  background: var(--lime);
  font-size: 0.64rem;
  font-weight: 900;
}

.stage-title {
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.05;
}

.stage-state {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.flow-panel {
  position: relative;
  min-height: calc(100dvh - 116px);
  overflow: hidden;
}

.app-shell.has-root-arrived:not(.is-final-step) .flow-panel {
  padding-bottom: 96px;
}

.flow-tree-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #050704;
  overflow: hidden;
}

.flow-tree-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--flow-focus-x, 50%) var(--flow-focus-y, 55%), transparent 0 18%, rgba(7, 8, 7, 0.2) 38%, rgba(7, 8, 7, 0.62) 80%),
    linear-gradient(180deg, rgba(7, 8, 7, 0.5), rgba(7, 8, 7, 0.36) 48%, rgba(7, 8, 7, 0.72));
}

.flow-backdrop-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.18) contrast(1.08) brightness(0.76);
  transform: scale(1.02);
  transform-origin: 50% 54%;
  transition:
    transform 1050ms cubic-bezier(0.2, 0.86, 0.18, 1),
    filter 420ms ease;
}

.flow-backdrop-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(204, 255, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 217, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mix-blend-mode: screen;
  opacity: 0.76;
  animation: gridDrift 18s linear infinite;
}

.app-shell.is-stage-shifting .flow-backdrop-image {
  filter: saturate(1.35) contrast(1.18) brightness(0.9);
}

.app-shell[data-tree-stage="overview"] .flow-panel {
  --flow-focus-x: 50%;
  --flow-focus-y: 54%;
}

.app-shell[data-tree-stage="root"] .flow-panel,
.app-shell.is-journey-started[data-tree-stage="overview"] .flow-panel {
  --flow-focus-x: 50%;
  --flow-focus-y: 78%;
}

.app-shell[data-tree-stage="trunk"] .flow-panel {
  --flow-focus-x: 50%;
  --flow-focus-y: 48%;
}

.app-shell[data-tree-stage="branches"] .flow-panel {
  --flow-focus-x: 50%;
  --flow-focus-y: 26%;
}

.app-shell[data-tree-stage="leaves"] .flow-panel,
.app-shell[data-tree-stage="fruits"] .flow-panel {
  --flow-focus-x: 50%;
  --flow-focus-y: 15%;
}

.app-shell[data-tree-stage="root"] .flow-backdrop-image,
.app-shell.is-journey-started[data-tree-stage="overview"] .flow-backdrop-image {
  transform: scale(1.7) translate3d(0, -10%, 0);
  transform-origin: 50% 86%;
}

.app-shell[data-tree-stage="trunk"] .flow-backdrop-image {
  transform: scale(1.62) translate3d(0, 4%, 0);
  transform-origin: 50% 50%;
}

.app-shell[data-tree-stage="branches"] .flow-backdrop-image {
  transform: scale(1.34) translate3d(0, 9%, 0);
  transform-origin: 50% 28%;
}

.app-shell[data-tree-stage="leaves"] .flow-backdrop-image {
  transform: scale(1.28) translate3d(0, 13%, 0);
  transform-origin: 50% 14%;
}

.app-shell[data-tree-stage="fruits"] .flow-backdrop-image {
  transform: scale(1.18) translate3d(0, 11%, 0);
  transform-origin: 50% 16%;
}

.flow-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line);
}

.flow-head h2 {
  max-width: 820px;
  font-size: 1.7rem;
}

.question-progress {
  display: block;
  min-height: 18px;
  margin-top: 8px;
  color: rgba(244, 240, 230, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
}

.progress-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: 72px;
  border: 1px solid rgba(204, 255, 0, 0.36);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--lime);
  background: rgba(204, 255, 0, 0.07);
  font-weight: 900;
}

.progress-chip span {
  font-size: 1.5rem;
  line-height: 1;
}

.progress-chip small {
  color: rgba(244, 240, 230, 0.55);
  font-size: 0.9rem;
}

.flow-status {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.compact-next {
  min-width: 108px;
  min-height: 36px;
  padding: 10px 12px;
  font-size: 0.78rem;
  box-shadow: 0 14px 32px rgba(204, 255, 0, 0.1);
}

.app-shell:not(.has-root-arrived) .compact-next {
  display: none;
}

.step-viewport {
  position: relative;
  z-index: 2;
  min-height: clamp(430px, calc(100dvh - 188px), 620px);
}

.step {
  display: none;
  gap: 14px;
  padding: 20px;
  animation: stepIn 320ms ease both;
}

.step.is-active {
  display: grid;
}

.step:not([data-step="0"]) {
  width: min(980px, 100%);
  min-height: 0;
  margin: 0 auto;
}

.step.is-focused {
  align-content: center;
}

.step.is-focused > [data-question] {
  display: none;
}

.step.is-focused > [data-question].is-question-active {
  display: grid;
}

.step[data-step="1"] {
  padding-top: clamp(46px, 8vh, 88px);
}

.step[data-step="2"] {
  padding-top: clamp(34px, 6vh, 72px);
}

.step[data-step="3"],
.step[data-step="4"] {
  padding-top: clamp(26px, 4.5vh, 58px);
}

.step[data-step="5"],
.step[data-step="6"],
.step[data-step="7"] {
  padding-top: clamp(22px, 4vh, 52px);
}

.step:not([data-step="0"]) > .section-copy,
.step:not([data-step="0"]) > .form-grid,
.step:not([data-step="0"]) > .roi-input-grid,
.step:not([data-step="0"]) > label,
.step:not([data-step="0"]) > .season-panel,
.step:not([data-step="0"]) > .impact-card,
.step:not([data-step="0"]) > .summary-panel,
.step:not([data-step="0"]) > .final-actions {
  border: 1px solid rgba(244, 240, 230, 0.14);
  border-radius: var(--radius);
  background: rgba(7, 8, 7, 0.46);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(9px);
}

.step:not([data-step="0"]) > .section-copy,
.step:not([data-step="0"]) > .form-grid,
.step:not([data-step="0"]) > .roi-input-grid,
.step:not([data-step="0"]) > label {
  padding: 16px;
}

.soft-note {
  border-left: 2px solid rgba(204, 255, 0, 0.62);
  padding-left: 12px;
  color: rgba(244, 240, 230, 0.72) !important;
  font-weight: 700;
}

.tree-hero {
  position: relative;
  min-height: clamp(560px, 66dvh, 760px);
  border: 1px solid rgba(204, 255, 0, 0.22);
  border-radius: var(--radius);
  background: #050704;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 22px 70px rgba(0, 0, 0, 0.32);
}

.tree-hero::before,
.tree-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.tree-hero::before {
  background:
    linear-gradient(rgba(204, 255, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 217, 255, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mix-blend-mode: screen;
}

.tree-hero::after {
  background:
    radial-gradient(circle at 50% 78%, transparent 0 14%, rgba(7, 8, 7, 0.14) 30%, rgba(7, 8, 7, 0.56) 78%),
    linear-gradient(90deg, rgba(7, 8, 7, 0.66), rgba(7, 8, 7, 0.12) 44%, rgba(7, 8, 7, 0.48)),
    linear-gradient(180deg, rgba(7, 8, 7, 0.08), rgba(7, 8, 7, 0.64));
}

.tree-hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.08) brightness(0.82);
  transform: scale(1);
  transform-origin: 50% 86%;
}

.tree-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 78%, transparent 0 8%, rgba(204, 255, 0, 0.14) 9%, transparent 22%),
    radial-gradient(circle at 50% 52%, rgba(204, 255, 0, 0.22), transparent 26%);
  opacity: 0.72;
}

.travel-beam {
  position: absolute;
  left: 50%;
  top: 20%;
  z-index: 4;
  width: 2px;
  height: 58%;
  background: linear-gradient(180deg, transparent, var(--lime), transparent);
  box-shadow: 0 0 28px rgba(204, 255, 0, 0.5);
  opacity: 0;
  transform: translateX(-50%) scaleY(0.4);
  transform-origin: 50% 100%;
}

.root-lock {
  position: absolute;
  left: 50%;
  bottom: 10%;
  z-index: 5;
  display: grid;
  gap: 3px;
  min-width: 146px;
  border: 1px solid rgba(204, 255, 0, 0.62);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--black);
  background: var(--lime);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translate(-50%, 16px) scale(0.94);
  text-align: center;
}

.root-lock span {
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.root-lock strong {
  font-size: 0.86rem;
  line-height: 1;
}

.tree-hero-copy {
  position: absolute;
  left: clamp(18px, 4vw, 34px);
  top: clamp(86px, 18%, 150px);
  bottom: auto;
  z-index: 6;
  width: min(460px, calc(100% - 36px));
  color: var(--ink);
  transition: opacity 240ms ease, transform 240ms ease;
}

.tree-hero-copy h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.tree-hero-copy p:not(.eyebrow) {
  max-width: 430px;
  margin: 14px 0 18px;
  color: rgba(244, 240, 230, 0.7);
  font-weight: 600;
}

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

.app-shell.is-root-trip .tree-hero-image {
  animation: heroTravelToRoot 1650ms cubic-bezier(0.2, 0.86, 0.18, 1) both;
}

.app-shell.has-root-arrived .tree-hero-image {
  filter: saturate(1.35) contrast(1.18) brightness(0.9);
  transform: scale(1.86) translate3d(0, -8%, 0);
  transform-origin: 50% 86%;
}

.app-shell.has-root-arrived .tree-hero {
  min-height: clamp(760px, 92dvh, 1040px);
}

.app-shell.has-root-arrived .tree-hero-copy {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}

.app-shell.is-root-trip .tree-hero-shade {
  animation: shadeTravelToRoot 1650ms ease both;
}

.app-shell.is-root-trip .travel-beam {
  animation: beamTravel 1650ms ease both;
}

.app-shell.is-root-trip .root-lock {
  animation: rootArrive 1650ms ease both;
}

.app-shell.is-root-trip .tech-tree-image {
  animation: sideTreeTravelToRoot 1650ms cubic-bezier(0.2, 0.86, 0.18, 1) both;
}

.app-shell.is-root-trip .camera-reticle {
  animation: reticlePulse 1650ms ease both;
}

.tree-form-panel {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 4vh, 38px);
  z-index: 8;
  display: grid;
  gap: 12px;
  width: min(620px, calc(100% - 44px));
  max-height: none;
  overflow: visible;
  border: 1px solid rgba(204, 255, 0, 0.22);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(7, 8, 7, 0.5);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(9px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px) scale(0.98);
  transition: opacity 280ms ease, transform 280ms ease;
}

.app-shell.has-root-arrived .tree-form-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 12px;
  align-items: stretch;
}

.wordmark {
  display: block;
  width: min(560px, 100%);
  border: 1px solid rgba(244, 240, 230, 0.1);
  border-radius: var(--radius);
  aspect-ratio: 3.15 / 1;
  object-fit: cover;
  object-position: 48% 50%;
}

.entry-brand-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 102px;
  border: 1px solid rgba(244, 240, 230, 0.12);
  border-radius: var(--radius);
  padding: 14px 16px;
  background:
    linear-gradient(135deg, rgba(204, 255, 0, 0.09), transparent 42%),
    rgba(7, 8, 7, 0.52);
}

.entry-brand-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 68px;
  flex: 0 0 auto;
  overflow: hidden;
}

.entry-brand-mark img {
  display: block;
  width: 60px;
  height: 68px;
  object-fit: contain;
}

.entry-brand-card strong {
  display: block;
  color: var(--ink);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.84rem;
  font-weight: 800;
  line-height: 1;
}

.entry-brand-card strong span {
  color: var(--lime);
}

.entry-brand-card small {
  display: block;
  margin-top: 5px;
  color: rgba(244, 240, 230, 0.64);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead {
  max-width: 680px;
  font-size: 0.86rem;
}

.promise-panel,
.agreement,
.season-panel,
.impact-card,
.summary-panel,
.metric-tile,
.final-actions {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.055);
}

.promise-panel {
  display: grid;
  align-content: end;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(204, 255, 0, 0.15), transparent 36%),
    rgba(255, 250, 240, 0.055);
}

.field-option {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: rgba(244, 240, 230, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.field-example {
  color: rgba(204, 255, 0, 0.68);
}

.field-option input {
  flex: 0 0 auto;
}

.promise-panel span {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.promise-panel strong {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.38rem;
  line-height: 1;
}

.tree-form-panel .promise-panel p,
.tree-form-panel .agreement p {
  display: none;
}

.tree-form-panel .agreement .eyebrow {
  margin-bottom: 5px;
}

.tree-form-panel .check-row {
  padding: 9px 11px;
}

.tree-form-panel input,
.tree-form-panel select,
.tree-form-panel textarea {
  min-height: 40px;
  padding: 10px 11px;
}

.tree-form-panel label {
  gap: 5px;
}

.tree-form-panel .field-example {
  font-size: 0.7rem;
}

.tree-form-panel .mail-state {
  font-size: 0.76rem;
}

.tree-form-panel .lead {
  display: none;
}

.gate-actions {
  display: none;
  justify-content: flex-end;
}

.app-shell.is-nda-ready .gate-actions {
  display: flex;
}

.form-grid,
.roi-input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.roi-input-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agreement {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.agreement h3 {
  font-size: 1rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(244, 240, 230, 0.12);
  border-radius: var(--radius);
  padding: 11px;
  background: rgba(255, 250, 240, 0.04);
}

.check-row span {
  color: rgba(244, 240, 230, 0.82);
  font-weight: 800;
}

.mail-state,
.autosave {
  margin: 0;
  color: rgba(244, 240, 230, 0.58);
  font-size: 0.84rem;
  font-weight: 700;
}

.mail-state.is-ok,
.autosave.is-ok {
  color: var(--lime);
}

.mail-state.is-warn {
  color: var(--orange);
}

.section-copy {
  max-width: 820px;
}

.section-copy h3 {
  font-size: 1.58rem;
}

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

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

.vertical-card,
.solution-card,
.channel-card {
  position: relative;
  min-height: 96px;
  border: 1px solid rgba(244, 240, 230, 0.13);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.055);
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.vertical-card {
  display: grid;
  gap: 8px;
  align-content: start;
}

.vertical-card:hover,
.solution-card:hover,
.channel-card:hover,
.vertical-card.is-selected,
.solution-card.is-selected,
.channel-card.is-selected {
  border-color: rgba(204, 255, 0, 0.62);
  background: rgba(204, 255, 0, 0.1);
  transform: translateY(-1px);
}

.vertical-icon,
.solution-icon,
.channel-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  color: var(--black);
  background: var(--lime);
}

.vertical-icon svg,
.solution-icon svg,
.channel-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.vertical-card strong,
.solution-card strong,
.channel-card strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.15;
}

.vertical-card small,
.solution-card small,
.channel-card small {
  color: rgba(244, 240, 230, 0.6);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.35;
}

.channel-card {
  min-height: 76px;
}

.channel-card input,
.solution-card input {
  position: absolute;
  inset: 10px 10px auto auto;
}

.season-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
}

output {
  display: inline-flex;
  justify-content: flex-start;
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 900;
}

.impact-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(204, 255, 0, 0.1), transparent 44%),
    rgba(255, 250, 240, 0.055);
}

.roi-note {
  margin: 12px 0 0;
  color: rgba(244, 240, 230, 0.62);
  font-size: 0.8rem;
  font-weight: 700;
}

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

.metric-tile {
  min-height: 118px;
  padding: 14px;
}

.metric-tile span {
  color: rgba(244, 240, 230, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-tile strong {
  display: block;
  margin-top: 10px;
  color: var(--lime);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.65rem;
  line-height: 1;
}

.metric-tile small {
  display: block;
  margin-top: 8px;
  color: rgba(244, 240, 230, 0.58);
  font-size: 0.76rem;
  line-height: 1.34;
}

.summary-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

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

.summary-block {
  border: 1px solid rgba(244, 240, 230, 0.12);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(7, 8, 7, 0.38);
}

.summary-block h4 {
  margin: 0 0 8px;
  color: var(--lime);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.summary-block p,
.summary-block li {
  color: rgba(244, 240, 230, 0.72);
  font-size: 0.88rem;
}

.summary-block p {
  margin: 0;
}

.summary-block ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.summary-wide {
  display: grid;
  gap: 12px;
}

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

.signal-card {
  min-height: 128px;
  border: 1px solid rgba(244, 240, 230, 0.12);
  border-radius: var(--radius);
  padding: 13px;
  background: rgba(255, 250, 240, 0.055);
}

.signal-card::before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--muted-2);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
}

.signal-card.is-good::before {
  background: var(--lime);
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.28);
}

.signal-card.is-warn::before {
  background: var(--orange);
  box-shadow: 0 0 20px rgba(255, 122, 61, 0.24);
}

.signal-card.is-risk::before {
  background: var(--danger);
  box-shadow: 0 0 20px rgba(255, 95, 95, 0.24);
}

.signal-card span {
  display: block;
  color: rgba(244, 240, 230, 0.64);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.08;
}

.signal-card p {
  margin-top: 8px;
  font-size: 0.76rem;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px;
}

.flow-actions {
  position: sticky;
  bottom: 10px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 22px 22px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(7, 8, 7, 0.52);
  backdrop-filter: blur(10px);
}

.app-shell.is-entry-step .flow-actions {
  display: none;
}

.app-shell.has-root-arrived:not(.is-final-step) .flow-actions {
  position: fixed;
  z-index: 35;
  right: max(20px, calc((100vw - 1560px) / 2 + 20px));
  bottom: 16px;
  left: max(292px, calc((100vw - 1560px) / 2 + 292px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.32);
}

.flow-actions .autosave {
  text-align: center;
}

.nda-modal {
  width: min(760px, calc(100% - 28px));
  border: 1px solid rgba(244, 240, 230, 0.18);
  border-radius: var(--radius);
  padding: 0;
  color: var(--ink);
  background: #0d0f0c;
  box-shadow: var(--shadow);
}

.nda-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.modal-content {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.modal-content h2 {
  font-size: 1.9rem;
}

.modal-content p {
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 250, 240, 0.08);
  font-size: 1.4rem;
  line-height: 1;
}

.is-invalid {
  border-color: rgba(255, 95, 95, 0.82) !important;
  box-shadow: 0 0 0 3px rgba(255, 95, 95, 0.13) !important;
}

@keyframes treeScan {
  to {
    transform: translateY(100%);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 42px 84px, -42px 42px;
  }
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroTravelToRoot {
  0% {
    filter: saturate(1.1) contrast(1.08) brightness(0.82);
    transform: scale(1) translate3d(0, 0, 0);
  }

  28% {
    filter: saturate(1.2) contrast(1.12) brightness(0.9);
    transform: scale(0.94) translate3d(0, 3%, 0);
  }

  64% {
    filter: saturate(1.32) contrast(1.18) brightness(1);
    transform: scale(1.28) translate3d(0, -2%, 0);
  }

  100% {
    filter: saturate(1.35) contrast(1.18) brightness(0.92);
    transform: scale(1.86) translate3d(0, -8%, 0);
  }
}

@keyframes shadeTravelToRoot {
  0% {
    opacity: 0.5;
    background:
      radial-gradient(circle at 50% 52%, rgba(204, 255, 0, 0.2), transparent 28%),
      radial-gradient(circle at 50% 78%, transparent 0 8%, rgba(204, 255, 0, 0.06) 9%, transparent 22%);
  }

  100% {
    opacity: 0.9;
    background:
      radial-gradient(circle at 50% 80%, transparent 0 10%, rgba(204, 255, 0, 0.22) 11%, transparent 28%),
      radial-gradient(circle at 50% 80%, rgba(204, 255, 0, 0.3), transparent 38%);
  }
}

@keyframes beamTravel {
  0% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.1);
  }

  34% {
    opacity: 0.8;
    transform: translateX(-50%) scaleY(0.52);
  }

  76% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.2);
  }
}

@keyframes rootArrive {
  0%,
  45% {
    opacity: 0;
    transform: translate(-50%, 18px) scale(0.94);
  }

  76% {
    opacity: 1;
    transform: translate(-50%, -2px) scale(1);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes sideTreeTravelToRoot {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
    transform-origin: 50% 52%;
  }

  32% {
    transform: scale(0.96) translate3d(0, 3%, 0);
    transform-origin: 50% 52%;
  }

  100% {
    transform: scale(1.46) translate3d(0, -6%, 0);
    transform-origin: 50% 86%;
  }
}

@keyframes reticlePulse {
  0% {
    opacity: 0.25;
    transform: translate(-50%, -50%) scale(0.7);
  }

  44% {
    opacity: 0.94;
    transform: translate(-50%, -50%) scale(1.08);
  }

  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  @page {
    margin: 14mm;
  }

  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    color: #111;
    background: #fff;
  }

  body::before,
  .topbar,
  .journey-panel,
  .flow-tree-backdrop,
  .flow-actions,
  .progress-chip,
  .question-progress,
  .final-actions {
    display: none !important;
  }

  .app-shell {
    min-height: 0;
    padding: 0;
  }

  .workspace {
    display: block;
    width: 100%;
  }

  .flow-panel {
    min-height: 0;
    border: 0;
    background: #fff;
    box-shadow: none;
    overflow: visible;
  }

  .flow-head {
    padding: 0 0 14px;
    border-bottom: 2px solid #111;
  }

  .flow-head h2,
  .section-copy h3,
  .summary-panel h3 {
    color: #111;
  }

  .step-viewport {
    min-height: 0;
  }

  .step {
    display: none !important;
    padding: 0;
  }

  .step[data-step="7"] {
    display: grid !important;
    min-height: 0;
    width: 100%;
  }

  .step[data-step="7"] > .section-copy,
  .step[data-step="7"] > .summary-panel {
    border: 1px solid #d5d5d5;
    background: #fff;
    color: #111;
    backdrop-filter: none;
  }

  .eyebrow,
  .summary-block h4,
  .metric-tile strong {
    color: #3e5f00;
  }

  .section-copy p,
  .summary-block p,
  .summary-block li {
    color: #222;
  }

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

  .summary-block {
    break-inside: avoid;
    border: 1px solid #d5d5d5;
    background: #fff;
  }
}

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

  .flow-panel {
    order: 1;
  }

  .journey-panel {
    order: 2;
    position: relative;
    top: auto;
    min-height: 0;
  }

  .tree-scene {
    height: 420px;
  }

  .app-shell.has-root-arrived:not(.is-final-step) .flow-actions {
    left: 20px;
    right: 20px;
  }
}

@media (max-width: 860px) {
  html {
    scroll-behavior: auto;
  }

  body::before {
    opacity: 0.48;
  }

  .app-shell {
    min-height: 100svh;
    padding: 78px 12px 18px;
  }

  .topbar {
    min-height: 64px;
    padding: 9px 12px;
  }

  .brand {
    min-height: 46px;
    padding: 4px 10px 4px 6px;
  }

  .brand-symbol {
    width: 34px;
    height: 36px;
  }

  .brand-symbol img {
    width: 34px;
    height: 38px;
  }

  .brand-name {
    font-size: 1.18rem;
  }

  .brand small {
    font-size: 0.64rem;
  }

  .studio-link {
    display: none;
  }

  .demo-link {
    min-width: 70px;
    padding: 0 9px;
  }

  .compact-next {
    min-width: 92px;
    padding: 10px;
  }

  .workspace {
    display: block;
    width: 100%;
  }

  .journey-panel {
    display: none;
  }

  .flow-panel {
    min-height: auto;
    overflow: visible;
  }

  .flow-tree-backdrop {
    position: fixed;
  }

  .flow-backdrop-grid,
  .tree-scan {
    animation: none;
  }

  .step-viewport {
    min-height: auto;
  }

  .flow-head,
  .flow-actions,
  .step {
    padding-left: 16px;
    padding-right: 16px;
  }

  .flow-head {
    display: grid;
    padding-top: 14px;
  }

  .flow-head h2 {
    font-size: 1.55rem;
  }

  .tree-hero {
    min-height: min(620px, calc(100svh - 112px));
  }

  .tree-hero::after {
    background:
      linear-gradient(180deg, rgba(7, 8, 7, 0.42), rgba(7, 8, 7, 0.44) 44%, rgba(7, 8, 7, 0.9)),
      linear-gradient(90deg, rgba(7, 8, 7, 0.4), rgba(7, 8, 7, 0.22));
  }

  .tree-hero-copy {
    top: auto;
    bottom: 20px;
  }

  .tree-hero-copy h3 {
    font-size: 2.15rem;
  }

  .journey-copy h1 {
    font-size: 1.85rem;
  }

  .intro-grid,
  .form-grid,
  .roi-input-grid,
  .impact-card,
  .signal-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .vertical-grid,
  .checkbox-grid,
  .solution-grid,
  .roi-live {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .app-shell.has-root-arrived:not(.is-final-step) .flow-actions {
    left: 12px;
    right: 12px;
    bottom: 10px;
  }

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

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .topbar-actions {
    gap: 6px;
  }

  .icon-button {
    display: none;
    width: 38px;
    min-height: 38px;
  }

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

  .brand {
    gap: 6px;
    min-height: 42px;
    padding-right: 8px;
  }

  .brand-symbol {
    width: 30px;
    height: 34px;
  }

  .brand-symbol img {
    width: 30px;
    height: 36px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .vertical-grid,
  .checkbox-grid,
  .solution-grid,
  .roi-live {
    grid-template-columns: 1fr;
  }

  .tree-scene {
    height: 360px;
    min-height: 360px;
  }

  .tree-hero {
    min-height: 520px;
  }

  .tree-hero-copy h3 {
    font-size: 1.75rem;
  }

  .tree-hero-copy p:not(.eyebrow) {
    font-size: 0.92rem;
  }

  .root-lock {
    bottom: 26%;
  }

  .tree-node {
    width: 74px;
    height: 30px;
    font-size: 0.58rem;
  }

  .node-root,
  .node-trunk,
  .node-fruit {
    left: calc(50% - 37px);
  }

  .node-branch-a {
    left: 4%;
  }

  .node-branch-b {
    right: 4%;
  }

  .node-leaf-a {
    left: 10%;
  }

  .node-leaf-b {
    right: 10%;
  }

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