/* --- ThirtyTutors marketing/home page (/landing) ---
   Same design language as the rest of the app (ink-navy + warm off-white
   + muted crimson accent, Space Grotesk/Inter) rather than a separate
   marketing identity - this is the front door of the same product, not a
   different brand. Two signature elements here get to be a little more
   alive than the rest of the app: the dance/celebrate split section
   (#danceSection, reuses the hero's glow treatment) and the tutor-card
   marquee (#tutorMarqueeWrap) - an endless, gently tilted wall of every
   avatar. Everything else stays quiet and text-led. */

#marketingWrap {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  width: 100%;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* --- Hero --- */

#heroSection {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px 56px;
}

#heroCopy h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
#heroCopy h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 0 30px;
}

#heroCta {
  display: flex;
  align-items: center;
  gap: 14px;
}
#heroCta .primary-btn {
  padding: 12px 26px;
  font-size: 0.92rem;
}
#heroCta a.secondary-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

#heroVisual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  max-width: 480px;
  margin: 0 auto;
}

@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.06); }
}
#heroVisualGlow {
  position: absolute;
  inset: 4%;
  border-radius: 24px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  filter: blur(18px);
  animation: hero-glow-pulse 5s ease-in-out infinite;
}
#heroVisualMedia {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* --- Academy split section --- */

#academySection {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 88px;
}
#academyImage {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}
#academyCopy h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 14px;
}
#academyCopy p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 50ch;
}
.academy-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.academy-points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--text);
}
.academy-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* --- Dance/celebrate split section - mirrors #academySection's layout
   with the visual and copy swapped left/right, so the page alternates
   rather than repeating the same shape twice in a row. The visual gets
   a bit more room than the hero's own (0.95fr here vs the hero's 0.9fr
   column, and no width:78% inset on the media itself - see
   #danceVisualMedia below) but noticeably less than the academy image's
   column, so it reads as "a little bigger than the hero clip, not a
   full-width showpiece". Reuses the hero's glow treatment (radial pulse
   behind the media) rather than inventing a second effect - fitting,
   since this is the more overtly celebratory of the two places that
   pulse now appears. --- */

#danceSection {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 96px;
}
#danceCopy h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 14px;
}
#danceCopy p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 46ch;
}

#danceVisual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  max-width: 480px;
  margin: 0 auto;
}
#danceVisualGlow {
  position: absolute;
  inset: 4%;
  border-radius: 24px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 72%);
  filter: blur(20px);
  animation: hero-glow-pulse 5s ease-in-out infinite;
}
#danceVisualMedia {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* --- Tutors section header + marquee --- */

#tutorsSection {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 32px 36px;
}
#tutorsSection h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.tutors-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

#tutorMarqueeWrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 0 96px;
  /* Fade the marquee out at both edges rather than a hard clip. */
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

@keyframes tutor-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

#tutorMarqueeTrack {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: tutor-marquee-scroll 100s linear infinite;
}
/* Paused by hovering the TRACK itself, not the wrap - the wrap has a
   generous 96px of bottom padding (for the edge-fade mask above, and to
   give the marquee room to breathe from the section below it), and that
   padding sits well below where the cards actually are. Pausing on
   #tutorMarqueeWrap:hover meant the marquee froze the moment the cursor
   crossed into that empty space beneath the row, with nothing visible
   there to explain why. The track's own box hugs the cards tightly (flex
   sizes it to its tallest child), so hovering it only pauses while the
   cursor is actually over a card. */
#tutorMarqueeTrack:hover {
  animation-play-state: paused;
}

.tutor-card {
  flex: 0 0 auto;
  width: 175px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s ease;
}
/* Alternating tilt gives the row a loose, "spread out on a table" feel
   rather than a rigid grid - each card straightens on hover. Hovering a
   single card lifts and enlarges just that one (translateY + scale) -
   pure transform, so it never nudges its neighbors out of place, they
   stay exactly where they are while this one pops forward above them
   (z-index). */
.tutor-card:nth-child(odd) { transform: rotate(-2.5deg); }
.tutor-card:nth-child(even) { transform: rotate(2.5deg); }
.tutor-card:hover { transform: rotate(0deg) translateY(-10px) scale(1.08); z-index: 2; }

.tutor-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  background: var(--panel-raised);
  transition: box-shadow 0.25s ease;
}
.tutor-card:hover img {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}
.tutor-card-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* --- Final CTA band --- */

#finalCtaSection {
  text-align: center;
  padding: 64px 32px 88px;
  background: linear-gradient(180deg, transparent 0%, var(--accent-soft) 100%);
}
#finalCtaSection h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 22px;
}
#finalCtaSection .primary-btn {
  padding: 13px 30px;
  font-size: 0.95rem;
}

/* --- Responsive --- */

@media (max-width: 760px) {
  #heroSection,
  #academySection,
  #danceSection {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }
  #heroVisual { order: -1; max-width: 320px; margin: 0 auto; }
  #heroCopy h1 { font-size: 2rem; }
  #academyImage { order: -1; }
  #danceVisual { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  #tutorMarqueeTrack { animation: none; }
  #heroVisualGlow { animation: none; }
}


/* Text-only landing page: no image or video visual areas. */
#heroSection,
#academySection,
#danceSection {
  grid-template-columns: 1fr;
}

#heroCopy,
#academyCopy,
#danceCopy {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

#tutorMarqueeTrack {
  animation: none;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.tutor-card {
  width: auto;
  min-width: 90px;
  padding: 12px 16px;
}

.tutor-card:nth-child(odd),
.tutor-card:nth-child(even) {
  transform: none;
}

@media (max-width: 760px) {
  #heroSection,
  #academySection,
  #danceSection {
    grid-template-columns: 1fr;
  }
}


/* --- Responsive landing layout and browser zoom --- */
#marketingWrap {
  min-height: 0;
  overscroll-behavior-y: contain;
}

#heroSection {
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(32px, 8vh, 72px) clamp(18px, 5vw, 32px) 48px;
}

#heroCopy {
  width: 100%;
  max-width: 850px;
}

#heroCopy h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  line-height: 1.14;
  overflow-wrap: break-word;
}

.hero-sub {
  font-size: clamp(0.92rem, 1.5vw, 1rem);
}

#heroCta .primary-btn {
  min-height: 44px;
}

@media (max-width: 760px) {
  #heroSection {
    padding: clamp(28px, 6vh, 48px) 20px 40px;
  }

  #heroCopy h1 {
    font-size: clamp(1.75rem, 6vw, 2.2rem);
  }
}

@media (max-width: 420px) {
  #heroSection {
    padding-left: 16px;
    padding-right: 16px;
  }

  #heroCta {
    flex-wrap: wrap;
  }

  #heroCta .primary-btn {
    width: 100%;
  }
}

/* =========================================
   LANDING PAGE: BLUE BRAND + ZOOM RESPONSIVE
   ========================================= */

#marketingWrap {
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.14);
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  box-sizing: border-box;
}

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

#marketingWrap #heroSection {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(28px, 8vh, 80px) clamp(18px, 5vw, 40px);
}

#marketingWrap #heroCopy {
  width: 100%;
  max-width: 820px;
  min-width: 0;
}

#marketingWrap #heroCopy h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
  margin-bottom: 24px;
}

#marketingWrap #heroCopy h1 em {
  color: var(--accent);
}

#marketingWrap .hero-sub {
  width: 100%;
  max-width: 65ch;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.75;
  overflow-wrap: break-word;
  margin-bottom: 18px;
}

#marketingWrap #heroCta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

#marketingWrap #heroCta .primary-btn {
  min-height: 48px;
  padding: 12px 30px;
  border-radius: 10px;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 600;
  background: #2563eb;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

#marketingWrap #heroCta .primary-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  #marketingWrap #heroSection {
    padding: 42px 22px;
  }

  #marketingWrap #heroCopy h1 {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }
}

@media (max-width: 480px) {
  #marketingWrap #heroSection {
    padding: 32px 18px;
  }

  #marketingWrap #heroCopy h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  #marketingWrap #heroCta .primary-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #marketingWrap *,
  #marketingWrap *::before,
  #marketingWrap *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* Professional navy-blue landing background */
#marketingWrap {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  width: 100%;
  color: #f8fafc;
  background:
    radial-gradient(ellipse at 15% 18%,
      rgba(37, 99, 235, 0.30) 0%,
      transparent 42%),
    radial-gradient(ellipse at 88% 78%,
      rgba(14, 165, 233, 0.18) 0%,
      transparent 38%),
    linear-gradient(135deg,
      #071426 0%,
      #0b1e3a 48%,
      #102b52 100%);
}

#marketingWrap #heroCopy h1 {
  color: #f8fafc;
}

#marketingWrap #heroCopy h1 em {
  color: #60a5fa;
}

#marketingWrap .hero-sub {
  color: #cbd5e1;
}

#marketingWrap #heroCta .primary-btn {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

#marketingWrap #heroCta .primary-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
}

/* Animated blue atmosphere */
#marketingWrap {
  overflow-x: hidden;
}

#marketingWrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 25%,
      rgba(59, 130, 246, 0.30),
      transparent 38%),
    radial-gradient(ellipse at 80% 65%,
      rgba(14, 165, 233, 0.24),
      transparent 42%),
    radial-gradient(ellipse at 50% 100%,
      rgba(37, 99, 235, 0.18),
      transparent 45%);
  background-size: 160% 160%;
  background-position: 0% 50%;
  animation: landingBlueGlow 18s ease-in-out infinite alternate;
}

#marketingWrap > * {
  position: relative;
  z-index: 1;
}

@keyframes landingBlueGlow {
  0% {
    background-position: 0% 40%;
    opacity: 0.65;
  }
  50% {
    background-position: 70% 60%;
    opacity: 1;
  }
  100% {
    background-position: 100% 45%;
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  #marketingWrap::before {
    animation: none;
  }
}

/* Landing page About and Contact footer */
#marketingWrap #landingFooter {
  width: 100%;
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 28px 40px 36px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  text-align: center;
  color: #cbd5e1;
}

#marketingWrap #landingFooter h2 {
  margin: 0 0 12px;
  color: #f8fafc;
  font-size: 1.15rem;
}

#marketingWrap #landingFooter h3 {
  margin: 20px 0 8px;
  color: #93c5fd;
  font-size: 0.95rem;
}

#marketingWrap #landingFooter p {
  margin: 6px 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 480px) {
  #marketingWrap #landingFooter {
    padding: 24px 18px 30px;
  }
}

/* Desktop and mobile: allow the complete landing page to scroll */
#pageBody:has(> #marketingWrap) {
  min-height: 0;
  overflow: hidden;
}

#pageBody > #marketingWrap {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Keep the original animated blue atmosphere visible while scrolling */
#marketingWrap::before {
  position: fixed;
  inset: 56px 0 0;
}

/* White button styling for legal footer links */
#marketingWrap #landingFooter .legal-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

#marketingWrap #landingFooter .legal-footer-links a,
#marketingWrap #landingFooter .legal-footer-links a:visited {
  display: inline-block;
  padding: 10px 20px;
  background: #ffffff;
  color: #17345f;
  border: 1px solid #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

#marketingWrap #landingFooter .legal-footer-links a:hover {
  background: #e8efff;
  color: #17345f;
  transform: translateY(-2px);
  text-decoration: none;
}

/* =========================================
   AI TUTORS - WELCOME HERO REDESIGN
   ========================================= */

#marketingWrap {
  background:
    radial-gradient(ellipse at 12% 20%,
      rgba(59, 130, 246, 0.28), transparent 42%),
    radial-gradient(ellipse at 88% 75%,
      rgba(14, 165, 233, 0.20), transparent 40%),
    linear-gradient(135deg,
      #061326 0%,
      #0b2040 52%,
      #102e59 100%);
}

#marketingWrap #heroSection {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 56px);
  padding: 64px 24px;
}

#marketingWrap #heroCopy {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

#marketingWrap #heroCopy h1 {
  color: #ffffff;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 auto 28px;
}

#marketingWrap #heroCopy h1 em {
  color: #7db7ff;
  font-style: italic;
}

#marketingWrap .hero-sub {
  max-width: 66ch;
  margin: 0 auto 16px;
  color: #d2deef;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.8;
}

#marketingWrap #heroCta {
  width: min(100%, 360px);
  margin: 36px auto 0;
  padding: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(191, 219, 254, 0.24);
  border-radius: 20px;
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#marketingWrap #heroCta .primary-btn {
  width: 100%;
  min-height: 54px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.32);
}

#marketingWrap #heroCta .primary-btn:hover {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.42);
}

@media (max-width: 600px) {
  #marketingWrap #heroSection {
    min-height: calc(100vh - 56px);
    padding: 44px 20px;
  }

  #marketingWrap #heroCopy h1 {
    font-size: clamp(2.15rem, 9vw, 3rem);
    margin-bottom: 22px;
  }

  #marketingWrap .hero-sub {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  #marketingWrap #heroCta {
    margin-top: 28px;
    padding: 16px;
    border-radius: 16px;
  }
}


/* =========================================
   AI TUTORS - SINGLE CARD MULTILINGUAL HERO
   ========================================= */

#marketingWrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    125deg,
    #061326,
    #102e59,
    #123f70,
    #071a35,
    #0d315c
  );
  background-size: 300% 300%;
  animation: aiTutorsBackground 18s ease-in-out infinite;
}

@keyframes aiTutorsBackground {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#marketingWrap #heroSection {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 56px);
  padding: 56px 22px;
}

#marketingWrap #heroCard {
  width: min(100%, 850px);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 62px);
  text-align: center;
  background: rgba(255, 255, 255, 0.095);
  border: 1px solid rgba(191, 219, 254, 0.28);
  border-radius: 28px;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#marketingWrap #welcomeMessage {
  min-height: 42px;
  margin: 0 auto 24px;
  color: #93c5fd;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

#marketingWrap #welcomeMessage .welcome-line {
  display: inline-block;
  animation: welcomeAppear 0.75s ease both;
  text-shadow: 0 0 24px rgba(96, 165, 250, 0.4);
}

#marketingWrap #welcomeMessage .welcome-line.fade-out {
  animation: welcomeDisappear 0.35s ease both;
}

@keyframes welcomeAppear {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes welcomeDisappear {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

#marketingWrap #heroCard h1 {
  color: #ffffff;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 auto 28px;
}

#marketingWrap #heroCard h1 em {
  color: #7db7ff;
  font-style: italic;
}

#marketingWrap #heroCard .hero-sub {
  max-width: 66ch;
  margin: 0 auto 16px;
  color: #e0eaf8;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.8;
}

#marketingWrap #heroCard #heroCta {
  width: min(100%, 360px);
  margin: 34px auto 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#marketingWrap #heroCard #heroCta .primary-btn {
  width: 100%;
  min-height: 56px;
  padding: 15px 28px;
  border-radius: 13px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#marketingWrap #heroCard #heroCta .primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 32px rgba(37, 99, 235, 0.48);
}

@media (max-width: 600px) {
  #marketingWrap #heroSection {
    min-height: calc(100vh - 56px);
    padding: 34px 16px;
  }

  #marketingWrap #heroCard {
    padding: 30px 22px;
    border-radius: 22px;
  }

  #marketingWrap #welcomeMessage {
    margin-bottom: 20px;
  }

  #marketingWrap #heroCard h1 {
    font-size: clamp(2.15rem, 9vw, 3rem);
    margin-bottom: 22px;
  }

  #marketingWrap #heroCard .hero-sub {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  #marketingWrap #heroCard #heroCta {
    margin-top: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #marketingWrap {
    animation: none;
  }

  #marketingWrap #welcomeMessage .welcome-line {
    animation: none;
  }

  #marketingWrap #heroCard #heroCta .primary-btn {
    transition: none;
  }
}
