.landing {
  --landing-deep: #10231c;
  --landing-ivory: #f6f3ea;
  --landing-ink: #142e23;
  --landing-muted: #506359;
  --landing-cream: #f6f3ea;
  --landing-nav-height: 72px;
  --landing-nav-gap: 9px;
  --landing-space: clamp(24px,6vw,100px);
  color: var(--landing-ivory);
  background: var(--landing-deep);
  background-image: none;
}

.landing-wrap {
  width: min(1250px,calc(100% - 2 * var(--landing-space)));
  margin-inline: auto;
}

.landing h1,.landing h2,.landing h3,.landing p { margin: 0 }
.landing h1,.landing h2,.landing h3 { letter-spacing: -.065em; text-wrap: balance }
.landing a { color: inherit }
.landing :focus-visible { outline: 2px solid currentColor; outline-offset: 4px }
.landing [id] { scroll-margin-top: calc(var(--landing-nav-height) + 14px) }

.landing-header {
  position: sticky;
  top: 0;
  z-index: 5;
  height: var(--landing-nav-height);
  padding-block: var(--landing-nav-gap);
  pointer-events: none;
}

.landing-nav {
  width: calc(100% - 2 * clamp(11px,2.2vw,40px));
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(10px,2vw,28px);
  padding-inline: clamp(11px,2vw,28px);
  border: 1px solid #f6f3ea40;
  border-radius: 999px;
  background: linear-gradient(115deg,#f6f3ea16,#f6f3ea04 68%),#133127de;
  box-shadow: inset 0 1px #fff3, 0 8px 28px #0a1a1245;
  backdrop-filter: blur(22px) saturate(140%);
  pointer-events: auto;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 400 1.27rem/1 var(--serif);
  letter-spacing: -.045em;
  white-space: nowrap;
  text-decoration: none;
}

.landing-brand img { border-radius: 8px }
.landing-nav-detail { margin-inline-start: auto }
.landing-nav-detail,.landing-signin,.landing-footer-signin {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
}

.landing-nav-detail:hover,.landing-footer-signin:hover { text-decoration: underline }

.landing-signin {
  border: 1px solid #e7e1d354;
  border-radius: 40px;
  padding-inline: 20px;
}

.landing-signin:hover { background: #e7e1d326 }
.landing-nav .landing-signin {
  min-height: min(36px,100%);
  background: #f6f3ea19;
  box-shadow: inset 0 1px #fff2;
}

.landing-hero { background: #10231c; }

.landing-hero-stage {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: radial-gradient(ellipse at 50% 45%,#193329,#10231c 62%,#0b1b15);
}

.landing-hero-layout {
  --landing-hero-gap: clamp(22px,3vw,52px);
  display: grid;
  grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr);
  align-items: center;
  min-height: clamp(550px,calc(100svh - var(--landing-nav-height)),820px);
  gap: var(--landing-hero-gap);
  padding-block: 44px;
}

.landing-hero-copy { position: relative; z-index: 1; display: grid; justify-items: start; gap: 21px }
.landing-kicker {
  color: var(--landing-cream);
  font-size: .83rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.landing h1 { font-size: clamp(2.65rem,4.85vw,4.65rem); line-height: 1.06; max-width: 100% }
.landing-intro { color: #dce5d5; max-width: 46ch; font-size: clamp(1rem,1.25vw,1.17rem); line-height: 1.62 }

.landing .landing-primary {
  min-height: 53px;
  background: var(--landing-cream);
  color: #172819;
  box-shadow: inset 0 1px #ffffff80, 0 7px 21px #07160e66;
  padding-inline: 25px;
  white-space: nowrap;
}

.landing-primary:hover { background: #e7e0d0 }

.landing-hero-art { min-width: 0; }
.landing-plan-stack { position: relative; }
.landing-front-plane { position: relative; display: grid; justify-items: center; }
.landing-plan-sheet { display: none; }

.landing-mark {
  grid-row: 1;
  width: min(86%,640px);
  margin-block: 0 18px;
  stroke: #f6f3ea;
  stroke-width: 86;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.landing-mark-track { display: none; }

.landing-preview {
  width: min(100%,520px);
  color: var(--landing-ink);
  background: #f6f3ea;
  border: 1px solid #bfb7a450;
  border-radius: 24px;
  margin: 8px 0 0;
  box-shadow: 0 25px 56px #06140a74, 0 5px 18px #07160e62, inset 0 1px #fff;
  overflow: hidden;
}

.landing-preview-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding: 14px 19px;
  border-bottom: 1px solid #dce1cf;
  color: #375045;
  font-size: .85rem;
  font-weight: 700;
}

.landing-preview-top span,.landing-card-header span { display: inline-flex; align-items: center; gap: 8px }
.landing-card-header img,.landing-bank-result img,.landing-node img { border-radius: 7px }
.landing-brand-stamp {
  position: relative;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: #203d32 url(/img/icon.png) center/cover no-repeat;
}
.landing-preview-body { display: grid; gap: 16px; padding: clamp(15px,2.6vw,30px) }
.landing-preview-total { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px }
.landing-preview-total p,.landing-preview-date { color: #526659; font-size: .875rem; font-weight: 700 }
.landing-preview-total strong { font: 400 clamp(1.65rem,3.6vw,3rem)/1.08 var(--serif); letter-spacing: -.06em }
.landing-preview-date { text-align: right }
.landing-preview-date strong { display: block; font: inherit; letter-spacing: 0; color: var(--landing-ink) }
.landing-bank-result .split-bar { height: 9px; border-radius: 12px; overflow: hidden }
.landing-bank-result .split-segment-0 { fill: #264d3a }
.landing-bank-result .split-segment-1 { fill: #7a9a5c }
.landing-bank-result .split-segment-2 { fill: #b0ba91 }

.landing-pay-rows,.landing-priority-rows { display: grid; margin: 0; font-size: .93rem }
.landing-pay-rows div,.landing-priority-rows div { display: flex; justify-content: space-between; gap: 9px; padding-block: 9px; border-bottom: 1px solid #dce1d2 }
.landing-pay-rows div:last-child,.landing-priority-rows div:last-child { padding-bottom: 0; border-bottom: 0 }
.landing-pay-rows dt,.landing-priority-rows dt { overflow-wrap: normal; }
.landing-pay-rows dt { display: grid; grid-template-columns: 8px auto; align-items: center; gap: 8px; }
.landing-pay-rows dd,.landing-priority-rows dd { white-space: nowrap; }
.landing-pay-rows dd,.landing-priority-rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums }
.landing-priority-rows dd span { color: #526659; font-weight: 400; }
.landing-dot { width: 8px; height: 8px; border-radius: 50%; background: #264d3a }
.landing-dot--1 { background: #7a9a5c }
.landing-dot--2 { background: #a2ae7d }

.has-motion .landing-header {
  position: fixed;
  inset: 0 0 auto;
  visibility: hidden;
  opacity: 0;
}

.has-motion .intro-controls-visible .landing-header,
.has-motion .intro-controls-visible .landing-hero-copy {
  visibility: visible;
  opacity: 1;
}

.has-motion .landing-hero-stage {
  height: 100vh;
  height: 100dvh;
  perspective: 1400px;
}

.has-motion .landing-hero-layout { position: relative; min-height: 0; height: 100%; transform-style: preserve-3d; }
.has-motion .landing-hero-copy { visibility: hidden; opacity: 0; }
.has-motion .landing-hero-art { position: absolute; inset: 0; transform-style: preserve-3d; }
.has-motion .landing-plan-stack {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(calc((100% - var(--landing-hero-gap)) * .42),520px);
  translate: -50% -50%;
  transform-style: preserve-3d;
  transform: translate3d(var(--stack-x,0px),var(--stack-y,0px),0)
    rotateX(var(--stack-rx,0deg)) rotateY(var(--stack-ry,0deg)) rotateZ(var(--stack-rz,0deg)) scale(var(--stack-scale,1));
}

.has-motion .landing-front-plane {
  display: block;
  transform-style: preserve-3d;
  transform: translate3d(var(--front-x,0px),var(--front-y,0px),var(--front-z,0px));
}

.has-motion .landing-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 1;
  width: var(--mark-width,min(82vw,90dvh,1050px));
  margin: 0;
  translate: -50% -50%;
  transform: translate3d(var(--mark-x,0px),var(--mark-y,0px),2px) scale(var(--mark-scale,1));
  pointer-events: none;
}

.has-motion .landing-mark-track {
  display: inline;
  stroke: #f6f3ea75;
  stroke-width: 2.75;
}

.has-motion .landing-mark-draw {
  stroke: #f6f3ea;
  stroke-dasharray: 100 101;
  stroke-dashoffset: var(--logo-offset,100);
  visibility: var(--stroke-visibility,hidden);
}

.has-motion .landing-preview {
  width: 100%;
  margin: 0;
  visibility: var(--paper-visibility,hidden);
  transform: rotateX(var(--paper-rx,90deg));
}

.has-motion .landing-brand-stamp { background-image: none; }

.has-motion .landing-plan-sheet {
  position: absolute;
  inset: 0;
  display: flex;
  min-width: 0;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(14px,2vw,27px);
  border: 1px solid #b5ab96;
  border-radius: 19px;
  color: #213830;
  background: #e6dfce;
  box-shadow: 0 12px 24px #08171240, inset 0 1px #fcf8ed94;
  visibility: var(--paper-visibility,hidden);
  transform: translate3d(var(--sheet-x,0px),var(--sheet-y,0px),var(--sheet-z,0px))
    rotateX(var(--paper-rx,90deg)) scale(var(--sheet-scale,1));
}

.landing-plan-sheet span {
  display: block;
  color: #466052;
  font-size: .83rem;
  font-weight: 700;
}

.landing-plan-sheet strong {
  font: 400 clamp(1.07rem,2.3vw,1.8rem)/1.2 var(--serif);
  letter-spacing: -.045em;
}

.has-motion .landing-plan-sheet--cash {
  --sheet-x: var(--cash-x,0px);
  --sheet-y: var(--cash-y,0px);
  --sheet-z: var(--cash-z,0px);
  align-items: flex-start;
  border-bottom-color: #9d937a;
}

.has-motion .landing-plan-sheet--goals {
  --sheet-x: var(--goals-x,0px);
  --sheet-y: var(--goals-y,0px);
  --sheet-z: var(--goals-z,0px);
  align-items: flex-end;
  background: #d3d9c9;
  border-color: #b6beab;
}

.landing-story {
  padding-block: clamp(68px,10vw,147px);
  color: var(--landing-ink);
  background: var(--landing-ivory);
}

.landing-story-heading {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin: 0 0 clamp(45px,7vw,100px) clamp(24px,4vw,57px);
}

.landing-story-heading .landing-kicker { color: #346348 }
.landing-story h2,.landing-connections h2 { font-size: clamp(2.7rem,6.15vw,6.1rem); line-height: 1.04 }
.landing-chapters { position: relative; padding-inline-start: clamp(24px,4vw,57px); }
.landing-chapter-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: #b6c1ab; }
.landing-chapter-rail span {
  display: block;
  height: 100%;
  background: #325f44;
  transform-origin: top;
  transform: scaleY(var(--progress,1));
}

.landing-beat {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr);
  align-items: center;
  gap: clamp(25px,6vw,92px);
  min-height: clamp(350px,46vw,555px);
  padding-block: clamp(30px,5vw,70px);
  border-top: 1px solid #d0d8c2;
}

.landing-beat-copy { display: grid; gap: 14px; align-content: start; }
.landing-beat-copy h3 { max-width: 14ch; font-size: clamp(2.15rem,4.05vw,4.35rem); line-height: 1.05 }
.landing-beat-copy p { max-width: 33ch; color: var(--landing-muted); line-height: 1.66; }
.landing-beat::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(24px,4vw,57px));
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translate(-4px,-50%);
  background: #3d6f4c;
  box-shadow: 0 0 0 4px #f5f2e5, 0 0 0 5px #acbda4;
}

.has-motion .landing-beat::before {
  transform: translate(-4px,-50%) scale(calc(.78 + .22 * var(--progress,0)));
}

.landing-beat--chat { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); }
.landing-beat--chat .landing-beat-copy { grid-area: 1/2 }
.landing-beat--chat .landing-scene { grid-area: 1/1 }

.landing-scene {
  display: grid;
  position: relative;
  isolation: isolate;
  align-content: center;
  min-width: 0;
  min-height: clamp(320px,34vw,465px);
  padding: clamp(22px,4.3vw,60px);
  border-radius: clamp(18px,3vw,28px);
  background: #174735;
  box-shadow: 0 14px 36px #233c231c, inset 0 0 0 1px #18362636;
  overflow: clip;
}

.landing-scene::before,.landing-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.landing-scene::before {
  z-index: -1;
  background: radial-gradient(circle,#ddd5be72 1px,transparent 1px) 0 0/13px 13px;
  mask-image: radial-gradient(ellipse 53% 58% at var(--scene-light-x,79%) var(--scene-light-y,15%),#000 14%,transparent 100%);
  opacity: .2;
}
.landing-scene::after {
  z-index: -2;
  background: radial-gradient(ellipse 53% 58% at var(--scene-light-x,79%) var(--scene-light-y,15%),var(--scene-glow),transparent 100%);
  opacity: 0;
}
.landing-scene[data-spotlit]::before { opacity: .95; }
.landing-scene[data-spotlit]::after { opacity: 1; }

.landing-scene--bank { --scene-glow: #55864c; }
.landing-scene--chat {
  --scene-glow: #f0f3d3;
  background: radial-gradient(ellipse at 77% 10%,#e3ebc9,transparent 63%),#bdceac;
}
.landing-scene--chat::before { background-image: radial-gradient(circle,#56745172 1px,transparent 1px); }
.landing-scene--review { --scene-glow: #779567; }

@media (prefers-reduced-motion: no-preference) {
  .landing-scene::before,.landing-scene::after { transition: opacity 180ms ease-out; }
}

.landing-card {
  color: var(--landing-ink);
  border: 1px solid #d8e1ce;
  background: #f7f5ec;
  border-radius: 14px;
  box-shadow: 0 16px 34px #1028184f, inset 0 1px #fff;
  font-size: .9rem;
}

.landing-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 16px;
  color: #30473b;
  font-weight: 700;
}

.landing-card-header span + span { color: #4c634f; font-size: .82rem }

.landing-bank-source { width: min(100%,360px); justify-self: start }

.landing-bank-item {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 15px 14px;
  border-top: 1px solid #dce1d3;
}

.landing-bank-item p,.landing-review-goal p { font-size: .83rem; color: #50665a }

.landing-bank-icon,.landing-chat-icon,.landing-broker-icon {
  display: block;
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  color: #346147;
  background: #e0e9d4;
}

.landing-bank-icon::before {
  position: absolute;
  inset: 8px 7px 7px;
  content: "";
  background: currentColor;
  clip-path: polygon(50% 0,100% 29%,100% 39%,7% 39%,7% 29%,50% 0,17% 48%,27% 48%,27% 78%,44% 78%,44% 48%,55% 48%,55% 78%,72% 78%,72% 48%,83% 48%,83% 78%,100% 78%,100% 92%,0 92%,0 78%,17% 78%,17% 48%);
}

.landing-chat-icon::before {
  content: "";
  position: absolute;
  inset: 10px 8px 11px;
  border: 1.5px solid currentColor;
  border-radius: 4px 4px 4px 1px;
}

.landing-chat-icon::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 12px;
  width: 10px;
  height: 1px;
  border-radius: 2px;
  background: currentColor;
}

.landing-broker-icon::before {
  position: absolute;
  inset: 9px;
  content: "";
  background: currentColor;
  clip-path: polygon(0 70%,22% 70%,22% 100%,0 100%,0 70%,37% 49%,62% 49%,62% 100%,37% 100%,37% 49%,76% 13%,100% 13%,100% 100%,76% 100%,76% 13%);
}

.landing-status {
  justify-self: end;
  padding: 3px 7px;
  color: #2b5d41;
  background: #e2edce;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
}

.landing-bank-beam {
  position: relative;
  height: 36px;
  margin-inline: 16% 22%;
  border-left: 1px solid #ddd3b792;
  border-right: 1px solid #ddd3b792;
}

.landing-bank-beam::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #ddd3b792;
}

.landing-bank-beam span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: calc(var(--transfer,1) * 100%);
  width: 8px;
  height: 8px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: #f6f3ea;
  box-shadow: 0 0 11px 2px #e8ddc878;
}

.landing-bank-result {
  width: min(94%,365px);
  justify-self: end;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.landing-bank-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}

.landing-bank-total span { display: block; color: #526659; font-size: .82rem; font-weight: 700; }
.landing-bank-total > div:first-child strong { font: 400 clamp(1.55rem,2.75vw,2.4rem)/1.1 var(--serif); letter-spacing: -.06em; }

.has-motion .landing-bank-source { transform: translateX(calc((1 - var(--arrival,0)) * -23px)); }
.has-motion .landing-bank-result {
  transform: translate(calc((1 - var(--arrival,0)) * 26px),calc((1 - var(--arrival,0)) * 24px)) scale(calc(.92 + var(--arrival,0) * .08));
  opacity: calc(.14 + var(--arrival,0) * .86);
}

.landing-card--chat {
  display: grid;
  align-items: start;
  justify-self: center;
  width: min(100%,440px);
  gap: 12px;
  padding: 0 15px 15px;
}

.landing-card--chat .landing-card-header { border-bottom: 1px solid #dce1d3; padding-inline: 0; }
.landing p.landing-chat-prompt {
  justify-self: end;
  max-width: 29ch;
  padding: 12px 14px;
  border-radius: 14px 14px 4px 14px;
  background: #23513b;
  color: #f4f7e9;
}

.landing-chat-answer {
  justify-self: start;
  max-width: 31ch;
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  background: #e4ead9;
}

.landing-chat-answer p + p { margin-top: 3px }
.has-motion .landing-chat-prompt {
  transform: translateX(calc((1 - var(--prompt,0)) * 40px));
  opacity: calc(.14 + var(--prompt,0) * .86);
}
.has-motion .landing-chat-answer {
  transform: translate(calc((1 - var(--answer,0)) * -20px),calc((1 - var(--answer,0)) * 25px));
  opacity: calc(.14 + var(--answer,0) * .86);
}

.landing-review-draft { width: min(94%,400px); justify-self: start; }
.landing-review-draft .landing-card-header { border-bottom: 1px solid #dce1d3; flex-wrap: wrap; }
.landing-review-goal {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 15px;
  padding: 13px;
}
.landing-review-goal img { width: clamp(66px,10vw,120px); height: auto; aspect-ratio: 15/11; object-fit: cover; border-radius: 7px }
.landing-review-goal p:last-child { margin-top: 4px; }
.landing-review-goal strong { font: 400 clamp(1.14rem,2.3vw,1.7rem)/1.15 var(--serif); letter-spacing: -.045em; }
.landing-review-result {
  position: relative;
  width: min(81%,285px);
  justify-self: end;
  display: flex;
  gap: 11px;
  align-items: center;
  margin-top: -2px;
  padding: 13px 16px;
  background: #e7efda;
}
.landing-review-result div { display: grid }
.landing-review-result div span { color: #465f50; font-size: .81rem; }
.landing-review-result strong { font-size: 1rem; }
.landing-review-check {
  flex: 0 0 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #cbdcb8;
}
.landing-review-check::after {
  content: "";
  width: 11px;
  height: 6px;
  border: solid #305f46;
  border-width: 0 0 2px 2px;
  transform: translateY(-2px) rotate(-45deg);
}
.has-motion .landing-review-draft {
  transform: perspective(1100px) translateY(calc((1 - var(--draft,0)) * 29px)) rotateY(calc((1 - var(--draft,0)) * -10deg));
  opacity: calc(.23 + var(--draft,0) * .77);
}
.has-motion .landing-review-result {
  transform: translate(calc((1 - var(--confirmation,0)) * 32px),calc((1 - var(--confirmation,0)) * 26px));
  opacity: calc(.14 + var(--confirmation,0) * .86);
}

.landing-connections {
  color: var(--landing-ivory);
  background: radial-gradient(ellipse at 50% 77%,#23452d,transparent 66%),#10261b;
}
.landing-connections-scene {
  display: grid;
  align-content: center;
  gap: clamp(20px,5dvh,54px);
  min-height: calc(100dvh - var(--landing-nav-height));
  padding-block: clamp(22px,5dvh,60px);
}
.has-motion .landing-connections-scene { position: sticky; top: var(--landing-nav-height); }
.has-motion .landing-connections::after {
  content: "";
  display: block;
  height: clamp(440px,90lvh,1000px);
}
.landing-connections-heading {
  display: grid;
  gap: 18px;
  margin-inline: auto;
  max-width: 1060px;
  text-align: center;
  justify-items: center;
}
.landing .landing-connections h2 { font-size: clamp(2.25rem,min(6.15vw,10dvh),6.1rem); text-wrap: balance; }
.landing-connections-heading p { max-width: 56ch; color: #cfddcb; line-height: 1.6; }
.landing-connection-map {
  display: grid;
  gap: clamp(10px,2.1dvh,21px);
  margin: 0;
  padding: clamp(13px,min(4vw,4dvh),42px);
  border: 1px solid #d9d0ba53;
  border-radius: 28px;
  background: #0a1c13c9;
  box-shadow: inset 0 1px #d9d0ba23, 0 22px 50px #05110959;
}
.has-motion .landing-connection-map {
  opacity: calc(.55 + var(--progress,0) * .45);
  transform: translateY(calc((1 - var(--progress,0)) * 15px));
}

.landing-connection-map figcaption { color: #dae6d2; font-size: .86rem; font-weight: 700; }
.landing-lane {
  display: grid;
  grid-template-columns: minmax(0,1fr) .27fr minmax(0,1fr) .27fr minmax(0,1fr);
  align-items: stretch;
}
.landing-lane--broker { padding-top: clamp(9px,2dvh,20px); border-top: 1px solid #d9d0ba31; }
.landing-lane--broker > :first-child { grid-column: 1; }
.landing-lane--broker > :nth-child(2) { grid-column: 2/5; }
.landing-lane--broker > :last-child { grid-column: 5; }
.landing-node {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(9px,1.3vw,18px);
  padding: clamp(11px,1.5vw,20px);
  border: 1px solid #bdcda563;
  border-radius: 14px;
  background: #233e2c;
  box-shadow: 0 8px 19px #030d0768;
}
.landing-node--woodstock { background: #2c5238; border-color: #c9dba08c; }
.landing-node strong { display: block; font-size: clamp(.92rem,1.27vw,1.13rem); }
.landing-node p { color: #d2decb; font-size: .84rem; }
.landing-node--woodstock p { color: #e2ead3; }
.landing-wire:before {
  position: absolute;
  inset: 50% 0 auto;
  content: "";
  height: 1px;
  background: #9ebd8885;
}
.landing-wire { position: relative; }
.landing-signal {
  position: absolute;
  top: 50%;
  left: calc(var(--signal,1) * 100%);
  width: 9px;
  height: 9px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: #f6f3ea;
  box-shadow: 0 0 12px 2px #e8debe60;
}
.landing-lane--broker .landing-wire:before { background: #bdab7c9e; }
.landing-lane--broker .landing-signal { background: #d8c099; box-shadow: 0 0 12px 2px #b5a17a60; }
.has-motion .landing-signal { opacity: var(--signal-opacity,0); }

.landing .landing-close .landing-primary {
  min-height: 35px;
  padding: 5px 15px;
  background: #1f4b35;
  color: #f4f6e9;
  font-size: .81rem;
  box-shadow: 0 3px 10px #324f3440;
}
.landing .landing-close .landing-primary:hover { background: #295e43; }
.landing-footer { background: var(--landing-deep); color: var(--landing-ivory); }
.landing-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 95px;
  gap: 12px 25px;
  padding-block: 14px;
}
.landing-footer p { color: #c1cdbb; font-size: .85rem; }
.landing-footer-signin { margin-inline-start: auto; }

@media (max-width: 760px) {
  .landing {
    --landing-space: clamp(17px,5.3vw,41px);
    --landing-nav-height: 61px;
    --landing-nav-gap: 7px;
  }
  .landing-nav { gap: 12px; }
  .landing-brand { font-size: 1.05rem; gap: 8px; }
  .landing-brand img { width: 27px; height: 27px; }
  .landing-signin,.landing-nav-detail { font-size: .8rem; }
  .landing-signin { padding-inline: 12px; }
  .landing-hero-layout {
    grid-template-columns: minmax(0,1fr);
    align-content: start;
    justify-items: center;
    gap: 24px;
    padding-block: 30px 22px;
    min-height: 0;
  }
  .landing-hero-copy { justify-items: center; text-align: center; gap: 13px; }
  .landing h1 { font-size: clamp(2.48rem,9.7vw,4.05rem); max-width: 16ch; }
  .landing-intro { max-width: 32ch; font-size: .99rem; line-height: 1.52; }
  .landing-kicker { font-size: .75rem; }
  .landing .landing-primary { min-height: 48px; padding-inline: 21px; }
  .landing-preview-top { padding: 9px 12px; }
  .landing-preview-body { gap: 11px; padding: 13px; }
  .landing-pay-rows div,.landing-priority-rows div { padding-block: 5px; }
  .landing-story-heading { margin-inline-start: 19px; }
  .landing-chapters { padding-inline-start: 19px; }
  .landing-beat,.landing-beat--chat { grid-template-columns: minmax(0,1fr); gap: 23px; min-height: 0; padding-block: 27px 40px; }
  .landing-beat--chat .landing-beat-copy,.landing-beat--chat .landing-scene { grid-area: auto; }
  .landing-beat::before { left: -19px; top: 48px; }
  .landing-beat-copy h3 { max-width: 17ch; }
  .landing-beat-copy p { max-width: 42ch; }
  .landing-scene { min-height: 240px; padding: 20px; }
  .landing-lane {
    grid-template-columns: minmax(0,1fr);
    width: min(100%,400px);
    margin-inline: auto;
  }
  .landing-lane--broker > :first-child,.landing-lane--broker > :nth-child(2),.landing-lane--broker > :last-child { grid-column: auto; }
  .landing-wire { height: clamp(10px,2dvh,19px); }
  .landing-wire:before { inset: 0 auto 0 50%; width: 1px; height: auto; }
  .landing-signal { top: calc(var(--signal,1) * 100%); left: 50%; }
  .landing-node { padding: clamp(5px,.9dvh,8px) 11px; line-height: 1.24; }
  .landing-node :is(img,[aria-hidden]) { width: 28px; height: 28px; flex-shrink: 0; }
  .landing-connection-map { gap: 10px; line-height: 1.35; }
  .landing-connections-scene { gap: clamp(14px,3dvh,25px); padding-block: clamp(14px,2.5dvh,24px); }
  .landing-connections-heading { gap: 10px; }
  .landing-connections-heading p { font-size: .875rem; line-height: 1.38; }
}

@media (max-width: 760px) and (max-height: 700px) {
  .landing-connections-scene { gap: 14px; padding-block: 14px; }
  .landing .landing-connections h2 { font-size: clamp(1.8rem,8vw,2.6rem); }
  .landing-connections-heading p { font-size: .81rem; }
  .landing-connection-map { padding: 10px; }
  .landing-node :is(img,[aria-hidden]) { width: 24px; height: 24px; }
  .landing-node strong { font-size: .86rem; line-height: 1.22; }
  .landing-node p { font-size: .76rem; line-height: 1.22; }
}

@media (max-width: 360px) and (max-height: 620px) {
  .landing-connections-scene { gap: 10px; padding-block: 10px; }
  .landing-connections-heading { gap: 7px; }
}

@media (max-height: 520px) {
  .has-motion .landing-connections-scene { position: static; }
  .has-motion .landing-connections::after { content: none; }
}

@media (max-width: 360px) {
  .landing-hero-layout { gap: 17px; }
  .landing-signin { padding-inline: 10px; }
  .landing-card { font-size: .84rem; }
  .landing-card-header { padding: 10px; }
  .landing-bank-item { grid-template-columns: minmax(0,1fr) auto; padding: 9px; }
  .landing-bank-item .landing-bank-icon { display: none; }
  .landing-bank-result { width: 100%; padding: 9px; }
  .landing-pay-rows,.landing-priority-rows { font-size: .83rem; }
  .landing-scene { padding: 15px; }
}

@media (max-height: 665px) and (max-width: 760px) {
  .landing-hero-copy { gap: 9px; }
  .landing h1 { font-size: clamp(2.35rem,9.9vw,3.4rem); }
}

@media (prefers-reduced-motion: no-preference) {
  html:has(body.landing) { scroll-behavior: smooth; }
}

:root:not(.has-motion) .landing .landing-hero-layout {
  align-items: start;
}

:root:not(.has-motion) .landing .landing-hero-copy {
  padding-top: clamp(0px,6vw,64px);
}

:root:not(.has-motion) .landing .landing-chapter-rail span { transform: none; }
:root:not(.has-motion) .landing .landing-bank-beam span { left: 55%; }
:root:not(.has-motion) .landing .landing-signal { --signal: .62; }

@media (max-width: 760px) {
  :root:not(.has-motion) .landing .landing-hero-copy { padding-top: 0; }
}

.landing-wire::after {
  position: absolute;
  inset: 50% 0 auto;
  z-index: 0;
  height: 1px;
  content: "";
  background: #eee7d4;
  transform: scaleX(var(--signal,.62));
  transform-origin: left;
}

.landing-lane--broker .landing-wire::after { background: #d8c099; }
.landing-signal { z-index: 1; }

.landing-signature {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: clip;
  gap: clamp(12px,2vw,24px);
  padding: clamp(38px,7vw,100px) var(--landing-space);
  color: #2f5641;
  background: var(--landing-cream);
}

.landing-signature::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-radial-gradient(ellipse at 52% 74%,transparent 0 23px,#57785536 24px 25px,transparent 26px 40px);
  mask-image: radial-gradient(ellipse at 52% 70%,#000,transparent 70%);
}

.landing .landing-signature h2 {
  font: 400 clamp(3.25rem,15.1vw,13.3rem)/1.08 var(--serif);
  letter-spacing: -.07em;
}

.has-motion .landing-signature h2 {
  transform: translate3d(0,calc((1 - var(--signature-progress,0)) * -12%),0)
    scale(calc(.93 + .07 * var(--signature-progress,0)));
}

@media (max-width: 760px) {
  .landing-wire::after {
    inset: 0 auto 0 50%;
    width: 1px;
    height: auto;
    transform: scaleY(var(--signal,.62));
    transform-origin: top;
  }
}


@media (min-width: 761px) {
  .has-motion .landing-hero-copy { align-self: center; }
}

@media (max-width: 760px), (max-width: 1000px) and (max-height: 520px) and (hover: none) {
  .landing-hero .landing-mark { display: none; }
}

@media (max-width: 760px) {
  .has-motion .landing-hero-layout { display: block; padding: 0; }
  .has-motion .landing-hero-copy { position: absolute; inset: max(75px,12dvh) 0 auto; }
  .has-motion .landing-plan-stack { width: min(100%,485px); }
  .has-motion .landing-plan-sheet { padding: 13px; }
}

@media (max-height: 640px) and (max-width: 760px) {
  .has-motion .landing-hero-copy { inset-block-start: 70px; }
  .has-motion .landing-hero-copy h1 { font-size: clamp(2rem,8.2vw,2.65rem); }
  .has-motion .landing-intro { font-size: .91rem; }
}

@media (min-width: 600px) and (max-height: 520px) {
  .has-motion .landing { --landing-nav-height: 54px; --landing-nav-gap: 5px; }
  .has-motion .landing-hero-layout {
    display: grid;
    grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
    padding-block: calc(var(--landing-nav-height) + 12px) 12px;
  }
  .has-motion .landing-hero-copy {
    position: relative;
    inset: auto;
    justify-items: start;
    text-align: left;
  }
  .has-motion .landing-hero-copy { gap: 10px; }
  .has-motion .landing-hero-copy h1 { font-size: clamp(1.8rem,4vw,2.5rem); }
  .has-motion .landing-intro { font-size: .92rem; }
  .has-motion .landing-primary { min-height: 44px; }
  .has-motion .landing-plan-stack { width: min(48%,460px); }
}

.landing-walkthrough {
  color: var(--landing-ink);
  background: var(--landing-cream);
}

.landing-walkthrough-intro {
  display: grid;
  justify-items: start;
  gap: 15px;
  padding-block: clamp(64px,9vw,125px);
}

.landing-walkthrough-intro-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.landing-walkthrough-scroll-cue { display: none; }
.has-motion .landing-walkthrough-scroll-cue {
  display: grid;
  gap: 5px;
  justify-items: start;
  color: #365749;
  font: 700 clamp(.71rem,1.05vw,.85rem)/1.25 var(--sans);
}
.landing-walkthrough-scroll-track {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: #d9d4c3;
}
.landing-walkthrough-scroll-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2b644f;
  transform-origin: left;
  transform: scaleX(var(--intro-hold,0));
}
.landing .landing-walkthrough-intro .landing-kicker { color: #395c4b; }
.landing-walkthrough-intro h2 {
  max-width: 14ch;
  font-size: clamp(2.7rem,7vw,6.45rem);
  line-height: 1.02;
}
.landing-walkthrough-intro > p:not(.landing-kicker) {
  max-width: 46ch;
  font-size: clamp(1rem,1.6vw,1.24rem);
  line-height: 1.6;
  color: #3c5549;
}
.landing-walkthrough-track { background: #152d24; }
.landing-walkthrough-stage {
  color: var(--landing-cream);
  background: radial-gradient(ellipse at 70% 54%,#29493b,#152d24 68%);
}
.landing-walkthrough-stage-inner { display: grid; }
.landing-walkthrough-rail { display: none; }
.landing-walkthrough-acts { display: grid; }
.landing-walkthrough-act {
  display: grid;
  grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr);
  align-items: center;
  gap: clamp(28px,6vw,84px);
  padding-block: clamp(40px,6vw,80px);
}
.landing-walkthrough-act + .landing-walkthrough-act { border-top: 1px solid #eee7d438; }
.landing-walkthrough-copy { display: grid; justify-items: start; gap: clamp(12px,2vw,20px); }
.landing .landing-walkthrough-copy .landing-trading-kicker { color: #ded0ad; font-size: .77rem; line-height: 1.2; }
.landing-walkthrough-copy h3 { max-width: 15ch; font-size: clamp(2.55rem,4.85vw,5rem); line-height: 1.15; }
.landing-walkthrough-copy p { max-width: 34ch; color: #e1e7dc; font-size: clamp(1rem,1.45vw,1.16rem); line-height: 1.59; }

.landing-walkthrough-visual {
  position: relative;
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: clamp(10px,2.5vw,36px);
}
.landing-walkthrough-card {
  width: min(100%,450px);
  margin: 0;
  overflow: hidden;
  color: var(--landing-ink);
  background: var(--landing-cream);
  border: 1px solid #c4baa4;
  border-radius: clamp(13px,2vw,25px);
  box-shadow: 0 18px 36px #07181160, inset 0 1px #fff8;
}
.landing-walkthrough-card-header {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 12px 17px;
  border-bottom: 1px solid #ded8c9;
  font-size: .88rem;
  font-weight: 700;
}
.landing-walkthrough-card-header img { border-radius: 7px; }
.landing-walkthrough-card-body { padding: clamp(13px,2.4vw,29px); }
.landing .landing-walkthrough-eyebrow {
  margin-bottom: 3px;
  color: #476254;
  font-size: .81rem;
  font-weight: 700;
}
.landing-walkthrough-card-body > strong {
  display: block;
  font: 400 clamp(1.66rem,3.05vw,3rem)/1.1 var(--serif);
  letter-spacing: -.064em;
}
.landing-goals-visual { padding-inline: 0; }
.landing-goals-stage {
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  container-type: inline-size;
  width: min(100%,680px);
  --goal-stage-height: clamp(230px,40dvh,365px);
  min-height: var(--goal-stage-height);
}
.landing-goal-folder { display: none; }

@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .landing-goal-folder {
    --folder-camera: 53deg;
    --folder-yaw: -15deg;
    --folder-roll: -3deg;
    --folder-hinge: 108deg;
    --folder-camera-height: 72%;
    --folder-depth-units: 60;
    --folder-unit: min(.87cqw,4.95px,calc(var(--goal-stage-height) * .0145));
    --folder-width: calc(var(--folder-unit) * 100);
    --folder-depth: calc(var(--folder-unit) * var(--folder-depth-units));
    --folder-left: calc(var(--folder-width) * -.5);
    --folder-back: calc(var(--folder-depth) * -.5);
    --folder-lining: url("/img/goals/leather-briefcase.webp");
    --folder-leather: url("/img/goals/leather-briefcase-overhead.webp");
    --folder-view: translateX(calc(var(--folder-width) * .5)) perspective(clamp(720px,95vw,1300px))
      rotateZ(var(--folder-roll)) rotateY(var(--folder-yaw)) rotateX(var(--folder-camera));
    --folder-thickness: clamp(3px,1.1cqw,8px);
    --folder-hinge-depth: calc(var(--folder-thickness) * .45);
    --folder-cover-view: var(--folder-view)
      translate3d(var(--folder-left),var(--folder-back),var(--folder-hinge-depth)) rotateX(var(--folder-hinge));
    display: block;
    position: absolute;
    top: var(--folder-camera-height);
    left: 50%;
    width: var(--folder-width);
    height: 0;
    transform: translateX(-50%);
    pointer-events: none;
  }
  .landing-goal-folder-back,.landing-goal-folder-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--folder-width);
    height: var(--folder-depth);
    border: 1px solid #9d7953;
    border-radius: calc(var(--folder-unit) * 3.6);
    background-clip: padding-box;
    transform-origin: top left;
  }
  .landing-goal-folder-hinge {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--folder-width) - 6px);
    height: calc(var(--folder-hinge-depth) + 5px);
    border-radius: 3px;
    background: linear-gradient(#4c3325,#302218);
    transform-origin: top left;
    transform: var(--folder-view)
      translate3d(calc(var(--folder-left) + 3px),var(--folder-back),calc(var(--folder-hinge-depth) + 2px))
      rotateX(-90deg);
  }
  .landing-goal-folder-back,.landing-goal-folder-cover--inner {
    background: #263628 var(--folder-lining) 50% 27% / 128% 325%;
    box-shadow: inset 0 0 0 4px #3b2419, inset 0 0 24px #09130bc7;
  }
  .landing-goal-folder-back {
    transform: var(--folder-view) translate3d(var(--folder-left),var(--folder-back),0);
    box-shadow: inset 0 0 0 4px #3b2419, inset 0 0 24px #09130bc7, 0 var(--folder-thickness) 0 #38271d, 0 10px 16px #06151052;
  }
  .landing-goal-folder-pocket {
    position: absolute;
    inset: auto 4px 4px;
    height: 56%;
    background: linear-gradient(135deg,#5e765a66,#121a13bb),#2f442e var(--folder-lining) 50% 31% / 130% 410%;
    border-radius: 1px 1px 7px 7px;
    clip-path: polygon(0 23%,100% 0,100% 100%,0 100%);
  }
  .landing-goal-folder-pocket::after {
    position: absolute;
    inset: 0;
    background: #bea17f;
    clip-path: polygon(0 23%,100% 0,100% 1.5%,0 24.5%);
    content: "";
  }
  .landing-goal-folder-cover {
    z-index: 1;
    display: grid;
    place-items: center;
    backface-visibility: hidden;
  }
  .landing-goal-folder-cover--outer {
    background: var(--folder-leather) 50% 35% / 110% 127% padding-box;
    transform: var(--folder-cover-view);
    box-shadow: inset 0 0 1px 2px #2d1d136b, 0 var(--folder-thickness) 0 #3b2a1e;
  }
  .landing-goal-folder-cover--outer svg { width: 17%; height: auto; }
  .landing-goal-folder-cover--inner {
    box-shadow: inset 0 0 0 4px #3b2419, inset 0 0 24px #09130bc7, 2px 0 0 #8b6042, calc(var(--folder-thickness) * .65) 1px 0 #4b3023;
    transform: var(--folder-cover-view) translateY(var(--folder-depth)) rotateX(180deg);
  }
  .landing-goal-folder-lid-edge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: calc(var(--folder-width) - 8px);
    height: var(--folder-thickness);
    border-radius: 3px;
    background: linear-gradient(#a77a51,#5e3c28 35%,#34221a 85%);
    transform-origin: top left;
    transform: var(--folder-cover-view)
      translate3d(4px,calc(var(--folder-depth) - 1px),calc(var(--folder-thickness) * -.5))
      rotateX(90deg);
  }
  .landing-goal-folder-tab {
    position: absolute;
    right: 8%;
    display: grid;
    place-items: center;
    width: 23%;
    height: 10%;
    border: 1px solid #ae9169;
    border-radius: 7px 7px 0 0;
    background: linear-gradient(#eadbc0,#ccb48d);
    box-shadow: inset 0 0 0 1px #f4e2c5;
    color: #4c3526;
    font-size: clamp(.55rem,1.1cqw,.8rem);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .landing-goal-folder-cover--outer .landing-goal-folder-tab { bottom: -9.5%; border-radius: 0 0 7px 7px; }
  .landing-goal-folder-cover--inner .landing-goal-folder-tab { top: -9.5%; }
  .has-motion .landing-goal-folder {
    --folder-camera: calc(43deg * var(--folder-tip,0));
    --folder-yaw: calc(-10deg * var(--folder-tip,0));
    --folder-roll: calc(-3deg * var(--folder-tip,0));
    --folder-hinge: calc(102deg * var(--folder-open,0));
    --folder-camera-height: calc(54% + var(--folder-tip,0) * 19%);
  }
  .has-motion .landing-goal-folder-hinge { opacity: var(--folder-seam-in,0); }
}
.landing-goal-cards {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: min(100%,530px);
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: stretch;
  gap: clamp(6px,1.05vw,15px);
  margin: 0;
  color: var(--landing-ink);
}
.landing-goal-card {
  --goal-art-height: clamp(34px,8dvh,85px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d2c5ac;
  border-radius: clamp(10px,1.2vw,17px);
  background: var(--landing-cream);
  box-shadow: 0 10px 19px #07140f65, 0 2px 0 #b5a286;
}
.landing-goal-card dt {
  display: grid;
  grid-template-rows: var(--goal-art-height) auto;
  gap: clamp(5px,1dvh,10px);
  font: 400 clamp(1rem,1.7vw,1.65rem)/1.06 var(--serif);
  letter-spacing: -.035em;
}
.landing-goal-card dt > span {
  display: block;
  min-height: 2lh;
  padding: 0 clamp(6px,1vw,13px);
  text-wrap: balance;
}
.landing-goal-card dt svg {
  display: block;
  width: 32px;
  height: 32px;
  align-self: center;
  margin-inline: clamp(6px,1vw,13px);
  padding: 5px;
  border: 1px solid #b8cabe;
  border-radius: 50%;
  color: #32634e;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.landing-goal-card img {
  display: block;
  width: 100%;
  height: var(--goal-art-height);
  object-fit: cover;
  object-position: 50% 56%;
}
.landing-goal-card dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 4px;
  align-content: start;
  min-height: calc(2.5em + 15px);
  margin: 0;
  padding: 7px clamp(6px,1vw,13px) clamp(7px,1vw,13px);
  color: #3e594b;
  font-size: clamp(.63rem,1vw,.78rem);
}
.landing-goal-card dd strong {
  color: #16382b;
  font-size: clamp(.76rem,1.25vw,1rem);
  font-variant-numeric: tabular-nums;
}
.landing-goal-card dd small {
  flex-basis: 100%;
  border-top: 1px solid #d9d2c0;
  margin-top: 3px;
  padding-top: 4px;
  font-size: inherit;
}
.landing-walkthrough-facts {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin: 15px 0 0;
  padding-top: 10px;
  border-top: 1px solid #d9d2c0;
}
.landing-walkthrough-facts dt { color: #3e594b; font-size: .81rem; }
.landing-walkthrough-facts dd { margin: 0; font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.landing-walkthrough-chat { align-self: start; justify-self: center; }
.landing-walkthrough-chat .landing-walkthrough-card-body { display: grid; gap: 10px; }
.landing p.landing-walkthrough-message,
.landing p.landing-walkthrough-reply {
  max-width: min(90%,37ch);
  padding: 10px 12px;
  font-size: .91rem;
  line-height: 1.45;
}
.landing p.landing-walkthrough-message {
  justify-self: end;
  color: #f6f3ea;
  background: #244639;
  border-radius: 12px 12px 3px 12px;
}
.landing p.landing-walkthrough-reply {
  justify-self: start;
  background: #e3e8dd;
  border-radius: 12px 12px 12px 3px;
}
.landing-walkthrough-draft {
  justify-self: start;
  width: min(90%,340px);
  padding: 11px 15px;
  border: 1px solid #c8bfa9;
  border-radius: 13px;
  color: #20392e;
  background: #e8dfc9;
}
.landing-walkthrough-draft strong,.landing-walkthrough-draft span { display: block; }
.landing-walkthrough-draft span { font-size: .81rem; }
.landing-walkthrough-approved { justify-self: start; }
.landing-walkthrough-approved .landing-walkthrough-card-body > strong + p { margin-top: 6px; }

.landing-plan-comparison { justify-self: center; }
.landing-plan-comparison table {
  width: 100%;
  margin-block: clamp(8px,2dvh,20px) clamp(5px,1.2dvh,12px);
  border-collapse: collapse;
  font-size: clamp(.78rem,1.4vw,1rem);
  font-variant-numeric: tabular-nums;
}
.landing-plan-comparison th,.landing-plan-comparison td {
  padding: clamp(4px,1dvh,10px) 5px;
  border-bottom: 1px solid #d8d7c8;
  text-align: right;
}
.landing-plan-comparison th:first-child { padding-left: 0; text-align: left; }
.landing-plan-comparison th:last-child,.landing-plan-comparison td:last-child {
  background: #e1e9da;
  color: #234f3b;
  font-weight: 800;
}
.landing-plan-comparison th[scope="col"] { color: #476254; font-size: .77em; }
.landing .landing-plan-comparison-status { color: #395448; font-size: .83rem; font-weight: 700; }
.has-motion .landing-plan-comparison :is(th,td):last-child {
  opacity: var(--plan-change,0);
  transform: translateY(calc((1 - var(--plan-change,0)) * 9px));
}
.has-motion .landing-plan-comparison-status { opacity: var(--plan-review-ready,0); }

.landing-trade-swipe {
  --swipe: 1;
  --approved: 1;
  --thumb-size: clamp(23px,4.4dvh,34px);
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  min-height: calc(var(--thumb-size) + 8px);
  margin-top: clamp(7px,1.7dvh,17px);
  color: #2c5140;
  background: #e2e9dd;
  border: 1px solid #bfcdbb;
  border-radius: 999px;
  font-size: clamp(.72rem,1.3vw,.9rem);
  font-weight: 800;
}
.has-motion .landing-trade-swipe {
  --swipe: var(--trading-swipe,0);
  --approved: var(--trading-approved,0);
}
.landing-trade-swipe-fill {
  position: absolute;
  z-index: -1;
  inset: -1px;
  border-radius: inherit;
  background: #234f3b;
  clip-path: inset(0 calc((1 - var(--swipe)) * 100%) 0 0 round 999px);
}
.landing-trade-swipe-prompt,.landing-trade-swipe-approved { grid-area: 1 / 1; }
.landing-trade-swipe-prompt { opacity: calc(1 - var(--swipe)); }
.landing-trade-swipe-approved {
  color: #f6f3ea;
  opacity: var(--approved);
  transform: translateY(calc((1 - var(--approved)) * 5px));
}
.landing-trade-swipe-thumb {
  display: grid;
  place-items: center;
  position: absolute;
  inset-inline-start: calc(3px + (100% - var(--thumb-size) - 6px) * var(--swipe));
  width: var(--thumb-size);
  aspect-ratio: 1;
  border-radius: 50%;
  color: #214633;
  background: #f6f3ea;
  box-shadow: 0 2px 7px #09251c42;
}
.landing-trade-swipe-thumb svg {
  grid-area: 1 / 1;
  width: 55%;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.landing-trade-swipe-arrow { opacity: calc(1 - var(--approved)); }
.landing-trade-swipe-check { opacity: var(--approved); }
.landing-trade-swipe-sparks {
  position: absolute;
  inset-inline-end: -6px;
  width: 65px;
  color: #e2c684;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  opacity: 0;
}
.has-motion .landing-trade-swipe-sparks {
  opacity: var(--trading-sparks,0);
  transform: scale(calc(.65 + var(--trading-burst,0) * .55));
}

.landing-walkthrough-trade {
  position: relative;
  justify-self: end;
  width: min(90%,360px);
  margin-top: -1px;
  background: #e3ddcd;
}
.landing-walkthrough-trade .landing-walkthrough-card-body > strong { font-size: clamp(1.4rem,2.7vw,2.5rem); }
.landing-walkthrough-trade .landing-walkthrough-card-body > strong + p { margin-top: 6px; font-size: .9rem; }
.has-motion .landing-walkthrough-act { pointer-events: none; }

.landing-trade-handoff {
  --draft: 1;
  --handoff: 1;
  --broker: 1;
  --packet: 0;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 9px;
  width: min(100%,274px);
  margin-top: clamp(7px,1.8dvh,18px);
}
.has-motion .landing-trade-handoff {
  --draft: var(--trading-draft,0);
  --handoff: var(--trading-handoff,0);
  --broker: var(--trading-broker,0);
  --packet: var(--trading-packet,0);
}
.landing-trade-handoff-draft,.landing-trade-handoff-broker {
  display: grid;
  place-items: center;
  width: clamp(28px,5.8dvh,44px);
  aspect-ratio: 1;
  border: 1px solid #a9bca9;
  border-radius: 9px;
  color: #284b38;
  background: #dbe7d9;
  overflow: hidden;
}
.landing-trade-handoff-draft { opacity: var(--draft); transform: translateY(calc((1 - var(--draft)) * 6px)); }
.landing-trade-handoff img { width: 100%; height: 100%; object-fit: cover; }
.landing-trade-handoff-broker {
  opacity: calc(.4 + var(--broker) * .6);
  box-shadow: 0 0 0 calc(var(--broker) * 3px) #729c7440;
}
.landing-trade-handoff-packet svg {
  width: 72%;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.landing-trade-handoff-route {
  position: relative;
  height: 2px;
  border-radius: 1px;
  background: #c7d3c1;
}
.landing-trade-handoff-route::before {
  position: absolute;
  inset: 0;
  background: #3f7150;
  transform: scaleX(var(--handoff));
  transform-origin: left;
  content: "";
}
.landing-trade-handoff-packet {
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  left: calc(var(--handoff) * 100%);
  width: clamp(14px,3.1dvh,24px);
  aspect-ratio: 1;
  border: 2px solid #e4efdb;
  border-radius: 5px;
  color: #f6f3ea;
  background: #3f7150;
  opacity: var(--packet);
  transform: translate(-50%,-50%);
  box-shadow: 0 1px 6px #284b3859;
}

.landing-walkthrough-chart svg { display: block; width: 100%; height: auto; margin-top: 8px; }
.landing-walkthrough-chart .landing-walkthrough-chart-caption { color: #3f5c4e; font-size: .81rem; }
.landing-walkthrough-chart-grid { stroke: #d7d0be; stroke-width: 1px; }
.landing-walkthrough-chart-guide { stroke: #bfccb9; stroke-width: 3px; }
.landing-walkthrough-chart-line { stroke: #285941; stroke-width: 3.5px; stroke-linecap: round; }
.landing-walkthrough-chart-end { fill: #285941; stroke: var(--landing-cream); stroke-width: 2px; }

.has-motion .landing-walkthrough-track::after {
  content: "";
  display: block;
  height: calc(clamp(3500px,560lvh,9000px) * var(--walkthrough-scroll-scale,1));
}
.has-motion .landing-walkthrough-stage {
  position: sticky;
  top: var(--landing-nav-height);
  height: calc(100vh - var(--landing-nav-height));
  height: calc(100dvh - var(--landing-nav-height));
  overflow: clip;
}
.has-motion .landing-walkthrough-stage-inner {
  height: 100%;
  grid-template-rows: auto minmax(0,1fr);
  padding-block: clamp(12px,4dvh,37px);
}
.has-motion .landing-walkthrough-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 5px;
  padding-bottom: 11px;
  border-bottom: 1px solid #f6f3ea47;
  color: #d5e0d4;
  font-size: .81rem;
  font-weight: 600;
}
.landing-walkthrough-rail span:last-child { text-align: right; }
.landing-walkthrough-rail span:not(:first-of-type):not(:last-child) { text-align: center; }
.landing-walkthrough-rail span.is-current { color: #fffdf5; font-weight: 700; }
.landing-walkthrough-meter {
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--landing-cream);
  transform: scaleX(var(--walkthrough-progress,0));
  transform-origin: left;
}

.has-motion .landing-walkthrough-act {
  grid-area: 1 / 1;
  padding-block: 0;
  border: 0;
  opacity: var(--act-opacity,0);
}
.has-motion .landing-goals-stage { height: var(--goal-stage-height); }
.has-motion .landing-goal-cards {
  width: min(76%,380px);
  grid-template-columns: minmax(0,1fr);
  opacity: var(--goal-deck-in,0);
  transform: translateY(calc((1 - var(--goal-deck-in,0)) * 22px))
    scale(calc(.94 + var(--goal-deck-in,0) * .06));
}
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .has-motion .landing-goal-cards {
    opacity: var(--folder-deck-in,0);
    transform: none;
  }
}
.has-motion .landing-goal-card {
  --depth: var(--goal-card-depth,0);
  --turn: var(--goal-card-turn,0);
  --goal-art-height: clamp(38px,11dvh,104px);
  grid-area: 1 / 1;
  z-index: var(--goal-card-layer,1);
  transform: translate(
    calc(var(--depth) * clamp(6px,1.8cqw,13px) + var(--turn) * clamp(24px,10cqw,78px)),
    calc(var(--depth) * clamp(-13px,-1.8cqw,-6px) - var(--turn) * 15px)
  ) rotate(calc(var(--depth) * 2deg + var(--turn) * 11deg)) scale(calc(1 - var(--depth) * .055));
  filter: brightness(calc(1 - var(--depth) * .075));
}
.has-motion .landing-goal-card dt { font-size: clamp(1.13rem,2vw,1.85rem); }

.has-motion .landing-walkthrough-message {
  opacity: var(--chat-prompt-in,0);
  transform: translateX(calc((1 - var(--chat-prompt-in,0)) * 38px))
    scale(calc(.86 + var(--chat-prompt-in,0) * .14));
  transform-origin: left bottom;
}
.has-motion .landing-walkthrough-reply {
  opacity: var(--chat-reply-in,0);
  transform: translate(calc((1 - var(--chat-reply-in,0)) * -22px),
    calc((1 - var(--chat-reply-in,0)) * 17px));
}
.has-motion .landing-walkthrough-draft {
  opacity: var(--chat-draft-in,0);
  transform: perspective(780px) translateY(calc((1 - var(--chat-draft-in,0)) * 36px))
    rotateX(calc((1 - var(--chat-draft-in,0)) * -20deg))
    scale(calc(.91 + var(--chat-draft-in,0) * .09));
  transform-origin: bottom center;
}

.has-motion [data-act="trading"] .landing-walkthrough-approved { --tray: var(--trading-orders,0); }
.has-motion [data-act="trading"] .landing-walkthrough-trade { --tray: var(--trading-decision,0); }
.has-motion [data-act="review"] .landing-walkthrough-approved { --tray: var(--review-plan,0); }
.has-motion .landing-walkthrough-approved {
  opacity: var(--tray,0);
  transform: perspective(920px) translate(calc((1 - var(--tray,0)) * -54px),
    calc((1 - var(--tray,0)) * 31px)) rotateY(calc((1 - var(--tray,0)) * 35deg))
    rotateZ(calc((1 - var(--tray,0)) * -6deg));
  transform-origin: left center;
}
.has-motion .landing-walkthrough-trade {
  opacity: var(--tray,0);
  transform: perspective(900px) translateY(calc((1 - var(--tray,0)) * 45px))
    rotateX(calc((1 - var(--tray,0)) * -27deg)) scale(calc(.90 + var(--tray,0) * .10));
  transform-origin: top center;
}

.has-motion .landing-walkthrough-chart-line {
  stroke-dasharray: 100 102;
  stroke-dashoffset: var(--chart-offset,100);
  visibility: var(--chart-visibility,hidden);
}
.has-motion .landing-walkthrough-chart-end { opacity: var(--chart-end,0); }

.landing-goal-celebration { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .has-motion [data-celebrate-goal] .landing-goal-celebration {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(ellipse at center,transparent 35%,#cfa96433);
    animation: landing-goal-light 1.45s ease-out both;
  }
  .landing-goal-celebration > g { transform-origin: 50% 50%; }
  .landing-goal-celebration-rays {
    stroke: #e7c47d;
    stroke-width: 2px;
    stroke-linecap: round;
    fill: #e7c47d;
    animation: landing-goal-sweep 1.45s cubic-bezier(.14,.75,.23,1) both;
  }
  .landing-goal-celebration-rays path:first-child { fill: none; }
  .landing-goal-celebration-dots {
    fill: #f6efdb;
    animation: landing-goal-sweep 1.65s cubic-bezier(.17,.62,.28,1) both;
  }
}
@keyframes landing-goal-light {
  0%,100% { opacity: 0; }
  24%,63% { opacity: 1; }
}
@keyframes landing-goal-sweep {
  0% { opacity: 0; transform: scale(.28); }
  25% { opacity: 1; }
  76% { opacity: .9; }
  100% { opacity: 0; transform: scale(1.1); }
}

@media (prefers-reduced-motion: no-preference) {
  .has-card-motion .landing-walkthrough-visual {
    gap: 8px;
    padding: clamp(12px,3vw,23px);
    border-radius: 24px;
    background: radial-gradient(ellipse at 72% 20%,#345b48,#17382b 78%);
    box-shadow: inset 0 1px #e6ecda24;
  }
  .has-card-motion .landing-walkthrough-visual :is(.landing-walkthrough-approved,.landing-walkthrough-trade) {
    width: min(100%,450px);
    justify-self: center;
  }
  .has-card-motion [data-card-play] :is(.landing-preview,.landing-goal-card,.landing-walkthrough-message,
    .landing-walkthrough-reply,.landing-walkthrough-draft,.landing-walkthrough-trade,.landing-plan-comparison-status,
    .landing-bank-result,.landing-chat-answer,.landing-review-result) {
    animation: landing-card-arrive .42s var(--card-delay,.12s) ease-out backwards;
  }
  .has-card-motion [data-card-play] .landing-preview { --card-delay: .4s; }
  .has-card-motion [data-card-play] .landing-goal-card:nth-child(2) { --card-delay: .25s; }
  .has-card-motion [data-card-play] .landing-goal-card:nth-child(3) { --card-delay: .38s; }
  .has-card-motion [data-card-play] .landing-goal-card:nth-child(4) { --card-delay: .51s; }
  .has-card-motion [data-card-play] :is(.landing-walkthrough-reply,.landing-bank-result,.landing-chat-answer) { --card-delay: .42s; }
  .has-card-motion [data-card-play] :is(.landing-walkthrough-draft,.landing-plan-comparison-status,.landing-review-result) { --card-delay: .72s; }
  .has-card-motion [data-card-play] .landing-walkthrough-trade { --card-delay: .82s; }
  .has-card-motion [data-card-play] .landing-trade-handoff-route::before { animation: landing-card-line .68s .16s ease-out backwards; }
  .has-card-motion [data-card-play] .landing-trade-handoff-packet { animation: landing-card-packet .68s .16s ease-in-out; }
  .has-card-motion [data-card-play] .landing-trade-swipe-fill { animation: landing-card-swipe .48s 1.3s ease-in-out backwards; }
  .has-card-motion [data-card-play] .landing-trade-swipe-thumb { animation: landing-card-thumb .48s 1.3s ease-in-out backwards; }
  .has-card-motion [data-card-play] :is(.landing-trade-swipe-approved,.landing-trade-swipe-check) {
    animation: landing-card-appear .18s 1.78s ease-out backwards;
  }
  .has-card-motion [data-card-play] :is(.landing-trade-swipe-prompt,.landing-trade-swipe-arrow) {
    animation: landing-card-prompt .48s 1.3s ease-in-out backwards;
  }
  .has-card-motion [data-card-play] .landing-trade-swipe-sparks { animation: landing-card-spark .55s 1.74s ease-out; }
  .has-card-motion [data-card-play] .landing-walkthrough-chart-line {
    stroke-dasharray: 100 102;
    animation: landing-card-draw .94s ease-in-out backwards;
  }
  .has-card-motion [data-card-play] .landing-walkthrough-chart-end {
    transform-box: fill-box;
    transform-origin: center;
    animation: landing-card-milestone .55s .9s ease-out backwards;
  }
  .has-card-motion .landing-connection-map[data-card-play] .landing-wire::after {
    animation: landing-card-wire .52s var(--card-delay,.1s) ease-out both;
  }
  .has-card-motion .landing-connection-map[data-card-play] .landing-wire:nth-child(4) { --card-delay: .62s; }
  .has-card-motion .landing-connection-map[data-card-play] .landing-lane--broker .landing-wire { --card-delay: 1.14s; }
}

@keyframes landing-card-arrive { from { opacity: 0; transform: translateY(9px); } }
@keyframes landing-card-appear { from { opacity: 0; } }
@keyframes landing-card-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes landing-card-line { from { transform: scaleX(0); } }
@keyframes landing-card-wire { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 760px) {
  @keyframes landing-card-wire { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
@keyframes landing-card-packet {
  0% { left: 0; opacity: 0; }
  15%,85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@keyframes landing-card-swipe { from { clip-path: inset(0 100% 0 0 round 999px); } }
@keyframes landing-card-thumb { from { inset-inline-start: 3px; } }
@keyframes landing-card-prompt { 0%,35% { opacity: 1; } }
@keyframes landing-card-spark { 38% { opacity: 1; transform: scale(1.12); } }
@keyframes landing-card-milestone { 0% { opacity: 0; } 43% { transform: scale(1.8); } }

@media (max-width: 760px) {
  .landing-walkthrough-intro { gap: 11px; }
  .landing-walkthrough-act {
    grid-template-columns: minmax(0,1fr);
    justify-items: start;
    gap: clamp(15px,3dvh,30px);
  }
  .landing-walkthrough-copy { gap: 8px; }
  .landing-walkthrough-copy h3 { max-width: 17ch; font-size: clamp(1.98rem,7.65vw,3.8rem); }
  .landing-walkthrough-copy p { max-width: 41ch; }
  .landing-walkthrough-visual { width: 100%; padding: 0; }
  .has-motion .landing-walkthrough-act {
    align-content: center;
    grid-template-rows: auto auto;
    align-items: start;
  }
  .landing-walkthrough-chart svg { max-height: 103px; }
}

@media (max-height: 650px) {
  .has-motion .landing-walkthrough-stage-inner { padding-block: 10px; }
  .has-motion .landing-walkthrough-copy { gap: 7px; }
  .has-motion .landing-walkthrough-copy h3 { font-size: clamp(1.86rem,3.8vw,3.3rem); }
  .has-motion .landing-walkthrough-copy p { font-size: .92rem; line-height: 1.45; }
  .has-motion .landing-walkthrough-visual { padding: 0; }
  .has-motion .landing-walkthrough-card-header { padding: 7px 12px; }
  .has-motion .landing-walkthrough-card-body { padding: 11px 13px; }
  .has-motion .landing-walkthrough-card-body > strong { font-size: clamp(1.5rem,3vw,2.1rem); }
  .has-motion .landing-walkthrough-facts { margin-top: 9px; padding-top: 6px; }
  .has-motion .landing-walkthrough-chart svg { max-height: 71px; }
}

@media (min-width: 761px) and (hover: hover) and (pointer: fine) and (max-height: 520px) {
  .has-motion .landing-goal-folder { --folder-depth-units: 39; }
}

@media (min-width: 600px) and (max-height: 520px) {
  .has-motion .landing-goals-stage { --goal-stage-height: clamp(151px,48dvh,213px); }
  .has-motion .landing-goal-card { --goal-art-height: clamp(29px,7dvh,46px); }
  .has-motion .landing-goal-card dt { font-size: clamp(.87rem,2.2vw,1.2rem); }
  .has-motion .landing-goal-card dt svg { width: 24px; height: 24px; margin-block: 6px; padding: 3px; }
  .has-motion .landing-walkthrough-act {
    grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr);
    grid-template-rows: auto;
    gap: 15px;
    align-items: center;
  }
}

@media (min-width: 600px) and (max-height: 360px) {
  .has-motion .landing-walkthrough-card-body { padding: 7px 10px; }
  .has-motion .landing-walkthrough-chart svg { max-height: 50px; }
}

@media (max-width: 760px) and (max-height: 740px), (min-width: 600px) and (max-height: 360px) {
  .has-motion [data-act="chat"] { align-content: start; }
  .has-motion [data-act="chat"] .landing-walkthrough-copy h3 { font-size: clamp(1.8rem,4.45vw,2.4rem); }
  .has-motion .landing-walkthrough-chat .landing-walkthrough-card-body { gap: 6px; }
  .has-motion .landing-walkthrough-chat .landing-walkthrough-card-body p { max-width: 94%; padding: 5px 9px; font-size: .82rem; line-height: 1.38; }
  .has-motion .landing-walkthrough-draft {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    width: 100%;
    padding: 6px 9px;
    font-size: .81rem;
  }
}


@media (min-width: 600px) and (max-height: 435px) {
  .has-motion .landing-walkthrough-trade { width: min(100%,360px); }
  .has-motion .landing-walkthrough-trade .landing-walkthrough-card-body > strong { font-size: clamp(1.2rem,2.6vw,1.55rem); }
}

.landing-walkthrough-intro {
  color: var(--landing-ink);
  background: var(--landing-cream);
  box-shadow: 0 0 0 100vmax var(--landing-cream);
  clip-path: inset(0 -100vmax);
}

.has-motion .landing-walkthrough[id] { scroll-margin-top: var(--landing-nav-height); }

.has-motion .landing-walkthrough-stage {
  isolation: isolate;
}
.has-motion .landing-walkthrough-stage::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--landing-cream);
  opacity: var(--intro-backdrop,1);
  content: "";
}
.has-motion .landing-walkthrough-intro {
  position: absolute;
  inset: 0;
  margin-block: 0;
  align-content: center;
  padding-block: clamp(12px,5dvh,45px);
  box-shadow: none;
  clip-path: none;
  background: transparent;
  opacity: var(--act-opacity,1);
}
.has-motion .landing-walkthrough-intro > * {
  transform: translateY(calc(var(--act-offset,0) * 76px));
}
.has-motion .landing-walkthrough-rail { opacity: var(--rail-opacity,0); }
.has-motion .landing-walkthrough-intro:not([data-active]),
.has-motion .landing-walkthrough-act:not([data-active]) {
  visibility: hidden;
}
.has-motion .landing-walkthrough-act { opacity: var(--act-opacity,0); }
.has-motion .landing-walkthrough-copy {
  transform: translateY(calc(var(--act-offset,0) * 62px));
}
.has-motion .landing-walkthrough-visual {
  transform: translate3d(calc(var(--act-offset,0) * 48px),calc(var(--act-offset,0) * 92px),0)
    rotate(calc(var(--act-offset,0) * 4deg)) scale(var(--act-scale,1));
}

.has-motion .landing-hero:is([data-flat-plan],[data-scene="draw"],[data-scene="logo-hold"]) .landing-hero-stage { perspective: none; }
.has-motion .landing-hero:is([data-flat-plan],[data-scene="draw"],[data-scene="logo-hold"]) :is(.landing-hero-layout,.landing-hero-art,.landing-plan-stack,.landing-front-plane) {
  transform-style: flat;
}
.has-motion .landing-hero:is([data-flat-plan],[data-scene="draw"],[data-scene="logo-hold"]) .landing-plan-stack {
  transform: none;
  translate: none;
  left: calc(50% + var(--stack-x) - var(--stack-half-width));
  top: calc(50% + var(--stack-y) - var(--stack-half-height));
  left: round(nearest,calc(50% + var(--stack-x) - var(--stack-half-width)),1px);
  top: round(nearest,calc(50% + var(--stack-y) - var(--stack-half-height)),1px);
}
.has-motion .landing-hero:is([data-flat-plan],[data-scene="draw"],[data-scene="logo-hold"]) :is(.landing-front-plane,.landing-preview) { transform: none; }
.has-motion .landing-hero[data-flat-plan] .landing-plan-sheet {
  transform: none;
  inset: var(--sheet-y) calc(-1 * var(--sheet-x)) calc(-1 * var(--sheet-y)) var(--sheet-x);
}
.has-motion .landing-hero:is([data-flat-plan],[data-scene="draw"],[data-scene="logo-hold"]) .landing-front-plane { position: relative; }
.has-motion .landing-hero[data-flat-plan] .landing-mark {
  width: 23px;
  left: calc(50% + var(--mark-x) - 11.5px);
  top: calc(50% + var(--mark-y) - 8.37px);
  translate: none;
  transform: none;
}

.has-motion .landing-hero:is([data-scene="draw"],[data-scene="logo-hold"]) .landing-mark {
  left: calc(50% - var(--mark-width) / 2);
  top: calc(50% - var(--mark-width) * 270 / 742);
  translate: none;
  transform: none;
}

@media (min-width: 600px) and (max-height: 360px) {
  .has-motion .landing-walkthrough-act[data-act="trading"] { align-content: start; }
  .has-motion .landing-walkthrough-act:is([data-act="review"],[data-act="trading"]) .landing-walkthrough-visual {
    grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr);
    align-items: center;
    gap: 8px;
  }
}

.landing-institutions { --institution-size: clamp(48px,5.2vw,78px); min-width: 0; width: 100%; margin-top: clamp(8px,3.7dvh,36px); }
.landing-institutions-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.landing-institutions-heading p { font-size: .88rem; font-weight: 700; color: #395c4b; }
.landing-institutions-pause {
  border: 1px solid #bec8b7;
  border-radius: 18px;
  background: transparent;
  color: #244638;
  cursor: pointer;
  padding: 4px 12px;
  font: 600 .8rem var(--sans);
}
.landing-institutions-window { overflow-x: auto; }
.landing-institutions-track { position: relative; display: flex; width: max-content; }
.landing-institutions-track::before {
  position: absolute;
  inset: calc(var(--institution-size) / 2 + 5px) 0 auto;
  height: 1px;
  background: #e3cda9;
  content: "";
  pointer-events: none;
}
.landing-institutions-list {
  display: flex;
  gap: clamp(12px,2.2vw,32px);
  align-items: start;
  margin: 0;
  padding: 5px clamp(12px,2.2vw,32px) 6px 5px;
  list-style: none;
}
.landing-institution {
  min-width: min(134px,32vw);
  display: grid;
  justify-items: center;
  gap: 3px;
  text-align: center;
  font-size: .86rem;
  color: #244638;
}
.landing-institution > span:last-child { color: #526659; font-size: .73rem; }
.landing-institution-mark {
  --institution-background: transparent;
  box-sizing: border-box;
  position: relative;
  display: grid;
  place-items: center;
  width: var(--institution-size);
  height: var(--institution-size);
  margin-bottom: 4px;
  border: 1px solid #e3cda9;
  border-radius: 50%;
  background: #faf6eb;
  box-shadow: 0 0 0 3px #fbf2e0, 0 0 0 4px #ead9bb, 0 5px 12px #58442414;
}
.landing-institution-mark:has(img[src$="/td.png"]) { --institution-background: #43b02a; }
.landing-institution-mark:has(img[src$="/questrade.png"]) { --institution-background: #c4ffb1; }
.landing-institution-mark:has(img[src$="/wells-fargo.png"]) { --institution-background: #d71e28; }
.landing-institution-logo {
  display: grid;
  place-items: center;
  width: calc(var(--institution-size) * .62);
  height: calc(var(--institution-size) * .62);
  border-radius: 50%;
  overflow: hidden;
  background: var(--institution-background);
}
.landing-institution-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.landing-institution-logo:has(img[src$="/bmo.svg"]) { width: calc(var(--institution-size) * .76); overflow: visible; }
.landing-institution-logo img[src$="/rbc.svg"] { width: 80%; height: 90%; }
.landing-institution-logo img[src$="/scotiabank.svg"] { width: 73%; height: 73%; }
.landing-institution-logo img:is([src$="/cibc.png"],[src$="/chase.png"],[src$="/bank-of-america.png"],[src$="/capital-one.png"]) {
  mix-blend-mode: multiply;
}
.landing-institutions-copy, :root:not(.has-motion) .landing-institutions-pause { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .has-motion .landing-institutions-window {
    overflow: hidden;
    mask-image: linear-gradient(to right,transparent,black 5%,black 95%,transparent);
  }
  .has-motion .landing-institutions-window:focus-visible {
    overflow-x: auto;
    mask-image: none;
    outline-offset: -2px;
  }
  .has-motion .landing-institutions-copy { display: flex; }
  .has-motion [data-active] .landing-institutions-track { animation: landing-institutions-scroll 42s linear infinite; }
  .has-motion [data-paused] .landing-institutions-track { animation-play-state: paused; }
  .has-motion .landing-institutions-window:focus-visible .landing-institutions-track { animation: none; }
  .has-motion .landing-institutions-window:focus-visible .landing-institutions-copy { display: none; }
}
@keyframes landing-institutions-scroll {
  to { transform: translateX(-50%); }
}

@media (max-height: 435px) {
  .has-motion .landing-walkthrough-intro { gap: 7px; }
  .has-motion .landing-walkthrough-intro h2 { font-size: clamp(1.9rem,5.5vw,3.1rem); max-width: 19ch; }
  .has-motion .landing-walkthrough-intro > p:not(.landing-kicker) { font-size: .91rem; line-height: 1.35; max-width: 58ch; }
  .has-motion .landing-institutions { --institution-size: 42px; margin-top: 3px; }
  .has-motion .landing-institutions-heading { margin-bottom: 3px; }
}

@media (max-height: 360px) {
  .has-motion .landing-walkthrough-intro { gap: 2px; padding-block: 8px; }
  .has-motion .landing-walkthrough-intro h2 { font-size: clamp(1.7rem,4.7vw,2.4rem); }
  .has-motion .landing-institutions { --institution-size: 34px; margin-top: 0; }
  .has-motion .landing-institutions-heading { margin-bottom: 0; }
  .has-motion .landing-institutions-list { padding-bottom: 4px; }
  .has-motion .landing-institution-mark { margin-bottom: 1px; }
}

@media (max-width: 980px), (max-height: 520px) {
  .has-motion .landing-walkthrough-copy {
    transform: translateY(calc(var(--act-offset,0) * 36px));
  }
  .has-motion .landing-walkthrough-visual {
    transform: translate3d(calc(var(--act-offset,0) * 9px),calc(var(--act-offset,0) * 36px),0)
      rotate(calc(var(--act-offset,0) * 2deg)) scale(var(--act-scale,1));
  }
  .has-motion .landing-walkthrough-message {
    transform: translateX(calc((1 - var(--chat-prompt-in,0)) * 10px))
      scale(calc(.86 + var(--chat-prompt-in,0) * .14));
  }
  .has-motion .landing-walkthrough-reply {
    --reply-travel: clamp(7px,calc(4dvh - 5px),15px);
    transform: translate(calc((1 - var(--chat-reply-in,0)) * -9px),
      calc((1 - var(--chat-reply-in,0)) * var(--reply-travel)));
  }
  .has-motion .landing-walkthrough-draft {
    transform: perspective(780px) translateY(calc((1 - var(--chat-draft-in,0)) * 26px))
      rotateX(calc((1 - var(--chat-draft-in,0)) * -20deg))
      scale(calc(.91 + var(--chat-draft-in,0) * .09));
    transform-origin: bottom center;
  }
  .has-motion .landing-walkthrough-approved {
    transform: perspective(900px) translateY(calc((1 - var(--tray,0)) * 25px))
      rotateX(calc((1 - var(--tray,0)) * 24deg)) scale(calc(.89 + var(--tray,0) * .11));
    transform-origin: bottom center;
  }
}

@media (min-width: 600px) and (max-height: 360px) {
  .has-motion .landing-walkthrough-approved {
    transform: perspective(900px) translateY(calc((1 - var(--tray,0)) * 13px))
      rotateX(calc((1 - var(--tray,0)) * 24deg)) scale(calc(.89 + var(--tray,0) * .11));
  }
  .has-motion .landing-walkthrough-trade {
    transform: perspective(900px) translateY(calc((1 - var(--tray,0)) * 14px))
      rotateX(calc((1 - var(--tray,0)) * -27deg)) scale(calc(.90 + var(--tray,0) * .10));
  }
}

.has-motion .landing-walkthrough-visual.landing-goals-visual { transform: none; }

@media (max-width: 360px) {
  .landing-goal-card dt { font-size: .88rem; }
}

@media (min-width: 1440px) {
  .landing :is(.landing-hero-layout,.landing-walkthrough-stage-inner,.landing-walkthrough-intro) {
    width: min(88%,1580px);
  }
  .landing-hero-layout { --landing-hero-gap: clamp(46px,4vw,78px); }
  .landing-walkthrough-copy h3 { max-width: 17ch; }
}

@media (min-width: 1680px) and (min-height: 700px) {
  .has-motion .landing-plan-stack { width: min(calc((100% - var(--landing-hero-gap)) * .42),590px); }
  .landing h1 { font-size: 5.1rem; }
}

@media (max-width: 760px) and (orientation: portrait) {
  .landing {
    --landing-space: clamp(16px,4.25vw,27px);
    --phone-scene-height: calc(100svh - var(--landing-nav-height));
  }

  .landing :is(.landing-hero-layout,.landing-walkthrough-intro,.landing-walkthrough-act,
    .landing-beat,.landing-connections-scene,.landing-signature) {
    min-block-size: var(--phone-scene-height);
    align-content: center;
    padding-block: clamp(32px,6svh,58px);
  }

  .landing :is(.landing-hero-layout,.landing-walkthrough-intro,.landing-walkthrough-act,
    .landing-beat,.landing-connections-scene) { gap: clamp(22px,4svh,41px); }
  .landing :is(.landing-walkthrough-intro,.landing-walkthrough-act,.landing-beat,.landing-connections-scene) {
    min-block-size: calc(var(--phone-scene-height) + clamp(66px,11svh,112px));
    gap: clamp(52px,8.5svh,86px);
    padding-block: clamp(56px,10svh,104px);
  }
  .landing-walkthrough-copy { gap: 14px; }
  .landing :is(.landing-walkthrough-chat .landing-walkthrough-card-body,.landing-card--chat) { gap: 18px; }
  .landing-walkthrough-copy h3,.landing-beat-copy h3 { font-size: clamp(2.25rem,9.6vw,4.1rem); }
  .landing-walkthrough-copy h3 { max-width: 18ch; }
  .landing-walkthrough-intro h2 { font-size: clamp(2.8rem,10.4vw,5rem); }
  .landing .landing-connections h2 { font-size: clamp(2.45rem,9vw,4.2rem); }
  .landing .landing-connections-heading p { font-size: .95rem; }

  .landing .landing-hero-art { width: 100%; max-width: 520px; }
  .landing-preview-body { padding: clamp(16px,4.25vw,23px); }

  .landing .landing-walkthrough-visual {
    align-content: center;
    min-block-size: clamp(250px,35svh,354px);
    gap: clamp(15px,4vw,23px);
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .landing :is(.landing-walkthrough-card,.landing-goal-card) { box-shadow: 0 8px 19px #07181160; }
  .landing .landing-goal-cards { gap: clamp(14px,4vw,22px); }
  .landing .landing-walkthrough-draft {
    width: 100%;
    padding-inline: 0;
    border: 0;
    border-top: 1px solid #d9d2c0;
    border-radius: 0;
    background: none;
  }
  .landing .landing-walkthrough-card-body { padding: clamp(15px,4vw,23px); }
  .landing .landing-walkthrough-card-body > strong { font-size: clamp(1.8rem,7.4vw,2.75rem); }
  .landing .landing-goal-card { --goal-art-height: clamp(50px,10svh,99px); }
  .landing .landing-goal-card dt { font-size: clamp(.95rem,4.3vw,1.3rem); }
  .landing .landing-walkthrough-chart svg { max-height: none; }

  .landing-story { padding-block: clamp(42px,7svh,74px) 0; }
  .landing-story-heading { margin: 0 0 clamp(26px,5svh,48px); }
  .landing-chapters { padding-inline-start: 0; }
  .landing-chapter-rail,.landing-beat::before { display: none; }
  .landing .landing-scene { min-block-size: clamp(275px,40svh,405px); }
  .landing .landing-scene--bank { padding: clamp(12px,4vw,24px); }
  .landing-scene--bank :is(.landing-bank-source,.landing-bank-result) {
    width: min(100%,380px);
    justify-self: center;
  }
  .landing-scene--bank .landing-bank-result { padding: clamp(13px,4vw,19px); }
  .landing-scene--bank .landing-bank-beam {
    justify-self: center;
    width: 1px;
    height: clamp(29px,5svh,44px);
    margin: 0;
    border: 0;
  }
  .landing-scene--bank .landing-bank-beam::before {
    inset: 0;
    height: 100%;
    transform-origin: top;
  }
  .landing-scene--bank .landing-bank-beam span { left: 50%; }
  .has-card-motion .landing-scene--bank[data-card-play] .landing-bank-beam::before {
    animation: landing-card-wire .35s .1s ease-out backwards;
  }

  .landing-connection-map {
    gap: clamp(14px,3.6vw,23px);
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }
  .landing-connection-map .landing-node {
    min-block-size: 56px;
    gap: 12px;
    padding: 9px 13px;
    box-shadow: none;
  }
  .landing-connection-map .landing-node :is(img,[aria-hidden]) {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
  }
  .landing-connection-map .landing-node strong { font-size: .98rem; }
  .landing-connection-map .landing-node p { font-size: .84rem; }
  .landing-connection-map .landing-wire { height: clamp(20px,3.2svh,30px); }
  .landing-connection-map .landing-lane--broker { padding-top: clamp(14px,3.6vw,23px); }

  .landing-signature { gap: 18px; }
  .landing-signature::before {
    inset: 50% auto auto 50%;
    width: min(112%,560px);
    aspect-ratio: 4 / 3;
    transform: translate(-50%,-50%);
    background: repeating-radial-gradient(ellipse at center,transparent 0 14px,#57785536 15px,transparent 16px 25px);
    mask-image: radial-gradient(ellipse at center,#000,transparent 72%);
  }
  .landing .landing-signature h2 {
    font-size: clamp(2.75rem,13.5vw,5.4rem);
    letter-spacing: -.045em;
  }
}
