/* ═══════════════════════════════════════════════════════════════════════════
   register_cta.css — shared "Create an account" promo box.
   ---------------------------------------------------------------------------
   ONE box, used in four places, so it looks identical everywhere:
     • left panel of the login screen         (auth/login)
     • bottom of the About page               (about)
     • bottom of the Roadmap page             (roadmap)
     • bottom of the Browser page             (pages/browser)

   Deliberately self-contained: it carries its OWN colour palette rather than
   the site theme tokens, so it renders the same on the light-only auth pages
   and on the light/dark info & browser pages. Uses no icon font (auth pages
   don't load Font Awesome) — the tick marks are plain characters.
   ═══════════════════════════════════════════════════════════════════════════ */

.reg-cta{
  --rc-accent:#2e5d78;
  --rc-accent-dk:#1e3f53;
  --rc-ink:#ffffff;
  --rc-ink-soft:rgba(255,255,255,.82);

  box-sizing:border-box;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;      /* centre the stack */
  text-align:center;
  gap:2px;
  padding:28px 30px;
  border-radius:12px;
  color:var(--rc-ink);
  background:linear-gradient(150deg,var(--rc-accent) 0%,var(--rc-accent-dk) 100%);
  box-shadow:0 10px 34px rgba(20,48,63,.18);
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Arial,sans-serif;
  line-height:1.5;
}

.reg-cta-title{
  margin:0 0 6px;
  font-size:22px;
  font-weight:700;
  line-height:1.2;
  color:var(--rc-ink);
}

.reg-cta-lead{
  margin:0 0 16px;
  font-size:14px;
  color:var(--rc-ink-soft);
}

.reg-cta-benefits{
  list-style:none;
  margin:0 0 20px;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:12px;
  text-align:left;       /* rows stay left-aligned inside the centred block */
}
.reg-cta-benefits li{
  display:flex;
  align-items:flex-start;
  gap:11px;
}
.reg-cta-tick{
  flex:0 0 auto;
  width:20px;
  height:20px;
  margin-top:1px;
  border-radius:50%;
  background:rgba(255,255,255,.18);
  color:var(--rc-ink);
  font-size:12px;
  font-weight:700;
  line-height:20px;
  text-align:center;
}
.reg-cta-benefits li > div{
  display:flex;
  flex-direction:column;
  gap:1px;
}
.reg-cta-benefits strong{
  font-size:14px;
  font-weight:600;
  color:var(--rc-ink);
}
.reg-cta-benefits span{
  font-size:13px;
  color:var(--rc-ink-soft);
}

.reg-cta-btn{
  align-self:center;
  display:inline-block;
  padding:11px 20px;
  border-radius:8px;
  background:#fff;
  color:var(--rc-accent-dk);
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  transition:transform .12s ease, box-shadow .12s ease;
}
.reg-cta-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(0,0,0,.18);
}

.reg-cta-login{
  margin-top:12px;
  font-size:13px;
  color:var(--rc-ink-soft);
  text-decoration:none;
}
.reg-cta-login a{ color:#fff; font-weight:600; text-decoration:underline; }
.reg-cta-login:hover{ color:#fff; }

/* Page-bottom placement (About / Roadmap / Browser): centre + constrain so the
   box lines up with the article column instead of spanning edge to edge. */
.reg-cta-wrap{
  max-width:900px;
  margin:2.75rem auto 3rem;
  padding:0 1rem;
  box-sizing:border-box;
}
.reg-cta-wrap .reg-cta{ height:auto; }

/* Mobile / narrow: keep the three benefits as one clean vertical column with
   their ticks aligned on a single left edge (don't let them collapse to
   content-width and drift centre). */
.reg-cta-wrap .reg-cta-benefits{
  align-self:stretch;
  max-width:340px;
  margin-left:auto;
  margin-right:auto;
}

/* Wider layout: only switch to three side-by-side columns once all three
   genuinely fit — otherwise they wrap into a ragged 2-then-1 grid. Below this
   width they stay vertically stacked. */
@media (min-width:760px){
  .reg-cta-wrap .reg-cta{ padding:32px 40px; }
  .reg-cta-wrap .reg-cta-benefits{
    flex-direction:row;
    flex-wrap:nowrap;
    justify-content:center;
    align-items:flex-start;
    max-width:none;
  }
  .reg-cta-wrap .reg-cta-benefits li{ flex:1 1 0; min-width:0; }
}
