/* ======================================================
   Life Tape QR Welcome Page
   Dedicated page for flyers, QR cards, libraries, veterans, and senior centers.
   ====================================================== */

.welcome-page {
  --welcome-bg: #00674C;
  --welcome-bg-deep: #003d30;
  --welcome-ink: #f7fff9;
  --welcome-muted: rgba(247,255,249,.76);
  --welcome-gold: #BEA15A;
  --welcome-gold-soft: #f2d98e;
  --welcome-cream: #F8F3E7;
  --welcome-cream-2: #FFF8E8;
  --welcome-dark-text: #0F1720;
  /* No background here — handled by ::before so it spans full scroll height */
  position: relative;
}

/* Full-page seamless gradient — fixed so it never repeats or seams */
.welcome-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 10% 0%, rgba(212,175,55,.18), transparent 62%),
    linear-gradient(180deg, #00674F 0%, #004d3d 48%, #003d30 100%);
}

/* ── Header ── */
.welcome-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 85, 66, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212,175,55,.45);
}

.welcome-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.welcome-mini-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--welcome-gold);
  color: #1f1a0a;
  font-weight: 800;
}

/* ── Hero ── */
.welcome-hero {
  padding: clamp(42px, 7vw, 92px) 0 clamp(34px, 5vw, 64px);
}

.welcome-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.welcome-hero-copy {
  text-align: left;
}

.welcome-eyebrow {
  margin: 0 0 12px;
  color: var(--welcome-gold-soft);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.welcome-hero h1 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(42px, 8vw, 86px);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.055em;
  color: var(--welcome-ink);
  text-shadow: 0 18px 46px rgba(0,0,0,.30);
}

.welcome-lede {
  max-width: 640px;
  margin: 0 0 28px;
  color: var(--welcome-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.52;
}

.welcome-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.store-button {
  min-height: 58px;
  min-width: 122px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  border-radius: 28px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  border-right-width: 2px;
  border-left-width: 3px;
  border-bottom-width: 4px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.223);
}

.store-button span {
  font-size: 12px;
  line-height: 1;
  opacity: .76;
}

.store-button strong {
  font-size: 18px;
  line-height: 1.1;
}

.store-button-primary {
  background: #101513be;
  color: white; 
}

.store-button-secondary {
  background: rgba(255,255,255,.10);
  color: white;
}

.welcome-trust-note {
  margin: 16px 0 0;
  color: var(--welcome-muted);
  font-size: 14px;
}

/* ── Video card ── */
.welcome-video-card {
  border-radius: 34px;
  padding: clamp(14px, 2vw, 22px);
  background: rgba(248,243,231,.10);
  border: 1px solid rgba(248,243,231,.20);
  box-shadow: 0 24px 70px rgba(0,0,0,.32);
}

.welcome-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-height: 680px;
  margin: 0 auto;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(248,243,231,.12), rgba(0,38,8,.52)),
    #063a2d;
  border: 1px solid rgba(212,175,55,.45);
}

.welcome-video-frame iframe,
.welcome-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.welcome-video-placeholder {
  min-height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 34px;
  text-align: center;
}

.play-mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--welcome-gold);
  box-shadow: 0 18px 36px rgba(0,0,0,.28);
}

.play-mark::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 23px solid #142019;
}

.video-placeholder-title {
  margin: 0;
  color: white;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.05;
}

.video-placeholder-copy {
  max-width: 360px;
  margin: 0;
  color: var(--welcome-muted);
  font-size: 16px;
}

.welcome-video-caption {
  margin: 16px auto 2px;
  max-width: 420px;
  color: var(--welcome-muted);
  text-align: center;
  font-size: 14px;
}

/* ── Strip — transparent, only borders distinguish it ── */
.welcome-strip {
  border-block: 1px solid rgba(212,175,55,.28);
}

.welcome-strip-inner {
  display: flex;
  padding: 16px 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.welcome-strip span {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
  font-size: 14px;
  font-weight: 700;
}

/* ── Sections ── */
.welcome-section {
  padding: clamp(46px, 7vw, 92px) 0;
}

.welcome-story-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.welcome-section-copy h2,
.welcome-prompt-card h2,
.welcome-founder-card h2,
.welcome-final-cta h2 {
  margin: 0 0 14px;
  color: white;
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}

.welcome-section-copy p {
  margin: 0;
  color: var(--welcome-muted);
  font-size: 18px;
}

/* ── Steps — single column, number above h3 ── */
.welcome-steps {
  display: grid;
  gap: 14px;
}

.welcome-step {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 18px 22px 20px;
  border-radius: 28px;
  background: var(--welcome-cream);
  color: var(--welcome-dark-text);
  box-shadow: 0 18px 36px rgba(0,0,0,.18);
}

.step-number {
  display: block;
  color: #805f00;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  margin-bottom: 4px;
}

.welcome-step h3 {
  margin: 0 0 6px;
  color: #003d30;
  font-size: 20px;
  line-height: 1.15;
}

.welcome-step p {
  margin: 0;
  color: rgba(15,23,32,.76);
  line-height: 1.5;
}

/* ── Light section ── */
.welcome-section-light {
  padding-block: clamp(30px, 5vw, 58px);
}

.welcome-prompt-card {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(24px, 5vw, 52px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(248,243,231,.13), rgba(248,243,231,.06));
  border: 1px solid rgba(212,175,55,.30);
}

.welcome-prompt-card h2 {
  max-width: 780px;
  margin-bottom: 0;
}

/* ── Founder ── */
.welcome-founder {
  padding: 0 0 clamp(48px, 7vw, 92px);
}

.welcome-founder-card {
  max-width: 920px;
  padding: clamp(26px, 5vw, 56px);
  border-radius: 34px;
  background: var(--welcome-cream-2);
  color: var(--welcome-dark-text);
}

.welcome-founder-card h2 {
  color: #003d30;
}

.welcome-founder-card p:last-child {
  margin-bottom: 0;
  color: rgba(15,23,32,.78);
  font-size: 18px;
}

/* ── Final CTA — transparent, gold border top only ── */
.welcome-final-cta {
  padding: clamp(46px, 7vw, 88px) 0;
  text-align: center;
  border-top: 1px solid rgba(212,175,55,.22);
}

.welcome-final-cta p {
  margin: 0 auto 24px;
  color: var(--welcome-muted);
  font-size: 18px;
}

.welcome-final-cta .welcome-cta-row {
  justify-content: center;
}

/* ── Footer ── */
.welcome-footer {
  padding: 30px 0;
  background: rgba(0,38,20,.55);
  border-top: 1px solid rgba(212,175,55,.38);
  color: rgba(255,255,255,.78);
  text-align: center;
}

.welcome-footer p {
  margin: 6px auto;
}

.welcome-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .welcome-header-inner {
    min-height: 70px;
  }

  .welcome-hero-grid,
  .welcome-story-grid {
    grid-template-columns: 1fr;
  }

  .welcome-hero-copy {
    text-align: center;
  }

  .welcome-hero h1,
  .welcome-lede {
    margin-inline: auto;
  }

  .welcome-cta-row {
    justify-content: center;
  }

  .welcome-video-frame {
    aspect-ratio: 4 / 5;
  }

  .welcome-prompt-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .welcome-hero {
    padding-top: 30px;
  }

  .welcome-mini-link {
    padding-inline: 14px;
  }

  .welcome-hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .store-button {
    width: 60%;
  }
}
