/* Existing OperateOS authentication styling, preserved from site.6cafdd5c.css. */
/* ═══ The sign-in window ════════════════════════════════════════════════
   The same room as the landing page: the radius, the shadow, the gradient
   button and the brand all carry across, so signing in feels like walking
   through a door rather than arriving somewhere else. */
.scrim{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;
  overflow-y:auto;scrollbar-gutter:stable both-edges;
  background:rgba(13,21,32,.55);backdrop-filter:blur(4px);opacity:0;pointer-events:none;
  transition:opacity .18s ease}
.scrim.open{opacity:1;pointer-events:auto}
/* The window is centred by the scrim's grid; a RESTING transform on the card
   moved it 14px down and shrank it 1.5%, and the class that was supposed to
   clear it on open never took effect — so it sat permanently off-centre.
   An entrance animation cannot leave a residue: it runs once and finishes at
   the element's natural position, whatever the cascade is doing. */
.signin{width:100%;background:#fff;border:1px solid #e6edf5;border-radius:28px;
  padding:34px 32px 30px;box-shadow:0 40px 90px rgba(18,32,53,.28)}
.scrim.open .signin{animation:signinrise .2s cubic-bezier(.2,.7,.2,1)}
/* Opacity only. A transform on this card has now caused two separate bugs —
   it sat uncleared and pushed the window off centre twice — and the entrance
   reads just as well as a fade. Nothing here can leave a residue that moves
   the window, because nothing here moves the window. */
@keyframes signinrise{
  from{opacity:0}
  to{opacity:1}
}

/* Nothing behind the window keeps animating while it is open. Three Ken Burns
   photographs and a drifting ground, each compositing under a backdrop blur,
   is work the reader can feel in the cursor. */
body.signing .hero-photo,
body.signing .side-card img,
body.signing::before{animation-play-state:paused}
.signin .brand{font-size:22px;font-weight:900;letter-spacing:-.05em;display:block}
.signin h3{margin:16px 0 6px;font-size:27px;letter-spacing:-.045em;line-height:1.1}
.signin .sub{font-size:14.5px;margin:0 0 22px}
.field{display:block;margin-bottom:14px}
.field span{display:block;font-size:12px;font-weight:800;letter-spacing:.08em;
  text-transform:uppercase;color:#738191;margin-bottom:7px}
.field input{width:100%;min-height:48px;padding:0 15px;border:1px solid var(--line);
  border-radius:14px;background:var(--soft);font:inherit;font-size:15px;color:var(--ink);
  transition:border-color .2s,box-shadow .2s,background .2s}
.field input:focus{outline:none;border-color:var(--blue);background:#fff;
  box-shadow:0 0 0 4px rgba(43,108,255,.12)}
.signin .btn{width:100%;margin-top:8px}
.signin .foot{margin:18px 0 0;font-size:13px;color:#7a8794;text-align:center}
.signin .foot a{color:var(--blue);font-weight:700}
.closex{position:absolute;top:18px;right:20px;width:34px;height:34px;border-radius:50%;
  border:1px solid var(--line);background:#fff;color:#8592a0;font-size:17px;line-height:1;
  display:grid;place-items:center;cursor:pointer}
.closex:hover{color:var(--ink);border-color:#cfdae8}
.signwrap{position:relative;width:min(430px,100%);margin:auto}

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

/* ── the two doors ──────────────────────────────────────────────────────
   Signing in and joining are different acts, so they are different panels
   rather than one form that changes its mind. The third route — a business
   with no invitation at all — is a conversation, not a form, and says so. */
.tabs{display:flex;gap:6px;padding:5px;background:var(--soft);border:1px solid var(--line);
  border-radius:16px;margin:18px 0 20px}
.tab{flex:1;min-height:40px;border:0;border-radius:12px;background:transparent;cursor:pointer;
  font:inherit;font-size:14px;font-weight:800;color:#738191;transition:background .2s,color .2s,box-shadow .2s}
.tab[aria-selected="true"]{background:#fff;color:var(--ink);box-shadow:0 4px 12px rgba(29,49,74,.07)}
.panel[hidden]{display:none}
.hint{margin:0 0 16px;padding:13px 15px;border-radius:14px;background:var(--soft2);
  border:1px solid #dcefe5;font-size:13.5px;line-height:1.5;color:#4d6a5c}
.signin .alt{margin:16px 0 0;padding-top:15px;border-top:1px solid var(--line);
  font-size:13px;color:#7a8794;text-align:center;line-height:1.5}
.signin .alt a{color:var(--blue);font-weight:700}
.forgot{display:block;margin-top:10px;font-size:13px;color:var(--blue);font-weight:700;text-align:right}


/* ── touch targets ──────────────────────────────────────────────────────
   A link that is legible is not necessarily tappable. These four sit at
   15–34px tall, under the 44px a thumb reliably hits, so on a touch screen
   they get the height without the type getting bigger. */
@media (max-width: 640px){
  .closex{width:44px;height:44px;font-size:20px}
  .forgot{min-height:44px;display:flex;align-items:center;justify-content:flex-end;padding:0}
  .signin .alt a,.signin .foot a{display:inline-block;padding:11px 6px;line-height:22px}
  .navin .brand{display:inline-flex;align-items:center;min-height:44px}
  .tab{min-height:46px}
  footer a{display:inline-block;padding:10px 2px}
}

/* An error the reader can actually see. `[hidden]` is only a UA style at
   specificity 0,0,1 — any class rule setting display would silently beat it,
   so the rule is stated here rather than assumed. */
.err{margin:0 0 14px;padding:11px 14px;border-radius:12px;background:#fdeeec;
  border:1px solid #f6cdc6;color:#a3392a;font-size:14px;line-height:1.45}
.err[hidden]{display:none}
#signgo:disabled{opacity:.65;cursor:progress}

/* Both sign-in panels occupy the SAME grid cell, so the window is always the
   height of the taller one and switching tabs cannot resize it. It used to
   jump: the join panel is taller, the scrim centres its child, so changing tab
   changed the height and the whole window moved under the cursor. Crossfading
   in a fixed box is the fix; animating the height would still move the edges. */
.panels{display:grid}
.panels > .panel{grid-area:1 / 1; transition:opacity .2s ease}
.panels > .panel[hidden]{display:block; visibility:hidden; opacity:0; pointer-events:none}

/* The route to the long read sits in the prose, where a reader who has just
   met the eleven modules is most likely to want it — not in the nav, where it
   competed for a click with the sections it introduces. */
.readmore{margin:30px 0 0;font-size:17.5px;line-height:1.6;color:var(--muted);max-width:70ch}
.readmore a{font-weight:800;color:var(--blue);border-bottom:2px solid rgba(43,108,255,.28);
  padding-bottom:1px;transition:border-color .2s,color .2s}
.readmore a:hover{border-bottom-color:var(--blue)}

/* Off-screen photographs stop moving. `will-change` promotes a layer for as
   long as it is set, so leaving it on three full-bleed images permanently
   costs memory on every device for an effect only visible at the top. */
@media (prefers-reduced-motion: no-preference){
  .hero-photo,.side-card img{animation-play-state:running}
}

/* The tab strip is hidden when the reader arrives on a link that has already
   decided which door they are coming through. */
.tabs[hidden]{display:none}
#join-set .field:last-of-type{margin-bottom:16px}
