.neural-site {
  --bg:#f6efe3; --soft:#eee4d5; --surface:#ebdecc; --card:#fbf6ec;
  --ink:#2b221b; --ink-2:#62554a; --ink-3:#716357; --line:#e0d1bf; --line-2:#cbb7a3;
  --accent:#df723a; --accent-ink:#a74620; --accent-wash:#f6e5d4;
}
.mode-white .neural-site {
  --bg:#fff; --soft:#f8f5ef; --surface:#f1ece4; --card:#fff; --line:#e9e2d8; --line-2:#d3c9bb;
}
.mode-dark .neural-site {
  --bg:#0b1016; --soft:#101820; --surface:#16202a; --card:#111a22; --ink:#f4eee5;
  --ink-2:#b5c0c8; --ink-3:#95a5b0; --line:#253440; --line-2:#3c4d58;
  --accent:#ff864e; --accent-ink:#ffab7c; --accent-wash:#2b1c17; --on-ink:#0b1016;
}
.neural-site .hdr .mark { color:var(--ink); }
.neural-site .hdr .nav a[aria-current="page"] { color:var(--accent-ink); }
.neural-site .hdr .btn-solid { border:1px solid var(--line-2); background:var(--card); color:var(--ink); }
.neural-site main :is(.s, .phero, .dstory, .article) {
  position:relative; isolation:isolate; scroll-margin-top:80px;
}
.neural-site main [data-neural-chapter] { scroll-margin-top:80px; }
.neural-site main .s { padding-block:clamp(63px,8vw,130px); }
.neural-site main .s:not(.soft) { background:var(--bg); }
.neural-site main :is(.phero, .article) {
  background:radial-gradient(ellipse at 88% 14%,var(--accent-wash),transparent 58%),var(--bg);
}
.neural-site main :is(.phero h1, .ah h1) { font:400 clamp(45px,7.3vw,100px)/.93 var(--serif); letter-spacing:-.045em; }
.neural-site main :is(.sh h2, .closing h2, .biz-v5 h2) {
  font:400 clamp(38px,5.4vw,75px)/.98 var(--serif); letter-spacing:-.035em;
}
.neural-site main .sh .label, .neural-site .phero .label { color:var(--accent-ink); }
.neural-site .sh > p:not(.label) { line-height:1.65; }
.neural-site :is(.surface,.errand,.jcard,.feat,.fitem) { border-radius:12px; box-shadow:none; }
.neural-site .fitem { background:var(--card); border-color:var(--line); }
.neural-site .faq details[open] summary { color:var(--accent-ink); }
.neural-site .faq summary:focus-visible { border-radius:0; }
.neural-site .article .ah { border-bottom:1px solid var(--line-2); padding-bottom:35px; margin-bottom:34px; }
.neural-index { display:none; }
.neural-home #now > .wrap {
  display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  align-items:center; gap:clamp(25px,6vw,98px);
}
.neural-home #now .sh { text-align:left; margin:0; }
.neural-home #now .sh p { margin-inline:0; }
.neural-home #now .feed { width:100%; margin:0; max-width:none; }
.neural-home #now .fitem { border-inline:0; border-top:0; background:transparent; border-radius:0; padding-inline:3px; }
.neural-home #faq > .wrap { display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); gap:clamp(22px,5vw,92px); }
.neural-home #faq .sh { text-align:left; margin:0; }
.neural-home #faq .faq { margin:0; width:100%; }
.neural-site .errand-switcher {
  display:flex; flex-wrap:wrap; gap:8px; margin:29px 0 13px; justify-content:center;
}
.neural-site .errand-switcher button {
  color:var(--ink-2); border:1px solid var(--line-2); background:var(--card);
  border-radius:30px; padding:7px 13px; min-height:42px; font:13px var(--sans);
}
.neural-site .errand-switcher button[aria-pressed="true"] { color:var(--accent-ink); border-color:var(--accent-ink); }
.neural-site .rail.neural-cases { display:block; max-width:940px; margin:0 auto; padding:0; overflow:visible; }
.neural-site .rail.neural-cases .errand {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  width:100%; background:var(--card); min-height:340px;
}
.neural-site .rail.neural-cases .errand .ph { height:auto; min-height:235px; }
.neural-site .rail.neural-cases .errand .body { padding:clamp(18px,3.25vw,44px); }
.neural-site .rail.neural-cases .errand .body h3 { font:400 clamp(24px,3.5vw,42px)/1.1 var(--serif); }
.neural-site .neural-cases .tl { border-left-color:var(--accent); }
@media (min-width:1240px) {
  .neural-site .site { --wide:min(1210px, calc(100vw - 304px)); }
  .neural-site .neural-stage, .neural-site .neural-moments { width:min(var(--wide),92vw); }
  .neural-index {
    display:grid; gap:2px; position:fixed; z-index:14; inset:auto auto max(34px,6vh) clamp(12px,1.5vw,26px);
    width:119px; padding:7px; max-height:calc(100svh - 155px); overflow-y:auto;
    background:var(--card); border:1px solid var(--line); border-radius:9px;
  }
  .neural-index a {
    color:var(--ink-2); background:transparent; border:1px solid transparent;
    padding:7px 5px; border-radius:5px; font:10px/1.25 Consolas, monospace; text-decoration:none;
    display:flex; gap:6px; align-items:center; min-height:30px;
  }
  .neural-index a::before { content:''; width:4px; height:4px; flex:none; background:var(--ink-3); border-radius:50%; }
  .neural-index a[aria-current], .neural-index a:hover { color:var(--ink); background:var(--accent-wash); border-color:var(--line-2); }
  .neural-index a[aria-current]::before { background:var(--accent); box-shadow:0 0 7px var(--accent); }
}
@media (max-width:760px) {
  .neural-home #now > .wrap, .neural-home #faq > .wrap { grid-template-columns:minmax(0,1fr); gap:26px; }
  .neural-site .rail.neural-cases .errand { grid-template-columns:minmax(0,1fr); }
  .neural-site .rail.neural-cases .errand .ph { height:170px; min-height:0; }
  .neural-site .errand-switcher { justify-content:flex-start; }
}

.neural-site .hdr {
  top:12px; height:0; background:transparent; box-shadow:none;
}
.neural-site .hdr .wrap {
  width:min(970px,94vw); height:54px; padding-inline:17px; border:1px solid var(--line-2); border-radius:12px;
  background:var(--card); background:color-mix(in srgb,var(--card) 86%,transparent);
  box-shadow:0 9px 28px #0002; backdrop-filter:blur(16px);
}
.neural-site main { position:relative; isolation:isolate; }
.neural-site main > :is(section,article) { z-index:1; }
.neural-site main > :is(.s,.phero,.article),
.neural-site main .s:not(.soft) { background:transparent; }
.neural-site main > :is(.phero,.article) { padding-top:clamp(104px,10vw,160px); }
.neural-current {
  display:block; position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:0;
  color:var(--accent); overflow:hidden;
}
.neural-current .current-fiber { fill:none; stroke:currentColor; stroke-width:1; }
.neural-current .cool { stroke:var(--ink-3); }
.neural-current .current-node { fill:currentColor; }
.neural-current .current-pulse { fill:var(--accent-ink); }
.neural-origin-canvas {
  display:block; position:absolute; top:42px; right:3%; width:min(45vw,620px); height:auto;
  aspect-ratio:1.42; pointer-events:none; z-index:-1; opacity:.46;
}
.neural-site #hero { background:radial-gradient(ellipse at 52% 50%, var(--orb-glow), transparent 68%); }
.neural-site #hero .neural-stage { position:relative; width:100%; min-height:100svh; padding:0; display:grid; place-items:center; isolation:isolate; }
.neural-site #hero .neural-copy { display:contents; }
.neural-title { z-index:2; text-align:center; position:absolute; top:46%; left:50%; width: min(730px,84vw); transform:translate(-50%,-50%); }
.neural-home .neural-title .neural-affiliation { color:var(--accent-ink); }
.neural-site #h-home { margin-top:13px; font-size:clamp(63px,8vw,134px); text-shadow:0 2px 34px var(--bg),0 0 16px var(--bg); }
.neural-site #hero .brain-figure { position:absolute; inset:0; display:grid; place-items:center; z-index:0; pointer-events:none; }
.neural-site #hero .brain-canvas { width:min(95vw,1060px,126svh); aspect-ratio:1.46; opacity:.8; }
.neural-site #hero .brain-caption { position:absolute; inset:auto auto clamp(70px,12vh,123px) 50%; translate:-50% 0; pointer-events:auto; }
.neural-summary { z-index:3; position:absolute; right:max(31px,6vw); bottom:clamp(78px,19vh,185px); width:min(26vw,320px); }
.neural-site #hero .neural-summary .lede { margin-top:0; font-size:clamp(14px,1.2vw,17px); text-shadow:0 2px 10px var(--bg); }
.neural-home .neural-summary .ctas { margin-top:17px; gap:8px 11px; justify-content:flex-start; }
.neural-scroll {
  position:absolute; z-index:3; inset:auto auto 22px 50%; translate:-50% 0; text-align:center;
  text-decoration:none; color:var(--ink-2); display:grid; place-items:center; gap:2px; min-height:44px; font:11px var(--sans);
}
.neural-scroll span { color:var(--accent-ink); font-size:18px; }
@media (min-width:1000px) {
  .neural-site main > .s[data-neural-chapter] { min-height:min(78svh,760px); align-content:center; }
}
@media (max-width:1250px) and (min-width:761px) {
  .neural-summary { right:5vw; bottom:130px; width:240px; }
  .neural-site #hero .brain-caption { bottom:54px; left:5vw; translate:0 0; width:min(38vw,370px); }
}
@media (max-width:760px) {
  .neural-site .hdr .wrap { height:49px; padding-inline:10px; backdrop-filter:none; background:var(--card); }
  .neural-site #hero .neural-stage {
    min-height:0; padding:91px 4vw 22px; gap:13px; display:flex; flex-direction:column; align-items:stretch;
  }
  .neural-title, .neural-summary, .neural-site #hero .brain-figure, .neural-site #hero .brain-caption, .neural-scroll {
    position:relative; inset:auto; transform:none; translate:none; width:100%;
  }
  .neural-title { order:1; }
  .neural-site #h-home { font-size:clamp(53px,13vw,89px); }
  .neural-site #hero .brain-figure { order:2; display:block; }
  .neural-site #hero .brain-canvas { width:100%; max-height:285px; }
  .neural-site #hero .brain-caption { margin:0 auto; }
  .neural-summary { order:3; }
  .neural-site #hero .neural-summary .lede { font-size:16px; }
  .neural-scroll { order:4; }
  .neural-origin-canvas { width:55vw; top:60px; right:0; opacity:.2; }
}
