:root{--ink:#182b49;--muted:#4e6079;--paper:#ffffff;--line:#dce4ef;--accent:#a9ddff;--brand:#2056a5;--action:#1858d5;--action-hover:#1243a3;--header-height:81px;--dark:#152d50;--space:clamp(3rem,6vw,5.25rem)}
*{box-sizing:border-box}
html{scroll-padding-top:calc(var(--header-height) + 1rem)}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,"Segoe UI",sans-serif;font-size:1rem;line-height:1.7;overflow-wrap:anywhere}
h1,h2,h3,p{margin:0}
h1,h2,h3{line-height:1.22}
h1{font-size:clamp(2.55rem,5.4vw,4.8rem);letter-spacing:-.045em;font-weight:750}
h1 em{font-style:normal;color:var(--brand)}
h2{font-size:clamp(1.85rem,3.1vw,2.75rem);letter-spacing:-.035em}
h3{font-size:1.375rem;line-height:1.35}
p+p{margin-top:1rem}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}
a:hover{text-decoration:underline;text-underline-offset:.3em}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #1858d5;outline-offset:5px}
button,a{touch-action:manipulation}
.container{width:min(1160px,calc(100% - 3rem));margin-inline:auto}
.section{padding-block:var(--space)}
.eyebrow{font-size:1rem;font-weight:700;letter-spacing:.015em;color:var(--brand);margin-bottom:1.2rem}
.lead{font-size:1.15rem;line-height:1.8;color:var(--muted)}
.small{font-size:.875rem;color:var(--muted)}
.skip-link{position:fixed;top:-5rem;right:1rem;background:var(--ink);color:white;padding:.6rem 1rem;z-index:100}
.skip-link:focus{top:1rem}
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 3px 16px #182b490a}
.nav{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:1.25rem;flex-wrap:wrap}
.brand{display:inline-flex;align-items:center;max-width:100%;flex-shrink:0;min-height:44px}
.brand-logo{display:block;width:12.5rem;max-width:100%;height:auto}
.nav-links{display:flex;flex-wrap:wrap;gap:1.8rem;font-size:1.0625rem;font-weight:600}
.nav-links a{display:inline-flex;align-items:center;min-height:44px}
.nav-links a[aria-current]{text-decoration:underline;text-underline-offset:.4em}
.nav-cta{font-size:1rem;font-weight:700;background:var(--action);color:#fff;padding:.65rem 1rem;border-radius:6px}
.nav-cta:hover{background:var(--action-hover);text-decoration:none}
.nav-cta span{margin-inline-start:.5rem}
.button{display:inline-flex;align-items:center;justify-content:center;gap:1.2rem;padding:.95rem 1.4rem;min-height:48px;background:var(--action);color:#fff;border:1px solid var(--action);border-radius:8px;cursor:pointer;font-weight:700;line-height:1.45;text-align:center;box-shadow:0 3px 9px #1858d518}
.button:hover{background:var(--action-hover);text-decoration:none}
.button.secondary{background:white;color:var(--brand);box-shadow:none}
.button.secondary:hover{background:#eaf2ff}
.button:disabled{opacity:.65;cursor:wait}
.button span{font-size:1.25rem}
.text-link{display:inline-block;font-weight:700;font-size:1rem;text-decoration:underline;text-decoration-color:#9fb8da;text-underline-offset:.35em}
.hero{display:grid;grid-template-columns:1.35fr 1fr;align-items:center;gap:clamp(2rem,5vw,5rem);padding-block:clamp(2.5rem,5vw,4.5rem)}
.hero>*{min-width:0}.button,.contact-quick a{max-width:100%}
.hero h1{font-size:clamp(2.6rem,4.7vw,4.2rem);letter-spacing:-.035em}
.hero-principles{display:flex;flex-wrap:wrap;gap:.35rem 1.1rem;list-style:none;margin:1.5rem 0 0;padding:1rem 0 0;border-top:1px solid var(--line);font-size:1rem;color:var(--muted)}
.hero-principles li:before{content:'✓';margin-inline-end:.4rem;color:var(--brand);font-weight:700}
.hero-evidence{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--line);font-size:.875rem;color:var(--muted)}
.hero-evidence .text-link{font-size:inherit}
.about :focus-visible,.hero-proof :focus-visible,.financial-boundary :focus-visible{outline-color:var(--accent)}
.contact-quick{display:flex;gap:.5rem 1.25rem;flex-wrap:wrap;margin-top:1rem}
.contact-quick a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:.25em;font-size:1rem}
#form-fields:disabled{opacity:.65}
.error-page{min-height:55vh;display:grid;align-content:center;gap:1.25rem;padding-block:3rem;max-width:750px}
.error-page .actions{margin-top:0}
.hero h1{margin-bottom:1.5rem}
.hero .lead{max-width:37rem}
.audience{font-size:1rem;color:var(--muted);margin-top:1rem}
.action-help{font-size:.875rem;color:var(--muted);margin-top:1rem;max-width:34rem}
.actions{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;margin-top:2rem}
.hero-proof{background:var(--dark);color:#fff;padding:2rem;border:1px solid #29466b;border-radius:14px;position:relative;box-shadow:0 14px 35px #152d5014}
.proof-distribution{display:flex;gap:4px;height:9px;margin-top:1.5rem;overflow:hidden;border-radius:6px}
.proof-distribution>span:first-child{width:80%;background:var(--accent)}
.proof-distribution>span:last-child{width:20%;background:#738cac}
.proof-legend{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem;font-size:.875rem;color:#d2deed;margin-top:.5rem}
.hero-proof .eyebrow{color:var(--accent);border-bottom:1px solid #496284;padding-bottom:1rem;margin-bottom:1.2rem}
.proof-number{font-size:clamp(4rem,7vw,6.5rem);font-weight:700;line-height:1.05;letter-spacing:-.07em;color:var(--accent);direction:ltr;text-align:right}
.proof-number span{font-size:.55em;letter-spacing:-.04em}
.hero-proof h2{font-size:1.65rem;margin-top:.75rem}
.hero-proof>p:not(.proof-number):not(.eyebrow){color:#d2deed}
.hero-proof h2+p{margin-top:1rem}
.proof-flow{display:flex;gap:.65rem;align-items:center;justify-content:space-between;padding:1rem 0;margin:1.3rem 0;border-block:1px solid #496284;font-size:.875rem}
.hero-proof .text-link{color:var(--accent)}
.hero-proof .small{margin-top:1rem;font-size:.875rem;line-height:1.65}
.section-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:3rem;align-items:end;margin-bottom:2.25rem}
.section-heading>p{color:var(--muted);max-width:31rem}
.service-grid,.case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.service-card{border:1px solid var(--line);border-top:3px solid var(--brand);border-radius:8px;padding:1.5rem;display:flex;flex-direction:column;background:#fff}
.number{font-size:.875rem;color:var(--brand);font-variant-numeric:tabular-nums}
.service-card h3{margin:1.5rem 0 1rem}
.service-card>p{color:var(--muted)}
.service-card .service-solution{color:var(--ink);border-top:1px solid var(--line);padding-top:1rem}
.service-card .text-link{margin-top:auto;padding-top:1.2rem;min-height:44px}
.section-link{margin-top:2rem}
.cases-section{background:#f3f7fc}
.case-card{background:var(--paper);padding:1.6rem;display:flex;flex-direction:column;border:1px solid #dce4ef;border-radius:10px}
.card-top{display:flex;justify-content:space-between;font-size:.9375rem;gap:1rem}
.metric{font-size:clamp(1.65rem,2.7vw,2.5rem);line-height:1.2;font-weight:700;letter-spacing:-.025em;color:var(--brand);margin-top:2rem}
.metric-label{font-size:.9375rem!important;margin-top:.3rem!important}
.case-card h3{margin:1.5rem 0 1rem}
.case-card>p:not(.metric){color:var(--muted);font-size:1rem}
.case-card a{margin-top:auto;padding-top:1.7rem}
.steps{list-style:none;counter-reset:steps;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.steps li{counter-increment:steps;border-top:2px solid var(--line);padding-top:1.5rem}
.steps li:before{content:"0" counter(steps);display:block;color:var(--brand);font-size:1rem;font-weight:700;margin-bottom:1.5rem}
.steps h3{margin-bottom:1rem}
.steps p{color:var(--muted)}
.steps strong{display:block;font-size:1rem;margin-top:1rem}
.about{background:var(--dark);color:white;border-block:1px solid #29466b}
.about-grid,.split{display:grid;grid-template-columns:1fr 1.2fr;gap:4rem}
.about .eyebrow{color:var(--accent)}
.about p,.about .lead{color:#d2deed}
.about-page h1{font-size:clamp(2rem,3.5vw,3.2rem);letter-spacing:-.025em}
.signature{font-weight:700;margin-top:1.5rem!important}
.signature span{display:block;font-weight:400;font-size:.875rem;color:#d2deed}
.faq-list{max-width:850px;border-top:1px solid var(--line)}
details{border-bottom:1px solid var(--line)}
summary{cursor:pointer;font-size:1.1rem;font-weight:700;padding:1.2rem .25rem;list-style:none;display:flex;justify-content:space-between;gap:1.2rem}
summary::-webkit-details-marker{display:none}
summary:after{content:"+";color:var(--brand);font-size:1.3rem}
details[open] summary:after{content:"−"}
details p{max-width:46rem;color:var(--muted);padding:0 .25rem 1.3rem}
.contact{background:#eaf2ff}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start}
.contact h2{margin-bottom:.7rem}
.contact-intro{margin-bottom:1.5rem}
.contact-explainer{padding:1.5rem;border-inline-start:3px solid #a5c6f0}
.contact-explainer h3{margin-bottom:1rem}
.contact-expectations{padding-inline-start:1.25rem;margin-block:1rem 1.5rem;color:var(--muted)}
.contact-expectations li{padding-block:.25rem}
.contact-grid>*{min-width:0}
.contact .small{max-width:27rem}
form{background:var(--paper);padding:2rem;border:1px solid #cfddf0;border-radius:10px;box-shadow:0 8px 25px #182b4906}
form h3{margin-bottom:.5rem}
form fieldset{border:0;padding:0;margin:0;min-width:0}
.form-help{font-size:.875rem;line-height:1.6;color:var(--muted);margin-bottom:1.4rem}
label{display:block;font-size:1rem;font-weight:700;margin-bottom:1rem}
label>span{font-weight:400}
input:not([type=checkbox]),textarea{display:block;width:100%;border:1px solid #8a9cb4;background:#fff;padding:.7rem;margin-top:.4rem;border-radius:2px;min-height:46px;color:var(--ink)}
textarea{resize:vertical}
input[dir=ltr]{text-align:left}
form select{display:block;width:100%;min-height:48px;padding:.7rem;margin-top:.4rem;border:1px solid #8a9cb4;border-radius:3px;background:white;color:var(--ink)}
[aria-invalid=true]{border-color:#8b2424!important}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.consent{display:flex;align-items:flex-start;gap:.65rem;line-height:1.6;font-size:.875rem;font-weight:400}
.consent input{width:1.2rem;height:1.2rem;flex:none;margin-top:.15rem;accent-color:var(--brand)}
.consent a{text-decoration:underline}
.trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
form .button{width:100%}
.form-status{font-size:.875rem;margin-top:1rem;color:var(--ink)}
.form-status:empty{display:none}
.form-status[data-error]{color:#8b2424;background:#fff3f2;border-inline-start:3px solid #8b2424;padding:1rem;margin-bottom:1.25rem}
.form-status[data-success]{font-size:1rem;line-height:1.7;color:#164b36;background:#edf8f2;border:1px solid #89bfa0;border-inline-start:5px solid #26704d;border-radius:8px;padding:1.4rem;margin-block:1.25rem}
.form-status[data-success]:before{content:"✓ הפנייה התקבלה";display:block;font-size:1.3rem;font-weight:700;margin-bottom:.6rem}
.form-status[data-sending]{padding:1rem;background:#eaf2ff;border-inline-start:3px solid var(--brand)}
.form-status:focus{outline:2px solid var(--brand);outline-offset:4px}
.site-footer{background:var(--dark);color:#fff}
.site-footer a:focus-visible{outline-color:var(--accent)}
.footer{padding-block:2.5rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1.5rem;font-size:1rem}
.footer>div{display:flex;gap:1.4rem;flex-wrap:wrap}
.footer p{color:var(--accent)}
.page-hero{padding-block:clamp(1.5rem,3vw,2.75rem);max-width:1160px}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:.6rem;padding-top:1.3rem;font-size:.9375rem;color:var(--muted)}
.breadcrumbs a{min-height:32px;text-decoration:underline}
.breadcrumbs+.page-hero{padding-top:2rem}
.page-hero h1{font-size:clamp(2rem,3.8vw,3.35rem);max-width:62rem;margin-bottom:1rem}
.page-hero .lead{max-width:47rem}
.page-hero .small{max-width:47rem;margin-top:1rem}
.page-hero .button{margin-top:1.5rem}
.page-hero+.section{padding-top:0}
.case-detail{display:grid;grid-template-columns:1fr 1.25fr;gap:4rem;border-top:1px solid var(--line);padding-block:3.5rem;scroll-margin-top:2rem}
.case-detail h2{font-size:2rem}
.detail-metric{font-size:2.3rem;font-weight:700;color:var(--brand);margin-top:2rem}
.detail-metric span{display:block;font-size:1rem;color:var(--muted);font-weight:400}
.case-detail h3{margin-bottom:.7rem}
.case-detail p+h3{margin-top:1.7rem}
.case-detail>div>p{color:var(--muted)}
.case-flow{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;background:#f3f7fc;padding:1rem;margin-block:1.5rem;font-size:.875rem}
.evidence-note{border-inline-start:3px solid #91b6ed;padding:1rem;background:#f3f7fc;border-radius:0 6px 6px 0;font-size:.875rem;color:var(--muted);margin-block:1.5rem!important}
.evidence-note strong{color:var(--ink)}
.evidence-note strong+p{margin-top:.5rem}
.integration-flow{list-style:none;margin:1.5rem 0 .75rem;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:8px;overflow:hidden}
.integration-flow li{background:#f3f7fc;padding:1rem;min-width:0}
.integration-flow li>span{display:block;color:var(--brand);font-size:.875rem;font-weight:700;font-variant-numeric:tabular-nums;margin-bottom:.5rem}
.integration-flow strong{display:block;font-size:1rem;line-height:1.5}
.fit-section{background:#f3f7fc}
.split ul{padding-inline-start:1.2rem}
.split li{padding-block:.25rem}
.split p{color:var(--muted)}
.split .text-link{margin-top:1rem}
.closing{text-align:center}
.closing p{margin-bottom:1.5rem}
.legal{max-width:780px}
.legal h1{font-size:clamp(2rem,5vw,3.4rem)}
.legal h2{font-size:1.45rem;margin-block:2rem .7rem}
.legal p{color:var(--muted)}
.legal a{text-decoration:underline}
/* Financial service page: a readable workflow, a clear human boundary and sourced evidence. */
.financial-hero h1{max-width:66rem}
.financial-hero .lead{max-width:54rem}
.financial-hero .actions .button{margin-top:0}
.financial-process .section-heading{align-items:start}
.financial-flow{gap:2rem}
.financial-boundary{margin-top:2.5rem;padding:1.5rem 2rem;background:var(--dark);color:#fff;border-radius:10px;border-inline-start:5px solid var(--accent)}
.financial-boundary h3{color:var(--accent);margin-bottom:.7rem}
.financial-boundary p{max-width:62rem;color:#d2deed}
.financial-evidence{display:grid;grid-template-columns:1fr 1.35fr;gap:3rem;border-block:1px solid var(--line);padding-block:2rem}
.financial-evidence>*{min-width:0}
.financial-evidence h2{font-size:clamp(1.7rem,2.7vw,2.3rem)}
.financial-evidence>div>p{color:var(--muted)}
#financial-fit h3{margin-top:1.5rem}
@media(max-width:700px){.financial-evidence{grid-template-columns:1fr;gap:1.5rem}.financial-boundary{padding:1.4rem}.financial-hero h1{font-size:clamp(2rem,7.5vw,3rem)}.integration-flow{grid-template-columns:1fr 1fr}}
@media(min-width:701px) and (max-width:1000px){.integration-flow{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.hero{gap:2rem;grid-template-columns:1.2fr 1fr}
.hero-proof{padding:1.6rem}
.nav-links{gap:1rem}
.contact-grid,.case-detail,.about-grid,.split{gap:2rem}
.case-card{padding:1.25rem}
.section-heading{gap:2rem}
.service-grid,.case-grid{gap:1rem}
}
@media(max-width:700px){:root{--header-height:112px;--space:2.4rem}
.container{width:calc(100% - 2rem)}
.nav{min-height:76px;flex-wrap:wrap;padding-block:.35rem;gap:.25rem}
.site-header .brand-logo{width:10rem}
.nav-links{order:3;width:100%;justify-content:space-between;border-top:1px solid var(--line);padding-top:.2rem;font-size:1rem;gap:.5rem}
.hero{grid-template-columns:1fr;padding-top:1.5rem;gap:1.5rem}
.hero h1{margin-bottom:1rem}
.hero .eyebrow{margin-bottom:.8rem}
.hero .actions{margin-top:1.2rem;gap:1rem}
.hero .audience{margin-top:.7rem}
.hero .action-help{margin-top:.7rem}
.hero-evidence{margin-top:1rem;padding-top:.75rem}
.hero-proof .eyebrow{margin-bottom:.75rem;padding-bottom:.75rem}
.proof-flow{margin-block:1rem;padding-block:.7rem}
.hero h1{font-size:clamp(2.15rem,8vw,3.2rem)}
.hero .lead{font-size:1.05rem}
.hero-proof{max-width:none;padding:1rem}
.proof-number{font-size:3.5rem}
.hero-proof h2 br{display:none}
.section-heading,.service-grid,.case-grid,.steps,.contact-grid,.about-grid,.split,.case-detail{grid-template-columns:1fr}
.section-heading{gap:1rem}
.section-heading .eyebrow{margin-bottom:.7rem}
.service-grid{gap:1rem}
.service-card h3{margin-top:.8rem}
.case-card,.service-card{padding:1.4rem}
.metric{font-size:2rem;margin-top:1rem}
.case-card h3{margin-block:1rem .7rem}
.case-card a{padding-top:1rem}
.section-heading{margin-bottom:1.5rem}
.steps{gap:2rem}
.about-grid,.contact-grid{gap:2rem}
.contact{padding-block:1.5rem 2.5rem}
.contact h2{font-size:1.8rem}
.contact-intro{margin-bottom:1rem}
.footer{align-items:flex-start;flex-direction:column}
.footer>div{gap:1rem}
form{padding:1.4rem}
.case-detail{gap:2rem}
.detail-metric{margin-top:1rem}
.page-hero h1 br{display:none}
.closing{text-align:right}
}
@media(max-width:380px){.form-row{grid-template-columns:1fr;gap:0}
.actions{align-items:stretch;flex-direction:column}
.proof-flow{gap:.35rem;font-size:.8125rem}
}

/* Guided local-data workshop. Uses the existing site's palette and primitives. */
[hidden]{display:none!important}
.demo-section{background:#f3f7fc;border-block:1px solid var(--line)}
.demo-invitation{display:flex;align-items:center;justify-content:space-between;gap:2rem}
.demo-invitation>div{max-width:46rem}
.demo-invitation .lead{margin-top:1rem}
.demo-invitation>.button{flex-shrink:0}
.demo-page{padding-top:2rem}
.demo-page-intro{margin-bottom:1.5rem;max-width:54rem}
.demo-page-intro h1{font-size:clamp(1.8rem,3.5vw,3rem);margin-bottom:.75rem}
.demo-page-intro .lead{font-size:1rem}
.demo-bar h2{font-size:1rem;letter-spacing:normal;line-height:1.5}
@media(max-width:700px){.demo-invitation{align-items:flex-start;flex-direction:column}.demo-page{padding-top:1rem}}
.demo-section .section-heading{align-items:center}
.demo-app{background:white;border:1px solid #c7d5e8;border-radius:12px;overflow:hidden;box-shadow:0 16px 40px #182b4908}
.demo-app h4{font-size:1.15rem;line-height:1.4;margin:0 0 .7rem}
.demo-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.5rem;background:var(--dark);color:white}
.demo-tag{font-size:.875rem;line-height:1.5}
.demo-bar .demo-tag{color:#d4e7ff}
.demo-journey{padding:1.25rem 1.5rem 0}
.demo-journey ol{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin:0;padding:0}
.demo-journey button{display:flex;align-items:center;gap:.6rem;width:100%;padding:.6rem .65rem;min-height:48px;text-align:right;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font-size:1rem;cursor:pointer;line-height:1.45}
.demo-journey button>span{display:grid;place-items:center;flex:none;border-radius:50%;width:1.65rem;height:1.65rem;background:#eaf1fc;color:var(--brand);font-size:.875rem;font-weight:700}
.demo-journey button[aria-current]{background:#eaf2ff;border-color:var(--action);font-weight:700}
.demo-journey button[aria-current]>span{background:var(--action);color:#fff}
.demo-journey button[data-complete=true]{border-color:#a7c9b7}
.demo-journey button[data-complete=true]>span{background:#e5f4ed;color:#20543d}
.demo-journey button:disabled{cursor:not-allowed;color:#63748b;background:#f7f9fc}
.demo-position{margin:0!important;padding:.85rem 1.5rem;font-size:.875rem;color:var(--muted);border-bottom:1px solid var(--line)}
.demo-panel{padding:2rem;min-width:0}
.demo-panel>h3,.demo-stage-heading h3{font-size:clamp(1.45rem,2.5vw,2rem);margin-bottom:.85rem;scroll-margin-top:1.5rem}
.demo-panel>.lead{max-width:55rem;font-size:1.05rem}
.demo-panel [tabindex="-1"]:focus{outline:2px solid #a3c5f1;outline-offset:.3rem;border-radius:3px}
.demo-config-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:2rem;margin-top:1.8rem}
.demo-settings .demo-run-actions{margin-top:1rem}
#demo-unavailable{min-height:28rem;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:1rem}
#demo-unavailable[hidden]{display:none}
.demo-settings{min-width:0}
.demo-settings label{font-size:1rem;margin-bottom:1.2rem}
.demo-app select{display:block;width:100%;max-width:100%;min-height:48px;margin-top:.5rem;padding:.7rem 2rem .7rem .7rem;background:#fff;color:var(--ink);border:1px solid #8a9cb4;border-radius:5px;font:inherit;cursor:pointer}
.demo-app select:focus-visible,.demo-table-scroll:focus-visible{outline:3px solid var(--action);outline-offset:3px}
.demo-app select,form input:not([type=checkbox]),form textarea{font-weight:400}
.demo-choice-hint{display:block;margin-top:.45rem;font-size:.875rem;color:var(--muted);line-height:1.5}
.demo-promise{padding:1.5rem;background:#edf4ff;border:1px solid #d4e3f8;border-radius:8px;align-self:start}
.demo-promise .eyebrow{margin-bottom:.75rem}
.demo-promise h4{font-size:1.4rem}
.demo-promise ul{padding-inline-start:1.2rem;margin:1.2rem 0}
.demo-promise li{padding-block:.25rem}
.demo-choice-summary{font-weight:700;color:var(--brand);margin-bottom:.5rem}
.demo-pipeline{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:1.25rem 0;padding:0;counter-reset:demo-stage}
.demo-pipeline li{counter-increment:demo-stage;display:flex;align-items:center;gap:.4rem;padding:.4rem .65rem;border:1px solid #cbdcf3;background:#f4f8ff;border-radius:5px;font-size:.875rem;line-height:1.4}
.demo-pipeline li:before{content:counter(demo-stage);color:var(--brand);font-weight:700}
.demo-explanation{padding-inline-start:1.5rem;margin-block:1.2rem}
.demo-explanation li{padding:.4rem .25rem;font-size:1rem;max-width:60rem}
.demo-change-note{padding:.85rem 1rem;margin-top:1rem!important;border-inline-start:3px solid var(--action);background:#edf4ff;color:var(--ink);font-size:.9375rem}
.demo-local-note{font-size:.875rem;color:var(--muted);border-top:1px solid var(--line);padding-top:1rem;margin-top:1.5rem}
.demo-stage-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}
.demo-stage-heading .demo-tag{color:var(--brand);background:#eef4fd;padding:.3rem .65rem;border-radius:5px;flex:none}
.demo-stats{display:grid;grid-template-columns:repeat(4,1fr);margin-block:1.4rem;border:1px solid var(--line);border-radius:6px;padding:1rem 0}
.demo-stats>div{text-align:center;padding-inline:.3rem}
.demo-stats>div+div{border-inline-start:1px solid var(--line)}
.demo-stats strong{display:block;font-size:1.8rem;line-height:1.3;font-variant-numeric:tabular-nums}
.demo-stats span{font-size:.875rem;color:var(--muted)}
.demo-difference{padding:.85rem 1rem;background:#f5f8fc;border-radius:6px;font-size:.9375rem}
.demo-proof{margin-top:1.25rem}
.demo-proof-list{margin:0;padding-inline-start:1.25rem;font-size:.9375rem}
.demo-proof-list li{padding-block:.2rem}
.demo-results-detail{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--line)}
.demo-results-detail>.small{margin-bottom:1rem}
.demo-decision p[data-state]{padding:.65rem;margin-top:.7rem;border-inline-start:3px solid #859ab4;background:#f3f7fc}
.demo-decision p[data-state=blocked]{color:#754210;background:#fff0de;border-color:#986024}
.demo-decision p[data-state=ready]{color:#20543d;background:#e5f4ed;border-color:#368466}
.demo-table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:6px}
.demo-table{width:100%;border-collapse:collapse;text-align:right;font-size:.9375rem;line-height:1.55}
.demo-table caption{text-align:right;padding:.7rem .9rem;font-weight:700;color:var(--muted);background:#f8faff;border-bottom:1px solid var(--line)}
.demo-table th{background:#f0f5fb;font-weight:700}
.demo-table th,.demo-table td{padding:.7rem .65rem;vertical-align:top;border-bottom:1px solid var(--line)}
.demo-table tr:last-child td{border-bottom:0}
.demo-table td:first-child{min-width:145px}
.demo-table td:nth-child(2){min-width:135px}
.demo-table td:nth-child(3){white-space:nowrap;font-variant-numeric:tabular-nums}
.demo-table td:last-child{min-width:150px}
.demo-record{display:flex;flex-wrap:wrap;gap:0 .35rem;font-size:1rem;font-weight:400}
.demo-record bdi{overflow-wrap:anywhere}
.demo-badge{display:inline-block;padding:.15rem .45rem;border-radius:4px;font-size:.875rem;font-weight:700}
.demo-badge[data-state=ready]{background:#e5f4ed;color:#20543d}
.demo-badge[data-state=blocked]{background:#fff0de;color:#754210}
.demo-badge[data-state=excluded],.demo-badge[data-state=pending]{background:#edf1f6;color:#4d5e74}
.demo-row-reason{display:block;font-size:.875rem;color:var(--muted);margin-top:.25rem;max-width:18rem}
.demo-run-actions{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;margin-top:1.5rem}
.demo-secondary{border:0;background:transparent;color:var(--muted);cursor:pointer;text-decoration:underline;text-underline-offset:.25em;padding:.65rem .3rem;min-height:44px;font-size:.9375rem}
.demo-app button:disabled{cursor:not-allowed}
.demo-secondary:disabled{opacity:.6;text-decoration:none}
.demo-status{margin:0!important;color:var(--muted);font-size:.9375rem}
.demo-status:empty{display:none}
.demo-status[data-state=blocked]{color:#754210}
.demo-repairs{margin:1.5rem 0 0;padding:0;border:0;min-width:0}
.demo-repairs legend{font-weight:700;font-size:1.2rem;margin-bottom:.6rem}
.demo-repair-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem;margin-top:1rem}
.demo-decision{padding:1.25rem;background:#f8faff;border:1px solid var(--line);border-radius:8px;min-width:0}
.demo-decision input:not([type=checkbox]){max-width:24rem}
.demo-decision>p:not(.small){font-size:.9375rem;line-height:1.65}
.demo-decision label{margin-block:1rem .7rem}
.demo-decision .small{font-size:.875rem}
.demo-decision select{font-size:.9375rem}
.demo-checkbox{display:flex;align-items:flex-start;gap:.7rem;font-size:.9375rem}
.demo-checkbox input{width:1.2rem;height:1.2rem;margin-top:.15rem;accent-color:var(--brand);flex:none}
.demo-data-details,.demo-output{margin-top:1.5rem}
.demo-data-details summary,.demo-output summary,.demo-next-step summary{font-size:1rem}
.demo-output p{font-size:.875rem}
.demo-output pre{margin:0 0 1rem;padding:1rem;background:#f3f7fc;border-radius:6px;overflow:auto;font-size:.875rem;line-height:1.7;text-align:left}
.demo-takeaway{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:1.5rem}
.demo-takeaway>div{padding:1.25rem;background:#f3f7fc;border-radius:8px;border:1px solid var(--line)}
.demo-takeaway .eyebrow{margin-bottom:.6rem}
.demo-takeaway ul{margin:0;padding-inline-start:1.2rem}
.demo-takeaway li{padding-block:.3rem;font-size:.9375rem}
.demo-next-step{margin-top:1.25rem;padding:1.5rem;background:#edf4ff;border:1px solid #ccdcf4;border-radius:8px}
.demo-next-step .eyebrow{margin-bottom:.65rem}
.demo-next-step h4{font-size:1.35rem}
.demo-next-step details{margin-block:1rem}
.demo-next-step label{margin-top:1.25rem}
.demo-next-step textarea{font-weight:400;font-size:.9375rem}
.demo-next-step .demo-fit-hint{font-size:1rem;border-inline-start:3px solid var(--brand);padding-inline-start:.8rem;margin-top:.75rem}
.demo-next-step>.button{margin-top:1rem}
.demo-handoff-note{margin-top:.65rem!important}
.demo-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:.85rem 1.5rem;border-top:1px solid var(--line);background:#f8faff}
.demo-reset-confirm{padding:1rem 1.5rem;background:#fff4e5;border-top:1px solid #d5b98f}
.demo-reset-confirm .button{margin:.7rem}
@media(max-width:800px){.demo-config-grid,.demo-takeaway{grid-template-columns:1fr}.demo-config-grid{gap:1rem}.demo-stage-heading{flex-wrap:wrap}.demo-panel{padding:1.5rem}}
@media(max-width:500px){.demo-panel{padding:1rem}.demo-journey{padding:.75rem .5rem 0}.demo-journey ol{gap:.3rem}.demo-journey button{flex-direction:column;font-size:.875rem;gap:.2rem;padding:.4rem .1rem}.demo-position,.demo-footer{padding:.6rem 1rem}.demo-bar{padding:1rem;align-items:flex-start;flex-direction:column;gap:.4rem}.demo-stats{grid-template-columns:1fr 1fr;gap:.6rem;padding:.7rem 0;margin-block:1rem}.demo-stats>div:nth-child(3){border-inline-start:0}.demo-run-actions .button,.demo-next-step>.button{width:100%}.demo-promise,.demo-next-step{padding:1rem}.demo-section .section-heading h2 br{display:none}
.demo-stage-heading{gap:0}.demo-stage-heading .demo-tag{margin-bottom:.6rem}.demo-panel>.lead{font-size:1rem;line-height:1.65}
.demo-result-table,.demo-result-table caption,.demo-result-table tbody,.demo-result-table tr,.demo-result-table td{display:block;width:100%}
.demo-result-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.demo-result-table tr{padding:.65rem;border-bottom:2px solid var(--line)}
.demo-result-table td{padding:.3rem;border:0;min-width:0!important;white-space:normal!important}
.demo-result-table td:before{content:attr(data-label);display:block;color:var(--muted);font-size:.875rem;font-weight:700}
}

/* Ahi: a quiet, guided assistant. Legacy class names remain internal for compatibility. */
.ahi{position:relative;z-index:90}
.ahi :where(button,a){font:inherit}
.ahi-launcher{position:fixed;z-index:92;left:max(1rem,env(safe-area-inset-left));bottom:max(1rem,env(safe-area-inset-bottom));display:flex;align-items:center;gap:.65rem;min-height:66px;padding:.25rem 1rem .25rem .35rem;border:1px solid #b8c9de;border-radius:999px;background:#fff;color:var(--ink);box-shadow:0 12px 34px #10284929;cursor:pointer;text-align:right}
.ahi-launcher:hover{border-color:var(--brand);box-shadow:0 14px 38px #10284938}
.ahi-launcher-image{width:58px;height:58px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:linear-gradient(145deg,#e9f7ff,#c8e9ff);border:2px solid #fff;box-shadow:0 0 0 1px #a9c9e6}
.ahi-launcher-image,.ahi-portrait{position:relative;flex:none;overflow:hidden}
.ahi-launcher-image img,.ahi-portrait img{position:absolute;width:200%;height:200%;max-width:none;left:-42%;top:-4%;object-fit:contain}
.ahi-launcher strong,.ahi-launcher small{display:block;line-height:1.3}
.ahi-launcher strong{font-size:.9375rem}
.ahi-launcher small{font-size:.75rem;color:var(--muted);margin-top:.15rem}
.ahi-nudge{position:fixed;z-index:91;left:max(1rem,env(safe-area-inset-left));bottom:calc(max(1rem,env(safe-area-inset-bottom)) + 78px);display:flex;align-items:stretch;width:min(330px,calc(100vw - 2rem));background:#fff;border:1px solid #b8c9de;border-radius:12px;box-shadow:0 12px 36px #1028492e;overflow:hidden;animation:ahi-nudge-in .35s ease-out both}
.ahi-nudge>button{border:0;background:#fff;color:var(--ink);cursor:pointer}
#ahi-nudge-open{flex:1;padding:.9rem 1rem;text-align:right;font-size:.875rem;font-weight:700;line-height:1.55}
#ahi-nudge-dismiss{width:46px;font-size:1.4rem;color:var(--muted);border-inline-start:1px solid var(--line)}
.ahi-panel{position:fixed;z-index:93;left:max(1rem,env(safe-area-inset-left));bottom:max(1rem,env(safe-area-inset-bottom));width:min(430px,calc(100vw - 2rem));height:min(700px,calc(100dvh - 2rem));display:flex;flex-direction:column;background:#fff;border:1px solid #9eb7d5;border-radius:18px;box-shadow:0 24px 65px #10284942;overflow:hidden;text-align:right}
.ahi-header{flex:none;display:grid;grid-template-columns:64px 1fr 44px;align-items:center;gap:.7rem;padding:.5rem 1rem;background:linear-gradient(135deg,#102b4f,#1d4e7d);color:#fff}
.ahi-portrait{display:block;width:64px;height:64px;border-radius:50%;background:#c8e9ff;border:1px solid #a9c9e6}
.ahi-welcome{height:158px;overflow:hidden;margin:-.4rem auto .6rem;width:190px}
.ahi-welcome img{display:block;width:100%;height:auto}
.ahi-welcome[hidden]{display:none}
.ahi-header p{font-size:.75rem;color:#bee9ff;line-height:1.3}
.ahi-header h2{font-size:1.55rem;letter-spacing:-.02em;margin:.1rem 0}
.ahi-header span{display:block;font-size:.75rem;color:#d8e7f7}
#ahi-close{width:44px;height:44px;border:1px solid #ffffff80;border-radius:8px;background:transparent;color:#fff;cursor:pointer;font-size:1.5rem;line-height:1}
.ahi-body{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:1rem;background:#f8fbff;scrollbar-gutter:stable}
.ahi-safety{margin-top:1rem;color:#314b6b;font-size:.75rem;line-height:1.55}
.ahi-log{display:flex;flex-direction:column;gap:.7rem;outline-offset:3px}
.ahi-message{max-width:100%;padding:.75rem .9rem;border-radius:12px;font-size:1rem;line-height:1.6;white-space:pre-line}
.ahi-answer{align-self:flex-start;background:#fff;border:1px solid #d5e1ef;border-start-start-radius:3px;color:var(--ink)}
.ahi-visitor{align-self:flex-end;margin-inline-start:auto;background:#1b59b9;color:#fff;border-end-end-radius:3px}
.ahi-options{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;padding-top:1rem}
.ahi-choice{display:flex;align-items:center;justify-content:center;min-height:44px;padding:.55rem .65rem;border:1px solid #9bb4d2;border-radius:8px;background:#fff;color:#17365f;cursor:pointer;font-size:.9375rem;font-weight:700;line-height:1.45;text-align:center;text-decoration:none}
.ahi-help-options{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;border-top:1px solid var(--line);padding-top:.65rem;margin-top:.35rem}
.ahi-help-options .ahi-choice{font-size:.875rem;font-weight:400;background:transparent;border-color:transparent;text-decoration:underline;text-underline-offset:.2em}
.ahi-options>.ahi-primary{grid-column:1/-1}
.demo-quick-entry{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;background:#edf4ff;border-inline-start:3px solid var(--action);padding:1rem;margin-block:1rem 1.5rem}
.demo-quick-entry p{flex:1 1 16rem}.demo-quick-entry .button{flex:0 1 auto}
.case-evidence dl{margin:0 0 1rem;display:grid;grid-template-columns:7rem 1fr;gap:.65rem 1rem;font-size:.9375rem}
.case-evidence dt{font-weight:700}.case-evidence dd{margin:0;color:var(--muted)}
@media(max-width:560px){.ahi-help-options{grid-template-columns:1fr}.case-evidence dl{grid-template-columns:1fr;gap:.3rem}.case-evidence dd{margin-bottom:.7rem}.demo-quick-entry .button{width:100%}}
.ahi-choice:hover{background:#edf5ff;text-decoration:none;border-color:#4a79b5}
.ahi-choice.ahi-primary{background:var(--action);border-color:var(--action);color:#fff}
.ahi-choice.ahi-primary:hover{background:var(--action-hover)}
.ahi-link{background:#eaf6ff}
.ahi-footer{flex:none;display:flex;align-items:center;gap:.25rem .8rem;flex-wrap:wrap;padding:.3rem 1rem;background:#f4f7fb;border-top:1px solid var(--line);font-size:.875rem}
.ahi-footer button,.ahi-footer a{border:0;background:transparent;color:#254d80;padding:.35rem 0;cursor:pointer;text-decoration:underline;text-underline-offset:.25em}
.ahi-inline{border:0;background:transparent;color:var(--brand);font-weight:700;padding:0;margin:-.55rem 0 1.2rem;cursor:pointer;text-decoration:underline;text-underline-offset:.3em;text-align:right}
.ahi-panel[hidden],.ahi-nudge[hidden],.ahi-inline[hidden]{display:none}
@keyframes ahi-arrive{from{opacity:0;transform:translateY(7px) scale(.96)}to{opacity:1;transform:none}}
@keyframes ahi-nudge-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.ahi-intro-card{display:flex;flex-direction:column;gap:.3rem;margin-bottom:1rem;padding:.65rem;border:1px solid #bdd5ed;border-radius:10px;background:#eaf6ff}
.ahi-intro-card button,.ahi-video-wrap button,.ahi-speak,.ahi-draft button{min-height:44px;padding:.5rem .65rem;border:1px solid #9bb4d2;border-radius:8px;background:white;color:#17365f;cursor:pointer;font-size:.875rem}
.ahi-intro-card span,.ahi-video-wrap small{font-size:.75rem;color:#314b6b}
.ahi-intro-card[data-seen="true"],.ahi-intro-card[data-compact="true"]{background:transparent;padding:0;border:0}.ahi-intro-card[data-seen="true"] span,.ahi-intro-card[data-compact="true"] span{display:none}
.ahi-video-wrap{margin-bottom:1rem}.ahi-video-wrap video{display:block;width:100%;height:auto;background:#102b4f;border-radius:10px}.ahi-video-wrap button{margin-top:.5rem}.ahi-transcript{font-size:.875rem;line-height:1.6;margin-top:.5rem}
.ahi-progress{font-size:.875rem;color:#315b88;margin-bottom:.5rem}.ahi-status:not(:empty){padding:.7rem;margin-top:.7rem;background:#fff3cd;color:#513d06;border-radius:8px;font-size:.875rem;line-height:1.6}.ahi-speak{margin-top:.8rem}.ahi-draft{margin-top:1rem}.ahi-draft label{display:block;font-size:.875rem}.ahi-draft textarea{width:100%;font:inherit;font-size:.875rem;line-height:1.6;padding:.6rem;margin:.5rem 0;border:1px solid #9bb4d2;border-radius:6px}
.ahi-load-status{position:fixed;left:1rem;bottom:100px;width:min(320px,calc(100vw - 2rem));padding:1rem;background:#fff3cd;color:#513d06;border:1px solid #d9b95d;border-radius:10px;font-size:.875rem;z-index:94}
.ahi [hidden]{display:none!important}
.yadani-card{border:1px solid #dec9a8;border-radius:10px;background:#fff7e9;color:#513917;padding:.65rem;margin-top:.85rem;text-align:right}
.yadani-card-heading{display:flex;align-items:center;gap:.6rem;min-height:44px;cursor:pointer;list-style:none;font-size:.875rem}
.yadani-card-heading>span{flex:1;min-width:0}.yadani-card-heading strong,.yadani-card-heading span span{display:block;line-height:1.5}.yadani-card-heading strong{font-size:.875rem}.yadani-card-heading span span{font-size:1rem;margin-top:.2rem}
.yadani-card-heading::after{content:'+';font-size:1.5rem;flex:none}.yadani-card[open]>.yadani-card-heading::after{content:'−'}
.yadani-card p{font-size:1rem;line-height:1.6;margin:.65rem 0}
.yadani-reactions{display:flex;gap:.45rem;flex-wrap:wrap}
.yadani-reactions button{min-height:44px;border:1px solid #bda57d;border-radius:8px;background:#fff;color:#513917;padding:.4rem .7rem;font:inherit;font-size:.875rem;cursor:pointer}
.yadani-reactions button[aria-pressed="true"]{background:#513917;color:#fff}
#ahi-yadani-show{margin:.8rem 0 0;min-height:44px}
.yadani-card-heading img{width:40px;height:40px;object-fit:cover;border-radius:50%;flex:none}
.ahi-secondary{background:transparent;border-style:dashed;color:#314b6b}
.yadani-inline{max-width:1120px;margin:1rem auto 1.5rem;border:1px solid #dec9a8;border-radius:14px;background:#fff8ed;color:#513917;text-align:right;overflow:hidden}
.yadani-inline summary{cursor:pointer;display:flex;align-items:center;gap:.7rem;padding:.7rem 1rem;font-size:1rem;font-weight:700;list-style:none}
.yadani-inline summary::after{content:'+';font-size:1.5rem;margin-inline-start:auto}
.yadani-inline[open] summary::after{content:'−'}
.yadani-inline summary img{width:40px;height:40px;object-fit:cover;border-radius:50%;flex:none}
.yadani-inline summary small{display:block;font-size:.875rem;color:#78541d;margin-bottom:.25rem}
.yadani-inline-answer{padding:0 1rem 1rem;color:var(--ink);line-height:1.65}
.yadani-inline .ahi-inline,.demo-guides .ahi-inline{margin:.5rem 0 0;min-height:44px;font-size:.9375rem}
.demo-guides{margin:1rem 0;border:1px solid var(--line);border-radius:14px;background:#f5f9ff;padding:.8rem 1rem}
.demo-guides summary{cursor:pointer;font-weight:700;font-size:.9375rem;min-height:44px;padding:.5rem 0}
.demo-guides summary span{font-size:.8125rem;color:var(--muted);font-weight:400;margin-inline-start:.5rem}
.demo-guides-lines{font-size:1rem;line-height:1.6}
.demo-guides-lines p{margin:.4rem 0}.demo-guides-lines p:first-child strong{color:#78541d}
.demo-guides::after{content:'';display:block;clear:both}
@media(max-width:560px){.yadani-inline{margin:1rem}.ahi-choice{font-size:1rem}}
@media(max-width:560px),(max-height:480px){.ahi-launcher{min-height:58px;padding:.2rem .8rem .2rem .25rem}.ahi-launcher-image{width:50px;height:50px}.ahi-launcher small{display:none}.ahi-panel{left:0;bottom:0;width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0;padding-bottom:env(safe-area-inset-bottom)}.ahi-options{grid-template-columns:1fr}.ahi-nudge{left:1rem;bottom:calc(max(1rem,env(safe-area-inset-bottom)) + 68px)}.ahi-header{padding:.3rem .8rem;grid-template-columns:56px 1fr 44px}.ahi-portrait{width:56px;height:56px}.ahi-welcome{width:144px;height:128px}.ahi-footer{padding:.2rem .8rem}.ahi-footer button,.ahi-footer a{min-height:44px;display:flex;align-items:center}}
@media(max-height:480px){.ahi-header{grid-template-columns:42px 1fr 44px}.ahi-portrait{width:42px;height:42px}.ahi-welcome{display:none}.ahi-header h2{font-size:1.1rem}.ahi-header p{margin:0}.ahi-options{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.ahi-launcher-image img,.ahi-nudge{animation:none}}
@media print{.ahi{display:none!important}}
