@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* MODULE 3 CSS — matched to Module 2 visual system */

/* BASE */
:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --surface-soft: #f2efe7;
  --sage: #dfe8d7;
  --sage-deep: #5f755d;
  --green: #244638;
  --graphite: #252a27;
  --muted: #68726a;
  --sand: #c7aa73;
  --line: rgba(37, 42, 39, 0.12);
  --shadow: 0 18px 48px rgba(42, 51, 45, 0.09);
  --radius: 8px;
  --max: 1160px;
  --text: 740px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--graphite);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--green);
  font-weight: 500;
  line-height: 1.12;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.3rem, 4.25vw, 4.25rem);
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h2 {
  max-width: 860px;
  font-size: clamp(2rem, 4.4vw, 3.75rem);
}

h3 {
  font-size: 1.28rem;
}

.module-page {
  overflow: hidden;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.section-header {
  display: grid;
  gap: 22px;
  margin-bottom: 42px;
}

.section-header p {
  max-width: var(--text);
  color: var(--muted);
  font-size: 1.12rem;
}

.eyebrow,
.card-kicker {
  color: var(--sage-deep);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-row,
.hero-actions,
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.btn,
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.button:hover {
  transform: translateY(-1px);
}

.btn-primary,
.button-primary {
  background: var(--green);
  color: #fff;
}

.btn-secondary,
.button-secondary {
  border-color: rgba(36, 70, 56, 0.32);
  color: var(--green);
  background: rgba(255, 255, 255, 0.52);
}

/* HERO — matched to module-2 hero */
.hero-section {
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 54px 0 74px;
  background:
    linear-gradient(105deg, rgba(251, 250, 246, 0.97) 0%, rgba(251, 250, 246, 0.92) 50%, rgba(223, 232, 215, 0.58) 100%),
    radial-gradient(circle at 82% 18%, rgba(199, 170, 115, 0.22), transparent 28%),
    radial-gradient(circle at 12% 82%, rgba(95, 117, 93, 0.16), transparent 34%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
  gap: 58px;
  align-items: end;
}

.hero-copy h1 {
  margin-top: 18px;
}

.hero-subtitle {
  max-width: 860px;
  margin: 26px 0 0;
  color: #2f4138;
  font-size: clamp(1.28rem, 2vw, 1.52rem);
  line-height: 1.5;
}

.hero-copy > p:not(.hero-subtitle) {
  max-width: 820px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-copy > p:not(.hero-subtitle) + p:not(.hero-subtitle) {
  margin-top: 14px;
  font-size: 1.02rem;
}

.hero-card {
  align-self: center;
  transform: translateY(-24px);
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(36, 70, 56, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-card p {
  margin: 0;
  color: var(--green);
  font-size: clamp(0.98rem, 1.08vw, 1.08rem);
  line-height: 1.58;
  font-weight: 500;
}

/* CONTEXTS */
.interaction-section {
  background:
    linear-gradient(180deg, rgba(250, 248, 241, 0.88), rgba(246, 242, 232, 0.96)),
    var(--bg);
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.context-card,
.logic-card,
.result-card,
.topic-item {
  border: 1px solid rgba(37, 42, 39, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 38px rgba(42, 51, 45, 0.055);
}

.context-card {
  min-height: 230px;
  padding: 28px;
}

.context-card-wide {
  grid-column: 1 / -1;
  min-height: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(242, 239, 231, 0.76)),
    rgba(255, 255, 255, 0.82);
  border-color: rgba(199, 170, 115, 0.32);
}

.context-card-label {
  display: block;
  margin: -4px 0 12px;
  color: rgba(95, 117, 93, 0.62);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.context-card h3,
.logic-card h3,
.result-card h3,
.topic-item h3 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: clamp(1.22rem, 1.62vw, 1.5rem);
}

.context-card p,
.logic-card p,
.result-card p,
.topic-item p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

/* LOGIC */
.conflict-logic-section {
  background:
    radial-gradient(circle at 12% 22%, rgba(199, 170, 115, 0.1), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(95, 117, 93, 0.11), transparent 32%),
    var(--bg);
}

.logic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.logic-card {
  padding: 28px;
}

.number,
.result-number,
.topic-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(95, 117, 93, 0.14);
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.logic-card-accent,
.result-card-accent {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.13), transparent 34%),
    linear-gradient(145deg, #264e3d, #1f4233);
}

.logic-card-accent h3,
.logic-card-accent p,
.result-card-accent h3,
.result-card-accent p {
  color: #fff;
}

.logic-card-accent p,
.result-card-accent p {
  opacity: 0.9;
}

.logic-card-accent .number,
.result-card-accent .result-number {
  background: rgba(199, 170, 115, 0.2);
  color: #fff;
}

/* TOPICS */
.topics-section {
  background: rgba(246, 242, 232, 0.96);
}

.topics-list {
  display: grid;
  gap: 16px;
  max-width: 1060px;
}

.topic-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 22px;
  padding: 28px;
  align-items: start;
}

.topic-item > span {
  margin-bottom: 0;
}

.topic-item h3 {
  margin-bottom: 8px;
}

/* FORMAT */
.format-section {
  background: var(--bg);
}

.format-card,
.program-link-card {
  max-width: 1040px;
  padding: clamp(30px, 4.5vw, 50px);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(37, 42, 39, 0.1);
  box-shadow: 0 16px 44px rgba(42, 51, 45, 0.06);
}

.format-card h2,
.program-link-card h2 {
  margin-top: 12px;
  margin-bottom: 22px;
}

.format-card p,
.program-link-card p {
  max-width: 900px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

/* RESULTS */
.results-section {
  background: var(--bg);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
}

.result-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  padding: 28px;
}

.result-card h3 {
  margin: 0;
}

.result-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.result-card-accent p {
  color: rgba(255, 255, 255, 0.9);
}

/* PROGRAM LINK */
.program-link-section {
  background:
    radial-gradient(circle at 10% 18%, rgba(199, 170, 115, 0.1), transparent 30%),
    radial-gradient(circle at 90% 70%, rgba(95, 117, 93, 0.1), transparent 32%),
    var(--bg);
}

.program-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.program-mini-grid article {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(242, 239, 231, 0.82);
  border: 1px solid rgba(37, 42, 39, 0.08);
}

.program-mini-grid h3 {
  display: block;
  margin: 0 0 8px;
  color: var(--green);
  font-size: 1.08rem;
}

.program-mini-grid p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.62;
}

/* FINAL CTA */
.final-cta-section {
  background: var(--bg);
}

.final-cta {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.11), transparent 34%),
    linear-gradient(145deg, #264e3d, #1f4233);
  color: #fff;
  box-shadow: 0 24px 70px rgba(31, 66, 51, 0.16);
}

.final-cta h2 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 3.2vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.final-cta p {
  max-width: 740px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.72;
}

.final-cta .button-light {
  background: #fff;
  color: var(--green);
}

.final-cta .button-muted {
  background: rgba(255, 255, 255, 0.55);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .context-grid,
  .logic-grid,
  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .section {
    padding: 72px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 76px 0 68px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-card {
    transform: none;
  }

  .program-mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .hero-section {
    padding: 44px 0 56px;
  }

  h1 {
    font-size: 2.05rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-subtitle {
    margin-top: 18px;
    font-size: 1.06rem;
    line-height: 1.58;
  }

  .hero-copy > p:not(.hero-subtitle) {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .hero-actions,
  .final-cta-actions {
    align-items: stretch;
  }

  .btn,
  .button {
    width: 100%;
  }

  .hero-card,
  .context-card,
  .logic-card,
  .topic-item,
  .format-card,
  .program-link-card,
  .result-card,
  .final-cta {
    padding: 24px;
  }

  .context-grid,
  .logic-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .topic-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .final-cta h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .final-cta p {
    font-size: 1rem;
  }
}

/* MODULE 3 APPROVED DESIGN OVERRIDES START */
:root {
  --bg: #f4f5f6;
  --surface: #ffffff;
  --surface-soft: #eef1f4;
  --graphite: #111820;
  --muted: #5d6874;
  --blue: #2f77a7;
  --blue-deep: #162a46;
  --blue-row: #183e60;
  --line: rgba(17, 24, 32, 0.12);
  --shadow: 0 18px 52px rgba(17, 24, 32, 0.06);
  --radius: 0px;
  --max: 1220px;
  --text: 780px;
  --font-main: "Manrope", "Inter", "Helvetica Neue", Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--graphite);
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.module-page {
  overflow: hidden;
  background: var(--bg);
}

.container {
  width: min(var(--max), calc(100% - 52px));
}

h1,
h2,
h3 {
  color: var(--graphite);
  font-family: var(--font-main);
  font-weight: 400;
  letter-spacing: -0.035em;
  font-kerning: normal;
}

h1 {
  max-width: 900px;
  font-size: clamp(3rem, 4.85vw, 5.25rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.12rem, 1.42vw, 1.48rem);
  line-height: 1.16;
  letter-spacing: -0.032em;
}

p {
  color: var(--muted);
  letter-spacing: -0.01em;
}

.section {
  padding: clamp(78px, 8vw, 116px) 0;
  background: var(--bg);
}

.section-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 920px;
  margin-bottom: 44px;
}

.section-header::before {
  content: "";
  position: absolute;
  left: -42px;
  top: -36px;
  width: 280px;
  height: 230px;
  pointer-events: none;
  opacity: 0.28;
  background-image: radial-gradient(circle, rgba(17, 24, 32, 0.16) 1px, transparent 1.6px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.78) 48%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.78) 48%, transparent 100%);
  z-index: -1;
}

.section-header p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.24vw, 1.12rem);
  line-height: 1.64;
}

.eyebrow,
.card-kicker,
.module-switch-kicker {
  color: #5f7486;
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.program-menu-brand {
  font-family: var(--font-main);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--graphite);
}

.program-menu-link {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.button,
.btn {
  min-height: 42px;
  border-radius: 999px;
  padding: 0 18px;
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button-primary,
.button-light,
.btn-primary {
  background: #ffffff;
  color: var(--graphite);
  border-color: #ffffff;
}

.button-secondary,
.button-muted,
.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: none;
}

.button:hover,
.btn:hover {
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 66px);
  display: grid;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(16, 42, 64, 0.94) 0%, rgba(16, 42, 64, 0.84) 42%, rgba(16, 42, 64, 0.68) 100%),
    #162a46;
}

.hero-section::before {
  content: "";
  position: absolute;
  left: -48px;
  top: 18%;
  width: 340px;
  height: 260px;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.72) 1px, transparent 1.6px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.62) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.62) 50%, transparent 100%);
  z-index: -1;
}

.hero-grid {
  min-height: calc(100vh - 66px);
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.42fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: end;
  padding: clamp(54px, 7vw, 92px) 0 clamp(44px, 5vw, 68px);
}

.hero-copy {
  max-width: 860px;
}

.hero-section .eyebrow,
.hero-section h1,
.hero-subtitle,
.hero-copy > p:not(.hero-subtitle) {
  color: #ffffff;
}

.hero-section .eyebrow {
  opacity: 0.82;
}

.hero-section h1 {
  max-width: 860px;
  margin-top: 18px;
  color: #ffffff;
  font-size: clamp(2.7rem, 4.65vw, 5.05rem);
  line-height: 1.08;
  letter-spacing: -0.048em;
}

.hero-subtitle {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.90);
  font-size: clamp(1.05rem, 1.34vw, 1.18rem);
  line-height: 1.58;
  font-weight: 500;
}

.hero-copy > p:not(.hero-subtitle) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.96rem;
  line-height: 1.68;
}

.hero-card {
  align-self: end;
  transform: none;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: rgba(10, 24, 40, 0.34);
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.58;
  font-weight: 400;
}

.hero-actions {
  margin-top: 28px;
}

.interaction-section,
.conflict-logic-section,
.topics-section,
.format-section,
.results-section,
.program-link-section,
.module-switch-section,
.final-cta-section {
  background: var(--bg);
  background-image: none;
}

.context-grid,
.logic-grid,
.program-mini-grid {
  gap: clamp(18px, 2vw, 24px);
}

.context-card,
.logic-card,
.format-card,
.program-link-card,
.program-mini-grid article,
.module-switch-card,
.result-card {
  border: 1px solid rgba(17, 24, 32, 0.13);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.context-card,
.logic-card,
.format-card,
.program-link-card,
.program-mini-grid article {
  padding: 28px 30px;
}

.context-card p,
.logic-card p,
.topic-item p,
.format-card p,
.program-link-card p,
.program-mini-grid p,
.result-card p {
  color: var(--muted);
  font-family: var(--font-main);
  font-size: clamp(0.98rem, 1.08vw, 1.06rem);
  line-height: 1.68;
}

.context-card h3,
.logic-card h3,
.topic-item h3,
.format-card h2,
.program-link-card h2,
.program-mini-grid h3,
.result-card h3 {
  color: var(--graphite);
}

.context-card-label {
  color: #66727e;
  font-family: var(--font-main);
  letter-spacing: 0.11em;
}

.logic-card-accent,
.result-card-accent,
.final-cta {
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #183e60;
  box-shadow:
    0 24px 58px rgba(17, 24, 32, 0.16),
    0 12px 28px rgba(24, 62, 96, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.17);
}

.logic-card-accent h3,
.logic-card-accent p,
.result-card-accent h3,
.result-card-accent p {
  color: rgba(255, 255, 255, 0.88);
}

.logic-card-accent h3,
.result-card-accent h3 {
  color: #ffffff;
}

.number,
.result-number,
.topic-item > span {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #66727e;
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.logic-card .number {
  margin-bottom: 14px;
}

.logic-card-accent .number,
.result-card-accent .result-number {
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
}

.topics-list,
.result-grid {
  gap: 0;
  border-top: 1px solid rgba(17, 24, 32, 0.16);
}

.topic-item {
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 26px;
  padding: 30px 34px;
  border: 0;
  border-bottom: 1px solid rgba(17, 24, 32, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.result-grid {
  grid-template-columns: 1fr;
  max-width: 100%;
}

.result-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px 26px;
  padding: 28px 34px;
  border: 0;
  border-bottom: 1px solid rgba(17, 24, 32, 0.16);
  background: transparent;
}

.result-number {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.result-card h3,
.result-card p {
  grid-column: 2;
}

.result-card-accent {
  background: #183e60;
  border-bottom-color: rgba(13, 35, 56, 0.42);
}

.program-mini-grid {
  margin-top: 28px;
}

.module-switch-section {
  padding: 52px 0 28px;
}

.module-switch-card {
  min-height: 150px;
  padding: 26px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.module-switch-card:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 95, 143, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.module-switch-card.is-home {
  background: rgba(255, 255, 255, 0.64);
}

.module-switch-title {
  color: var(--graphite);
  font-family: var(--font-main);
  font-weight: 500;
  letter-spacing: -0.032em;
}

.module-switch-note {
  color: var(--muted);
  font-family: var(--font-main);
  letter-spacing: -0.01em;
}

.final-cta {
  padding: clamp(52px, 7vw, 86px);
  background: #162a46;
  color: #ffffff;
}

.final-cta h2 {
  max-width: 860px;
  color: #ffffff;
  font-weight: 300;
  font-size: clamp(2.45rem, 4.2vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.048em;
}

.final-cta p {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.7;
}

.final-cta .button-light {
  background: #ffffff;
  color: var(--graphite);
  border-color: #ffffff;
}

.final-cta .button-muted {
  background: #111820;
  color: #ffffff;
  border-color: #111820;
}

@media (max-width: 960px) {
  .container {
    width: min(var(--max), calc(100% - 40px));
  }

  .hero-section {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 64px 0;
  }

  .hero-card {
    max-width: 680px;
  }

  .context-grid,
  .logic-grid,
  .program-mini-grid,
  .module-switch,
  .module-switch.two-items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 66px 0;
  }

  .section-header::before {
    left: -18px;
    top: -22px;
    width: 180px;
    height: 150px;
    opacity: 0.20;
  }

  .hero-section h1 {
    font-size: clamp(2.32rem, 10.5vw, 3.35rem);
    line-height: 1.1;
    letter-spacing: -0.034em;
  }

  .hero-subtitle,
  .hero-copy > p:not(.hero-subtitle) {
    font-size: 1rem;
  }

  .hero-actions,
  .final-cta-actions {
    align-items: stretch;
  }

  .button,
  .btn {
    width: 100%;
  }

  .hero-card,
  .context-card,
  .logic-card,
  .topic-item,
  .format-card,
  .program-link-card,
  .program-mini-grid article,
  .result-card,
  .final-cta {
    padding: 24px;
  }

  .topic-item,
  .result-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .result-number,
  .result-card h3,
  .result-card p {
    grid-column: auto;
    grid-row: auto;
  }

  .final-cta h2 {
    font-size: clamp(2.05rem, 10vw, 3.2rem);
  }
}
/* MODULE 3 APPROVED DESIGN OVERRIDES END */

/* MODULE HERO H1 1.5X REDUCTION START */

.module-hero h1,
.hero h1,
.hero-section h1 {
  max-width: 820px !important;
  font-size: clamp(2.85rem, 4.15vw, 4.2rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em !important;
  word-spacing: 0.03em !important;
  font-weight: 300 !important;
}

.module-hero .hero-lead,
.module-hero .lead,
.hero .hero-lead,
.hero .lead {
  max-width: 760px !important;
  line-height: 1.62 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 1100px) {
  .module-hero h1,
  .hero h1,
  .hero-section h1 {
    max-width: 760px !important;
    font-size: clamp(2.55rem, 5.1vw, 3.65rem) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.006em !important;
    word-spacing: 0.025em !important;
  }
}

@media (max-width: 760px) {
  .module-hero h1,
  .hero h1,
  .hero-section h1 {
    max-width: 100% !important;
    font-size: clamp(2.1rem, 8.6vw, 3.05rem) !important;
    line-height: 1.18 !important;
    letter-spacing: 0 !important;
    word-spacing: 0.015em !important;
  }

  .module-hero .hero-lead,
  .module-hero .lead,
  .hero .hero-lead,
  .hero .lead {
    line-height: 1.65 !important;
  }
}

/* MODULE HERO H1 1.5X REDUCTION END */
