.resources-page {
  min-height: 100vh;
  height: auto;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f4f8fa;
  color: #182232;
}

.resources-header,
.resources-footer,
.resources-page main {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.resources-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.resources-header nav,
.resources-footer nav,
.resources-actions,
.email-resource-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.resources-header nav > a:not(.primary-btn),
.resources-footer a,
.resource-section-heading > a {
  color: #0c6e78;
  font-weight: 800;
}

.resources-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.resources-brand .brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #d7ff4f;
  color: #0d2230;
  font-weight: 900;
  font-size: 1.3rem;
}

.resources-brand strong,
.resources-brand small {
  display: block;
}

.resources-brand small {
  margin-top: 3px;
  color: #6a7890;
}

.resources-page main {
  display: grid;
  gap: 24px;
  padding-bottom: 36px;
}

.resources-hero,
.subscriber-resource-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.34fr);
  align-items: center;
  gap: 30px;
  padding: clamp(28px, 5vw, 60px);
  border-radius: 24px;
  background: linear-gradient(135deg, #0d2230, #0c6e78);
  color: #fff;
  box-shadow: 0 18px 50px rgb(13 34 48 / 12%);
}

.resources-hero .eyebrow,
.subscriber-resource-callout .eyebrow {
  color: #d7ff4f;
}

.resources-hero h1,
.subscriber-resource-callout h2 {
  margin: 8px 0 12px;
  color: #fff;
}

.resources-hero h1 {
  max-width: 760px;
  font-size: clamp(2.1rem, 5vw, 4.3rem);
  line-height: 1.02;
}

.resources-hero p:not(.eyebrow),
.subscriber-resource-callout p:not(.eyebrow) {
  max-width: 760px;
  color: #dbe7ed;
  line-height: 1.65;
}

.resource-summary-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 18px;
  background: rgb(255 255 255 / 9%);
}

.resource-summary-card strong {
  color: #d7ff4f;
  font-size: 1.1rem;
}

.resource-summary-card span {
  padding-bottom: 8px;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}

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

.resource-download-card,
.email-resources,
.resource-preview-section {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid #cedde5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 32px rgb(13 34 48 / 7%);
}

.resource-download-card h2,
.email-resources h2,
.resource-preview-section h2 {
  margin: 6px 0 10px;
}

.resource-download-card p:not(.eyebrow),
.email-resources p,
.resource-preview-section p {
  color: #5d6b82;
  line-height: 1.55;
}

.email-resources {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(320px, 1fr);
  gap: 34px;
}

#resourceEmailForm label:not(.marketing-consent) {
  display: block;
  margin-bottom: 7px;
  color: #25384a;
  font-weight: 800;
}

.email-resource-row {
  align-items: stretch;
}

.email-resource-row input {
  min-width: 230px;
  flex: 1;
  padding: 13px 14px;
  border: 1px solid #b8cbd5;
  border-radius: 10px;
  font: inherit;
}

.email-resource-row input:focus {
  outline: 3px solid rgb(12 110 120 / 18%);
  border-color: #0c6e78;
}

.marketing-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 16px;
  color: #33495b;
  line-height: 1.45;
}

.marketing-consent input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
}

.resource-privacy-note {
  font-size: 0.86rem;
}

.resource-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.resources-status {
  min-height: 1.2em;
  margin: 10px 0 0;
  font-weight: 800;
}

.resources-status[data-state="success"] {
  color: #087241;
}

.resources-status[data-state="error"] {
  color: #b22d2d;
}

.resources-hero .resources-status {
  color: #d7ff4f;
}

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

.glossary-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.glossary-preview-grid article,
.objectives-preview article {
  padding: 16px;
  border: 1px solid #d6e2e8;
  border-radius: 13px;
  background: #f7fbfc;
}

.glossary-preview-grid h3 {
  margin: 0 0 6px;
  color: #0c6e78;
  font-size: 1rem;
}

.glossary-preview-grid p {
  margin: 0;
  font-size: 0.91rem;
}

.objectives-preview {
  display: grid;
  gap: 12px;
}

.objectives-preview article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px;
}

.objectives-preview article > strong {
  color: #0d2230;
  font-size: 1.04rem;
}

.objectives-preview article > span {
  color: #0c6e78;
  font-weight: 900;
}

.objectives-preview ul {
  grid-column: 1 / -1;
  margin: 0;
  padding-left: 22px;
  color: #52647a;
  line-height: 1.55;
}

.subscriber-resource-callout {
  padding: clamp(26px, 4vw, 42px);
}

.resources-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 38px;
  color: #5d6b82;
}

@media (max-width: 820px) {
  .resources-header,
  .resources-footer,
  .resource-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .resources-hero,
  .subscriber-resource-callout,
  .email-resources,
  .resource-download-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .resources-header,
  .resources-footer,
  .resources-page main {
    width: min(100% - 22px, 1180px);
  }

  .resources-header nav,
  .resources-actions,
  .email-resource-row {
    width: 100%;
  }

  .resources-header nav > *,
  .resources-actions > *,
  .email-resource-row > * {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .glossary-preview-grid {
    grid-template-columns: 1fr;
  }
}
