.ip-modern { background: transparent; }
.cluster-guide {
  --ip-ink: #173b2c;
  --ip-muted: #41584c;
  --ip-line: #d2dfcb;
  --ip-control: #597362;
  --ip-brand: #b6e56b;
  --ip-soft: #f2f7ea;
  --ip-white: #fff;
  margin: 0 auto 40px;
  padding: clamp(20px, 4vw, 44px);
  background: var(--ip-white);
  border: 1px solid var(--ip-line);
  border-radius: 16px;
  color: var(--ip-ink);
  font-size: 16px;
  line-height: 1.55;
}
.cluster-guide h2, .cluster-guide h3 { margin: 0 0 10px; color: inherit; font-weight: 700; }
.cluster-guide h2 { font-size: clamp(23px, 3vw, 32px); line-height: 1.16; }
.cluster-guide p { margin: 0 0 14px; color: var(--ip-muted); }
.cluster-guide a:not(.application-cta) { color: var(--ip-ink); text-decoration: underline; text-underline-offset: 3px; }
.cluster-guide :focus-visible { outline: 2px solid var(--ip-ink); outline-offset: 3px; }
.ip-copy { max-width: 73ch; }
.ip-copy p:last-child { margin-bottom: 0; }
.ip-prose > p, .ip-prose > ol { max-width: 73ch; }
.ip-prose > h2:not(:first-child) { margin-top: 24px; }
.ip-prose > ol { padding-left: 1.7em; }
#interior .cluster-guide .left-col { padding-bottom: 20px; }
.ip-intro h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.035em; }
.ip-intro > .ip-actions { margin-top: 16px; }
.ip-process { padding: clamp(16px, 3vw, 28px); background: var(--ip-soft); border: 1px solid var(--ip-line); border-radius: 12px; }
.ip-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.ip-actions .application-cta {
  background: var(--ip-ink); color: var(--ip-white); border: 2px solid var(--ip-ink);
  border-radius: 7px; padding: 10px 16px; font-size: 15px; font-weight: 700;
}
.ip-section { margin-top: clamp(26px, 4vw, 44px); }
.ip-highlights {
  container-type: inline-size;
  padding: clamp(14px, 3vw, 26px);
  border: 1px solid var(--ip-line);
  border-radius: 16px;
  background: var(--ip-soft);
}
.ip-highlights h2 { font-size: clamp(21px, 2.7vw, 28px); }
.ip-highlights dl { display: grid; gap: 10px; margin: 16px 0 0; }
.ip-highlights dl > div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--ip-line);
  border-inline-start: 4px solid var(--ip-brand);
  border-radius: 9px;
  background: var(--ip-white);
}
.ip-highlights dt { margin-bottom: 4px; }
.ip-highlights dd { color: var(--ip-muted); font-size: 14px; }
@container (min-width: 470px) {
  .ip-highlights dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ip-steps { padding: 0; margin: 16px 0 0; list-style: none; counter-reset: ip-step; display: grid; gap: 14px; }
.ip-steps li {
  counter-increment: ip-step;
  padding: 12px 14px;
  border: 1px solid var(--ip-line);
  border-radius: 9px;
  background: var(--ip-white);
}
.ip-steps li::before {
  content: counter(ip-step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--ip-brand);
  color: var(--ip-ink);
  font-size: 14px;
  font-weight: 700;
}
.ip-steps strong, .ip-steps span { display: block; }
.ip-steps span { margin-top: 4px; color: var(--ip-muted); font-size: 15px; }
.ip-module {
  margin-bottom: clamp(22px, 4vw, 38px);
  padding: clamp(14px, 3vw, 28px);
  border: 1px solid var(--ip-line);
  border-radius: 14px;
  background: var(--ip-soft);
}
.ip-module h2 { font-size: clamp(21px, 2.7vw, 28px); }
.ip-module h3 { font-size: 17px; line-height: 1.3; }
.ip-table-wrap {
  margin-top: 16px; overflow-x: auto; border: 1px solid var(--ip-line);
  border-radius: 9px; background: var(--ip-white);
}
.ip-table { width: 100%; table-layout: fixed; text-align: left; font-size: 14px; }
.ip-table th, .ip-table td { padding: 10px; vertical-align: top; overflow-wrap: anywhere; }
.ip-table thead { background: var(--ip-ink); color: var(--ip-white); }
.ip-table th:first-child { width: 27%; }
.ip-table tbody tr + tr { border-top: 1px solid var(--ip-line); }
.ip-table tbody tr:nth-child(even) { background: var(--ip-soft); }
.ip-table tbody td { color: var(--ip-muted); }
.ip-cell-label { display: none; }
.ip-table-wrap + h3 { margin-top: 20px; }
.ip-module-grid { display: grid; gap: 18px; margin-top: 16px; }
.ip-module-grid > div {
  padding: 14px;
  border: 1px solid var(--ip-line);
  border-radius: 9px;
  background: var(--ip-white);
}
.ip-checklist { margin-bottom: 0; padding-left: 1.5em; }
.ip-checklist li + li { margin-top: 6px; }
#payment-calculator {
  --ip-track: #bccdb8;
  --ip-slider: #256047;
  --ip-highlight: var(--ip-brand);
  container-type: inline-size;
  scroll-margin-top: 16px;
  background: var(--ip-soft);
  border: 1px solid var(--ip-line);
  border-radius: 22px;
}
.ip-calc-heading { padding: clamp(16px, 3.5vw, 32px) clamp(16px, 4vw, 38px) 0; }
.ip-calc-heading h2 { letter-spacing: -.025em; }
.ip-calc-heading p { margin-bottom: 12px; }
.ip-calc { display: grid; padding: clamp(10px, 1.5vw, 16px); gap: clamp(10px, 1.5vw, 16px); }
.ip-inputs {
  min-width: 0;
  padding: clamp(14px, 3vw, 28px);
  background: var(--ip-white);
  border: 1px solid var(--ip-line);
  border-radius: 15px;
}
.ip-inputs fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.ip-field { min-width: 0; padding: 12px 0 6px; }
.ip-field:first-child { padding-top: 0; }
.ip-field + .ip-field { border-top: 1px solid var(--ip-line); }
.ip-field-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ip-field label { margin: 0; font-size: 15px; }
.ip-value {
  display: flex; align-items: center; flex-shrink: 0; gap: 3px;
  width: clamp(88px, 23vw, 120px); padding: 0 9px; border: 1px solid var(--ip-control);
  border-radius: 9px; background: var(--ip-soft); color: var(--ip-muted);
}
.ip-value:focus-within { outline: 2px solid var(--ip-slider); outline-offset: 2px; }
.ip-field input[type="number"] {
  width: 100%; min-width: 0; min-height: 42px; padding: 0; border: 0;
  background: transparent; color: var(--ip-ink); font-size: 16px; font-variant-numeric: tabular-nums;
  text-align: right; appearance: textfield; outline: none;
}
.ip-field input[type="number"]::-webkit-inner-spin-button { appearance: none; }
.ip-field input[type="range"] {
  --ip-rail: linear-gradient(to right, var(--ip-slider) var(--ip-fill, 0%), var(--ip-track) var(--ip-fill, 0%));
  display: block; width: 100%; height: 44px; margin: 0; background: transparent;
  appearance: none; cursor: pointer; touch-action: pan-y;
}
.ip-field input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: var(--ip-rail); }
.ip-field input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--ip-rail); }
.ip-field input[type="range"]::-webkit-slider-thumb {
  width: 26px; height: 26px; margin-top: -10px; appearance: none; border: 3px solid var(--ip-white);
  border-radius: 50%; background: var(--ip-slider); box-shadow: 0 0 0 1px var(--ip-slider);
}
.ip-field input[type="range"]::-moz-range-thumb {
  box-sizing: border-box; width: 26px; height: 26px; border: 3px solid var(--ip-white);
  border-radius: 50%; background: var(--ip-slider); box-shadow: 0 0 0 1px var(--ip-slider);
}
.ip-field .ip-help { margin: 0; font-size: 13px; }
.ip-example {
  min-height: 44px; margin-top: 10px; padding: 6px 14px; border: 1px solid var(--ip-control);
  border-radius: 9px; background: var(--ip-white); color: var(--ip-ink); font-size: 14px; font-weight: 700;
}
.ip-example:hover { background: var(--ip-soft); }
.ip-results {
  display: grid; align-content: center; min-width: 0; padding: clamp(16px, 3.5vw, 34px);
  border-radius: 15px; background: linear-gradient(145deg, #285640, var(--ip-ink) 65%); color: var(--ip-white);
}
.ip-results h3 { margin-bottom: 12px; color: #e0ebe7; font-size: 15px; }
.ip-results p { margin: 12px 0 0; color: #e0ebe7; font-size: 13px; }
.ip-results dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.ip-results dt { color: #e0ebe7; font-size: 13px; }
.ip-results dd { margin: 4px 0 0; font-size: clamp(20px, 3vw, 30px); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; overflow-wrap: anywhere; }
.ip-results #ip-total { color: var(--ip-highlight); font-size: clamp(24px, 4.8cqi, 56px); letter-spacing: -.045em; }
.ip-results dl > div + div { padding-left: 10px; border-left: 1px solid #81968e; }
.ip-details { display: grid; gap: 24px; }
.ip-details ul { padding-left: 23px; }
.ip-details li { margin-bottom: 6px; }
.ip-details details { border-top: 1px solid var(--ip-control); padding: 10px 0; }
.ip-details summary { cursor: pointer; font-weight: 700; }
.ip-details details p { margin: 7px 0 0; }
@media (min-width: 520px) { .ip-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 519px) {
  .ip-table th:first-child { width: 36%; }
  .ip-table-compare, .ip-table-compare tbody, .ip-table-compare tbody tr,
  .ip-table-compare tbody th, .ip-table-compare tbody td { display: block; width: 100%; }
  .ip-table-compare thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap;
  }
  .ip-table-compare tbody th:first-child {
    width: 100%; padding: 9px 10px; background: var(--ip-ink); color: var(--ip-white);
  }
  .ip-table-compare tbody td { padding: 8px 10px; }
  .ip-table-compare tbody td + td { border-top: 1px solid var(--ip-line); }
  .ip-cell-label { display: block; margin-bottom: 2px; color: var(--ip-ink); font-weight: 700; }
}
@media (max-width: 767px) {
  #interior .banner { height: auto; padding: 20px 16px; }
  #interior .banner h1 { margin: 0; font-size: clamp(32px, 9vw, 43px); line-height: 1.15; }
  .cluster-guide { width: calc(100% - 24px); padding-inline: 14px; }
  .cluster-guide .ip-prose { padding-inline: 8px; }
  .ip-table th, .ip-table td { padding: 7px 5px; }
  .ip-results { position: sticky; top: 6px; z-index: 1; }
}
@container (min-width: 550px) {
  .ip-calc { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .ip-inputs { grid-area: 1 / 1; }
  .ip-results { grid-area: 1 / 2; position: static; }
  .ip-results h3 { margin-bottom: 26px; }
  .ip-results dl { grid-template-columns: 1fr; gap: 20px; }
  .ip-results dl > div + div { padding: 19px 0 0; border: 0; border-top: 1px solid #81968e; }
  .ip-results p { margin-top: 20px; }
}
@media (min-width: 768px) {
  .ip-details { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; }
}
@media (min-width: 992px) {
  .ip-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
  .ip-intro > .ip-actions { margin-top: 0; }
  .ip-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ip-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
