/* Scanapse Studio: editorial clarity without replacing any product content. */
:root,html[data-theme="light"] {
  --bg:#f6f5f0;--surface:#fffefa;--surface-2:#eeeef0;
  --text:#182b3a;--text-soft:#526573;--line:#d3dcdf;--line-strong:#789099;
  --signal:#123d48;--signal-teal:#176475;--signal-copper:#995735;--signal-violet:#626789;
  --inverse-bg:#182b3a;--inverse-text:#fffefa;
  --g-bg:#f6f5f0;--g-surface:#fffefa;--g-text:#182b3a;--g-soft:#526573;--g-line:#d3dcdf;--g-accent:#176475;
  --font-sans:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --shadow:0 20px 52px rgb(25 50 64 / .07);
  --shell:min(82rem,calc(100% - 3rem));
}
html[data-theme="dark"] {
  --bg:#0f1e2b;--surface:#162a38;--surface-2:#203846;
  --text:#edf3f3;--text-soft:#bacbd2;--line:#3b5360;--line-strong:#7b9ca8;
  --signal:#a2dddf;--signal-teal:#86d2d0;--signal-copper:#e2b795;--signal-violet:#b9bee8;
  --inverse-bg:#e7f2f1;--inverse-text:#152d37;
  --g-bg:#0f1e2b;--g-surface:#162a38;--g-text:#edf3f3;--g-soft:#bacbd2;--g-line:#3b5360;--g-accent:#86d2d0;
}
@media(prefers-color-scheme:dark) {
 html[data-theme="system"] {--bg:#0f1e2b;--surface:#162a38;--surface-2:#203846;--text:#edf3f3;--text-soft:#bacbd2;--line:#3b5360;--line-strong:#7b9ca8;--signal:#a2dddf;--signal-teal:#86d2d0;--signal-copper:#e2b795;--signal-violet:#b9bee8;--inverse-bg:#e7f2f1;--inverse-text:#152d37;--g-bg:#0f1e2b;--g-surface:#162a38;--g-text:#edf3f3;--g-soft:#bacbd2;--g-line:#3b5360;--g-accent:#86d2d0}
}
body {background:var(--bg);color:var(--text);text-rendering:optimizeLegibility}
body.gpto-body {background:var(--g-bg);color:var(--g-text)}
.shell {width:var(--shell);max-width:100%;margin-inline:auto}
:is(input,textarea,select,button) {font:inherit}
:is(input,textarea,select) {min-width:0;max-width:100%;font-size:1rem}
input[type="checkbox"],input[type="radio"] {accent-color:var(--signal-teal);min-width:1.15rem;min-height:1.15rem;cursor:pointer}
:where(a,button,input,textarea,select,summary,[tabindex]):focus-visible {outline:3px solid var(--signal-teal);outline-offset:4px}
:where(p,li,dd,code) {overflow-wrap:anywhere}
.site-header {background:var(--bg);border-bottom:1px solid var(--line);box-shadow:none}
.brand-baseline-241 {letter-spacing:.12em;font-size:.64rem}
.primary-nav a {font-size:.87rem;min-height:44px;display:inline-flex;align-items:center}
.home250-grid {opacity:.15;background-size:84px 84px}
.home250-hero {padding-block:clamp(2.5rem,6vw,5.5rem);background:linear-gradient(110deg,var(--bg) 58%,var(--surface-2) 58%)}
.home250-hero-grid {grid-template-columns:minmax(0,1.2fr) minmax(18rem,.8fr);gap:clamp(2rem,6vw,6rem);align-items:center}
.home250 h1,.editorial-page .editorial-hero h1 {font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.045em;line-height:1.08;font-size:clamp(2.45rem,4.6vw,4.9rem);max-inline-size:20ch;text-wrap:balance}
.home250 .lead,.editorial-page .editorial-hero .lead {font-size:clamp(1rem,1.35vw,1.17rem);line-height:1.8;color:var(--text-soft);max-inline-size:60ch}
.home250 :is(h2,h3),.editorial-page :is(h2,h3) {line-height:1.25;letter-spacing:-.022em}
.home250 :is(.section),.editorial-page .editorial-public-section {padding-block:clamp(2.5rem,5vw,4.5rem)}
.home250-example {position:relative;border:1px solid var(--line);border-top:4px solid var(--signal-teal);border-radius:.45rem;padding:clamp(1.6rem,3vw,2.6rem);background:var(--surface);box-shadow:var(--shadow)}
.home250-example h2 {font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:2.15rem}
.home250-example p {line-height:1.8}
.home250-state-row span {border-radius:.4rem;font-weight:650;background:var(--bg)}
:is(.home250-card,.home250-use-grid article,.home250-public-card,.home250-duo-card,.editorial-card) {border-radius:.5rem;border-color:var(--line);box-shadow:none;background:var(--surface)}
.home250-card-grid,.home250-use-grid,.home250-public-grid {gap:1.15rem}
.home250-card {padding:1.7rem;border-top:3px solid var(--signal-teal)}
.home250-card>span {background:transparent;border:1px solid var(--line);border-radius:50%;width:2.3rem;height:2.3rem;color:var(--signal-teal)}
:is(.home250-short-grid,.home250-duo-grid) {gap:1.15rem}
.home250-short-grid article {border-radius:.3rem;background:var(--surface);padding:1.5rem}
.home250-temporal-card,.home250-final-card {border-radius:.5rem;background:var(--surface);box-shadow:var(--shadow)}
.home250-temporal-card li span {color:var(--signal-teal)}
.home250-faq-list {gap:.9rem;align-items:start}
.home250-faq-list details {border-radius:.4rem;background:var(--surface);padding:1.15rem 1.3rem}
.home250-faq-list summary {min-height:44px;line-height:1.5;align-content:center;font-weight:650;padding-right:1rem}
.home250-faq-list details[open] {border-color:var(--signal-teal)}
.editorial-page .editorial-hero {background:var(--bg);padding-block:clamp(2.5rem,5vw,5rem)}
.editorial-page .editorial-hero::after {opacity:.12}
.editorial-page .editorial-hero-grid {grid-template-columns:minmax(0,1fr) minmax(23rem,1fr);gap:clamp(2rem,5vw,5rem)}
.scan-console {border-radius:.55rem;background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--signal-teal);box-shadow:var(--shadow);padding:clamp(1.25rem,2.5vw,2.1rem)}
.scan-console-head {color:var(--text-soft);letter-spacing:.08em;padding-bottom:1.2rem;margin-bottom:1.5rem;font-size:.66rem}
.scan-input-wrap {display:flex;align-items:center;gap:.6rem;border:1px solid var(--line-strong);border-radius:.55rem;background:var(--surface);padding:.5rem .5rem .5rem 1.1rem;box-shadow:none}
.scan-input-wrap:focus-within {outline:2px solid var(--signal-teal);outline-offset:3px}
.scan-input-field {min-width:0;flex:1}
.scan-input-wrap input {width:100%;min-width:0;padding:.7rem 0;background:transparent;border:0;color:var(--text);font-family:var(--font-sans);font-size:1rem;outline-offset:1px}
.scan-submit,.button-solid {min-height:46px;border-radius:.45rem;background:var(--signal);color:var(--inverse-text);border:1px solid transparent;box-shadow:none}
html[data-theme="light"] .button-solid,:root .button-solid {color:#fffefa}
html[data-theme="dark"] .button-solid {color:#152d37}
.scan-submit {flex-shrink:0;padding:.85rem 1rem}
.scan-form-unavailable .scan-input-wrap {opacity:1}
.scan-form-status {line-height:1.6;font-size:.85rem;min-height:1.35rem;margin-top:.65rem;color:var(--text-soft)}
.scan-form-unavailable .scan-form-status {color:var(--danger)}
.scan-demo-ghost {pointer-events:none;font-family:var(--font-sans)}
.scan-progress {overflow:hidden;border-radius:1rem;background:var(--line)}
.scan-form.is-loading .scan-progress span {width:30%;animation:studio-pending 1.2s ease-in-out infinite alternate}
@keyframes studio-pending {from{transform:translateX(-90%)}to{transform:translateX(330%)}}
.alert {border-radius:.35rem;line-height:1.7;background:var(--bg);padding:1rem 1.2rem;margin-bottom:1.4rem}
.alert strong {font-size:.98rem}
.scan-example-grid {gap:.65rem}
.scan-example-grid button {min-height:68px;border:1px solid var(--line);border-radius:.4rem;background:var(--bg);color:var(--text);text-align:left}
.scan-example-grid button:hover {border-color:var(--signal-teal)}
.gpto-card,.gpto-auth-panel {border-radius:.55rem;border-color:var(--g-line)}
.gpto-auth-panel {box-shadow:var(--shadow);border-top:4px solid var(--g-accent)}
.gpto-auth-panel :is(input,button) {font-size:1rem;min-height:46px}
.gpto-auth-panel input[type="checkbox"] {min-height:1.15rem}
@media(max-width:68rem) {
 .home250-hero-grid,.editorial-page .editorial-hero-grid {grid-template-columns:1fr;gap:2rem}
 .home250-hero {background:var(--bg)}
 .home250-hero h1,.editorial-page .editorial-hero h1 {max-inline-size:22ch}
 .home250-example {max-inline-size:none}
}
@media(max-width:42rem) {
 :root {--shell:calc(100% - 2rem)}
 .home250 h1,.editorial-page .editorial-hero h1 {font-size:clamp(2.3rem,10.5vw,3.3rem);max-inline-size:none;line-height:1.09}
 .home250-hero {padding-top:2.3rem}
 .scan-input-wrap {flex-wrap:wrap;padding:.7rem;gap:.4rem;border-radius:.55rem}
 .scan-input-field {flex-basis:100%;width:100%}
 .scan-input-wrap input {padding:.65rem .3rem;min-height:48px}
 .scan-submit {width:100%;justify-content:center}
 .home250-example,.home250-final-card,.home250-temporal-card {padding:1.35rem}
 .scan-console {padding:1.15rem}
 .home250-faq-list summary {min-height:48px}
 .brand-baseline-241 {font-size:.58rem}
 .language-switcher a {min-width:30px;min-height:40px;display:inline-flex;align-items:center;justify-content:center}
}
@media(prefers-reduced-motion:reduce) {
 .scan-form.is-loading .scan-progress span {animation:none;width:100%;opacity:.5}
 .scan-demo-ghost {display:none}
 *,*::before,*::after {scroll-behavior:auto!important}
}
/* One breakpoint and explicit grid slots: the desktop header must not overlap
   the still-visible mobile menu between 64rem and 78rem. */
@media(max-width:78rem) {
 .site-header .header-inner-241 {position:relative;grid-template-columns:minmax(0,1fr) auto auto!important;gap:.8rem!important}
 .site-header .brand-lockup-241 {grid-column:1;grid-row:1;min-width:0}
 .site-header .header-actions-241 {position:static;grid-column:2;grid-row:1;justify-self:end;min-width:0}
 .site-header .menu-toggle {display:inline-grid;grid-column:3;grid-row:1;position:relative;z-index:2}
 .site-header .header-scan-241 {display:none}
 .site-header .primary-nav-241 {display:none;position:absolute;inset:calc(100% + .5rem) 0 auto;z-index:5;flex-direction:column;align-items:stretch;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
 .site-header .primary-nav-241.is-open {display:flex}
 .site-header .primary-nav-241 a {padding:.85rem 1rem;min-height:48px;display:flex}
}
@media(max-width:26rem) {
 .site-header .header-inner-241 {gap:.3rem!important}
 .site-header .brand-logo-241 {width:8.6rem!important}
 .site-header .header-actions-241 {gap:.35rem}
}
