/* Product photography and the illustrated platform hero. */
.otp-hero-product { padding-top: clamp(42px,5vw,76px); background: #081320; }
.otp-hero-product .v6-hero-bg { display: none; }
.otp-hero-product .v6-hero-grid { width: min(100%,1380px); grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(26px,4vw,60px); align-items: center; min-height: 470px; padding-bottom: 64px; }
.otp-hero-product .v6-copy h1 { font-size: clamp(2.3rem,3.6vw,3.8rem); line-height: 1.12; }
.otp-hero-product .v6-copy p { font-size: 1.08rem; line-height: 1.65; }
.otp-hero-product .v6-device::after { display: none; }
.otp-natural-hero { min-width: 0; margin: 0; }
.otp-natural-hero img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.otp-natural-hero figcaption { margin-top: 10px; font-size: .875rem; color: #bbc7d4; text-align: right; }
.otp-hero-overview .v6-hero-grid { grid-template-columns: minmax(0,1fr); min-height: 0; padding-bottom: 64px; }
.otp-hero-overview .v6-copy { max-width: 820px; }
.otp-hero-overview .v6-copy h1, .otp-hero-overview .v6-copy p { max-width: none; }
.otp-text-showcase { display: block; }
.otp-text-showcase .v6-showcase-copy { min-height: 0; }
.otp-architecture-explainer { background: #081320 !important; color: #fff; }
.otp-architecture-explainer h2 { color: #fff; font-size: clamp(1.8rem,3vw,2.8rem); line-height: 1.15; margin-bottom: 32px; }
.otp-hero-platform { padding-top: clamp(42px,5vw,76px); background: #081320; }
.otp-hero-platform .v6-hero-bg { opacity: .25; }
.otp-hero-platform .v6-hero-grid { width: min(100%,1480px); grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(24px,3vw,50px); align-items: center; padding-bottom: 56px; }
.otp-hero-platform .v6-copy h1 { font-size: clamp(2.3rem,3.7vw,3.9rem); }
.otp-hero-platform .v6-copy p { font-size: 1rem; line-height: 1.65; }
.otp-hero-art { margin: 0; min-width: 0; }
.otp-platform-art { width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: contain; border-radius: 8px; }
.otp-hero-art figcaption { margin-top: 18px; font-size: .875rem; }
.otp-hero-control { display: flex; justify-content: center; align-items: baseline; gap: 10px 14px; flex-wrap: wrap; color: #c8d9ed; padding-bottom: 16px; }
.otp-hero-control strong { color: #8bb8ff; white-space: nowrap; }
.otp-hero-control strong::before { content: ''; display: inline-block; width: 24px; margin: 0 8px 4px 0; border-top: 2px dashed #8bb8ff; }
.otp-hero-data { display: grid; grid-template-columns: 1fr 20px 1.2fr 20px 1fr; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px solid #55d7ff40; text-align: center; color: #e5f7ff; font-weight: 650; }
.otp-hero-data > span[aria-hidden] { color: #5ce1ff; font-size: 1.2rem; }
.otp-hero-data small { display: block; font-size: .875rem; font-weight: 400; color: #a9c5d9; margin-top: 3px; }
.v6-hero-grid > * { min-width: 0; }
.v6-section .grid .card { min-width: 0; }
.v6-section .grid .card h3 { margin-top: 0; }
.v6-strip strong, .v6-flow strong { overflow-wrap: anywhere; }
.v6-device .otp-product-photo, .v6-bento-large .otp-product-photo, .v6-showcase > .otp-product-photo { width: 100%; height: auto; max-height: 540px; object-fit: contain; background: #fff; }
/* Explicit surfaces keep technical content readable in every section position. */
.otp-page-nav { background: #fff; border-bottom: 1px solid #d7dee7; }
.otp-page-nav .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 20px; padding-bottom: 20px; }
.otp-page-nav a { color: #174f9b; font-size: 1rem; font-weight: 650; text-underline-offset: 5px; }
.otp-page-nav a:hover { text-decoration: underline; }
.otp-technical { color: #122237; scroll-margin-top: 110px; }
.otp-technical .v6-intro p { color: #47586b; line-height: 1.7; }
.otp-technical h3 { color: #122237; font-size: 1.3rem; line-height: 1.3; }
.otp-spec-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; align-items: start; }
.otp-spec-group { min-width: 0; border-top: 3px solid #0052cc; padding-top: 20px; }
.otp-spec-group dl { margin: 0; }
.otp-spec-group dl > div { padding: 16px 0; border-bottom: 1px solid #d2dae4; }
.otp-spec-group dt { color: #47586b; font-size: .9375rem; margin-bottom: 5px; }
.otp-spec-group dd { margin: 0; color: #122237; font-size: 1rem; font-weight: 550; line-height: 1.65; overflow-wrap: anywhere; }
.otp-spec-note { margin-top: 36px; padding: 24px; background: #e9f0fa; border-left: 3px solid #0052cc; }
.otp-spec-note h3 { margin: 0 0 10px; }
.otp-spec-note p, .otp-config-lifecycle p { margin: 0; color: #32465d; line-height: 1.7; }
.otp-spec-sources { margin-top: 24px; color: #47586b; font-size: .875rem; line-height: 1.7; }
.otp-spec-sources p { color: inherit; margin-bottom: 6px; }
.otp-spec-sources a { display: inline-block; color: #174f9b; text-decoration: underline; text-underline-offset: 3px; margin-right: 24px; }
.otp-config-demo { padding: 18px 22px; margin: 0 0 24px; border-left: 3px solid #0052cc; background: #e9f0fa; color: #32465d; font-size: 1rem; line-height: 1.7; }
.otp-config-example { border: 1px solid #c7d2df; border-radius: 8px; margin-bottom: 16px; background: #fff; color: #122237; }
.otp-config-example summary { cursor: pointer; padding: 22px 24px; color: #122237; font-size: 1.2rem; font-weight: 700; line-height: 1.4; }
.otp-config-example summary::marker { color: #0052cc; }
.otp-config-example summary:hover { background: #eef4fd; border-radius: 8px; }
.otp-config-example summary:focus-visible, .otp-config-example pre:focus-visible, .otp-page-nav a:focus-visible { outline: 3px solid #0052cc; outline-offset: 4px; }
.otp-config-body { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 30px; padding: 0 24px 24px; }
.otp-config-body p { color: #32465d; font-size: 1rem; line-height: 1.7; }
.otp-config-result { border-top: 1px solid #d7dee7; padding-top: 18px; }
.otp-config-example pre { min-width: 0; max-width: 100%; margin: 0; padding: 24px; overflow-x: auto; background: #0d1c2f; color: #edf4ff; border-radius: 6px; font-size: .875rem; line-height: 1.7; tab-size: 2; }
.otp-config-example code { font-family: Consolas, 'Liberation Mono', monospace; color: inherit; background: transparent; }
.otp-config-lifecycle { margin-top: 34px; max-width: 840px; }
@media (max-width: 980px) {
  .otp-spec-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .otp-spec-group dl > div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); gap: 22px; }
  .otp-config-body { grid-template-columns: minmax(0,1fr); gap: 12px; }
}
@media (max-width: 520px) {
  .otp-page-nav .wrap { gap: 12px 20px; }
  .otp-spec-group dl > div { display: block; }
  .otp-spec-note { padding: 20px; }
  .otp-config-example summary { padding: 20px; }
  .otp-config-body { padding: 0 16px 16px; }
  .otp-config-example pre { padding: 18px; }
}
@media (max-width: 980px) {
  .otp-hero-product .v6-hero-grid { grid-template-columns: minmax(0,1fr); gap: 20px; padding-bottom: 40px; }
  .otp-hero-product .v6-copy { display: contents; }
  .otp-hero-product .v6-pill { order: 0; justify-self: start; margin-bottom: 0; }
  .otp-hero-product h1 { order: 1; margin-bottom: 0; }
  .otp-hero-product .otp-natural-hero, .otp-hero-product .v6-device { order: 2; }
  .otp-hero-product .v6-copy p { order: 3; margin-bottom: 0; max-width: none; }
  .otp-hero-product .v6-actions { order: 4; margin-top: 0; }
  .otp-hero-platform .v6-hero-grid { grid-template-columns: minmax(0,1fr); gap: 20px; padding-bottom: 36px; }
  .otp-hero-platform .v6-copy { display: contents; }
  .otp-hero-platform .v6-pill { order: 0; justify-self: start; margin-bottom: 0; }
  .otp-hero-platform h1 { order: 1; margin-bottom: 0; max-width: 750px; }
  .otp-hero-art { order: 2; }
  .otp-hero-platform .v6-copy p { order: 3; margin-bottom: 0; max-width: none; }
  .otp-hero-platform .v6-actions { order: 4; margin-top: 0; }
}
@media (max-width: 520px) {
  .otp-hero-product .v6-hero-grid { padding-left: 18px; padding-right: 18px; }
  .otp-hero-product .v6-copy h1 { font-size: clamp(2rem,8.8vw,2.8rem); }
  .otp-hero-platform .v6-hero-grid { padding-left: 18px; padding-right: 18px; }
  .otp-hero-platform .v6-copy h1 { font-size: clamp(2rem,8.8vw,2.8rem); }
  .otp-hero-control { text-align: center; gap: 3px; flex-direction: column; align-items: center; }
  .otp-hero-data { grid-template-columns: 1fr 14px 1.25fr 14px 1fr; gap: 3px; }
  .otp-hero-data > span { min-width: 0; overflow-wrap: anywhere; }
}
