.product-intro { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(30px, 5vw, 76px); padding-top: clamp(32px, 4vw, 66px); padding-bottom: 48px; }
.product-copy h1 { margin: 16px 0 20px; font-size: clamp(39px, 4.55vw, 67px); line-height: 1.04; text-wrap: balance; }
.product-copy > p { max-width: 48ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.48; color: var(--muted); }
.product-jump { display: inline-flex; gap: 18px; align-items: baseline; margin-top: 24px; padding-bottom: 3px; border-bottom: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; }
.product-jump:hover { border-color: currentColor; }
.product-intro + .flow { margin-top: 0; }
.product-intro + .block { padding-top: 48px; border-top: 1px solid var(--line); }
.product-intro > :nth-child(2) { min-width: 0; margin: 0; min-height: clamp(355px, 32vw, 475px); }
.study-tag, .desktop-bar, .platform-atlas a > span { font-size: 11px; font-weight: 550; letter-spacing: .12em; text-transform: uppercase; }
.study-heading { font: 400 clamp(32px, 3.55vw, 54px)/1.1 var(--display); letter-spacing: -.045em; }
.study-tag + .study-heading { margin-top: 20px; }
.study-sub { margin-top: 6px; font-size: 15px; opacity: .85; }
.platform-atlas { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.platform-atlas a { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: clamp(16px, 2vw, 30px); color: white; background-position: center; background-size: cover; }
.platform-atlas a:first-child { grid-row: span 2; background-image: linear-gradient(transparent 45%, #19241de0), url('img/tree.jpg'); }
.platform-atlas a:nth-child(2) { background-image: linear-gradient(transparent, #302a20dd), url('img/rings.jpg'); }
.platform-atlas a:nth-child(3) { background: linear-gradient(transparent, #29271fbb), var(--brown) url('img/layers.png') center / cover; }
.platform-atlas strong { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 6px; font: 400 clamp(29px, 3vw, 46px)/1.1 var(--display); letter-spacing: -.04em; }
.platform-atlas i { font: 22px var(--sans); transition: transform .2s; }
.platform-atlas a:hover i, .platform-atlas a:focus-visible i { transform: translate(2px, -2px); }
.roots-desktop { background: var(--leaf) url('img/blur-wide.jpg') center / cover; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; }
.desktop-bar { display: flex; justify-content: space-between; align-items: center; align-self: start; width: 100%; padding: 9px 16px; background: #fffef8dd; color: var(--brown); }
.desktop-bar b { text-transform: none; font-size: 13px; letter-spacing: -.01em; }
.capture-menu { align-self: center; width: min(77%, 280px); padding: 22px; margin: 18px 0; border: 1px solid #fffffff0; border-radius: 14px; box-shadow: 0 18px 44px #14241844; background: #faf8eaf5; }
.capture-title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 550; }
.capture-title svg { width: 25px; height: 14px; }
.capture-state { display: flex; align-items: center; gap: 8px; padding: 14px 0; margin-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.capture-state i { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); }
.paused .capture-state i { background: #b77427; }
.capture-menu p { font-size: 12px; color: var(--muted); }
.pause-capture { width: 100%; margin-top: 5px; padding: 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--brown); font: inherit; font-size: 14px; cursor: pointer; }
.pause-capture:hover { background: var(--bone-soft); }
.desktop-dock { display: flex; gap: 6px; margin-bottom: 12px; padding: 5px 8px; background: #fffef8aa; border: 1px solid #ffffff99; border-radius: 12px; }
.desktop-dock img { width: clamp(23px, 2.5vw, 37px); aspect-ratio: 1; object-fit: contain; }
.line-study { display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 3vw, 44px); }
.line-study { color: var(--paper); background: #273a29; }
.line-study .study-tag { color: var(--lime); }
.stream { display: grid; grid-template-columns: auto minmax(46px, 1fr) auto; align-items: center; margin: 30px 0; }
.stream-sources { display: grid; height: 116px; align-content: space-between; font-size: clamp(12px, 1.13vw, 16px); }
.stream-sources span { padding: 4px 12px 4px 0; border-right: 3px solid var(--lime); }
.stream-sources span:nth-child(2) { border-color: var(--sage); }
.stream-sources span:nth-child(3) { border-color: var(--blue); }
.stream svg { width: 100%; height: 114px; }
.stream-out { padding-left: 12px; border-left: 3px solid var(--cream); }
.stream-out b { display: block; font: 400 clamp(28px, 3.2vw, 48px)/1.1 var(--display); letter-spacing: -.04em; }
.stream-out span { display: block; font-size: 12px; line-height: 1.2; opacity: .8; }
.study-foot { display: flex; gap: 20px; justify-content: space-between; padding-top: 12px; border-top: 1px solid #faf8ea50; font-size: 13px; }
.cloud-study { display: grid; place-content: center; justify-items: center; gap: 18px; padding: 25px; background: radial-gradient(#6781836b .8px, transparent .9px) 0 0 / 11px 11px, var(--blue); }
.cloud-switch { display: flex; gap: 2px; border: 1px solid #7d9696; padding: 3px; background: #e8f0ec; border-radius: 6px; }
.cloud-switch button { padding: 8px 12px; border: 0; border-radius: 3px; background: transparent; color: var(--brown); font: 500 13px var(--sans); cursor: pointer; }
.cloud-switch [aria-pressed="true"] { background: #324d4c; color: white; }
.cloud-boundary { width: min(100%, 335px); padding: 20px 27px; border: 1px dashed #536d6b; background: #eff4ee; text-align: center; }
.cloud-logos { display: flex; justify-content: center; align-items: center; gap: 15px; margin: 18px 0 14px; min-height: 37px; }
.cloud-logos img { width: 41px; height: 33px; object-fit: contain; }
.cloud-mark svg { width: 52px; height: 29px; }
.cloud-boundary strong { font: 400 clamp(24px, 2.4vw, 34px)/1.2 var(--display); letter-spacing: -.04em; }
.cloud-boundary p { margin: 7px auto 0; max-width: 28ch; font-size: 14px; }
@media (max-width: 760px) {
  .product-intro { grid-template-columns: 1fr; gap: 0; padding-top: 21px; padding-bottom: 26px; }
  .product-copy { display: contents; }
  .product-copy h1 { font-size: clamp(30px, 7.6vw, 43px); max-width: 20ch; margin: 7px 0 18px; }
  .product-intro > :nth-child(2) { grid-row: 3; min-height: 252px; }
  .product-copy > p { margin: 18px 0 0; }
  .product-jump { justify-self: start; margin-top: 14px; }
  .platform-atlas a { padding: 13px; }
  .platform-atlas a > span { font-size: 9px; }
  .platform-atlas strong { font-size: 26px; }
  .capture-menu { margin: 12px 0; padding: 12px 16px; }
  .capture-state { padding: 7px 0; margin-bottom: 6px; }
  .desktop-dock { margin-bottom: 7px; }
  .line-study { padding: 21px; }
  .study-tag + .study-heading { margin-top: 10px; }
  .stream { margin: 16px 0; }
  .cloud-study { padding: 15px; gap: 10px; }
  .cloud-boundary { padding: 11px 18px; }
}

.agents-tour { margin-top: 0; padding: clamp(24px, 3vw, 44px) 0 clamp(32px, 4vw, 56px); }
.agents-tour h1 { margin-top: 10px; font-size: clamp(32px, 3.5vw, 54px); line-height: 1.06; text-wrap: balance; }
.agents-tour .flow-grid { margin-top: clamp(20px, 2.4vw, 32px); }
.agents-tour + .block { padding-top: clamp(32px, 4vw, 56px); }

@media (max-width: 1100px) {
  .agents-tour .frame-scroll { grid-row: 1; }
}
@media (max-width: 720px) {
  .agents-tour .flow-grid { gap: 16px; }
  .agents-tour .flow-side { display: contents; }
  .agents-tour .flow-controls { grid-row: 1; margin: 0; padding: 0; border: 0; }
  .agents-tour .frame-scroll { grid-row: 2; }
  /* Reflow the opening chart at phone size so the lines and legend are legible. */
  .agents-tour .frame:has(.screen.active .climb) { aspect-ratio: auto; contain: none; }
  .agents-tour .app:has(.screen.active .climb) { position: relative; width: auto; height: auto; transform: none; }
  .agents-tour .app:has(.screen.active .climb) :is(.screens, .screen.active) { position: static; }
  .agents-tour .app:has(.screen.active .climb) :is(.app-top, .app-side) { display: none; }
  .agents-tour .screen:has(.climb) { padding: 12px; }
  .agents-tour .screen:has(.climb) :is(.s-head, .detail.wide) { display: grid; grid-template-columns: 1fr; gap: 10px; }
}
