:root {
  --bg: #f8f7f5;
  --text: #39383d;
  --muted: #47464b;
  --purple: #9277b2;
  --purple-dark: #8063a4;
  --border: #d2d9d0;
  --card: #ffffff;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", "Aptos", "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.section {
  background: var(--bg);
  padding: 96px 40px;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 4px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 1080px;
  margin: 0 auto;
  font-size: clamp(44px, 6vw, 72px);
  text-align: center;
}

h2 {
  font-size: clamp(36px, 4.6vw, 54px);
  text-align: center;
}

h3 {
  font-size: 22px;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 10px 26px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--purple-dark);
  transform: translateY(-1px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  padding: 22px 72px;
  border-bottom: 5px solid #c9bcdb;
  background: var(--bg);
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-logo {
  display: block;
  width: 190px;
  height: auto;
}

.header-button {
  min-height: 49px;
  padding: 10px 26px;
  font-size: 20px;
}

.hero {
  padding-top: 174px;
  padding-bottom: 64px;
}

.page-hero {
  padding-top: 174px;
  padding-bottom: 92px;
}

.hero-inner {
  text-align: center;
}

.page-hero-inner {
  text-align: center;
}

.hero-copy {
  max-width: 850px;
  margin: 30px auto 28px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.hero-image {
  display: block;
  width: 100%;
  height: 585px;
  margin-top: 122px;
  border-radius: 15px;
  object-fit: cover;
}

.guidance {
  padding-top: 112px;
  padding-bottom: 96px;
}

.guidance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.guidance-card {
  min-height: 402px;
  padding: 34px 24px 28px;
  border: 5px solid var(--border);
  border-radius: 15px;
  background: transparent;
}

.guidance-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  stroke: var(--text);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.guidance-card h3 {
  margin-bottom: 16px;
}

.guidance-card p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.resources {
  padding-top: 76px;
  padding-bottom: 92px;
}

.resources h2 {
  max-width: 1180px;
  margin: 0 auto;
}

.resource-list {
  margin-top: 56px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 379px));
  gap: 32px;
  align-items: stretch;
}

.resource-controls {
  display: grid;
  gap: 28px;
  max-width: 760px;
  margin: 56px auto 0;
}

.resource-search-label {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.resource-search {
  width: 100%;
  min-height: 54px;
  padding: 12px 20px;
  border: 5px solid var(--border);
  border-radius: 15px;
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 18px;
  outline: none;
}

.resource-search:focus {
  border-color: #c9bcdb;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.category-filter {
  min-height: 42px;
  padding: 8px 18px;
  border: 2px solid #c9bcdb;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.category-filter.is-active,
.category-filter:hover,
.category-filter:focus-visible {
  background: var(--purple);
  color: #fff;
}

.resource-card {
  width: 379px;
  min-height: 447px;
  padding: 35px;
  background: var(--card);
}

.resource-card h3 {
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.12;
}

.resource-card p {
  color: #151515;
  font-size: 19px;
  line-height: 1.58;
}

.resource-card .date {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 22px;
  color: var(--purple);
  font-size: 14px;
}

.resource-card .date svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.resource-card .button {
  min-height: 47px;
  margin-top: 20px;
  padding-inline: 25px;
  font-size: 17px;
}

.resources-page {
  padding-top: 40px;
  padding-bottom: 150px;
}

.resource-empty {
  margin: 40px 0 0;
  color: var(--muted);
  text-align: center;
}

.faq-section {
  padding-top: 74px;
  padding-bottom: 96px;
}

.faq-inner {
  max-width: 1200px;
}

.faq-section .eyebrow {
  margin-bottom: 16px;
}

.faq-list {
  margin-top: 66px;
}

.faq-item {
  padding: 0 24px 36px;
  border-bottom: 5px solid var(--border);
}

.faq-item + .faq-item {
  padding-top: 36px;
}

.faq-item h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.final-cta {
  padding-top: 112px;
  padding-bottom: 170px;
}

.cta-inner {
  text-align: center;
}

.final-cta .eyebrow {
  margin-bottom: 10px;
}

.final-cta .button {
  margin-top: 50px;
}

.site-footer {
  display: flex;
  align-items: center;
  min-height: 140px;
  padding: 28px 0 28px 48px;
  border-top: 5px solid #c9bcdb;
  background: var(--bg);
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo {
  display: block;
  width: 255px;
  height: auto;
}

.article-page {
  background: var(--bg);
  color: #232d3b;
}

.article-shell {
  width: min(calc(100% - 80px), var(--max));
  margin: 0 auto;
  padding: 104px 0 104px;
}

.article-header {
  margin-bottom: 58px;
}

.article-header h1 {
  max-width: 1420px;
  margin: 0;
  color: var(--text);
  font-size: clamp(40px, 3.3vw, 60px);
  line-height: 1.2;
  text-align: left;
}

.article-date {
  margin: 28px 0 0;
  color: #d0c3e4;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.article-section {
  max-width: 1405px;
}

.article-section p,
.article-section li {
  color: #162236;
  font-size: 23px;
  line-height: 1.56;
}

.article-section p {
  margin: 0 0 36px;
}

.article-section ul,
.article-section ol {
  margin: 0 0 36px 28px;
  padding-left: 26px;
}

.article-section h2 {
  max-width: none;
  margin: 0 0 26px;
  color: #2f3744;
  font-size: clamp(38px, 2.65vw, 48px);
  line-height: 1.2;
  text-align: left;
}

.article-section h3 {
  margin: 80px 0 24px;
  color: #253143;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
}

.article-section strong {
  font-weight: 700;
}

.article-divider {
  width: 128px;
  height: 2px;
  margin: 62px auto 88px;
  border: 0;
  background: var(--purple);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 14px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 3px;
  background: #c8b8dd;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--purple);
}

@media (max-width: 1024px) {
  .section {
    padding-right: 32px;
    padding-left: 32px;
  }

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

  .hero-image {
    height: 430px;
    margin-top: 80px;
  }

  .article-shell {
    width: min(calc(100% - 64px), var(--max));
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 64px 24px;
  }

  .site-header {
    min-height: 86px;
    padding: 22px 24px;
    gap: 16px;
  }

  .header-logo {
    width: 145px;
  }

  .header-button {
    min-width: 0;
    min-height: 46px;
    padding: 9px 18px;
    font-size: 17px;
  }

  .hero {
    padding-top: 54px;
  }

  .page-hero {
    padding-top: 84px;
    padding-bottom: 64px;
  }

  .eyebrow {
    max-width: 285px;
    margin-right: auto;
    margin-left: auto;
    font-size: 12px;
    letter-spacing: 2px;
  }

  h1 {
    max-width: 320px;
    font-size: 31px;
  }

  h2 {
    max-width: 330px;
    margin-right: auto;
    margin-left: auto;
    font-size: 32px;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 17px;
  }

  .hero-image {
    height: 300px;
    margin-top: 56px;
  }

  .guidance-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .guidance-card {
    min-height: 0;
  }

  .guidance-card p,
  .resource-card p,
  .faq-item p {
    font-size: 17px;
  }

  .resource-card {
    width: 100%;
    padding: 30px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-controls {
    gap: 24px;
    margin-top: 42px;
  }

  .resource-card h3 {
    font-size: 25px;
  }

  .faq-item {
    padding-right: 0;
    padding-left: 0;
  }

  .final-cta .button {
    width: 100%;
    margin-top: 34px;
  }

  .site-footer {
    min-height: 118px;
    padding: 24px;
  }

  .footer-logo {
    width: 220px;
  }

  .article-shell {
    width: min(calc(100% - 48px), 1426px);
    padding: 64px 0 88px;
  }

  .article-header {
    margin-bottom: 42px;
  }

  .article-header h1 {
    max-width: none;
    font-size: 34px;
  }

  .article-date {
    margin-top: 20px;
    font-size: 20px;
  }

  .article-section p,
  .article-section li {
    font-size: 18px;
  }

  .article-section h2 {
    font-size: 32px;
  }

  .article-section h3 {
    margin-top: 56px;
    font-size: 24px;
  }

  .article-section ul,
  .article-section ol {
    margin-left: 18px;
    padding-left: 18px;
  }

  .article-divider {
    margin: 48px auto 64px;
  }

  .back-to-top {
    right: 12px;
    bottom: 10px;
  }
}
