:root {
  color: #182018;
  background: #f4f1e8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
a { color: inherit; }
.site-header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid #d7d2c3;
}
.site-header nav, footer { display: flex; align-items: center; gap: 24px; }
.brand { font-size: 22px; font-weight: 800; text-decoration: none; letter-spacing: -.04em; }
.button {
  display: inline-block;
  border: 1px solid #172017;
  border-radius: 999px;
  padding: 10px 18px;
  background: #172017;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
main { max-width: 1180px; margin: 0 auto; padding: 72px 24px; }
article { max-width: 980px; margin: 0 auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 22px; color: #697166; font-size: 13px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: #182018; text-decoration: underline; }
.breadcrumbs strong { max-width: min(620px, 70vw); overflow: hidden; color: #3e493d; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.hero { padding: 24px 0 46px; }
.eyebrow { margin: 0 0 18px; color: #52614f; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
h1 { max-width: 900px; margin: 0; font-family: Georgia, serif; font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -.045em; }
h2 { margin: 0 0 16px; font-family: Georgia, serif; font-size: clamp(25px, 3vw, 38px); line-height: 1.15; letter-spacing: -.025em; }
h3 { margin: 0 0 7px; font-size: 18px; }
.lede { max-width: 760px; margin-top: 28px; color: #4f554e; font-size: 21px; }
section { margin-top: 62px; }
.answer { margin-top: 0; padding: 28px; border: 1px solid #bfc7b9; border-radius: 18px; background: #e8eee3; }
.answer strong { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.answer p { margin-bottom: 0; font-size: 18px; }
.content-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 58px; align-items: start; margin-top: 70px; }
.content-grid aside { position: sticky; top: 24px; padding: 24px; border: 1px solid #d7d2c3; border-radius: 16px; background: #faf8f2; }
.content-grid aside h2 { font: 700 16px/1.3 Inter, sans-serif; }
ul { padding-left: 22px; }
li + li { margin-top: 10px; }
.prose section { margin-top: 0; padding-bottom: 48px; }
.prose p { color: #343934; font-size: 17px; }
.table-wrap { overflow-x: auto; border: 1px solid #d7d2c3; border-radius: 14px; background: #faf8f2; }
table { width: 100%; border-collapse: collapse; min-width: 660px; }
caption { padding: 18px; text-align: left; font-weight: 700; }
th, td { padding: 14px 16px; border-top: 1px solid #ddd8ca; text-align: left; vertical-align: top; }
th { color: #52614f; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.workflow { list-style: none; padding: 0; }
.workflow li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid #d7d2c3; }
.workflow li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #172017; color: #fff; font-weight: 800; }
.workflow p { margin: 0; }
details { padding: 20px 0; border-top: 1px solid #d7d2c3; }
summary { cursor: pointer; font-weight: 750; font-size: 18px; }
details p { max-width: 800px; color: #444b44; }
.cta { margin: 80px auto 0; padding: 44px; border-radius: 22px; background: #d9ddbd; text-align: center; }
.cta h2 { max-width: 700px; margin: 0 auto 24px; }
.directory-page { max-width: 1240px; }
.directory-hero { max-width: 900px; margin: 0 auto; text-align: center; }
.directory-hero h1 { margin-inline: auto; }
.directory-hero .lede { margin-inline: auto; }
.directory-count { margin-top: 20px; color: #52614f; font-weight: 700; }
.topic-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 12px auto 70px; }
.topic-nav a { padding: 9px 14px; border: 1px solid #cfcabb; border-radius: 999px; background: #faf8f2; text-decoration: none; font-size: 14px; font-weight: 650; }
.topic-nav span { margin-left: 5px; color: #697166; }
.directory-group { scroll-margin-top: 24px; }
.directory-group > header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.directory-group > header .eyebrow { margin-bottom: 8px; }
.directory-group > header h2 { margin: 0; }
.directory-group > header > p:last-child { color: #697166; }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.directory-card { display: flex; flex-direction: column; min-height: 250px; padding: 25px; border: 1px solid #d7d2c3; border-radius: 17px; background: #faf8f2; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.directory-card:hover { transform: translateY(-3px); border-color: #7d8c75; }
.directory-card > span, .related-resources a span { color: #61705d; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.directory-card h3 { margin-top: 18px; font-family: Georgia, serif; font-size: 24px; line-height: 1.18; }
.directory-card p { color: #555b54; }
.directory-card strong { margin-top: auto; padding-top: 18px; }
.related-resources > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.related-resources a { display: flex; flex-direction: column; gap: 8px; padding: 19px; border: 1px solid #d7d2c3; border-radius: 13px; background: #faf8f2; text-decoration: none; }
footer { margin-top: 24px; border-top: 1px solid #d7d2c3; border-bottom: 0; color: #5d625c; font-size: 13px; }

@media (max-width: 760px) {
  .site-header nav a:not(.button) { display: none; }
  main { padding-top: 42px; }
  .content-grid { grid-template-columns: 1fr; gap: 26px; }
  .directory-grid { grid-template-columns: 1fr; }
  .directory-group > header { align-items: start; flex-direction: column; gap: 0; }
  .related-resources > div { grid-template-columns: 1fr; }
  .content-grid aside { position: static; }
  .cta { padding: 30px 20px; }
  footer { flex-wrap: wrap; }
}
