:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1d1d1f;
  background: #f5f5f7;
  --blue: #0066cc;
  --muted: #6e6e73;
}
* { box-sizing: border-box; }
body, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.navigation {
  height: 64px; position: fixed; inset: 0 0 auto; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(4vw, 24px); background: rgba(255,255,255,.9);
  border-bottom: 1px solid #0000000c; backdrop-filter: blur(20px);
}
.brand { font-size: 20px; font-weight: 700; letter-spacing: -.6px; }
.brand span { font-weight: 400; color: var(--muted); }
nav { display: flex; gap: 28px; font-size: 14px; }
nav a:hover { color: var(--blue); }
.navigation { gap: 16px; }
.navigation .brand { flex-shrink: 0; display: flex; align-items: center; }
.navigation .brand > span { margin-left: 0.25em; }
.navigation .brand-icon { width: 28px; height: 28px; margin-right: 8px; object-fit: contain; }
.navigation > nav { gap: 22px; white-space: nowrap; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.navigation > nav::-webkit-scrollbar { display: none; }
.navigation .page-nav-link { display: inline-flex; flex-shrink: 0; }
.navigation .page-nav-link[aria-current="page"] { color: var(--blue); font-weight: 500; }
@media (max-width: 600px) { .navigation > nav { gap: 14px; } }
@media (max-width: 400px) {
  .navigation { padding-left: 12px; padding-right: 12px; }
  .navigation .brand { font-size: 16px; white-space: nowrap; }
  .navigation .brand-icon { width: 24px; height: 24px; margin-right: 6px; }
  .navigation > nav { gap: 10px; font-size: 11px; }
}
.overview {
  min-height: 100svh; padding-top: 64px;
  background: radial-gradient(ellipse at 50% 48%, #fff, #fafafa 58%, #f5f5f7);
}
.scene {
  min-height: calc(100svh - 64px); display: flex; flex-direction: column;
  justify-content: center; padding: 48px max(4vw, 24px) 32px;
}
.product-layout {
  display: grid; grid-template-columns: 1fr 1.6fr 1fr; align-items: start;
  gap: 3%; width: 100%; max-width: 1700px; margin: 0 auto 42px;
}
.view-label {
  display: block; margin: 0 0 24px; color: var(--muted);
  font-size: 16px; font-weight: 500; text-align: center; letter-spacing: 1px;
}
.annotated-image { position: relative; width: 100%; }
.annotated-image img { display: block; width: 100%; height: auto; }
.side-image { aspect-ratio: 3200 / 1900; }
.top-image { aspect-ratio: 3200 / 2350; }
.annotations { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.annotations path { fill: none; stroke: #5b99c9; stroke-width: 1.3px; vector-effect: non-scaling-stroke; }
.annotations circle { fill: #80bce8; }
.annotations text { fill: #1d1d1f; font-size: 140px; font-weight: 550; }
.top-image .annotations text { font-size: 102px; }
.pinout { margin-top: 22px; }
.pinout h3 { font-size: 18px; font-weight: 550; }
.pin-direction { font-size: 14px; color: var(--muted); margin-top: 8px; }
.pin-list {
  display: grid; list-style: none; padding: 0; margin: 20px 0 0;
  border-top: 1px solid #d2d2d7; gap: 6px;
}
.gh-pins { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.xh-pins { grid-template-columns: repeat(5, 1fr); }
.pin-list li { padding-top: 12px; min-width: 0; text-align: center; }
.pin-number { display: block; color: #5792ba; font-size: 12px; margin-bottom: 9px; }
.pin-list strong { font: 500 14px ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.overview-footer {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  flex-wrap: wrap; color: var(--muted); font-size: 12px;
}
#export-views { color: var(--blue); font-size: 14px; padding: 8px; }
.scroll-cue { display: block; width: 100%; text-align: center; font-size: 14px; margin-top: 8px; }
.renderer-host { position: fixed; left: -10000px; top: 0; width: 1200px; height: 800px; pointer-events: none; }
.renderer-host canvas { width: 1200px; height: 800px; }
.noscript { padding: 16px; background: white; }
.ready .annotated-image { animation: enter .8s both; }
.ready .annotations { animation: enter .7s .2s both; }
.ready .pinout { animation: enter .7s .35s both; }
@keyframes enter { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@media (min-width: 901px) {
  .side-view { padding-top: 40px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .product-layout { grid-template-columns: 1fr 1.35fr 1fr; gap: 2%; }
  .pin-list strong { font-size: 12px; }
}
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr 1fr; gap: 36px 26px; max-width: 760px; }
  .top-view { grid-column: 1 / -1; grid-row: 1; width: min(100%, 520px); justify-self: center; }
  .side-view { grid-row: 2; }
  .scene { padding-top: 40px; }
}
@media (max-width: 600px) {
  .navigation { height: 58px; padding: 0 18px; }
  .brand { font-size: 18px; }
  nav { gap: 14px; font-size: 12px; }
  nav a:first-child { display: none; }
  .overview { padding-top: 58px; }
  .scene { min-height: calc(100svh - 58px); padding: 32px 20px; }
  .product-layout { grid-template-columns: 1fr; gap: 36px; margin-bottom: 30px; }
  .top-view { grid-column: 1; grid-row: 1; width: 100%; }
  .left-view { grid-row: 2; }
  .right-view { grid-row: 3; }
  .view-label { margin-bottom: 16px; font-size: 14px; }
  .pinout { margin-top: 12px; }
  .pin-list strong { font-size: 13px; }
  .overview-footer { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ready * { animation: none !important; }
}

/* Measurements follow the projected model bounds, independent of callouts. */
.annotations .dimensions path { stroke: #929296; stroke-width: 1px; }
.annotations .dimensions text { fill: #6e6e73; font-size: 125px; font-weight: 400; }
.top-image .annotations .dimensions text { font-size: 95px; }
.overall-dimensions { text-align: center; font-size: 16px; margin: 0 0 20px; line-height: 1.8; }
.overall-dimensions span { color: var(--muted); font-size: 13px; white-space: nowrap; }
@media(max-width:600px) { .overall-dimensions { font-size: 14px; } .overall-dimensions span { display: block; } }

/* Pages share a pinned stage so the screen can move continuously between them. */
.scroll-story { height: var(--story-height, 250svh); }
.scroll-story .scene { position: sticky; top: 64px; }
.overview-layer { width: 100%; }
.ui-page {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none; padding: 20px;
}
.ui-board { width: min(100%, 1160px); aspect-ratio: 1000 / 660; position: relative; }
.ui-screen { position: absolute; left: 23%; top: 15.151515%; width: 54%; height: auto; display: block; }
.ui-callouts { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ui-region-boxes rect { fill: none; stroke: #86b8d2; stroke-width: 1; opacity: .6; }
.ui-region-leaders path { fill: none; stroke: #5b99c9; stroke-width: 1; }
.ui-region-labels text { fill: #1d1d1f; font-size: 18px; font-weight: 500; }
.ui-region-labels .ui-region-detail { font-size: 14px; fill: #6e6e73; font-weight: 400; }
.screen-transition { position: absolute; z-index: 2; display: none; pointer-events: none; object-fit: fill; }
.ui-page .ui-callouts { opacity: var(--ui-label-opacity, 0); }
.ui-page.active { visibility: visible; pointer-events: auto; }
@media (max-height: 700px) and (min-width: 901px) {
  .ui-board { width: min(100%, 960px); }
}
@media (max-width: 600px) {
  /* On phones the first page needs natural scrolling before the screen takes over. */
  .scroll-story .scene { top: 58px; }
  .ui-page { padding: 20px 8px; }
  .ui-board { width: 100%; aspect-ratio: 1000 / 1000; }
  .ui-screen { left: 6%; top: 26%; width: 88%; }
  .ui-callouts { top: 0; height: 100%; }
  .ui-region-labels text { font-size: 35px; }
  .ui-region-labels .ui-region-detail { font-size: 29px; }
}
.ui-page { z-index: 3; }
.ui-page .ui-screen { opacity: 0; }
.ui-mobile-labels, .ui-mobile-markers { display: none; }
@media (max-width: 600px) {
  .scroll-story { height: auto !important; }
  .scroll-story .scene { position: relative; top: 0; }
  .ui-page { position: relative; inset: auto; min-height: calc(100svh - 58px); padding: 0; }
  .ui-board { aspect-ratio: 1000 / 1250; margin-top: -40px; }
  .ui-screen { left: 6%; top: 20%; width: 88%; }
  .ui-callouts { display: none; }
  .ui-mobile-labels {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; list-style: none;
    position: absolute; top: 77%; left: 6%; right: 6%; margin: 0; padding: 0;
    font-size: 14px; line-height: 1.5;
  }
  .ui-mobile-labels span { color: #0066cc; margin-right: 7px; }
  .ui-mobile-markers { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .ui-mobile-markers circle { fill: #eaf5ff; stroke: #5b99c9; stroke-width: 2; }
  .ui-mobile-markers text { fill: #0066cc; font-size: 36px; text-anchor: middle; }
  .screen-transition { display: none !important; }
}
/* Fit the second page to the viewport even if page one's content is taller. */
.ui-page { height: calc(100svh - 64px); bottom: auto; }
.ui-board { width: min(100%, 1160px, calc((100svh - 100px) * 1.51515)); }
@media (max-width: 600px) {
  .ui-page { height: auto; }
  .ui-board { width: 100%; }
}

.top-image .annotations .button-labels text { fill: #1d1d1f; font-size: 84px; font-weight: 500; }

.pool-page { position: absolute; inset: 0; bottom: auto; height: calc(100svh - 64px); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 5; visibility: hidden; opacity: 0; pointer-events: none; }
.pool-page.active { visibility: visible; pointer-events: auto; }
.pool-board { width: min(100%, 1000px); }
.pool-board h2 { text-align: center; font-size: 26px; font-weight: 500; margin: 0 0 22px; }
.pool-diagram { position: relative; aspect-ratio: 1000 / 280; }
.pool-rail { display: block; position: absolute; left: 5%; top: 21.428571%; width: 90%; height: auto; border-radius: 6px; }
.pool-callouts { position: absolute; inset: 0; width: 100%; height: 100%; }
.pool-leaders path { stroke: #5b99c9; stroke-width: 1; fill: none; }
.pool-labels text { text-anchor: middle; font-size: 20px; fill: #1d1d1f; font-weight: 500; }
.pool-labels .pool-detail { font-size: 15px; fill: #6e6e73; font-weight: 400; }
.pool-explanation h3 { font-size: 19px; font-weight: 500; margin: 0; }
.pool-condition { color: #6e6e73; font-size: 14px; margin: 8px 0 22px; }
.pool-steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 20px 0; border-top: 1px solid #d2d2d7; gap: 26px; }
.step-number { display: block; color: #5792ba; font-size: 12px; margin-bottom: 12px; }
.pool-steps strong { font-size: 17px; font-weight: 500; }
.pool-steps p, .pool-note { color: #6e6e73; font-size: 14px; line-height: 1.8; margin-top: 10px; }
.pool-transition { position: absolute; z-index: 6; object-fit: fill; display: none; pointer-events: none; border-radius: 6px; }
@media (max-height: 700px) and (min-width: 601px) {
  .pool-board { width: min(100%, 850px); }
  .pool-board h2 { margin-bottom: 4px; }
  .pool-steps { padding: 12px 0; }
}
@media (max-width: 600px) {
  nav { gap: 10px; } nav a:last-child { display: none; }
  .pool-page { position: relative; inset: auto; height: auto; min-height: calc(100svh - 58px); padding: 40px 0; }
  .pool-board h2 { font-size: 22px; }
  .pool-labels text { font-size: 42px; }
  .pool-labels .pool-detail { display: none; }
  .pool-diagram { margin: 20px -10px; }
  .pool-steps { grid-template-columns: 1fr; gap: 22px; }
  .step-number { display: inline-block; margin: 0 14px 0 0; }
  .pool-steps p { margin: 5px 0 0 30px; }
  .pool-transition { display: none !important; }
}

.info-page { position: absolute; inset: 0; bottom: auto; height: calc(100svh - 64px); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 5; visibility: hidden; opacity: 0; pointer-events: none; }
.info-page.active { visibility: visible; pointer-events: auto; }
.info-board { width: min(100%, 1000px); }
.info-board h2 { text-align: center; font-size: 26px; font-weight: 500; margin: 0 0 22px; }
.info-diagram { position: relative; aspect-ratio: 1000 / 300; }
.info-card { display: block; position: absolute; left: 5%; top: 25%; width: 90%; height: auto; border-radius: 8px; }
.info-callouts { position: absolute; inset: 0; width: 100%; height: 100%; }
.info-details { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; border-top: 1px solid #d2d2d7; padding-top: 24px; margin-top: 16px; }
.info-details h3 { font-size: 19px; font-weight: 500; margin: 0 0 12px; }
.info-details p { font-size: 16px; color: #6e6e73; line-height: 1.9; }
.info-details strong { color: #1d1d1f; font-weight: 500; }
.info-parameters { color: #6e6e73; font-size: 12px; margin-top: 30px; line-height: 1.8; }
.info-transition { position: absolute; z-index: 7; display: none; pointer-events: none; object-fit: fill; border-radius: 8px; }
@media (max-height: 700px) and (min-width: 601px) { .info-board { width: min(100%, 850px); } }
@media (max-width: 600px) {
  nav { gap: 8px; font-size: 11px; } .brand { font-size: 16px; }
  .info-page { position: relative; inset: auto; height: auto; min-height: calc(100svh - 58px); padding: 40px 0; }
  .info-board h2 { font-size: 22px; }
  .info-diagram { margin: 20px -10px; }
  .info-details { grid-template-columns: 1fr; gap: 26px; }
  .info-details p { font-size: 15px; }
  .info-transition { display: none !important; }
}

.status-page { position: absolute; inset: 0; bottom: auto; height: calc(100svh - 64px); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 5; visibility: hidden; opacity: 0; pointer-events: none; }
.status-page.active { visibility: visible; pointer-events: auto; }
.status-board { width: min(100%, 1000px); }
.status-board h2 { text-align: center; font-size: 26px; font-weight: 500; margin: 0 0 22px; }
.status-diagram { position: relative; aspect-ratio: 1000 / 350; }
.status-card { display: block; position: absolute; left: 19%; top: 17.142857%; width: 62%; height: auto; }
.status-callouts { position: absolute; inset: 0; width: 100%; height: 100%; }
.status-callouts text[text-anchor="start"] { text-anchor: start; }
.status-callouts text[text-anchor="end"] { text-anchor: end; }
.status-error-area { stroke: #8f9aa4; stroke-width: 1; stroke-dasharray: 4 4; fill: none; }
.status-details { display: grid; grid-template-columns: .8fr 1.35fr 1fr; gap: 32px; border-top: 1px solid #d2d2d7; padding-top: 24px; }
.status-details h3 { font-size: 19px; font-weight: 500; margin: 0 0 12px; }
.status-details p { font-size: 15px; color: #6e6e73; line-height: 1.9; }
.status-details strong { color: #1d1d1f; font-weight: 500; }
.status-details .result-success { color: #397950; }
.status-details .result-failed { color: #b3443c; }
.status-transition { position: absolute; z-index: 7; display: none; pointer-events: none; object-fit: fill; }
@media (max-height: 700px) and (min-width: 601px) { .status-board { width: min(100%, 850px); } }
@media (max-width: 600px) {
  nav { gap: 7px; } nav [data-ui-nav] { display: none; }
  .status-page { position: relative; inset: auto; height: auto; min-height: calc(100svh - 58px); padding: 40px 0; }
  .status-board h2 { font-size: 22px; }
  .status-diagram { margin: 20px -10px; }
  .status-callouts .pool-labels text { font-size: 30px; }
  .status-details { grid-template-columns: 1fr; gap: 22px; }
  .status-transition { display: none !important; }
}

.status-mobile-label { display: none; }
@media (max-width: 600px) {
  .ui-page, .pool-page, .info-page, .status-page { scroll-margin-top: 58px; }
  .status-desktop-label { display: none; }
  .status-mobile-label { display: block; }
}


/* Compact fifth page: the diagram and two reference columns fit together. */
.status-board { width: min(100%, 1120px); max-height: none; overflow: visible; padding: 0; }
.status-board h2 { margin-bottom: 12px; }
.status-diagram { width: min(100%, 780px, calc((100svh - 370px) * 2.857)); margin: 0 auto; }
.status-details { grid-template-columns: 1fr 1.15fr 1.15fr; padding: 12px 0; gap: 16px; border-bottom: 1px solid #d2d2d7; }
.status-details p { font-size: 13px; line-height: 1.5; margin: 0; }
.status-details p > span { color: #1d1d1f; margin-right: 8px; }
.status-reference { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; margin-top: 18px; }
.status-reference h3 { font-size: 16px; font-weight: 500; margin: 0 0 14px; }
.status-reference h3 span { font-size: 12px; color: #6e6e73; font-weight: 400; margin-left: 10px; }
.status-stage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 18px; margin: 0; }
.status-stage-grid dt, .status-error-list dt { font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; }
.status-stage-grid dd { margin: 4px 0 0; font-size: 13px; color: #6e6e73; }
.status-error-list { margin: 0; }
.status-error-list > div { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; margin-bottom: 9px; align-items: baseline; }
.status-error-list dd { margin: 0; color: #6e6e73; font-size: 12px; }
.status-more-errors { margin: 12px 0 0; font-size: 13px; }
.status-more-errors a { color: #0066cc; }
.status-more-errors a:hover { text-decoration: underline; }
.status-more-errors span { color: #6e6e73; font-size: 11px; margin-left: 8px; }
@media (max-width: 800px) and (min-width: 601px) {
  .status-reference { gap: 20px; grid-template-columns: 1.15fr 1fr; }
  .status-stage-grid { gap: 12px 8px; }
  .status-error-list > div { grid-template-columns: 1fr; gap: 2px; margin-bottom: 6px; }
  .status-details { grid-template-columns: 1fr 1fr; gap: 6px; }
  .status-details p:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .status-page { padding: 18px 0; }
  .status-board h2 { font-size: 20px; margin-bottom: 6px; }
  .status-diagram { width: 100%; margin: 0; }
  .status-details { grid-template-columns: 1fr; gap: 5px; padding: 9px 0; }
  .status-details p { font-size: 11px; }
  .status-reference { grid-template-columns: 1fr; gap: 18px; margin-top: 14px; }
  .status-reference h3 { font-size: 14px; margin-bottom: 10px; }
  .status-reference h3 span { font-size: 10px; }
  .status-stage-grid { gap: 10px 6px; }
  .status-stage-grid dt, .status-error-list dt { font-size: 10px; }
  .status-stage-grid dd, .status-error-list dd { font-size: 11px; }
  .status-error-list > div { grid-template-columns: 1.35fr 1fr; gap: 8px; margin-bottom: 7px; }
}
@media (max-height: 620px) and (min-width: 801px) {
  .status-reference { margin-top: 12px; }
  .status-stage-grid { gap: 9px 12px; }
  .status-board h2 { font-size: 22px; margin-bottom: 4px; }
}

.status-stage-note { margin: -6px 0 12px; color: #6e6e73; font-size: 12px; line-height: 1.5; }
@media (max-width: 600px) { .status-stage-note { font-size: 10px; margin-bottom: 9px; } }

.voltage-page { position: absolute; inset: 0; bottom: auto; height: calc(100svh - 64px); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 5; visibility: hidden; opacity: 0; pointer-events: none; }
.voltage-page.active { visibility: visible; pointer-events: auto; }
.voltage-board { width: min(100%, 1000px); }
.voltage-board h2 { font-size: 26px; font-weight: 500; text-align: center; margin: 0 0 14px; }
.voltage-diagram { position: relative; width: min(100%, 880px, calc((100svh - 400px) * 4)); margin: 0 auto; aspect-ratio: 1000 / 250; }
.voltage-card { position: absolute; display: block; left: 5%; top: 30%; width: 90%; height: auto; }
.voltage-callouts { position: absolute; inset: 0; width: 100%; height: 100%; }
.voltage-sources, .voltage-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.voltage-board h3 { font-size: 17px; font-weight: 500; margin: 0 0 10px; }
.voltage-board p, .voltage-board li { color: #6e6e73; font-size: 14px; line-height: 1.8; }
.voltage-sources p { margin: 0; }
.voltage-options { margin: 16px 0 22px; padding-bottom: 16px; border-bottom: 1px solid #d2d2d7; }
.voltage-actions p { margin: 0; }
.voltage-actions ol { margin: 0; padding-left: 20px; }
.voltage-board .voltage-note { font-size: 12px; margin-top: 8px; }
.voltage-transition { position: absolute; z-index: 7; display: none; object-fit: fill; pointer-events: none; }
@media (max-width: 600px) {
  nav [data-pool-nav] { display: none; }
  .voltage-page { position: relative; inset: auto; height: auto; min-height: calc(100svh - 58px); padding: 18px 0; scroll-margin-top: 58px; }
  .voltage-board h2 { font-size: 20px; margin-bottom: 8px; }
  .voltage-diagram { width: 100%; }
  .voltage-callouts .pool-labels text { font-size: 35px; }
  .voltage-sources, .voltage-actions { grid-template-columns: 1fr; gap: 16px; }
  .voltage-board h3 { font-size: 14px; margin-bottom: 5px; }
  .voltage-board p, .voltage-board li { font-size: 12px; line-height: 1.7; }
  .voltage-options { margin: 12px 0 16px; padding-bottom: 12px; }
  .voltage-board .voltage-note { font-size: 11px; }
  .voltage-transition { display: none !important; }
}

.voltage-reading { white-space: nowrap; }

.voltage-connection-note { margin: 0; }
.voltage-connection-note strong { color: #1d1d1f; font-weight: 500; }

.count-page { position: absolute; inset: 0; bottom: auto; height: calc(100svh - 64px); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 5; visibility: hidden; opacity: 0; pointer-events: none; }
.count-page.active { visibility: visible; pointer-events: auto; }
.count-board { width: min(100%, 1040px); }
.count-board h2 { text-align: center; font-size: 26px; font-weight: 500; margin: 0 0 30px; }
.count-diagram { position: relative; aspect-ratio: 1000 / 200; }
.count-card { position: absolute; left: 5%; top: 30%; width: 90%; height: auto; display: block; }
.count-callouts { position: absolute; inset: 0; width: 100%; height: 100%; }
.count-callouts .count-caption { font-size: 17px; fill: #6e6e73; font-weight: 400; }
.count-reliability { border-top: 1px solid #d2d2d7; padding-top: 24px; }
.count-reliability h3 { font-size: 19px; font-weight: 500; margin: 0 0 24px; }
.count-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.count-features h4 { font-size: 16px; font-weight: 500; margin: 0 0 10px; }
.count-features p { font-size: 14px; color: #6e6e73; line-height: 1.9; margin: 0; }
.count-note { color: #6e6e73; font-size: 12px; line-height: 1.8; margin: 24px 0 0; }
.count-transition { position: absolute; z-index: 7; display: none; object-fit: fill; pointer-events: none; }
@media (max-height: 650px) and (min-width: 601px) { .count-board { width: min(100%, 900px); } .count-board h2 { margin-bottom: 16px; } }
@media (max-width: 600px) {
  nav [data-info-nav] { display: none; }
  .count-page { position: relative; inset: auto; height: auto; min-height: calc(100svh - 58px); padding: 20px 0; scroll-margin-top: 58px; }
  .count-board h2 { font-size: 20px; margin-bottom: 18px; }
  .count-diagram { margin: 0 -10px 12px; }
  .count-callouts .pool-labels text { font-size: 36px; }
  .count-callouts .pool-labels .count-caption { font-size: 30px; }
  .count-reliability { padding-top: 18px; }
  .count-reliability h3 { font-size: 16px; margin-bottom: 16px; }
  .count-features { grid-template-columns: 1fr; gap: 16px; }
  .count-features h4 { font-size: 14px; margin-bottom: 5px; }
  .count-features p { font-size: 12px; line-height: 1.8; }
  .count-note { font-size: 11px; margin-top: 16px; }
  .count-transition { display: none !important; }
}

.hero-page { position: absolute; inset: 0; bottom: auto; height: calc(100svh - 64px); z-index: 4; display: flex; align-items: center; justify-content: center; padding: 24px 4vw; }
.hero-board { width: min(100%, 1300px); }
.hero-board h1 { text-align: center; font-size: clamp(30px, 3vw, 48px); letter-spacing: -1.5px; font-weight: 650; margin: 0; }
.hero-board h1 span { font-weight: 400; color: #6e6e73; }
.hero-visual { position: relative; width: min(100%, 940px, calc((100svh - 300px) * 1.4545)); aspect-ratio: 3200 / 2200; margin: 0 auto; }
.hero-visual::after { content: ''; position: absolute; left: 23%; right: 23%; bottom: 12%; height: 6%; border-radius: 50%; background: #00000013; filter: blur(18px); z-index: -1; }
.hero-product { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 22px #00000012); }
.hero-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 1px solid #d2d2d7; padding-top: 22px; }
.hero-features h2 { font-size: 20px; font-weight: 550; margin: 0 0 9px; }
.hero-features p { font-size: 14px; color: #6e6e73; line-height: 1.8; }
.hero-scroll-cue { display: block; text-align: center; color: #6e6e73; font-size: 13px; margin-top: 28px; }
@media (max-width: 900px) { .hero-features { gap: 20px; } .hero-features h2 { font-size: 17px; } }
@media (max-width: 600px) {
  .hero-page { position: relative; inset: auto; min-height: calc(100svh - 58px); height: auto; padding: 14px 0 34px; scroll-margin-top: 58px; }
  .hero-board h1 { font-size: 30px; letter-spacing: -1px; }
  .hero-visual { width: 100%; margin: 16px auto; }
  .hero-features { grid-template-columns: 1fr 1fr; gap: 18px 14px; padding-top: 18px; }
  .hero-features h2 { font-size: 15px; }
  .hero-features p { font-size: 12px; }
  .hero-scroll-cue { margin-top: 24px; }
  .overview-layer { scroll-margin-top: 58px; }
}

.hero-presentation { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 54px; margin-top: 22px; }
.hero-visual { width: min(100%, calc((100svh - 230px) * 1.4545)); }
.hero-features { grid-template-columns: 1fr 1fr; border-top: 0; padding-top: 0; gap: 26px 24px; }
.hero-features h2 { font-size: 18px; margin-bottom: 7px; }
.hero-features p { font-size: 13px; }
.hero-scroll-cue { margin-top: 22px; }
@media (max-width: 900px) and (min-width: 601px) {
  .hero-presentation { gap: 24px; grid-template-columns: 1fr 1.1fr; }
  .hero-features { gap: 20px 14px; }
  .hero-features h2 { font-size: 15px; }
  .hero-features p { font-size: 12px; }
}
@media (max-width: 600px) {
  .hero-page { min-height: calc(100svh - 90px); padding: 8px 0 18px; }
  .hero-presentation { display: block; margin-top: 6px; }
  .hero-visual { width: min(100%, 270px); margin: 0 auto 10px; }
  .hero-features { gap: 14px 12px; padding-top: 14px; border-top: 1px solid #d2d2d7; }
  .hero-features h2 { font-size: 13px; margin-bottom: 4px; }
  .hero-features p { font-size: 11px; line-height: 1.6; }
  .hero-scroll-cue { font-size: 11px; margin-top: 16px; }
}

/* Larger desktop displays: scale the content while retaining viewport-height limits. */
@media (min-width:1800px) and (min-height:900px) {
  body:not(.poster-export) .hero-board { width:min(100%,1760px); }
  body:not(.poster-export) .hero-board h1 { font-size:60px; }
  body:not(.poster-export) .hero-presentation { gap:70px; margin-top:36px; }
  body:not(.poster-export) .hero-features { gap:38px 32px; }
  body:not(.poster-export) .hero-features h2 { font-size:24px; }
  body:not(.poster-export) .hero-features p { font-size:19px; }
  body:not(.poster-export) .hero-scroll-cue { font-size:16px; }
  body:not(.poster-export) .ui-board { width:min(100%,1560px,calc((100svh - 140px) * 1.51515)); }
  body:not(.poster-export) .pool-board,body:not(.poster-export) .info-board,
  body:not(.poster-export) .status-board,body:not(.poster-export) .voltage-board,
  body:not(.poster-export) .count-board { width:min(100%,1320px); }
  body:not(.poster-export) .pool-board h2,body:not(.poster-export) .info-board h2,
  body:not(.poster-export) .status-board h2,body:not(.poster-export) .voltage-board h2,
  body:not(.poster-export) .count-board h2 { font-size:34px; }
  body:not(.poster-export) .pool-explanation h3,body:not(.poster-export) .info-details h3,
  body:not(.poster-export) .status-details h3,body:not(.poster-export) .voltage-board h3,
  body:not(.poster-export) .count-features h4 { font-size:23px; }
  body:not(.poster-export) .pool-condition,body:not(.poster-export) .pool-steps p,
  body:not(.poster-export) .pool-note,body:not(.poster-export) .info-details p,
  body:not(.poster-export) .status-details p,body:not(.poster-export) .voltage-board p,
  body:not(.poster-export) .count-features p { font-size:18px; }
  body:not(.poster-export) .host-board { width:min(100%,1640px); }
  body:not(.poster-export) .host-presentation { grid-template-columns:minmax(0,1fr) 380px; gap:60px; }
  body:not(.poster-export) .host-heading h2 { font-size:48px; }
  body:not(.poster-export) .host-heading .host-subtitle { font-size:20px; }
  body:not(.poster-export) .host-notes h3 { font-size:23px; }
  body:not(.poster-export) .host-notes p { font-size:17px; }
  body:not(.poster-export) .host-window iframe { height:min(650px,calc(100svh - 360px)); }
}
