/* Coming-soon page: hero-only layout on the v6 system, plus the waitlist form. */
.soon .hero-title .hero-line { white-space: normal; }

.waitlist { margin: 0; }
.wl-field { display: flex; align-items: center; gap: 8px; cursor: text; }
.wl-input {
  flex: 1; min-width: 0; height: 48px; padding: 0 4px 0 12px;
  border: 0; background: transparent; color: var(--ink);
  font: 500 16px/24px var(--font-sans);
}
.wl-input::placeholder { color: var(--muted); }
.wl-input:focus { outline: none; }
.wl-field:focus-within { border-color: var(--green-deep, #0F7A5F); }
.wl-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.wl-button {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px; border: 0; border-radius: 10px;
  background: var(--green-deep, #0F7A5F); color: #fff;
  font: 600 15px/1 var(--font-sans); cursor: pointer;
  transition: background-color 160ms var(--ease-out, ease-out), transform 160ms var(--ease-out, ease-out);
}
.wl-button:active { transform: scale(.97); }
.wl-button:focus-visible { outline: 3px solid #9BE6CB; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .wl-button:hover { background: #0B6650; } }
.wl-button[disabled] { opacity: .7; cursor: progress; }

.wl-note { font-size: 14px !important; line-height: 22px !important; }
.wl-status { min-height: 0; font-weight: 600 !important; color: var(--ink) !important; }
.wl-status:empty { display: none; }
.waitlist.is-done .wl-field { display: none; }
.waitlist.is-done .wl-note { display: none; }
.waitlist.is-done .wl-status { font-size: 16px !important; padding-block: 8px; }
.waitlist.is-error .wl-status { color: #9A2C1F !important; }

.pill-static { cursor: default; text-decoration: none !important; }

.soon-footer { border-top: 1px solid rgba(39, 39, 42, .08); background: var(--page, #F7F7F8); }
.soon-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px; }
.soon-footer p { margin: 0; font: 400 14px/22px var(--font-sans); color: var(--muted); }
.soon-footer a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

@media (max-width: 520px) {
  .wl-field { flex-wrap: wrap; }
  .wl-input { flex-basis: 100%; }
  .wl-button { width: 100%; justify-content: center; }
}

.soon .header-actions { grid-column: 3; justify-self: end; }

/* World Bank vendor pill: glow + tooltip */
.pill-wrap { position: relative; display: inline-flex; margin-bottom: 20px; isolation: isolate; }
.pill-vendor { gap: 8px; text-decoration: none; color: #fff; }
.pill-vendor .pill-label { opacity: 1; }
.pill-check { flex: none; }
.pill-check path:first-child { fill: var(--mint); }
.pill-check-tick { fill: none; stroke: #0B2E24; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pill-glow {
  position: absolute; z-index: -1; inset: -8px 6%; border-radius: 999px;
  background: linear-gradient(90deg, #9BF0D2, #E3F7B5 50%, #3CC9A3);
  filter: blur(14px); opacity: .32;
  animation: pill-breathe 5.5s ease-in-out infinite;
}
@keyframes pill-breathe { 0%, 100% { opacity: .22; transform: scaleX(.94); } 50% { opacity: .42; transform: scaleX(1.02); } }
@media (hover: hover) and (pointer: fine) {
  .pill-wrap:hover .pill-glow { opacity: .55; animation-play-state: paused; }
  .pill-vendor:hover { border-color: rgba(255, 255, 255, .45); }
}
@media (prefers-reduced-motion: reduce) { .pill-glow { animation: none; opacity: .3; } }

.tip {
  position: absolute; left: 50%; z-index: 20; width: max-content; max-width: min(320px, 86vw);
  padding: 8px 12px; border-radius: 8px; background: #0B1F18; color: #E9FBF3;
  font: 500 13px/20px var(--font-sans); text-align: center; pointer-events: none;
  opacity: 0; transform: translate(-50%, 4px); transition: opacity .16s ease, transform .2s var(--ease-out);
}
.tip::after { content: ""; position: absolute; left: 50%; width: 8px; height: 8px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.tip-below { top: calc(100% + 10px); }
.tip-below::after { top: -4px; }
.tip-above { bottom: calc(100% + 10px); }
.tip-above::after { bottom: -4px; }
.pill-wrap:hover .tip, .pill-wrap:focus-within .tip,
.wl-field:hover .tip, .wl-field:focus-within .tip { opacity: 1; transform: translate(-50%, 0); }
.wl-field { position: relative; }
.waitlist.is-done .tip { display: none; }
.wl-status { margin: 0; padding: 0 20px 14px; font: 600 15px/22px var(--font-sans); color: var(--ink); text-align: left; }
.waitlist.is-done .wl-status { padding: 18px 20px; }
@media (prefers-reduced-motion: reduce) { .tip { transition: opacity .1s linear; transform: translate(-50%, 0); } }
.pill-wrap .pill-vendor { margin: 0; }

/* Fullscreen, no-scroll layout: header + hero + footer fill exactly one screen.
   Content compresses with the viewport height; only below the content's natural
   minimum (very short screens) does the page grow and scroll. */
body.soon { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body.soon main { flex: 1 0 auto; display: flex; flex-direction: column; }
.soon .soon-hero { flex: 1 0 auto; display: flex; flex-direction: column; }
.soon .soon-hero .hero-gradient { height: 100%; }
.soon .soon-hero .hero-beam { height: 100%; }
.soon .soon-hero .hero-inner { flex: 1 0 auto; justify-content: center; padding-block: clamp(20px, 5vh, 64px) clamp(12px, 3vh, 40px); }
.soon .soon-hero .hero-content { margin-top: 0; }
.soon .pill-wrap { margin-bottom: clamp(12px, 3vh, 28px); }
.soon .hero-eyebrow { margin-bottom: clamp(6px, 1.4vh, 12px); }
.soon .hero-title { font-size: clamp(34px, 3.2vw + 1.6vh, 56px); line-height: 1.08; }
.soon .hero-sub { margin-top: clamp(10px, 2vh, 16px); }
.soon .ask-card { margin-top: clamp(16px, 3.6vh, 36px); }
.soon .companies { flex: none; margin-top: 0; margin-bottom: clamp(12px, 3vh, 32px); }
.soon .companies::before { top: clamp(-24px, -2.4vh, -12px); }
.soon-footer { flex: none; }
.soon-footer-row { padding-block: clamp(12px, 2vh, 20px); }
@media (max-width: 768px) {
  .soon .hero-title { font-size: clamp(30px, 8.4vw, 40px); }
  .soon-footer-row { justify-content: center; text-align: center; }
}
/* Short phones (e.g. 375x667, 360x640): trim secondary chrome so it still fits one screen. */
@media (max-width: 768px) and (max-height: 760px) {
  .soon .companies-label { display: none; }
  .soon .companies-row { gap: 0; }
  .soon .hero-eyebrow { display: none; }
  .soon .hero-title { font-size: clamp(28px, 7.6vw, 34px); }
  .soon .hero-sub { font-size: 15px; line-height: 22px; }
  .soon-footer .soon-footer-row > p:first-child { display: none; }
  .soon .wl-field { gap: 6px; }
  .soon .wl-input { height: 44px; }
}
.pill-vendor .pill-label { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pill-globe { display: block; width: auto; height: 16px; flex: none; }

/* Client logos: stepped carousel (logos.js). Without JS: a plain wrapping row. */
.logo-rail { position: relative; flex: 1; min-width: 0; overflow: hidden; touch-action: pan-y; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.logo-track { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 0; margin: 0; padding: 0; list-style: none; }
.logo-rail.is-live .logo-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; will-change: transform; }
.logo-track li { flex: none; height: 56px; display: grid; place-items: center; }
.logo-track a { display: grid; place-items: center; height: 100%; padding: 0 28px; border-radius: 8px; -webkit-user-drag: none; }
.logo-track img { display: block; height: var(--h, 28px); width: auto; max-width: none; opacity: .5; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); pointer-events: none; }
.logo-track li.is-active img { opacity: .9; transform: scale(1.04); }
.logo-rail.is-live { cursor: grab; }
.logo-rail.is-dragging { cursor: grabbing; }
@media (hover: hover) and (pointer: fine) { .logo-track a:hover img { opacity: .9; } }
.logo-track a:focus-visible { outline: 2px solid var(--green-deep); outline-offset: -2px; }
@media (max-width: 768px) {
  .logo-track li { height: 48px; }
  .logo-track a { padding: 0 20px; }
  .logo-track img { height: calc(var(--h, 28px) * .86); }
}
@media (prefers-reduced-motion: reduce) { .logo-track img { transition: none; } }
/* Visual review pass (1440 + 390 renders): logos ~12% larger, calmer active/inactive contrast. */
.logo-track img { height: calc(var(--h, 28px) * 1.12); opacity: .55; }
.logo-track li.is-active img { opacity: .82; transform: none; }
.logo-track a { padding: 0 32px; }
@media (max-width: 768px) { .logo-track img { height: calc(var(--h, 28px) * .96); } .logo-track a { padding: 0 22px; } }
