/* Shell Drop minimal: one glass sheet, one work tree. Preview branch redesign-minimal. */
:root{
  --bg:#050d16;
  --bg2:#08202c;
  --ink:#e6eff3;          /* item names */
  --text:#9fb1ba;         /* body copy */
  --meta:#71858f;         /* second line */
  --dim:#4f6370;          /* group labels, legend */
  --line:rgba(120,165,185,.42); /* dotted guides */
  --cyan:#3fd2f0;
  --glass-edge:rgba(72,200,228,.17);
  --dv:repeating-linear-gradient(to bottom,var(--line) 0 1px,transparent 1px 2px);
  --dvU:repeating-linear-gradient(to top,var(--line) 0 1px,transparent 1px 2px);
  --dh:repeating-linear-gradient(to right,var(--line) 0 1px,transparent 1px 2px);
  --dhL:repeating-linear-gradient(to left,var(--line) 0 1px,transparent 1px 2px);
  --dot:linear-gradient(var(--line),var(--line));
  --lblH:26px;
  --mono:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace;

  --rootY:300px;          /* centre of the root rule, from the sheet top */
  --indent:27%;           /* where the trunk sits inside the sheet */
  --arm:34px;             /* branch arm length */
  --gap:16px;             /* arm end to label */
  --lead:40px;            /* root rule to first row */
  --rowTop:88px;          /* space between top-level items */
  --rowIn:58px;           /* space between items in a group */
  --orb:44px;
  --orbInset:22px;

  /* shelldrop-motion timings (WorkTreeIntro, EmptyStateEntrance, MachineArrival.curve, tagBreathPeriod) */
  --cardFade:.3s;
  --arm-t:.12s;
  --beat:.06s;
  --rowStep:.07s;
  --rise-t:.28s;
  --ink-ease:cubic-bezier(.42,0,.58,1);
  --out-ease:cubic-bezier(.22,1,.36,1);
}
*{box-sizing:border-box}
html{background:var(--bg);-webkit-text-size-adjust:100%}
body{
  margin:0;min-height:100vh;color:var(--text);font-family:var(--mono);
  font-size:14.5px;line-height:1.75;letter-spacing:.005em;
  background:
    radial-gradient(1200px 700px at 70% -10%,rgba(14,52,68,.55),transparent 70%),
    linear-gradient(180deg,var(--bg) 0%,#061019 60%,var(--bg) 100%);
  -webkit-font-smoothing:antialiased;
  padding:28px 24px 40px;
  padding-top:max(28px,env(safe-area-inset-top));
  padding-bottom:max(40px,env(safe-area-inset-bottom));
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
::selection{background:rgba(63,210,240,.25);color:#fff}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- the sheet ---------- */
.sheet{
  position:relative;max-width:1380px;margin:0 auto;
  border:1px solid var(--glass-edge);border-radius:34px;
  background:linear-gradient(180deg,rgba(9,38,50,.62) 0%,rgba(7,26,36,.5) 40%,rgba(6,20,29,.42) 100%);
  box-shadow:inset 0 1px 0 rgba(140,220,240,.05);
  padding:0 0 72px;
}

/* top: legend row + three glass orbs with drop lines */
.head{position:relative;height:calc(var(--rootY) - 13px)}
.legend{
  position:absolute;left:var(--indent);bottom:30px;
  display:flex;flex-wrap:wrap;gap:6px 22px;
  font-size:13px;line-height:20px;color:var(--dim);
}
.legend a{display:inline-flex;align-items:center;gap:8px;transition:color .2s}
.legend a:hover,.legend a[aria-current]{color:var(--meta)}
.legend .g{width:9px;height:9px}
.orbs{position:absolute;top:var(--orbInset);right:var(--orbInset);display:flex;gap:26px}
.orb{
  position:relative;width:var(--orb);height:var(--orb);border-radius:50%;
  display:grid;place-items:center;color:var(--cyan);
  background:radial-gradient(circle at 50% 30%,rgba(30,110,130,.55),rgba(10,52,66,.7));
  border:1px solid rgba(80,210,235,.35);
  transition:border-color .2s,background .2s;
}
.orb:hover{border-color:rgba(110,225,245,.7)}
.orb svg{width:18px;height:18px}
.orb::after{ /* drop line into the root rule */
  content:"";position:absolute;left:50%;top:100%;
  width:1px;margin-left:-.5px;height:calc(var(--rootY) - var(--orbInset) - var(--orb));
  background:var(--dvU);transform-origin:top;
}

/* root rule: ......... shell drop ................. */
.root{
  position:relative;display:flex;align-items:flex-start;height:26px;
  padding-left:var(--indent);padding-right:calc(var(--orbInset) + var(--orb) / 2);
}
.root .seg{height:1px;margin-top:12px}
.root .seg.l{background:var(--dh)}
.root .seg.r{background:var(--dhL)}
.root .seg.l{width:200px;flex:none}
.root .seg.r{flex:1;transform-origin:left}
.root .seg.l{transform-origin:right}
.root-label{padding:0 14px;font-weight:600;color:var(--ink);font-size:17px;line-height:26px;letter-spacing:.02em;white-space:nowrap}

/* ---------- the tree ---------- */
.tree-wrap{padding-left:var(--indent);padding-right:48px;margin-top:var(--lead)}
.tree,.br{list-style:none;margin:0;padding:0}
.tree{--row:var(--rowTop)}
.br{--row:var(--rowIn)}
.T{position:relative;padding-left:calc(var(--arm) + var(--gap));--armY:13px}
.T+.T{margin-top:var(--row)}
.T::before{ /* elbow: down then across; corner pixel and the arm's end are always lit */
  content:"";position:absolute;left:0;top:0;width:var(--arm);height:var(--armY);
  background:var(--dot) left bottom/1px 1px no-repeat,var(--dv) left top/1px 100% no-repeat,var(--dhL) right bottom/calc(100% - 1px) 1px no-repeat;
}
.T::after{ /* trunk on to the next sibling */
  content:"";position:absolute;left:0;top:var(--armY);width:1px;bottom:calc(-1 * var(--row));
  background:var(--dv);transform-origin:top;
}
.T:last-child::after{display:none}
.tree>.T:first-child::before{top:calc(-14px - var(--lead));height:calc(var(--armY) + var(--lead) + 14px)}
/* nested group: its trunk sits at the arm's end */
.T>.br{margin-left:calc(-1 * var(--gap));margin-top:26px}
/* nested trunk starts ON the parent's arm row (parent armY = lblH/2) */
.T>.br>.T:first-child::before{top:calc(-27px - var(--lblH) / 2);height:calc(var(--armY) + 27px + var(--lblH) / 2)}

/* group label */
.grp{--armY:calc(var(--lblH) / 2)}
.grp>.lbl{display:block;color:var(--dim);font-size:16px;line-height:var(--lblH);font-weight:400;margin:0;letter-spacing:.01em}
/* item */
.node{padding-left:calc(var(--arm) + 20px)!important}
.node>.g{position:absolute;left:var(--arm);top:calc(var(--armY) - 5.5px)}
.name{display:block;max-width:46ch;color:var(--ink);font-size:17px;line-height:26px;font-weight:400;margin:0;letter-spacing:.01em}
a.name:hover,.name a:hover{color:#fff;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:5px}
.meta{display:block;max-width:66ch;color:var(--meta);font-size:13px;line-height:22px;margin-top:6px;letter-spacing:.03em}
.meta .sep{padding:0 .55em;opacity:.7}
.body{max-width:60ch;margin-top:14px}
.body p{margin:0 0 .9em}
.body p:last-child{margin-bottom:0}
.body a,.inline a{color:var(--ink);text-decoration:underline;text-decoration-style:dotted;text-decoration-color:rgba(160,200,215,.5);text-underline-offset:4px}
.body a:hover,.inline a:hover{text-decoration-color:var(--ink)}
.body ul,.body ol{margin:0 0 .9em;padding-left:3ch}
.body li{padding:0;margin:0 0 .35em}
.body li::before,.body li::after{display:none}
.body strong{color:#cddbe1;font-weight:500}
.body code,.meta code{color:#c7d9e0;font-family:var(--mono);font-size:.95em}
kbd{font-family:var(--mono)}

/* glyphs: circle = item, square = session, dashed = no agent */
.g{display:inline-block;width:10px;height:10px;border:1.5px solid #86a6b5;border-radius:50%;flex:none}
.g.sq{border-radius:1px}
.g.dash{border-style:dashed;border-radius:1px;border-color:var(--dim)}
.g.live{border-color:var(--cyan)}

/* status words */
.st{display:inline-flex;align-items:center;gap:7px}
.st::before{content:"";width:6px;height:6px;border-radius:50%;border:1.25px solid currentColor;box-sizing:border-box}
.st.on{color:var(--cyan)}
.st.on::before{background:var(--cyan);border:0}

/* the hero item */
.hero{--armY:19px}
.hero .name{font-size:clamp(21px,2.1vw,28px);line-height:38px;font-weight:500;letter-spacing:-.005em;max-width:24ch}
.hero .body{font-size:15px}

/* actions: plain text, never a big button */
.act{display:inline-flex;align-items:center;gap:10px;margin-top:20px;color:var(--ink);font-size:14px;letter-spacing:.02em}
.act .arr{color:var(--cyan);transition:transform .3s var(--out-ease)}
.act:hover .arr{transform:translateX(3px)}
.act u{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:5px;text-decoration-color:rgba(160,200,215,.5)}

/* small looping clips, framed like a second, smaller glass */
.clip{margin:18px 0 0;max-width:100%}
.clip video,.clip img{display:block;width:100%;height:auto;object-fit:contain;border-radius:18px;border:1px solid rgba(72,200,228,.14);background:var(--bg)}
.clip.tall{width:220px}
.clip.wide{width:440px}
.clip figcaption{margin-top:10px;color:var(--meta);font-size:12.5px;line-height:20px;letter-spacing:.03em;max-width:46ch}
.clips{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start}

/* compact lists inside an item */
.links{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 20px;font-size:13.5px}
.links li{padding:0;margin:0}
.links li::before,.links li::after{display:none}
.links a{color:var(--text);text-decoration:underline;text-decoration-style:dotted;text-decoration-color:rgba(160,200,215,.35);text-underline-offset:4px}
.links a:hover{color:var(--ink)}

/* code */
pre{margin:14px 0 0;padding:14px 16px;border:1px dotted rgba(120,165,185,.3);border-radius:12px;background:rgba(2,8,14,.35);
  color:#c9dde4;font-size:12.5px;line-height:1.7;overflow-x:auto;width:fit-content;max-width:100%;white-space:pre}
pre code{font-family:var(--mono)}

/* faq / disclosure rows */
details>summary{list-style:none;cursor:pointer}
details>summary::-webkit-details-marker{display:none}
details .meta{margin-top:10px}
details>summary .name::after{content:" +";color:var(--dim);transition:opacity .2s}
details[open]>summary .name::after{content:" \2212"}
.node.fq>.g{transition:background .2s}
.node.fq:has(details[open])>.g{background:#86a6b5}

/* form */
.form{display:grid;gap:16px;margin-top:18px;max-width:46ch}
.tabs{display:flex;gap:20px;font-size:13px;margin-top:16px}
.tabs button{background:none;border:0;padding:4px 0;color:var(--dim);font:inherit;cursor:pointer;letter-spacing:.03em}
.tabs button[aria-selected=true]{color:var(--ink);text-decoration:underline;text-decoration-style:dotted;text-underline-offset:5px}
.fld label{display:block;font-size:12px;color:var(--dim);letter-spacing:.06em}
.fld input,.fld textarea{width:100%;background:transparent;border:0;border-bottom:1px dotted rgba(120,165,185,.45);color:var(--ink);
  font:16px/1.5 var(--mono);padding:6px 0;outline:none;border-radius:0}
.fld textarea{min-height:84px;resize:vertical}
.fld input:focus,.fld textarea:focus{border-bottom-color:var(--cyan)}
.form button[type=submit]{justify-self:start;background:none;border:0;padding:6px 0;color:var(--ink);font:14px var(--mono);cursor:pointer;letter-spacing:.02em}
.form button[type=submit] .arr{color:var(--cyan)}
.form button:disabled{opacity:.5}
.honey{position:absolute;left:-9999px}
.status{font-size:13px;color:var(--meta);min-height:0}
.status.ok{color:var(--cyan)}
.status.bad{color:#e8a3a3}
[hidden]{display:none!important}

/* crumb (inner pages) */
.crumb{font-size:12.5px;color:var(--dim);letter-spacing:.04em;margin-bottom:10px}
.crumb a:hover{color:var(--meta)}

/* footer: dim, inside the sheet */
.foot{margin:110px 48px 0 var(--indent);padding-top:26px;border-top:1px dotted rgba(120,165,185,.22);
  display:flex;flex-wrap:wrap;gap:8px 22px;font-size:12.5px;line-height:20px;color:var(--dim)}
.foot a:hover{color:var(--meta)}
.foot .row{flex-basis:100%;display:flex;flex-wrap:wrap;gap:8px 22px}
.foot .latest-tag{color:var(--cyan);margin-right:8px}
.foot img{opacity:.35;height:22px;width:auto;vertical-align:middle;filter:grayscale(1)}

/* ---------- motion (html.mo is set only when motion is allowed) ---------- */
@keyframes ink{
  0%{clip-path:inset(0 calc(100% - 2px) 100% 0)}
  55%{clip-path:inset(0 calc(100% - 2px) 0 0)}
  100%{clip-path:inset(0 0 0 0)}
}
@keyframes drop{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes across{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes settle{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes breathe{0%,100%{opacity:.55;box-shadow:0 0 0 rgba(63,210,240,0)}50%{opacity:1;box-shadow:0 0 5px rgba(63,210,240,.6)}}

/* formation is driven by minimal.js (WAAPI, the app's order and speeds); these are the start states,
   with a safety reveal at 5 s should the script never run */
@keyframes sdshow{to{opacity:1;transform:none}}
.mo:not(.mo-plain) .sheet,.mo:not(.mo-plain) .root-label,.mo:not(.mo-plain) .orb{opacity:0;animation:sdshow 0s 5s forwards}
/* the menu comes in with the intro's name glow (minimal.js), item by item */
.mo:not(.mo-plain) .legend a{opacity:0;animation:sdshow 0s 9s forwards}
.mo:not(.mo-plain) .orb::after{transform:scaleY(0);animation:sdshow 0s 5s forwards}
.mo:not(.mo-plain) .root .seg{transform:scaleX(0);animation:sdshow 0s 5s forwards}
.root .seg.l,.root .seg.r{transform-origin:right}
.mo.mo-plain .T::before,.mo.mo-plain .T::after{opacity:1}
.mo .T::before,.mo .T::after{opacity:0;animation:sdshow 0s 5s forwards}
.mo .T>*:not(.br){opacity:0;animation:sdshow 0s 5s forwards}
/* below the first screen: opacity only, compositor-friendly (no ink, no rise) */
@keyframes sdfade{from{opacity:0}to{opacity:1}}
.mo .T.in::before,.mo .T.in::after,.mo .T.in>*{opacity:1;animation:sdfade .3s ease-out both}
.mo .T.now::before,.mo .T.now::after,.mo .T.now>*{opacity:1;animation:none}
.mo .T.now>.br,.mo .T.in>.br{animation:none}
.mo .T>.br{opacity:1}

/* the one breathing thing on a page */
.mo .breathe::before{animation:breathe 3.6s ease-in-out infinite;animation-delay:1.6s}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}

/* ---------- sizes ---------- */
@media (max-width:1300px){
  :root{--indent:11.5%;--rootY:250px}
}
@media (max-width:820px){
  :root{--indent:7%;--rootY:220px;--rowTop:76px;--rowIn:50px}
  .root .seg.l{width:120px}
}
@media (max-width:560px){
  :root{--indent:31px;--lblH:24px;--rootY:170px;--arm:16px;--gap:10px;--lead:32px;--rowTop:60px;--rowIn:40px;--orb:38px;--orbInset:14px}
  body{padding:10px 8px 24px;font-size:14px;padding-top:max(10px,env(safe-area-inset-top))}
  .sheet{border-radius:24px;padding-bottom:48px}
  .legend{left:20px;right:calc(var(--orbInset) + 3 * var(--orb) + 2 * 14px + 6px);bottom:22px;gap:2px 14px;font-size:12px}
  .orbs{gap:14px}
  .orb svg{width:16px;height:16px}
  .root .seg.l{width:28px}
  .root-label{font-size:16px;padding:0 10px}
  .tree-wrap{padding-right:18px}
  .node{padding-left:calc(var(--arm) + 20px)!important}
  .node>.g{left:var(--arm);top:calc(var(--armY) - 5px);width:9px;height:9px}
  .name{font-size:15.5px;line-height:24px}
  .T{--armY:12px}
  .hero{--armY:16px}
  .hero .name{font-size:20px;line-height:32px}
  .hero .body{font-size:14px}
  .grp>.lbl{font-size:14.5px;line-height:24px}
  .meta{font-size:12px;line-height:20px}
  .clip.tall{width:min(230px,100%)}
  .clip.wide{width:100%}
  .clips{gap:18px}
  .clips{flex-direction:column}
  pre{font-size:11.5px;padding:12px}
  .foot{margin:80px 18px 0 20px}
}

/* ---------- etched logo (mask cut from /screenshots/v4/icon.png) ---------- */
.etch{position:absolute;top:var(--orbInset);left:26px;width:46px;height:46px;display:block;z-index:1}
.etch i{position:absolute;inset:0;-webkit-mask:url(/logo-etch.png) center/contain no-repeat;mask:url(/logo-etch.png) center/contain no-repeat}
.etch .hl{background:rgba(170,225,240,.16);transform:translateY(1px)}
.etch .sh{background:rgba(0,0,0,.6);transform:translateY(-1px)}
.etch .face{background:#06161f}
.etch:hover .face{background:#071c27}

/* ---------- refresh pulse (TreePulse: 680 px/s, small 2.5, tail 12, blink .2, endFade .12) ---------- */
button.orb{font:inherit;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
@keyframes spin{to{transform:rotate(360deg)}}
.orb.spin svg{animation:spin .9s linear}
.pulse{position:absolute;left:0;top:0;width:5px;height:5px;margin:-2.5px 0 0 -2.5px;border-radius:50%;
  background:#c8f6ff;box-shadow:0 0 6px 1px rgba(63,210,240,.65);pointer-events:none;opacity:0;z-index:2}
.pulse.t{background:var(--cyan);box-shadow:none}
.root-label{display:inline-block;transform-origin:center}
.root-label.flare{color:#fff;text-shadow:0 0 10px rgba(63,210,240,.35);transition:color .14s,text-shadow .14s}
.tree>.T>.lbl,.tree>.T>.name{transition:color .2s}
.tree>.T>.g{transition:border-color .2s}
.tree>.T.blink>.lbl{color:var(--cyan)}
.tree>.T.blink>.g{border-color:var(--cyan)}
.root .seg,.T::before,.T::after{transition:border-color .25s ease}
.sheet.fadepulse .root .seg,.sheet.fadepulse .tree>.T::before,.sheet.fadepulse .tree>.T::after{border-color:rgba(63,210,240,.7)}
@media (prefers-reduced-motion:reduce){
  .root .seg,.T::before,.T::after{transition:border-color .25s ease!important}
}
@media (max-width:560px){
  .etch{left:16px;width:38px;height:38px}
}

/* snap the trunk to whole pixels so every junction lands on the same pixel column */
@supports (width:round(down,10.5px,1px)){
  .root,.tree-wrap{padding-left:round(down,var(--indent),1px)}
  .legend{left:round(down,var(--indent),1px)}
}

/* ---------- themes: four quiet terminals, cursor blinks like the app (PromptCursorBlink, 1.0 s, floor .1) ---------- */
.themes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 0;padding:0;max-width:620px}
.themes figure{margin:0}
.th-scr{background:var(--bg);color:var(--fg);border:1px solid rgba(72,200,228,.14);border-radius:12px;padding:9px 9px 10px;
  font-size:8.5px;line-height:1.55;display:flex;flex-direction:column;gap:1px;overflow:hidden;aspect-ratio:4/3}
.th-tab{align-self:flex-start;display:inline-flex;align-items:center;gap:4px;border:1px solid currentColor;border-radius:99px;padding:0 6px;margin-bottom:5px;font-size:8px;opacity:.85}
.th-tab i{width:4px;height:4px;border-radius:50%;background:#7be88d;display:inline-block}
.th-l{white-space:nowrap;overflow:hidden}
.th-l b{font-weight:600;opacity:.75}
.th-dim{opacity:.6}
.th-l u{display:inline-block;width:5px;height:9px;background:currentColor;vertical-align:-1px;text-decoration:none;animation:cursor 1s ease-in-out infinite}
@keyframes cursor{0%,100%{opacity:1}50%{opacity:.1}}
.themes figcaption{margin-top:8px;color:var(--meta);font-size:12px;line-height:18px;letter-spacing:.03em}
.clip.duo{width:320px}
.clip.wide video{background:#081120}
@media (max-width:560px){
  .themes{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .clip.duo{width:min(260px,100%)}
}

/* Wrapping (Daniel, 23 Nov, iPhone Air): no lone words on a line. */
p,li,figcaption,dd,.lead{text-wrap:pretty}
h1,h2,h3,.name,.meta,.label{text-wrap:balance}
.meta .nw{white-space:nowrap}

/* Feedback panel (Daniel, 23 Nov): easy to find, subtly raised from the sheet. */
.feedback{margin-top:20px;max-width:52ch;padding:18px 20px 20px;border-radius:16px;
  background:linear-gradient(180deg,rgba(0,212,255,.055),rgba(0,212,255,.02));
  border:1px solid rgba(0,212,255,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.feedback .tabs{margin-top:0;gap:6px;font-size:14px}
.feedback .tabs button{padding:9px 14px;border-radius:9px;color:var(--dim);text-decoration:none;min-height:40px}
.feedback .tabs button[aria-selected=true]{color:var(--ink);background:rgba(0,212,255,.10);box-shadow:inset 0 0 0 1px rgba(0,212,255,.28);text-decoration:none}
.feedback .form{max-width:none}
.feedback .form button[type=submit]{padding:10px 16px;border-radius:9px;box-shadow:inset 0 0 0 1px rgba(0,212,255,.35);min-height:44px}
@media (max-width:480px){.feedback{padding:14px 14px 16px}}
/* iOS zooms into any field under 16px: keep every field at 16px. */
.fld input,.fld textarea,input,textarea,select{font-size:16px}
/* Send: the one obvious action in the panel. */
.feedback .form button[type=submit]{background:rgba(0,212,255,.16);color:#e9fbff;font-weight:600;padding:11px 20px;
  box-shadow:inset 0 0 0 1px rgba(0,212,255,.55)}
.feedback .form button[type=submit]:hover{background:rgba(0,212,255,.24)}
/* Never let a line push the page sideways (Daniel, 23 Nov, iPhone Air). */
html,body{overflow-x:clip}
.meta{overflow-wrap:anywhere}
.meta .nw{white-space:normal}
@supports (text-wrap:balance){.meta .nw{white-space:nowrap}}
.meta{display:block;max-width:100%}
.meta .wr{white-space:normal}

/* Root name dead centre of the page (Daniel, 23 Nov). The label is mono, so its
   half width is exactly 5ch (10 characters) plus its side padding. */
.root{display:block;padding:0;font-size:17px;--half:calc(5ch + 14px)}
.root .seg{position:absolute;top:12px;margin:0}
.root .seg.l{left:var(--indent);right:calc(50% + var(--half));width:auto}
.root .seg.r{left:calc(50% + var(--half));right:calc(var(--orbInset) + var(--orb) / 2)}
.root-label{position:absolute;top:0;left:calc(50% - var(--half))}
@media (max-width:560px){.root{font-size:16px;--half:calc(5ch + 10px)}.root .seg.l{width:auto}}

/* ---------- menu (Daniel, 23 Nov): a small glass sheet under the menu orb, read as a mini work tree ---------- */
button.orb.menu[aria-expanded=true]{border-color:rgba(110,225,245,.75);background:radial-gradient(circle at 50% 30%,rgba(40,140,165,.6),rgba(12,62,78,.8))}
.menu-panel{position:absolute;z-index:32;top:calc(var(--orbInset) + var(--orb) + 12px);right:var(--orbInset);width:max(50vw,300px);max-width:calc(100% - 2 * var(--orbInset));
  padding:26px 18px 16px 34px;border-radius:18px;border:1px solid var(--glass-edge);
  background:linear-gradient(180deg,rgb(9,36,48),rgb(6,22,31));
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:0 18px 40px rgba(0,0,0,.35),inset 0 1px 0 rgba(140,220,240,.05)}
.menu-panel[hidden]{display:none}
/* the orb's line carries on into the panel: down from the orb, along the top, then the panel's trunk */
.menu-panel .m-drop{position:absolute;right:calc(var(--orb) / 2 - 1px);top:-13px;width:1px;height:26px;background:var(--dvU);transform-origin:top}
.menu-panel .m-run{position:absolute;top:12px;left:34px;right:calc(var(--orb) / 2 - 1px);height:1px;background:var(--dhL);transform-origin:right}
.mtree{list-style:none;margin:0;padding:0}
.mtree li{position:relative;padding-left:52px}
.mtree li::before{content:"";position:absolute;left:0;top:-1px;width:32px;height:calc(50% + 1px);
  background:var(--dot) left bottom/1px 1px no-repeat,var(--dv) left top/1px 100% no-repeat,var(--dhL) right bottom/calc(100% - 1px) 1px no-repeat}
.mtree li::after{content:"";position:absolute;left:0;top:50%;bottom:0;width:1px;background:var(--dv)}
.mtree li:last-child::after{display:none}
.mtree li:first-child::before{top:-14px;height:calc(50% + 14px)}
.mtree a{display:flex;align-items:center;gap:10px;min-height:34px;color:var(--text);font-size:13.5px;letter-spacing:.02em;border-radius:8px;padding:0 6px 0 0}
.mtree a .g{position:absolute;left:32px;top:calc(50% - 5.5px)}
.mtree a .t{white-space:nowrap}
.mtree a:hover,.mtree a:focus-visible{color:var(--ink);outline:none}
.mtree a:focus-visible .t{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}
.mtree a[aria-current] {color:var(--ink)}
.mtree a[aria-current] .g{border-color:var(--cyan);background:var(--cyan)}
@media (max-width:560px){
  .menu-panel{width:max(50vw,310px);padding:26px 14px 12px 34px}
  .mtree a{min-height:44px;font-size:15px}
}

/* menu open: the sheet behind blurs and dims; the buttons stay crisp above it */
.menu-veil{position:fixed;inset:0;z-index:25;background:rgba(3,10,15,.38);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.menu-veil{background:rgba(3,10,15,.72)}}
.menu-veil[hidden]{display:none}
.head .orbs{z-index:31}

/* the iPad page's screen recording: whole landscape frame, the text column's width */
.clip.ipadv{width:min(60ch,100%);margin-top:26px}
.clip.ipadv video{border-radius:14px}

/* the menu button is the only navigation now (Daniel, 24 Nov): a clear focus ring on every orb */
.orb:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}

/* platforms mini tree inside a page (Daniel, 24 Nov): the menu's glyph language, current page marked */
.T .plist{margin:14px 0 0;max-width:340px}
.T .plist li{padding-top:0;margin:0}
.T .plist li:first-child::before{top:-8px;height:calc(50% + 8px)}
.T .plist a{min-height:34px;font-size:14px}
@media (max-width:560px){.T .plist a{min-height:44px;font-size:14.5px}}

/* ---------- long-form template (blog posts, comparisons, FAQ): the page's own markup, styled quietly ---------- */
.art-tree .art-sec>.name,.art-tree .art-hero>.name{max-width:40ch}
.art-tree .art-sec>h2.name{font-size:18px;line-height:26px}
.body.art{max-width:72ch}
.art h3{color:var(--ink);font-size:15px;line-height:24px;font-weight:500;margin:1.6em 0 .5em;letter-spacing:.01em}
.art h3:first-child{margin-top:0}
.art p{margin:0 0 1em}
.art .meta{display:block;color:var(--meta);font-size:13px;margin:0 0 1em}
.art .lead{color:var(--text)}
.art-kicker,.art .kicker{color:var(--dim);font-size:12.5px;letter-spacing:.06em;margin-top:8px}
.art b,.art strong{color:#d3e2e8;font-weight:500}
.art em{color:#c4d6dd}
.art ul,.art ol{margin:0 0 1em;padding-left:3ch}
.art li{margin:0 0 .4em}
.art hr{border:0;border-top:1px dotted rgba(120,165,185,.3);margin:1.8em 0}
.art blockquote{margin:1em 0;padding:.2em 0 .2em 1.2em;color:#b8cad2;border:0;background:linear-gradient(var(--line),var(--line)) left top/1px 100% no-repeat}
.art code{color:#c7d9e0;font-family:var(--mono);font-size:.95em}
.art .verdict,.art .pick,.art .callout,.art .note{border:1px dotted rgba(120,165,185,.35);border-radius:12px;padding:14px 16px;margin:0 0 1.2em;background:rgba(2,8,14,.2)}
.art .verdict p:last-child{margin-bottom:0}
.art .asof{color:var(--meta);font-size:12.5px;line-height:20px}
/* tables: scroll inside themselves on a phone, never the page */
.art .table-scroll,.art .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 1.2em;max-width:100%;border:1px solid rgba(72,200,228,.14);border-radius:12px}
.art table{border-collapse:collapse;width:100%;min-width:520px;font-size:12.5px;line-height:1.55}
.art th,.art td{text-align:left;vertical-align:top;padding:9px 12px;border-bottom:1px dotted rgba(120,165,185,.25)}
.art thead th{color:var(--ink);font-weight:500;background:rgba(9,38,50,.6);position:sticky;top:0}
.art th.th-neutral{color:var(--meta)}
.art tbody tr:last-child td{border-bottom:0}
.art td:first-child{color:#c4d6dd}
/* media in posts: framed like the other clips, never wider than the column */
.art figure{margin:1.2em 0;max-width:min(100%,520px)}
.art figure img,.art figure video,.art .drop-frame img,.art .drop-frame video,.art>img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid rgba(72,200,228,.14);background:var(--bg)}
.art figcaption,.art .banner-cap{margin-top:10px;color:var(--meta);font-size:12.5px;line-height:20px}
/* faq lists inside posts */
.art .faq-list{margin:0 0 1em}
.art details.faq-item{border-bottom:1px dotted rgba(120,165,185,.22);padding:10px 0}
.art details.faq-item>summary{color:var(--ink);font-size:14.5px;line-height:22px;cursor:pointer;list-style:none}
.art details.faq-item>summary::-webkit-details-marker{display:none}
.art details.faq-item>summary::after{content:" +";color:var(--dim)}
.art details.faq-item[open]>summary::after{content:" \2212"}
.art .faq-body{margin-top:8px}
.art ul.other-comparisons{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:6px 18px}
.art ul.other-comparisons li{margin:0}
.art a{color:var(--ink);text-decoration:underline;text-decoration-style:dotted;text-decoration-color:rgba(160,200,215,.5);text-underline-offset:4px}
.art a.cta,.art a.cta-primary{display:inline-flex;align-items:center;gap:10px;color:var(--ink);text-decoration:underline;text-decoration-style:dotted;text-underline-offset:5px;font-size:14px}
.art a.cta::before,.art a.cta-primary::before{content:"\2193";color:var(--cyan);text-decoration:none}
/* the FAQ page: each question a branch */
.art-faq .fq>details>summary{list-style:none;cursor:pointer}
.art-faq .fq>details>summary::-webkit-details-marker{display:none}
.art-faq .fq>details>summary{color:var(--ink);font-size:16px;line-height:26px}
.art-faq .fq>details>summary::after{content:" +";color:var(--dim)}
.art-faq .fq>details[open]>summary::after{content:" \2212"}
.art-faq .fq .body{margin-top:10px;color:var(--text);max-width:64ch}
.art-faq .fq .body p{margin:0 0 .8em}
@media (max-width:560px){
  .art-tree .art-sec>h2.name{font-size:16px;line-height:24px}
  .art table{font-size:12px;min-width:460px}
  .art-faq .fq>details>summary{font-size:15px;line-height:24px}
}

/* ---------- mobile QA pass (Daniel, 24 Nov): wide enough text columns, media placed deliberately ---------- */
.art .bestfor{color:var(--meta);font-size:13px;margin:-.4em 0 1em}
.art .yes{color:#7ad39a}
/* the App Store QR: beside its link on a computer, gone on a phone (you are already on the phone) */
.art .get{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin:.4em 0 1.6em}
.art .get img{width:96px;height:96px;background:#fff;border-radius:10px;padding:6px;border:0}
.art .get small{color:var(--meta);font-size:12.5px;line-height:19px;max-width:24ch}
@media (max-width:760px),(pointer:coarse){.art .get img,.art .get small{display:none}}
/* media: one column, captions directly under, the same rhythm above and below */
.art figure,.clip{margin-top:20px;margin-bottom:20px}
.clips{margin-top:20px;margin-bottom:4px}
.clips .clip{margin-top:0;margin-bottom:0}
/* tables keep their words together and scroll inside their frame */
.art th,.art td{min-width:11ch}
.art td:first-child,.art th:first-child{min-width:13ch}
@media (max-width:560px){
  /* text columns: body copy, meta, media hang a little further left under the glyph, less side padding */
  body{padding-left:6px;padding-right:6px}
  :root{--gap:8px}
  .tree-wrap{padding-right:10px}
  .node{padding-left:calc(var(--arm) + 20px)!important}
  .node>.body,.node>.meta,.node>.clips,.node>.clip,.node>figure,.node>.links,.node>.act,.node>.themes,.node>.plist,.node>pre,.node>details>.meta,.node>details>.body,.art-hero>.crumb,.art-hero>.art-kicker{margin-left:-14px}
  .hero .name{font-size:19px;line-height:30px}
  .art .verdict,.art .pick,.art .callout,.art .note{padding:12px 12px}
  .art table{min-width:600px}
  .clips{flex-direction:column;align-items:flex-start}
  .clip.tall,.clips .clip.tall{width:min(240px,100%)}
  .clip.duo{width:min(300px,100%)}
  .art figure{max-width:100%}
}
/* tables size to their content (cells wrap at 26ch), never squeezed; the frame scrolls on narrow screens */
.art table{width:max-content;min-width:100%;max-width:none}
.art th,.art td{max-width:26ch;min-width:9ch}
@media (max-width:560px){.art table{min-width:100%}.art th,.art td{max-width:22ch}}
summary,.art details.faq-item>summary{text-wrap:balance}
.art th,.art td{max-width:34ch;text-wrap:balance}
.art td:first-child,.art th:first-child{min-width:16ch}
@media (max-width:560px){.art th,.art td{max-width:28ch}}
.art th,.art td{max-width:38ch}
.art td:first-child,.art th:first-child{min-width:20ch}
@media (max-width:560px){.art th,.art td{max-width:32ch}}
@media (max-width:560px){.art td:first-child,.art th:first-child{min-width:24ch}}
/* desktop: comparison tables fit the column (cells wrap); only phones scroll them */
@media (min-width:561px){
  .body.art{max-width:80ch}
  .art table{width:100%;min-width:0}
  .art th,.art td{max-width:none;min-width:0}
  .art td:first-child,.art th:first-child{min-width:14ch}
}
@media (max-width:560px){.node>.g+.body{margin-left:0}}
/* metadata lines break between words, never inside one ("Her / mes") */
.meta{overflow-wrap:break-word;word-break:normal}

/* ---------- tree lines as round dots, like the app (Daniel, 24 Nov): the app strokes lineWidth 1.4 with a
   round cap and dash [0.01, 3], i.e. separate round dots. Here: 1.6 px dots on a 4 px pitch, drawn in 3 px
   strips centred on the same line the pulse rides; whole dots only (background-repeat: space), so no half dot
   at a join. The glass edge stays a solid hairline. ---------- */
:root{--dc:rgba(150,196,214,.78);--dotr:radial-gradient(circle at 50% 50%,var(--dc) 0 .8px,transparent 1.15px)}
.T::before{left:-1px;width:calc(var(--arm) + 1px);height:calc(var(--armY) + 1px);
  background:var(--dotr) left top/3px 4px no-repeat space,var(--dotr) right bottom/4px 3px space no-repeat}
.T::after{left:-1px;width:3px;background:var(--dotr) center top/3px 4px no-repeat space}
.tree>.T:first-child::before{height:calc(var(--armY) + var(--lead) + 15px)}
.T>.br>.T:first-child::before{height:calc(var(--armY) + 28px + var(--lblH) / 2)}
.root .seg{height:3px;top:11px;background:var(--dotr) left center/4px 3px space no-repeat}
.root .seg.l,.root .seg.r{background:var(--dotr) left center/4px 3px space no-repeat}
.orb::after{width:3px;margin-left:-1.5px;background:var(--dotr) center top/3px 4px no-repeat space}
.menu-panel .m-drop{width:3px;right:calc(var(--orb) / 2 - 2px);background:var(--dotr) center top/3px 4px no-repeat space}
.menu-panel .m-run{height:3px;top:11px;background:var(--dotr) left center/4px 3px space no-repeat}
.mtree li::before{left:-1px;width:33px;height:calc(50% + 2px);
  background:var(--dotr) left top/3px 4px no-repeat space,var(--dotr) right bottom/4px 3px space no-repeat}
.mtree li:first-child::before{height:calc(50% + 15px)}
.mtree li::after{left:-1px;width:3px;background:var(--dotr) center top/3px 4px no-repeat space}
.T .plist li:first-child::before{height:calc(50% + 9px)}

/* long-form pages, second batch (24 Nov): any FAQ disclosure reads the same; tall phone shots stay a sensible size */
.art details:not(.faq-item){border-bottom:1px dotted rgba(120,165,185,.22);padding:10px 0}
.art details:not(.faq-item)>summary{color:var(--ink);font-size:14.5px;line-height:22px;cursor:pointer;list-style:none;text-wrap:balance}
.art details:not(.faq-item)>summary::-webkit-details-marker{display:none}
.art details:not(.faq-item)>summary::after{content:" +";color:var(--dim)}
.art details:not(.faq-item)[open]>summary::after{content:" \2212"}
.art details>p,.art details>div{margin-top:8px}
.art figure.tall-media,.art .tall-media{max-width:min(280px,100%)}
.art img.tall-media{max-width:min(280px,100%)}
/* every image in a long-form page fits its column; long inline code (paths, URLs) may wrap */
.art img,.art video{max-width:100%;height:auto}
.art :not(pre)>code{overflow-wrap:anywhere}
/* content classes carried over from the pre-redesign pages */
.art .kicker{display:block}
.art .kicker+p{margin-top:6px}
.art svg.os-mark{width:24px;height:24px;vertical-align:middle;margin-right:8px}
.art-kicker .kicker{display:inline}
.art a.cta svg,.art a.cta-primary svg{display:none}
.art .dim,.art .updated{color:var(--meta)}
.art .pills{display:flex;flex-wrap:wrap;gap:8px;margin:1em 0}
.art .pill{border:1px solid rgba(72,200,228,.22);border-radius:999px;padding:2px 11px;font-size:12.5px;line-height:22px;color:var(--text)}
.art .bento,.art .pillars{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:6px 26px;margin:1em 0}
.art .tile h3,.art .pillar h3{margin-top:4px}
.art .num{display:block;color:var(--dim);font-size:12.5px;letter-spacing:.06em;margin-top:1em}
.art .linkset{display:flex;flex-wrap:wrap;gap:6px 18px;margin:1em 0}
.art .scenario h2{color:var(--ink);font-size:16px;line-height:25px;font-weight:500;margin:2px 0 10px;text-wrap:balance}
.art .scenario .num{margin-top:0}
.art dl dt{color:var(--dim);font-size:12.5px;letter-spacing:.04em;margin-top:12px}
.art dl dd{margin:2px 0 0}
.art .agent,.art .track{margin-top:1.8em}
.art .track-tag{display:block;color:var(--dim);font-size:12.5px;letter-spacing:.06em}
.art .track-tag+h3{margin-top:.2em}
.art .soon{color:var(--meta)}
.art .prompt-box{position:relative;margin:1em 0}
.art .prompt-box .copy-btn{position:absolute;top:8px;right:8px;z-index:1;font:inherit;font-size:12px;color:var(--ink);background:rgba(5,13,22,.85);border:1px solid rgba(72,200,228,.3);border-radius:8px;padding:3px 10px;cursor:pointer}
/* blog index, release notes, MCP connector, trust ratings */
.art-posts .post>.meta{display:block;margin-top:6px}
.release>.meta .version{color:var(--text)}
.release>.meta{display:block}
.art .back{display:inline-block;margin-top:4px}
.art .endpoint,.art .snippet{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;border:1px solid rgba(72,200,228,.16);border-radius:12px;padding:10px 12px;margin:0 0 1em;background:rgba(2,8,14,.45)}
.art .endpoint code,.art .snippet pre{flex:1 1 220px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;background:none;border:0;padding:0}
.art button.copy{font:inherit;font-size:12px;letter-spacing:.06em;color:var(--cyan);background:transparent;border:1px solid rgba(72,200,228,.3);border-radius:8px;padding:4px 10px;cursor:pointer}
.art .ex em{color:var(--text);font-style:normal}
.art ul.plain{padding-left:1.1em}
.art .measures{border:1px solid rgba(72,200,228,.16);border-radius:12px;padding:12px 14px;margin:1em 0}
.art .measures .h{color:var(--dim);font-size:12.5px;letter-spacing:.06em;margin-bottom:6px}
.art .draft{border:1px dashed rgba(255,207,92,.5);border-radius:10px;padding:10px 14px;margin:0 0 1em;color:#ffcf5c;font-size:13px}
.ratings .row{display:grid;grid-template-columns:72px 1fr;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid rgba(72,200,228,.1)}
.ratings .score{text-align:center}
.ratings .score .n{font-size:30px;line-height:1;color:var(--cyan);font-weight:500}
.ratings .score .d{font-size:12px;color:var(--dim)}
.ratings .score .bar{height:3px;background:rgba(255,255,255,.08);border-radius:2px;margin-top:8px;overflow:hidden}
.ratings .score .bar i{display:block;height:100%;background:var(--cyan)}
.ratings .model h3{margin:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ratings .model .tag{font-size:10.5px;letter-spacing:.08em;color:#ffcf5c;border:1px solid rgba(255,207,92,.4);border-radius:6px;padding:0 6px}
.ratings .model .verdict{margin:4px 0 0;padding:0;border:0;background:none;color:var(--text);font-size:14px}
.ratings .model .verdict.ph{color:var(--meta);font-style:italic}
.art .foot-note{color:var(--meta);font-size:13px}
