:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #1a302e;
  background: #162220;
  --teal: #087d7d;
}
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; color: inherit; }
button:focus-visible, a:focus-visible { outline: 4px solid #c24e38; outline-offset: 5px; }
button img, .flow-arrow { pointer-events: none; }
#viewport { position: relative; width: 100vw; height: 100dvh; overflow: hidden; }
#slide {
  position: absolute; width: 1920px; height: 1080px; padding: 48px 56px 36px;
  display: grid; grid-template-rows: 138px 60px 244px 86px 280px 44px; gap: 24px;
  background: #f5f7f5; transform-origin: top left;
}
h1, h2, h3, p { margin: 0; }
.heading { display: grid; grid-template-columns: 102px minmax(0, 1fr) 420px; gap: 30px; align-items: center; }
.portrait { display: block; width: 102px; height: 138px; object-fit: contain; background: #e2e6e2; }
.eyebrow { color: #086c6e; text-transform: uppercase; font-size: 20px; font-weight: 700; margin-bottom: 9px; }
h1 { font: 700 64px/1 Georgia, 'Times New Roman', serif; }
.subtitle { font-size: 25px; line-height: 1.35; margin-top: 8px; color: #485d58; }
.mode-control { align-self: center; }
.control-label { display: block; font-size: 19px; font-weight: 700; margin-bottom: 12px; color: #52625e; }
.segments { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #91a5a0; border-radius: 6px; overflow: hidden; }
.segments button { border: 0; background: transparent; min-height: 54px; font-size: 21px; font-weight: 700; }
.segments button + button { border-left: 1px solid #91a5a0; }
.segments button[aria-pressed='true'] { color: white; background: #1a4b47; }
.segments button:focus-visible { outline-offset: -5px; }
.mode-note { font-size: 18px; color: #52625e; margin-top: 10px; }
.encounter { display: flex; align-items: center; gap: 25px; border-top: 1px solid #c3d0ca; border-bottom: 1px solid #c3d0ca; }
.encounter-label { color: #087476; font-weight: 700; font-size: 19px; text-transform: uppercase; flex-shrink: 0; }
.encounter p { font-size: 25px; line-height: 1.3; }
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr) 34px) minmax(0, 1fr); align-items: center; }
.step {
  --accent: #087d7d; height: 244px; min-width: 0; padding: 19px 21px 17px;
  display: flex; flex-direction: column; text-align: left; background: white;
  border: 2px solid #bdccc6; border-top: 5px solid var(--accent); border-radius: 7px;
  transition: background .15s ease, border-color .15s ease;
}
.step[data-step='transcribe'] { --accent: #326b9a; }
.step[data-step='retrieve'] { --accent: #956f16; }
.step[data-step='compose'] { --accent: #b85540; }
.step[data-step='check'] { --accent: #407950; }
.step[data-step='speak'] { --accent: #795d8b; }
.step[aria-pressed='true'] { border-color: var(--accent); background: #ebf3f0; }
.step:hover { border-color: var(--accent); }
.step-top { display: flex; justify-content: space-between; align-items: center; height: 38px; margin-bottom: 14px; }
.step-number { color: var(--accent); font-size: 22px; font-weight: 700; }
.step-top img { width: 34px; height: 34px; opacity: .75; }
.step h2 { font-size: 30px; line-height: 1.2; white-space: nowrap; margin-bottom: 9px; }
.step > p { font-size: 24px; line-height: 1.26; }
.technology { font-size: 18px; line-height: 1.3; color: #4a625a; margin-top: auto; padding-top: 11px; border-top: 1px solid #d5dfda; }
.flow-arrow { width: 26px; height: 26px; justify-self: center; opacity: .5; }
.support { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid #c3d0ca; border-bottom: 1px solid #c3d0ca; }
.support-item { background: transparent; border: 0; text-align: left; display: flex; align-items: center; gap: 20px; padding: 12px 20px; min-width: 0; }
.support-item:first-child { padding-left: 5px; }
.support-item + .support-item { border-left: 1px solid #c3d0ca; }
.support-item img { width: 32px; height: 32px; opacity: .65; flex-shrink: 0; }
.support-item strong { display: block; font-size: 23px; margin-bottom: 7px; }
.support-item span span { font-size: 20px; line-height: 1.3; color: #52625e; }
.support-item:hover, .support-item[aria-pressed='true'] { background: #e2eeea; }
.detail { background: #183b37; color: #fff; display: grid; grid-template-columns: 325px 1fr 475px; gap: 40px; padding: 31px 35px; border-radius: 7px; }
.detail-kicker { color: #90d4c8; font-size: 19px; line-height: 1.2; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; }
.detail-title h2 { font: 400 40px/1.15 Georgia, 'Times New Roman', serif; }
.detail-body > p:first-child { font-size: 26px; line-height: 1.36; }
.technical { color: #b9dbd1; font-size: 20px; line-height: 1.4; margin-top: 16px; }
.detail-boundary { border-left: 1px solid #5f8780; padding-left: 30px; }
.detail-boundary h3 { color: #f4c77c; font-size: 19px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.detail-boundary p { font-size: 24px; line-height: 1.4; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
footer > p { font-size: 18px; line-height: 1.3; max-width: 1160px; color: #415a53; }
.footer-controls { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.footer-controls a { color: #11696c; font-size: 19px; margin-right: 14px; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.footer-controls button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #9eb5ad; background: transparent; border-radius: 5px; }
.footer-controls button:hover { background: #dce9e3; }
.footer-controls img { width: 23px; height: 23px; }
.notification { position: absolute; right: 56px; bottom: 100px; background: #fff; border: 1px solid #9eb5ad; padding: 16px 22px; font-size: 22px; }
@media (prefers-reduced-motion: reduce) { .step { transition: none; } }
@media print {
  @page { size: 1920px 1080px; margin: 0; }
  html, body { width: 1920px; height: 1080px; background: white; }
  #viewport { width: 1920px; height: 1080px; }
  #slide { transform: none !important; left: 0 !important; top: 0 !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .footer-controls button { visibility: hidden; }
}
