/* 404 and 500 in the approved line (3 Nov): a framed white band under the shared header, the clay numerals beside the words,
   the help tiles as a hairline grid (404), the same buttons and the same dark footer as the other pages. */
.e4s{display:grid;align-items:center;min-height:calc(100svh - 64px - 16px);padding:clamp(40px,5vw,72px) 0}
.e4{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(24px,4vw,56px);align-items:center;margin-inline:var(--in)}
.e4-obj img{display:block;width:100%;height:auto;animation:e4-in 900ms cubic-bezier(.23,1,.32,1) both,e4-float 7s ease-in-out 900ms infinite alternate}
@keyframes e4-in{from{opacity:0;transform:translateY(18px) scale(.98)}}
@keyframes e4-float{to{transform:translateY(-10px) rotate(-.6deg)}}
.e4-c{text-align:center}
.e4 h1{margin:0 auto;max-width:14ch;font:300 clamp(36px,4vw,56px)/1.02 var(--f);letter-spacing:-.04em;text-wrap:balance}
.e4-sub{margin:14px auto 0;max-width:44ch;font-size:17px;line-height:1.5;color:var(--ink-2)}
.e4-act{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:24px}
.e4-act .btn{white-space:nowrap}
button.btn{border:0;cursor:pointer}
button.btn-p[aria-busy=true]{cursor:progress}
.e4-q{position:relative;display:flex;align-items:center;width:100%;max-width:520px;margin:28px auto 0;height:52px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px var(--fr);transition:box-shadow 160ms ease}
.e4-q:focus-within{box-shadow:inset 0 0 0 1.5px var(--ink)}
.e4-q>svg{flex:none;width:18px;height:18px;margin-left:18px;fill:none;stroke:var(--ink-3);stroke-width:1.7;stroke-linecap:round}
.e4-q input{flex:1;min-width:0;height:100%;padding:0 10px;border:0;background:none;font:400 15px var(--f);color:var(--ink);outline:none}
.e4-q input::placeholder{color:#6f7177}
.e4-q button{flex:none;display:grid;place-items:center;width:40px;height:40px;margin-right:6px;border:0;border-radius:50%;background:var(--ink);cursor:pointer;transition:transform 140ms ease}
.e4-q button:active{transform:scale(.94)}
.e4-q button svg{width:17px;height:17px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.e4-sr,.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* the six help topics: one hairline grid, the last one in ink */
.e4-go{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:520px;margin:14px auto 0;padding:0;border:1px solid var(--fr);background:#fff}
.e4-go li{border-right:1px solid var(--fr);border-bottom:1px solid var(--fr);animation:e4-li 520ms var(--ease-out,cubic-bezier(.23,1,.32,1)) both}
.e4-go li:nth-child(3n){border-right:0}
.e4-go li:nth-child(n+4){border-bottom:0}
.e4-go li:nth-child(1){animation-delay:180ms}.e4-go li:nth-child(2){animation-delay:220ms}.e4-go li:nth-child(3){animation-delay:260ms}
.e4-go li:nth-child(4){animation-delay:300ms}.e4-go li:nth-child(5){animation-delay:340ms}.e4-go li:nth-child(6){animation-delay:380ms}
@keyframes e4-li{from{opacity:0;transform:translateY(8px)}}
.e4-go a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:100px;padding:12px 10px 14px;text-align:center;font-size:14px;line-height:1.25;color:var(--ink);text-decoration:none;transition:background-color 160ms ease}
.e4-go a img{width:40px;height:40px;object-fit:contain;transition:transform 220ms cubic-bezier(.23,1,.32,1)}
.e4-go a.ink{background:var(--ink);color:#fff}
.e4-go a:active{background:#f4f4f6}.e4-go a.ink:active{background:#25272b}
@media (hover:hover) and (pointer:fine){.e4-go a:hover{background:#f6f6f8}.e4-go a.ink:hover{background:#25272b}.e4-go a:hover img{transform:translateY(-2px) scale(1.04)}}
.e4-go a:focus-visible{outline:2px solid var(--ink);outline-offset:-4px}.e4-go a.ink:focus-visible{outline-color:#fff}
.e5-row{display:flex;align-items:center;justify-content:center;gap:16px;margin:22px 0 0}
.e5-eye{flex:none;line-height:0}.e5-eye:empty{display:none}
.e5-st{margin:0;font:400 13px/1.4 var(--m);color:var(--ink-2);font-variant-numeric:tabular-nums}
@media (max-width:900px){
  .e4s{padding:32px 0}
  .e4{grid-template-columns:minmax(0,1fr);justify-items:center;gap:18px;margin-inline:16px}
  .e4-obj{width:min(88%,380px)}
  .e4-go{max-width:none;width:100%}
}
@media (max-width:760px){.e4-act .btn{flex:1 1 0;min-width:0;padding-inline:14px}.e4-go a{min-height:92px;font-size:13.5px}.e4-go a img{width:34px;height:34px}}
@media (prefers-reduced-motion:reduce){.e4-obj img,.e4-go li{animation:none}}
/* maintenance: the social circles and the preview access line */
.g-ic{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;color:var(--ink);text-decoration:none;box-shadow:inset 0 0 0 1px var(--fr);transition:transform 120ms cubic-bezier(.23,1,.32,1),background-color 160ms ease}
.g-ic:active{transform:scale(.95)}
@media (hover:hover) and (pointer:fine){.g-ic:hover{background:#fff;box-shadow:inset 0 0 0 1px var(--ink),0 6px 16px -8px rgba(15,16,18,.35);transform:translateY(-2px)}.g-ic:active{transform:scale(.95)}}
.g-ic:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.g-soc{gap:8px}
.g-pv{margin:16px 0 0;font-size:15px;color:var(--ink-2)}.g-pv a{color:var(--ink);font-weight:500;text-decoration:underline;text-decoration-color:rgba(15,16,18,.4);text-decoration-thickness:1px;text-underline-offset:4px;transition:text-decoration-color 160ms ease,text-decoration-thickness 160ms ease,text-underline-offset 200ms cubic-bezier(.23,1,.32,1)}
@media (hover:hover) and (pointer:fine){.g-pv a:hover{text-decoration-color:var(--ink);text-decoration-thickness:2px;text-underline-offset:6px}}

/* 21 Nov 2026 (Leo): on the maintenance page the header is only the mark, so it is part of the page like on Beta access:
   no fixed bar, no frosted background, no hairline when the page moves (pull-to-refresh showed a band and a line). */
.e-maint .hd{position:absolute;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom-color:transparent!important}

/* 21 Nov 2026: the skip link had no style on the error pages (it showed as plain text at the top once the maintenance
   header stopped covering it). Same rule as the rest of the site: hidden until it gets keyboard focus. */
.skip{position:absolute;left:12px;top:-60px;z-index:60;padding:10px 14px;border-radius:999px;background:var(--ink,#0f1012);color:#fff;font:500 14px/1 var(--f,"Host Grotesk",system-ui,sans-serif);text-decoration:none}
.skip:focus{top:12px}

/* maintenance: the copyright is always centred (desktop too), there are no links beside it */
.e-maint .e-ft{justify-content:center;text-align:center}
