/* Deal Lab + Creative Financing funnel (Udemy-style labs, BiggerPockets-style tools nav) */

.cfm-header-cta {
  min-height: 40px;
  margin-left: 0;
  padding: 8px 14px !important;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}

.dl-page {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(58, 42, 28, 0.16), transparent 55%),
    linear-gradient(180deg, #3A2A1C 0%, #2F2218 55%, #3A2A1C 100%);
  color: #F1E9DE;
  padding-bottom: 80px;
}

.dl-hero {
  padding: clamp(56px, 10vw, 96px) 0 36px;
}

.dl-hero h1,
.dl-page h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  color: #fff;
  max-width: 18ch;
}

.dl-card,
.dl-resource-card,
.dl-case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 22px 20px 20px;
  border: 1px solid rgba(58, 42, 28, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(17, 21, 25, 0.55);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.dl-card .at-btn,
.dl-resource-card .at-btn,
.dl-case-card .at-btn {
  margin-top: auto;
  align-self: flex-start;
}

.dl-card h2,
.dl-card h3,
.dl-card h4,
.dl-resource-card h2,
.dl-case-card h2,
.dl-case-card h3,
.dl-student-card h3 {
  color: #fff;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  margin: 8px 0 10px;
}

.dl-card-index {
  display: block;
  color: #F1E9DE;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.dl-lane {
  margin-top: 36px;
}

.dl-lane-find {
  margin: 0 0 8px;
}

.dl-lane-find input {
  width: 100%;
  max-width: 420px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(58, 42, 28, 0.38);
  background: rgba(255, 253, 248, 0.06);
  color: #F1E9DE;
  padding: 10px 14px;
  font-size: 1rem;
}

.dl-lane-find input::placeholder {
  color: rgba(244, 239, 230, 0.55);
}

.dl-lane:first-child {
  margin-top: 8px;
}

.dl-lane-kicker {
  margin: 0 0 4px;
  color: #F1E9DE;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dl-lane-title {
  color: #fff;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 400;
  margin: 0 0 18px;
}

.dl-card p,
.dl-resource-card p,
.dl-case-card p,
.dl-note,
.dl-student-card p {
  color: rgba(244, 239, 230, 0.82);
  font-size: 15px;
  line-height: 1.65;
}

.dl-card-icon {
  font-size: 28px;
}

.dl-note {
  margin-top: 28px;
}

.dl-student-card {
  padding: 22px;
  border: 1px solid rgba(58, 42, 28, 0.22);
  background: #fff;
  min-height: 220px;
}

.learner-studio .dl-student-card h3 {
  color: #192335;
}

.learner-studio .dl-student-card p {
  color: #5b6578;
}

.cp-deal-lab {
  padding: 8px 4px 24px;
}

.cp-deal-lab-lead,
.cp-deal-lab-note {
  color: #5b6578;
  font-size: 14px;
}

.cp-deal-lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.cp-deal-lab-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  min-height: 44px;
  border: 1px solid #e6e8ee;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.cp-deal-lab-card.is-featured {
  border-color: #c9a24a;
  box-shadow: 0 0 0 1px rgba(201, 162, 74, 0.35);
}

.cp-deal-lab-card strong {
  font-size: 15px;
}

.cp-deal-lab-card span {
  font-size: 13px;
  color: #5b6578;
}

.cp-deal-lab-card em {
  font-size: 12px;
  font-style: normal;
  color: #3A2A1C;
}

/* Homepage funnel extras */
.at-dash {
  padding: 22px;
  border: 1px solid rgba(58, 42, 28, 0.35);
  background: linear-gradient(180deg, rgba(18, 21, 26, 0.96), rgba(11, 13, 15, 0.98));
  color: #F1E9DE;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.at-dash h2 {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F1E9DE;
}

.at-dash-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.at-dash-score {
  margin: 18px 0 12px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 34px;
  color: #fff;
}

.at-dash-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.at-dash-tags span {
  padding: 4px 10px;
  border: 1px solid rgba(201, 191, 178, 0.4);
  color: #C9BFB2;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.at-value-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  width: 100%;
  max-width: 100%;
}

.at-value-pill {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 84px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(28, 27, 25, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 252, 249, 0.72)),
    #fff;
  box-shadow: 0 10px 28px rgba(28, 27, 25, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.at-value-pill:hover {
  border-color: rgba(58, 42, 28, 0.55);
  box-shadow: 0 14px 34px rgba(28, 27, 25, 0.08);
  transform: translateY(-1px);
}

.at-value-pill-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(58, 42, 28, 0.16);
  color: #3A2A1C;
}

.at-value-pill-icon .cfm-ico {
  color: #3A2A1C;
}

.at-value-pill-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.at-value-pill-kicker {
  color: rgba(28, 27, 25, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.at-value-pill-title {
  color: #3A2A1C;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.at-five-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 32px;
}

.at-five-tabs button {
  min-height: 72px;
  padding: 16px 14px;
  border: 1px solid rgba(58, 42, 28, 0.28);
  border-radius: 12px;
  background: rgba(252, 252, 249, 0.04);
  color: rgba(244, 239, 230, 0.82);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.at-five-tabs button:hover {
  border-color: rgba(58, 42, 28, 0.55);
  background: rgba(58, 42, 28, 0.1);
  color: #F8F5EE;
  transform: translateY(-1px);
}

.at-five-tabs button.is-on,
.at-finder-opt.is-on {
  background: #3A2A1C;
  color: #F1E9DE;
  border-color: #3A2A1C;
  box-shadow: 0 10px 28px rgba(58, 42, 28, 0.22);
}

.at-five-tabs button.is-on:hover {
  background: #4A3726;
  border-color: #4A3726;
  color: #F1E9DE;
  transform: none;
}

.at-five-panel {
  display: none;
}

@media (max-width: 991.98px) {
  .at-five-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .at-five-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .at-five-tabs button {
    min-height: 64px;
    padding: 14px 10px;
    font-size: 13px;
  }
}

.at-finder-q {
  margin-bottom: 0;
  padding: 8px 0 12px;
  border-bottom: 0;
}

.at-finder-q:not(.is-current) {
  display: none !important;
}

.at-finder-q.is-current {
  display: block !important;
}

.at-finder-q h3 {
  margin: 0 0 18px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.25;
}

.at-finder-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.at-finder-opt {
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(58, 42, 28, 0.28);
  background: transparent;
  color: #F1E9DE;
}

.at-finder-result {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(58, 42, 28, 0.3);
}

.at-float-analyze,
.at-home .at-float-analyze {
  display: none !important;
}

.at-mobile-cta {
  display: none;
}

.at-persona-grid,
.at-library-grid,
.at-map-grid {
  display: grid;
  gap: 16px;
}

.at-persona-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.at-library-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.at-map-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.at-persona,
.at-library-card,
.at-map-item {
  padding: 22px;
  border: 1px solid rgba(58, 42, 28, 0.2);
}

.at-transform {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.at-transform ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
}

@media (max-width: 991.98px) {
  .at-mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 13, 15, 0.96);
    border-top: 1px solid rgba(58, 42, 28, 0.25);
  }

  .at-home {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .at-dock {
    display: none !important;
  }

  #strategy-finder {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
    min-height: 0;
  }

  .at-finder-q,
  .at-finder-opt {
    scroll-margin-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .at-finder-opts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .at-finder-opt {
    width: 100%;
  }

  @media (max-width: 360px) {
    .at-finder-opt {
      min-height: 40px;
      padding: 8px 10px;
      font-size: 14px;
    }

    #strategy-finder {
      padding-top: 40px;
    }
  }

  .at-mobile-cta a {
    flex: 1;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .at-float-analyze {
    display: none;
  }

  body.at-dock-visible .at-dock {
    display: none;
  }

  .at-transform {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 374.98px) {
  .at-finder-step {
    gap: 10px;
    padding: 10px 12px;
    font-size: 12px;
  }
}

/* Funnel: cream page by default. Dark featured bands keep .at-funnel-alt. */
.at-home > section.at-funnel {
  color: #3A2A1C;
  background: #F8F5EE;
}

.at-home > section.at-funnel.at-funnel-alt {
  color: #F1E9DE;
  background:
    radial-gradient(720px 380px at 8% 110%, rgba(201, 191, 178, 0.12), transparent 50%),
    #3A2A1C;
}

.at-home > section.at-funnel:not(.at-funnel-alt) .at-center-heading h2,
.at-home > section.at-funnel:not(.at-funnel-alt) h2,
.at-home > section.at-funnel:not(.at-funnel-alt) h3,
.at-home > section.at-funnel:not(.at-funnel-alt) h4 {
  color: #3A2A1C;
}

.at-home > section.at-funnel:not(.at-funnel-alt) .at-center-heading > p:last-child {
  color: rgba(58, 42, 28, 0.62);
}

.at-home > section.at-funnel:not(.at-funnel-alt) .at-kicker,
.at-home > section.at-funnel:not(.at-funnel-alt) .at-kicker-dark {
  color: #3A2A1C;
}

.at-home > section.at-funnel:not(.at-funnel-alt) .at-clarify,
.at-home > section.at-funnel:not(.at-funnel-alt) .at-step,
.at-home > section.at-funnel:not(.at-funnel-alt) .at-map-item,
.at-home > section.at-funnel:not(.at-funnel-alt) .at-library-card,
.at-home > section.at-funnel:not(.at-funnel-alt) .at-persona {
  color: #3A2A1C;
  background: #fff;
  border: 1px solid rgba(58, 42, 28, 0.1);
  border-radius: var(--at-card-radius, 18px);
}

.at-home > section.at-funnel:not(.at-funnel-alt) .at-clarify h3,
.at-home > section.at-funnel:not(.at-funnel-alt) .at-step h3,
.at-home > section.at-funnel:not(.at-funnel-alt) .at-map-item strong,
.at-home > section.at-funnel:not(.at-funnel-alt) .at-library-card h3,
.at-home > section.at-funnel:not(.at-funnel-alt) .at-persona h3 {
  color: #3A2A1C;
}

.at-home > section.at-funnel:not(.at-funnel-alt) .at-clarify p,
.at-home > section.at-funnel:not(.at-funnel-alt) .at-step p,
.at-home > section.at-funnel:not(.at-funnel-alt) .at-map-item p,
.at-home > section.at-funnel:not(.at-funnel-alt) .at-library-card p,
.at-home > section.at-funnel:not(.at-funnel-alt) .at-persona p,
.at-home > section.at-funnel:not(.at-funnel-alt) .at-transform li,
.at-home > section.at-funnel:not(.at-funnel-alt) .dl-note,
.at-home > section.at-funnel:not(.at-funnel-alt) .dl-note a {
  color: rgba(58, 42, 28, 0.62);
}

.at-home > section.at-funnel:not(.at-funnel-alt) .dl-note a {
  color: #3A2A1C;
  text-decoration: underline;
}

.at-home > section.at-funnel:not(.at-funnel-alt) .dl-card,
.at-home > section.at-funnel:not(.at-funnel-alt) .dl-resource-card,
.at-home > section.at-funnel:not(.at-funnel-alt) .dl-case-card {
  color: #3A2A1C;
  background: #fff;
  border: 1px solid rgba(58, 42, 28, 0.1);
  border-radius: var(--at-card-radius, 18px);
  box-shadow: none;
}

.at-home > section.at-funnel:not(.at-funnel-alt) .dl-card h2,
.at-home > section.at-funnel:not(.at-funnel-alt) .dl-card h3,
.at-home > section.at-funnel:not(.at-funnel-alt) .dl-card h4,
.at-home > section.at-funnel:not(.at-funnel-alt) .dl-lane-title {
  color: #3A2A1C;
}

.at-home > section.at-funnel:not(.at-funnel-alt) .dl-card p,
.at-home > section.at-funnel:not(.at-funnel-alt) .dl-case-card p {
  color: rgba(58, 42, 28, 0.62);
}

.at-home > section.at-funnel:not(.at-funnel-alt) .dl-card-index,
.at-home > section.at-funnel:not(.at-funnel-alt) .dl-lane-kicker {
  color: #3A2A1C;
}

.at-home > section.at-funnel:not(.at-funnel-alt) .dl-lane-find input {
  color: #3A2A1C;
  background: #fff;
  border: 1px solid rgba(58, 42, 28, 0.15);
}

.at-home > section.at-funnel:not(.at-funnel-alt) .dl-lane-find input::placeholder {
  color: rgba(58, 42, 28, 0.45);
}

.at-home > section.at-funnel:not(.at-funnel-alt) .dl-visual-index {
  background: #fff;
  border: 1px solid rgba(58, 42, 28, 0.1);
  color: #3A2A1C;
}

.at-home > section.at-funnel:not(.at-funnel-alt) .dl-visual-card {
  background: #F8F5EE;
  border: 1px solid rgba(58, 42, 28, 0.1);
}

.at-home > section.at-funnel:not(.at-funnel-alt) .dl-visual-card h4 {
  color: #3A2A1C;
}

.at-home > section.at-funnel:not(.at-funnel-alt) .dl-visual-links a {
  color: #F1E9DE;
}

.at-home > section.at-funnel:not(.at-funnel-alt) .dl-week-stat {
  background: #fff;
  border: 1px solid rgba(58, 42, 28, 0.1);
}

.at-home > section.at-funnel:not(.at-funnel-alt) .dl-week-stat strong {
  color: #3A2A1C;
}

.at-home > section.at-funnel:not(.at-funnel-alt) .dl-week-stat span {
  color: rgba(58, 42, 28, 0.55);
}

.at-home > section.at-funnel.at-funnel-alt .at-center-heading h2,
.at-home > section.at-funnel.at-funnel-alt h2,
.at-home > section.at-funnel.at-funnel-alt h3,
.at-home > section.at-funnel.at-funnel-alt h4 {
  color: #F1E9DE;
}

.at-home > section.at-funnel.at-funnel-alt .at-center-heading > p:last-child {
  color: rgba(244, 239, 230, 0.72);
}

.at-home > section.at-funnel.at-funnel-alt .at-kicker,
.at-home > section.at-funnel.at-funnel-alt .at-kicker-dark {
  color: #F1E9DE;
}

.at-home > section.at-funnel.at-funnel-alt .at-clarify {
  height: 100%;
  padding: 28px;
  border: 1px solid rgba(58, 42, 28, 0.24);
  border-top: 1px solid rgba(58, 42, 28, 0.24);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--at-card-radius, 18px);
}

.at-home > section.at-funnel.at-funnel-alt .at-clarify h3 {
  color: #fff;
}

.at-home > section.at-funnel.at-funnel-alt .at-clarify p {
  color: rgba(244, 239, 230, 0.78);
}

.at-home > section.at-funnel.at-funnel-alt .at-five-tabs button,
.at-home > section.at-funnel.at-funnel-alt .at-finder-opt {
  color: rgba(244, 239, 230, 0.84);
  background: rgba(252, 252, 249, 0.045);
  border-color: rgba(58, 42, 28, 0.28);
}

.at-home > section.at-funnel.at-funnel-alt .at-five-tabs button:hover {
  color: #F8F5EE;
  background: rgba(58, 42, 28, 0.12);
  border-color: rgba(58, 42, 28, 0.5);
}

.at-home > section.at-funnel.at-funnel-alt .at-five-tabs button.is-on {
  color: #F1E9DE;
  background: #3A2A1C;
  border-color: #3A2A1C;
}

.at-home > section.at-funnel.at-funnel-alt .at-five-panel,
.at-home > section.at-funnel.at-funnel-alt .at-finder-result {
  color: #F1E9DE;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--at-card-radius, 18px);
}

.at-home > section.at-funnel.at-funnel-alt .at-five-panel strong {
  color: #F1E9DE;
}

.at-home > section.at-funnel.at-funnel-alt .at-step,
.at-home > section.at-funnel.at-funnel-alt .at-map-item,
.at-home > section.at-funnel.at-funnel-alt .at-library-card,
.at-home > section.at-funnel.at-funnel-alt .at-persona {
  color: #F1E9DE;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(58, 42, 28, 0.22);
  border-radius: var(--at-card-radius, 18px);
}

.at-home > section.at-funnel.at-funnel-alt .at-step h3,
.at-home > section.at-funnel.at-funnel-alt .at-map-item strong,
.at-home > section.at-funnel.at-funnel-alt .at-library-card h3,
.at-home > section.at-funnel.at-funnel-alt .at-persona h3 {
  color: #fff;
}

.at-home > section.at-funnel.at-funnel-alt .at-step p,
.at-home > section.at-funnel.at-funnel-alt .at-map-item p,
.at-home > section.at-funnel.at-funnel-alt .at-library-card p,
.at-home > section.at-funnel.at-funnel-alt .at-persona p,
.at-home > section.at-funnel.at-funnel-alt .at-transform li {
  color: rgba(244, 239, 230, 0.78);
}

.at-home > section.at-funnel.at-funnel-alt .at-transform h3 {
  color: #F1E9DE;
}

.at-home > section.at-funnel.at-funnel-alt .dl-note,
.at-home > section.at-funnel.at-funnel-alt .dl-note a {
  color: rgba(244, 239, 230, 0.78);
}

.at-home > section.at-funnel.at-funnel-alt .dl-note a {
  color: #F1E9DE;
}

.at-dash {
  padding: 22px;
  border: 1px solid rgba(58, 42, 28, 0.28);
  border-left: 4px solid #3A2A1C;
  background: #3A2A1C;
  color: #F1E9DE;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.at-dash h2 {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F1E9DE;
}

.at-dash-tags span {
  border: 1px solid rgba(201, 191, 178, 0.4);
  color: #C9BFB2;
}

.at-dash-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 18px;
}

.at-dash-split-col {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.at-dash-split-win {
  border-color: rgba(58, 42, 28, 0.45);
  background: rgba(58, 42, 28, 0.08);
}

.at-dash-split-kicker {
  margin: 0 0 6px;
  color: #3A2A1C;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.at-dash-split-col p:last-child {
  margin: 0;
  color: rgba(244, 239, 230, 0.86);
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  .at-home > section.at-funnel {
    padding: 64px 0;
  }

  .dl-card,
  .dl-resource-card,
  .dl-case-card {
    min-height: 0;
  }
}

@media (max-width: 991.98px) {
  .at-value-pills {
    grid-template-columns: 1fr;
  }
}

.at-lib-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border: 1px solid rgba(58, 42, 28, 0.35);
  border-radius: 10px;
  background: rgba(58, 42, 28, 0.1);
  font-size: 1.25rem;
}

.at-library-grid,
.at-persona-grid {
  gap: 22px;
}

.at-library-card,
.at-persona {
  padding: 28px 24px 24px;
  min-height: 180px;
}

.at-transform {
  gap: 32px;
}

.at-transform ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
  line-height: 1.55;
}

.at-transform li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.at-li-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 191, 178, 0.35);
  color: #F1E9DE;
  font-size: 12px;
}

.at-number {
  padding: 32px 22px;
}

.at-num-icon {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.at-feature-image {
  position: relative;
  background: #3A2A1C;
}

.at-feature-image img {
  opacity: 0.38;
  mix-blend-mode: luminosity;
}

.at-feature-brand {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px;
  background: linear-gradient(180deg, transparent, rgba(11, 13, 15, 0.92));
  color: #F1E9DE;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(24px, 3vw, 34px);
}

.at-about-hero {
  padding-bottom: 72px;
}

.at-about-crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
}

.at-about-crumbs a {
  color: #F1E9DE !important;
  text-decoration: none;
}

.at-about-grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 768px) {
  .at-about-grid { grid-template-columns: repeat(3, 1fr); }
}

.at-about-grid article {
  padding: 28px 24px;
  border: 1px solid rgba(58, 42, 28, 0.22);
  background: rgba(255, 255, 255, 0.04);
  min-height: 240px;
}

.at-about-grid h2 {
  color: #fff;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 28px;
  margin: 0 0 12px;
}

.at-about-grid p {
  color: rgba(244, 239, 230, 0.78);
  line-height: 1.65;
}

.at-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

body.at-funnel-page,
body.at-funnel-page > section,
body.home-template-authority:has(.at-about) > section,
main.at-about {
  background: #3A2A1C !important;
}

main.at-about .at-about-hero h1 {
  max-width: 18ch;
  color: #fff;
  font-family: "Instrument Serif", Georgia, serif;
}

main.at-about .at-lead {
  max-width: 62ch;
  color: rgba(244, 239, 230, 0.78);
  line-height: 1.7;
}

@media (max-width: 575.98px) {
  .at-library-card,
  .at-persona,
  .at-about-grid article {
    min-height: 0;
    padding: 22px 18px;
  }

  .at-value-pills {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .at-transform {
    grid-template-columns: 1fr;
  }

  .dl-room-form,
  .dl-lib-actions,
  .at-pay-plans {
    min-width: 0;
  }
}

.at-finder-step {
  position: sticky;
  top: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  margin: 0 0 22px;
  padding: 10px 16px;
  border: 1px solid rgba(58, 42, 28, 0.38);
  border-radius: 12px;
  background: rgba(11, 13, 15, 0.96);
  color: #F1E9DE;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.at-finder-track {
  display: block;
  flex: 1 1 auto;
  min-width: 48px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.at-finder-track i,
.at-finder-track [data-finder-progress] {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #3A2A1C;
  transition: width 0.25s ease;
}

.at-finder-q.is-current h3 {
  color: #F1E9DE;
}

.at-finder-q.is-done h3 {
  opacity: 0.72;
}

.at-pay-choice {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.at-pay-choice label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 44px;
  padding: 12px;
  border: 1px solid rgba(58, 42, 28, 0.28);
  border-radius: 10px;
  cursor: pointer;
}

.dl-lib-heading {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 400;
}

.dl-lib-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(58, 42, 28, 0.22);
}

.dl-lib-nav a {
  color: rgba(244, 239, 230, 0.72) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
}

.dl-lib-nav a:hover {
  color: #F1E9DE !important;
}

.dl-lib-block {
  margin-bottom: 42px;
}

.dl-lib-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(252, 252, 249, 0.1);
}

.dl-lib-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(252, 252, 249, 0.1);
}

.dl-lib-copy {
  min-width: 0;
  flex: 1;
}

.dl-lib-copy h3 {
  margin: 0 0 4px;
  color: #F8F5EE;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.dl-lib-copy p {
  margin: 0;
  color: rgba(244, 239, 230, 0.62);
  font-size: 14px;
  line-height: 1.45;
}

.dl-lib-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-top: 0;
}

.dl-lib-link {
  color: rgba(244, 239, 230, 0.78) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}

.dl-lib-link:hover {
  color: #F1E9DE !important;
}

.dl-lib-actions .at-btn {
  margin-top: 0 !important;
  align-self: center !important;
  min-height: 40px;
  padding: 8px 14px !important;
  font-size: 13px;
  white-space: nowrap;
}

.dl-print {
  max-width: 72ch;
  padding: 28px 24px;
  border: 1px solid rgba(58, 42, 28, 0.22);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--at-card-radius, 18px);
  position: relative;
}

.dl-print ol {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 12px;
  color: rgba(244, 239, 230, 0.86);
  line-height: 1.6;
}

.dl-print--preview ol {
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.dl-preview-gate {
  margin-top: 8px;
  padding: 28px 24px;
  border: 1px solid rgba(241, 233, 222, 0.16);
  border-radius: var(--at-card-radius, 18px);
  background: rgba(20, 12, 6, 0.55);
  text-align: center;
}

.dl-preview-gate__title {
  margin: 0 0 8px;
  color: var(--at-on-espresso, #F1E9DE);
  font-family: var(--at-serif, Georgia, serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.dl-preview-gate__copy {
  max-width: 42ch;
  margin: 0 auto 20px;
  color: rgba(241, 233, 222, 0.62);
  font-size: 14px;
  line-height: 1.65;
}

.dl-preview-gate__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}


.dl-room-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.dl-room-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: rgba(20, 24, 31, 0.78);
}

.dl-room-form input,
.dl-room-form select,
.dl-room-form textarea,
.dl-room-form input[type="file"] {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(20, 24, 31, 0.16);
  border-radius: 10px;
  font-size: 16px;
}

.dl-req {
  color: #9a6b16;
  font-size: 12px;
}

.dl-room-delete {
  margin-top: 12px;
}

.at-pay-plans {
  margin: 16px 0 8px;
  padding: 16px 14px;
  border: 1px solid rgba(58, 42, 28, 0.28);
  border-radius: 10px;
  background: rgba(58, 42, 28, 0.08);
  font-size: 14px;
  line-height: 1.55;
}

.at-pay-plans-kicker {
  margin: 0 0 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  color: #9a6b16;
}

.at-pay-plans ul {
  margin: 0 0 10px;
  padding-left: 1.1em;
}

.at-pay-plans a {
  color: #7a5410;
}

.dl-visual-index {
  margin: 28px 0 36px;
  padding: 22px 20px;
  border: 1px solid rgba(58, 42, 28, 0.28);
  background: rgba(11, 13, 15, 0.35);
  color: rgba(252, 252, 249, 0.88);
  max-width: 100%;
}

.dl-visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.dl-visual-card {
  padding: 16px 16px 14px;
  border: 1px solid rgba(58, 42, 28, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.dl-visual-card h4 {
  margin: 4px 0 12px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.dl-visual-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.dl-visual-links a {
  color: #F1E9DE;
  font-size: 13px;
  font-weight: 600;
}

.dl-week-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}

.dl-week-stat {
  padding: 12px 10px;
  border: 1px solid rgba(58, 42, 28, 0.22);
  background: rgba(11, 13, 15, 0.35);
  text-align: center;
}

.dl-week-stat strong {
  display: block;
  color: #F1E9DE;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.dl-week-stat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(252, 252, 249, 0.62);
}

@media (min-width: 640px) {
  .dl-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .dl-lib-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
  }

  .dl-lib-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  .dl-visual-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 390px) {
  .at-finder-opt,
  .at-btn,
  .dl-lib-actions .at-btn {
    width: 100%;
    justify-content: center;
  }

  .dl-week-stats {
    grid-template-columns: 1fr;
  }
}


/* ===== CFM palette: deal lab dark surfaces + light accents ===== */
.dl-page {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(201, 191, 178, 0.12), transparent 55%),
    linear-gradient(180deg, #3A2A1C 0%, #2F2218 55%, #3A2A1C 100%) !important;
  color: #F1E9DE;
}

/* Homepage rhythm (wins over generic funnel-alt) */
#promise.at-funnel {
  background: #FFFFFF !important;
  color: #3A2A1C !important;
}

#five-ways.at-funnel-alt {
  background: #C9BFB2 !important;
  color: #3A2A1C !important;
}

#five-ways.at-funnel-alt .at-center-heading h2,
#five-ways.at-funnel-alt h2,
#five-ways.at-funnel-alt h3,
#five-ways.at-funnel-alt h4 {
  color: #3A2A1C !important;
}

#five-ways.at-funnel-alt .at-center-heading > p:last-child {
  color: rgba(58, 42, 28, 0.72) !important;
}

#five-ways.at-funnel-alt .at-kicker,
#five-ways.at-funnel-alt .at-kicker-dark {
  color: #3A2A1C !important;
}

#five-ways.at-funnel-alt .at-five-tabs button,
#five-ways.at-funnel-alt .at-finder-opt {
  color: #3A2A1C !important;
  background: rgba(248, 245, 238, 0.55) !important;
  border-color: rgba(58, 42, 28, 0.28) !important;
}

#five-ways.at-funnel-alt .at-five-tabs button:hover {
  color: #3A2A1C !important;
  background: rgba(248, 245, 238, 0.85) !important;
  border-color: rgba(58, 42, 28, 0.45) !important;
}

#five-ways.at-funnel-alt .at-five-tabs button.is-on {
  color: #F1E9DE !important;
  background: #3A2A1C !important;
  border-color: #3A2A1C !important;
}

#mastery-system.at-funnel {
  background: #F8F5EE !important;
  color: #3A2A1C !important;
}

#cases.at-funnel {
  background: #C9BFB2 !important;
  color: #3A2A1C !important;
}

#cases.at-funnel .at-center-heading h2,
#cases.at-funnel h2,
#cases.at-funnel h3,
#cases.at-funnel .at-kicker {
  color: #3A2A1C !important;
}

#cases.at-funnel .at-center-heading > p:last-child {
  color: rgba(58, 42, 28, 0.72) !important;
}

#shift.at-funnel-alt {
  background: #3A2A1C !important;
  color: #F1E9DE !important;
}

#shift.at-funnel-alt .at-center-heading h2,
#shift.at-funnel-alt h2,
#shift.at-funnel-alt h3,
#shift.at-funnel-alt .at-kicker {
  color: #F1E9DE !important;
}

#shift.at-funnel-alt .at-transform li {
  color: #C9BFB2 !important;
}


/* light funnel espresso labels (override dark-page cream accents) */
.at-home > section.at-funnel:not(.at-funnel-alt) .dl-card-index,
.at-home > section.at-funnel:not(.at-funnel-alt) .dl-lane-kicker,
.at-home > section.at-funnel:not(.at-funnel-alt) .dl-visual-links a,
.at-home > section.at-funnel:not(.at-funnel-alt) .dl-week-stat strong,
.at-home > section.at-funnel:not(.at-funnel-alt) .dl-lib-link:hover {
  color: #3A2A1C !important;
}
