:root {
  --ink: #06152e;
  --muted: #566578;
  --paper: #f5f9ff;
  --panel: #ffffff;
  --line: #d9e6fb;
  --navy: #06245c;
  --navy-2: #03173b;
  --blue: #2d89ff;
  --sky: #5db2ff;
  --ice: #eaf4ff;
  --red: #c84d5c;
  --shadow: 0 24px 60px rgba(6, 36, 92, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--paper) 48%, #edf6ff 100%);
}

a {
  color: inherit;
}

/* Enlace dentro de un párrafo: el color base es heredado y ahí no se vería. */
.inline-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
}

.inline-link:hover {
  color: var(--navy-2);
}

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  /* clip y no hidden: recorta el fondo a sangre de la topbar sin romper el sticky. */
  overflow-x: clip;
}

/* La topbar acompaña todo el scroll: si no, el botón de la clase gratuita
   solo se ve en el primer 4% de la página y desaparece para siempre. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 12px;
  transition: padding 160ms ease;
}

/* Fondo a sangre sin tocar el marcado de las 26 páginas. */
.topbar::before {
  content: "";
  position: absolute;
  inset: 0 calc(-50vw + 50%);
  z-index: -1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.topbar.is-stuck {
  padding: 12px 0;
}

.topbar.is-stuck::before {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(6, 36, 92, 0.07);
}

.topbar.is-stuck .brand-logo {
  width: clamp(112px, 11vw, 134px);
}

/* Lo que se revela tras el formulario no debe quedar debajo de la barra. */
.site-shell [id] {
  scroll-margin-top: 96px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: clamp(148px, 15vw, 180px);
  height: auto;
  transition: width 160ms ease;
}.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 650;
}

.nav-pill {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(45, 137, 255, 0.42);
  border-radius: 999px;
  padding: 11px 17px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  background: var(--ice);
  box-shadow: 0 8px 22px rgba(6, 36, 92, 0.1);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

a.nav-pill::before {
  content: "▦";
  color: var(--blue);
  font-size: 18px;
  line-height: 1;
}

a.nav-pill:hover {
  border-color: var(--blue);
  background: #fff;
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(330px, 0.72fr);
  gap: 34px;
  width: min(1160px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 24px 0 38px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid rgba(45, 137, 255, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--navy);
  background: rgba(45, 137, 255, 0.1);
  font-weight: 760;
}

.hero h1,
.resource-hero h1 {
  margin: 18px 0 16px;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p,
.resource-hero p {
  max-width: 680px;
  margin: 0;
  color: #34445e;
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.45;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  max-width: 760px;
}

.point {
  min-height: 94px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.point strong {
  display: block;
  margin-bottom: 6px;
}

.point span {
  color: var(--muted);
  line-height: 1.35;
}

.resource-library,
.content-band {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 54px;
}

.resource-library,
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-card,
.video-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.resource-card {
  padding: 22px;
}

.resource-card h2 {
  margin: 16px 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.resource-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.45;
}

.lead-panel,
.market-visual,
.checklist-panel,
.summary-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.lead-panel.featured {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.98));
}.lead-panel {
  padding: 22px;
}

.lead-panel h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.lead-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.4;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 750;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(45, 137, 255, 0.14);
}

.field select {
  appearance: none;
  padding-right: 36px;
  background:
    #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2306245c' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 13px center;
  cursor: pointer;
}

.field-optional {
  color: var(--muted);
  font-size: 0.85em;
  font-weight: 500;
}

/* Prefijo del país pegado al número: se ve qué se va a guardar. */
.phone-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.phone-input:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(45, 137, 255, 0.14);
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 11px;
  border-right: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
  background: var(--ice);
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
}

.phone-prefix[hidden] {
  display: none;
}

.field .phone-input input[type="tel"] {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0 8px 8px 0;
  box-shadow: none;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  line-height: 1.35;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border-radius: 8px;
  padding: 12px 17px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 820;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 14px 28px rgba(45, 137, 255, 0.22);
}

.primary-button:hover {
  background: linear-gradient(135deg, var(--navy-2), #1b73e8);
}

.secondary-button {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}.form-status {
  min-height: 22px;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 700;
}

.returning-lead {
  display: flex;
  grid-column: 1 / -1;
  gap: 18px;
  min-width: 0;
  padding: 14px 16px;
  align-items: center;
  justify-content: space-between;
  border-left: 4px solid var(--blue);
  background: var(--ice);
}

.returning-lead-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.returning-lead-copy span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.returning-lead-copy strong {
  overflow-wrap: anywhere;
  color: var(--navy-2);
  font-size: 18px;
}

.returning-lead-copy small {
  color: var(--muted);
  line-height: 1.35;
}

.returning-lead-change {
  flex: 0 0 auto;
  border: 0;
  padding: 8px 0;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.returning-lead-change:hover {
  color: var(--blue);
}.video-resource {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.video-panel {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy-2);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.resource-hero {
  width: min(1160px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 18px 0 28px;
}

.resource-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 54px;
  align-items: start;
}

.checklist-panel {
  overflow: hidden;
}

.checklist-section {
  border-top: 1px solid var(--line);
  padding: 22px;
}

.checklist-section:first-child {
  border-top: 0;
}

.checklist-section h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.check-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(222, 217, 206, 0.62);
}

.check-item:first-of-type {
  border-top: 0;
}

.check-item input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.check-item strong {
  display: block;
  margin-bottom: 4px;
}

.check-item span {
  color: var(--muted);
  line-height: 1.4;
}

.summary-panel {
  position: sticky;
  top: 18px;
  padding: 20px;
}

.progress-ring {
  display: grid;
  place-items: center;
  width: 144px;
  height: 144px;
  margin: 6px auto 18px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) var(--progress, 0deg), var(--ice) 0);
}

.progress-ring span {
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: #fff;
  font-size: 28px;
  font-weight: 850;
}

.summary-panel h2 {
  margin: 0 0 8px;
  text-align: center;
}

.summary-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.4;
  text-align: center;
}

.decision-box {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  background: var(--ice);
}

.decision-box strong {
  display: block;
  margin-bottom: 5px;
}

.decision-box span {
  color: var(--muted);
  line-height: 1.35;
}

.library-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  width: min(1160px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 42px 0 38px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.library-intro h1 {
  max-width: 760px;
  margin: 18px 0 14px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.library-intro p {
  max-width: 720px;
  margin: 0;
  color: #34445e;
  font-size: 20px;
  line-height: 1.5;
}.library-section,
.model-section,
.video-stage,
.trade-breakdown,
.coming-band,
.amd-preview-band {
  width: min(1160px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.library-section,
.model-section {
  padding: 42px 0 56px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading h2,
.amd-preview-copy h2,
.trade-breakdown h2,
.coming-band h2 {
  margin: 6px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.section-kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.resource-count {
  color: var(--muted);
  font-weight: 750;
}

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

.library-card {
  display: grid;
  grid-template-rows: 220px minmax(0, 1fr);
  min-height: 510px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(6, 36, 92, 0.11);
}

.library-card-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: none;
  min-height: 350px;
}

.library-card-featured .resource-cover {
  min-height: 350px;
}

.library-card-featured .library-card-body {
  justify-content: center;
  padding: 38px;
}

.library-card-featured h3 {
  max-width: 650px;
  font-size: clamp(32px, 4vw, 46px);
}

.resource-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 24px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.resource-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 54px);
}

.resource-cover > * {
  position: relative;
  z-index: 1;
}

.cover-label {
  font-size: 13px;
  font-weight: 850;
}

.resource-cover > strong {
  max-width: 260px;
  font-size: 24px;
  line-height: 1.05;
}.c3-cover {
  background: linear-gradient(145deg, #03173b, #0b3d7c);
}

.program-cover {
  background: linear-gradient(145deg, #05204f, #1780df);
}

.system-cover {
  background: linear-gradient(145deg, #061a40, #0a54a8);
}

.system-mark {
  display: grid;
  gap: 5px;
  align-content: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

.system-mark strong {
  color: var(--sky);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.system-mark span {
  font-size: 11px;
  font-weight: 820;
}

.program-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.program-stack span {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 820;
  text-align: center;
}

.program-stack span:first-child {
  color: var(--navy);
  background: var(--sky);
}

.program-hero h1 {
  max-width: 980px;
}

.program-hero p {
  max-width: 780px;
}.c3-mark {
  display: flex;
  align-items: end;
  gap: 16px;
}

.c3-mark strong {
  color: var(--sky);
  font-size: clamp(64px, 8vw, 108px);
  line-height: 0.8;
}

.c3-mark span {
  max-width: 160px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
}.library-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
}

.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.resource-meta span + span {
  color: var(--muted);
}

.library-card h3 {
  margin: 16px 0 10px;
  font-size: clamp(25px, 2.5vw, 31px);
  line-height: 1.05;
}

.library-card p {
  flex: 1;
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.5;
}.resource-hero-compact {
  padding-bottom: 20px;
}

.resource-hero-compact h1 {
  font-size: clamp(48px, 8vw, 90px);
}

.video-stage {
  width: min(920px, calc(100% - 32px));
  margin-bottom: 42px;
}

.video-download-flow {
  display: flex;
  flex-direction: column;
}

.video-download-flow .download-gate {
  order: -3;
}

.video-download-flow .c3-review-call {
  order: -2;
}

.video-download-flow > .masterclass-promo {
  order: -1;
  margin-bottom: 42px;
}

.video-priority-hero {
  margin-top: 4px;
  padding-top: 8px;
  padding-bottom: 14px;
}

.video-priority-hero h1 {
  margin: 12px 0 8px;
  font-size: clamp(42px, 6vw, 68px);
}

.video-priority-hero p {
  font-size: clamp(16px, 1.8vw, 20px);
}

.video-priority-flow .video-stage {
  order: -4;
  width: min(980px, calc(100% - 32px));
  margin-bottom: 26px;
}

.video-priority-flow .download-gate {
  order: -3;
}

.video-priority-flow .c3-review-call {
  order: -2;
}

.video-priority-flow > .masterclass-promo {
  order: -1;
}

.video-stage .video-panel {
  box-shadow: 0 24px 60px rgba(6, 36, 92, 0.2);
}

.loom-frame {
  aspect-ratio: 16 / 9;
}

.video-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}.download-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  gap: 44px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 56px;
  padding: 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(234, 244, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.compact-download {
  display: block;
  width: min(920px, calc(100% - 32px));
  margin-bottom: 28px;
  padding: 0;
  border: 0;
  background: transparent;
}

.compact-download .lead-panel {
  display: grid;
  grid-template-columns: minmax(190px, 0.62fr) minmax(0, 1.38fr);
  gap: 28px;
  padding: 24px;
  align-items: center;
}

.compact-download-heading h2 {
  margin: 6px 0 0;
  font-size: 25px;
  line-height: 1.08;
}

/* Dos columnas: nombre y email, país y teléfono. El botón va debajo. */
.compact-download .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.compact-download .field {
  gap: 5px;
}

.compact-download .field input,
.compact-download .field select {
  min-height: 44px;
}

.compact-download .consent {
  grid-column: 1 / -1;
  margin-top: 0;
  font-size: 12px;
}

.compact-download .primary-button {
  grid-column: 1 / -1;
  min-height: 44px;
  padding: 11px 18px;
  white-space: nowrap;
}

.compact-download .form-status {
  grid-column: 1 / -1;
}

.protocol-hero h1 {
  max-width: 980px;
  font-size: clamp(44px, 7vw, 78px);
}

.protocol-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(20px, 3vw, 28px);
}

.protocol-moment-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(920px, calc(100% - 32px));
  margin: 0 auto 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.protocol-moment-strip span {
  padding: 16px;
  border-left: 1px solid var(--line);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.protocol-moment-strip span:first-child {
  border-left: 0;
}

.protocol-download {
  margin-bottom: 42px;
}

.protocol-quote {
  display: grid;
  gap: 8px;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto 54px;
  padding: 34px;
  border-left: 5px solid var(--blue);
  background: var(--ice);
}

.protocol-quote span {
  color: var(--muted);
  font-size: 16px;
}

.protocol-quote strong {
  color: var(--navy);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.08;
}.objectivity-hero h1 {
  max-width: 980px;
}

.objectivity-hero p {
  max-width: 760px;
}

.objectivity-access {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1.32fr);
  gap: 30px;
  width: min(980px, calc(100% - 32px));
  margin: -10px auto 46px;
  padding: 28px;
  align-items: center;
  border-top: 4px solid var(--blue);
}

.objectivity-access-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.06;
}

.objectivity-access-copy p {
  margin: 0;
}

.objectivity-access .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.objectivity-access .consent,
.objectivity-access .form-status {
  grid-column: 1 / -1;
}

.objectivity-access .primary-button {
  grid-column: 1 / -1;
  width: 100%;
}

.objectivity-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.42fr);
  gap: 22px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 42px;
  align-items: start;
}

.objectivity-quiz,
.objectivity-result,
.objectivity-lead {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.objectivity-quiz {
  overflow: hidden;
}

.quiz-head {
  padding: 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(234, 244, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.quiz-head h2 {
  max-width: 720px;
  margin: 8px 0 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.06;
}

.quiz-questions {
  display: grid;
}

.quiz-question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, auto);
  gap: 14px;
  margin: 0;
  padding: 20px 24px;
  align-items: center;
  border: 0;
  border-top: 1px solid var(--line);
}

.quiz-question:first-child {
  border-top: 0;
}

.quiz-question legend {
  padding: 0;
  color: var(--ink);
  font-weight: 780;
  line-height: 1.35;
}

.quiz-question label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--muted);
  background: var(--paper);
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
}

.quiz-question input {
  accent-color: var(--blue);
}

.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.objectivity-result {
  position: sticky;
  top: 18px;
  padding: 24px;
}

.result-score {
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 18px 36px rgba(45, 137, 255, 0.22);
}

.result-score span {
  font-size: 30px;
  font-weight: 900;
}

.objectivity-result h2 {
  margin: 8px 0 10px;
  font-size: 28px;
  line-height: 1.06;
}

.objectivity-result p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.result-focus {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  border: 1px solid rgba(45, 137, 255, 0.24);
  border-radius: 8px;
  padding: 15px;
  background: var(--ice);
}

.result-focus span {
  color: var(--muted);
  line-height: 1.4;
}

.result-call {
  width: 100%;
  margin-top: 18px;
}.call-band {
  display: flex;
  gap: 24px;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto 54px;
  padding: 28px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.call-band h2 {
  margin: 7px 0 0;
  font-size: clamp(26px, 4vw, 38px);
}

.c3-review-call {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto 32px;
  padding: 38px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-2), #0c4d9e);
  box-shadow: 0 24px 60px rgba(6, 36, 92, 0.22);
}

.c3-review-call .section-kicker {
  color: var(--sky);
}

.c3-review-call h2 {
  max-width: 650px;
  margin: 8px 0 12px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1;
}

.c3-review-call p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.5;
}

.c3-review-call .primary-button {
  min-width: 220px;
  align-self: center;
  background: var(--blue);
}

.download-copy h2 {
  max-width: 660px;
  margin: 8px 0 14px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
}

.download-copy > p {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}.confirmation-band,
.comparison-band,
.ifvg-process {
  width: min(1160px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.confirmation-band {
  margin-bottom: 56px;
  padding: 38px;
  border-left: 5px solid var(--blue);
  background: var(--ice);
}

.confirmation-band h2 {
  max-width: 820px;
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
}

.confirmation-band p {
  max-width: 850px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.comparison-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 42px;
}

.comparison-band article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.comparison-band h2 {
  margin: 10px 0;
  font-size: 28px;
}

.comparison-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.ifvg-process {
  margin-bottom: 54px;
}

.ifvg-sequence {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ifvg-sequence > div {
  min-height: 185px;
  padding: 20px;
  border-left: 1px solid var(--line);
}

.ifvg-sequence > div:first-child {
  border-left: 0;
}

.ifvg-sequence span,
.ifvg-sequence strong {
  display: block;
}

.ifvg-sequence span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.ifvg-sequence strong {
  margin-top: 24px;
  font-size: 19px;
}

.ifvg-sequence p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

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

.checklist-teaser {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.checklist-teaser h2 {
  margin: 8px 0 20px;
  font-size: 30px;
  line-height: 1.05;
}

.teaser-list {
  margin-bottom: 22px;
}

.teaser-list div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.teaser-list div:first-child {
  border-top: 0;
}

.teaser-list span {
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
}

.teaser-list p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.model-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.model-step {
  min-height: 290px;
  padding: 24px;
  border-left: 1px solid var(--line);
}

.model-step:first-child {
  border-left: 0;
}

.step-number {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.model-step h3 {
  margin: 34px 0 12px;
  font-size: 25px;
}

.model-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.trade-breakdown {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 18px;
  margin-bottom: 54px;
}

.trade-main,
.session-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
}

.trade-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin-top: 24px;
}

.trade-facts div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.trade-facts span,
.trade-facts strong {
  display: block;
}

.trade-facts span {
  color: var(--muted);
  font-size: 13px;
}

.trade-facts strong {
  margin-top: 4px;
}

.session-note {
  color: #fff;
  background: var(--navy);
}

.session-note p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 10px;
  color: var(--sky);
  font-weight: 850;
  text-decoration: none;
}.social-footer {
  display: block;
  width: 100%;
  margin: 58px 0 0;
  padding: 42px max(24px, calc((100% - 1080px) / 2));
  color: #fff;
  background: var(--navy-2);
  text-align: center;
}.social-footer h2 {
  margin: 7px 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.05;
}

.social-footer p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.social-footer small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.48);
}

.social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 96px;
  border: 1px solid rgba(217, 230, 251, 0.9);
  border-radius: 8px;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  font-weight: 820;
  line-height: 1.2;
  text-decoration: none;
  text-align: left;
}

.social-link::after {
  content: "↗";
  margin-left: auto;
  color: var(--blue);
  font-size: 18px;
}

.social-link::before {
  content: "";
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 8px;
  background-color: var(--ice);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px;
}

.youtube-link::before {
  background-color: #fff0f0;
  background-image: url("../icons/youtube.svg");
}

.instagram-link::before {
  background-color: #fff0f7;
  background-image: url("../icons/instagram.svg");
}

.website-link::before {
  background-color: var(--ice);
  background-image: url("../icons/globe.svg");
}

.social-link:hover {
  border-color: var(--sky);
  background: var(--paper);
}

.midnight-hero h1 {
  max-width: 980px;
}

.midnight-hero > p {
  max-width: 760px;
}

.midnight-rule {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  max-width: 760px;
  margin-top: 28px;
  align-items: center;
}

.midnight-rule span {
  display: flex;
  gap: 10px;
  min-height: 58px;
  padding: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 850;
}

.midnight-rule span b {
  color: var(--blue);
  font-size: 12px;
}

.midnight-rule i {
  width: 34px;
  height: 2px;
  background: var(--blue);
}

.midnight-download {
  margin-bottom: 38px;
}

.midnight-setup,
.midnight-po3,
.midnight-bias,
.midnight-protocol,
.midnight-example,
.midnight-check {
  width: min(1160px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.midnight-setup {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 54px;
  padding: 52px 0;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.midnight-setup h2,
.midnight-po3 h2,
.midnight-bias h2,
.midnight-protocol h2,
.midnight-example h2,
.midnight-check h2 {
  margin: 8px 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.03;
}

.midnight-setup-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.timezone-note {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 18px;
  align-items: center;
  justify-content: space-between;
  border-left: 4px solid var(--blue);
  background: var(--ice);
}

.timezone-note span {
  color: var(--blue);
  font-weight: 850;
}

.midnight-steps {
  display: grid;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  list-style: none;
  background: #fff;
  box-shadow: var(--shadow);
}

.midnight-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 68px;
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.midnight-steps li:first-child {
  border-top: 0;
}

.midnight-steps b {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
}

.midnight-steps span {
  display: flex;
  padding: 16px 18px;
  align-items: center;
  color: var(--ink);
  line-height: 1.4;
}

.midnight-po3,
.midnight-bias,
.midnight-protocol,
.midnight-check {
  padding: 52px 0;
}

.po3-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.po3-track article,
.protocol-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(6, 36, 92, 0.08);
}

.po3-track article b,
.protocol-grid article > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.po3-track article h3,
.protocol-grid article h3 {
  margin: 24px 0 10px;
  font-size: 25px;
}

.po3-track article p,
.protocol-grid article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.po3-track > i {
  width: 32px;
  height: 2px;
  background: var(--blue);
}

.po3-insight {
  margin: 20px 0 0;
  padding: 18px 22px;
  color: #fff;
  background: var(--navy-2);
  font-size: 17px;
  font-weight: 780;
  text-align: center;
}

.midnight-bias {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bias-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 620px;
  margin-bottom: 20px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ice);
}

.bias-option {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 820;
  cursor: pointer;
}

.bias-option.is-active {
  color: #fff;
  background: var(--navy);
}

.bias-result {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  padding: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.bias-result h3 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.04;
}

.bias-result p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.bias-chart {
  position: relative;
  height: 190px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy-2);
}

.bias-chart::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 52px);
}

.bias-chart i {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--sky);
}

.bias-open,
.bias-price {
  position: absolute;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 850;
}

.bias-open {
  left: 16px;
  top: calc(50% + 10px);
  color: var(--sky);
}

.bias-price {
  right: 22px;
  color: var(--navy);
  background: #fff;
  transition: top 180ms ease;
}

.bias-price-above {
  top: 28px;
}

.bias-price-below {
  top: 135px;
}

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

.midnight-example {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 48px;
  padding: 42px;
  align-items: start;
  color: #fff;
  background: var(--navy-2);
}

.midnight-example .section-kicker {
  color: var(--sky);
}

.midnight-example dl {
  margin: 0;
}

.midnight-example dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.midnight-example dl div:first-child {
  border-top: 0;
}

.midnight-example dt {
  color: var(--sky);
  font-weight: 850;
}

.midnight-example dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.midnight-checklist {
  padding: 28px;
}

.midnight-checklist .checklist-heading {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.midnight-checklist .checklist-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 22px;
}

.midnight-checklist .decision-box {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  align-items: center;
}

.midnight-checklist .progress-ring {
  width: 78px;
  height: 78px;
  margin: 0;
}

.midnight-checklist .progress-ring strong {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  font-size: 17px;
}

.midnight-checklist .decision-box small {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-weight: 850;
  text-transform: uppercase;
}.contrary-hero {
  background:
    linear-gradient(90deg, rgba(45, 137, 255, 0.08) 1px, transparent 1px) 0 0 / 42px 42px,
    #f7faff;
}

.contrary-hero p {
  max-width: 760px;
}

.contrary-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin-top: 30px;
  border: 1px solid var(--line);
  background: #fff;
}

.contrary-principles span {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px 18px;
  color: var(--navy-2);
  font-weight: 850;
}

.contrary-principles span + span {
  border-left: 1px solid var(--line);
}

.contrary-principles b {
  color: var(--blue);
  font-size: 12px;
}

.contrary-preview {
  padding: 52px;
  border: 1px solid var(--line);
  background: #fff;
}

.model-chart-preview {
  width: min(1060px, calc(100% - 32px));
  margin: 34px auto;
}

.model-chart-preview figure {
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy-2);
  box-shadow: var(--shadow);
}

.model-chart-preview img {
  display: block;
  width: 100%;
  height: auto;
}

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

.contrary-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  background: var(--ice);
}

.contrary-grid article > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.contrary-grid h3 {
  margin: 14px 0 10px;
  color: var(--navy-2);
  font-size: 20px;
}

.contrary-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contrary-insight {
  max-width: 840px;
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--blue);
  color: var(--navy-2);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.45;
}.concepts-hero {
  background:
    linear-gradient(90deg, rgba(45, 137, 255, 0.08) 1px, transparent 1px) 0 0 / 44px 44px,
    #f7faff;
}

.concepts-hero p {
  max-width: 820px;
}

.concepts-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.concepts-strip span {
  min-width: 92px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy-2);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.masterclass-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding: 54px 58px;
  border: 1px solid #164b9d;
  border-top: 9px solid var(--sky);
  background: var(--navy-2);
  box-shadow: 0 20px 45px rgba(3, 23, 59, 0.2);
}

.masterclass-promo h2 {
  max-width: 760px;
  margin: 15px 0 12px;
  color: #fff;
  font-size: 36px;
  line-height: 1.12;
}

.masterclass-promo p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.masterclass-promo-badge {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(93, 178, 255, 0.16);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.masterclass-button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 15px 24px;
  border: 2px solid #fff;
  background: #fff;
  color: var(--navy-2);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.masterclass-button:hover {
  border-color: var(--sky);
  background: var(--sky);
}/* Biblioteca compacta */
.library-hero-compact {
  align-items: center;
  padding-top: 32px;
  padding-bottom: 30px;
}

.library-hero-compact .library-intro h1 {
  max-width: 800px;
  font-size: clamp(40px, 5vw, 62px);
}

.library-total {
  display: grid;
  min-width: 160px;
  padding: 22px 24px;
  border-left: 4px solid var(--sky);
  background: #fff;
  box-shadow: 0 12px 32px rgba(6, 36, 92, 0.09);
}

.library-total strong {
  color: var(--blue);
  font-size: 36px;
  line-height: 1;
}

.library-total span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.library-controls {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.6fr) auto;
  gap: 18px;
  width: min(1160px, calc(100% - 32px));
  margin: 26px auto 0;
  padding: 18px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 36, 92, 0.08);
}

.library-search {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.library-search input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #bfd3ee;
  border-radius: 6px;
  outline: 0;
  background: #f8fbff;
  color: var(--navy);
  font: inherit;
  font-size: 15px;
  font-weight: 550;
  text-transform: none;
}

.library-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(34, 132, 242, 0.13);
}

.library-filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.library-filter {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #bfd3ee;
  border-radius: 6px;
  background: #fff;
  color: #31435f;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
}

.library-filter:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.library-filter.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.library-visible-count {
  min-width: 82px;
  padding-bottom: 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.featured-resources {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 12px;
}

.compact-section-heading {
  margin-bottom: 18px;
}

.compact-section-heading h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.featured-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.featured-library-grid .library-card-featured {
  grid-column: auto;
  grid-template-columns: 1fr;
  grid-template-rows: 220px minmax(0, 1fr);
  min-height: 480px;
}

.featured-library-grid .library-card-featured .resource-cover {
  min-height: 220px;
  padding: 22px;
}

.featured-library-grid .library-card-featured .library-card-body {
  padding: 26px;
}

.featured-library-grid .library-card-featured h3 {
  margin-top: 14px;
  font-size: clamp(24px, 2.2vw, 31px);
}

.featured-library-grid .resource-cover > strong {
  font-size: 21px;
}

.featured-library-grid .c3-mark {
  gap: 9px;
  align-items: center;
}

.featured-library-grid .c3-mark strong {
  font-size: 72px;
}

.featured-library-grid .c3-mark span {
  max-width: 92px;
  font-size: 11px;
}

.featured-library-grid .program-stack span {
  padding: 6px;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.library-section-compact {
  padding-top: 34px;
}

.resource-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.resource-list-card {
  display: flex;
  min-height: 250px;
  padding: 22px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(6, 36, 92, 0.07);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.resource-list-card:hover {
  border-color: #8dbdf4;
  box-shadow: 0 16px 36px rgba(6, 36, 92, 0.12);
  transform: translateY(-2px);
}

.resource-list-top {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.resource-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 6px;
  background: var(--navy-2);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.resource-list-type {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-align: right;
  text-transform: uppercase;
}

.resource-list-card h3 {
  margin: 20px 0 9px;
  font-size: 22px;
  line-height: 1.08;
}

.resource-list-card p {
  flex: 1;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.resource-list-card a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.resource-list-card a:hover {
  color: var(--navy-2);
}

.library-card[hidden],
.resource-list-card[hidden],
[data-resource-section][hidden] {
  display: none !important;
}

.library-empty {
  width: min(1160px, calc(100% - 32px));
  margin: 42px auto 70px;
  padding: 32px;
  border: 1px dashed #9ebbe0;
  color: var(--muted);
  text-align: center;
}

/* Resumen del programa */
.program-inclusions {
  width: min(1160px, calc(100% - 32px));
  margin: 56px auto 0;
  padding: 52px 0 0;
  border-top: 1px solid var(--line);
}

.program-inclusions-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 16px 42px;
  align-items: end;
}

.program-inclusions-heading .section-kicker {
  grid-column: 1 / -1;
}

.program-inclusions-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}

.program-inclusions-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.program-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.program-pillar {
  min-height: 250px;
  padding: 28px 22px;
  border-left: 1px solid var(--line);
}

.program-pillar:first-child {
  border-left: 0;
}

.program-pillar > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.program-pillar h3 {
  margin: 34px 0 10px;
  font-size: 22px;
  line-height: 1.08;
}

.program-pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.program-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  color: #fff;
  background: var(--navy-2);
}

.program-proof-strip span {
  display: grid;
  min-height: 82px;
  padding: 16px;
  place-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.program-proof-strip span:first-child {
  border-left: 0;
}

.liquidity-hero h1 {
  max-width: 1040px;
  font-size: clamp(42px, 5.7vw, 68px);
}

.liquidity-hero p {
  max-width: 780px;
}

.nav-pill-cta {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  font-weight: 750;
}

.nav-pill-cta:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.related-resources {
  padding: 52px 0 24px;
}

.related-resources .section-heading .nav-pill {
  white-space: nowrap;
}

.library-closing-promo {
  width: min(1160px, calc(100% - 32px));
  margin: 12px auto 48px;
}

/* Panel de éxito tras descargar: la comunidad manda, la clase acompaña. */
.community-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.community-points li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.community-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sky);
  font-weight: 900;
}

.success-actions-stack {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.community-button {
  background: #25d366;
  border-color: #25d366;
  color: #04361c;
}

.community-button:hover {
  background: #1eb658;
  border-color: #1eb658;
}

.success-secondary {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  text-decoration: underline;
}

.success-secondary:hover {
  color: #fff;
}

/* Panel de éxito como modal: cuando el recurso se descarga o se abre en otra
   pestaña, dejarlo dentro de la página lo deja detrás y nadie lo ve. */
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  background: rgba(3, 23, 59, 0.82);
  animation: success-overlay-in 180ms ease-out;
}

.success-overlay[hidden] {
  display: none;
}

@keyframes success-overlay-in {
  from {
    opacity: 0;
  }
}

.success-overlay-shell {
  position: relative;
  width: min(640px, 100%);
  margin: auto;
  animation: success-modal-in 220ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes success-modal-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.success-overlay .masterclass-promo {
  grid-template-columns: 1fr;
  gap: 26px;
  padding: 40px 36px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.success-overlay .masterclass-promo h2 {
  font-size: 30px;
}

.success-overlay .success-actions-stack {
  justify-items: stretch;
}

.success-overlay .masterclass-button {
  width: 100%;
}

.success-overlay .success-secondary {
  text-align: center;
}

.success-close {
  position: absolute;
  top: -13px;
  right: -13px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 1px solid #164b9d;
  border-radius: 50%;
  background: #fff;
  color: var(--navy-2);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.success-close:hover {
  background: var(--ice);
}

.success-dismiss {
  padding: 4px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.82);
  font-family: inherit;
  font-size: 15px;
  text-decoration: underline;
  cursor: pointer;
}

.success-dismiss[hidden] {
  display: none;
}

.success-dismiss:hover {
  color: #fff;
}

.success-fallback {
  margin: 14px 0 0;
  font-size: 14px;
}

.success-fallback a {
  color: var(--sky);
  font-weight: 800;
  text-decoration: underline;
}

.success-fallback a:hover {
  color: #fff;
}

body.has-success-modal {
  overflow: hidden;
}

/* Recurso de liquidez: el porqué, los niveles y la dirección. */
.liquidity-why,
.liquidity-levels,
.liquidity-direction {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0;
}

.liquidity-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.liquidity-why-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(6, 36, 92, 0.08);
}

.liquidity-why-grid article > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.liquidity-why-grid h3 {
  margin: 18px 0 10px;
  font-size: 21px;
}

.liquidity-why-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.liquidity-levels {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.liquidity-levels-intro {
  margin: 0 0 22px;
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.liquidity-levels-list {
  display: grid;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  list-style: none;
  background: #fff;
  box-shadow: var(--shadow);
}

.liquidity-levels-list li {
  display: grid;
  grid-template-columns: 118px 1fr;
  min-height: 74px;
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.liquidity-levels-list li:first-child {
  border-top: 0;
}

.liquidity-levels-list b {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.liquidity-levels-list li:nth-child(2) b {
  background: #1f6fd6;
}

.liquidity-levels-list li:nth-child(3) b {
  background: var(--navy);
}

.liquidity-levels-list span {
  display: flex;
  padding: 16px 20px;
  align-items: center;
  color: var(--muted);
  line-height: 1.5;
}

.liquidity-levels-list strong {
  color: var(--ink);
}

.liquidity-levels-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.direction-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(6, 36, 92, 0.08);
}

.direction-grid .direction-sell {
  border-top: 5px solid #c84d5c;
}

.direction-grid .direction-buy {
  border-top: 5px solid #1f9d6b;
}

.direction-tag {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.direction-grid strong {
  display: block;
  margin: 12px 0 10px;
  font-size: 27px;
}

.direction-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

/* Portadas de las dos operativas destacadas. */
.orb-cover {
  background: linear-gradient(145deg, #06245c, #1268c7);
}

.orb-mini-range {
  position: relative;
  width: 100%;
  height: 104px;
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(93, 178, 255, 0.14);
}

.orb-mini-range span {
  position: absolute;
  left: 12%;
  top: 20px;
  width: 42%;
  height: 60px;
  border: 2px solid var(--sky);
}

.orb-mini-range i {
  position: absolute;
  left: 54%;
  top: 44px;
  width: 38%;
  border-top: 6px solid var(--sky);
  transform: rotate(-24deg);
}

.asia-cover {
  background:
    linear-gradient(rgba(3, 23, 59, 0.86), rgba(6, 36, 92, 0.96)),
    linear-gradient(135deg, #2d89ff, #03173b);
}

.asia-range-mark {
  position: relative;
  width: 100%;
  height: 104px;
  border-top: 2px solid rgba(93, 178, 255, 0.8);
  border-bottom: 2px solid rgba(93, 178, 255, 0.8);
  background: rgba(93, 178, 255, 0.1);
}

.asia-range-mark span {
  position: absolute;
  left: 18%;
  top: -14px;
  width: 34%;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-bottom: 0;
}

.asia-range-mark i {
  position: absolute;
  left: 58%;
  top: 24px;
  width: 34%;
  border-top: 6px solid var(--sky);
  transform: rotate(18deg);
}

/* Portada de las 3 estrategias: el win-rate de cada una. */
.strategies-cover {
  background: linear-gradient(145deg, #03173b, #0d4a94);
}

.strategies-mark {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.strategies-mark span {
  display: grid;
  gap: 4px;
  padding: 12px 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 820;
  text-align: center;
}

.strategies-mark b {
  color: var(--sky);
  font-size: 24px;
  line-height: 1;
}

.library-gate {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 40px;
}

.library-gate .lead-panel {
  border-top: 9px solid var(--blue);
}

.gate-known {
  display: grid;
  gap: 14px;
}

.gate-switch {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

.gate-switch:hover {
  color: var(--blue);
}

/* Escaparate: se ve todo lo que hay, pero la puerta está cerrada.
   En este modo las tarjetas se compactan para que el catálogo entero
   quepa de un vistazo, en vez de empujar la lista fuera de pantalla. */
.is-locked .resource-list-card,
.is-locked .library-card {
  position: relative;
}

.is-locked .featured-library-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.is-locked .featured-library-grid .library-card-featured {
  grid-template-rows: 96px minmax(0, 1fr);
  min-height: 0;
}

/* Las destacadas conservan su resumen, como las de la lista. */
.is-locked .featured-library-grid .library-card-featured p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.is-locked .featured-library-grid .library-card-featured .resource-cover,
.is-locked .resource-cover {
  min-height: 96px;
  padding: 16px 18px;
}

.is-locked .resource-cover .cover-label {
  font-size: 11px;
}

/* Los adornos de las portadas sobran cuando la tarjeta es pequeña. */
.is-locked .system-mark,
.is-locked .c3-mark,
.is-locked .orb-mini-range,
.is-locked .asia-range-mark,
.is-locked .strategies-mark,
.is-locked .program-stack,
.is-locked .featured-library-grid .library-card-featured .resource-meta {
  display: none;
}

.is-locked .resource-cover > strong {
  font-size: 16px;
}

.is-locked .featured-library-grid .library-card-featured .library-card-body {
  padding: 16px 18px 18px;
}

.is-locked .featured-library-grid .library-card-featured h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.is-locked .featured-library-grid .library-card-featured .primary-button {
  min-height: 42px;
  padding: 9px 14px;
  font-size: 14px;
}

.is-locked .section-heading {
  margin-bottom: 14px;
}

.is-locked .resource-list-card a,
.is-locked .library-card a {
  color: var(--blue);
  cursor: pointer;
}

.is-locked .resource-list-card a::after,
.is-locked .library-card-body a::after {
  content: " 🔒";
  font-size: 0.9em;
}

.is-locked .library-card-featured .primary-button::after {
  content: "";
}

.amd-cycle-videos {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0;
}

.amd-cycle-videos-intro {
  margin: 0 0 28px;
  max-width: 860px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.amd-cycle-videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.amd-cycle-videos-grid .video-stage {
  width: 100%;
  padding: 0;
}

.amd-cycle-videos-grid .text-link {
  display: inline-block;
  margin-top: 10px;
}

@media (max-width: 880px) {
  .hero,
  .resource-grid,
  .resource-library,
  .content-grid,
  .library-hero,
  .coming-band,
  .amd-preview-band,
  .trade-breakdown,
  .download-gate,
  .method-band,
  .comparison-band,
  .objectivity-tool,
  .objectivity-lead,
  .objectivity-access,
  .midnight-setup,
  .bias-result,
  .midnight-example {
    grid-template-columns: 1fr;
  }

  .po3-track {
    grid-template-columns: 1fr;
  }

  .po3-track > i {
    width: 2px;
    height: 18px;
    margin-left: 28px;
  }

  .amd-cycle-videos-grid {
    grid-template-columns: 1fr;
  }

  .liquidity-why-grid,
  .direction-grid,
  .community-points {
    grid-template-columns: 1fr;
  }

  .liquidity-levels-list li {
    grid-template-columns: 92px 1fr;
  }

  .protocol-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .midnight-checklist .checklist-items {
    grid-template-columns: 1fr;
  }

  .contrary-grid {
    grid-template-columns: 1fr;
  }  .masterclass-promo {
    grid-template-columns: 1fr;
  }

  .library-controls {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .library-visible-count {
    padding: 0;
    text-align: left;
  }

  .featured-library-grid,
  .resource-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-library-grid .library-card-featured {
    grid-template-columns: 1fr;
    grid-template-rows: 210px minmax(0, 1fr);
  }

  .featured-library-grid .library-card-featured .resource-cover {
    min-height: 210px;
  }

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

  .program-pillars,
  .program-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-pillar:nth-child(3),
  .program-pillar:nth-child(4),
  .program-proof-strip span:nth-child(3),
  .program-proof-strip span:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .program-pillar:nth-child(3),
  .program-proof-strip span:nth-child(3) {
    border-left: 0;
  }

  .ifvg-sequence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ifvg-sequence > div {
    border-top: 1px solid var(--line);
  }

  .hero-points {
    grid-template-columns: 1fr;
  }  .summary-panel {
    position: static;
    order: -1;
  }

  .objectivity-result {
    position: static;
    order: -1;
  }  .library-card,
  .library-card-featured {
    grid-template-columns: 1fr;
  }

  .resource-cover {
    min-height: 250px;
  }

  .library-card-featured .resource-cover {
    min-height: 250px;
  }

  .library-card-featured .library-card-body {
    padding: 26px;
  }

  .model-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }  .compact-download .lead-panel {
    grid-template-columns: 1fr;
  }

  .model-step:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .model-step:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .returning-lead {
    align-items: flex-start;
    flex-direction: column;
  }

  .contrary-principles {
    grid-template-columns: 1fr;
  }

  .contrary-principles span + span {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contrary-preview {
    padding: 28px 20px;
  }

  .masterclass-promo {
    padding: 34px 22px;
  }

  .masterclass-promo h2 {
    font-size: 29px;
  }

  .masterclass-button {
    width: 100%;
  }

  .success-overlay {
    padding: 14px 12px;
  }

  .success-overlay .masterclass-promo {
    padding: 34px 20px;
  }

  .success-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 21px;
  }

  /* En móvil la barra se queda en una fila: en columna ocuparía media
     pantalla al ir fija. */
  .topbar {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0 10px;
  }

  .topbar .brand-logo {
    width: 118px;
  }

  .topbar.is-stuck .brand-logo {
    width: 104px;
  }

  .topbar .button-row {
    gap: 8px;
  }

  .topbar .button-row > * {
    width: auto;
  }

  .topbar .nav-pill {
    padding: 9px 13px;
    font-size: 13px;
  }

  .hero h1,
  .resource-hero h1 {
    font-size: 42px;
  }  .button-row > * {
    width: 100%;
  }

  .midnight-rule {
    grid-template-columns: 1fr;
  }

  .midnight-rule i {
    width: 2px;
    height: 14px;
    margin-left: 28px;
  }

  .timezone-note,
  .midnight-checklist .checklist-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .bias-switch,
  .protocol-grid {
    grid-template-columns: 1fr;
  }

  .bias-result,
  .midnight-example,
  .midnight-checklist {
    padding: 22px;
  }

  .midnight-example dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .midnight-checklist .decision-box {
    grid-template-columns: 1fr;
  }

  .library-hero {
    padding-top: 26px;
  }

  .library-total {
    width: 100%;
  }

  .library-filters {
    flex-wrap: nowrap;
    padding-bottom: 5px;
    overflow-x: auto;
  }

  .library-filter {
    flex: 0 0 auto;
  }

  .featured-library-grid,
  .resource-list-grid {
    grid-template-columns: 1fr;
  }

  .resource-list-card {
    min-height: 225px;
  }

  .program-inclusions {
    margin-top: 42px;
    padding-top: 38px;
  }

  .program-pillars,
  .program-proof-strip {
    grid-template-columns: 1fr;
  }

  .program-pillar,
  .program-pillar:nth-child(2),
  .program-pillar:nth-child(3),
  .program-pillar:nth-child(4),
  .program-proof-strip span,
  .program-proof-strip span:nth-child(2),
  .program-proof-strip span:nth-child(3),
  .program-proof-strip span:nth-child(4) {
    min-height: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .program-pillar:first-child,
  .program-proof-strip span:first-child {
    border-top: 0;
  }  .library-grid,
  .model-steps,
  .trade-facts,
  .quick-model {
    grid-template-columns: 1fr;
  }

  .compact-download .lead-panel {
    gap: 20px;
    padding: 20px;
  }

  .compact-download .form-grid {
    grid-template-columns: 1fr;
  }

  .compact-download .consent,
  .compact-download .form-status {
    grid-column: 1;
  }

  .compact-download .primary-button {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    white-space: normal;
  }

  .call-band {
    align-items: stretch;
    flex-direction: column;
  }

  .c3-review-call {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .c3-review-call .primary-button {
    width: 100%;
  }

  .protocol-moment-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .protocol-moment-strip span:nth-child(3),
  .protocol-moment-strip span:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .protocol-moment-strip span:nth-child(3) {
    border-left: 0;
  }

  .model-step,
  .model-step:nth-child(2),
  .model-step:nth-child(3),
  .model-step:nth-child(4) {
    min-height: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .model-step:first-child {
    border-top: 0;
  }  .section-heading,
  .resource-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-links {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .social-link {
    justify-content: center;
  }  .download-gate {
    padding: 24px;
  }

  .ifvg-sequence {
    grid-template-columns: 1fr;
  }

  .quiz-question {
    grid-template-columns: 1fr;
  }

  .objectivity-access .form-grid {
    grid-template-columns: 1fr;
  }

  .objectivity-access .consent,
  .objectivity-access .form-status,
  .objectivity-access .primary-button {
    grid-column: 1;
  }

  .quiz-question label {
    justify-content: center;
  }

  .ifvg-sequence > div {
    min-height: auto;
    border-left: 0;
  }

  .confirmation-band {
    padding: 26px 22px;
  }
}

@media print {
  .topbar,
  .summary-panel,
  .button-row {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .resource-grid,
  .resource-hero {
    width: 100%;
    margin: 0;
  }

  .resource-grid {
    display: block;
  }

  .checklist-panel {
    box-shadow: none;
    border: 0;
  }
}
