.agent-intro { padding-bottom: 78px; }
.agent-intro :where(h1, h2, p, ol, figure) { margin: 0; }
.agent-intro :where(button) { cursor: pointer; }
.agent-intro :focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.agent-intro .back { min-height: 42px; margin-bottom: 11px; }
.agent-intro-heading { display: grid; grid-template-columns: 48px 1fr; align-items: start; gap: 12px; margin-bottom: 20px; }
.agent-intro-mark { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); font-size: 13px; font-weight: 750; }
.agent-intro h1 { margin-top: 0; font-size: clamp(27px, 7.5vw, 35px); line-height: 1; letter-spacing: -.055em; }
.agent-intro-heading p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.agent-demo { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 20px; background: #171719; color: #fff; }
.agent-demo video, .agent-demo-play { position: absolute; inset: 0; width: 100%; height: 100%; }
.agent-demo video { display: block; background: #171719; }
.agent-demo-play { display: flex; justify-content: flex-end; align-items: flex-end; gap: 6px; padding: 12px; border: 0; background: transparent; color: #fff; }
.agent-demo-play span { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border: 1px solid #ffffff44; border-radius: 99px; background: #18181a; font-size: 12px; font-weight: 700; }
.agent-demo-play:focus-visible { outline-offset: -4px; }
.agent-demo-play .play-icon { width: 10px; height: 12px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.agent-intro-section { margin-top: 24px; }
.agent-intro-section h2 { font-size: 21px; letter-spacing: -.045em; line-height: 1.15; }
.agent-intro-result-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 11px; }
.agent-result-controls { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.agent-result-controls button, .agent-copy { min-height: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); font-weight: 700; }
.agent-result-controls button { width: 40px; font-size: 16px; }
.agent-result-controls button:disabled { opacity: .45; cursor: default; }
.agent-slides { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x pan-y; }
.agent-slides > :is(figure, article) { flex: 0 0 min(67%, 275px); min-width: 0; scroll-snap-align: start; }
.agent-slides::after { content: ''; flex: 0 0 calc(100% - min(67%, 275px) - 20px); }
.agent-slides img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.agent-text-sample { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.agent-text-sample-format { color: var(--muted); font-size: 12px; font-weight: 700; }
.agent-text-sample h3 { margin: 7px 0 14px; font-size: clamp(17px, 5vw, 23px); letter-spacing: -.045em; line-height: 1.12; }
.agent-text-sample dl { display: grid; gap: 10px; margin: 0; font-size: 13px; line-height: 1.36; }
.agent-text-sample dl div { padding-top: 8px; border-top: 1px solid var(--line); }
.agent-text-sample dt { margin-bottom: 3px; font-size: 12px; font-weight: 750; }
.agent-text-sample dd { margin: 0; color: var(--muted); }
.agent-result-text { white-space: pre-wrap; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); font-size: 14px; line-height: 1.55; }
.agent-starter { display: grid; gap: 10px; padding: 14px; margin-top: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.agent-starter p { font-size: 14px; line-height: 1.5; }
.agent-copy { justify-self: start; padding: 0 12px; font-size: 13px; }
.agent-action { position: fixed; z-index: 6; bottom: calc(87px + var(--ms-content-bottom)); left: 50%; transform: translateX(-50%); width: min(calc(100% - 32px), 478px); padding: 5px; border-radius: 17px; background: var(--bg); }
.agent-action :is(button, a) { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 49px; border: 0; border-radius: 13px; padding: 8px 12px; background: var(--text); color: var(--ink); font-size: 15px; font-weight: 750; text-decoration: none; }
.agent-intro .agent-result-text { margin-top: 10px; }
.agent-intro h1:focus { outline: none; }
.agent-start { margin-top: 9px !important; color: var(--muted); font-size: 14px; line-height: 1.45; }
