.delivery-page,
.money-page {
  --signal-green: #8fc29a;
  --signal-amber: #e2b86f;
  --signal-red: #c87667;
  --blueprint: #8da8bb;
}

.delivery-hero {
  background:
    linear-gradient(90deg, rgba(4, 6, 8, 0.98) 0%, rgba(4, 6, 8, 0.82) 56%, rgba(4, 6, 8, 0.42) 100%),
    url("assets/hero-house.png") center 58% / cover;
}

.delivery-intro-strip,
.money-intro-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(8, 10, 12, 0.94);
  box-shadow: var(--shadow);
}

.delivery-intro-strip > div,
.money-intro-strip > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: center;
  min-height: 86px;
  padding: 16px 20px;
  border-right: 1px solid rgba(212, 175, 55, 0.13);
}

.delivery-intro-strip > div:last-child,
.money-intro-strip > div:last-child {
  border-right: 0;
}

.delivery-intro-strip span,
.money-intro-strip span {
  grid-row: 1 / 3;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
}

.delivery-intro-strip strong,
.money-intro-strip strong {
  align-self: end;
  font-size: 0.73rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.delivery-intro-strip small,
.money-intro-strip small {
  align-self: start;
  color: var(--muted);
  font-size: 0.64rem;
}

.delivery-workspace {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.62fr);
  gap: 18px;
  align-items: start;
}

.delivery-composer,
.delivery-route,
.delivery-lane,
.delivery-gateboard,
.delivery-risk-panel,
.delivery-evidence-panel,
.delivery-matrix,
.delivery-passport {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.075), transparent 32%),
    rgba(8, 10, 12, 0.96);
  box-shadow: var(--shadow);
}

.delivery-composer {
  position: sticky;
  top: 112px;
  max-height: calc(100vh - 132px);
  overflow-y: auto;
  padding: 24px;
  scrollbar-color: rgba(212, 175, 55, 0.35) transparent;
}

.delivery-composer header h2,
.delivery-section-head h2,
.delivery-risk-panel h2,
.delivery-evidence-panel h2,
.delivery-passport h2 {
  margin: 8px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 0.92;
  text-transform: uppercase;
}

.delivery-composer header p,
.delivery-passport p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.7;
}

.delivery-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 20px 0 16px;
}

.delivery-presets button {
  min-height: 48px;
  padding: 8px;
  border: 1px solid rgba(212, 175, 55, 0.17);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.022);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
  cursor: pointer;
}

.delivery-presets button:hover,
.delivery-presets button:focus-visible {
  color: var(--onyx);
  border-color: var(--gold);
  background: linear-gradient(135deg, #b98a3f, #e1c477);
}

.delivery-scope-options {
  display: grid;
  gap: 7px;
}

.delivery-scope-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.018);
  cursor: pointer;
}

.delivery-scope-option:has(input:checked) {
  border-color: rgba(212, 175, 55, 0.38);
  color: var(--text);
  background: linear-gradient(100deg, rgba(212, 175, 55, 0.09), rgba(255, 255, 255, 0.018));
}

.delivery-scope-option input {
  accent-color: var(--gold);
}

.delivery-scope-option strong,
.delivery-scope-option small {
  display: block;
}

.delivery-scope-option strong {
  margin-bottom: 4px;
  font-size: 0.67rem;
}

.delivery-scope-option small {
  color: #8d8679;
  font-size: 0.56rem;
  line-height: 1.45;
}

.scope-owner {
  min-width: 38px;
  padding: 5px 7px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 999px;
  color: var(--sandstone);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.scope-owner[data-owner="Multi-Trade"] {
  color: var(--blueprint);
  border-color: rgba(141, 168, 187, 0.3);
}

.scope-owner[data-owner="Verify"] {
  color: var(--signal-amber);
  border-color: rgba(226, 184, 111, 0.3);
}

.delivery-notes {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.delivery-notes span,
.delivery-passport label span {
  color: var(--sandstone);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.delivery-notes textarea,
.delivery-passport input {
  width: 100%;
  border: 1px solid rgba(212, 175, 55, 0.19);
  border-radius: 11px;
  color: var(--text);
  background: #14171a;
  outline: none;
}

.delivery-notes textarea {
  min-height: 108px;
  padding: 12px;
  resize: vertical;
}

.delivery-notes textarea:focus,
.delivery-passport input:focus {
  border-color: var(--gold);
}

.delivery-composer .accuracy-callout {
  margin-top: 16px;
}

.delivery-command {
  display: grid;
  gap: 18px;
}

.delivery-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 30px;
  align-items: center;
  padding: 26px;
  overflow: hidden;
}

.delivery-route-copy h2 {
  margin: 8px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 600;
  line-height: 0.86;
  text-transform: uppercase;
}

.delivery-route-copy p {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.delivery-score-ring {
  --score: 54;
  position: relative;
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--score) * 1%), rgba(212, 175, 55, 0.11) 0);
  box-shadow: 0 0 48px rgba(212, 175, 55, 0.08);
}

.delivery-score-ring::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: inherit;
  background: #0a0d0f;
}

.delivery-score-ring > div {
  position: relative;
  z-index: 1;
  text-align: center;
}

.delivery-score-ring strong,
.delivery-score-ring span {
  display: block;
}

.delivery-score-ring strong {
  color: var(--limestone);
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  line-height: 0.8;
}

.delivery-score-ring span {
  width: 82px;
  margin-top: 7px;
  color: var(--sandstone);
  font-size: 0.48rem;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.delivery-route-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(212, 175, 55, 0.14);
}

.delivery-route-metrics div {
  padding: 17px 16px 0 0;
}

.delivery-route-metrics span,
.delivery-route-metrics strong {
  display: block;
}

.delivery-route-metrics span {
  margin-bottom: 6px;
  color: #8d8678;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.delivery-route-metrics strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
}

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

.delivery-lane {
  overflow: hidden;
  box-shadow: none;
}

.delivery-lane > header {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 11px;
  align-items: center;
  min-height: 74px;
  padding: 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.13);
}

.delivery-lane > header > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
}

.lane-general > header > span {
  color: var(--blueprint);
  border-color: rgba(141, 168, 187, 0.38);
}

.lane-verify > header > span {
  color: var(--signal-amber);
  border-color: rgba(226, 184, 111, 0.38);
}

.delivery-lane header strong,
.delivery-lane header small {
  display: block;
}

.delivery-lane header strong {
  margin-bottom: 3px;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.delivery-lane header small {
  color: #8d8679;
  font-size: 0.54rem;
}

.delivery-lane-list {
  display: grid;
  gap: 7px;
  min-height: 230px;
  padding: 12px;
}

.delivery-lane-card {
  padding: 12px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.delivery-lane-card span,
.delivery-lane-card strong,
.delivery-lane-card small {
  display: block;
}

.delivery-lane-card span {
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.49rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lane-general .delivery-lane-card span {
  color: var(--blueprint);
}

.lane-verify .delivery-lane-card span {
  color: var(--signal-amber);
}

.delivery-lane-card strong {
  margin-bottom: 5px;
  font-size: 0.67rem;
}

.delivery-lane-card small {
  color: var(--muted);
  font-size: 0.55rem;
  line-height: 1.45;
}

.delivery-lane-empty {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 20px;
  color: #827b70;
  font-size: 0.64rem;
  line-height: 1.6;
  text-align: center;
}

.delivery-gateboard,
.delivery-risk-panel,
.delivery-evidence-panel,
.delivery-matrix {
  padding: 24px;
}

.delivery-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}

.delivery-section-head h2 {
  margin-bottom: 0;
}

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

.delivery-gate {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(212, 175, 55, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
  cursor: pointer;
}

.delivery-gate:has(input:checked) {
  border-color: rgba(143, 194, 154, 0.34);
  background: rgba(143, 194, 154, 0.055);
}

.delivery-gate input {
  margin-top: 2px;
  accent-color: var(--signal-green);
}

.delivery-gate span,
.delivery-gate strong,
.delivery-gate small {
  display: block;
}

.delivery-gate span {
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.49rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.delivery-gate strong {
  margin-bottom: 5px;
  font-size: 0.68rem;
}

.delivery-gate small {
  color: var(--muted);
  font-size: 0.56rem;
  line-height: 1.5;
}

.delivery-intelligence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.delivery-risk-panel header,
.delivery-evidence-panel header {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.13);
}

.delivery-risk-panel h2,
.delivery-evidence-panel h2 {
  margin-bottom: 0;
  font-size: 2.6rem;
}

.delivery-risk-list,
.delivery-evidence-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.delivery-risk-item,
.delivery-evidence-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(212, 175, 55, 0.11);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.017);
}

.delivery-risk-item > span:first-child,
.delivery-evidence-item > span:first-child {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.55rem;
}

.delivery-risk-item strong,
.delivery-risk-item small,
.delivery-evidence-item strong,
.delivery-evidence-item small {
  display: block;
}

.delivery-risk-item strong,
.delivery-evidence-item strong {
  margin-bottom: 3px;
  font-size: 0.64rem;
}

.delivery-risk-item small,
.delivery-evidence-item small {
  color: var(--muted);
  font-size: 0.54rem;
  line-height: 1.4;
}

.delivery-risk-item > span:last-child,
.delivery-evidence-item > span:last-child {
  color: var(--signal-amber);
  font-size: 0.49rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.delivery-evidence-item[data-state="ready"] > span:last-child {
  color: var(--signal-green);
}

.delivery-matrix {
  margin-top: 42px;
}

.delivery-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 13px;
}

.delivery-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.delivery-table th,
.delivery-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  text-align: left;
}

.delivery-table th {
  color: var(--sandstone);
  background: rgba(212, 175, 55, 0.045);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.delivery-table td {
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.5;
}

.delivery-table td:nth-child(2) {
  color: var(--text);
  font-weight: 600;
}

.delivery-table tbody tr:last-child td {
  border-bottom: 0;
}

.matrix-lane {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matrix-lane[data-owner="Multi-Trade"] {
  color: var(--blueprint);
  border-color: rgba(141, 168, 187, 0.3);
}

.matrix-lane[data-owner="Verify"] {
  color: var(--signal-amber);
  border-color: rgba(226, 184, 111, 0.3);
}

.delivery-passport {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.48fr);
  gap: 22px 28px;
  align-items: end;
  margin-top: 18px;
  padding: 26px;
}

.delivery-passport label {
  display: grid;
  gap: 8px;
}

.delivery-passport input {
  min-height: 48px;
  padding: 11px 12px;
}

.delivery-passport-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 17px;
  border-top: 1px solid rgba(212, 175, 55, 0.13);
}

.delivery-vault {
  margin-top: 18px;
}

.delivery-vault-card {
  min-height: 170px;
}

.delivery-vault-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.delivery-vault-meta span {
  padding: 5px 7px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 999px;
  color: var(--sandstone);
  font-size: 0.49rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.delivery-disclaimer,
.money-disclaimer {
  max-width: 1120px;
  margin: 26px auto 10px;
  color: #827c72;
  font-size: 0.63rem;
  line-height: 1.75;
  text-align: center;
}

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

  .delivery-composer {
    position: static;
    max-height: none;
  }

  .delivery-scope-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-lanes {
    grid-template-columns: 1fr;
  }

  .delivery-lane-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .delivery-intro-strip,
  .money-intro-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-intro-strip > div:nth-child(2),
  .money-intro-strip > div:nth-child(2) {
    border-right: 0;
  }

  .delivery-intro-strip > div:nth-child(-n + 2),
  .money-intro-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(212, 175, 55, 0.13);
  }

  .delivery-route {
    grid-template-columns: 1fr;
  }

  .delivery-score-ring {
    width: 112px;
    height: 112px;
  }

  .delivery-route-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-gates,
  .delivery-intelligence-grid {
    grid-template-columns: 1fr;
  }

  .delivery-passport {
    grid-template-columns: 1fr;
  }

  .delivery-passport-actions {
    grid-column: 1;
  }
}

@media (max-width: 580px) {
  .delivery-intro-strip,
  .money-intro-strip,
  .delivery-scope-options,
  .delivery-lane-list {
    grid-template-columns: 1fr;
  }

  .delivery-intro-strip > div,
  .money-intro-strip > div {
    border-right: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.13);
  }

  .delivery-intro-strip > div:last-child,
  .money-intro-strip > div:last-child {
    border-bottom: 0;
  }

  .delivery-presets {
    grid-template-columns: 1fr;
  }

  .delivery-composer,
  .delivery-route,
  .delivery-gateboard,
  .delivery-risk-panel,
  .delivery-evidence-panel,
  .delivery-matrix,
  .delivery-passport {
    padding: 18px;
  }

  .delivery-route-copy h2 {
    font-size: 2.8rem;
  }

  .delivery-section-head {
    display: grid;
    align-items: start;
  }

  .delivery-passport-actions .button {
    width: 100%;
  }
}

.money-hero {
  background:
    linear-gradient(90deg, rgba(4, 6, 8, 0.98) 0%, rgba(4, 6, 8, 0.8) 57%, rgba(4, 6, 8, 0.38) 100%),
    url("assets/hero-house.png") center 54% / cover;
}

.money-mode-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 10%, rgba(212, 175, 55, 0.08), transparent 28%),
    rgba(6, 8, 10, 0.96);
  box-shadow: var(--shadow);
}

.money-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 9px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.money-mode-switch button {
  display: grid;
  gap: 4px;
  min-height: 70px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.money-mode-switch button.is-active {
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--text);
  background:
    linear-gradient(110deg, rgba(212, 175, 55, 0.12), transparent 58%),
    rgba(255, 255, 255, 0.025);
}

.money-mode-switch span {
  color: var(--gold);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.money-mode-switch strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 0.9;
  text-transform: uppercase;
}

.money-mode-panel {
  padding: 18px;
}

.money-mode-panel[hidden] {
  display: none;
}

.money-lab-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.62fr);
  gap: 18px;
  align-items: start;
}

.money-controls,
.investment-stage,
.investment-command-card,
.allocation-panel,
.phase-panel,
.revenue-command-card,
.revenue-stream-panel,
.revenue-flywheel-panel,
.business-ladder-panel,
.money-scenario-save {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.075), transparent 32%),
    rgba(8, 10, 12, 0.96);
}

.money-controls {
  position: sticky;
  top: 112px;
  max-height: calc(100vh - 132px);
  overflow-y: auto;
  padding: 24px;
  scrollbar-color: rgba(212, 175, 55, 0.35) transparent;
}

.money-controls header h2,
.money-section-head h2,
.flywheel-copy h2,
.money-scenario-save h2 {
  margin: 8px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 600;
  line-height: 0.9;
  text-transform: uppercase;
}

.money-controls header p,
.flywheel-copy p,
.money-scenario-save p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.7;
}

.money-scenario-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 20px 0;
}

.money-scenario-buttons button {
  min-height: 43px;
  padding: 8px;
  border: 1px solid rgba(212, 175, 55, 0.17);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.022);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.money-scenario-buttons button.is-active,
.money-scenario-buttons button:hover,
.money-scenario-buttons button:focus-visible {
  color: var(--onyx);
  border-color: var(--gold);
  background: linear-gradient(135deg, #b98a3f, #e1c477);
}

.money-range {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.money-range > span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.money-range strong,
.money-range output {
  color: var(--sandstone);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.money-range output {
  flex: 0 0 auto;
  color: var(--gold);
}

.money-range input {
  width: 100%;
  accent-color: var(--gold);
}

.money-range small {
  color: #827b70;
  font-size: 0.55rem;
  line-height: 1.5;
}

.money-controls .accuracy-callout {
  margin-top: 20px;
}

.money-command {
  display: grid;
  gap: 18px;
}

.investment-stage,
.allocation-panel,
.phase-panel,
.revenue-stream-panel,
.business-ladder-panel {
  padding: 24px;
}

.money-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}

.money-section-head h2 {
  max-width: 820px;
  margin-bottom: 0;
}

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

.investment-scenario-card {
  position: relative;
  min-height: 210px;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.018);
  text-align: left;
  cursor: pointer;
}

.investment-scenario-card.is-active {
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--text);
  background:
    linear-gradient(150deg, rgba(212, 175, 55, 0.14), transparent 54%),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.1);
}

.investment-scenario-card span,
.investment-scenario-card strong,
.investment-scenario-card p,
.investment-scenario-card small {
  display: block;
}

.investment-scenario-card > span:first-child {
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.investment-scenario-card strong {
  margin-bottom: 8px;
  color: var(--limestone);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 0.9;
}

.investment-scenario-card p {
  margin: 0 0 18px;
  font-size: 0.65rem;
  line-height: 1.55;
}

.investment-scenario-card small {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  color: var(--sandstone);
  font-size: 0.51rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.investment-command-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0;
  overflow: hidden;
}

.investment-total,
.investment-payment {
  min-height: 210px;
  padding: 28px;
}

.investment-total {
  border-right: 1px solid rgba(212, 175, 55, 0.15);
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.01);
}

.investment-total span,
.investment-payment span,
.investment-total strong,
.investment-payment strong {
  display: block;
}

.investment-total span,
.investment-payment span {
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.investment-total strong {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.8rem, 8vw, 7.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.72;
}

.investment-payment strong {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 600;
  line-height: 0.8;
}

.investment-total p,
.investment-payment p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.55;
}

.investment-meter {
  grid-column: 1 / -1;
  padding: 18px 28px 22px;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
}

.investment-meter-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--sandstone);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.investment-meter-head strong {
  color: var(--gold);
}

.investment-meter-track {
  height: 7px;
  margin: 10px 0 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.investment-meter-track i {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a87a34, #e2c477);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.investment-meter small {
  color: #8b8478;
  font-size: 0.56rem;
  line-height: 1.5;
}

.allocation-bar {
  display: flex;
  height: 18px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.allocation-bar i {
  display: block;
  height: 100%;
  border-right: 2px solid #0a0d0f;
}

.allocation-bar i:last-child {
  border-right: 0;
}

.allocation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.allocation-item {
  min-height: 108px;
  padding: 13px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.017);
}

.allocation-item span,
.allocation-item strong,
.allocation-item small {
  display: block;
}

.allocation-item span {
  width: 8px;
  height: 8px;
  margin-bottom: 12px;
  border-radius: 50%;
}

.allocation-item strong {
  margin-bottom: 6px;
  font-size: 0.68rem;
}

.allocation-item small {
  color: var(--muted);
  font-size: 0.54rem;
  line-height: 1.45;
}

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

.phase-path-card {
  position: relative;
  min-height: 200px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.13);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.018);
}

.phase-path-card::after {
  content: attr(data-phase);
  position: absolute;
  right: -4px;
  bottom: -25px;
  color: rgba(212, 175, 55, 0.06);
  font-family: "Cormorant Garamond", serif;
  font-size: 7rem;
  line-height: 1;
}

.phase-path-card span,
.phase-path-card strong,
.phase-path-card p,
.phase-path-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.phase-path-card > span {
  color: var(--gold);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.phase-path-card strong {
  margin: 18px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.phase-path-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.55;
}

.phase-path-card small {
  margin-top: 15px;
  color: var(--sandstone);
  font-size: 0.55rem;
}

.revenue-control-list {
  padding-top: 1px;
}

.revenue-controls .money-range {
  margin-top: 15px;
}

.revenue-command-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.revenue-command-card > div {
  min-height: 210px;
  padding: 24px;
  border-right: 1px solid rgba(212, 175, 55, 0.14);
}

.revenue-command-card > div:last-child {
  border-right: 0;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.11), transparent 66%);
}

.revenue-command-card span,
.revenue-command-card strong {
  display: block;
}

.revenue-command-card span {
  min-height: 32px;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.revenue-command-card strong {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  font-weight: 600;
  line-height: 0.8;
}

.revenue-command-card p {
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 0.6rem;
  line-height: 1.5;
}

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

.revenue-stream-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 13px;
  align-items: center;
  min-height: 118px;
  padding: 15px;
  border: 1px solid rgba(212, 175, 55, 0.13);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.018);
}

.revenue-stream-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
}

.revenue-stream-card strong,
.revenue-stream-card small,
.revenue-stream-card output {
  display: block;
}

.revenue-stream-card strong {
  margin-bottom: 4px;
  font-size: 0.68rem;
}

.revenue-stream-card small {
  color: var(--muted);
  font-size: 0.54rem;
  line-height: 1.4;
}

.revenue-stream-card output {
  color: var(--limestone);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.65rem;
  white-space: nowrap;
}

.revenue-stream-bar {
  grid-column: 2 / -1;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.revenue-stream-bar i {
  display: block;
  width: 10%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a87a34, #e2c477);
}

.revenue-flywheel-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 30px;
  align-items: center;
  min-height: 480px;
  padding: 34px;
  overflow: hidden;
}

.revenue-flywheel {
  position: relative;
  width: min(410px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
}

.flywheel-ring {
  position: absolute;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 50%;
}

.ring-one {
  inset: 8%;
  border-right-color: var(--gold);
  border-bottom-color: var(--gold);
  animation: flywheel-spin 22s linear infinite;
}

.ring-two {
  inset: 20%;
  border-top-color: var(--sandstone);
  box-shadow:
    0 0 50px rgba(212, 175, 55, 0.08),
    inset 0 0 40px rgba(212, 175, 55, 0.04);
  animation: flywheel-spin 16s linear infinite reverse;
}

.flywheel-core {
  position: absolute;
  inset: 35%;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  background: #080b0d;
  box-shadow: 0 0 42px rgba(212, 175, 55, 0.13);
  text-align: center;
}

.flywheel-core img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.flywheel-core span {
  margin-top: 4px;
  color: var(--sandstone);
  font-size: 0.45rem;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.flywheel-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  color: var(--limestone);
  background: rgba(8, 11, 13, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.node-discover {
  top: 0;
  left: calc(50% - 39px);
}

.node-design {
  top: calc(50% - 39px);
  right: 0;
}

.node-build {
  bottom: 0;
  left: calc(50% - 39px);
}

.node-scale {
  top: calc(50% - 39px);
  left: 0;
}

.flywheel-copy h2 {
  font-size: clamp(3rem, 5vw, 5.4rem);
}

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

.business-ladder article {
  position: relative;
  min-height: 250px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.017);
}

.business-ladder article::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 50%;
}

.business-ladder span,
.business-ladder strong,
.business-ladder p,
.business-ladder small {
  position: relative;
  z-index: 1;
  display: block;
}

.business-ladder span {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
}

.business-ladder strong {
  min-height: 50px;
  margin-top: 20px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.business-ladder p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.55;
}

.business-ladder small {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding-top: 9px;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  color: var(--sandstone);
  font-size: 0.49rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.business-ladder-note {
  margin: 16px 0 0;
  color: #847d72;
  font-size: 0.59rem;
  line-height: 1.65;
  text-align: center;
}

.money-scenario-save {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.48fr);
  gap: 22px 28px;
  align-items: end;
  margin-top: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.money-scenario-save label {
  display: grid;
  gap: 8px;
}

.money-scenario-save label span {
  color: var(--sandstone);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.money-scenario-save input {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid rgba(212, 175, 55, 0.19);
  border-radius: 11px;
  color: var(--text);
  background: #14171a;
  outline: none;
}

.money-scenario-save input:focus {
  border-color: var(--gold);
}

.money-save-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 17px;
  border-top: 1px solid rgba(212, 175, 55, 0.13);
}

.money-vault {
  margin-top: 18px;
}

.money-vault-card {
  min-height: 185px;
}

.money-vault-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}

.money-vault-metrics span {
  padding: 8px;
  border: 1px solid rgba(212, 175, 55, 0.13);
  border-radius: 8px;
  color: var(--sandstone);
  font-size: 0.51rem;
  line-height: 1.4;
}

@keyframes flywheel-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1160px) {
  .money-lab-grid {
    grid-template-columns: 1fr;
  }

  .money-controls {
    position: static;
    max-height: none;
  }

  .revenue-control-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }

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

@media (max-width: 900px) {
  .investment-scenarios,
  .allocation-grid,
  .phase-path,
  .revenue-command-card {
    grid-template-columns: 1fr;
  }

  .investment-command-card {
    grid-template-columns: 1fr;
  }

  .investment-total {
    border-right: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  }

  .revenue-command-card > div {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.14);
  }

  .revenue-command-card > div:last-child {
    border-bottom: 0;
  }

  .revenue-flywheel-panel {
    grid-template-columns: 1fr;
  }

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

  .money-scenario-save {
    grid-template-columns: 1fr;
  }

  .money-save-actions {
    grid-column: 1;
  }
}

@media (max-width: 680px) {
  .money-mode-switch {
    grid-template-columns: 1fr;
  }

  .money-mode-panel {
    padding: 10px;
  }

  .money-section-head {
    display: grid;
    align-items: start;
  }

  .revenue-control-list,
  .revenue-streams,
  .business-ladder {
    grid-template-columns: 1fr;
  }

  .revenue-stream-card {
    grid-template-columns: 42px 1fr;
  }

  .revenue-stream-card output {
    grid-column: 2;
  }

  .revenue-stream-bar {
    grid-column: 2;
  }

  .revenue-flywheel-panel {
    min-height: 0;
    padding: 20px;
  }

  .revenue-flywheel {
    width: min(330px, 100%);
  }

  .flywheel-node {
    width: 64px;
    height: 64px;
    font-size: 0.46rem;
  }

  .node-discover {
    left: calc(50% - 32px);
  }

  .node-design,
  .node-scale {
    top: calc(50% - 32px);
  }

  .node-build {
    left: calc(50% - 32px);
  }

  .investment-stage,
  .allocation-panel,
  .phase-panel,
  .revenue-stream-panel,
  .business-ladder-panel,
  .money-controls,
  .money-scenario-save {
    padding: 18px;
  }

  .investment-total,
  .investment-payment {
    min-height: 180px;
    padding: 22px;
  }

  .investment-total strong {
    font-size: 3.7rem;
  }

  .money-save-actions .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .delivery-page .future-hero h1,
  .money-page .future-hero h1 {
    font-size: clamp(2.35rem, 10.8vw, 3.2rem);
    letter-spacing: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ring-one,
  .ring-two {
    animation: none;
  }
}
