/* Applied Lab V1 — "The Application Layer"
   Inherits all xframe components via /xframe/page.css.
   Only page-specific deltas live here. */

/* ---- value ladder graphic ---- */
.ladder { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 360px; }
.ladder-rung {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 18px;
  font-family: var(--font-head); font-weight: 500; font-size: .97rem;
  color: var(--ink-2); box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.ladder-rung .rung-num {
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  color: var(--muted); min-width: 22px; text-align: center;
  letter-spacing: .06em;
}
.ladder-rung.active {
  background: var(--ink); color: #fff; border-color: var(--red);
  box-shadow: 0 8px 28px -12px rgba(211,30,3,.45);
}
.ladder-rung.active .rung-num { color: var(--red-bright); }
.ladder-rung.active .rung-label { color: #fff; font-weight: 600; }
.ladder-rung.faded { opacity: .55; }
.ladder-arrow { text-align: center; font-size: .9rem; color: var(--red); font-weight: 700; line-height: 1; }

/* ---- curriculum grid (2-col ring-check) ---- */
.curriculum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 36px;
  max-width: 880px;
  margin: 0 auto;
}
.curriculum-grid li {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: 1rem; line-height: 1.5; color: #34373d;
}
.curriculum-grid li svg {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px;
}

/* ---- monthly rhythm split inside darkbox ---- */
.rhythm-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}
.rhythm-stat {
  text-align: center; padding: 18px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; margin-bottom: 14px;
}
.rhythm-stat .rs-num {
  font-family: var(--font-head); font-weight: 700;
  font-size: 2rem; color: var(--red-bright); line-height: 1;
}
.rhythm-stat .rs-label {
  font-size: .9rem; color: #c2c6cc; margin-top: 6px;
}
.rhythm-replay { font-size: .95rem; color: #c2c6cc; margin-top: 18px; line-height: 1.55; }

/* ---- for / not-for columns ---- */
.fit-duo {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3vw, 40px); align-items: start;
}
.fit-box {
  border-radius: 22px; padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.fit-box.yes { background: #fff; }
.fit-box.no { background: #f3f4f6; }
.fit-box h3 {
  font-size: 1.15rem; margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}

/* ---- "what makes this different" box ----
   Centered lightbox, no side image. .dlist li is a flex row, so the leading
   <strong> renders as its own label column; without a basis it squeezes to
   one word per line on desktop. */
.diff-box { max-width: 860px; margin-inline: auto; }
@media (min-width: 861px) {
  .diff-box .dlist.tight li strong { flex: 0 0 220px; }
}
/* on mobile the columns are too cramped: hang the icon and let the bold
   label flow inline as a lead-in instead */
@media (max-width: 860px) {
  .diff-box .dlist.tight li { display: block; position: relative; padding-left: 38px; }
  .diff-box .dlist.tight li svg { position: absolute; left: 0; top: 1px; }
}

/* ---- FAQ accordion ---- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
details.faq-item {
  border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; background: #fff;
}
details.faq-item[open] { box-shadow: var(--shadow-sm); }
summary.faq-q {
  font-family: var(--font-head); font-weight: 600;
  font-size: 1.02rem; color: var(--ink);
  padding: 18px 22px; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
summary.faq-q::-webkit-details-marker { display: none; }
summary.faq-q::after {
  content: "+"; font-size: 1.3rem; color: var(--red);
  flex-shrink: 0; transition: transform .25s;
}
details.faq-item[open] summary.faq-q::after { content: "\2212"; }
.faq-a {
  padding: 0 22px 20px; font-size: .98rem; color: #34373d; line-height: 1.65;
}
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---- hero copy block (subhead + 2-up + closing) ---- */
.hero-copy-block {
  max-width: 940px;
  margin: clamp(26px, 3.5vw, 40px) auto 0;
}

.hero-subhead {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.13rem, 1rem + .6vw, 1.32rem);
  color: var(--ink);
  line-height: 1.45;
  margin: 0 auto clamp(22px, 3vw, 32px);
  max-width: 620px;
}

.hero-2up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.5vw, 24px);
  margin-bottom: clamp(18px, 2.5vw, 26px);
}

.hero-2up-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: clamp(18px, 2.5vw, 26px) clamp(18px, 2.5vw, 24px);
  text-align: left;
}

.hero-2up-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--red);
  margin-bottom: 12px;
  flex-shrink: 0;
}

.hero-2up-card p {
  font-family: var(--font-body);
  font-size: clamp(.93rem, .88rem + .3vw, 1.02rem);
  color: #34373d;
  line-height: 1.65;
  margin: 0;
  text-align: left;
}

.hero-closing {
  font-family: var(--font-head);
  font-size: clamp(1rem, .94rem + .35vw, 1.12rem);
  font-weight: 500;
  color: #34373d;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 560px;
}

/* keep all 3 cards on one row across desktop/tablet; stack only on true mobile */
@media (max-width: 600px) {
  .hero-2up {
    grid-template-columns: 1fr;
  }
}

/* ---- hero community image (in place of VSL) ---- */
.hero-img-wrap {
  width: 100%; max-width: 940px;
  margin: 0 auto;
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-img-wrap img { width: 100%; height: auto; display: block; }

/* ---- avatar cluster (decorative members row) ---- */
.member-cluster {
  display: flex; align-items: center;
  justify-content: center; gap: 0; margin-top: 20px;
}
.member-cluster img {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid #fff; object-fit: cover;
  margin-left: -10px; box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.member-cluster img:first-child { margin-left: 0; }
.member-cluster .mc-label {
  font-size: .86rem; color: #c2c6cc; margin-left: 14px;
  font-family: var(--font-head); font-weight: 500;
}

/* ---- accreditation logo row ---- */
.cred-row {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 40px); flex-wrap: wrap; margin-top: 30px;
}
.cred-row img {
  height: clamp(36px, 5vw, 50px); filter: grayscale(1); opacity: .65;
  transition: filter .3s, opacity .3s;
}
.cred-row img:hover { filter: none; opacity: 1; }

/* ---- value anchor row (was / now pricing) ---- */
.was-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .92rem; padding: 10px 0; color: #8a8f97;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.was-row .label { color: #c2c6cc; }
/* single anchor variant — no strikethrough, just a clean value call-out */
.was-row--anchor {
  border-bottom: 1px solid rgba(255,255,255,.18);
  padding-bottom: 12px; margin-bottom: 4px;
  align-items: baseline;
}
.was-val {
  font-family: var(--font-head); font-weight: 600;
  font-size: .88rem; color: #fff;
  white-space: nowrap;
}
.was-val .val-accent {
  color: #ff5040; /* lighter red — passes 4.5:1 on the dark panel bg */
}

/* ---- kicker line above the anchor ---- */
.or-kicker {
  font-family: var(--font-head); font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: #8a8f97; margin: 0 0 12px;
}

/* ---- small prose note below the anchor row ---- */
.or-plus-note {
  font-size: .85rem; color: #8a8f97; line-height: 1.5;
  margin: 8px 0 0;
}

/* ---- offer receipt override: cancel-anytime note ---- */
.cancel-note {
  font-size: .82rem; color: #8a8f97; text-align: center;
  margin-top: 10px; font-family: var(--font-head);
  letter-spacing: .04em;
}

/* ---- responsive ---- */
@media (max-width: 860px) {
  .fit-duo { grid-template-columns: 1fr; }
  .rhythm-split { grid-template-columns: 1fr; }
  .rhythm-split .split-media { order: -1; max-width: 420px; margin: 0 auto; }
  .curriculum-grid { grid-template-columns: 1fr; }
  .ladder { max-width: 100%; }
}
@media (max-width: 560px) {
  .member-cluster { flex-wrap: wrap; }
  .member-cluster img { width: 34px; height: 34px; }
  .member-cluster .mc-label {
    flex-basis: 100%;
    margin-left: 0;
    margin-top: 14px;
    text-align: center;
  }
}
