/* AGI /workshop campaign page — section styles.
   Ported from templates/workshop/Workshop.dc.html (design source of truth). */

/* Shared primitives (.eyebrow, .h2, .check-row, .media-frame, .waitlist__*)
   now live in site.css so every page gets them, not just this one. */

/* ---------- 01 Hero ---------- */
.hero {
  background: var(--navy);
  background-image: radial-gradient(circle at 78% 12%, rgba(48, 161, 213, 0.22), transparent 55%);
  color: #fff;
  padding: 0 0 88px;
}
.hero__grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px clamp(20px, 4vw, 32px) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 56px;
  align-items: center;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--sky-200);
  margin-bottom: 26px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  text-wrap: pretty;
}
.hero__lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 22px;
  max-width: 34em;
  text-wrap: pretty;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 30px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--sky-200);
}
.hero__meta .dot { opacity: 0.45; }
.hero__form { display: flex; flex-direction: column; gap: 14px; max-width: 480px; }
.hero__form .waitlist__note { margin: 0; }
.hero__proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
}
.hero__proof .spark { color: var(--sky); font-weight: 600; }
.hero__photo {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}
.hero__photo--img { padding: 0; overflow: hidden; }
.hero__photo--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 30%;
}

/* ---------- 02 Proof bar ---------- */
.proof { background: var(--mist-100); padding: 0 0 44px; }
.proof__lift { transform: translateY(-42px); }
.proof__card {
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(4, 47, 95, 0.08);
  padding: 30px 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 34px;
  align-items: center;
}
.proof__identity {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 34px;
  border-right: 1px solid var(--border-hairline);
}
@media (max-width: 720px) {
  .proof__identity { border-right: none; padding-right: 0; }
}
.proof__avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--ocean), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  flex-shrink: 0;
}
.proof__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
}
.proof__role { font-size: 0.875rem; color: var(--text-muted); line-height: 1.45; }
.proof__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 26px 32px;
}

/* ---------- 03 Problem ---------- */
.problem { background: #fff; padding: 96px 0; }
.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 64px;
  align-items: start;
}
.problem__list { display: flex; flex-direction: column; gap: 18px; }
.problem__item {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: var(--mist-100);
  border-radius: 14px;
}
.problem__num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ocean);
  font-size: 1rem;
}
.problem__item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.0625rem;
  margin: 0 0 5px;
}
.problem__item p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- 04 Solution (4 Ps) ---------- */
.solution { background: var(--navy); color: #fff; padding: 96px 0; }
.solution__intro { max-width: 44em; margin-bottom: 52px; }
.solution__intro .h2--dark { margin-bottom: 18px; }
.solution__intro p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}
.solution__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.solution__card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.04);
}
.solution__card .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.625rem, 4.8vw, 2.25rem);
  color: var(--sky);
  line-height: 1;
  margin-bottom: 16px;
}
.solution__card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 0 8px;
}
.solution__card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* ---------- 05 Curriculum ---------- */
.curriculum { background: #fff; padding: 96px 0; }
.curriculum__intro { max-width: 40em; margin-bottom: 46px; }
.curriculum__intro .h2 { margin-bottom: 14px; }
.curriculum__intro p { font-size: 0.9375rem; color: var(--text-muted); margin: 0; }
.curriculum__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.course__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 14px;
}
.course__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--navy);
  margin: 0 0 18px;
  line-height: 1.2;
}
.course__modules { display: flex; flex-direction: column; gap: 13px; }
.course__module {
  display: flex;
  gap: 11px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.course__module .arrow { color: var(--ocean); font-weight: 600; }

/* ---------- 06 Included ---------- */
.included { background: var(--mist-100); padding: 96px 0; }
.included__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 60px;
  align-items: center;
}
.included__grid .h2 { margin-bottom: 26px; }
.included__list { display: flex; flex-direction: column; gap: 14px; }
.workbook-card {
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: 18px;
  padding: 32px;
}
.workbook-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 8px;
}
.workbook-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 22px;
}
.workbook-card__frame {
  border: 1px dashed var(--border-hairline);
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.workbook-card__frame--img {
  border-style: solid;
  padding: 0;
  overflow: hidden;
  background: var(--mist-100);
}
.workbook-card__frame--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- 07 About Derrick ---------- */
.about { background: #fff; padding: 96px 0; }
.about__grid {
  display: grid;
  /* Photo column pinned rather than an equal split, for the same reason as
     .home-derrick__inner: this frame holds derrick-portrait, which is 447x447
     and has no larger original. An equal split rendered it at 506x633 — a
     1.4x upscale, soft even on a non-retina screen. */
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
@media (max-width: 760px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); }
}
.about__grid .h2 { margin-bottom: 20px; }
.about__grid p {
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--text-muted);
  margin: 0 0 16px;
  /* Matches .home-derrick__body — the copy column widened when the photo
     column was pinned, and 81 characters is past a comfortable measure. */
  max-width: 36em;
}
.about__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.about__pill {
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--mist-100);
}

/* ---------- 08 Case study ---------- */
.case { background: var(--navy); color: #fff; padding: 96px 0; }
/* Explicit two-column split. With auto-fit, the full-width source line
   below forced a third track to exist, so the two real columns filled
   only two thirds of the row and left ~380px dead on the right. */
.case__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(30px, 4.5vw, 56px);
  align-items: center;
}
@media (max-width: 760px) {
  .case__grid { grid-template-columns: 1fr; }
}
.case__grid .h2--dark { margin-bottom: 18px; }
.case__grid > div > p {
  font-size: 1.0625rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}
.case__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 520px) {
  .case__stats { grid-template-columns: 1fr; }
}
.case__stat {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.04);
}
.case__stat .value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.625rem, 4.8vw, 2.25rem);
  color: var(--sky);
  line-height: 1;
}
.case__stat .label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}
.case__source {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}
.case__source a {
  color: var(--sky-200);
  text-decoration: none;
  border-bottom: 1px solid rgba(169, 218, 240, 0.4);
}
.case__source a:hover { color: #fff; border-bottom-color: #fff; }
.case__source a .arrow-x { border: 0; }

/* ---------- 09 Offer ---------- */
.offer { background: #fff; padding: 96px 0; }
.offer__wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
  text-align: center;
}
.offer__wrap .h2 { margin-bottom: 34px; }
.offer__card { text-align: left; }
.offer__card .agi-badge { margin-bottom: 22px; }
.offer__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 8px;
}
.offer__note {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 26px;
  line-height: 1.6;
}
.offer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}
.offer__list .check-row { font-size: 0.9375rem; }
.offer__footnote {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 14px 0 0;
}

/* ---------- 10 FAQ ---------- */
.faq { background: var(--mist-100); padding: 96px 0; }
.faq__wrap { max-width: 820px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.faq__wrap .h2 { margin-bottom: 34px; text-align: center; }
.faq__card {
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  padding: 8px 28px;
}

/* ---------- 11 Final CTA ---------- */
.final { background: var(--navy); color: #fff; padding: 100px 0; }
.final__wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
  text-align: center;
}
.final__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-wrap: pretty;
}
.final__body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 30px;
}
.final__book { margin: 0 0 34px; }
.final .waitlist__row { justify-content: center; }
.final .waitlist__field { min-width: 240px; }
.final .waitlist__note { margin-top: 16px; }
