:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --paper: #ffffff;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: #ffffff;
  --line: #d7e0ee;
  --line-soft: #e8eef7;
  --text: #172033;
  --muted: #66758d;
  --accent: #2878d7;
  --accent-2: #7b61ff;
  --ok: #168a5b;
  --warn: #b7791f;
  --shadow: 0 24px 70px rgba(31, 45, 75, 0.14);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 14% 12%, rgba(40, 120, 215, 0.16), transparent 30%),
    radial-gradient(circle at 82% 2%, rgba(123, 97, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #eef3fa 100%);
}

a { color: inherit; }

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.62fr);
  gap: 28px;
  padding: clamp(18px, 3vw, 42px);
  align-items: stretch;
}

.login-hero,
.login-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.login-hero {
  min-height: calc(100vh - clamp(36px, 6vw, 84px));
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  position: relative;
  padding: clamp(20px, 3vw, 34px);
}

.login-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -28% 18%;
  height: 45%;
  background: radial-gradient(circle, rgba(40, 120, 215, 0.16), transparent 62%);
  pointer-events: none;
}

.login-nav,
.brand-lockup,
.card-brand,
.card-topline,
.login-footer {
  display: flex;
  align-items: center;
}

.login-nav {
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.brand-lockup,
.card-brand { gap: 12px; }
.brand-lockup strong { display: block; font-size: 18px; letter-spacing: -0.03em; }
.brand-lockup span,
.card-brand p,
.access-note,
.preview-card small { color: var(--muted); }
.brand-lockup span { display: block; margin-top: 2px; font-size: 12px; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-weight: 850;
  letter-spacing: -0.04em;
  box-shadow: 0 16px 38px rgba(40, 120, 215, 0.26);
}
.brand-mark-lg { width: 56px; height: 56px; border-radius: 18px; font-size: 19px; }

.domain-pill,
.card-topline {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.domain-pill { padding: 8px 12px; }

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 850px;
  padding: 48px 0;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, p { margin: 0; }
.hero-copy h1 {
  max-width: 820px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 760;
}
.lead {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.58;
}

.preview-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.75fr 0.95fr;
  gap: 12px;
}
.preview-card {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
}
.preview-card.large { min-height: 164px; }
.preview-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.preview-card strong { font-size: 18px; letter-spacing: -0.03em; }
.timeline-preview {
  height: 42px;
  display: flex;
  align-items: end;
  gap: 6px;
  margin-top: auto;
}
.timeline-preview span {
  width: var(--w);
  height: 16px;
  border-radius: 999px;
  background: var(--c);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--c) 24%, transparent);
}

.login-card {
  align-self: center;
  display: grid;
  gap: 22px;
  padding: clamp(26px, 4vw, 42px);
}
.card-topline {
  justify-self: start;
  gap: 8px;
  padding: 7px 11px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(22, 138, 91, 0.12);
}
.card-brand h2 {
  font-size: 31px;
  line-height: 1;
  letter-spacing: -0.055em;
}
.card-brand p { margin-top: 7px; }

.google-button {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid rgba(40, 120, 215, 0.32);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #1c63b4);
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(40, 120, 215, 0.25);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.google-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(40, 120, 215, 0.30);
}
.google-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent);
  font-weight: 850;
}
.access-note {
  padding: 15px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: #f8fbff;
  line-height: 1.55;
  font-size: 13px;
}
.access-note strong { color: var(--text); }

.security-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.security-list div {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.66);
  padding: 12px;
}
.security-list span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.security-list strong { font-size: 13px; }
.login-footer {
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}
.login-footer a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-hero { min-height: auto; }
  .preview-grid { grid-template-columns: 1fr; }
  .login-card { align-self: stretch; }
}

@media (max-width: 560px) {
  .login-shell { padding: 12px; }
  .login-hero, .login-card { border-radius: 22px; }
  .login-nav, .login-footer { align-items: flex-start; flex-direction: column; }
  .security-list { grid-template-columns: 1fr; }
}
