/* 314 / editorial identity, based on the existing 314.co.il design. */
html.brand314,html.brand314.brand314-apex,html.brand314.brand314-document{--paper:#f4f3ee;--ink:#242622;--muted:#65665f;--line:#cdcec4;--accent:#bc4024;--orbit:#999c90;--bg:var(--paper);--bg-elev:#eeede6;--fg:var(--ink);--mut:var(--muted);--dim:var(--muted);--acc:var(--accent);--acc-dim:#bc402416;--line-2:#bfc0b5;--panel:#eeede6;--surface:#eeede6;--surface2:#e6e6dc;--ink-dim:var(--muted);--ink-ghost:var(--line);--cyan:var(--accent);--amber:#856021;--red:#a42d28;--up:#286445;--dn:#a42d28;--warn:#856021;--border:var(--line);--card:var(--panel);--r:2px;--brand314-bg:var(--paper);--brand314-panel:var(--panel);--brand314-fg:var(--ink);--brand314-muted:var(--muted);--brand314-accent:var(--accent);--brand314-line:var(--line);--brand314-radius:2px;color-scheme:light;background:var(--paper)}
html.brand314[data-theme=dark],html.brand314.brand314-apex[data-theme=dark],html.brand314.brand314-document[data-theme=dark]{--paper:#100f0d;--ink:#eceae2;--muted:#aaa99e;--line:#393a31;--accent:#ed8262;--orbit:#797b6e;--bg-elev:#1a1a15;--panel:#1a1a15;--surface:#1a1a15;--surface2:#27271f;--line-2:#4d4f43;--up:#87c69a;--dn:#f29b91;--warn:#dfbe7b;color-scheme:dark}
@media(prefers-color-scheme:dark){html.brand314:not([data-theme=light]),html.brand314.brand314-apex:not([data-theme=light]),html.brand314.brand314-document:not([data-theme=light]){--paper:#100f0d;--ink:#eceae2;--muted:#aaa99e;--line:#393a31;--accent:#ed8262;--orbit:#797b6e;--bg-elev:#1a1a15;--panel:#1a1a15;--surface:#1a1a15;--surface2:#27271f;--line-2:#4d4f43;--up:#87c69a;--dn:#f29b91;--warn:#dfbe7b;color-scheme:dark}}
html.brand314 body{background:var(--paper);background-image:none;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.65;letter-spacing:-.012em;text-shadow:none;-webkit-font-smoothing:antialiased}
.brand314 ::selection{background:var(--ink);color:var(--paper)}
.brand314 :is(h1,h2,h3){color:var(--ink);font-family:inherit;letter-spacing:-.04em}
.brand314 :is(.hub-wrap,body>main.wrap,.nav-in,.sb-in){max-width:1392px;padding-inline:clamp(22px,6.4vw,96px)}
.brand314 :is(.hub-logo,.wordmark,.brand){color:var(--ink);font-size:34px;font-weight:650;letter-spacing:-.065em}
.brand314 :is(.hub-logo span,.wordmark span){color:var(--accent)}
.brand314 .brand .sub{letter-spacing:0;font-weight:400;font-size:12px}
.brand314 :is(.hub-top,.header){min-height:104px;border-bottom:0;gap:24px}
.brand314 .hub-top{padding-block:22px}
.brand314 nav[aria-label="Главная навигация"],.brand314 body>nav{background:var(--paper);background:color-mix(in srgb,var(--paper) 94%,transparent);border-color:var(--line);backdrop-filter:blur(12px)}
.brand314 .nav-in{min-height:92px;height:auto;padding-block:18px;gap:20px}
.brand314 :is(.statusbar,.network-nav){background:transparent;border-color:var(--line);color:var(--muted)}
.brand314 .network-nav{max-width:1200px;padding-inline:0}
.brand314 .network-nav :is(a:first-child,.network-urgent){color:var(--accent)}
.brand314 :is(.hub-section,.s-head,.project,footer){border-color:var(--line)}
.brand314 :is(.hub-hero,.hero){position:relative;padding-block:80px 64px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:44px 6%;align-items:center;max-width:none}
.brand314 .hero-copy{grid-column:1;grid-row:1}
.brand314 .hero h1{font-size:clamp(54px,6.5vw,100px);font-weight:400;line-height:1.02;max-width:15ch;letter-spacing:-.06em;text-wrap:initial}
.brand314 .hub-hero h1{font-size:clamp(50px,5.5vw,82px);font-weight:400;line-height:1.04;max-width:19ch;letter-spacing:-.06em;text-wrap:initial}
.brand314 .hub-hero>:not(.visual314-orbit){grid-column:1}
.brand314 .hub-hero{row-gap:0}
.brand314 .hub-hero h1{margin:26px 0}
.brand314 .hub-hero .hub-actions{margin-top:30px}
.brand314 :is(.lede,.intro,.hub-hero>p){font-size:18px;line-height:1.65;max-width:54ch;color:var(--muted)}
.brand314 :is(.hub-label,.eyebrow,.gov-kicker){font-family:inherit;font-size:12px;line-height:1.6;color:var(--accent);letter-spacing:.1em;font-weight:500}
.brand314 :is(.hub-btn,.hub-urgent,.btn,.econ-cta){border-radius:999px;padding:12px 22px;font-weight:500;min-height:46px;white-space:normal;line-height:1.4;text-align:center;box-shadow:none}
.brand314 :is(.hub-btn,.btn.primary){background:var(--ink);color:var(--paper);border:1px solid var(--ink)}
.brand314 :is(.hub-btn,.btn.primary):hover{background:var(--accent);border-color:var(--accent);color:var(--paper);transform:none}
.brand314 :is(.hub-urgent,.btn.ghost){background:transparent;color:var(--ink);border:1px solid var(--line-2)}
.brand314 .hub-urgent{color:var(--accent);border-color:var(--accent)}
.brand314 :is(.urgent-nav,.urgent-float,.incident-submit){background:var(--accent);color:var(--paper);border-color:var(--accent);border-radius:999px;box-shadow:none}
.brand314 :is(.urgent-nav,.urgent-float):hover{background:var(--ink);border-color:var(--ink)}
.brand314 .urgent-nav{white-space:nowrap;font-weight:500}
.brand314 .hub-section{padding-block:52px}
.brand314 .hub-section h2{font-size:clamp(28px,3vw,40px);font-weight:450;line-height:1.2;max-width:28ch}
.brand314 .hub-section :is(p,.hub-lede){color:var(--muted)}
.brand314 .hub-grid{gap:32px}
.brand314 :is(.hub-card,.hub-project,.proj,.aicard,.prod,.box,.stat,.card){border-radius:0;box-shadow:none;background:transparent;color:var(--ink);border-color:var(--line)}
.brand314 :is(.hub-card,.hub-project,.proj,.aicard):hover{box-shadow:none;background:transparent;border-color:var(--accent);transform:none}
.brand314 .hub-card{border:0;border-top:1px solid var(--ink);padding:24px 0;gap:14px}
.brand314 .hub-card h2{font-size:26px}
.brand314 .hub-card a{color:var(--accent);font-size:14px;padding-top:14px}
.brand314 .hub-projects{grid-template-columns:1fr;gap:0}
.brand314 .hub-project{display:grid;grid-template-columns:1fr 2fr;gap:32px;border:0;border-top:1px solid var(--line);padding:27px 0}
.brand314 .hub-project h3{color:var(--ink);font-size:24px;font-weight:450}
.brand314 .hub-project p{margin:0;font-size:16px}
.brand314 .hub-join{background:transparent;border-radius:0;padding-inline:0}
.brand314 :is(.langsw,.langpick){border-color:var(--line);background:transparent;color:var(--ink);border-radius:0}
.brand314 .langsw button{color:var(--muted);border:0;border-radius:0;min-height:44px;min-width:44px;padding:10px 8px;background:transparent}
.brand314 .langsw button.on{color:var(--ink);background:transparent;text-decoration:underline;text-underline-offset:7px}
.brand314 .langpick option{background:var(--paper);color:var(--ink)}
.brand314 .deck{gap:4px 22px;border-color:var(--line)}
.brand314 :is(.deckitem,.deck-umbrella){border:0;border-radius:0;padding:6px 0;color:var(--muted)}
.brand314 .deckitem.on{background:transparent;color:var(--accent);border:0;text-decoration:underline;text-underline-offset:7px}
.brand314 .hero .hpanel{grid-column:1/-1;grid-row:2;background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;padding:24px 0 0;animation:none;opacity:1;transform:none}
.brand314 .hero .hp-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:32px}
.brand314 .hero .hp-list li{border-top:1px solid var(--line);padding-block:14px}
.brand314 .hero .hp-top{margin-bottom:18px}
.brand314 :is(.hp-list li span,.k-label,.live,.sb-in){color:var(--muted)}
.brand314 .audience-links{gap:30px;margin-block:12px 58px}
.brand314 .audience-links a{border:0;border-top:1px solid var(--ink);border-radius:0;padding:22px 0;background:transparent;font-weight:500}
.brand314 main>section:not(.hero){padding-block:48px;border-top:1px solid var(--line)}
.brand314 .s-head{margin-bottom:34px}
.brand314 .s-head h2{font-size:clamp(27px,3vw,38px);font-weight:450}
.brand314 .projects{display:block}
.brand314 .proj{display:grid;grid-template-columns:220px minmax(0,1fr);gap:12px 40px;border:0;border-top:1px solid var(--line);padding:30px 0}
.brand314 .proj:first-child{border-top:0}
.brand314 .proj .pnum{grid-column:1;grid-row:1/5;margin:0;padding-top:4px;color:var(--muted);font-size:11px}
.brand314 .proj>:not(.pnum){grid-column:2;margin:0}
.brand314 .proj .pname h3{font-size:26px;font-weight:450}
.brand314 .proj p{font-size:16px;max-width:66ch;color:var(--muted)}
.brand314 .proj .result{color:var(--ink)}
.brand314 .proj .pgo{padding-top:8px;color:var(--accent);font-weight:500}
.brand314 :is(.ai-grid,.prods){gap:38px}
.brand314 :is(.aicard,.prod){border:0;border-top:1px solid var(--ink);padding:28px 0}
.brand314 :is(.aicard,.prod)::before{display:none}
.brand314 :is(.aicard p,.prod p,.incident-note,.status-note,.cap-list){color:var(--muted)}
.brand314 :is(.scenario-panel,.section-fold,.gov-demo,.demo-stage,.proof-tool,.distributed-grid article,.imp-card,.imp-panel){background:transparent;border:1px solid var(--line);border-radius:2px;box-shadow:none}
.brand314 .proof-links a{border-radius:0;background:transparent;border-color:var(--line)}
.brand314 :is(.proof-tool label,.distributed-grid p,.distributed-note){color:var(--muted)}
.brand314 :is(input,textarea,select,.proof-tool input,.io input,.vfield){background:var(--surface);color:var(--ink);border-color:var(--line-2);border-radius:2px;font-size:16px}
.brand314 :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
.brand314 :is(.demo-tabs button[aria-pressed=true],.incident-submit){color:var(--paper);background:var(--accent)}
.brand314 :is(.proof-output,.demo-status){color:var(--up)}
.brand314 #incident-dialog{background:var(--paper);color:var(--ink);border-color:var(--line);border-radius:4px}
.brand314 .tag{border-color:var(--line-2);color:var(--muted)}
.brand314 :is(.trust,.trust-card,.trust-details){background:var(--paper);color:var(--ink);border-color:var(--line);border-radius:2px}
.brand314 .trust-card{background:var(--surface)}
.brand314 .trust :is(p,li,dt,.trust-small){color:var(--muted)}
.brand314 .trust :is(a,.trust-tag){color:var(--accent)}
.brand314 .trust .trust-status{background:var(--surface2);color:var(--ink);border-color:var(--accent)}
.brand314 .trust :is(button,select){background:var(--surface);color:var(--ink);border-color:var(--line-2);border-radius:2px}
.brand314 .trust button:hover{background:var(--surface2)}
.brand314 .trust-example{border-color:var(--accent)}
.brand314 .trust-map{background:var(--surface);border-color:var(--line);border-radius:2px}
.brand314 .trust-land{fill:var(--line);stroke:var(--orbit)}
.brand314 .trust-trail{stroke:var(--accent)}
.brand314 .trust-point{fill:var(--accent);stroke:var(--paper)}
.brand314 .trust-point[aria-pressed=true]{fill:var(--ink);stroke:var(--accent)}
.brand314 .langs button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
.brand314 :is(.glitch,.glitch314,.manifest,.mx .t,.mx.on .t){color:var(--ink);text-shadow:none}
.brand314 :is(.box,.term,.sospanel,.soshelp,.notice314,.door){background:var(--surface);border-color:var(--line)}
.brand314 :is(.bar,.foot){border-color:var(--line);border-style:solid}
.brand314 :is(.f-meta,.f-note){font-family:inherit;color:var(--muted);letter-spacing:0}
.brand314 :focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.brand314 .visual314-orbit{grid-column:2;grid-row:1;position:relative;align-self:center;justify-self:end;width:min(100%,420px);color:var(--orbit);pointer-events:none}
.brand314 .hub-hero .visual314-orbit{grid-row:1/5}
.brand314 .visual314-orbit svg{display:block;width:100%;fill:none;stroke:var(--orbit);stroke-width:.7}
.brand314 .visual314-orbit .axes{stroke:var(--line);stroke-dasharray:2 7}
.brand314 .visual314-orbit .origin{fill:var(--accent);stroke:var(--accent)}
.brand314 .visual314-orbit .center{fill:var(--ink);stroke:var(--ink)}
.brand314 .visual314-theme{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:var(--muted);cursor:pointer;min-width:44px;min-height:44px;padding:10px;flex-shrink:0}
.brand314 .visual314-theme svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5}
.brand314 .visual314-theme:hover{color:var(--accent)}
.brand314-apex .wordmark{font-weight:650}
.brand314-apex .languages button[aria-pressed=true]{background:transparent;border-radius:0;text-decoration:underline}
.brand314-apex .hero{min-height:600px}
.brand314-apex .project{padding-block:36px}
.brand314 [dir=rtl] h1,html.brand314[dir=rtl] h1{letter-spacing:-.025em;line-height:1.15}
@media(max-width:1100px){.brand314 .nav-links{display:none}.brand314 .brand .sub{display:none}.brand314 .hero h1{font-size:clamp(50px,7.4vw,78px)}}
@media(max-width:800px){
 .brand314 :is(.hub-top,.header){min-height:86px;gap:12px}.brand314 .nav-in{min-height:78px;padding-block:14px;gap:10px}
 .brand314 :is(.hub-hero,.hero){display:block;padding-block:48px 42px;min-height:0}
 .brand314 :is(.hub-hero h1,.hero h1){font-size:clamp(45px,10.2vw,76px);max-width:16ch;position:relative;z-index:1}
 .brand314 :is(.hub-hero>p,.hero-copy){position:relative;z-index:1}
 .brand314 .visual314-orbit,.brand314-apex .orbit{position:absolute;width:160px;inset-inline-end:0;top:50px;opacity:.15}
 .brand314 .hero .hpanel{margin-top:44px;position:relative;z-index:1}
 .brand314 .hero .hp-list{grid-template-columns:1fr 1fr;gap:0 22px}
 .brand314 :is(.hub-grid,.audience-links){grid-template-columns:1fr;gap:18px}
 .brand314 .audience-links{margin-bottom:34px}
 .brand314 .hub-project{grid-template-columns:1fr;gap:12px}
 .brand314 .proj{grid-template-columns:1fr;gap:14px;padding-block:26px}
 .brand314 .proj .pnum{grid-column:1;grid-row:auto}.brand314 .proj>:not(.pnum){grid-column:1}
 .brand314 main>section:not(.hero),.brand314 .hub-section{padding-block:34px}
 .brand314 .network-nav{padding-inline:22px}
 .brand314 .hub-top{flex-wrap:wrap}.brand314 .hub-top .langsw{margin-inline-start:auto}
 .brand314-apex .hero{min-height:0}.brand314-apex .hero-copy{max-width:100%}
}
@media(max-width:480px){.brand314 .hero .hp-list{grid-template-columns:1fr}.brand314 .brand{font-size:30px}.brand314 .nav-right{gap:4px}.brand314 .nav-right .btn{padding:10px 12px;font-size:13px}.brand314 .menu-toggle{padding:10px;font-size:13px}.brand314 .sb-in{font-size:11px;flex-wrap:wrap;height:auto;padding-block:10px;gap:8px}.brand314 .hub-hero h1{font-size:clamp(43px,10.8vw,55px)}.brand314 .hero h1{font-size:clamp(42px,10.6vw,54px)}}
@media(prefers-reduced-motion:reduce){.brand314 *{scroll-behavior:auto!important;animation:none!important;transition:none!important}.brand314 .h-reveal{opacity:1;transform:none}}
