/* Claude Gateway — login page.
   "Minimal mono on warm paper": no card, a blueprint grid, and a still warm
   wash across the sheet.

   The wash used to be three full-screen gradient layers with blend modes,
   moved to the cursor on every pointermove (login.js). It read well and
   cost too much: a pointer crossing the page repainted the whole viewport,
   which some browsers showed as stutter. Turned off 2026-11-18 — the layers
   and the script are gone, the gradient below is fixed. Anything that brings
   the lamp back wants to move something cheap, a transform on one small
   layer, not a repaint of the page. */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  background:#F5F0E8;
  font-family:var(--sans);
  color:#1a1a19;
  -webkit-font-smoothing:antialiased;
}

/* the paper — fills the whole viewport so the grid + cursor light cover the
   entire screen on any display; the form (.inner) stays centered and narrow */
.screen{
  position:relative;width:100%;min-height:100vh;
  background:radial-gradient(900px circle at 50% 38%,
    #FCF8F2 0%,#F5F0E8 58%,#EDE6D9 100%);
  display:flex;align-items:center;justify-content:center;
  padding:56px 44px;overflow:hidden;
}
.grid{position:absolute;inset:0;
  background-image:linear-gradient(rgba(120,90,60,0.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(120,90,60,0.05) 1px,transparent 1px);
  background-size:30px 30px}
/* Sizes are fluid: the min keeps the (already-good) phone layout, the vw term
   scales the form up on desktops, and the max caps it on large monitors so the
   form never looks lost on a big screen. */
.inner{position:relative;z-index:2;width:100%;max-width:clamp(300px,240px + 8vw,400px);text-align:center}
.logo{height:clamp(46px,34px + 1.45vw,64px);margin:0 auto clamp(26px,20px + 0.6vw,38px);display:flex;align-items:center;justify-content:center}
.logo svg{width:clamp(46px,34px + 1.45vw,64px);height:clamp(46px,34px + 1.45vw,64px);display:block}

h1{font-family:var(--serif);font-size:clamp(23px,15px + 0.95vw,34px);font-weight:500;letter-spacing:-0.01em;
  color:#1a1a19;margin-bottom:clamp(8px,6px + 0.15vw,12px)}
.subtitle{font-family:var(--mono);font-size:clamp(11.5px,8.5px + 0.34vw,15px);color:#8a7f72;
  letter-spacing:0.02em;margin-bottom:clamp(44px,36px + 0.8vw,60px)}

.field{text-align:left;margin-bottom:clamp(30px,24px + 0.6vw,44px)}
.field label{display:block;font-family:var(--mono);font-size:clamp(10.5px,7.7px + 0.28vw,13px);font-weight:600;
  color:#8a7f72;letter-spacing:0.1em;text-transform:uppercase;margin-bottom:12px}
.field input{width:100%;padding:clamp(8px,6px + 0.2vw,12px) 2px;border:none;border-bottom:1.5px solid #cbc3b6;
  border-radius:0;font-family:var(--mono);font-size:clamp(15px,11px + 0.42vw,19px);color:#1a1a19;background:transparent;
  outline:none;transition:border-color 0.25s}
.field input:focus{border-bottom-color:#C4715B}
.field input::placeholder{color:#bdb5a7}

button{width:100%;padding:clamp(12px,9px + 0.3vw,16px);background:transparent;color:#C4715B;
  border:1.5px solid #C4715B;border-radius:8px;font-family:var(--mono);font-size:clamp(12.5px,9px + 0.34vw,15.5px);
  font-weight:700;cursor:pointer;letter-spacing:0.06em;text-transform:uppercase;
  transition:background 0.18s,color 0.18s}
button:hover{background:#C4715B;color:#fff}

/* two sites behind one login: pick where to land */
.choose-label{text-align:left;font-family:var(--mono);font-size:clamp(10.5px,7.7px + 0.28vw,13px);font-weight:600;
  color:#8a7f72;letter-spacing:0.1em;text-transform:uppercase;margin-bottom:12px}
.choose{display:grid;grid-template-columns:1fr 1fr;gap:10px}
/* the site this browser chose last time: filled, and where Enter goes */
.choose button.primary{background:#C4715B;color:#fff}
.choose button.primary:hover{background:#b3634e}

/* a link styled as the page's button, for the no-access page */
.btn-link{display:block;width:100%;padding:clamp(12px,9px + 0.3vw,16px);background:transparent;color:#C4715B;
  border:1.5px solid #C4715B;border-radius:8px;font-family:var(--mono);font-size:clamp(12.5px,9px + 0.34vw,15.5px);
  font-weight:700;letter-spacing:0.06em;text-transform:uppercase;text-decoration:none;text-align:center;
  transition:background 0.18s,color 0.18s}
.btn-link:hover{background:#C4715B;color:#fff}

.foot{margin-top:clamp(24px,18px + 0.5vw,34px);font-family:var(--mono);font-size:clamp(10.5px,8px + 0.23vw,12.5px);color:#a59c8e;letter-spacing:0.04em}

/* a real problem: blunt and red */
.error{font-family:var(--sans);font-size:12.5px;color:#c0392b;background:#fdf0ef;
  border:1px solid #f1c7c2;border-radius:8px;padding:11px 13px;margin-bottom:20px;text-align:left}
/* expected info: a calm warm note, not an alarm */
.notice{display:flex;align-items:flex-start;gap:11px;font-family:var(--sans);font-size:12.5px;
  line-height:1.55;color:#7a6a52;background:#faf4ea;border-left:2px solid #C4715B;
  border-radius:0 8px 8px 0;padding:13px 15px;margin-bottom:24px;text-align:left}
.notice svg{flex-shrink:0;width:18px;height:18px;color:#C4715B;margin-top:1px}

@media (prefers-reduced-motion:no-preference){
  .inner{animation:rise 0.45s cubic-bezier(0.2,0.7,0.3,1) both}
  @keyframes rise{from{opacity:0;transform:translateY(8px)}}
}
