.resource-feature {
  background: var(--ink-raised);
}
.resource-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--ink-soft);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.resource-card:hover {
  border-color: var(--lime);
  transform: translateY(-3px);
}
.resource-card h3 {
  font-size: 26px;
  margin: 14px 0;
  line-height: 1.18;
}
.resource-card p {
  color: #bac7c0;
}
.resource-card__link {
  margin-top: auto;
  color: var(--lime);
  font-weight: 600;
}
.resource-feature__more {
  margin-top: 32px;
  color: var(--lime);
}
.editorial-hero {
  padding: 154px 0 64px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 80% 0%, #1b3525, transparent 70%);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #b5c5bc;
  font-size: 14px;
  margin-bottom: 32px;
}
.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.editorial-hero h1 {
  font-size: clamp(38px, 5.5vw, 72px);
  max-width: 960px;
  margin-bottom: 26px;
}
.editorial-hero .lede {
  font-size: clamp(19px, 2vw, 23px);
  max-width: 800px;
  color: #c0cec6;
}
.editorial-meta {
  font-size: 14px;
  color: #b5c5bc;
}
.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 790px) minmax(200px, 270px);
  gap: 80px;
  padding-block: 64px 96px;
  align-items: start;
}
.prose {
  min-width: 0;
  font-size: 18px;
  color: #d2ddd5;
}
.prose h2 {
  margin: 52px 0 20px;
  font-size: clamp(27px, 3vw, 37px);
  color: var(--white);
  line-height: 1.2;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: 30px;
  font-size: 24px;
  color: var(--white);
  line-height: 1.3;
}
.prose p,
.prose li {
  line-height: 1.8;
}
.prose li {
  margin-block: 10px;
}
.prose a:not(.button) {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose strong {
  color: var(--white);
}
.prose .table-wrap {
  overflow-x: auto;
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.prose table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 16px;
}
.prose th,
.prose td {
  text-align: left;
  padding: 17px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.prose th {
  color: var(--white);
  background: var(--ink-soft);
}
.prose tr:last-child td {
  border-bottom: 0;
}
.callout {
  border-left: 3px solid var(--lime);
  background: var(--ink-soft);
  padding: 24px;
  margin: 30px 0;
  border-radius: 0 12px 12px 0;
}
.callout p:last-child {
  margin: 0;
}
.editorial-aside {
  position: sticky;
  top: 116px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  font-size: 15px;
}
.editorial-aside h2 {
  font-size: 20px;
}
.editorial-aside a {
  display: block;
  margin-block: 15px;
  color: #c6d5ca;
}
.editorial-aside .button {
  color: var(--ink);
  margin-top: 24px;
  text-align: center;
}
.editorial-cta {
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px;
  padding: 32px;
  margin-top: 46px;
}
.editorial-cta h2 {
  color: var(--ink);
  margin-top: 0;
}
.editorial-cta p {
  color: #43514a;
}
.resource-hub {
  padding-block: 64px 90px;
}
.resource-hub h2 {
  font-size: 36px;
  margin: 52px 0 26px;
}
.resource-hub h2:first-child {
  margin-top: 0;
}
.calculator {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: var(--ink-soft);
  margin-block: 30px;
}
.calculator__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.calculator label {
  display: block;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}
.calculator label small {
  display: block;
  color: #b5c5bc;
  font-weight: 400;
}
.calculator input {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #648071;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}
.calculator__results {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.calculator__result {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-block: 14px;
}
.calculator__result strong {
  color: var(--lime);
  font-size: 24px;
}
.calculator__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.calculator__note {
  font-size: 14px;
  color: #b5c5bc;
  margin-top: 18px;
}
.calculator__error {
  color: #ffbeaa;
}
.calculator [hidden] {
  display: none;
}
@media (max-width: 1000px) {
  .resource-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .editorial-layout {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 220px;
  }
}
@media (max-width: 700px) {
  .resource-cards,
  .editorial-layout,
  .calculator__fields {
    grid-template-columns: 1fr;
  }
  .editorial-aside {
    position: static;
  }
  .editorial-hero {
    padding-top: 125px;
  }
  .editorial-layout {
    padding-top: 36px;
  }
  .resource-card {
    padding: 24px;
  }
  .calculator {
    padding: 20px;
  }
  .editorial-cta {
    padding: 24px;
  }
}
@media print {
  .site-header,
  .footer,
  .editorial-aside,
  .editorial-cta,
  .calculator__actions {
    display: none;
  }
  body {
    color: #111;
    background: #fff;
  }
  .editorial-hero {
    padding: 20px 0;
    background: none;
  }
  .editorial-layout {
    display: block;
    padding: 20px 0;
  }
  .prose,
  .prose h2,
  .prose h3,
  .prose strong,
  .editorial-hero .lede,
  .editorial-meta,
  .calculator label,
  .calculator__result strong {
    color: #111;
  }
  .calculator,
  .callout {
    background: #f4f4f4;
  }
  .calculator input {
    color: #111;
    background: #fff;
  }
}
