/* ============================================================
   Learning Success — FOCUS FOUNDATIONS · THANK YOU / DOWNLOAD
   Shared delivery page for the free Focus Foundations ebook
   (reached from this site's subscribe form and the external
   site's subscribe form). Page-unique layout only; tokens +
   shared classes come from tokens.css / components.css.
   Classes prefixed .ls-ffty-.
   ============================================================ */

@keyframes ls-ffty-pop {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: none; }
}

/* ---- SECTION 1 — CONFIRMED + DOWNLOAD -------------------------------- */
.ls-ffty-confirmed {
  background: linear-gradient(180deg, var(--blue-50), var(--surface-card));
  padding: 78px 24px 60px;
}
.ls-ffty-confirmed__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.ls-ffty-badge {
  width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%;
  background: var(--green-500); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 32px rgba(92, 161, 85, 0.32);
  animation: ls-ffty-pop 0.5s var(--ease-out) both;
}
.ls-ffty-eyebrow {
  font: var(--font-eyebrow); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.8rem; color: var(--green-700); margin: 0 0 14px;
}
.ls-ffty-h1 {
  font: var(--font-hero); font-size: 2.7rem; color: var(--text-strong);
  margin: 0 0 18px; letter-spacing: -0.02em; line-height: 1.12;
}
.ls-ffty-sub {
  font: var(--font-body-md); font-size: 1.18rem; color: var(--text-muted);
  margin: 0 auto; max-width: 600px; line-height: 1.6;
}

/* Download card */
.ls-ffty-download {
  margin: 40px auto 0; max-width: 620px; background: var(--surface-card);
  border: 1.5px solid var(--blue-200); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg); text-align: left; overflow: hidden;
  display: flex; align-items: stretch; gap: 0;
}
.ls-ffty-download__cover {
  flex-shrink: 0; width: 190px; background: var(--blue-50);
  display: flex; align-items: center; justify-content: center; padding: 26px 22px;
}
.ls-ffty-download__cover img {
  width: 100%; height: auto; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); display: block;
}
.ls-ffty-download__body { padding: 28px 30px; display: flex; flex-direction: column; }
.ls-ffty-download__label {
  font: var(--font-label); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.74rem; color: var(--blue-600); margin-bottom: 6px;
}
.ls-ffty-download__title {
  font: var(--font-h3); font-weight: 700; font-size: 1.32rem;
  color: var(--text-strong); margin: 0 0 10px; line-height: 1.25;
}
.ls-ffty-download__title span { font-weight: 500; color: var(--text-muted); font-size: 0.9em; }
.ls-ffty-download__text {
  font: var(--font-body-base); color: var(--text-body); line-height: 1.55; margin: 0 0 18px;
}
.ls-ffty-download__btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: auto;
}
.ls-ffty-download__btn svg { flex-shrink: 0; }
.ls-ffty-download__hint {
  font: var(--font-label); color: var(--text-faint); font-size: 0.82rem;
  margin: 14px 0 0; line-height: 1.5;
}

/* ---- SECTION 2 — TOOLKIT REMINDER (dark band) ----------------------- */
.ls-ffty-toolkit { background: linear-gradient(155deg, var(--blue-900), var(--blue-700)); padding: 56px 24px; }
.ls-ffty-toolkit__inner { max-width: 700px; margin: 0 auto; text-align: center; }
.ls-ffty-toolkit__chip {
  width: 60px; height: 60px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.ls-ffty-toolkit__title {
  font: var(--font-h1); font-size: 1.7rem; color: #fff; margin: 0 0 14px; line-height: 1.25;
}
.ls-ffty-toolkit__text {
  font: var(--font-body-md); color: var(--blue-100); line-height: 1.65; margin: 0;
}
.ls-ffty-toolkit__text strong { color: #fff; }

/* ---- SECTION 3 — WHILE YOU'RE HERE ---------------------------------- */
.ls-ffty-while { background: var(--blue-50); padding: 66px 24px; }
.ls-ffty-while__inner { max-width: 1040px; margin: 0 auto; }
.ls-ffty-while__title {
  font: var(--font-h1); font-size: 1.75rem; color: var(--text-strong);
  margin: 0 0 34px; line-height: 1.25;
}
.ls-ffty-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ls-ffty-rescard {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl); box-shadow: var(--shadow-sm);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.ls-ffty-rescard__chip {
  width: 48px; height: 48px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.ls-ffty-rescard__chip--blue   { background: var(--blue-50); }
.ls-ffty-rescard__chip--green  { background: var(--green-50); }
.ls-ffty-rescard__chip--orange { background: var(--orange-50); }
.ls-ffty-rescard__title {
  font: var(--font-h3); font-size: 1.18rem; font-weight: 700;
  color: var(--text-strong); margin: 0 0 10px; line-height: 1.3;
}
.ls-ffty-rescard__text {
  font: var(--font-body-base); color: var(--text-muted); line-height: 1.6;
  margin: 0 0 20px; flex-grow: 1;
}
.ls-ffty-reslink {
  font: var(--font-label); font-weight: 700; color: var(--blue-600);
  display: inline-flex; align-items: center; gap: 6px;
}
.ls-ffty-reslink svg { flex-shrink: 0; }

/* ---- SECTION 4 — QUIET TRIAL BRIDGE --------------------------------- */
.ls-ffty-bridge { background: var(--surface-card); padding: 60px 24px 76px; }
.ls-ffty-bridge__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.ls-ffty-bridge__lead {
  font: var(--font-body-md); font-size: 1.1rem; color: var(--text-muted);
  line-height: 1.7; margin: 0 0 30px;
}
.ls-ffty-bridge__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: transparent; color: var(--blue-600);
  font: var(--font-label); font-size: 1.06rem; font-weight: 600;
  padding: 15px 32px; border-radius: var(--radius-pill); border: 1.5px solid var(--blue-300);
  transition: background var(--dur-fast) var(--ease-out);
}
.ls-ffty-bridge__btn:hover { background: var(--blue-50); }
.ls-ffty-bridge__micro {
  font: var(--font-label); color: var(--text-faint); margin: 16px 0 0; font-size: 0.95rem;
}

/* ---- Responsive ----------------------------------------------------- */
@media (max-width: 620px) {
  .ls-ffty-download { flex-direction: column; }
  .ls-ffty-download__cover { width: 100%; padding: 26px; }
  .ls-ffty-download__cover img { width: 150px; margin: 0 auto; }
  .ls-ffty-download__btn { align-self: stretch; justify-content: center; }
}
@media (max-width: 860px) { .ls-ffty-cards { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ls-ffty-h1 { font-size: 2.1rem; } }
