:root{
  --bg: #f7f8fa;
  --panel: #ffffff;
  --ink: #0f172a;          /* slate-900 */
  --muted: #475569;        /* slate-600 */
  --subtle: #94a3b8;       /* slate-400 */
  --stroke: #e2e8f0;       /* slate-200 */
  --accent: #2563eb;       /* blue-600 */
  --accent-soft: #dbeafe;  /* blue-100 */

  --radius: 16px;
  --radius-lg: 20px;
  --wrap: 1120px;

  --font: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

*{ box-sizing:border-box }
html,body{ height:100% }

body{
  margin:0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 15% 10%, #eef2ff, transparent 60%),
    radial-gradient(900px 500px at 85% 15%, #eff6ff, transparent 60%),
    var(--bg);
}

.wrap{
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

a{ color: inherit; text-decoration: none; }

/* ───────────────── Header ───────────────── */

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,248,250,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 700;
}

.brand__mark{
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), #60a5fa);
}

.topnav{
  display:flex;
  gap: 10px;
}

.topnav__link{
  font-size: 14px;
  color: var(--muted);
  padding: 6px 8px;
  border-radius: 8px;
}
.topnav__link:hover{
  background: #f1f5f9;
  color: var(--ink);
}

/* ───────────────── Hero Layout ───────────────── */

.hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  padding: 56px 0 36px;
}

@media (max-width: 960px){
  .hero{ grid-template-columns: 1fr; }
}

/* ───────────────── Left Copy ───────────────── */

.h1{
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.6px;
}

.lead{
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
}

/* The “boring” helper text is fixed here */
.proof{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}

.proof__item{
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--panel);
}

.proof__num{
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.proof__label{
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

/* ───────────────── Card / Login ───────────────── */

.card{
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  box-shadow: 0 30px 60px rgba(15,23,42,.08);
}

.card__header{
  padding: 22px 22px 14px;
}

.h2{
  margin:0;
  font-size: 18px;
  font-weight: 600;
}

.card__footer{
  padding: 14px 22px 22px;
  border-top: 1px solid var(--stroke);
}

.muted{ color: var(--muted); }
.tiny{ font-size: 12px; }

/* ───────────────── Form ───────────────── */

.form{
  padding: 8px 22px 14px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.field{
  display:flex;
  flex-direction:column;
  gap: 6px;
}

.field__label{
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.input{
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  font-size: 15px;
  background: #ffffff;
}
.input:focus{
  outline:none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ───────────────── Buttons ───────────────── */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn--primary{
  background: var(--accent);
  color: #ffffff;
}
.btn--primary:hover{
  background: #1d4ed8;
}

.btn--ghost{
  background: #f1f5f9;
  color: var(--ink);
}

.btn--soft{
  background: #e5e7eb;
  color: var(--ink);
}

.btn--block{ width:100%; }

/* ───────────────── This is the key part ───────────────── */

/* Makes "forgot password / request access / support" feel designed */
.form__meta{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  font-size: 13px;
}

.form__meta .link{
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--stroke);
  color: var(--muted);
  transition: background .12s ease, color .12s ease;
}

.form__meta .link:hover{
  background: #eef2ff;
  color: var(--ink);
}

.dotsep{ display:none; }

/* ───────────────── Notices ───────────────── */

.notice{
  margin: 0 22px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.notice--ok{
  background: #ecfeff;
  border: 1px solid #67e8f9;
}

.notice--err{
  background: #fef2f2;
  border: 1px solid #fecaca;
}

/* ───────────────── Footer ───────────────── */

.footer{
  padding: 36px 0 60px;
  border-top: 1px solid var(--stroke);
  margin-top: 40px;
}
