/* ── Identity pages — shared styles ── */

:root{
  --bg:#fbfdff;
  --bg2:#eef4f8;
  --surface:rgba(255,255,255,.82);
  --line:rgba(13,94,166,.10);
  --text:#0b1b28;
  --muted:#5e7385;
  --blue:#0d5ea6;
  --blue-dark:#0b4e89;
  --cyan:#57b8e8;
  --shadow:0 18px 44px rgba(13,94,166,.10);
  --radius:24px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;min-height:100%}

body{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px;
  background:
    radial-gradient(circle at top left, rgba(13,94,166,.08), transparent 28%),
    radial-gradient(circle at top right, rgba(87,184,232,.06), transparent 22%),
    linear-gradient(180deg,var(--bg) 0%,var(--bg2) 100%);
  overflow:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(13,94,166,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13,94,166,.05) 1px, transparent 1px);
  background-size:36px 36px;
  mask-image:radial-gradient(circle at center, rgba(0,0,0,.6), transparent 70%);
  -webkit-mask-image:radial-gradient(circle at center, rgba(0,0,0,.6), transparent 70%);
}

.shell{
  width:100%;
  max-width:1200px;
  display:grid;
  grid-template-columns:1.2fr 420px;
  gap:32px;
  align-items:center;
  position:relative;
  z-index:1;
}

.spacer{min-height:560px}

.card{
  width:100%;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  padding:34px 30px 28px;
  opacity:0;
  transform:translateY(10px);
  animation:fadeUp .55s ease-out .08s forwards;
}

@keyframes fadeUp{to{opacity:1;transform:translateY(0)}}

.brand{
  font-family:Manrope,Inter,sans-serif;
  font-size:26px;
  font-weight:800;
  letter-spacing:-.04em;
  margin:0;
}

.subtitle{
  margin:8px 0 28px;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.field{margin-bottom:15px}

.field label{
  display:block;
  margin-bottom:8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  color:#23313d;
}

.field input{
  width:100%;
  border:1px solid rgba(13,94,166,.12);
  background:rgba(255,255,255,.9);
  color:var(--text);
  border-radius:14px;
  padding:14px 15px;
  font-size:14px;
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field input::placeholder{color:#96a2ad}

.field input:focus{
  border-color:rgba(13,94,166,.42);
  box-shadow:0 0 0 4px rgba(13,94,166,.10);
  background:#fff;
}

.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:12px 0 22px;
  flex-wrap:wrap;
}

.remember{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:var(--muted);
  user-select:none;
}

.remember input{
  width:16px;
  height:16px;
  accent-color:var(--blue);
}

a{
  color:var(--blue-dark);
  text-decoration:none;
  font-size:13px;
  font-weight:600;
}

a:hover{text-decoration:underline}

.btn{
  width:100%;
  border:0;
  border-radius:14px;
  background:linear-gradient(180deg,#1a6bb8 0%, #0d5ea6 100%);
  color:#fff;
  padding:14px 16px;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 14px 28px rgba(13,94,166,.18);
  transition:transform .14s ease, opacity .18s ease;
}

.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}

.new{
  margin-top:18px;
  text-align:center;
  font-size:13px;
  color:var(--muted);
}

.hero-panel{
  display:flex;
  align-items:center;
  min-height:560px;
  opacity:0;
  transform:translateY(10px);
  animation:fadeUp .55s ease-out .16s forwards;
}

.hero-inner{max-width:560px;padding-right:18px}

.hero-eyebrow{
  color:var(--blue-dark);
  font-size:13px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin:0 0 14px;
}

.hero-title-left{
  margin:0;
  font-family:Manrope,Inter,sans-serif;
  font-size:clamp(34px,4.2vw,54px);
  line-height:1.02;
  letter-spacing:-.04em;
  color:var(--text);
  max-width:11ch;
}

.hero-copy{
  margin:18px 0 0;
  max-width:44ch;
  color:var(--muted);
  font-size:17px;
  line-height:1.75;
}

.hero-visual{
  margin-top:28px;
  max-width:520px;
}

.hero-svg{width:100%;height:auto;display:block}

.hero-note{
  margin:24px 0 0;
  max-width:46ch;
  padding:16px 18px;
  border:1px solid rgba(13,94,166,.10);
  border-radius:16px;
  background:rgba(255,255,255,.50);
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}

/* ── Centered card layout (status/info pages) ── */
.shell-centered{
  width:100%;
  max-width:480px;
  position:relative;
  z-index:1;
}

/* ── Status message ── */
.status-message{
  margin:0 0 20px;
  padding:14px 18px;
  border-radius:14px;
  font-size:14px;
  line-height:1.6;
  background:rgba(17,152,105,.08);
  color:#0c734b;
  border:1px solid rgba(17,152,105,.14);
}

.status-message.error{
  background:rgba(194,74,74,.08);
  color:#9b2c2c;
  border-color:rgba(194,74,74,.14);
}

/* ── Info text ── */
.info-text{
  margin:0 0 20px;
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
}

@media (prefers-reduced-motion: reduce){
  .card,.hero-panel{animation:none;opacity:1;transform:none}
  .btn{transition:none}
}

@media (max-width:900px){
  body{justify-content:center;padding:20px}
  .shell{grid-template-columns:1fr;max-width:420px}
  .spacer{display:none}
  .hero-panel{display:none}
}
