/* Final, restrained polish: preserve all existing illustration assets. */
:root body.cohesive-site{--section-corner:0px;--panel-corner:0px;--inset-corner:0px}
:root body.cohesive-site :is(.development-world,.tool-story,.entities-section,.closing,.cohesive-panel,.cohesive-inset,.evidence-chart,.component-section){border-radius:0;border-color:transparent}
:root body.cohesive-site.component-experience .component-section{border-radius:0}
:root body.cohesive-site :is(.toolkit-overview::before,.toolkit-overview a,.note-card-link,.note-thumb,.note-hero,.note-next,.demo-form,.nav-panel,.nav-preview){border-radius:0}
:root body.cohesive-site .entities-section .entity-grid>li:nth-child(n){border-radius:0;border-color:transparent}
:root body.cohesive-site :is(.button,button,input,textarea,select){border-radius:0}
:root body.cohesive-site .lab-notes.wrap .note-thumb{width:66.666%;max-width:240px;border-radius:0}
:root body.cohesive-site .lab-notes.wrap .note-card-link{border:0;border-radius:0}
.scenario-arrow:empty{display:none}

/* A white glass header, with elevation only once the page has scrolled. */
:root body.cohesive-site .site-header {
 --surface-page:#fff;--surface-panel:#fff;--surface-inset:#f8f8f8;
 --text:#252c23;--text-secondary:#586153;--edge:#d5dad3;
 --bg:#fff;--white:#fff;--ink:#252c23;--muted:#586153;--line:#d5dad3;
 color:var(--text);background:rgba(255,255,255,.96);border-bottom:0;
 -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
 box-shadow:none;transition:box-shadow .2s ease;
}
/* Restore dark surfaces and readable controls in dark mode. */
:root[data-theme="dark"] body.cohesive-site .site-header {
 --surface-page:#1b1b1b;--surface-panel:#2d2d2d;--surface-inset:#353535;
 --text:#f1f5ed;--text-secondary:#c2cbbb;--edge:#50554c;
 --bg:#1b1b1b;--white:#2d2d2d;--ink:#f1f5ed;--muted:#c2cbbb;--line:#50554c;
 background:rgba(27,27,27,.96);
}
:root body.cohesive-site .site-header[data-scrolled="true"] {box-shadow:0 3px 14px rgba(0,0,0,.045)}
:root body.cohesive-site .footer.footer-columns {
 display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,1.5fr);
 align-items:start;gap:40px 64px;padding-block:56px 28px;
}
:root body.cohesive-site .footer.footer-columns>div>p {max-width:38ch;font-size:14px;line-height:1.75}
:root body.cohesive-site .footer.footer-columns nav {
 display:grid;grid-template-columns:minmax(120px,.7fr) minmax(200px,1.3fr);
 grid-column:auto;grid-row:auto;gap:40px;padding:0;font-size:13px;
}
:root body.cohesive-site .footer-link-group {min-width:0}
:root body.cohesive-site .footer-link-group h2 {margin:0 0 18px;font-size:13px;line-height:1.4;font-weight:600;letter-spacing:0}
:root body.cohesive-site .footer-link-group ul {display:flex;flex-direction:column;align-items:flex-start;gap:10px;list-style:none;margin:0;padding:0}
:root body.cohesive-site .footer-link-group li {margin:0;padding:0;line-height:1.6}
:root body.cohesive-site .footer-link-group a {display:block;color:var(--muted);overflow-wrap:anywhere}
:root body.cohesive-site .footer-link-group a:hover {color:var(--ink)}
:root body.cohesive-site .footer.footer-columns>small {grid-column:1/-1;text-align:start;padding:0;font-size:10px}
@media(max-width:800px) {
 :root body.cohesive-site .footer.footer-columns {grid-template-columns:1fr;gap:32px;padding-block:40px 24px}
 :root body.cohesive-site .footer.footer-columns nav {grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px}
}
@media(max-width:380px) {
 :root body.cohesive-site .footer.footer-columns nav {grid-template-columns:1fr;gap:28px}
}
@media(prefers-reduced-motion:reduce) {:root body.cohesive-site .site-header {transition:none}}

/* Square controls across themes; keep decorative carousel dots unchanged. */
:root body.cohesive-site :is(button,.button,.ao-primary,.ac-button,[role="button"],input[type="button"],input[type="submit"],.language-picker>summary,.nav-group>summary,.form-picker>summary){border-radius:0!important;}
:root body.cohesive-site .site-header :is(.theme-toggle,.language-picker>summary,.menu-toggle){border-radius:0;}
:root body.cohesive-site .site-header :is(.theme-toggle,.language-picker>summary)::after{border-radius:0;}
/* Restrained terminal character: crisp edges and shallow, unblurred shadows. */
:root[data-theme="dark"] body.cohesive-site {
 --retro-edge:#596052;--retro-shadow:#0c0e0b;
}
:root[data-theme="dark"] body.cohesive-site :is(.button,.ao-primary,.ac-button,button[type="submit"],.theme-toggle,.menu-toggle,.language-picker>summary){
 border:1px solid var(--retro-edge);border-radius:0;
 box-shadow:3px 3px 0 var(--retro-shadow);font-family:var(--font-text);
 transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
}
:root[data-theme="dark"] body.cohesive-site :is(.button,.ao-primary,.ac-button,button[type="submit"],.theme-toggle,.menu-toggle,.language-picker>summary):hover{border-color:var(--accent);}
:root[data-theme="dark"] body.cohesive-site :is(.button,.ao-primary,.ac-button,button[type="submit"],.theme-toggle,.menu-toggle,.language-picker>summary):active{box-shadow:1px 1px 0 var(--retro-shadow);}
:root[data-theme="dark"] body.cohesive-site :is(.nav-panel,.language-picker>nav,.form-picker>nav,dialog[open]){border:1px solid var(--retro-edge);border-radius:0;box-shadow:4px 4px 0 var(--retro-shadow);}
:root[data-theme="dark"] body.cohesive-site :is(.eyebrow,.fin-kicker,.fin-tag){font-family:var(--mono);}
@media(max-width:640px){
 :root[data-theme="dark"] body.cohesive-site .nav-panel{border:0;box-shadow:none;}
}
@media(prefers-reduced-motion:reduce){
 :root[data-theme="dark"] body.cohesive-site :is(.button,.ao-primary,.ac-button,button[type="submit"],.theme-toggle,.menu-toggle,.language-picker>summary){transition:none;}
}

/* Square dark surfaces with a solid, unblurred bottom-right shadow. */
:root[data-theme="dark"] body.cohesive-site {
 --section-corner:0px;--panel-corner:0px;--inset-corner:0px;
}
:root[data-theme="dark"] body.cohesive-site :is(
 .component-section,.tool-story,.entities-section,.closing,.simulation-story,
 .cohesive-panel,.cohesive-inset,.local-computer,.improvement-loop,
 .demo-form,.evidence-chart,.fin-card,.fin-metrics article,.fin-model,
 .nav-panel,.nav-preview,.nav-option,.toolkit-overview,.toolkit-overview a,
 .toolkit-overview::before,dialog
){border-radius:0!important;}
:root[data-theme="dark"] body.cohesive-site :is(
 .cohesive-panel,.local-computer,.improvement-loop,.demo-form,
 .fin-card,.fin-metrics article,.fin-model,dialog[open]
){
 border:1px solid var(--retro-edge)!important;
 box-shadow:6px 6px 0 var(--retro-shadow)!important;
}
:root[data-theme="dark"] body.cohesive-site :is(
 .button,.ao-primary,.ac-button,button[type="submit"],.menu-toggle,
 .nav-panel,.language-picker>nav,.form-picker>nav
){box-shadow:3px 3px 0 var(--retro-shadow);}
:root[data-theme="dark"] body.cohesive-site :is(
 .button,.ao-primary,.ac-button,button[type="submit"],.menu-toggle
):active{box-shadow:1px 1px 0 var(--retro-shadow);}
@media(max-width:640px){
 :root[data-theme="dark"] body.cohesive-site .nav-panel{border:0;box-shadow:none;}
}
/* The two utility controls keep their original circular shape in both themes. */
:root body.cohesive-site .site-header :is(.theme-toggle,.language-picker:not(.form-picker)>summary){
 border-radius:50%!important;box-shadow:none!important;font-family:inherit;
}
:root body.cohesive-site .site-header :is(.theme-toggle,.language-picker:not(.form-picker)>summary)::after{border-radius:50%;}

/* Compact contact shortcut with safe-area spacing and mirrored RTL placement. */
:root body .whatsapp-float{position:fixed;inset-inline-end:max(22px,env(safe-area-inset-right));bottom:calc(22px + env(safe-area-inset-bottom));z-index:90;display:grid;place-items:center;width:56px;height:56px;padding:14px;box-sizing:border-box;border:0;border-radius:50%;background:#25d366;color:#fff;box-shadow:0 3px 14px #0002;text-decoration:none;line-height:1;transition:background-color .15s ease;}
:root body .whatsapp-float svg{display:block;width:28px;height:28px;}
:root body .whatsapp-float:hover{background:#1ebe5d;color:#fff;}
:root body .whatsapp-float:focus-visible{outline:3px solid var(--text,#22291f);outline-offset:4px;}
@media(max-width:640px){:root body .whatsapp-float{inset-inline-end:16px;bottom:calc(16px + env(safe-area-inset-bottom));width:52px;height:52px;padding:12px;}}
@media(prefers-reduced-motion:reduce){:root body .whatsapp-float{transition:none;}}

/* Shared closing CTA for dedicated landing pages. */
:root body.cohesive-site main .landing-cta{
 --fin-ink:#20271d;--fin-muted:#34402b;--fin-paper:#fff;--fin-line:#94ad70;
 display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,280px);align-items:center;gap:64px;
 background:#c9f36b;color:#20271d;padding:56px;margin:0 0 100px;min-height:320px;border:0;border-radius:0;box-sizing:border-box;
}
:root body.cohesive-site main .fin-contact.landing-cta{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;}
:root body.cohesive-site main .landing-cta h2{font-size:clamp(30px,3.3vw,42px);line-height:1.18;letter-spacing:-1px;color:#20271d;text-wrap:balance;margin:0;}
:root body.cohesive-site main .landing-cta p:not(.fin-status){font-size:16px;line-height:1.8;color:#34402b;margin:22px 0 0;}
:root body.cohesive-site main .landing-cta :is(label,.biz-optional){color:#20271d;}
:root body.cohesive-site main .landing-cta :is(button[type=submit],.ac-button,#business-checkout):not([hidden]){
 display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:58px;box-sizing:border-box;
 background:#20271d;color:#fff;font-size:16px;line-height:1.5;padding:16px 22px;border:0;border-radius:0;white-space:normal;text-align:center;text-decoration:none;
}
:root body.cohesive-site main .landing-cta :is(button[type=submit],.ac-button,#business-checkout):not([hidden]):hover{background:#35442b;color:#fff;filter:none;}
:root body.cohesive-site main .landing-cta :is(button[type=submit],.ac-button,#business-checkout):not([hidden]):focus-visible{outline:2px solid #20271d;outline-offset:4px;}
:root body.cohesive-site main .landing-cta-action{min-width:0;width:100%;}
:root[data-theme=dark] body.cohesive-site main .landing-cta{box-shadow:8px 8px 0 #000;}
:root body.cohesive-site:lang(he) main .landing-cta h2{letter-spacing:normal;}
:root body.cohesive-site main #agent-check-form{scroll-margin-top:110px;}
@media(max-width:1000px){:root body.cohesive-site main .landing-cta{gap:32px;padding:40px;}}
@media(max-width:900px){:root body.cohesive-site main :is(.landing-cta,.fin-contact.landing-cta){grid-template-columns:1fr;gap:30px;min-height:0;}:root body.cohesive-site main .landing-cta-action{max-width:400px;}}
@media(max-width:760px){:root body.cohesive-site main .landing-cta{padding:36px 30px;margin-bottom:64px;}:root body.cohesive-site main .landing-cta h2{font-size:32px;}}
@media(max-width:480px){:root body.cohesive-site main .landing-cta{padding:26px;}}
