/* OCR API case, matching the light Wave portfolio. */
.ocr-anketus-case .ac-meta { grid-template-columns: 1fr 1.3fr 1.7fr .8fr; }
.ocr-anketus-case .ac-hero h1 { font-size: clamp(42px,4.3vw,62px); line-height: 1.04; }
.ocr-anketus-case .ac-hero-copy { padding-bottom: 34px; }
.ocr-anketus-case .ac-hero-proof { gap: 36px; }
.ocr-anketus-case .ac-hero-proof span { max-width: 110px; line-height: 1.5; }
.op-counter-note { color: var(--ac-muted); font-size: 12px; line-height: 1.6; margin: 20px 0 0; }
.op-illustration { position: absolute; width: 110%; left: -8%; top: -2%; pointer-events: none; }
.op-illustration img { display: block; width: 100%; height: auto; }
.op-scan-label { display: flex; align-items: center; gap: 10px; position: absolute; top: 26px; left: 6%; transform: rotate(-5deg); color: #526e99; }
.op-scan-label span { font-size: 10px; letter-spacing: .08em; }
.ocr-anketus-case .ac-laptop { top: 285px; left: 4%; right: 20%; transform: rotate(-6deg); }
.ocr-anketus-case .ac-phone { top: 265px; width: 21%; }
.ocr-anketus-case .ac-product-sticker { top: 125px; right: 0; }
.ocr-anketus-case .ac-product figcaption { left: 5%; bottom: 12px; max-width: 85%; line-height: 1.5; }
.op-demo-notice { display: flex; gap: 12px; align-items: flex-start; margin: 36px 0 22px; padding: 18px 22px; border: 1px solid #d6dfeb; border-radius: 14px; background: #edf2fa; color: #49617f; }
.op-demo-notice svg { flex-shrink: 0; margin-top: 2px; }
.op-demo-notice p { font-size: 14px; line-height: 1.65; margin: 0; }
.op-example-board .ac-screen-tabs { grid-template-columns: repeat(4,minmax(0,1fr)); }
.op-example-panel { padding: 34px; }
.op-response-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.op-response-head .ac-eyebrow { font-size: 12px; margin: 0 0 10px; }
.op-response-head h3 { font-size: clamp(23px,2.6vw,34px); font-weight: 400; line-height: 1.25; margin: 0; }
.op-response-state { display: flex; align-items: center; gap: 7px; flex-shrink: 0; font-size: 12px; line-height: 1.5; padding: 8px 12px; border: 1px solid #cce3d4; border-radius: 999px; background: #eef6f0; color: #267047; }
.op-response-state.op-partial { color: #856014; background: #faf3e2; border-color: #e9d8af; }
.op-example-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.65fr); gap: 30px; align-items: stretch; }
.op-document { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; border: 1px solid #d6dfeb; border-radius: 18px; background: #eaf0fa; overflow: hidden; }
.op-document > p { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #506584; margin: 0 0 24px; }
.op-document-icon { display: grid; place-items: center; width: 84px; height: 100px; border: 1px solid #d6dfeb; border-radius: 17px; background: #fcfaf8; box-shadow: 0 10px 20px #43536b0e; color: #2d64d6; transform: rotate(-6deg); }
.op-document strong { display: block; font-size: 24px; font-weight: 400; line-height: 1.3; margin-top: 24px; text-align: center; }
.op-document-lines { display: grid; gap: 10px; width: 75%; margin-top: 24px; }
.op-document-lines i { display: block; height: 5px; border-radius: 4px; background: #c7d6ed; }
.op-document-lines i:nth-child(2n) { width: 75%; }
.op-document small { font-size: 11px; color: #506584; margin-top: 22px; }
.op-scan-line { position: absolute; width: 100%; height: 1px; background: #2d64d6; top: 54%; opacity: .42; box-shadow: 0 0 14px #6594e0; transform: rotate(-6deg); }
.op-fields { margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.op-fields > div { min-width: 0; border: 1px solid #deddda; border-radius: 13px; padding: 20px; background: #fcfaf8; }
.op-fields dt { font-size: 14px; color: var(--ac-muted); margin-bottom: 10px; line-height: 1.4; }
.op-fields dd { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }
.op-fields small { display: block; font-size: 12px; color: #597193; margin-top: 12px; font-weight: 400; }
.op-fields .op-field-missing { background: #fbf5e9; border-color: #e7d5ae; }
.op-fields .op-field-missing dd { color: #846017; }
.op-example-note { color: var(--ac-muted); font-size: 16px; line-height: 1.75; margin: 28px 0 0; }
.op-json { margin-top: 24px; border-block: 1px solid #deddda; }
.op-json summary { min-height: 52px; list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 14px; color: #275abd; }
.op-json summary::-webkit-details-marker { display: none; }
.op-json[open] summary svg { transform: rotate(180deg); }
.op-json pre { border: 1px solid #d7dfea; padding: 24px; border-radius: 14px; background: #fcfaf8; color: #354a64; max-height: 540px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.7; margin: 0 0 24px; }
.op-json pre:focus-visible { outline: 2px solid var(--ac-blue); outline-offset: 4px; }
.op-recognition { background: var(--home-bg); }
.op-stages { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 18px; }
.op-stages li { border: 1px solid var(--ac-border); background: #fcfaf8; padding: 24px; border-radius: 18px; }
.op-stages li > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #2d64d6; }
.op-stages li > div > span { font-size: 12px; }
.op-stages h3 { font-size: 21px; font-weight: 400; line-height: 1.3; margin: 26px 0 12px; }
.op-stages p { font-size: 15px; color: var(--ac-muted); line-height: 1.6; margin: 0; }
.op-api-story { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.75fr); gap: 48px; align-items: center; margin-top: 72px; }
.op-api-story h3 { font-size: clamp(26px,2.8vw,38px); font-weight: 400; line-height: 1.2; margin: 18px 0 24px; }
.op-api-story > div > p:not(.ac-eyebrow) { font-size: 17px; line-height: 1.75; color: var(--ac-muted); margin: 0; }
.op-api-links { display: flex; gap: 14px 24px; flex-wrap: wrap; margin-top: 18px; }
.op-api-links .ac-text-link { gap: 8px; }
.op-api-story .ac-shot { padding: 14px; border-radius: 22px; background: #edf1f8; transform: rotate(2deg); }
.op-api-story .ac-shot > a { border-radius: 9px; }
.op-api-story figcaption { justify-content: center; font-size: 12px; }
.ocr-anketus-case .ac-result-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.ocr-anketus-case .ac-result-grid strong { font-size: 44px; }
.ocr-anketus-case .ac-result-grid h3 { line-height: 1.45; }
.op-benchmark { margin-top: 40px; padding: 32px; background: #edf2fa; border: 1px solid #d7e0ed; border-radius: 22px; }
.op-benchmark-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.op-benchmark-head .ac-eyebrow { font-size: 12px; margin: 0 0 12px; }
.op-benchmark h3 { font-size: clamp(26px,2.8vw,36px); font-weight: 400; line-height: 1.2; margin: 0; }
.op-benchmark-gain { display: flex; flex-direction: column; gap: 10px; padding: 18px 24px; border: 1px solid #d6dfeb; border-radius: 16px; background: #fcfaf8; }
.op-benchmark-gain strong { color: #2d64d6; font-size: 38px; line-height: 1.1; letter-spacing: -.05em; font-weight: 500; }
.op-benchmark-gain span { font-size: 12px; color: #587092; }
.op-benchmark-bars { margin: 32px 0 24px; display: grid; gap: 20px; }
.op-benchmark-bars > div { display: flex; align-items: center; gap: 16px; }
.op-benchmark-bars dt { width: 25px; flex-shrink: 0; font-size: 14px; color: #526989; }
.op-benchmark-bars dd { position: relative; display: flex; align-items: center; width: 100%; height: 52px; margin: 0; }
.op-bar { display: block; position: absolute; inset: 0; border-radius: 10px; }
.op-bar-before { background: #d2ddec; }
.op-bar-after { width: 93.847%; background: #acc7ee; }
.op-benchmark-bars strong { position: relative; z-index: 1; padding-left: 18px; font-size: 17px; font-weight: 500; color: #223f6b; }
.op-benchmark > p { font-size: 14px; line-height: 1.7; color: #526989; margin: 0; }
@media (max-width: 1099px) {
 .op-example-panel { padding: 26px; }
 .op-example-layout { gap: 20px; grid-template-columns: minmax(0,.85fr) minmax(0,1.65fr); }
 .op-fields > div { padding: 16px; }
 .op-document { padding: 24px; }
 .op-stages { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .op-api-story { gap: 32px; }
}
@media (max-width: 767px) {
 .ocr-anketus-case .ac-hero h1 { font-size: clamp(35px,9.6vw,64px); }
 .ocr-anketus-case .ac-hero-copy { padding-bottom: 0; }
 .ocr-anketus-case .ac-meta { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .ocr-anketus-case .ac-hero-proof { gap: 28px; }
 .op-illustration { width: 116%; left: -9%; top: 0; }
 .op-scan-label { top: 2%; left: 2%; gap: 6px; }
 .op-scan-label span { font-size: 8px; letter-spacing: .03em; }
 .op-scan-label svg { width: 14px; height: 14px; }
 .ocr-anketus-case .ac-laptop { top: 55%; left: 3%; right: 12%; }
 .ocr-anketus-case .ac-phone { top: 48%; }
 .ocr-anketus-case .ac-product-sticker { top: 15%; }
 .ocr-anketus-case .ac-product { margin-bottom: 42px; }
 .ocr-anketus-case .ac-product figcaption { left: 0; bottom: -46px; width: 100%; max-width: none; text-align: center; }
 .op-demo-notice { padding: 16px; margin-top: 28px; }
 .op-demo-notice p { font-size: 13px; }
 .op-example-board .ac-screen-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 12px; overflow: visible; }
 .op-example-board .ac-screen-tabs button { display: block; width: auto; min-width: 0; padding: 14px 10px; font-size: 14px; }
 .op-example-board .ac-screen-tabs button > span { display: block; margin-bottom: 6px; }
 .op-example-panel { padding: 22px 16px; }
 .op-response-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
 .op-response-head h3 { font-size: 24px; }
 .op-example-layout { grid-template-columns: minmax(0,1fr); gap: 20px; }
 .op-document { padding: 18px; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 8px 18px; justify-items: start; }
 .op-document > p { grid-column: 2; font-size: 10px; margin: 0; }
 .op-document-icon { grid-column: 1; grid-row: 1 / 4; width: 48px; height: 62px; border-radius: 11px; }
 .op-document-icon svg { width: 26px; height: 26px; }
 .op-document strong { grid-column: 2; font-size: 20px; margin: 0; text-align: left; }
 .op-document small { grid-column: 2; margin: 0; font-size: 10px; }
 .op-document-lines,.op-scan-line { display: none; }
 .op-fields { gap: 12px; }
 .op-fields > div { padding: 14px; }
 .op-fields dt { font-size: 14px; }
 .op-fields dd { font-size: 16px; }
 .op-fields small { font-size: 11px; }
 .op-json pre { padding: 18px; font-size: 12px; }
 .op-stages { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 32px; }
 .op-stages li { padding: 20px; }
 .op-stages h3 { font-size: 19px; margin-top: 20px; }
 .op-stages p { font-size: 14px; }
 .op-api-story { grid-template-columns: minmax(0,1fr); margin-top: 48px; gap: 28px; }
 .op-api-story .ac-shot { transform: none; padding: 8px; border-radius: 16px; }
 .ocr-anketus-case .ac-result-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
 .ocr-anketus-case .ac-result-grid article { display: grid; grid-template-columns: 50px 1fr; gap: 6px 18px; padding: 22px; }
 .ocr-anketus-case .ac-result-grid .ac-icon { grid-row: 1 / 4; margin: 0; width: 46px; height: 46px; }
 .ocr-anketus-case .ac-result-grid strong { font-size: 36px; }
 .ocr-anketus-case .ac-result-grid h3 { font-size: 17px; margin: 4px 0 0; }
 .ocr-anketus-case .ac-result-grid p { margin: 0; font-size: 14px; }
 .op-benchmark { padding: 24px; margin-top: 32px; }
 .op-benchmark-head { flex-direction: column; align-items: flex-start; }
 .op-benchmark-gain { width: 100%; padding: 16px 20px; }
 .op-benchmark-bars { gap: 16px; }
}
@media (max-width: 359px) {
 .ocr-anketus-case .site-header--nexora .nav { overflow: visible; }
 .ocr-anketus-case .site-header--nexora .nav-links { display: grid; grid-template-columns: repeat(2,max-content); width: 100%; gap: 4px 24px; justify-content: space-between; }
 .ocr-anketus-case .site-header--nexora .nav :is(a,button) { min-height: 32px; display: inline-flex; align-items: center; }
 .ocr-anketus-case .ac-hero-proof { gap: 24px; }
 .op-fields { grid-template-columns: minmax(0,1fr); }
 .op-stages { grid-template-columns: minmax(0,1fr); }
}
