/*
 * ISOLATED RECOVERY HERO FOCUS PASS 1 — NOT LIVE
 *
 * Scope: the Recovery landing-page canvas and the live copy inside its
 * existing lighthouse hero. The artwork, outer hero chassis, recovery-date
 * control, cards, routes and application logic are unchanged.
 *
 * The existing Recovery pass deliberately locks hero copy geometry with
 * !important declarations. The matching page-scoped declarations below use
 * !important only for those same locked properties so this removable layer
 * can correct the collision without touching historical styles.
 */

#recovery.page {
  --recovery-stone-canvas: #e5dad1;
  --recovery-stone-light: #eee6de;
  --recovery-stone-mid: #e8ddd3;
  --recovery-stone-shade: #ddd0c5;
  background-color: var(--recovery-stone-canvas);
  background-image:
    radial-gradient(ellipse at 14% 7%, rgba(255, 255, 255, 0.46) 0, rgba(255, 255, 255, 0.16) 28%, transparent 52%),
    radial-gradient(ellipse at 86% 31%, rgba(151, 128, 110, 0.12) 0, transparent 38%),
    repeating-radial-gradient(circle at 25% 35%, rgba(77, 62, 51, 0.018) 0 0.7px, transparent 0.9px 5px),
    linear-gradient(164deg, var(--recovery-stone-light) 0%, var(--recovery-stone-mid) 47%, var(--recovery-stone-shade) 100%);
  background-size: 100% 420px, 100% 520px, 9px 11px, 100% 100%;
  background-repeat: no-repeat, no-repeat, repeat, no-repeat;
}

/* Mirror the approved Mental hero's live-copy system while retaining
 * Recovery's violet identity and the unique recovery-date control. */
html body main.app > #recovery.page .recoveryTop > .k {
  inset: 22px auto auto 22px !important;
  width: min(46%, 250px) !important;
  max-width: 250px !important;
  margin: 0 !important;
  color: var(--recovery-home-purple-deep) !important;
  font: 900 13px/1 Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.14em !important;
  white-space: nowrap;
}

html body main.app > #recovery.page .recoveryTop > h1 {
  inset: 45px auto auto 22px !important;
  width: min(46%, 250px) !important;
  max-width: 250px !important;
  margin: 0 !important;
  color: var(--recovery-home-navy) !important;
  font: 900 clamp(30px, 8.4vw, 42px)/0.91 Arial, Helvetica, sans-serif !important;
  letter-spacing: -0.045em !important;
  white-space: normal !important;
  text-wrap: balance;
}

html body main.app > #recovery.page .recovery-page-intro {
  inset: auto auto 76px 22px !important;
  width: min(52%, 250px) !important;
  max-width: 250px !important;
  margin: 0 !important;
  color: #fffaf4 !important;
  font: 700 13px/1.28 Arial, Helvetica, sans-serif !important;
  letter-spacing: -0.01em !important;
  text-shadow: 0 2px 9px rgba(14, 17, 25, 0.92) !important;
}

@media (max-width: 390px) {
  html body main.app > #recovery.page .recoveryTop > .k {
    inset: 20px auto auto 20px !important;
    width: 46% !important;
  }

  html body main.app > #recovery.page .recoveryTop > h1 {
    inset: 43px auto auto 20px !important;
    width: 46% !important;
    font-size: 31px !important;
  }

  html body main.app > #recovery.page .recovery-page-intro {
    inset: auto auto 75px 20px !important;
    width: 52% !important;
    max-width: 188px !important;
  }
}

@media (max-width: 370px) {
  html body main.app > #recovery.page .recoveryTop > .k {
    inset: 18px auto auto 18px !important;
    width: 47% !important;
  }

  html body main.app > #recovery.page .recoveryTop > h1 {
    inset: 41px auto auto 18px !important;
    width: 47% !important;
    font-size: 29px !important;
  }

  html body main.app > #recovery.page .recovery-page-intro {
    inset: auto auto 68px 18px !important;
    width: 54% !important;
    max-width: 182px !important;
  }
}

@media (min-width: 411px) and (max-width: 799px) {
  html body main.app > #recovery.page .recoveryTop > .k {
    inset: 22px auto auto 22px !important;
  }

  html body main.app > #recovery.page .recoveryTop > h1 {
    inset: 45px auto auto 22px !important;
  }

  html body main.app > #recovery.page .recovery-page-intro {
    inset: auto auto 78px 22px !important;
  }
}

@media (min-width: 800px) {
  html body main.app > #recovery.page .recoveryTop > .k {
    inset: 22px auto auto 22px !important;
  }

  html body main.app > #recovery.page .recovery-page-intro {
    inset: auto auto 86px 22px !important;
  }
}
