/* Offers landing pages — Paper "15. Content Landing Page — Template page"
   (desktop 8AL-0 / mobile AGO-0). Token mapping: color-primary→green-700,
   secondary→purple-700, accent→lilac-500, accent-soft→lilac-100,
   cream→cream-200, cream-warm→cream-100. */

.lp-inner {
  max-width: 90rem;
  margin-inline: auto;
  padding-inline: 4rem;
}

/* ---------- Hero (cream) ---------- */
.lp-hero {
  background: var(--cream-200);
  padding: 1.5rem 0 3.5rem;
}
.lp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-light);
  margin-bottom: 2.5rem;
}
.lp-breadcrumb a {
  color: var(--ink-light);
  text-decoration: none;
}
.lp-breadcrumb a:hover {
  text-decoration: underline;
}
.lp-breadcrumb .current {
  color: var(--ink-muted);
  font-weight: 600;
}
.lp-hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
}
.lp-hero-copy {
  max-width: 41.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.lp-hero-copy h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.07;
  color: var(--green-700);
  margin: 0;
}
.lp-intro {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0;
}
.lp-updated {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-light);
  margin: 0;
}
.lp-quick-answer {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.13);
  padding: 2rem;
  flex: 1 1 0;
  max-width: 35.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.qa-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-700);
}
.lp-quick-answer ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  counter-reset: qa;
}
.lp-quick-answer li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  counter-increment: qa;
}
.lp-quick-answer li::before {
  content: counter(qa);
  flex-shrink: 0;
  width: 1.375rem;
  font-size: 1rem;
  font-weight: 900;
  color: var(--purple-700);
}
.qa-text {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

/* ---------- Editorial body ---------- */
.lp-body {
  background: #fff;
  padding: 2.5rem 0 1rem;
}
.lp-prose h2 {
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--green-700);
  margin: 0 0 0.5rem;
  max-width: 50rem;
}
.lp-prose h2:not(:first-child) {
  margin-top: 2.5rem;
}
.lp-prose p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0 0 1rem;
}
.lp-prose a {
  color: var(--green-600);
}
.lp-prose ul,
.lp-prose ol {
  color: var(--ink-muted);
  line-height: 1.65;
  padding-left: 1.4rem;
  margin: 0 0 1rem;
}
.lp-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* ---------- Top picks ---------- */
.lp-picks {
  background: #fff;
  padding: 1.5rem 0 1rem;
}
.lp-picks-heading {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--green-700);
  margin: 0 0 1.75rem;
}
.lp-picks-heading .uword {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.lp-picks-heading .squiggle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.28em;
  width: 100%;
  height: 0.32em;
  max-width: none;
  margin: 0;
}
.lp-pick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.lp-pick {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.13);
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
}
.pick-media {
  flex-shrink: 0;
  width: 18.75rem;
  align-self: stretch;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--green-600);
  min-height: 15rem;
}
.pick-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pick-media-empty {
  display: block;
  width: 100%;
  height: 100%;
}
.pick-main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pick-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}
.pick-id {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
}
.pick-number {
  flex-shrink: 0;
  font-size: 1.625rem;
  line-height: 1.23;
  font-weight: 900;
  color: var(--green-100);
}
.pick-titles {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.pick-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-600);
}
.pick-titles h3 {
  font-size: 1.625rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--purple-700);
  margin: 0;
}
.pick-ctas {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pick-pill {
  background: var(--lilac-500);
  color: var(--purple-700);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.125rem;
  white-space: nowrap;
}
.pick-btn {
  background: var(--green-700);
  color: var(--cream-200);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.375rem;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}
.pick-btn:hover {
  background: var(--green-900);
}
.pick-desc {
  font-size: 1rem;
  line-height: 1.56;
  color: var(--ink-muted);
  margin: 0;
}
.pick-proscons {
  background: var(--cream-100);
  border-radius: var(--radius-sm);
  display: flex;
  overflow: hidden;
}
.pc-col {
  flex: 1 1 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.pc-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-900);
}
.pc-divider {
  flex-shrink: 0;
  width: 1px;
  background: var(--border);
}
.pc-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.pc-col li {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
.pc-col li::before {
  content: "• ";
}

/* ---------- Join CTA ---------- */
.lp-cta-section {
  background: #fff;
  padding: 1rem 1.25rem 2.5rem;
  display: flex;
  justify-content: center;
}
.lp-join {
  background: var(--lilac-500);
  border-radius: var(--radius-md);
  box-shadow: 4px 4px 0 var(--purple-500);
  padding: 1.5rem;
  width: 100%;
  max-width: 51.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.lp-join h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--purple-700);
  margin: 0;
}
.lp-join p {
  font-size: 1.125rem;
  color: var(--purple-700);
  margin: 0;
}
.lp-join-actions {
  display: flex;
  gap: 1.75rem;
}
.lp-join-actions a {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9375rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  text-decoration: none;
}
.lp-join-actions .join-signup {
  background: var(--purple-700);
  color: var(--lilac-100);
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}
.lp-join-actions .join-login {
  background: var(--lilac-100);
  color: var(--purple-700);
  font-weight: 500;
}

/* ---------- You might also like ---------- */
.lp-related {
  background: var(--lilac-100);
  padding: 3.5rem 0 2rem;
}
.lp-related h2 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--green-700);
  margin: 0 0 1.25rem;
}
.lp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
/* CUB-252: homepage brand-card treatment — photo full-bleed, translucent black
   gradient rising from the bottom, white text on top (no solid grey band). */
.rel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 15.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  background: var(--green-500);
}
.rel-media {
  position: absolute;
  inset: 0;
  display: block;
}
.rel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rel-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.375rem;
  flex: 1; /* fill the card even when a sibling stretches the grid row */
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 35%, rgba(0, 0, 0, 0.78));
}
.rel-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
}
.rel-sub {
  font-size: 0.875rem;
  color: #fff;
}

/* ---------- Mobile ---------- */
@media (max-width: 63.9rem) {
  .lp-inner {
    padding-inline: 1.25rem;
  }
  .lp-hero {
    padding: 0.75rem 0 2.5rem;
  }
  .lp-breadcrumb {
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
  }
  .lp-hero-row {
    flex-direction: column;
    gap: 2rem;
  }
  .lp-quick-answer {
    max-width: none;
    width: 100%;
    padding: 1.25rem;
  }
  .lp-pick {
    flex-direction: column;
    padding: 1rem;
  }
  .pick-media {
    width: 100%;
    align-self: auto;
    height: 11.25rem;
    min-height: 0;
  }
  .pick-head {
    flex-direction: column;
    gap: 0.875rem;
  }
  .pick-proscons {
    flex-direction: column;
  }
  .pc-divider {
    width: auto;
    height: 1px;
  }
  .pc-col {
    padding: 1rem 1.25rem;
  }
  .lp-join-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .lp-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Brand landing template (Paper "16. Brand Landing Page" APU-0 / AY0-0) ---------- */
.bl-hero {
  background: #fff;
  padding: 3rem 0 2.25rem;
}
.bl-hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3.5rem;
}
.bl-hero-copy {
  max-width: 32.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 2.875rem;
}
.bl-hero-copy h1 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--green-700);
  margin: 0;
}
.bl-saveline {
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--green-700);
  margin: 0;
}
.bl-rule {
  display: block;
  height: 1px;
  background: var(--lilac-500);
  margin-top: 0.25rem;
}
.bl-intro img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
.bl-intro p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0 0 1rem;
}
.bl-hero-img {
  display: block;
  flex-shrink: 0;
  width: 28.75rem;
  height: 26.25rem;
  border-radius: var(--radius-lg);
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, var(--lilac-500), var(--purple-500));
  overflow: hidden;
}
.bl-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bl-categories {
  background: #fff;
  padding: 0.5rem 0 2.5rem;
}
.bl-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.bl-cat-card {
  background: var(--cream-100);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  padding: 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bl-cat-media {
  display: block;
  height: 11.875rem;
  border-radius: var(--radius-sm);
  background: var(--lilac-500);
  overflow: hidden;
}
.bl-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bl-cat-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green-700);
}
.bl-cat-sub {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.bl-redeem {
  background: var(--cream-100);
  padding: 1.25rem 0 2.75rem;
}
.bl-redeem h2 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--green-700);
  margin: 0 0 0.25rem;
}
.bl-redeem-sub {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin: 0 0 2.5rem;
}
.bl-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.bl-step {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  padding: 1.5rem 1.5rem 1.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.bl-step-no {
  position: absolute;
  left: -1rem;
  top: -2.125rem;
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 900;
  color: var(--green-700);
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}
.bl-step-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green-700);
}
.bl-step-text {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--green-700);
}

.bl-about {
  background: #fff;
  padding: 2.5rem 0 3rem;
}
.bl-about-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
}
.bl-about-copy {
  max-width: 49.5rem;
}
.bl-about-copy h2 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--green-700);
  margin: 0;
}
.bl-about-tag {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--green-700);
  margin: 0 0 0.75rem;
}
.bl-about-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 43.75rem;
  margin: 0 0 1.5rem;
}
.bl-seen {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
}
.bl-seen-label {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
}
.bl-seen-name {
  position: relative;
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
}
.bl-seen-name .squiggle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55em;
  width: 100%;
  height: 0.5em;
  max-width: none;
  margin: 0;
}
.bl-join {
  flex-shrink: 0;
  width: 29.375rem;
  max-width: 100%;
  background: var(--lilac-500);
  border-radius: var(--radius-md);
  box-shadow: 4px 4px 0 var(--purple-500);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.bl-join h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--purple-700);
  margin: 0;
}
.bl-join a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9375rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  text-decoration: none;
}
.bl-join .join-signup {
  background: var(--purple-700);
  color: var(--lilac-100);
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}
.bl-join .join-login {
  background: var(--lilac-100);
  color: var(--purple-700);
  font-weight: 500;
}

.bl-picks {
  background: var(--cream-100);
  padding: 0.5rem 0 2.5rem;
}
.bl-offer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.375rem;
}
.bl-offer-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.bl-offer-media {
  position: relative;
  display: block;
  height: 8.125rem;
  background: var(--green-100);
}
.bl-offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bl-offer-pill {
  position: absolute;
  left: 0.625rem;
  top: 0.625rem;
  background: var(--lilac-500);
  color: var(--green-700);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.3125rem 0.75rem;
  white-space: nowrap;
}
.bl-offer-body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 1rem;
}
.bl-offer-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-700);
}
.bl-offer-cat {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

@media (max-width: 63.9rem) {
  .bl-hero {
    padding-top: 1rem;
  }
  .bl-hero-row {
    flex-direction: column;
    gap: 1.75rem;
  }
  .bl-hero-copy {
    padding-top: 0;
  }
  .bl-hero-img {
    width: 100%;
    height: auto;
    aspect-ratio: 46 / 42;
  }
  .bl-cat-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .bl-steps {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .bl-about-row {
    flex-direction: column;
    gap: 2rem;
  }
  .bl-join {
    width: 100%;
  }
  .bl-offer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (min-width: 64rem) and (max-width: 90rem) {
  .bl-offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bl-offer-grid .bl-offer-card:nth-child(n + 7) {
    display: none;
  }
}
