.restored-home,
.restored-page {
  font-family: ProximaNova-Regular, sans-serif;
  color: #2d3b5a;
}

.restored-home {
  background: #fff;
}

.restored-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.restored-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(45, 59, 90, 0.9) 0%, rgba(45, 59, 90, 0.7) 32%, rgba(45, 59, 90, 0.05) 70%), url("/images/home/spring.jpg") center center / cover no-repeat;
}

.restored-hero__inner {
  min-height: 520px;
  display: flex;
  align-items: center;
}

.restored-hero__body {
  max-width: 560px;
  padding: 48px 0 92px;
}

.restored-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.restored-hero__title {
  margin: 0 0 18px;
  color: #fff;
  font-family: ProximaNova-Bold, sans-serif;
  font-size: 48px;
  line-height: 1.05;
}

.restored-hero__lead {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
  line-height: 1.55;
}

.restored-inline-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.restored-inline-metrics li {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
}

.restored-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.restored-hero__actions .btn {
  width: auto;
  min-width: 220px;
}

.restored-calculator {
  position: relative;
  z-index: 3;
  margin-top: -72px;
  margin-bottom: 24px;
}

.restored-calculator .calcv2__content {
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(32, 44, 74, 0.12);
  overflow: hidden;
}

.restored-calculator .calcv2__links {
  justify-content: flex-start;
  padding-left: 20px;
}

.restored-card--calculator {
  padding: 32px;
  border-color: rgba(255, 129, 38, 0.24);
  box-shadow: 0 18px 36px rgba(32, 44, 74, 0.12);
}

.restored-calculator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.restored-calculator-field {
  padding: 22px;
  border-radius: 18px;
  background: #f9f9f7;
  border: 1px solid #e8edf1;
}

.restored-calculator-field__value {
  display: block;
  margin: 10px 0 12px;
  font-family: ProximaNova-Bold, sans-serif;
  font-size: 28px;
  line-height: 1.15;
  color: #2d3b5a;
}

.restored-calculator-summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2d3b5a 0%, #3f4f72 100%);
  color: #fff;
}

.restored-calculator-summary__row {
  display: grid;
  gap: 4px;
}

.restored-calculator-summary__row span {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.76);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.restored-calculator-summary__row strong {
  font-size: 18px;
  line-height: 1.45;
  color: #fff;
}

.restored-calculator-summary .restored-link-row {
  margin-top: 8px;
}

.restored-calculator-summary .btn-default {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.restored-calculator-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.restored-section {
  padding: 68px 0;
  border-bottom: 1px solid #e8edf1;
}

.restored-section--muted {
  background: #f9f9f7;
}

.restored-section--tight {
  padding-top: 44px;
  padding-bottom: 44px;
}

.restored-section__title {
  margin: 0 0 18px;
  font-family: ProximaNova-Bold, sans-serif;
  font-size: 40px;
  line-height: 1.08;
  color: #2d3b5a;
}

.restored-section__subtitle {
  max-width: 760px;
  margin: 0 0 28px;
  color: #66758a;
  font-size: 18px;
  line-height: 1.6;
}

.restored-grid {
  display: grid;
  gap: 22px;
}

.restored-grid--stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.restored-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.restored-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.restored-grid--requirements {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.restored-card {
  padding: 24px;
  border: 1px solid #dee3ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(40, 57, 90, 0.04);
}

.restored-card--accent {
  border-color: rgba(255, 129, 38, 0.28);
}

.restored-card__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #ff8126;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.restored-card__title {
  margin: 0 0 12px;
  font-family: ProximaNova-Bold, sans-serif;
  font-size: 22px;
  line-height: 1.2;
}

.restored-card__metric {
  margin: 0;
  font-family: ProximaNova-Bold, sans-serif;
  font-size: 34px;
  line-height: 1;
  color: #2d3b5a;
}

.restored-card__text,
.restored-page__content p,
.restored-page__content li {
  color: #5e6d82;
  font-size: 17px;
  line-height: 1.68;
}

.restored-card__text:last-child,
.restored-page__content p:last-child {
  margin-bottom: 0;
}

.restored-page__content ul,
.restored-list {
  margin: 0;
  padding-left: 20px;
}

.restored-highlight {
  color: #ff8126;
}

.restored-rating-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.restored-rating {
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dee3ee;
}

.restored-rating__label {
  display: block;
  margin-bottom: 8px;
  color: #66758a;
  font-size: 14px;
}

.restored-rating__value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: ProximaNova-Bold, sans-serif;
  font-size: 28px;
  color: #2d3b5a;
}

.restored-rating__bar {
  flex: 1 1 auto;
  height: 10px;
  border-radius: 999px;
  background: #e8edf1;
  overflow: hidden;
}

.restored-rating__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffb347, #ff8126);
}

.restored-feature-list,
.restored-news-grid,
.restored-testimonial-grid,
.restored-repayment-list {
  display: grid;
  gap: 22px;
}

.restored-feature-list,
.restored-news-grid,
.restored-testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.restored-repayment-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.restored-news-item,
.restored-testimonial,
.restored-repayment-item {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dee3ee;
}

.restored-news-item time,
.restored-testimonial__meta {
  display: block;
  margin-bottom: 10px;
  color: #8a97aa;
  font-size: 14px;
}

.restored-news-item h3,
.restored-testimonial__name {
  margin: 0 0 12px;
  font-family: ProximaNova-Bold, sans-serif;
  font-size: 22px;
  line-height: 1.25;
  color: #2d3b5a;
}

.restored-news-item a {
  color: inherit;
  text-decoration: none;
}

.restored-news-item a:hover {
  color: #ff8126;
}

.restored-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.restored-link-row .btn {
  width: auto;
}

.restored-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid #ff8126;
  border-radius: 10px;
  background: #fff8f3;
  color: #5d6674;
}

.restored-media-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f9f9f7, #fff);
  border: 1px solid #dee3ee;
}

.restored-media-card img {
  display: block;
  width: 100%;
  border-radius: 16px;
}

.restored-page__hero {
  padding: 54px 0 26px;
  background: #f9f9f7;
  border-bottom: 1px solid #e8edf1;
}

.restored-page__hero h1 {
  margin: 0 0 14px;
  font-family: ProximaNova-Bold, sans-serif;
  font-size: 42px;
  line-height: 1.08;
  color: #2d3b5a;
}

.restored-page__hero p {
  max-width: 760px;
  margin: 0;
  color: #66758a;
  font-size: 18px;
  line-height: 1.6;
}

.restored-page__content {
  padding: 44px 0 72px;
}

.restored-page__content h2 {
  margin: 0 0 18px;
  font-family: ProximaNova-Bold, sans-serif;
  font-size: 32px;
  line-height: 1.16;
  color: #2d3b5a;
}

.restored-page__content section + section {
  margin-top: 42px;
}

.restored-page__content .restored-card {
  height: 100%;
}

@media (max-width: 1024px) {
  .restored-calculator-grid,
  .restored-grid--stats,
  .restored-grid--three,
  .restored-grid--requirements,
  .restored-feature-list,
  .restored-news-grid,
  .restored-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .restored-grid--two,
  .restored-repayment-list {
    grid-template-columns: 1fr;
  }

  .restored-hero__title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .restored-hero {
    background: linear-gradient(180deg, rgba(45, 59, 90, 0.92) 0%, rgba(45, 59, 90, 0.82) 52%, rgba(45, 59, 90, 0.72) 100%), url("/images/home/spring.jpg") center center / cover no-repeat;
  }

  .restored-hero__inner {
    min-height: 460px;
  }

  .restored-hero__body {
    padding: 40px 0 110px;
  }

  .restored-hero__title {
    font-size: 34px;
  }

  .restored-hero__lead,
  .restored-section__subtitle,
  .restored-page__hero p {
    font-size: 17px;
  }

  .restored-section__title,
  .restored-page__hero h1 {
    font-size: 32px;
  }

  .restored-calculator {
    margin-top: -54px;
  }

  .restored-calculator-grid,
  .restored-grid--stats,
  .restored-grid--three,
  .restored-grid--requirements,
  .restored-feature-list,
  .restored-news-grid,
  .restored-testimonial-grid,
  .restored-rating-grid {
    grid-template-columns: 1fr;
  }

  .restored-hero__actions .btn,
  .restored-link-row .btn {
    width: 100%;
  }

  .restored-section {
    padding: 52px 0;
  }
}
