@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #faf8f4;
  color: #1f1d1a;
  font-family: "Libre Franklin", Helvetica, Arial, sans-serif;
}

a { color: #33514c; }
a:hover { color: #1f1d1a; }

summary::-webkit-details-marker { display: none; }
summary { list-style: none; }

img { max-width: 100%; display: block; }

/* Header / navigation */
.site-header {
  background: #1f2a28;
  color: #f2efe9;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f2efe9;
  text-decoration: none;
}

.brand:hover { color: #f2efe9; }

.brand-sub { font-weight: 400; opacity: 0.72; }

.nav {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  padding: 8px 13px;
  font-size: 14px;
  color: #d8d3c8;
  font-weight: 400;
  background: transparent;
}

.nav a:hover { color: #f2efe9; }

.nav a.is-active {
  background: #f2efe9;
  color: #1f2a28;
  font-weight: 600;
}

.nav a.is-active:hover { color: #1f2a28; }

/* Hero */
.hero {
  position: relative;
  background: #1f2a28;
  color: #f2efe9;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  opacity: 0.32;
}

.hero--home .hero-img { object-position: center 75%; opacity: 0.34; }

.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 80px) 28px;
}

.hero--home .hero-inner { padding: clamp(52px, 8vw, 104px) 28px; }

.hero h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0;
  max-width: 20em;
  text-wrap: pretty;
}

.hero--home h1 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.02;
  max-width: 16em;
}

.hero p {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 34em;
  color: #e6e2d9;
}

.hero--home p { font-size: clamp(16px, 1.7vw, 19px); margin-top: 22px; }

/* Layout containers */
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }

section.pad-top { padding-top: clamp(40px, 5vw, 64px); }
section.pad-top-lg { padding-top: clamp(52px, 8vw, 80px); }

.section-alt { background: #f2efe9; }

/* Lede paragraph on start / FAQ intros */
.lede {
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.45;
  font-weight: 500;
  margin: 0;
  max-width: 36em;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.lede-sm {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
  max-width: 38em;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

/* Numbered heading blocks */
.num-heading {
  display: flex;
  gap: 14px;
  align-items: baseline;
  border-top: 2px solid #1f2a28;
  padding-top: 14px;
}

.num-heading + .num-heading,
.num-heading.mt {
  margin-top: 44px;
}

.num-heading .num {
  font-size: 13px;
  font-weight: 700;
  color: #33514c;
}

.num-heading h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
  text-wrap: pretty;
}

.num-heading h2.sm {
  font-size: clamp(22px, 2.6vw, 28px);
}

/* Body copy */
.copy {
  font-size: 17px;
  line-height: 1.65;
  color: #33302b;
  max-width: 44em;
  margin: 16px 0 14px;
  text-wrap: pretty;
}

.copy:last-child { margin-bottom: 0; }
.copy.last { margin-bottom: 0; }

.note {
  font-size: 14.5px;
  line-height: 1.6;
  color: #5c574f;
  margin: 0 0 20px;
  font-weight: 500;
}

/* Bulleted lists */
.dot-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 44em;
}

.dot-list.last { margin-bottom: 0; }

.dot-list li {
  position: relative;
  padding-left: 19px;
  font-size: 17px;
  line-height: 1.6;
  color: #33302b;
}

.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  background: #33514c;
}

/* Tables */
.data-table-wrap { overflow-x: auto; }

table.data-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 15px;
}

table.data-table th {
  text-align: left;
  padding: 12px 14px;
  background: #1f2a28;
  color: #f2efe9;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.3;
}

table.data-table th.num-col { text-align: right; }

table.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #e3ded4;
}

table.data-table td.num-col { text-align: right; }

table.data-table tr.highlight { background: #f2efe9; }
table.data-table tr.highlight td { font-weight: 700; }

table.data-table tr:last-child td { border-bottom: none; }

/* Accordions */
.accordion { display: flex; flex-direction: column; gap: 10px; }
.accordion.mt { margin-top: 20px; }

.accordion-item {
  background: #faf8f4;
  border-left: 3px solid #33514c;
}

.accordion-item.on-alt { background: #f2efe9; }

.accordion-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-size: 16.5px;
  font-weight: 600;
  color: #1f1d1a;
}

.accordion-item summary.with-num {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.accordion-item summary .num {
  color: #33514c;
  font-size: 13px;
  font-weight: 700;
}

.accordion-item .accordion-body {
  padding: 0 20px 20px;
}

.accordion-item .accordion-body.indent {
  padding-left: 45px;
}

.accordion-item p {
  font-size: 16.5px;
  line-height: 1.65;
  color: #33302b;
  margin: 0 0 14px;
  max-width: 42em;
  text-wrap: pretty;
}

.accordion-item p:last-child { margin-bottom: 0; }

.accordion-item .example {
  font-size: 15px;
  line-height: 1.6;
  color: #33514c;
  margin: 0;
  padding: 12px 16px;
  background: #eef0ec;
  max-width: 42em;
}

.accordion-item ul,
.accordion-item ol {
  max-width: 42em;
}

.accordion-item ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.accordion-item ul:last-child { margin-bottom: 0; }

.accordion-item ul li {
  position: relative;
  padding-left: 18px;
  font-size: 16.5px;
  line-height: 1.6;
  color: #33302b;
}

.accordion-item ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #33514c;
}

.accordion-item ol {
  margin: 0 0 14px;
  padding: 0 0 0 22px;
  display: grid;
  gap: 9px;
}

.accordion-item ol:last-child { margin-bottom: 0; }

.accordion-item ol li {
  font-size: 16.5px;
  line-height: 1.6;
  color: #33302b;
}

/* Small table inside FAQ */
table.calc-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 480px;
  font-size: 15.5px;
  background: #faf8f4;
  margin-bottom: 18px;
}

table.calc-table th {
  text-align: left;
  padding: 11px 14px;
  background: #1f2a28;
  color: #f2efe9;
  font-weight: 600;
  font-size: 13.5px;
}

table.calc-table th.num-col { text-align: right; }

table.calc-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #e3ded4;
}

table.calc-table td.num-col { text-align: right; }

table.calc-table tr:last-child td {
  font-weight: 700;
  border-bottom: none;
}

/* Homepage index cards */
.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.index-card {
  display: block;
  text-decoration: none;
  background: #faf8f4;
  border-top: 3px solid #33514c;
  padding: 20px;
  min-height: 104px;
  font-size: 15.5px;
  font-weight: 600;
  color: #1f1d1a;
  line-height: 1.3;
}

.index-card:hover { background: #ffffff; }

/* Homepage sidebar + intro columns */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.side-nav-label {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7a756c;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid #e3ded4;
}

.side-nav {
  max-width: 260px;
}

.side-nav-list {
  display: flex;
  flex-direction: column;
}

.side-nav-list a {
  text-decoration: none;
  font-size: 14.5px;
  padding: 11px 0;
  border-bottom: 1px solid #e3ded4;
  color: #4c4740;
  font-weight: 400;
}

.side-nav-list a.is-active {
  color: #1f1d1a;
  font-weight: 600;
}

.intro-body {
  max-width: 44em;
  grid-column: span 2;
  min-width: 0;
}

/* CTA band */
.cta-section {
  border-top: 2px solid #1f2a28;
  padding-top: 26px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cta-section p {
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.4;
  font-weight: 500;
  margin: 0;
  max-width: 26em;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.cta-button {
  background: #1f2a28;
  color: #f2efe9;
  text-decoration: none;
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.cta-button:hover { color: #f2efe9; opacity: 0.9; }

/* Contact page */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.contact-card {
  background: #f2efe9;
  border-top: 3px solid #33514c;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  flex: 0 0 auto;
}

.contact-card .name {
  font-size: 16px;
  line-height: 1.5;
  color: #1f1d1a;
  margin: 0 0 8px;
  font-weight: 600;
}

.contact-card .role {
  font-size: 15px;
  line-height: 1.5;
  color: #33302b;
  margin: 0 0 10px;
}

.contact-card a { font-size: 14.5px; word-break: break-word; }

.credits {
  margin: 36px 0 0;
  padding-top: 18px;
  border-top: 1px solid #e3ded4;
  max-width: 44em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.credits p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #7a756c;
  margin: 0;
}

/* Footer */
.site-footer {
  background: #1f2a28;
  color: #b9b3a8;
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 28px;
  font-size: 13.5px;
}
