summary::-webkit-details-marker {
  display: none;
}
summary {
  list-style: none;
}
details[open] summary i::after {
  content: "";
}
details summary i {
  transition: transform 0.18s ease;
}
details[open] summary i {
  transform: rotate(45deg);
}

.closing-costs-page {
  background: #fff;
  font-family: var(--font-sans);
  color: var(--reva-black);
}

.closing-costs-header {
  border-bottom: 1px solid var(--border-subtle);
}

.closing-costs-header-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 13px clamp(16px, 2.4vw, 32px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
}

.closing-costs-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.closing-costs-image {
  height: 19px;
  width: auto;
  display: block;
}

.closing-costs-text {
  flex: 0 0 auto;
  width: 1px;
  height: 17px;
  background: var(--border-subtle);
}

.closing-costs-back-link {
  font-size: 12.5px;
  color: var(--reva-taupe);
  white-space: nowrap;
}

.closing-costs-link-3 {
  margin-left: auto;
  border-radius: 999px;
  background: var(--reva-olive);
  color: var(--reva-cream);
  padding: 9px 19px;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.closing-costs-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(18px, 2vw, 28px) clamp(14px, 2.2vw, 32px) clamp(32px, 3.4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 18px);
}

.closing-costs-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
}

.closing-costs-title {
  margin: 0;
  font-family: var(--font-serif-accent);
  font-weight: 300;
  font-size: clamp(24px, 2.9vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--reva-olive);
}

.closing-costs-page-4 {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(12.5px, 0.95vw, 14px);
  line-height: 1.5;
  color: #4a4a41;
}

.closing-costs-text-2 {
  font-size: clamp(12.5px, 0.95vw, 14px);
  font-family: var(--font-sans);
}

.closing-costs-page-5 {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 1.8vw, 24px);
  align-items: flex-start;
}

.closing-costs-inputs {
  flex: 1 1 330px;
  max-width: 400px;
  min-width: 290px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--reva-cream);
  padding: clamp(16px, 1.8vw, 22px);
}

.closing-costs-text-3 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--reva-sage);
}

.closing-costs-page-6 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.closing-costs-page-7 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.closing-costs-label {
  font-size: 11.5px;
  font-weight: 500;
  color: #3a3a33;
}

.closing-costs-on-muni {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--reva-black);
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 9px 11px;
}

.closing-costs-page-8 {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.closing-costs-page-9 {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.closing-costs-on-edit {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--reva-black);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 11px;
}

.closing-costs-text-4 {
  font-size: 11px;
  color: var(--reva-taupe);
}

.closing-costs-text-5 {
  font-size: 11px;
  line-height: 1.45;
  color: var(--reva-taupe);
}

.closing-costs-page-10 {
  display: flex;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(53, 58, 32, 0.14);
}

.closing-costs-page-11 {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.closing-costs-page-12 {
  display: flex;
  gap: 6px;
}

.closing-costs-page-13 {
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid var(--reva-olive);
  padding-left: 12px;
}

.closing-costs-page-14 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(53, 58, 32, 0.14);
}

.closing-costs-page-15 {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.closing-costs-on-benef {
  margin-top: 3px;
  accent-color: #353a20;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.closing-costs-page-16 {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.closing-costs-reset {
  align-self: flex-start;
  background: transparent;
  border: 1px solid rgba(53, 58, 32, 0.25);
  border-radius: 999px;
  padding: 8px 15px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--reva-olive);
  cursor: pointer;
}

.closing-costs-results {
  flex: 1 1 480px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 16px);
}

.closing-costs-page-17 {
  background: var(--reva-olive);
  color: var(--reva-cream);
  border-radius: 16px;
  padding: clamp(18px, 2.2vw, 26px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.closing-costs-text-6 {
  font-size: 12px;
  font-weight: 500;
  color: rgba(236, 236, 226, 0.72);
}

.closing-costs-text-7 {
  font-family: var(--font-serif-accent);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.96;
  color: var(--reva-white);
}

.closing-costs-text-8 {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 2px;
}

.closing-costs-text-9 {
  font-size: 17px;
  font-weight: 600;
  color: var(--reva-yellow);
}

.closing-costs-text-10 {
  font-size: 12px;
  color: rgba(236, 236, 226, 0.62);
}

.closing-costs-chart-summary {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 22px);
}

.closing-costs-pie-chart {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.closing-costs-page-20 {
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background: var(--reva-olive);
}

.closing-costs-chart-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}

.closing-costs-legend-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 11.5px;
}

.closing-costs-text-11 {
  flex: 1;
  color: rgba(236, 236, 226, 0.72);
  white-space: nowrap;
}

.closing-costs-text-12 {
  color: var(--reva-cream);
  font-weight: 500;
  white-space: nowrap;
}

.closing-costs-details {
  border: 1px solid rgba(53, 58, 32, 0.14);
  border-radius: 14px;
  background: #fbfad6;
  overflow: hidden;
}

.closing-costs-summary {
  cursor: pointer;
  padding: 13px 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--reva-olive);
}

.closing-costs-text-13 {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.closing-costs-indicator {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid rgba(53, 58, 32, 0.28);
  display: grid;
  place-items: center;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  color: var(--reva-olive);
}

.closing-costs-text-14 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.closing-costs-text-15 {
  font-family: var(--font-serif-accent);
  font-size: 19px;
  color: var(--reva-olive);
}

.closing-costs-text-16 {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--reva-sage);
}

.closing-costs-page-23 {
  padding: 0 17px 12px;
  border-top: 1px solid rgba(53, 58, 32, 0.12);
}

.closing-costs-page-24 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(53, 58, 32, 0.1);
}

.closing-costs-text-17 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
  color: #4a4a41;
}

.closing-costs-text-18 {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.closing-costs-details-2 {
  border: 1px solid rgba(53, 58, 32, 0.14);
  border-radius: 14px;
  background: #f1f0e9;
  overflow: hidden;
}

.closing-costs-details-3 {
  border: 1px solid rgba(53, 58, 32, 0.14);
  border-radius: 14px;
  background: #eaeae0;
  overflow: hidden;
}

.closing-costs-text-19 {
  font-size: 12.5px;
  color: #4a4a41;
}

.closing-costs-details-4 {
  border: 1px solid rgba(53, 58, 32, 0.14);
  border-radius: 14px;
  background: #e4e6d9;
  overflow: hidden;
}

.closing-costs-page-25 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--reva-cream);
  border-radius: 14px;
  padding: 16px 18px;
}

.closing-costs-description {
  margin: 0;
  flex: 1 1 340px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #4a4a41;
}

.closing-costs-b {
  font-weight: 500;
}

.closing-costs-link-4 {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--reva-olive);
  color: var(--reva-cream);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.closing-costs-page-26 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-top: clamp(6px, 0.8vw, 10px);
}

.closing-costs-text-20 {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--reva-sage);
}

.closing-costs-description-2 {
  margin: 0;
  max-width: 88ch;
  font-size: 12px;
  line-height: 1.65;
  color: #4a4a41;
}

@media (max-width: 640px) {
  .closing-costs-header-content {
    padding: 13px 16px;
    gap: 12px;
  }
  .closing-costs-text,
  .closing-costs-back-link {
    display: none;
  }
  .closing-costs-inputs,
  .closing-costs-results {
    min-width: 0;
    max-width: none;
    flex-basis: 100%;
  }
  .closing-costs-title {
    font-size: 24px;
  }
  .closing-costs-link-3 {
    padding: 9px 16px;
  }
  .closing-costs-content {
    padding: 18px 14px 32px;
    gap: 12px;
  }
  .closing-costs-page-4,
  .closing-costs-text-2 {
    font-size: 12.5px;
  }
  .closing-costs-page-5 {
    gap: 14px;
  }
  .closing-costs-inputs {
    padding: 16px;
  }
  .closing-costs-results {
    gap: 12px;
  }
  .closing-costs-page-17 {
    padding: 18px;
  }
  .closing-costs-text-7 {
    font-size: 32px;
  }
  .closing-costs-page-26 {
    margin-top: 6px;
  }
  .closing-costs-chart-summary {
    gap: 14px;
    flex-wrap: wrap;
  }
}
