/* eleMusic Labs: the one stylesheet of elemusiclabs.com. First the chat page (body.home, the final design),
   then the plain pages (body.doc: privacy, leave, not found). The site's CSP allows no inline styles, so every
   style lives here; scripts change styles only through classes or the CSSOM. Plain ASCII. */
@font-face{font-family:"Source Serif 4";src:url(/fonts/source-serif-4-latin.woff2) format("woff2");font-weight:200 900;font-style:normal;font-display:swap}
/* Georgia resized to the metrics of Source Serif 4, so the swap to the real face moves nothing */
@font-face{font-family:"Serif Fallback";src:local("Georgia");size-adjust:107.5%;ascent-override:96.7%;descent-override:31.6%;line-gap-override:0%}
:root{
  --bg:#000;--ink:#ECECF0;--title:#F3F0E8;--ui:#8E8E93;--hair:#262628;--head:#0B0B0D;--them:#2C2C30;
  --blue:#2470EC;--blue-hi:#2F7BF5;--focus:#5B9BFF;--gold:#E8C36B;--panel:#0C0C0E;--outline:#3E3E44;--edge:#5C5C64;
  --series:#BABAC2;--small:#A0A0A8;--link:#7DB0FF;--warn:#FF8A80;--chip:#3A64B0;--chip-bg:#08101F;--chip-ink:#CFE0FF;
  --sans:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,sans-serif;
  --serif:"Source Serif 4","Serif Fallback",Georgia,"Times New Roman",serif;
  color-scheme:dark
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{background:var(--bg);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{position:relative;margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.35 var(--sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden;overflow-x:clip}
a{color:inherit}
p{margin:0}
button,input{font:inherit;color:inherit}
.sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
:focus:not(:focus-visible){outline:none}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
[tabindex="-1"]:focus{outline:none}

/* No JavaScript, or the page script never ran: the composer and its fine print are hidden and the mailto line
   shows. html.js is set before the first paint by /assets/head.js (a noscript style would be blocked by the
   CSP); head.js takes it off again when the page script has not run 4 s in, or by load, and a page script that
   arrives later sets it again. */
.js .without-js{display:none}
html:not(.js) .needs-js{display:none}

/* the desktop stage (hidden on phones) */
.stage-mark,.stage-wave,.kb{display:none}
.js .stage-wave{visibility:hidden}
.js .stage-wave.on{visibility:visible}

/* the chat. On phones it is the page itself: one scroll, a sticky header and a sticky composer */
.app{position:relative;z-index:1;display:flex;flex-direction:column;min-height:600px;min-height:100svh}
.bar{position:sticky;top:0;z-index:3;flex:none;display:flex;justify-content:center;padding:max(5px,env(safe-area-inset-top)) 16px 4px;background:var(--head);border-bottom:1px solid var(--hair)}
.bar::after{content:"";position:absolute;left:0;right:0;top:100%;height:14px;margin-top:1px;background:linear-gradient(#000,rgba(0,0,0,0));pointer-events:none}
.who{display:flex;flex-direction:column;align-items:center;gap:3px;min-height:44px;padding:2px 12px;border-radius:14px;text-decoration:none}
.home .bar{align-items:center;justify-content:space-between;gap:8px}
.home .who{flex-direction:row;gap:8px;padding:2px 0}
.home .who b{font-size:16px}
.studio-entry,.page a.studio-entry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid var(--outline);border-radius:24px;color:var(--title);background:var(--panel);font-weight:600;text-decoration:none}
.studio-entry:hover{border-color:var(--gold)}
.entry-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin:16px 0 8px}
.permissions-detail summary{display:list-item;width:fit-content;min-height:44px;padding:12px 0;color:var(--link);cursor:pointer}
.entry-actions>a{display:inline-flex;align-items:center;min-height:44px}
.who svg{display:block;width:32px;height:32px}
.who b{font:600 13.5px/1.1 var(--serif);letter-spacing:.01em;color:var(--ink)}
.mk-wave{transform-origin:16px 16px}
.who.typing .mk-wave{animation:speak .8s steps(1,end) infinite}
.locked .who .mk-wave{animation:none}
@keyframes speak{0%{transform:none}50%{transform:scaleY(-1)}}

.app main{flex:1 0 auto;display:flex;flex-direction:column}
.thread{flex:1 0 auto;padding:0 env(safe-area-inset-right) 0 env(safe-area-inset-left)}
.thread:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}

/* the Studio title card: the h1 */
.cover{padding:14px 14px 0}
.card{max-width:420px;margin:0 auto;padding:12px 16px 13px;border-radius:20px;background:var(--panel);border:1px solid var(--outline)}
.card h1{margin:0;font:inherit}
.kicker{display:inline-block;padding:3px 9px 3px 8px;border-radius:999px;background:var(--blue);color:#fff;font:700 10.5px/1.35 var(--sans);letter-spacing:.09em;text-transform:uppercase}
.card-h{display:block;margin:10px 0 7px;font:560 27px/1.12 var(--serif);letter-spacing:-.012em;color:var(--title);text-wrap:balance}
.card-s{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.3;color:var(--series)}
.wv{position:relative;flex:none;width:30px;height:8px}
.wv svg{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}
.wv path{fill:none;stroke:#3A3A40;stroke-width:1.5;stroke-linecap:round}
.wv .g path{stroke:var(--gold)}
/* sung once: the gold fills in three hard steps */
.anim .card-s .g{clip-path:inset(0 100% 0 0);animation:sing .36s steps(3,end) .3s forwards}
@keyframes sing{to{clip-path:inset(0 0 0 0)}}

.stamp{margin:12px 0 5px;text-align:center;font-size:11.5px;line-height:1.3;color:var(--ui)}
.stamp b{font-weight:600}

/* messages */
.msgs{position:relative;list-style:none;margin:0;padding:0 14px 14px}
.msg{display:flex;margin:2px 0 0}
.msg.gap{margin-top:12px}
.note .stamp{margin:15px 0 2px}
.them{justify-content:flex-start;transform-origin:0 100%}
.me,.ask{flex-direction:column;align-items:flex-end;transform-origin:100% 100%}
.bubble{position:relative;isolation:isolate;max-width:min(82%,300px);padding:7px 12px 8px;border-radius:18px;font-size:16px;line-height:1.32;overflow-wrap:anywhere;text-wrap:pretty}
.them .bubble{background:var(--them);color:var(--ink)}
.me .bubble,.ask .bubble{background:var(--blue);color:#fff}
.tail .bubble::before,.tail .bubble::after{content:"";position:absolute;bottom:0;height:20px;z-index:-1}
.them.tail .bubble::before{left:-7px;width:20px;background:var(--them);border-bottom-right-radius:15px}
.them.tail .bubble::after{left:-10px;width:10px;background:var(--bg);border-bottom-right-radius:10px}
.me.tail .bubble::before,.ask.tail .bubble::before{right:-8px;width:20px;background:var(--blue);border-bottom-left-radius:15px}
.me.tail .bubble::after,.ask.tail .bubble::after{right:-10px;width:10px;background:var(--bg);border-bottom-left-radius:10px}
@media (max-width:380px){.bubble{max-width:86%}}
@media (min-width:600px){.cover,.msgs,#waitlist{max-width:560px;margin-left:auto;margin-right:auto}}
.ok .wv{display:inline-block;width:26px;height:8px;margin:0 8px 0 0;vertical-align:1px}
.ok .wv path{stroke:var(--gold);stroke-width:1.6}
.receipt{margin:3px 2px 0 0;font-size:11px;font-weight:600;line-height:1.3;color:var(--ui)}
.failed .receipt{max-width:86%;text-align:right;font-size:13px;font-weight:400;line-height:1.35;color:var(--warn);text-wrap:balance}
.failed .receipt b{display:block;font-size:11px;font-weight:600}

/* JS on: the lab texts its notes in. Waiting ones keep their place (no layout shift) and stay
   readable to screen readers; they are only transparent until their turn. */
.anim .msgs>li:not(.in):not(.typing){opacity:0}

/* typing dots: each dot lights for 0.4 s, hard cuts */
.typing.float{position:absolute;left:14px;margin:0}
.dots{display:inline-flex;align-items:center;gap:5px;padding:12px 13px}
.dots i{display:block;width:8px;height:8px;border-radius:50%;background:#A3A3A9;opacity:.35;animation:blink 1.2s steps(1,end) infinite}
.dots i:nth-child(2),.i-dots i:nth-child(2){animation-delay:.4s}
.dots i:nth-child(3),.i-dots i:nth-child(3){animation-delay:.8s}
.dots::before,.dots::after{content:"";position:absolute;border-radius:50%;background:var(--them)}
.dots::before{left:-2px;bottom:-2px;width:11px;height:11px}
.dots::after{left:-7px;bottom:-7px;width:5px;height:5px}
@keyframes blink{0%{opacity:1}33.333%{opacity:.35}100%{opacity:.35}}

/* quick replies after joining, one question at a time */
.msg.chips{justify-content:flex-end;margin-top:6px;transform-origin:100% 100%}
.chipset{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:0 6px;max-width:100%}
.chipset .br{flex-basis:100%;height:0}
.chip,.act{position:relative;isolation:isolate;min-height:44px;min-width:44px;margin:0;padding:0 13px;border:0;background:none;cursor:pointer;font-size:14px;font-weight:500;line-height:1.2;white-space:nowrap;color:var(--chip-ink);-webkit-tap-highlight-color:transparent}
.chip::before,.act::before{content:"";position:absolute;top:5px;right:0;bottom:5px;left:0;z-index:-1;border-radius:999px;border:1px solid var(--chip);background:var(--chip-bg)}
.chip:hover::before{border-color:#5B8BE0}
.chip[aria-pressed="true"]{color:#fff}
.chip[aria-pressed="true"]::before{background:var(--blue);border-color:var(--blue)}
.ck{display:none;width:11px;height:11px;margin:0 5px 0 -2px;vertical-align:-1px}
.ck path{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.chip[aria-pressed="true"] .ck{display:inline-block}
.act{padding:0 17px;color:var(--ink)}
.act::before{border-color:var(--edge);background:none}
.act:hover::before{border-color:#7A7A82}
.act.go{color:#0B0B0D;font-weight:600}
.act.go::before{background:var(--ink);border-color:var(--ink)}
.chip:focus-visible,.act:focus-visible{outline:none}
.chip:focus-visible::before,.act:focus-visible::before{outline:2px solid var(--focus);outline-offset:2px}

/* the composer */
.dock{position:sticky;bottom:0;z-index:3;flex:none;background:var(--bg);border-top:1px solid var(--hair);padding:8px calc(12px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left))}
.dock::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:14px;margin-bottom:1px;background:linear-gradient(rgba(0,0,0,0),#000);pointer-events:none}
/* a chip with keyboard focus scrolls clear of the sticky header and composer (WCAG 2.4.11, at high zoom); only
   then, so a tap on the field or on a chip never moves the page */
html:has(.chipset :focus-visible){scroll-padding:72px 0 132px}
form{margin:0}
fieldset{margin:0;padding:0;border:0;min-width:0}
.status{margin:0 6px 8px;text-align:center;font-size:13.5px;line-height:1.35;color:var(--ui);text-wrap:pretty}
.status:empty{margin:0}
.status.err{color:var(--warn)}
.status button{min-height:44px;padding:0 4px;border:0;background:none;color:var(--link);font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer;overflow-wrap:anywhere}
.nojs{margin:4px 6px;text-align:center;font-size:13.5px;line-height:1.45;color:var(--series)}
.nojs a{color:var(--link);text-underline-offset:3px}
.pill{position:relative}
.pill input{display:block;width:100%;height:44px;margin:0;padding:0 50px 0 16px;border:1px solid var(--edge);border-radius:22px;background:#000;color:var(--ink);font-size:17px;line-height:1.2;-webkit-appearance:none;appearance:none}
.pill input::placeholder{color:var(--ui);opacity:1}
.pill input[aria-invalid="true"]{border-color:var(--warn)}
/* [disabled], not :disabled: the fieldset ships disabled until the script wires the form, and the field and
   button should not flash their locked look before that. Only the locked state after joining sets the
   attribute on the input and the button themselves. */
.pill input[disabled]{opacity:1;color:var(--ui);-webkit-text-fill-color:var(--ui);border-color:var(--hair)}
.send{position:absolute;top:0;right:0;width:44px;height:44px;margin:0;padding:0;border:0;background:none;cursor:pointer;isolation:isolate;-webkit-tap-highlight-color:transparent}
.send::before{content:"";position:absolute;top:6px;right:6px;bottom:6px;left:6px;z-index:-1;border-radius:50%;background:var(--blue)}
.send:hover::before{background:var(--blue-hi)}
.send:focus-visible{outline:none}
.send:focus-visible::before{outline:2px solid var(--focus);outline-offset:2px}
/* forced colors (Windows contrast themes): the circle keeps its blue, or a light theme draws the white arrow on
   white; its focus ring still takes the system color */
@media (forced-colors:active){.send::before{forced-color-adjust:none}.send:focus-visible::before{outline-color:Highlight}}
.send svg{position:absolute;left:14px;top:14px;width:16px;height:16px}
.i-dots{position:absolute;top:0;right:0;bottom:0;left:0;display:none;align-items:center;justify-content:center;gap:3px}
.i-dots i{display:block;width:4px;height:4px;border-radius:50%;background:#fff;opacity:.35;animation:blink 1.2s steps(1,end) infinite}
.send .i-ok{display:none}
.send.busy .i-up,.send.sent .i-up{display:none}
.send.busy .i-dots{display:flex}
.send.sent .i-ok{display:block}
.send.sent::before,.send[disabled]::before{background:var(--them)}
.send[disabled]{cursor:default}
.fine{margin:7px 8px 0;text-align:center;font-size:11.5px;line-height:1.4;color:var(--ui);text-wrap:pretty}
.fine a{display:inline-block;padding:12px 6px;margin:-12px -6px;line-height:20px;color:var(--series);text-underline-offset:2px}
.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

/* footer: the plug and the legal lines */
.foot{position:relative;z-index:1;padding:20px 20px calc(24px + env(safe-area-inset-bottom));border-top:1px solid var(--hair);text-align:center;font-size:13px;line-height:1.5;color:var(--small)}
.foot a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;color:var(--ink);text-decoration:underline;text-decoration-color:rgba(232,195,107,.7);text-underline-offset:3px}
.foot a:hover{color:#fff;text-decoration-color:var(--gold)}
.plug{color:var(--series)}
.links{display:flex;flex-wrap:wrap;justify-content:center;gap:0 16px}
.small span{display:block}
.foot .small a{display:inline;min-height:0;padding:4px 2px;margin:-4px -2px;color:var(--ink);white-space:nowrap;text-decoration:underline;text-decoration-color:rgba(232,195,107,.55);text-underline-offset:2px}

/* tablets and desktops: the chat becomes a phone on a quiet stage (the chat page only: body.home) */
@media (min-width:720px) and (min-height:480px){
  .home{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;min-height:100svh;background:radial-gradient(70% 60% at 50% 52%,#0B0A08 0,#000 70%)}
  .stage-mark{grid-row:1;display:flex;align-items:center;gap:11px;padding:24px 40px 0;font:600 20px/1 var(--serif);letter-spacing:.005em;color:var(--ink)}
  .stage-mark svg{width:30px;height:30px}
  .stage-wave{display:block;position:absolute;left:0;right:0;top:50%;height:340px;margin-top:-170px;z-index:0;pointer-events:none;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%)}
  .stage-wave svg{display:block;width:100%;height:100%}
  .app{grid-row:2;align-self:center;justify-self:center;width:400px;height:clamp(440px,calc(100svh - 136px),880px);min-height:0;margin:8px 0;border:1px solid var(--hair);border-radius:38px;overflow:hidden;background:var(--bg);box-shadow:0 0 0 1px rgba(232,195,107,.05),0 40px 120px rgba(0,0,0,.85),0 0 90px rgba(232,195,107,.06)}
  .bar{position:relative;padding-top:10px}
  .app main{flex:1 1 auto;min-height:0}
  .thread{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#3E3E44 transparent}
  .dock{position:relative}
  html:has(.chipset :focus-visible){scroll-padding:0}
  .kb{display:flex;flex:none;flex-direction:column;align-items:center;gap:7px;padding:7px 12px 6px;background:#1F1F1F;color:#A5A5A5;font-size:12.5px;line-height:1.2;cursor:text;-webkit-user-select:none;user-select:none}
  .kb i{display:block;width:120px;height:4px;border-radius:2px;background:#E5E5EA}
  .home .foot{grid-row:3;display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:0 32px 10px;border-top:0;text-align:left;font-size:12.5px}
  .home .plug{padding-bottom:1px}
  .home .legal{text-align:right}
  .home .links{justify-content:flex-end}
  .home .small span{display:block;width:fit-content;max-width:100%;margin-inline-start:auto}
}
@media (min-width:1240px) and (min-height:480px){
  .home{display:block}
  .stage-mark{position:absolute;top:0;left:0;padding-top:28px}
  .app{position:absolute;left:50%;top:50%;margin:0;transform:translate(-50%,-50%);height:min(880px,calc(100svh - 20px))}
  /* the full-width footer box overlaps the bottom of the phone. Its clip-path cuts the phone's column (the 400 px
     phone and 4 px each side) out of the box, so clicks there reach the phone. The rest of the box keeps the mouse: a
     selection drag that starts or ends just past a footer line does so on the footer, not on the stage behind it,
     where both engines would select unrelated text. The clip reaches 8 px above the box, so the focus rings of the
     legal links (4 px out) show whole. The plug and the legal lines sit clear of the column at this width: each
     side's block is capped at the cut edge, so with a user's minimum font size (Chrome Settings, Appearance;
     Firefox font.minimum-size) a line wraps instead of running into the column, where the clip would hide it. */
  .home .foot{position:absolute;left:0;right:0;bottom:0;padding:0 40px 18px;clip-path:polygon(0 -8px,calc(50% - 204px) -8px,calc(50% - 204px) 100%,calc(50% + 204px) 100%,calc(50% + 204px) -8px,100% -8px,100% 100%,0 100%)}
  .home .foot>*{max-width:calc(50% - 204px)}
}
/* The playable stage (/assets/stage.js), tablets and desktops only: html.gl once its WebGL layer is set up, html.gl-on
   while it runs. The canvas then fades in over the still SVG strands, which fade out, and the sound button with its
   hint shows in the top right corner. Sound is off until that button is pressed: off, its label invites and its
   glow breathes; a press on the background while it is off pulses it (.nudge). Without WebGL, with reduced motion,
   on a phone or when stage.js gives up, none of this shows. The canvas sits under the phone, the mark, the footer and
   the button; it draws nothing at the very top and bottom, where they are. */
.stage-gl,.stage-ui{display:none}
@media (min-width:720px) and (min-height:480px){
  .gl .stage-gl{display:block;position:fixed;left:0;top:0;width:100%;height:100%;z-index:0;opacity:0;pointer-events:none;transition:opacity 1.2s ease;cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
  .gl-on .stage-gl{opacity:1;pointer-events:auto}
  .gl .stage-wave{transition:opacity 1.2s ease}
  .gl-on .stage-wave{opacity:0}
  .gl .stage-mark{position:relative;z-index:1}
  .gl-on .stage-ui{position:absolute;top:17px;right:40px;z-index:2;display:flex;flex-direction:column;align-items:flex-end;gap:1px}
  .stage-sound{position:relative;isolation:isolate;display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:0 17px 0 14px;border:0;background:none;color:var(--gold);font-size:13px;font-weight:600;line-height:1;letter-spacing:.01em;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .stage-sound::before,.stage-sound::after{content:"";position:absolute;top:5px;right:0;bottom:5px;left:0;border-radius:999px}
  .stage-sound::before{z-index:-1;border:1px solid rgba(232,195,107,.6);background:rgba(232,195,107,.1)}
  .stage-sound::after{z-index:-2;box-shadow:0 0 22px rgba(232,195,107,.42);opacity:0}
  .stage-sound[aria-pressed="false"]::after{animation:invite 2.8s ease-in-out infinite}
  .stage-sound:hover::before{border-color:var(--gold);background:rgba(232,195,107,.17)}
  .stage-sound.nudge::before{animation:nudge .5s ease-out}
  .stage-sound[aria-pressed="true"]{color:var(--small);font-weight:500}
  .stage-sound[aria-pressed="true"]::before{border-color:var(--outline);background:rgba(12,12,14,.6)}
  .stage-sound[aria-pressed="true"]:hover{color:var(--ink)}
  .stage-sound[aria-pressed="true"]:hover::before{border-color:var(--edge)}
  .stage-sound:focus-visible{outline:none}
  .stage-sound:focus-visible::before{outline:2px solid var(--focus);outline-offset:2px}
  .stage-sound svg{display:block;flex:none;width:16px;height:16px;overflow:visible;color:var(--gold)}
  .stage-sound .spk{fill:currentColor}
  .stage-sound .w,.stage-sound .x{fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
  .stage-sound[aria-pressed="false"] .w,.stage-sound[aria-pressed="true"] .x{display:none}
  /* the hint keeps to the right of the phone's column, wrapping if the stage is narrow */
  .stage-hint{max-width:calc(50vw - 248px);margin:0 8px 0 0;text-align:right;font-size:12.5px;line-height:1.35;color:var(--ui);text-wrap:balance;transition:opacity 1.2s ease}
  .stage-hint.gone{opacity:0;visibility:hidden;transition:opacity 1.2s ease,visibility 0s linear 1.2s}
}
@media (min-width:1240px) and (min-height:480px){
  .gl .stage-mark{position:absolute}
  .gl-on .stage-ui{top:21px}
}
@keyframes invite{50%{opacity:1}}
@keyframes nudge{30%{transform:scale(1.07);border-color:#E8C36B;background:rgba(232,195,107,.24)}}
@media (prefers-reduced-motion:reduce){
  .dots i,.i-dots i,.who .mk-wave{animation:none!important}
  .dots i,.i-dots i{opacity:.7}
  .stage-sound::before,.stage-sound::after{animation:none!important}
  .stage-gl,.stage-wave,.stage-hint{transition:none!important}
}

/* The plain pages (body.doc): privacy, leave and not found. They share the tokens, the title card and the footer
   above; on every width the footer keeps its centered phone layout. */
.doc{--body:#D0D0D6;display:flex;flex-direction:column;min-height:600px;min-height:100svh}
.top{display:flex;align-items:center;padding:max(10px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 0 max(20px,env(safe-area-inset-left))}
.brand{display:inline-flex;align-items:center;gap:11px;min-height:44px;font:600 20px/1 var(--serif);letter-spacing:.005em;color:var(--ink);text-decoration:none}
.brand svg{display:block;flex:none;width:30px;height:30px}
.back a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;margin:0 -4px;color:var(--link);text-underline-offset:3px}
@media (min-width:720px) and (min-height:480px){.top{padding:17px 40px 0}}
@media (min-width:1240px) and (min-height:480px){.top{padding-top:21px}}

/* privacy */
.page{flex:1 0 auto;width:100%;max-width:680px;margin:0 auto;padding:28px max(20px,env(safe-area-inset-right)) 48px max(20px,env(safe-area-inset-left))}
.page h1{margin:0 0 8px;font:560 34px/1.12 var(--serif);letter-spacing:-.012em;color:var(--title);text-wrap:balance}
.page h2{margin:36px 0 10px;font:600 21px/1.25 var(--serif);letter-spacing:-.005em;color:var(--title);text-wrap:balance}
.page p,.page li{font-size:16px;line-height:1.6;color:var(--body);text-wrap:pretty}
.page p{margin:0 0 14px}
.page .meta{margin:0 0 28px;font-size:13.5px;line-height:1.45;color:var(--ui)}
.page ul{margin:0 0 14px;padding:0 0 0 22px}
.page li{margin:0 0 8px;padding-left:2px}
.page li::marker{color:var(--gold)}
.page strong{font-weight:600;color:var(--ink)}
.page a{color:var(--link);text-underline-offset:3px;overflow-wrap:anywhere}
.page .back{margin:36px 0 0}
.page h3{margin:24px 0 8px;font:600 17.5px/1.3 var(--sans);color:var(--ink);text-wrap:balance}
.page ol{margin:0 0 14px;padding:0 0 0 22px}
.page ol li{margin:0 0 8px;padding-left:2px}
.page ol li::marker{color:var(--gold);font-weight:600}
.page code{padding:1px 5px;border-radius:5px;background:var(--panel);border:1px solid var(--hair);font:400 14px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--ink)}
.legal-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:0;list-style:none}
.legal-tabs li{margin:0;padding:0}
.legal-tabs a{display:inline-flex;align-items:center;min-height:40px;padding:0 13px;border-radius:999px;border:1px solid var(--outline);background:var(--panel);color:var(--ink);font-size:13.5px;font-weight:500;text-decoration:none}
.legal-tabs a:hover{border-color:var(--gold);color:#fff}
.legal-tabs a[aria-current="page"]{border-color:var(--gold);background:rgba(232,195,107,.14);color:var(--gold);font-weight:600}
.callout{margin:18px 0;padding:15px 18px;border-radius:14px;background:var(--panel);border:1px solid var(--outline)}
.callout.gold{border-color:rgba(232,195,107,.55)}
.callout p:last-child,.callout ul:last-child{margin-bottom:0}
.callout-title{display:block;margin:0 0 6px;font:600 15px/1.35 var(--sans);color:var(--title)}
.toc{margin:18px 0 26px;padding:14px 18px;border-radius:14px;background:var(--panel);border:1px solid var(--hair)}
.toc-title{display:block;margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ui)}
.toc ol{margin:0;padding:0 0 0 20px;columns:1}
@media (min-width:580px){.toc ol{columns:2;column-gap:24px}}
.toc li{margin:0 0 5px;font-size:14.5px;line-height:1.45;break-inside:avoid}
.doc-table-wrap{width:100%;margin:16px 0 20px;overflow-x:auto;border-radius:12px;border:1px solid var(--outline);background:var(--panel)}
.doc-table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.45}
.doc-table th,.doc-table td{padding:10px 13px;text-align:left;vertical-align:top;border-bottom:1px solid var(--hair);color:var(--body)}
.doc-table th{font-size:12.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ink);background:#121216}
.doc-table tr:last-child td{border-bottom:0}
.pillar-grid{display:grid;grid-template-columns:1fr;gap:14px;margin:18px 0 24px}
@media (min-width:580px){.pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pillar-card{padding:16px 18px;border-radius:14px;background:var(--panel);border:1px solid var(--outline)}
.pillar-card h3{margin:4px 0 6px;font:600 17px/1.28 var(--serif);color:var(--title)}
.pillar-card p{margin:0;font-size:14.5px;line-height:1.5;color:var(--body)}
.pillar-card p+p{margin-top:8px}
.pillar-kicker{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gold)}
.code-block{margin:14px 0 18px;padding:13px 16px;overflow-x:auto;border-radius:12px;background:#070709;border:1px solid var(--outline);font:400 13.5px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--ink);white-space:pre}
.verify-box{margin:20px 0 24px;padding:20px;border-radius:16px;background:var(--panel);border:1px solid var(--outline)}
.verify-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0 0}
.verify-file{display:block;width:100%;padding:10px 12px;border-radius:10px;border:1px dashed var(--edge);background:#050507;color:var(--ink);font-size:14.5px}
.verify-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:0;border-radius:22px;background:var(--blue);color:#fff;font-size:15px;font-weight:600;cursor:pointer}
.verify-btn:hover{background:#1F63D6}
.verify-btn.quiet{border:1px solid var(--outline);background:transparent;color:var(--ink);font-weight:500}
.verify-btn.quiet:hover{border-color:var(--edge);background:#16161A}
.verify-out{margin:16px 0 0;padding:14px 16px;border-radius:12px;border:1px solid var(--outline);background:#070709}
.verify-badge{display:inline-block;margin:0 0 8px;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.verify-badge.ok{background:rgba(232,195,107,.16);border:1px solid var(--gold);color:var(--gold)}
.verify-badge.neutral{background:#1B1B20;border:1px solid var(--edge);color:var(--ink)}
.verify-badge.err{background:rgba(255,138,128,.14);border:1px solid var(--warn);color:var(--warn)}
.verify-dl{display:grid;grid-template-columns:1fr;gap:6px 16px;margin:10px 0 0;font-size:14px;line-height:1.45}
@media (min-width:540px){.verify-dl{grid-template-columns:170px 1fr}}
.verify-dl dt{font-weight:600;color:var(--ui)}
.verify-dl dd{margin:0;color:var(--ink);overflow-wrap:anywhere}

/* leave and not found: one card, centered */
.lone{flex:1 0 auto;display:flex;flex-direction:column;justify-content:center;width:100%;max-width:452px;margin:0 auto;padding:24px 16px 48px}
.lone .card{width:100%;max-width:none}
.lone .back{margin:14px 0 0;text-align:center;font-size:14px}
.lv{padding:18px 20px 20px}
.lv h1{margin:0 0 8px;font:560 27px/1.15 var(--serif);letter-spacing:-.012em;color:var(--title);text-wrap:balance}
.lv-msg{font-size:16px;line-height:1.45;color:var(--body);text-wrap:pretty}
.lv-msg a,.lv-status a{color:var(--link);text-underline-offset:3px}
.lv-go{display:block;width:100%;min-height:48px;margin:18px 0 0;padding:0 20px;border:0;border-radius:24px;background:var(--blue);color:#fff;font-size:16px;font-weight:600;line-height:1.2;cursor:pointer;-webkit-tap-highlight-color:transparent}
/* the hover keeps 4.5:1 under the white label (5.51:1); --blue-hi, 3.98:1, is for the send button's arrow */
.lv-go:hover{background:#1F63D6}
.lv-go[aria-disabled="true"]{background:var(--them);color:var(--ink);cursor:default}
.lv-status{margin:12px 2px 0;font-size:14px;line-height:1.4;color:var(--ui);text-wrap:pretty}
.lv-status:empty{margin:0}
.lv-status.err{color:var(--warn)}
.lost .card-s{margin-top:4px;font-size:15px}
.lost .card-s a{display:inline-flex;align-items:center;min-height:44px;margin:-10px 0 -11px;color:var(--ink);text-decoration-color:rgba(232,195,107,.7);text-underline-offset:3px}
