/* 314 / shared visual foundation / 2026-11-04 */
:root{--brand314-bg:#08090b;--brand314-panel:#11171f;--brand314-fg:#f3f5f7;--brand314-muted:#aeb7c5;--brand314-accent:#6ea8ff;--brand314-line:#2a3544;--brand314-radius:14px;--brand314-font:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
html.brand314{--bg:var(--brand314-bg);--fg:var(--brand314-fg);--mut:var(--brand314-muted);--acc:var(--brand314-accent);--accent:var(--brand314-accent);--accent2:#9cc5ff;--ink:#f3f5f7;--ink-dim:#aeb7c5;--ink-ghost:#2a3544;--cyan:#6ea8ff;--panel:#11171f;--border:#2a3544;--r:14px;color-scheme:dark}
html.brand314 body{font-family:var(--brand314-font);text-shadow:none;-webkit-font-smoothing:antialiased}
.brand314 .crt::before,.brand314 .crt::after,.brand314 .glitch::before,.brand314 .glitch::after{display:none}
.brand314 .flicker,.brand314 .glitch{animation:none;text-shadow:none}
.brand314 h1,.brand314 h2,.brand314 h3{letter-spacing:-.035em;text-wrap:balance}
.brand314 h1{font-family:var(--brand314-font)}
.brand314 :is(.hub-card,.hub-project,.proj,.aicard,.hpanel,.box,.stat,.card){border-radius:var(--brand314-radius);box-shadow:0 10px 35px #00000012}
.brand314 :is(.hub-card,.hub-project,.proj,.aicard){border-color:var(--brand314-line);transition:border-color .18s ease,box-shadow .18s ease}
.brand314 :is(.hub-card,.hub-project,.proj,.aicard):hover{border-color:#506b91;box-shadow:0 12px 32px #00000022}
.brand314 :is(button,input,select,textarea){font-family:var(--brand314-font)}
.brand314 :is(.hub-btn,.hub-urgent,.btn,.button){border-radius:10px}
.brand314 .hub-btn{background:#f3f5f7;color:#08090b}
.brand314 .hub-top,.brand314 .hub-section{border-color:var(--brand314-line)}
.brand314 .hub-logo{font-size:30px;letter-spacing:-.06em}
.brand314 .hub-hero{padding-block:76px 62px}
.brand314 .hub-label,.brand314 .eyebrow,.brand314 .gov-kicker{color:var(--brand314-accent);letter-spacing:.1em}
.brand314 .deckitem.on{background:#18283e;border-color:#506b91}
.brand314 .langsw button.on{background:#6ea8ff;color:#08090b}
.brand314 :focus-visible{outline:2px solid #9cc5ff;outline-offset:4px}
.brand314 .brand314-origin{font-size:12px;font-weight:700;letter-spacing:.08em;text-decoration:none;color:#6ea8ff;display:inline-flex;align-items:center;min-height:36px;white-space:nowrap;direction:ltr}
/* The Israel landing retains its working light/dark switch. */
html.brand314.brand314-apex{--paper:#f4f5f7;--ink:#151c27;--muted:#566174;--line:#ccd3df;--accent:#3262a7;--orbit:#7285a1;color-scheme:light}
html.brand314.brand314-apex[data-theme=dark]{--paper:#08090b;--ink:#f3f5f7;--muted:#aeb7c5;--line:#2a3544;--accent:#6ea8ff;--orbit:#506b91;color-scheme:dark}
@media(prefers-color-scheme:dark){html.brand314.brand314-apex:not([data-theme=light]){--paper:#08090b;--ink:#f3f5f7;--muted:#aeb7c5;--line:#2a3544;--accent:#6ea8ff;--orbit:#506b91;color-scheme:dark}}
.brand314-apex .wordmark{font-weight:750;font-size:36px}
.brand314-apex .hero{min-height:600px}
.brand314-apex .project{border-top-color:var(--line);padding-block:36px}
.brand314-apex .project-link:hover{color:var(--accent)}
.brand314-apex .languages button[aria-pressed=true]{background:var(--line);border-radius:8px;text-decoration:none}
.brand314 .distributed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}
.brand314 .distributed-grid article{padding:26px;border:1px solid var(--brand314-line);border-radius:14px;background:#11171f}
.brand314 .distributed-grid h3{font-size:21px;margin-bottom:14px}
.brand314 .distributed-grid p{color:var(--brand314-muted);line-height:1.65}
.brand314 .distributed-note{margin-top:20px;color:var(--brand314-muted);max-width:880px}
.brand314 .proof-tool{padding:26px;border:1px solid #3e5575;border-radius:14px;margin-top:24px;max-width:880px;background:#11171f}
.brand314 .proof-tool label{display:block;margin-block:14px 6px;color:#aeb7c5}
.brand314 .proof-tool input{max-width:100%;width:100%;padding:12px;color:#f3f5f7;background:#08090b;border:1px solid #506b91;border-radius:8px;font-size:16px}
.brand314 .proof-tool button{margin-top:16px}
.brand314 .proof-output{overflow-wrap:anywhere;white-space:pre-wrap;margin-top:16px;color:#c5dbfa;min-height:24px}
@media(max-width:760px){.brand314 .distributed-grid{grid-template-columns:1fr}.brand314 .hub-hero{padding-block:46px 36px}.brand314-apex .hero{min-height:0}.brand314 .proof-tool{padding:20px}.brand314 .brand314-origin{font-size:11px}}
@media(prefers-reduced-motion:reduce){.brand314 *{scroll-behavior:auto!important;transition:none!important}}

html.brand314.brand314-baze,html.brand314.brand314-document{--paper:#f4f5f7;--card:#ffffff;--ink:#151c27;--muted:#566174;--line:#ccd3df;--accent:#3262a7;--yellow:#6ea8ff;--concrete:#e0e5ed;--thin:#ccd3df;--teal:#3262a7;--mint:#eaf1fc;--white:#fff;--display:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color-scheme:light}
html.brand314.brand314-document[data-theme=dark]{--paper:#08090b;--card:#11171f;--ink:#f3f5f7;--muted:#aeb7c5;--line:#2a3544;--accent:#6ea8ff;color-scheme:dark}
@media(prefers-color-scheme:dark){html.brand314.brand314-document:not([data-theme=light]){--paper:#08090b;--card:#11171f;--ink:#f3f5f7;--muted:#aeb7c5;--line:#2a3544;--accent:#6ea8ff;color-scheme:dark}}
.brand314-baze .hazard{background:none}
.brand314 :is(main,section,article,.wrap,.deck,.box,.grid)>*{min-width:0}
.brand314 :is(p,li,h1,h2,h3,a){overflow-wrap:anywhere}
.brand314 pre{max-width:100%;overflow:auto;text-shadow:none}
.brand314 table{max-width:100%}
@media(max-width:800px){.brand314 table{display:block;overflow-x:auto;max-width:100%;width:100%}.brand314 .deck{max-width:100%;box-sizing:border-box}.brand314 .deckitem{white-space:normal}.brand314 input,.brand314 textarea{max-width:100%;box-sizing:border-box}}

.brand314 :is(.brand,.wordmark,.hub-logo,.logo){white-space:nowrap;overflow-wrap:normal;font-family:var(--brand314-font)}

.brand314-links{display:flex;flex-wrap:wrap;gap:8px 20px;padding:16px 0;border-block:1px solid var(--line);margin-bottom:12px}.brand314-links a{font-size:14px;min-height:32px;display:inline-flex;align-items:center;text-decoration:none;color:var(--ink)}.brand314-links a:hover{color:var(--accent)}

.brand314-baze .header-inner{column-gap:16px;flex-wrap:wrap}.brand314-baze .header-tools{flex-shrink:0;flex-wrap:wrap;max-width:100%}.brand314-baze .header-inner>nav{min-width:0;flex-wrap:wrap}
