/* ==========================================================================
   Growth layer: institute registration prompts (homepage hero, journey, banners, popup)
   Loaded after verify.css. Uses the tokens from newstyle.css.
   ========================================================================== */

/* ---------- homepage hero: two clear paths ---------- */
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin: 0 0 1.4rem; }
.hero-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 54px; }
.btn-ghost-light { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,.35) !important; }
.btn-ghost-light:hover { border-color: var(--gold-400) !important; color: var(--gold-400) !important; }
.hero-find { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero-find .label { display: block; font-size: .9rem; color: #c9cde6; margin-bottom: .6rem; }
.hero-find .search-box { max-width: 560px; }
.hero-card { margin: 1.4rem auto 0; max-width: 300px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 1rem 1.2rem; backdrop-filter: blur(6px); text-align: left; }
.hero-card strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--gold-400); line-height: 1.1; }
.hero-card span { color: #d3d7ee; font-size: .92rem; }

/* ---------- trust strip ---------- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-block: 1.4rem; }
.trust-item { display: flex; align-items: center; gap: .85rem; }
.trust-item .ico { flex: none; width: 2.8rem; height: 2.8rem; border-radius: 12px; background: var(--gold-100); color: var(--gold-ink); display: grid; place-items: center; font-size: 1.25rem; }
.trust-item strong { display: block; color: var(--navy-800); line-height: 1.25; font-size: .98rem; }
.trust-item span { font-size: .85rem; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- journey for institute owners ---------- */
.journey { counter-reset: j; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; list-style: none; padding: 0; margin: 0 0 2.2rem; position: relative; }
.journey li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem 1.5rem 1.5rem; box-shadow: var(--shadow-sm); }
.journey li::before { counter-increment: j; content: counter(j); position: absolute; top: -18px; left: 1.5rem; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); color: var(--navy-900); font-weight: 800; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(201,140,55,.4); }
.journey h3 { font-family: var(--font-head); font-size: 1.2rem; margin: .2rem 0 .45rem; }
.journey p { margin: 0; font-size: .96rem; }
.journey li:not(:last-child)::after { content: "\2192"; position: absolute; right: -1.15rem; top: 50%; transform: translateY(-50%); color: var(--gold-500); font-size: 1.4rem; z-index: 2; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem 1rem; justify-content: center; align-items: center; }
.cta-row .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; }
.cta-note { text-align: center; font-size: .9rem; color: var(--muted); margin: .9rem 0 0; }

/* ---------- "already listed?" band ---------- */
.listed-band { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); border-radius: var(--radius-lg); padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.6rem 2.4rem; align-items: center; color: #fff; box-shadow: var(--shadow); }
.listed-band h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin: .2rem 0 .6rem; }
.listed-band p { color: #c9cde6; margin: 0; }
.listed-band .eyebrow { color: var(--gold-400); }
.listed-band .search-box { margin: 0; }

/* ---------- closing CTA band ---------- */
.cta-band { background: radial-gradient(900px 300px at 85% -20%, rgba(224,167,79,.25), transparent 60%), linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem); max-width: 22ch; margin: .3rem auto .8rem; }
.cta-band p { color: #c9cde6; max-width: 56ch; margin: 0 auto 1.6rem; font-size: 1.08rem; }
.cta-band .eyebrow { color: var(--gold-400); }

/* ---------- inline banner for other pages ---------- */
.reg-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.6rem; background: var(--gold-100); border: 1px solid #f0dcb5; border-radius: var(--radius-lg); padding: 1.3rem 1.5rem; margin-top: 2.2rem; }
.reg-banner strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--navy-800); margin-bottom: .2rem; }
.reg-banner p { margin: 0; font-size: .96rem; color: #5a5040; max-width: 60ch; }
.reg-banner .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; white-space: nowrap; }
.owner-card { background: linear-gradient(145deg, var(--navy-900), var(--navy-700)); color: #fff; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.owner-card h2 { color: #fff; font-size: 1.3rem; margin: .15rem 0 .5rem; }
.owner-card p { color: #c9cde6; font-size: .94rem; margin: 0 0 1rem; }
.owner-card .eyebrow { color: var(--gold-400); }
.owner-card .btn { display: flex; align-items: center; justify-content: center; min-height: 50px; width: 100%; }
.owner-card .btn + .btn { margin-top: .6rem; }
.owner-card .btn-ghost-light { font-size: .92rem; }

/* ---------- once-in-a-while registration popup ---------- */
.rp[hidden] { display: none; }
.rp { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 16px; }
.rp-backdrop { position: absolute; inset: 0; background: rgba(10, 12, 38, .62); backdrop-filter: blur(3px); animation: rp-fade .25s ease both; }
.rp-card { position: relative; width: min(760px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 22px; background: #fff; display: grid; grid-template-columns: .85fr 1.25fr; box-shadow: 0 30px 80px rgba(0,0,0,.45); animation: rp-rise .35s cubic-bezier(.2,.8,.2,1) both; }
.rp-art { background: radial-gradient(300px 220px at 30% 10%, rgba(224,167,79,.35), transparent 65%), linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 2rem 1.4rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; }
.rp-art img { width: 118px; filter: drop-shadow(0 12px 26px rgba(0,0,0,.45)); }
.rp-art strong { font-family: var(--font-head); font-size: 2rem; color: var(--gold-400); line-height: 1; display: block; }
.rp-art span { font-size: .9rem; color: #d3d7ee; }
.rp-body { padding: 2.2rem 2.1rem 1.8rem; }
.rp-body h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); margin: .25rem 0 .7rem; }
.rp-body p { font-size: 1rem; margin: 0 0 1.2rem; }
.rp-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.rp-list li { position: relative; padding-left: 1.7rem; margin: .35rem 0; font-size: .95rem; color: var(--ink); }
.rp-list li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--gold-100); color: var(--gold-ink); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.rp-body .btn { display: flex; align-items: center; justify-content: center; min-height: 54px; width: 100%; }
.rp-sec { display: block; text-align: center; margin-top: .85rem; font-weight: 600; font-size: .94rem; }
.rp-later { display: block; margin: .7rem auto 0; background: none; border: 0; color: #7a8296; font: inherit; font-size: .86rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rp-later:hover { color: var(--navy-800); }
.rp-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy-800); font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 2; box-shadow: var(--shadow-sm); }
.rp-x:hover { background: var(--gold-100); }
@keyframes rp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rp-rise { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rp-backdrop, .rp-card { animation: none; } }

@media (max-width: 991px) {
  .journey { grid-template-columns: 1fr; gap: 1.8rem; }
  .journey li:not(:last-child)::after { content: "\2193"; right: auto; left: 50%; top: auto; bottom: -1.5rem; transform: translateX(-50%); }
  .listed-band { grid-template-columns: 1fr; }
  .trust-strip .container { grid-template-columns: 1fr; gap: .9rem; }
}
@media (max-width: 640px) {
  .rp-card { grid-template-columns: 1fr; }
  .rp-art { padding: 1.4rem 1rem; flex-direction: row; text-align: left; gap: 1rem; }
  .rp-art img { width: 64px; } .rp-art strong { font-size: 1.5rem; }
  .rp-body { padding: 1.4rem 1.3rem 1.3rem; }
  .hero-actions .btn { width: 100%; }
  .reg-banner .btn { width: 100%; }
}
