:root {
  color-scheme: light;
  --navy: #102f55;
  --blue: #3268c9;
  --ink: #14243a;
  --muted: #637288;
  --line: #dce4ee;
  --surface: #ffffff;
  --page: #edf2f7;
  --green: #0a8a65;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 10%, #e0eeff, transparent 40%), var(--page);
}
.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
}
.brand-panel {
  padding: clamp(42px, 7vw, 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #0e294a 0%, #1b4f91 62%, #4777cf 100%);
  color: white;
  overflow: hidden;
  position: relative;
}
.brand-panel::after {
  content: "";
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  position: absolute;
  right: -230px;
  top: -180px;
  box-shadow: 0 0 0 80px rgba(255,255,255,.035), 0 0 0 160px rgba(255,255,255,.025);
}
.brain-mark { font-size: 46px; color: #7edfc9; margin-bottom: 34px; }
.eyebrow { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .17em; font-weight: 800; font-size: 12px; }
h1 { font-size: clamp(46px, 7vw, 84px); line-height: .98; margin: 0 0 24px; letter-spacing: -.045em; }
.lead { font-size: clamp(18px, 2vw, 23px); line-height: 1.55; max-width: 760px; color: #d9e7fa; margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; max-width: 900px; }
.feature-grid div { padding: 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); border-radius: 15px; backdrop-filter: blur(8px); }
.feature-grid strong, .feature-grid span { display: block; }
.feature-grid strong { margin-bottom: 8px; }
.feature-grid span { color: #c9d9ef; font-size: 13px; line-height: 1.45; }
.signin-card { padding: clamp(32px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; background: var(--surface); }
.secure-pill { color: var(--green); background: #e8f7f1; padding: 7px 11px; border-radius: 999px; width: max-content; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.signin-card h2 { font-size: 38px; margin: 25px 0 8px; }
.signin-card > p { color: var(--muted); line-height: 1.55; }
.google-button, .dev-button { text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; border-radius: 10px; font-weight: 750; margin-top: 22px; }
.google-button { color: white; background: var(--blue); box-shadow: 0 8px 24px rgba(50,104,201,.22); }
.google-button:hover { background: #285ab4; }
.google-g { width: 27px; height: 27px; border-radius: 50%; background: white; color: #4285f4; display: grid; place-items: center; font-weight: 900; }
.dev-button { color: var(--navy); border: 1px solid var(--line); background: white; }
.error { min-height: 24px; color: #a72b2b !important; font-weight: 650; }
.privacy-note { margin-top: 28px; padding: 16px; border: 1px solid var(--line); background: #f7f9fc; border-radius: 12px; }
.privacy-note strong, .privacy-note span { display: block; }
.privacy-note span { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.footer { margin-top: 32px !important; font-size: 12px; }
@media (max-width: 900px) {
  .login-shell { grid-template-columns: 1fr; }
  .brand-panel { min-height: 55vh; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .signin-card { min-height: 45vh; }
}
.brain-mark { width:140px; height:140px; object-fit:contain; margin-bottom:30px; filter:drop-shadow(0 10px 20px rgba(0,0,0,.2)); }
.brand-panel { background:linear-gradient(145deg,#102339 0%,#1a446a 68%,#377cb4 100%); }
.brand-panel h1 { font-size:clamp(45px,5.5vw,76px); }
.signin-card h2 { letter-spacing:-.04em; }
.google-button { background:#276ebd; }
.feature-grid strong { font-size:13px; }
@media(max-width:900px) { .brain-mark { width:85px; height:85px; margin-bottom:18px; } }
