/* Shared structure and controls. All studies consume the same system. */
html {scroll-padding-top:2rem}
body {margin:0;font-family:var(--sd-font-body);background:var(--sd-bg);color:var(--sd-ink);line-height:1.7}
*,*::before,*::after {box-sizing:border-box}
::selection {background:var(--sd-teal);color:var(--sd-navy-950)}
:focus-visible {outline:3px solid var(--sd-accent)!important;outline-offset:5px}
h1,h2,h3 {font-family:var(--sd-font-display);font-weight:500;line-height:1.12;letter-spacing:-.035em;text-wrap:balance}
p {line-height:1.75}
a {text-underline-offset:.22em}
button,input,select,textarea {font:inherit}
.sd-shell {width:min(calc(100% - var(--sd-gutter)*2),var(--sd-max));margin-inline:auto}
.sd-header {position:relative;z-index:1000;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:20px var(--sd-gutter);min-height:84px;border-bottom:1px solid var(--sd-line);background:var(--sd-bg);color:var(--sd-ink);font:14px var(--sd-font-body);text-transform:none;letter-spacing:0}
.sd-home {display:inline-flex;align-items:center;gap:12px;color:var(--sd-ink);text-decoration:none;flex-shrink:0}
.sd-home img {width:44px;height:44px;max-width:none;display:block}
.sd-home span {font:500 22px var(--sd-font-display);letter-spacing:-.035em}
.sd-header nav {display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.sd-header nav a {color:var(--sd-muted);text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.sd-header nav a:hover {color:var(--sd-accent)}
.sd-kicker {font:600 11px/1.5 var(--sd-font-body);letter-spacing:.15em;text-transform:uppercase;color:var(--sd-accent)}
.sd-page-note {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0;padding:14px var(--sd-gutter);border-bottom:1px solid var(--sd-line);color:var(--sd-muted);background:var(--sd-panel);font:12px/1.5 var(--sd-font-body);letter-spacing:0;text-transform:none}
.sd-page-note strong {color:var(--sd-ink);font-weight:600}
.sd-page-note a {color:var(--sd-accent)}
.sd-skip {position:fixed;top:-120px;left:20px;z-index:99999;padding:12px 20px;background:var(--sd-accent);color:var(--sd-on-accent)}
.sd-skip:focus {top:12px}
.sd-footer {padding:28px var(--sd-gutter);border-top:1px solid var(--sd-line);background:var(--sd-panel);color:var(--sd-muted);font:13px/1.7 var(--sd-font-body);display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;letter-spacing:0;text-transform:none}
.sd-footer a {color:var(--sd-accent)}
.sd-button,.sd-input,.sd-select {min-height:48px;border-radius:10px;padding:12px 18px;border:1px solid var(--sd-line);font:600 14px/1.4 var(--sd-font-body)}
.sd-button {display:inline-flex;justify-content:center;align-items:center;gap:8px;background:var(--sd-accent);color:var(--sd-on-accent);text-decoration:none;cursor:pointer;transition:filter var(--sd-duration),background var(--sd-duration);white-space:normal}
.sd-button:hover {filter:brightness(1.08)}
.sd-button.secondary {background:var(--sd-panel);color:var(--sd-ink);border-color:var(--sd-line)}
.sd-input,.sd-select {width:100%;background:var(--sd-bg);color:var(--sd-ink);font-weight:400}
.sd-card {padding:28px;background:var(--sd-panel);border:1px solid var(--sd-line);border-radius:var(--sd-radius)}
.sd-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.sd-stack {display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.sd-visually-hidden {position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.sd-study-intro {padding:var(--sd-section) 0 48px}
.sd-study-intro h1 {font-size:clamp(2.8rem,6.5vw,5.5rem);max-width:16ch;margin:16px 0 24px}
.sd-study-intro p {max-width:62ch;color:var(--sd-muted);font-size:18px}
.sd-stage {padding-block:0 var(--sd-section)}
.sd-stage>section {margin-block:32px}
/* Source regions are integrated into the shared type and layout system. Artboards keep their own units. */
[data-sd-study] :is(h1,h2,h3):not(.holo-num) {font-family:var(--sd-font-display)!important;font-weight:500}
[data-sd-study] :is(.eyebrow,.kicker,.label,.cap,.meta,.mono) {font-family:var(--sd-font-mono)}
[data-sd-study] :is(.wrap,.wide,.shell) {max-width:var(--sd-max)}
[data-sd-study] :is(.hero-copy,.hero-copia,.hero-left,.hero-head) {text-align:start}
[data-sd-study] :is(.hero-grid,.business-layout) {gap:clamp(28px,5vw,72px)}
[data-sd-study] :is(.feature-grid,.plans-grid,.grid-3,.grid-4,.bento,.cards-grid) {gap:24px}
[data-sd-study] :is(.plan,.plan-card,.feature-card,.price-card) {border-radius:var(--sd-radius);border-color:var(--sd-line)}
[data-sd-study] :is(a.btn,a.button,button.btn,.nav-cta,.topcta) {min-height:48px;border-radius:10px;font-family:var(--sd-font-body);letter-spacing:0}
[data-sd-study] :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),textarea,select) {font-family:var(--sd-font-body)}
[data-sd-study] :is(.hero h1,.hero-title,.hero-h1) {letter-spacing:-.04em;line-height:1.08}
[data-sd-layout="split"] .hero-grid {grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center}
[data-sd-layout="editorial"] :is(.hero-copy,.hero-head) {max-width:46rem}
[data-sd-layout="editorial"] :is(.section-head,.sec-head) {align-items:end;gap:32px}
[data-sd-layout="bento"] :is(.bento,.feature-cards) {gap:24px}
[data-sd-layout="catalog"] :is(.tiers,.plans-grid,.product-grid) {gap:24px}
[data-sd-layout="instrument"] .hero-grid {grid-template-columns:minmax(0,.85fr) minmax(0,1.2fr)}
[data-sd-layout="console"] {overflow:auto!important;height:auto!important;min-height:100dvh}
[data-sd-layout="console"] .app {height:calc(100dvh - 145px);min-height:700px}
[data-sd-layout="stage"] .hero {isolation:isolate}
.sd-original-nav {display:none!important}
@media(max-width:760px) {
 .sd-header {padding:16px 20px;gap:12px;flex-wrap:wrap}.sd-home span{font-size:20px}.sd-header nav{gap:16px}.sd-header nav a{min-height:36px}
 .sd-header .sd-kicker{display:none}.sd-page-note{padding:12px 20px}.sd-footer{padding:24px 20px}
 .sd-grid {grid-template-columns:1fr}.sd-card{padding:22px}
 [data-sd-study] :is(.hero-grid,.business-layout) {grid-template-columns:minmax(0,1fr)!important}
 [data-sd-layout="console"] .app{height:auto;min-height:0}
}
@media(prefers-reduced-motion:reduce) {
 html{scroll-behavior:auto!important}*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
/* Source integration hardening, shared by every resource. */
[hidden] {display:none!important}
body[data-sd-study] {font-family:var(--sd-font-body);overflow-x:clip}
.sd-header {position:relative!important;inset:auto!important;transform:none!important;width:100%!important;margin:0!important;height:auto!important;min-height:84px!important;border-radius:0!important;opacity:1!important;filter:none!important;clip-path:none!important}
.sd-header nav {position:static!important;inset:auto!important;transform:none!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important}
.sd-header a,.sd-header span,.sd-footer a,.sd-footer span {text-transform:none;letter-spacing:normal}
.sd-header nav a {font:14px var(--sd-font-body)!important;line-height:1.5!important;transform:none!important}
.sd-home {position:static!important;inset:auto!important;transform:none!important;opacity:1!important;filter:none!important}
[data-sd-study] h1[data-sd-headline] {text-transform:none!important;opacity:1!important;filter:none!important;transform:none!important}
[data-sd-study] :is(.grid,.hero-grid,.features,.stats,.code-layout,.facts)>* {min-width:0}
[data-sd-study] :is(.hero,.intro,.band,.section,.sec,.mega-footer) {overflow-x:clip}
[data-sd-study] pre {max-width:100%;overflow:auto}
@media(prefers-reduced-motion:reduce) {
 [data-sd-study] :is(.reveal,.rv,.rise,.gsap-hero,.gsap-nav,.hero-callout,.tile,.hero h1,.hero h1 *) {opacity:1!important;filter:none!important;transform:none!important}
 [data-sd-study] :is(.loader,.preloader,.ld) {display:none!important}
}
@media(max-width:760px) {
 [data-sd-study="highlighter-markup-page"] :is(.code-layout,.payload-grid,.facts,.code-grid){grid-template-columns:minmax(0,1fr)!important}
 [data-sd-study="highlighter-markup-page"] :is(.code-side,.code-main,.code-foot,.fact,.payload){max-width:100%;min-width:0;overflow-wrap:anywhere}
 [data-sd-study="craft-studio-webgl-landing-page"] .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 [data-sd-study="craft-studio-webgl-landing-page"] .stat{padding:16px;min-width:0}
 [data-sd-study="craft-studio-webgl-landing-page"] .stat-num{font-size:36px}
 [data-sd-study="agent-run-transcript-page"] :is(.run-layout,.reading-grid,.jacket,.band-inner){max-width:100%;min-width:0}
 [data-sd-study="generative-editorial-product-page"] :is(.hero-word,.hero-metas,.ticker,.ticker-wrap){max-width:100%;overflow-x:clip}
 [data-sd-study="retro-messenger-agent-page"] :is(.hero,.mega-footer){overflow-x:clip}
 [data-sd-study="halden-clinical-equipment-page"] .op-wm{--u:3.8vw}
}
[data-sd-study] h1[data-sd-headline] {text-shadow:none!important;-webkit-text-stroke:0!important}
html:has(body[data-sd-study]) {overflow-x:clip}
@media(max-width:760px){[data-sd-study="generative-editorial-product-page"] .footer-bottom{flex-direction:column}[data-sd-study="generative-editorial-product-page"] .footer-bottom .legal{flex-wrap:wrap;width:100%}}
[data-sd-study] h1[data-sd-headline]:not(.cover-title):not(.jacket-title):not(.main-txt):not(.sr):not(.sr-only) {font-size:clamp(48px,6.5vw,88px)!important;font-weight:500!important}
[data-sd-study="halden-clinical-equipment-page"] #opening .op-wm {--u:min(100cqw / 42,(100svh - 430px)/9)}
[data-sd-study="generative-editorial-product-page"] .hero-deco:first-of-type {display:none}
@media(max-width:760px){[data-sd-study] h1[data-sd-headline]:not(.sr):not(.sr-only){font-size:clamp(36px,10vw,56px)!important}}
