:root {
  --ink: #090b0c;
  --sidebar: #0e1112;
  --surface: #16191a;
  --surface-2: #1c2021;
  --line: #272b2c;
  --text: #f0f2f2;
  --muted: #92999b;
  --faint: #62696b;
  --signal: #75d7da;
  --signal-soft: rgba(117, 215, 218, .12);
  --red: #de7777;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  color: var(--text);
  background: var(--ink);
  font: 14px/1.5 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { color: inherit; font: inherit; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.access-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(340px, .88fr) minmax(460px, 1.12fr); }
.trust-panel { min-height: 100%; padding: clamp(28px, 5vw, 68px); display: flex; flex-direction: column; position: relative; overflow: hidden; background: var(--sidebar); border-right: 1px solid var(--line); }
.trust-panel::after { content: ""; width: min(46vw, 620px); aspect-ratio: 1; position: absolute; right: -52%; bottom: -28%; border: 1px solid rgba(117, 215, 218, .09); border-radius: 50%; box-shadow: 0 0 0 68px rgba(117, 215, 218, .025), 0 0 0 136px rgba(117, 215, 218, .015); pointer-events: none; }
.brand { width: max-content; display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand strong { font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.brand-signal { width: 24px; height: 24px; display: grid; place-items: center; position: relative; }
.brand-signal::before, .brand-signal::after { content: ""; position: absolute; border: 1.4px solid var(--signal); border-radius: 4px; transform: rotate(45deg); }
.brand-signal::before { width: 16px; height: 16px; }
.brand-signal::after { width: 8px; height: 8px; opacity: .48; }
.brand-signal i { width: 3px; height: 3px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 9px rgba(117, 215, 218, .72); }
.trust-copy { max-width: 510px; margin: auto 0 52px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 15px; color: var(--signal); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.trust-copy h1 { max-width: 500px; margin: 0; font-size: clamp(34px, 4.4vw, 59px); font-weight: 420; letter-spacing: -.055em; line-height: 1.03; }
.trust-copy > p:last-child { max-width: 470px; margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.trust-route { max-width: 520px; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 1; list-style: none; }
.trust-route::before { content: ""; height: 1px; position: absolute; top: 14px; left: 14px; right: 14px; background: linear-gradient(90deg, var(--signal), rgba(117, 215, 218, .12)); }
.trust-route li { min-width: 0; display: grid; gap: 13px; position: relative; }
.trust-route li > span { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(117, 215, 218, .32); border-radius: 9px; color: var(--signal); background: var(--sidebar); font: 700 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.trust-route li div { display: grid; gap: 3px; }
.trust-route strong { font-size: 10px; font-weight: 620; }
.trust-route small { color: var(--faint); font-size: 8px; }

.login-panel { min-height: 100%; padding: 32px; display: grid; place-items: center; position: relative; background: radial-gradient(circle at 50% 46%, #111516 0, var(--ink) 62%); }
.login-card { width: min(390px, 100%); padding: 30px; display: grid; gap: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(22, 25, 26, .9); box-shadow: 0 28px 80px rgba(0, 0, 0, .28); }
.login-heading { margin-bottom: 4px; }
.access-state { width: max-content; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.access-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px var(--signal-soft); }
.login-heading h2 { margin: 0; font-size: 24px; font-weight: 480; letter-spacing: -.035em; }
.login-heading p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.field { display: grid; gap: 7px; }
.field > span { color: var(--muted); font-size: 9px; font-weight: 600; }
.field input { width: 100%; height: 43px; padding: 0 12px; border: 1px solid #303536; border-radius: 10px; outline: none; color: var(--text); background: var(--surface-2); transition: border-color .18s, box-shadow .18s; }
.field input:hover { border-color: #3d4446; }
.field input:focus { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.remember { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); cursor: pointer; }
.remember input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--signal); }
.remember span { display: grid; gap: 2px; }
.remember strong { color: var(--text); font-size: 10px; font-weight: 580; }
.remember small { color: var(--faint); font-size: 8px; }
.form-message { min-height: 18px; margin: -4px 0 -8px; color: var(--red); font-size: 10px; }
.sign-in { height: 43px; border: 0; border-radius: 10px; color: #0c1516; background: var(--signal); font-size: 11px; font-weight: 750; cursor: pointer; transition: background .18s, transform .18s; }
.sign-in:hover { background: #91e4e6; transform: translateY(-1px); }
.sign-in:disabled { color: var(--faint); background: #303536; cursor: wait; transform: none; }
.privacy-note { margin: 0; color: var(--faint); text-align: center; font-size: 8px; line-height: 1.6; }

@media (max-width: 820px) {
  .access-shell { grid-template-columns: 1fr; }
  .trust-panel { min-height: auto; padding: 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-copy { margin: 64px 0 30px; }
  .trust-copy h1 { max-width: 620px; font-size: clamp(30px, 8vw, 48px); }
  .trust-copy > p:last-child { max-width: 590px; }
  .login-panel { min-height: auto; padding: 48px 20px 70px; }
}

@media (max-width: 520px) {
  .trust-panel { padding: 20px; }
  .trust-copy { margin: 50px 0 27px; }
  .trust-copy h1 { font-size: 31px; }
  .trust-copy > p:last-child { font-size: 11px; }
  .trust-route { grid-template-columns: 1fr; gap: 14px; }
  .trust-route::before { width: 1px; height: auto; inset: 14px auto 14px 14px; background: linear-gradient(var(--signal), rgba(117, 215, 218, .12)); }
  .trust-route li { grid-template-columns: 29px 1fr; align-items: center; gap: 12px; }
  .trust-route li div { gap: 1px; }
  .login-panel { padding: 34px 14px 50px; }
  .login-card { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
