/* ============================================================
   QRFup — COMING-SOON PAGE
   Standalone: no Bootstrap required. Loaded by index.html only.

   Deliberately NOT merged into custom.css: the other 19 pages
   share that file and depend on classes this one doesn't define
   (.btn-qrf, .page-hero, .team-card, …). When the full site
   returns, drop this file's <link> from index.html and restore
   the Bootstrap + custom.css pair.
   ============================================================ */

:root {
  --qrf-purple: #4d2c82;
  --qrf-red:    #ed3e4f;
  --qrf-red-dk: #d02c3d;   /* white text on this clears WCAG AA */
  --qrf-teal:   #58aba0;
  --qrf-night:  #1a0f33;
  --qrf-lilac:  #b39ddb;
  --qrf-ink:    #33294a;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Poppins", system-ui, sans-serif;
  background: #fff;
  color: var(--qrf-ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: var(--qrf-purple); text-decoration: none; }
a:hover { color: var(--qrf-red-dk); text-decoration: underline; }

/* ---------- crisis banner: sticky, so help is always one tap away ---------- */
.crisis-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--qrf-red-dk);
  color: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.crisis-bar__inner {
  max-width: 1100px;
  margin-inline: auto;
  padding: .7rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  text-align: center;
}
.crisis-bar__dot {
  flex: none;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #fff;
  animation: cs-pulse 2.4s ease-out infinite;
}
.crisis-bar__text { font-size: 1.05rem; font-weight: 500; line-height: 1.4; }
.crisis-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crisis-bar a:hover { color: #ffe0e4; }
.crisis-bar a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: .2rem;
}
@keyframes cs-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); }
  50%      { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

/* ---------- hero ---------- */
.cs-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(86svh, 40rem);
  padding: clamp(2.5rem, 8vw, 5.5rem) 1.25rem;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(60rem 30rem at 50% -10%, rgba(88, 171, 160, .30), transparent 65%),
    radial-gradient(45rem 28rem at 85% 100%, rgba(237, 62, 79, .22), transparent 60%),
    linear-gradient(180deg, var(--qrf-night), #2a1a4d 55%, #1d1140);
}

/* retro perspective grid along the bottom, echoing the logo artwork */
.cs-hero__grid {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  background-image:
    linear-gradient(rgba(121, 201, 193, .40) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 201, 193, .32) 1px, transparent 1px);
  background-size: 3rem 3rem;
  transform: perspective(20rem) rotateX(68deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(transparent, #000 65%);
          mask-image: linear-gradient(transparent, #000 65%);
}

/* hairline where the dark hero meets the white section */
.cs-hero__seam {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  z-index: 1;
  background: linear-gradient(90deg, #79c9c1, var(--qrf-lilac) 55%, var(--qrf-red));
}

.cs-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.cs-logo {
  width: clamp(11rem, 34vw, 17rem);
  height: auto;
  filter: drop-shadow(0 0 2.5rem rgba(255, 255, 255, .35));
}

.cs-title {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 7.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: .03em;
  text-wrap: balance;
  color: #fff;
}
/* gradient lettering, guarded so it never turns invisible without background-clip */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .cs-title {
    background: linear-gradient(100deg, #79c9c1, var(--qrf-lilac) 55%, var(--qrf-red));
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
  }
}

.cs-lead {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  text-wrap: balance;
}
.cs-launch-date { color: #fff; font-weight: 600; white-space: nowrap; }
.cs-launch-date sup { font-size: .55em; vertical-align: super; }

/* ---------- the call to action ---------- */
.cs-cta {
  display: inline-block;
  background: var(--qrf-red);
  color: #fff;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  font-weight: 600;
  padding: .95rem 2.25rem;
  border-radius: 50rem;
  text-decoration: none;
  box-shadow: 0 .75rem 2rem -.5rem rgba(237, 62, 79, .65);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.cs-cta:hover {
  background: var(--qrf-red-dk);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 1rem 2.5rem -.5rem rgba(237, 62, 79, .85);
}
.cs-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ---------- mission ---------- */
.mission { background: #fff; padding: clamp(3rem, 8vw, 5.5rem) 1.25rem; }
.mission-body {
  max-width: 38rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.mission-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--qrf-red);
}
.mission-rule { flex: none; width: 2.25rem; height: 2px; background: var(--qrf-red); }
.mission-body p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--qrf-ink);
  text-wrap: pretty;
}

/* ---------- footer ---------- */
.footer-copyright {
  background: linear-gradient(90deg, var(--qrf-purple), var(--qrf-red));
  color: #fff;
  text-align: center;
  padding: .85rem 1.25rem;
  font-size: .9rem;
}

/* ---------- entrance animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .cs-fade { animation: cs-fade-in .7s ease-out both; }
  .cs-title.cs-fade { animation-delay: .08s; }
  .cs-lead.cs-fade  { animation-delay: .16s; }
  .cs-cta.cs-fade   { animation-delay: .24s; }
  @keyframes cs-fade-in {
    from { opacity: 0; transform: translateY(1.25rem); }
    to   { opacity: 1; transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- phones ---------- */
@media (max-width: 575.98px) {
  .cs-hero { min-height: min(80svh, 32rem); }

  /* banner: smaller type and tighter padding so it stays one or two short
     lines instead of dominating the top of the screen. nowrap keeps the dot
     beside the text — allowed to wrap, it ends up orphaned on its own line. */
  .crisis-bar__inner {
    padding: .55rem 1rem;
    gap: .45rem;
    flex-wrap: nowrap;
  }
  .crisis-bar__text  { font-size: .85rem; }

  /* a compact pill rather than a full-width bar */
  .cs-cta {
    width: auto;
    font-size: .95rem;
    padding: .7rem 1.6rem;
  }

  /* mission: more breathing room at the edges, smaller type */
  .mission { padding-inline: 2.5rem; }
  .mission-title { font-size: 1.35rem; }
  .mission-body { gap: 1rem; }
  .mission-body p { font-size: .95rem; line-height: 1.65; }

  .footer-copyright { font-size: .78rem; padding: .7rem 1.25rem; }
}
