@import url("/landing-assets/legal.css");

.resource-hero {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 12%, rgba(134, 162, 146, 0.22), transparent 42%),
    linear-gradient(180deg, #eef2ee 0%, var(--paper) 100%);
}

.resource-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 650;
}

.resource-hero .breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.resource-hero .breadcrumb a:hover { color: var(--clay); }
.resource-hero .breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.55;
}

.resource-hero h1 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
  max-width: 18ch;
}

.resource-hero .lead {
  margin-top: 16px;
  max-width: 62ch;
  color: #3f524a;
  font-size: 1.05rem;
}

.resource-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.92rem;
  text-decoration: none;
}

.button-primary {
  background: var(--forest);
  color: #fff;
}

.button-primary:hover { color: #fff; filter: brightness(1.05); }

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

.button-secondary:hover { color: var(--clay); }

.resource-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 42px;
  padding: 42px 0 80px;
  align-items: start;
}

.resource-body h2 {
  margin: 34px 0 12px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.resource-body h2:first-child { margin-top: 0; }

.resource-body h3 {
  margin: 22px 0 8px;
  font-size: 1.02rem;
  font-weight: 750;
}

.resource-body p + p { margin-top: 12px; }
.resource-body ul, .resource-body ol { margin: 12px 0 0; }

.scene {
  margin: 0 0 22px;
  padding: 18px 18px 18px 20px;
  border-left: 3px solid var(--clay);
  background: var(--warm);
  color: #3f524a;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.45;
}

.callout {
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

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

.cta-band {
  margin: 36px 0 8px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #153d30, #225441);
  color: #f4f7f5;
}

.cta-band h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.45rem;
}

.cta-band p { margin: 0 0 14px; color: rgba(255,255,255,0.86); }
.cta-band .button-primary { background: #fff; color: var(--forest); }
.cta-band .button-primary:hover { color: var(--forest); }

.related {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.related h2 { margin-top: 0; }

.related-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.related-grid a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
}

.related-grid a:hover { border-color: var(--sage); color: var(--clay); }
.related-grid b { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.related-grid span { color: var(--soft); font-size: 0.84rem; }

.toc {
  position: sticky;
  top: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.toc b {
  display: block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
}

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.toc a:hover { color: var(--clay); }

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

.hub-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
}

.hub-card:hover { border-color: var(--sage); color: inherit; }
.hub-card .tag {
  color: var(--forest-2);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hub-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.hub-card p {
  margin: 0;
  color: var(--soft);
  font-size: 0.92rem;
}
.hub-card .go {
  margin-top: auto;
  color: var(--clay);
  font-size: 0.84rem;
  font-weight: 750;
}

.faq details {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.faq summary {
  cursor: pointer;
  font-weight: 750;
}
.faq details p { margin-top: 8px; color: #3f524a; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--soft);
  font-size: 0.86rem;
}
.site-footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: space-between;
  align-items: center;
}
.site-footer a { color: inherit; text-decoration: none; font-weight: 650; }
.site-footer a:hover { color: var(--clay); }

@media (max-width: 920px) {
  .resource-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .hub-grid { grid-template-columns: 1fr; }
  .resource-hero h1 { max-width: none; }
}
