.hero {
  background: linear-gradient(135deg, #142b50 0%, #0d1c34 52%, #111f38 100%);
}

.hero h1,
.hero .text-link {
  color: #fff;
}

.hero-copy > p {
  color: #dbe7ff;
}

.hero h1 > .hero-line {
  display: block;
  color: inherit;
  white-space: normal;
}

.hero h1 b {
  color: #a9c7ff;
  font-weight: 650;
}

.hero .ambient {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 68%);
}

.hero .phone-stage::before {
  background: linear-gradient(155deg, rgba(4, 30, 95, 0.42), rgba(255, 255, 255, 0.12));
}

.hero .button {
  background: linear-gradient(135deg, #0033aa 0%, #174fc8 100%);
  border-color: #174fc8;
  color: #fff;
}

.hero .button:hover {
  background: linear-gradient(135deg, #174fc8 0%, #2f6ae0 100%);
  color: #fff;
}

.site-header .button,
.intro-copy .button {
  background: linear-gradient(135deg, #0033aa 0%, #174fc8 100%);
  border-color: #0033aa;
  color: #fff;
}

.site-header .button:hover,
.intro-copy .button:hover {
  background: linear-gradient(135deg, #002b91 0%, #0f3fa8 100%);
  color: #fff;
}

.myinfo-button-link {
  display: inline-flex;
  border-radius: 10px;
}

.myinfo-button-link:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line));
  border-radius: 16px;
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  color: #00cdb4;
  font-size: 25px;
  line-height: 1;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--brand) 12%, transparent);
}

.review blockquote {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.32;
}

.award-row .award-iso {
  max-width: 100px;
}

.footer-meta p {
  font-size: calc(1em - 2px);
}

@media (min-width: 981px) {
  .hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
  }
}

@media (min-width: 768px) {
  .nav-shell {
    width: min(1200px, calc(100% - 32px));
  }
}

details[open] > summary::after {
  content: "-";
}

/* Keep the supplied white logo and coloured dot visible in both themes. */
.brand img,
.footer-meta > img,
.guide-page .site-header .brand img,
.guide-page .site-footer .footer-meta > img {
  box-sizing: content-box;
  padding: 8px 12px;
  border-radius: 10px;
  background: #142b50;
  filter: none;
}

@media (max-width: 767px) {
  .hero h1 > .hero-line {
    white-space: normal;
  }
}

/* Site-wide heading weights */
h1,
h2,
.intro-copy h2 strong,
.hero h1,
.hero h1 b {
  font-weight: 550;
}

h3,
h4,
h5,
h6 {
  font-weight: 600;
}

/* Heading letter spacing */
.hero h1 {
  letter-spacing: -0.035em;
}

.intro-copy h2,
.section-heading h2,
.steps h2,
.borrowing h2,
.customer-copy h2,
.guide h2,
.final-cta h2 {
  letter-spacing: -0.035em;
}

@media (max-width: 767px) {
  .hero h1 {
    letter-spacing: -0.03em;
  }
}

/* Approved copy: allow longer headings and explanatory text to reflow. */
.myinfo-panel .application-note {
  margin-top: 20px;
}

.application-note {
  font-size: 16px;
  line-height: 1.55;
}

.footer-borrowing {
  margin-top: 40px;
  color: var(--muted);
}

#borrowing-limits {
  scroll-margin-top: 110px;
}
