/* Home-A: two doors into one agent, on a mist ground. */
* { box-sizing: border-box; }
body { margin: 0; background: var(--color-canvas); color: var(--color-ink); font: 400 17px/1.6 var(--font-body); }
h1, h2, h3, p { margin: 0; }
h2, h3 { color: var(--color-display); font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(34px, 3.5vw, 50px); line-height: 1.02; letter-spacing: -.04em; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--color-accent-hover); outline-offset: 5px; }
.home-wide { width: min(1420px, calc(100% - 116px)); margin-inline: auto; }
.home-content { width: min(1280px, calc(100% - 116px)); margin-inline: auto; }
.home-hero { padding-top: 28px; }
.hero-copy { text-align: center; padding-inline: 24px; }
.home-hero .g-display { font-size: 84px; line-height: .98; }
.home-hero .g-lead { font-size: 28px; line-height: 34px; margin: 10px auto 0; max-width: 34em; text-wrap: balance; }
.home-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 17px; }
.home-door { grid-row: 1; height: 510px; padding: 36px 52px 14px; min-width: 0; }
.door-brands, .door-cta-service { grid-column: 1; }
.door-operators, .door-cta-operator { grid-column: 2; }
.home-door h2 { margin-top: 4px; font-size: clamp(32px, 3.3vw, 50px); line-height: 1.12; white-space: nowrap; }
.door-presentation { margin: 20px 8px 0; }
.home-door .g-glass { padding: 18px; }
.home-door .monday-readout { height: 242px; padding: 16px 26px 18px; }
.readout-top { display: flex; justify-content: space-between; align-items: start; }
.readout-title { font-size: 23px; line-height: 30px; font-weight: 700; letter-spacing: -.03em; }
.readout-account { color: #50586b; font-size: 17px; line-height: 24px; }
.readout-menu { width: 24px; height: 8px; fill: #687087; margin-top: 10px; }
.readout-finding { padding-block: 18px 22px; text-align: center; }
.readout-finding p:first-child { font-size: 27px; font-weight: 700; line-height: 1.25; letter-spacing: -.035em; }
.readout-finding p + p { margin-top: 6px; font-size: 20px; line-height: 1.4; color: #50586b; }
.readout-next { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid rgb(91 77 214 / 10%); color: #50586b; font-size: 18px; line-height: 26px; }
.readout-next span:last-child { color: var(--color-accent-hover); }
.home-door .home-chat { height: 254px; padding: 16px 18px; }
.home-chat .chat-status { gap: 10px; padding: 8px 12px; min-height: 54px; font-size: clamp(14px, 1.04vw, 16px); line-height: 1.3; }
.chat-status > img { width: 38px; height: 30px; flex-shrink: 0; }
.chat-status > [data-g-texts] { flex: 1; min-width: 0; }
.platform-marks { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.platform-marks svg { width: 28px; height: 28px; }
.platform-marks svg:nth-child(1) { color: #2879e8; }
.platform-marks svg:nth-child(2) { color: #0879f8; }
.platform-marks svg:nth-child(3) { color: #dc8100; }
.home-chat .g-bubble { padding: 11px 16px; font-size: clamp(14px, 1.17vw, 18px); line-height: 25px; }
.home-chat .g-bubble--user { margin-top: 20px; max-width: 100%; }
.home-chat .g-bubble--agent { margin-top: 18px; max-width: 92%; gap: 16px; }
.g-bubble--agent img { width: 40px; height: 32px; flex-shrink: 0; margin-top: 4px; }
.nowrap { white-space: nowrap; }
.door-caption { position: absolute; bottom: 12px; left: 20px; right: 20px; text-align: center; font-size: 12px; line-height: 18px; color: #373848; }
.door-cta { z-index: 1; grid-row: 1; align-self: start; justify-self: center; margin-top: 414px; }
.door-cta-service { min-width: 292px; }
.door-cta-operator { min-width: 242px; }
.home-answers { margin-top: 32px; }
.answer-prompts { display: flex; justify-content: center; gap: 18px; }
.answer-prompts a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; padding: 15px 28px; border: 1px solid white; border-radius: 999px; background: rgb(255 255 255 / 60%); color: #454d60; font-size: 19px; line-height: 28px; text-align: center; }
.answer-band { margin-top: 46px; padding: 32px 48px; }
.answer-band .g-field__image { opacity: .6; }
.answer-conversation { display: flex; flex-direction: column; gap: 10px; max-width: 920px; margin: 0 auto; padding: 0; list-style: none; }
.answer-conversation .g-bubble { padding: 12px 18px; font-size: 18px; line-height: 26px; max-width: 90%; }
.answer-conversation .answer-question { --g-glass-blur: none; background: #fff; margin-left: auto; scroll-margin-top: 120px; }
.answer-question:target { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.answer-conversation .answer-reply { gap: 12px; margin-right: auto; }
.answer-reply img { flex-shrink: 0; width: 32px; height: 26px; }
/* Two compact evidence threads, followed by the approval exchange. */
.answer-conversation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.answer-conversation > :nth-child(1) { grid-area: 1 / 1; justify-self: end; }
.answer-conversation > :nth-child(2) { grid-area: 2 / 1; }
.answer-conversation > :nth-child(3) { grid-area: 1 / 2; justify-self: end; }
.answer-conversation > :nth-child(4) { grid-area: 2 / 2; }
.answer-conversation > :nth-child(5) { grid-area: 3 / 1 / auto / -1; justify-self: end; }
.answer-conversation > :nth-child(6) { grid-area: 4 / 1 / auto / -1; }
.answer-conversation .answer-artifact { display: block; width: 100%; max-width: 100%; min-width: 0; font-size: 15px; line-height: 21px; }
.answer-artifact-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 16px; line-height: 22px; font-weight: 600; }
.answer-artifact-head img { width: 28px; height: 24px; margin: 0; }
.reconcile-counts { margin: 10px 0; }
.reconcile-counts > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 5px; }
.reconcile-counts > div + div { margin-top: 8px; }
.reconcile-counts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.reconcile-counts > div::after { content: ""; grid-column: 1 / -1; width: 100%; height: 6px; border-radius: 999px; background: var(--color-accent); }
.reconcile-counts > div + div::after { width: calc(100% * 40 / 60); background: #5b606d; }
.test-call-steps { margin: 0; }
.test-call-steps > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; }
.test-call-steps > div + div { margin-top: 8px; }
.test-call-steps dt { font-weight: 600; }
.test-call-steps dd { margin: 0; text-wrap: pretty; }
.answer-example { margin-top: 10px; color: var(--color-muted); font-size: 12px; line-height: 18px; }

.home-method { margin-block: 72px 96px; padding: 48px 52px; }
.method-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--color-accent-hover); font-size: 18px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.method-layers { backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); display: flex; align-items: stretch; justify-content: space-between; gap: 14px; padding: 0; margin: 32px 0 0; list-style: none; }
.method-layers .g-chip { --g-glass-blur: none; flex: 1; flex-direction: column; border-radius: 20px; padding: 20px 12px; font-size: 18px; text-align: center; }
.method-layers svg { width: 30px; height: 30px; color: var(--color-accent-hover); }
.home-proof { padding-bottom: 96px; }
.proof-field { margin-top: 32px; padding: 40px; }
.proof-readout { max-width: 1080px; margin-inline: auto; }
.proof-readout > .readout-top { align-items: center; gap: 20px; padding-bottom: 24px; }
.proof-result { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; min-width: 0; border-top: 1px solid rgb(91 77 214 / 14%); padding-top: 24px; }
.proof-result + .proof-result { margin-top: 12px; }
.proof-result h3, .proof-evidence > p:first-child { font-size: 20px; line-height: 1.45; letter-spacing: -.02em; }
.proof-evidence strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.proof-period { color: var(--color-muted); font-size: 15px; margin-top: 8px; }
.proof-result summary { width: fit-content; padding-block: 12px; min-height: 44px; color: var(--color-accent-hover); cursor: pointer; font-size: 15px; }
.proof-result details p { color: var(--color-muted); font-size: 15px; max-width: 60ch; padding-bottom: 16px; }
.home-faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 96px; align-items: start; padding-bottom: 96px; }
.home-faq-intro { position: sticky; top: 128px; }
.home-faq-intro > p { margin-block: 24px 8px; color: var(--color-muted); font-size: 16px; }
.home-faq details { border-bottom: 1px solid var(--color-line); }
.home-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; padding: 20px 0; min-height: 66px; font-size: 17px; font-weight: 500; line-height: 1.45; }
.home-faq details:first-child summary { padding-top: 0; min-height: 46px; }
.home-faq summary svg { width: 20px; height: 20px; color: var(--color-muted); flex-shrink: 0; }
.home-faq details[open] summary svg { transform: rotate(45deg); }
.home-faq details p { margin-bottom: 24px; padding-right: 32px; color: var(--color-muted); font-size: 16px; line-height: 1.65; }
.home-faq details p a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-accent-hover); }
.home-closing { padding: 56px 52px; margin-bottom: 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 16px; }
@media (min-width: 761px) and (max-width: 1250px) {
  .home-wide, .home-content { width: calc(100% - 64px); }
  .home-doors { gap: 24px; }
  .home-door { padding-inline: 24px; }
  .door-presentation { margin-inline: 0; }
  .home-chat .chat-status { font-size: 14px; gap: 8px; }
  .platform-marks { gap: 6px; }
  .platform-marks svg { width: 22px; height: 22px; }
  .home-chat .g-bubble { font-size: 16px; }
  .home-chat .g-bubble--agent { max-width: 100%; gap: 10px; }
  .readout-finding p:first-child { font-size: 23px; }
  .readout-finding p + p { font-size: 17px; }
  .readout-next { font-size: 16px; }
  .answer-prompts a { padding-inline: 18px; font-size: 16px; }
  .home-method { padding-inline: 32px; }
  .method-layers { gap: 10px; }
  .method-layers .g-chip { font-size: 16px; }
  .home-closing { flex-direction: column; text-align: center; }
}
@media (max-width: 950px) and (min-width: 761px) {
  .home-doors { gap: 18px; }
  .home-door { padding-inline: 18px; }
  .home-door h2 { font-size: 32px; }
  .home-door .monday-readout { padding-inline: 16px; }
  .readout-title { font-size: 20px; }
  .readout-finding p:first-child { font-size: 21px; }
  .readout-next { font-size: 14px; }
  .home-door .home-chat { padding-inline: 10px; }
  .home-chat .chat-status { gap: 6px; font-size: 13px; }
  .chat-status > img { width: 28px; }
  .platform-marks { gap: 4px; }
  .platform-marks svg { width: 18px; height: 18px; }
  .home-chat .g-bubble { font-size: 14px; padding-inline: 10px; }
  .g-bubble--agent img { width: 28px; }
  .home-hero .g-lead { font-size: 24px; }
  .home-faq { gap: 48px; }
}
@media (max-width: 760px) {
  .home-wide, .home-content { width: calc(100% - 36px); }
  .home-hero { padding-top: 28px; }
  .hero-copy { padding-inline: 18px; }
  .home-hero .g-display { font-size: clamp(48px, 13.8vw, 76px); line-height: .98; }
  .home-hero .g-lead { font-size: 20px; line-height: 1.4; margin: 18px auto 0; max-width: 28ch; }
  .home-doors { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
  .door-cta { grid-column: 1; margin: 0; align-self: stretch; justify-self: stretch; min-width: 0; min-height: 52px; font-size: 16px; padding: 12px 20px; white-space: nowrap; }
  .door-cta-service { grid-row: 1; border-color: #c9c0ef; background: #f5f1ff; color: var(--color-accent-hover); }
  .door-cta-operator { grid-row: 2; }
  .home-door { grid-column: 1; height: 430px; padding: 28px 24px 36px; margin-top: 12px; }
  .door-brands { grid-row: 3; }
  .door-operators { grid-row: 4; height: 460px; }
  .home-door h2 { font-size: clamp(30px, 8.5vw, 42px); margin-top: 4px; }
  .door-presentation { margin: 22px 0 0; }
  .home-door .monday-readout { height: 234px; padding: 16px; }
  .readout-title { font-size: 21px; line-height: 28px; }
  .readout-account { font-size: 14px; line-height: 22px; }
  .readout-finding { padding-block: 22px; }
  .readout-finding p:first-child { font-size: 22px; line-height: 1.2; text-wrap: balance; }
  .readout-finding p + p { font-size: 16px; line-height: 1.4; text-wrap: balance; }
  .readout-next { font-size: 14px; line-height: 20px; padding-top: 12px; gap: 8px; }
  .home-door .home-chat { height: 282px; padding: 12px; }
  .home-chat .chat-status { padding: 8px; gap: 8px; font-size: 14px; min-height: 66px; }
  .chat-status > img { width: 28px; height: 26px; }
  .platform-marks { gap: 6px; }
  .platform-marks svg { width: 20px; height: 20px; }
  .home-chat .g-bubble { font-size: 15px; line-height: 22px; padding: 10px 12px; }
  .home-chat .g-bubble--user { margin-top: 18px; }
  .home-chat .g-bubble--agent { gap: 10px; margin-top: 18px; max-width: 100%; }
  .g-bubble--agent img { width: 28px; height: 26px; }
  .door-caption { font-size: 12px; bottom: 14px; }
  .home-answers { margin-top: 32px; }
  .answer-prompts { flex-direction: column; align-items: center; gap: 12px; }
  .answer-prompts a { font-size: 16px; padding: 12px 16px; max-width: 100%; line-height: 24px; }
  .answer-band { margin-top: 28px; padding: 24px 18px; }
  .answer-conversation .g-bubble { padding: 12px 14px; font-size: 16px; line-height: 24px; max-width: 100%; }
  .answer-conversation .answer-question { max-width: 94%; }
  .answer-reply img { width: 28px; height: 24px; }
  .answer-conversation { display: flex; gap: 8px; }
  .answer-conversation #change-safety { scroll-margin-top: min(40vh, 340px); }
  .answer-conversation .answer-artifact { padding-block: 10px; font-size: 15px; line-height: 21px; }
  .answer-artifact-head { font-size: 16px; line-height: 22px; }
  .test-call-steps > div { grid-template-columns: 74px minmax(0, 1fr); gap: 8px; }

  .home-method { margin-block: 48px 64px; padding: 28px 22px; }
  .method-heading { display: block; }
  .method-heading .text-link { margin-top: 12px; font-size: 16px; }
  .method-layers { flex-direction: column; gap: 12px; margin-top: 20px; }
  .method-layers .g-chip { flex-direction: row; justify-content: start; padding: 14px 20px; font-size: 17px; gap: 16px; }
  .method-layers svg { width: 26px; height: 26px; }
  .home-proof { padding-bottom: 64px; }
  .proof-field { margin-top: 28px; padding: 18px; }
  .proof-readout { padding: 20px; }
  .proof-result { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 20px; }
  .proof-result h3, .proof-evidence > p:first-child { font-size: 18px; }
  .home-faq { grid-template-columns: 1fr; gap: 36px; padding-bottom: 64px; }
  .home-faq-intro { position: static; }
  .home-faq-intro > p { margin-block: 20px 4px; }
  .home-faq summary { font-size: 16px; }
  .home-faq details p { padding-right: 20px; }
  .home-closing { display: block; padding: 36px 24px; text-align: center; margin-bottom: 48px; }
  .closing-actions { flex-direction: column; margin-top: 24px; gap: 12px; }
  .closing-actions .g-btn { font-size: 17px; }
}
@media (max-width: 360px) {
  .home-door { padding-inline: 18px; }
  .home-door h2 { font-size: 29px; }
  .home-door .monday-readout { padding-inline: 12px; height: 250px; }
  .readout-finding p:first-child { font-size: 20px; }
  .home-chat .chat-status { flex-wrap: wrap; min-height: 78px; }
  .chat-status > [data-g-texts] { flex-basis: calc(100% - 44px); }
  .platform-marks { margin-left: 36px; }
  .home-chat .g-bubble { font-size: 14px; padding-inline: 10px; }
  .home-door .home-chat { height: 300px; }
  .door-operators { height: 480px; }
}
@media (prefers-reduced-motion: reduce), (scripting: none) {
  .home-answers [data-g-step], .door-presentation [data-g-step] { opacity: 1; transform: none; filter: none; }
}
