.hero-foot { margin-top:48px; }
.product-heading { margin-bottom:60px; }
.product-shell { grid-template-columns:minmax(270px,.8fr) minmax(0,1.55fr); gap:64px; align-items:center; }
.tour-navigation { align-self:center; }
.product-tabs { position:static; display:flex; gap:0; padding:0; }
.product-tab {
  display:block;
  position:relative;
  width:100%;
  padding:27px 26px 27px 38px;
  border:0;
  border-top:1px solid #dce0d5;
  background:transparent;
  text-align:left;
  white-space:normal;
  color:#5c6159;
  transition:color .25s;
}
.product-tab:last-child { border-bottom:1px solid #dce0d5; }
.product-tab:hover:not([aria-selected="true"]) { background:#f8f6fc; color:#2922ae; }
.product-tab[aria-selected="true"],.product-tab.is-current { background:#f0edfa; border-left:0; color:#2922ae; }
.product-tab:focus-visible { outline:2px solid #54765b; outline-offset:4px; border-radius:6px; }
.product-tab .tour-index { display:block; margin:0 0 10px; color:#66705f; font-size:10px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.product-tab strong { display:block; font-family:Rag,Arial,sans-serif; font-size:23px; font-weight:600; line-height:1.25; letter-spacing:-.035em; }
.product-tab .tour-description { display:block; margin-top:10px; max-width:290px; color:#626b5d; font-size:14px; font-weight:400; line-height:1.65; }
.product-tab[aria-selected="true"] .tour-description { color:#465640; }
.wave-progress { position:absolute; top:0; right:0; width:4px; height:100%; opacity:0; }
.product-tab[aria-selected="true"] .wave-progress { opacity:1; }
.wave-progress path { fill:none; stroke-width:3; }
.wave-track { stroke:#d9d4ee; }
.wave-fill { stroke:#5143c8; stroke-dasharray:100; stroke-dashoffset:calc(100 - var(--tour-progress, 0)); }
.tour-playback { display:flex; align-items:center; justify-content:space-between; padding:22px 4px 0 38px; color:#848b7f; font-size:10px; letter-spacing:.08em; }
.tour-toggle { padding:7px 0; border:0; background:transparent; color:#5c6d57; cursor:pointer; font:inherit; }
.tour-toggle span { margin-left:8px; }
.tour-toggle:focus-visible { outline:2px solid #54765b; outline-offset:5px; }
.product-scenes { display:grid; gap:0; min-width:0; }
.product-panel { grid-area:1 / 1; min-width:0; border:0; border-radius:10px; box-shadow:none; background:#eef2e5; }
.product-panel[hidden] { display:none; }
.product-panel .showcase { min-height:500px; padding:28px; background:#eef2e5; }
.product-panel .showcase-ask { background:#ede8f8; }
.product-panel .showcase-approvals { background:#f0f2df; }
.product-panel .showcase-lead { display:none; }
.product-panel .showcase-dashboard-grid,.product-panel .showcase-split { display:flex; align-items:center; min-height:404px; padding:20px 0 0; }
.product-panel .ui-dashboard,.product-panel .ui-answer,.product-panel .ui-approval { width:100%; transform:none; border:1px solid #d3dbce; border-radius:10px; box-shadow:0 6px 20px #293b200a; }
.product-panel .showcase-topline { color:#4f5c50; font-size:9px; }
.product-panel .showcase-status { border:0; background:transparent; padding:0; font-size:10px; }
.product-panel-note { min-height:96px; padding:22px 0 0; background:#fffefa; border-top:0; display:block; }
.product-panel-note strong { display:block; font-family:Rag,Arial,sans-serif; font-weight:600; letter-spacing:-.02em; font-size:15px; }
.product-panel-note span { display:block; margin-top:7px; font-size:12px; line-height:1.5; }
.product-panel .ui-metric-grid strong { font-size:23px; }
.scene-caption { color:#687961; font-size:11px; margin:14px 0 0; min-height:18px; }
.tour-running .product-panel .scene-reveal { transition:opacity .6s,transform .6s; }
.tour-running .product-panel .scene-waiting { opacity:0; transform:translateY(7px); }
.product-panel[data-scene-step="complete"] .ui-approval-head > span { background:#e9f2e4; color:#416b42; }
.agent-access-section { padding:0 0 96px; background:#fffefa; }
.agent-access-panel { scroll-margin-top:108px; }
.agent-access-panel .showcase { min-height:0; padding:58px 0 0; border-top:1px solid #dce0d5; background:transparent; }
.agent-access-panel .showcase-topline,.agent-access-panel .product-panel-note { display:none; }
.agent-access-panel .showcase-split { min-height:0; grid-template-columns:1fr 1fr; gap:10%; }
.agent-access-panel .showcase-lead { padding:0; }
.agent-access-panel .showcase-lead h3 { max-width:420px; }
.agent-access-panel .ui-rules { transform:none; box-shadow:none; }
.agent-access-panel .ui-rule { transition:background .3s; }
.agent-access-panel .ui-rule:hover { background:#f3f6ef; }
@media (max-width:1050px) {
  .product-shell { gap:30px; grid-template-columns:minmax(230px,.8fr) minmax(0,1.3fr); }
  .product-tab { padding-left:28px; padding-right:12px; }
  .product-tab strong { font-size:22px; }
  .product-panel .showcase { padding:20px; }
  .product-panel .ui-metric-grid strong { font-size:19px; }
}
@media (max-width:760px) {
  .service-field { height:125px; margin-top:22px; }
  .service-field canvas { height:100px; }
  .field-labels { font-size:8px; letter-spacing:.07em; }
  .product-heading { margin-bottom:32px; }
  .product-shell { display:block; }
  .product-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-bottom:20px; gap:8px; }
  .product-tab,.product-tab:last-child { border:0; border-bottom:2px solid #dce0d5; padding:14px 6px; }
  .product-tab[aria-selected="true"] { border-bottom:2px solid #5143c8; }
  .product-tab .tour-index { font-size:9px; margin-bottom:8px; }
  .product-tab strong { font-size:18px; }
  .product-tab .tour-description,.wave-progress,.tour-playback { display:none; }
  .product-panel .showcase { min-height:450px; padding:18px; }
  .product-panel .showcase-dashboard-grid,.product-panel .showcase-split { min-height:365px; }
  .product-panel .ui-metric-grid strong { font-size:18px; }
  .product-panel-note { min-height:116px; padding:20px; }
  .agent-access-section { padding-bottom:60px; }
  .agent-access-panel .showcase { padding-top:36px; }
  .agent-access-panel .showcase-split { grid-template-columns:1fr; gap:30px; padding-top:0; }
}
@media (prefers-reduced-motion:reduce) {
  .tour-playback { display:none; }
  .tour-running .product-panel .scene-reveal { transition:none; }
}

/* Keep the tour restrained and let the interface carry the detail. */
.product-panel .showcase { border-radius:10px; }
.product-panel .ui-metric-grid > div { border-radius:5px; }
.product-panel .ui-response { box-shadow:none; }
.product-panel .ui-window-head small,
.product-panel .ui-question small,
.product-panel .ui-response small,
.product-panel .ui-approval-head small,
.product-panel .ui-approval-detail small { color:#667263; }
.product-panel .ui-metric-grid > div { background:#f7f9f2; border-color:#dce3d4; }
.product-panel .ui-metric-grid strong { color:#223b2a; }
.product-panel .ui-metric-grid em { color:#286744; }
.product-panel .ui-chart small { color:#65725f; }
.product-panel .ui-evidence span { background:#e9e2f8; color:#574095; }
.product-panel .ui-answer-foot { color:#574095; }
.product-panel .ui-policy-note { background:#faf1d9; border-color:#e6d4a4; color:#76501f; }
.product-panel .ui-strong-button { background:#285e43; }

.product-panel .ui-approval-head > span { border-radius:4px; }
.product-panel .ui-approval-head small { text-transform:uppercase; }

/* A quieter hierarchy across the page, with color reserved for emphasis. */
.nav-links a { font-size:14px; font-weight:400; }
.nav-links a:hover,.nav-links a:focus-visible { background:transparent; }
.btn { font-weight:600; }
.nav .nav-cta { border-radius:7px; font-weight:500; }
.section-title { font-size:clamp(36px,4.3vw,60px); font-weight:600; line-height:1.07; letter-spacing:-.05em; }
.control-visual { transform:none; border-color:#dedbd4; box-shadow:0 16px 40px #00000018; }
.case-card { border-color:#211d281a; box-shadow:none; }
.case-card:hover { transform:translateY(-3px); border-color:#211d2833; box-shadow:0 12px 28px #211d2809; }
.deploy-visual { box-shadow:none; border-color:#d9d3e6; }
.deploy-box.selected { box-shadow:none; }
.contact-form { box-shadow:none; border-color:#dedbd4; }
.home-faq .faq summary { padding-top:24px; padding-bottom:24px; font-weight:500; line-height:1.5; }
.home-faq .faq summary::after { top:18px; }
.final-cta h2 { font-size:clamp(42px,5vw,72px); font-weight:600; line-height:1.05; letter-spacing:-.055em; }
.product-panel[data-scene-step="complete"] .ui-quiet-button { visibility:hidden; }
.agent-access-panel .showcase-lead h3 { font-family:Rag,Arial,sans-serif; font-size:clamp(32px,3.2vw,44px); font-weight:600; line-height:1.12; letter-spacing:-.045em; }
.hero-phrases { overflow:hidden; }
.hero-phrases > span { border:1px solid #52744712; }

/* Keep the introduction together with natural wrapping. */
.product-heading {
  grid-template-columns:minmax(0, 1fr);
  align-items:start;
  gap:18px;
  margin-bottom:40px;
}
.product-heading .section-title { max-width:none; text-wrap:balance; }
.product-intro { max-width:720px; }
.product-heading .section-copy {
  margin:0;
  padding:0;
  font-size:18px;
  line-height:1.6;
  letter-spacing:-.015em;
}
@media (max-width:760px) {
  .product-heading { grid-template-columns:1fr; gap:20px; margin-bottom:28px; }
  .product-heading .section-copy { font-size:17px; }
}

/* A marker highlight follows the selected heading without shifting the layout. */
.product-tab strong {
  display:inline;
  padding:0 2px;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
  background-image:linear-gradient(#ded8f8, #ded8f8);
  background-repeat:no-repeat;
  background-position:0 92%;
  background-size:0 0.34em;
  transition:background-size 180ms ease-out;
}
.product-tab[aria-selected="true"] strong {
  color:#211d28;
  background-size:100% 0.34em;
}
.product-tab[aria-selected="true"] .tour-index {
  color:#5133b7;
}
@media (prefers-reduced-motion:reduce) {
  .product-tab strong { transition:none; }
}

/* Tabs are selectable while the tour moves automatically. */
.product-tab { cursor:pointer; }
.product-panel .showcase-dashboard-grid,.product-panel .showcase-split { justify-content:center; }
.product-panel .ui-answer,.product-panel .ui-approval { max-width:510px; }
.tour-dashboard-stack { width:min(100%, 560px); }
.tour-inline-card { display:flex; justify-content:space-between; align-items:center; gap:20px; margin:12px 0 0 auto; padding:14px 18px; width:min(88%, 340px); background:#fffefa; border:1px solid #d3dbce; border-radius:10px; box-shadow:0 6px 20px #293b200a; }
.tour-inline-card small,.tour-inline-card strong,.tour-inline-card span { display:block; }
.tour-inline-card small { color:#677263; font-size:9px; letter-spacing:.08em; font-weight:700; }
.tour-inline-card strong { margin-top:5px; font-size:14px; }
.tour-inline-card span { margin-top:3px; font-size:11px; color:#687468; }
.tour-mini-chart { display:flex; align-items:end; gap:4px; height:38px; }
.tour-mini-chart i { display:block; width:8px; border-radius:2px 2px 0 0; background:#83a978; }
.tour-mini-chart i:nth-child(1) { height:35%; }.tour-mini-chart i:nth-child(2) { height:60%; }.tour-mini-chart i:nth-child(3) { height:45%; }.tour-mini-chart i:nth-child(4) { height:80%; }.tour-mini-chart i:nth-child(5) { height:100%; background:#3f7952; }
.tour-connection { display:flex; justify-content:space-between; gap:12px; align-items:center; padding:14px 18px; border-bottom:1px solid #e3e4df; color:#383440; font-size:12px; font-weight:600; }
.tour-connection span:last-child { color:#607264; font-size:11px; font-weight:400; }
.tour-connection i { display:inline-block; width:7px; height:7px; border-radius:50%; background:#579a63; margin-right:5px; }
@media (max-width:760px) { .tour-inline-card { width:100%; } .tour-connection { flex-wrap:wrap; } }

/* The examples sit directly on the page; only the product UI has a boundary. */
.product-panel,
.product-panel .showcase,
.product-panel .showcase-ask,
.product-panel .showcase-approvals,
.product-panel-note {
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.product-panel .showcase { padding:26px 8px; color:#211d28; }
.product-panel .showcase-topline { letter-spacing:.07em; font-weight:500; }
.product-panel .showcase-status i { box-shadow:none; }
.product-panel .ui-dashboard,
.product-panel .ui-answer,
.product-panel .ui-approval {
  padding:28px;
  border-radius:12px;
}
.product-panel .ui-window-head > span {
  border:0;
  padding:0;
  color:#655e66;
}
.product-panel .ui-metric-grid { gap:0; margin:28px 0; }
.product-panel .ui-metric-grid > div {
  padding:0 16px;
  border:0;
  border-left:1px solid #211d2814;
  border-radius:0;
  gap:8px;
}
.product-panel .ui-metric-grid > div:first-child { padding-left:0; border-left:0; }
.product-panel .ui-metric-grid > div:last-child { padding-right:0; }
.product-panel .ui-metric-grid em { font-weight:400; }
.product-panel .ui-chart { border:0; border-top:1px solid #211d2814; border-radius:0; padding:22px 0 0; }
.product-panel .ui-chart strong { font-size:14px; font-weight:500; }
.product-panel .tour-connection { padding:0 0 18px; margin-bottom:22px; font-weight:500; }
.product-panel .ui-question strong,
.product-panel .ui-approval-head strong { font-size:23px; line-height:1.3; font-weight:500; }
.product-panel .ui-response p { color:#38343e; }
.product-panel .ui-evidence span { background:transparent; padding:0; color:#5752b4; font-weight:500; }
.product-panel .ui-evidence { gap:16px; }
.product-panel .ui-answer-foot {
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:10px 16px;
  color:#655e66;
  font-weight:400;
}
.product-panel .ui-answer .ui-question { gap:10px; padding-bottom:0; border-bottom:0; }
.product-panel .ui-answer .ui-response { padding:20px 0 24px; }
.product-panel .ui-answer .ui-response p { margin:0; }
.product-panel .ui-answer .ui-response b { color:#211d28; font-weight:600; }
.product-panel .ui-answer .ui-evidence { gap:12px; }
.product-panel .ui-answer .ui-evidence span { font-size:12px; }
.product-panel .ui-approval-detail { gap:20px; }
.product-panel .ui-approval-detail strong { font-weight:500; line-height:1.5; }
.product-panel .ui-policy-note { background:transparent; border:0; border-left:2px solid #c5bfff; border-radius:0; padding:6px 0 6px 12px; color:#655e66; }
.product-panel .ui-policy-note span { display:none; }
.product-panel .ui-approval-actions { font-weight:400; }
.product-panel:not([hidden]) :is(.ui-dashboard,.ui-answer,.ui-approval) {
  animation:tour-widget-enter 280ms ease-out both;
}
.product-panel:not([hidden]) :is(.ui-response,.ui-approval-detail) {
  animation:tour-widget-enter 280ms 70ms ease-out both;
}
@keyframes tour-widget-enter {
  from { opacity:0; transform:translateY(4px); }
  to { opacity:1; transform:translateY(0); }
}
.product-panel .showcase-topline { font-size:11px; color:#655e66; gap:12px; flex-wrap:wrap; line-height:1.6; }
.product-panel .showcase-status { font-size:11px; }
.product-panel .ui-dashboard,.product-panel .ui-answer,.product-panel .ui-approval { border-color:#211d2826; background:#fffdf7; box-shadow:none; }
.product-panel .ui-metric-grid > div { background:transparent; }
.product-panel .ui-metric-grid small { color:#655e66; font-size:12px; }
.product-panel .ui-metric-grid em { color:#655e66; font-size:11px; line-height:1.5; }
.product-panel .ui-metric-grid strong { color:#211d28; }
.product-panel .ui-response p { font-size:16px; line-height:1.65; }
.product-panel .ui-window-head small,.product-panel .ui-question small,.product-panel .ui-response small,.product-panel .ui-approval-head small,.product-panel .ui-approval-detail small { font-size:11px; color:#655e66; }
.product-panel .ui-approval-actions { flex-wrap:wrap; gap:12px; }
.product-panel .ui-approval-actions strong { color:#75501d; font-size:12px; font-weight:500; }
.product-panel .ui-approval-head > span { background:#f4ead4; color:#75501d; }
.product-panel-note { background:transparent; }
.product-panel-note span { font-size:14px; color:#655e66; }
.tour-playback { font-size:12px; letter-spacing:0; color:#655e66; padding-left:0; gap:12px; }
.tour-toggle { color:#3838d5; padding:12px 4px; text-decoration:underline; text-underline-offset:4px; }
.hero { padding-bottom:30px; }
.bridge-controls { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:0 20px; }
.bridge-controls button { position:relative; padding:18px 8px; border:0; border-bottom:2px solid #fffdf72e; background:none; color:#fffdf7b3; font:inherit; font-size:13px; cursor:pointer; }
.bridge-controls button[aria-pressed="true"] { border-bottom-color:#d9fb68; color:#fffdf7; }
.bridge-controls button::after { content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0; background:#7772f2; }
.story-playing .bridge-controls button[aria-pressed="true"]::after { animation:comparison-progress 5.2s linear forwards; }
.bridge-motion { display:block; margin:6px 20px 0 auto; padding:10px 4px; background:none; border:0; color:#d9fb68; font:inherit; font-size:12px; cursor:pointer; }
.bridge-controls button:focus-visible,.bridge-motion:focus-visible { outline:2px solid #d9fb68; outline-offset:3px; }
@keyframes comparison-progress { to { width:100%; } }
@media (max-width:760px) {
  .tour-playback { display:flex; margin-bottom:16px; padding-top:0; }
  .product-panel .showcase { padding:12px 0; min-height:0; }
  .product-panel :is(.ui-dashboard,.ui-answer,.ui-approval) { padding:20px; }
  .product-panel .ui-metric-grid { gap:14px; margin:24px 0; }
  .product-panel .ui-metric-grid > div { padding:0 0 14px; border:0; border-bottom:1px solid #211d2814; }
  .product-panel .ui-metric-grid > div:last-child { padding-bottom:0; border-bottom:0; }
  .product-panel .ui-question strong,.product-panel .ui-approval-head strong { font-size:20px; }
  .product-panel .ui-approval-detail { gap:14px; }
  .product-panel .showcase-dashboard-grid,.product-panel .showcase-split { min-height:0; padding-block:20px; }
  .product-panel .ui-metric-grid { grid-template-columns:1fr; }
  .product-panel .ui-metric-grid > div { display:grid; grid-template-columns:1fr auto; gap:6px 12px; }
  .product-panel .ui-metric-grid em { grid-column:1 / -1; }
  .product-panel .ui-metric-grid strong { font-size:24px; }
  .product-panel .ui-window-head { align-items:start; gap:10px; }
  .product-panel .ui-window-head > span { max-width:100px; line-height:1.5; }
  .product-panel-note { padding:20px 0; }
}
@media (prefers-reduced-motion:reduce) { .story-playing .bridge-controls button::after { animation:none; } .bridge-motion { display:none; } }

/* Keep the current comparison prominent while the other remains available. */
.bridge-controls { align-items:center; gap:20px; margin:0 24px 12px; }
.bridge-controls button { min-height:64px; padding:14px 10px; color:#fffdf79c; font-size:12px; text-align:left; line-height:1.25; }
.bridge-controls button[aria-pressed="true"] { color:#fffdf7; font-size:21px; font-weight:600; border-bottom-color:#d9fb68; }
.bridge-controls button:focus-visible { outline:2px solid #d9fb68; outline-offset:4px; }
.hero-shell .hero { min-height:0; padding-block:64px 24px; }
.hero-shell .hero-text { margin-bottom:24px; }
@media (max-width:760px) {
  .hero-shell .hero { padding-block:40px 16px; }
  .bridge-controls { gap:12px; margin-inline:16px; }
  .bridge-controls button[aria-pressed="true"] { font-size:18px; }
}
.product-tab:not([aria-selected="true"]) strong { font-size:18px; font-weight:500; }
.product-tab:not([aria-selected="true"]) .tour-description { display:none; }
.product-tab[aria-selected="true"] { border-left:3px solid #7772f2; padding-left:35px; }
.product-tab[aria-selected="true"] strong { font-size:27px; color:#211d28; }
@media (max-width:760px) {
  .product-tab:not([aria-selected="true"]) strong { font-size:14px; }
  .product-tab[aria-selected="true"] { padding-left:15px; border-left:0; border-bottom:3px solid #7772f2; }
  .product-tab[aria-selected="true"] strong { font-size:17px; }
}

@media (prefers-reduced-motion:reduce) {
  .product-panel:not([hidden]) :is(.ui-dashboard,.ui-answer,.ui-approval,.ui-response,.ui-approval-detail) { animation:none; }
}

/* Solid accents keep small product details sharp against the open canvas. */
.product-panel .showcase { min-height:460px; }
.product-panel .showcase-dashboard-grid,
.product-panel .showcase-split { min-height:404px; padding:0; }
.product-panel .ui-evidence span { color:#3838d5; }
.product-panel .tour-connection i { background:#327d56; box-shadow:none; }
.product-panel .ui-policy-note { border-left-color:#7772f2; color:#413956; }
.product-panel .ui-approval-head > span { background:#ffe4a8; color:#67400b; }
.product-panel .ui-chart small,
.product-panel .heatmap-months,
.product-panel .heatmap-days,
.product-panel .heatmap-footer { color:#655e66; }
.product-panel .heatmap-cells i,
.product-panel .heatmap-legend i { background:#e8e5f1; box-shadow:none; }
.product-panel .heatmap-cells i[data-level="1"],
.product-panel .heatmap-legend i:nth-child(2) { background:#c5bfff; }
.product-panel .heatmap-cells i[data-level="2"],
.product-panel .heatmap-legend i:nth-child(3) { background:#9890fa; }
.product-panel .heatmap-cells i[data-level="3"],
.product-panel .heatmap-legend i:nth-child(4) { background:#7772f2; }
.product-panel .heatmap-cells i[data-level="4"],
.product-panel .heatmap-legend i:nth-child(5) { background:#3838d5; }
.product-panel:not([hidden]) .heatmap { animation:tour-widget-enter 280ms 70ms ease-out both; }
@media (max-width:760px) {
  .product-panel .showcase { min-height:0; }
  .product-panel .showcase-dashboard-grid,
  .product-panel .showcase-split { min-height:0; padding:12px 0; }
}
@media (prefers-reduced-motion:reduce) {
  .product-panel:not([hidden]) .heatmap { animation:none; }
}
