/* ── Auth shell: shared by auth.html and onboarding.html ──
   Two-column layout: blue hero with photo + slider on the left,
   light form column on the right. Below 900px the hero is hidden
   and the dark logo moves into the top bar of the form column. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; background: #f7f8fa; }
body {
  font-family: 'Manrope', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #171b22;
  -webkit-font-smoothing: antialiased;
}
input::placeholder { color: #9aa1ac; }
a { color: #2f6bff; text-decoration: none; }
a:hover { color: #1e50d6; text-decoration: underline; }
button { font-family: inherit; }

.shell { display: flex; min-height: 100vh; }

/* ── Hero (left) ── */
.hero {
  flex: 1 1 50%;
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('/auth-hero.jpg') center / cover no-repeat;
}
.hero__tint {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(13, 38, 92, 0.92) 0%, rgba(20, 56, 130, 0.82) 55%, rgba(30, 80, 214, 0.72) 100%);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.39;
}
.hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  width: 100%;
  padding: 44px 56px;
  color: #fff;
}
.hero__logo { display: flex; align-items: center; width: max-content; }
.hero__logo img { height: 25px; width: auto; display: block; }

.hero__body {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 620px;
}
.hero__title {
  margin: 0 0 22px;
  font-size: 52px; line-height: 1.12; font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.hero__title .accent { color: #58c8f2; }
.hero__text {
  margin: 0 0 44px;
  font-size: 19px; line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  text-wrap: pretty;
}
.hero__stats { display: flex; gap: clamp(24px, 4vw, 64px); }
.hero__stat { display: flex; flex-direction: column; gap: 6px; }
.hero__stat-value { font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.hero__stat-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
}

/* Slide dots: active dot is wider and fills white over the slide's lifetime */
.hero__dots { display: flex; gap: 8px; }
.hero__dot {
  border: none; cursor: pointer; padding: 0;
  height: 4px; width: 18px; border-radius: 2px;
  background: rgba(255,255,255,0.3);
  overflow: hidden; position: relative;
  transition: width 0.3s;
}
.hero__dot.is-active { width: 48px; }
.hero__dot-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%;
  background: #ffffff; border-radius: 2px;
}
.hero__dot.is-past .hero__dot-fill { width: 100%; }
.hero__dot.is-active.is-armed .hero__dot-fill { width: 100%; transition: width 6.3s linear; }

.hero__trusted { margin-top: 30px; }
.hero__trusted-label {
  font-size: 11px; font-weight: 300; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-bottom: 12px; height: 12px;
}
.hero__industries {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px 18px;
  color: rgba(255,255,255,0.82);
}
.hero__industry { display: flex; align-items: center; gap: 18px; font-size: 12px; }
.hero__industry .sep { color: rgba(255,255,255,0.3); }

/* ── Form column (right) ── */
.panel {
  flex: 1 1 50%;
  display: flex; flex-direction: column;
  background: #f7f8fa;
  min-width: 480px;
}
.topbar {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 24px 40px 0;
}
.topbar__logo { display: none; }
.topbar__logo img { height: 32px; width: auto; display: block; }

.lang { display: flex; gap: 4px; background: #eceff3; border-radius: 10px; padding: 4px; }
.lang__btn {
  border: none; cursor: pointer;
  padding: 6px 12px; border-radius: 7px;
  font-size: 13px; font-weight: 700;
  background: transparent; color: #667085; box-shadow: none;
}
.lang__btn.is-active { background: #ffffff; color: #171b22; box-shadow: 0 1px 2px rgba(16,24,40,0.1); }

.panel__body {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 40px 56px;
}
.card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(16,24,40,0.06), 0 12px 32px rgba(16,24,40,0.08);
  padding: 36px 40px;
}

/* ── Controls ── */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 700; color: #344054; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; }
.field__row a { font-size: 13px; font-weight: 600; }
.field .muted { font-weight: 500; color: #98a2b3; }
.input {
  padding: 11px 14px;
  border: 1px solid #d8dde5; border-radius: 10px;
  font-family: inherit; font-size: 15px; font-weight: 500;
  outline: none; background: #fff; color: #171b22;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus { border-color: #2f6bff; box-shadow: 0 0 0 3px rgba(47,107,255,0.12); }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px; border: none; border-radius: 10px;
  background: #2f6bff; color: #fff; cursor: pointer;
  font-size: 15px; font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: #1e50d6; color: #fff; text-decoration: none; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Mobile: hero hidden, dark logo in the top bar ── */
@media (max-width: 899px) {
  .hero { display: none; }
  .panel { min-width: 0; }
  .topbar { justify-content: space-between; padding: 22px 20px 6px; }
  .topbar__logo { display: block; }
  .panel__body { padding: 18px 16px 40px; }
  .card { padding: 26px 22px; }
}
