:root {
  --ink: #16211f;
  --muted: #58706a;
  --line: #dce6e2;
  --paper: #fbfdfb;
  --mist: #eef5f2;
  --teal: #116466;
  --green: #2f7d52;
  --gold: #b98420;
  --coral: #c95f43;
  --navy: #243447;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 253, 251, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  min-width: 210px;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(17, 100, 102, 0.18);
  flex: 0 0 auto;
}

.brand small,
.article-aside li,
.page-list span,
.site-footer p {
  color: var(--muted);
}

.top-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.top-nav a,
.guide-menu summary,
.support-link,
.button {
  text-decoration: none;
}

.top-nav > a,
.guide-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
}

.top-nav > a:hover,
.guide-menu summary:hover {
  background: var(--mist);
}

.guide-menu {
  position: relative;
}

.guide-menu summary {
  list-style: none;
}

.guide-menu summary::-webkit-details-marker {
  display: none;
}

.guide-menu summary::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--muted);
}

.guide-menu[open] summary {
  background: var(--mist);
}

.guide-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(230px, 0.85fr) minmax(420px, 1.4fr);
  gap: 18px;
  width: min(860px, calc(100vw - 36px));
  max-height: min(72vh, 680px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(36, 52, 71, 0.16);
}

.guide-menu-panel h2 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: var(--coral);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-link-grid {
  display: grid;
  gap: 8px;
}

.topic-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
}

.menu-link-grid a {
  display: block;
  padding: 8px 9px;
  border-radius: 8px;
  color: var(--ink);
  line-height: 1.25;
  text-decoration: none;
}

.menu-link-grid a:hover {
  background: var(--mist);
  color: var(--teal);
}

.support-link {
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--white);
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: 68vh;
  padding: clamp(48px, 8vw, 98px) clamp(18px, 6vw, 72px);
  background:
    linear-gradient(115deg, rgba(17, 100, 102, 0.12), transparent 50%),
    linear-gradient(180deg, var(--white), var(--mist));
}

.hero h1,
.article-header h1 {
  max-width: 920px;
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 5.8rem);
}

.article-header h1 {
  font-size: clamp(2.1rem, 5vw, 4.7rem);
}

.lede {
  max-width: 760px;
  color: #334a45;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 750;
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-visual {
  display: grid;
  gap: 16px;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(36, 52, 71, 0.14);
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-panel div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 2px 14px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(36, 52, 71, 0.08);
}

.hero-panel span {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #f7ead3;
  color: #6d4910;
  font-weight: 900;
}

.hero-panel small {
  color: var(--muted);
}

.intro-band,
.resource-band {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 28px clamp(18px, 6vw, 72px);
  border-block: 1px solid var(--line);
  background: var(--navy);
  color: var(--white);
}

.intro-band p {
  max-width: 980px;
  margin: 0;
  font-size: 1.08rem;
}

.intro-band a,
.resource-band a {
  color: #a9e2d2;
}

.section-wrap,
.article {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 76px) clamp(18px, 4vw, 40px);
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2,
.resource-band h2,
.article-section h2,
.article-aside h2 {
  margin: 0;
  line-height: 1.18;
}

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

.feature-card a {
  display: block;
  height: 100%;
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.feature-card span {
  font-size: 1.2rem;
  font-weight: 850;
}

.feature-card p {
  color: var(--muted);
}

.page-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  padding-left: 24px;
}

.page-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.page-list a,
.page-list span,
.supporting-list span {
  display: block;
}

.page-list a {
  font-weight: 800;
}

.supporting-list span {
  margin-top: 3px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.pillar-article .article-section p {
  font-size: 1.11rem;
}

.related-band {
  padding-top: 24px;
}

.article-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 5vw, 64px);
  margin-top: 34px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(24px, 5vw, 56px);
  margin-top: 34px;
}

.form-frame-wrap {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.form-frame-wrap iframe {
  display: block;
  width: 100%;
  min-height: 980px;
  border: 0;
}

.contact-aside p {
  margin: 12px 0 0;
}

.article-section {
  margin-bottom: 30px;
}

.article-section p {
  margin: 10px 0 0;
  font-size: 1.08rem;
}

.article-list {
  margin: 12px 0 0;
  padding-left: 22px;
}

.article-list li {
  margin: 8px 0;
}

.deep-dive {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.editorial-section {
  padding-top: 4px;
}

.editorial-section p + p {
  margin-top: 14px;
}

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

.split-section > div,
.outcome-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.outcome-box {
  border-left: 5px solid var(--gold);
}

.callout {
  padding: 24px;
  border-left: 5px solid var(--green);
  background: var(--mist);
}

.article-aside {
  align-self: start;
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.article-aside ul,
.resource-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.article-aside li,
.resource-list li {
  margin: 10px 0;
}

.resource-band {
  align-items: flex-start;
  background: #1f3835;
}

.resource-list {
  columns: 2;
  min-width: min(520px, 100%);
}

.site-footer {
  align-items: flex-start;
  background: #f4f7f5;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 520px;
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  .intro-band,
  .resource-band {
    align-items: stretch;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .guide-menu {
    position: static;
  }

  .guide-menu-panel {
    left: 0;
    right: 0;
    transform: none;
    width: min(100%, calc(100vw - 36px));
    grid-template-columns: 1fr;
  }

  .hero,
  .article-layout,
  .contact-layout,
  .feature-grid,
  .page-list,
  .split-section {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
  }

  .top-nav {
    display: flex;
  }

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

  .hero-panel div {
    grid-template-columns: 1fr;
  }

  .hero-panel span {
    grid-row: auto;
  }

  .resource-list {
    columns: 1;
  }
}
