/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--dark-blue);
  color: var(--white);
  padding: 8px 16px;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* Nav button resets */
.hamburger-button,
.close-menu-button,
button.modal-close-block {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.close-menu-button img {
  display: block;
  width: 100%;
  height: auto;
}

/* FAQ */
button.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

button.faq-question[aria-expanded="true"] .faq-toggle-x {
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
}

button.faq-question[aria-expanded="false"] .faq-toggle-x {
  transform: rotate(0deg);
  transition: transform var(--transition-fast);
}

/* Override: Webflow exported #333, brand uses --blue-grey-p */
body {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: var(--line-height-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-tight);
}

a {
  text-decoration: none;
  color: var(--dark-blue);
}

a:hover {
  color: var(--red);
}

.authentication {
  min-height: 100vh;
}

.authentication-links {
  color: var(--white);
  margin-top: 20px;
}

.sign-in-button {
  width: 100%;
}

/* Override: Webflow auto width too narrow for Rails auth forms */
.sign-in-wrap {
  width: 100%;
}

.cookies-modal {
  padding: 20px;
}

.accept-cookie-btn {
  background-color: var(--red);
  padding: 10px 20px;
  border-radius: 8px;
  color: var(--white);
}

.decline-cookie-btn {
  padding: 10px 20px;
  border-radius: 8px;
  color: var(--blue-grey-p);
  border: 1px solid var(--blue-grey-p);
}

.cookies-modal .cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center; /* or flex-start if you want left aligned */
}

.cookies-modal .cookie-action-form {
  margin: 0;          /* forms often have default margin */
  display: inline-block;
}


.guides-index-feed a {
  width: 100%;
}

.guide-thumbnail {
  width: 150px;
}

.step-content p {
  color: var(--blue-grey-p);  
}

.steps-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 480px; /* Adjusted to halfway between original and reduced width */
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}
.steps-container::before {
    content: "";
    position: absolute;
    top: 50px; /* Align with center of the first circle */
    left: 43px; /* Center of the circle */
    bottom: 95px; /* Align with center of the last circle */
    width: 6px;
    background-color: var(--red);
}
.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
}
.step:last-child {
    margin-bottom: 0;
}
.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--red) 0%, var(--dark-red) 100%);
    color: var(--text-inverse);
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-full);
    flex-shrink: 0;
    margin-right: var(--space-4);
    position: relative;
    z-index: var(--z-base);
    box-shadow: var(--shadow-sm);
}
.step-content {
    flex-grow: 1;
}
.step-content h3 {
    margin: 0 0 var(--space-2);
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--dark-blue);
}
.step-content p {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    line-height: var(--line-height-relaxed);
    color: var(--text-primary);
}

.trix-content {
  font-size: 16px;
}

.red {
  color: var(--red);
}

.white {
  color: var(--white);
}

.w-100 {
  width: 100% !important;
}

.phone-flag {
    position: relative;
    width: 25px;
    top: -48px;
    left: 15px;
    z-index: 5;
}

.mobile-number-input {
    width: 100%;
    position: relative;
    text-align: left;
    color: #000;
}

.mobile-number-input:before {
    content: "+44";
    position: relative;
    text-decoration: inherit;
    padding-left: 45px;
    position: absolute;
    top: 15px;
    left: 0;
    z-index: 4;
}

/* Override: Webflow 60px too wide with FA list icons */
.sul-eligibility-list {
  padding-left: 40px;
  
}


.button-red.sul-apply-body {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 0;
}

.fa-li {
  left: 0px !important; /* Adjust this value as needed */
}

.nav-hamburger {
  z-index: 1;
}

#hamburger, #close {
  display: none;
  z-index: 1;
}

#hamburger-wrap {
  z-index: 1;
}

.tp-force-left {
 width: 100%; 
 max-width: 420px;"
}

.cta-box.wide {
  max-width: 100% !important;
}

.cta-list-item {
  font-size: 14px;
  margin-bottom: 15px;
}

.cta-list-item a {
  text-decoration: none;
  color: var(--dark-blue);
}

.cta-list-item a:hover {
  text-decoration: underline;
  color: var(--red);
}

.cta-box-heading {
  margin-bottom: 20px;
}

.pdf-link-block {
  margin-top: 30px;
}

.cta-box.help {
  width: 100%;
  max-width: 100%;
}

.cta-box.wide.news {
  padding: 20px 30px 0px 30px;
  height: auto;
}

.about-info-wrap {
  padding-right: 50px;
}

.homepage-addresses {
  padding-top: 28px;
  align-items: flex-start;
}

.homepage-office-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.homepage-office-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.homepage-office-label {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.homepage-office-link {
  line-height: 1.5;
}

.button-red.news-cta {
  margin-top: 20px;
  margin-bottom: 0;
  padding: 20px;
}

/* Override: Webflow dark-blue/600 doesn't work on dark background */
.related-news-title {
  color: var(--white);
  text-align: center;
  font-weight: 500;
  margin: 40px 0;
  font-size: 38px;
}

/* Override: Webflow 150px too short for Trustpilot slider */
.div-block-5 {
  height: 300px;
}

/* Override: Webflow 22px too small for topic headings */
.help-topic-title {
  font-size: 34px;
  font-weight: 400;
}

.search-result-heading a {
  color: var(--dark-blue);
  text-decoration: none;
}

.search-result-heading a:hover {
  color: var(--red);
}

.trix-content h2, .trix-content h3, .trix-content h4, .trix-content h5 {
  color: var(--dark-blue);
  margin-bottom: 10px;
}

.trix-content {
  color: var(--blue-grey-p);
}

.image-5.bbb-lp {
  padding: 0;
  box-shadow: none;
  width: 200px;
}

.footer-link {
  font-size: 16px;
}

.news-item-text-wrap { 
  padding: 35px;
}

.news-item-text-wrap a {
  text-decoration: none;
}

.related-news-thumbnail {
  overflow: hidden;
}




.news-body-wrap {
  margin: 0 50px;
  font-size: 16px;
  line-height: 175%;
}

/* Override: Webflow 20px padding-bottom too tight */
.news-hero {
  padding-bottom: 60px;
}

.news-hero-title-wrap {
  display: flex;
  flex-direction: column;
}

.news-hero-title-wrap p {
  color: var(--red);
  text-align: center;
  margin-top: 20px;
}

/* Override: Webflow weight 400 too light for story titles */
.news-story-title {
  max-width: 900px;
  text-align: center;
  font-weight: 500;
}

/* Override: Webflow 28px too large for tile grid */
.news-tile-heading {
  font-size: 25px;
}

/* Override: Webflow gradient doesn't match design (need hard stop at 40%) */
.news-image-wrap{
  background-image: linear-gradient(to bottom,var(--dark-blue),var(--dark-blue)40%,var(--light-grey)40%, var(--light-grey));
}

/* Override: Webflow 120px padding-top too tight with nav */
.help-section-hero {
  padding-top: 160px;
  padding-bottom: 50px;
  background-image: linear-gradient(185deg, var(--dark-blue) 57%, #142541);
  background-color: var(--dark-blue);
}

.search-help-icon {
  position: relative;
  top: -41px;
  left: 18px;
  width: 20px;
}

.related-news-block {
  min-height: 500px;
}

.news-item-image-wrap {
  margin-top: auto;
  margin-bottom: auto;
}


.landing-page-hero.acquisition {
  min-height: 100vh;
}

.modal-background {
  padding-top: 18%;
  align-items: flex-start;
}

.lp-textbox {
  min-height: 100px;
}

@media screen and (max-width: 991px) {
 
  .modal-background {
    padding-top: 20px;
    align-items: flex-start;
  }

  #close {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 4000;
    width: 70px;
    cursor:pointer;
    transition: transform 0.2s ease;
  }

  #close.spin {
    transform: rotate(180deg);
  }

  #hamburger {
    z-index: 10;
    display: inline-flex;
    position: relative;
    cursor: pointer;
  }

  #hamburger img {
    width: 65px;
    padding: 15px;
  }



}

@media screen and (max-width: 767px) {
  
  .tp-force-left {
    width: 100%; 
    max-width: 185px;
    padding-bottom: 50px;
  }

}

@media screen and (max-width: 479px) {
  .loanItem span#emi, .loanItem span#total-amount {
    font-size: 1.5rem;
  }

  .labelSmall {
    font-size: var(--text-xs);
  }
}

/* Font Awesome icon colours */
.fa-icon-red {
  --fa-primary-color: var(--red);
  --fa-secondary-color: var(--red);
}

/* Inline style replacements */
.trustpilot-container {
  max-width: 1400px;
  margin: auto;
}

.trustpilot-slider-container {
  max-width: 100%;
  margin: auto;
}

.terms-label {
  margin: 20px 0;
}

.checkbox-align {
  position: relative;
  top: 2px;
  margin-right: 5px;
}

.terms-link {
  text-decoration: underline;
}

.admin-page-title {
  color: var(--red);
  font-weight: 800;
}

.cf-turnstile {
  margin: 15px 0;
}

/* Cookie Modal */
.cookies-modal {
  position: fixed;
  z-index: 2;
  right: 0rem;
  bottom: 0rem;
  width: 100%;
  word-break: break-word;
  border-radius: 6px;
  background: #f5f5f5;
  opacity: 0.95;
  text-align: center;
}

.cookies-modal a {
  text-decoration: none;
  margin: 10px;
}


/* ===================================================================
   HOME PAGE REDESIGN — Token-based visual elevation
   All values reference :root tokens from bizbritain.css
   =================================================================== */

/* ===== GLOBAL: FOCUS STYLES ===== */

*:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* ===== HOME: SEPARATOR ===== */

.seperator {
  border-color: var(--red);
  width: 48px;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-full);
}

/* ===== HOME: NAVIGATION ===== */

.navbar {
  padding: var(--space-4) var(--space-5);
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base);
}

.nav-link {
  font-family: var(--font-primary);
  transition: color var(--transition-fast);
}

.nav-link.toggle {
  font-weight: var(--font-weight-medium);
}

.nav-link.dropdown {
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-phone-number {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
}

.nav-phone-text {
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
}

.button-red {
  font-family: var(--font-primary);
}

.button-red:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.button-red.nav-cta {
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
  padding: var(--space-3) var(--space-5);
  box-shadow: var(--shadow-md);
  margin-bottom: 0;
}

/* Mobile navigation polish */
.mobile-nav-menu-title {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-tight);
}

.mobile-nav-link {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wide);
  transition: color var(--transition-fast);
  padding: var(--space-2) 0;
}

.mobile-nav-link:hover {
  color: var(--red);
}

.mobile-nav-list-item {
  border-bottom: var(--border-width) solid rgba(255, 255, 255, 0.08);
}

/* ===== HOME: HERO ===== */

.hero-section {
  position: relative;
  padding: 200px var(--space-4) var(--space-15);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(25, 46, 80, 0.5) 0%,
    rgba(25, 46, 80, 0.25) 40%,
    rgba(25, 46, 80, 0.0) 70%
  );
  z-index: 0;
}

.hero-section > .w-layout-blockcontainer {
  position: relative;
  z-index: var(--z-base);
}

.hero-title {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-6);
  letter-spacing: var(--letter-spacing-tight);
}

.hero-span {
  font-weight: var(--font-weight-bold);
}

.hero-p {
  font-family: var(--font-secondary);
  font-size: var(--text-md);
  line-height: var(--line-height-relaxed);
  opacity: 0.9;
  margin-bottom: var(--space-7);
  max-width: 520px;
}

.button-red.hero {
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  padding: var(--space-5) var(--space-8);
  width: auto;
  min-width: 280px;
  height: auto;
  box-shadow: var(--shadow-lg);
}

.button-red.hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -4px rgba(237, 28, 36, 0.3);
}

/* ===== HOME: FUNDING GOALS ===== */

.path-section {
  background-color: var(--white);
  padding: var(--space-11) var(--space-4) var(--space-10);
}

.funding-goal-title {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  color: var(--dark-blue);
  letter-spacing: var(--letter-spacing-tight);
}

.funding-goal-p {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: var(--line-height-relaxed);
  color: var(--text-primary);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.funding-goal-title-box {
  padding-bottom: var(--space-6);
}

.funding-goal-options-box {
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  gap: var(--space-5);
}

.funding-goal-heading {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-medium);
  color: var(--dark-blue);
  margin-top: var(--space-4);
  transition: color var(--transition-fast);
}

.funding-goal-link-block:hover .funding-goal-heading {
  color: var(--red);
}

.funding-goal-image {
  transition: transform var(--transition-base);
}

.funding-goal-link-block:hover .funding-goal-image {
  transform: scale(1.08);
}

.bbb-logo-box {
  padding-top: var(--space-9);
}

/* ===== HOME: TESTIMONIALS ===== */

.testimonial-section {
  background-color: var(--surface-1);
  padding: var(--space-10) var(--space-4) var(--space-11);
}

.testimonials-title {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  color: var(--dark-blue);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: var(--space-5);
}

.trustpilot-container {
  padding: 0 var(--space-4);
}

/* ===== HOME: PROCESS ===== */

.process-section {
  background-color: var(--white);
  padding: var(--space-10) var(--space-4);
}

.process-title {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  color: var(--dark-blue);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: var(--space-6);
}

.text-span {
  color: var(--red);
}

.steps-container {
  padding: var(--space-5);
  max-width: 500px;
}

.step {
  margin-bottom: var(--space-6);
}

.image-2 {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ===== HOME: FAQ ===== */

.faq-section {
  background-color: var(--surface-1);
  padding: var(--space-10) var(--space-4) var(--space-11);
}

.faq-title {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  color: var(--dark-blue);
  letter-spacing: var(--letter-spacing-tight);
}

.faq-p {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: var(--line-height-base);
  color: var(--text-primary);
  padding-bottom: var(--space-7);
}

.faq-block {
  border: var(--border-width) solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq-block:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: var(--space-5) var(--space-6);
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--surface-2);
}

.faq-question-p {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-base);
  color: var(--dark-blue);
}

.faq-answer {
  border-top: var(--border-width) solid var(--border);
  padding: var(--space-5) var(--space-6);
}

.faq-answer-p {
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  line-height: var(--line-height-relaxed);
  color: var(--text-primary);
}

.faq-toggle-x {
  width: 16px;
  opacity: 0.5;
  flex-shrink: 0;
  margin-left: var(--space-4);
  transition: transform var(--transition-fast),
              opacity var(--transition-fast);
}

.faq-question:hover .faq-toggle-x {
  opacity: 0.8;
}

/* ===== HOME: CONTACT ===== */

.contact-section {
  background-size: cover;
  background-position: center;
  padding: var(--space-13) var(--space-4);
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(250, 250, 252, 0.8) 0%,
    rgba(250, 250, 252, 0.45) 50%,
    rgba(250, 250, 252, 0.1) 100%
  );
}

.contact-section > .w-layout-blockcontainer {
  position: relative;
  z-index: var(--z-base);
}

.heading-3 {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  color: var(--dark-blue);
  letter-spacing: var(--letter-spacing-tight);
}

.heading-4 {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-6);
}

.contact-info-p {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: var(--line-height-relaxed);
  color: var(--text-primary);
  margin-bottom: var(--space-7);
}

.contact-info-p a {
  color: var(--red);
  font-weight: var(--font-weight-medium);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.contact-info-p a:hover {
  color: var(--dark-red);
}

.link, .link-2 {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  transition: color var(--transition-fast);
}

.link:hover, .link-2:hover {
  color: var(--red);
}

.homepage-office-label {
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
}

/* ===== HOME: FOOTER ===== */

.footer {
  padding: var(--space-10) 0 var(--space-9);
}

.footer-wrapper {
  padding-bottom: var(--space-8);
  border-bottom: var(--border-width) solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-6);
}

.footer-heading {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.footer-heading.socials {
  font-size: var(--text-sm);
  margin-top: var(--space-5);
}

.footer-link {
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
  transition: color var(--transition-fast);
  opacity: 0.85;
}

.footer-link:hover {
  opacity: 1;
  text-decoration: none;
}

.footer-logo {
  margin-bottom: var(--space-4);
}

.footer-p {
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  line-height: var(--line-height-relaxed);
}

.social-image {
  width: 28px;
  height: 28px;
  margin-right: var(--space-3);
  opacity: 0.8;
  transition: opacity var(--transition-fast),
              transform var(--transition-fast);
}

.social-image:hover {
  opacity: 1;
  transform: scale(1.1);
}

.social-icon-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

/* Touch target sizing for social links */
.social-icon-wrapper a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}


/* ===================================================================
   HOME PAGE REDESIGN — Responsive overrides
   =================================================================== */

/* ===== RESPONSIVE: TABLET (991px) ===== */

@media screen and (max-width: 991px) {
  .hero-section {
    padding: var(--space-15) var(--space-4) var(--space-12);
  }

  .hero-split {
    max-width: 65%;
  }

  .funding-goal-options-box {
    padding: var(--space-5);
  }

  .mobile-nav-list-item {
    padding: var(--space-4) 0;
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }

  .contact-section {
    padding: var(--space-10) var(--space-4);
  }
}

/* ===== RESPONSIVE: SMALL TABLET (767px) ===== */

@media screen and (max-width: 767px) {
  .hero-section {
    padding: var(--space-14) var(--space-5) var(--space-10);
  }

  .hero-p {
    font-size: var(--text-base);
  }

  .button-red.hero {
    min-width: auto;
    width: 100%;
    max-width: 360px;
    padding: var(--space-4) var(--space-6);
  }

  .path-section {
    padding: var(--space-9) var(--space-5);
  }

  .funding-goal-link-block {
    margin-bottom: var(--space-5);
  }

  .testimonial-section {
    padding: var(--space-9) var(--space-5);
  }

  .process-section {
    padding: var(--space-9) var(--space-5);
  }

  .faq-section {
    padding: var(--space-9) var(--space-5);
  }

  .faq-question {
    padding: var(--space-4) var(--space-5);
  }

  .faq-answer {
    padding: var(--space-4) var(--space-5);
  }

  .contact-section {
    padding: var(--space-8) var(--space-5);
  }

  .footer {
    padding: var(--space-8) var(--space-5);
  }

  .footer-wrapper {
    padding-bottom: var(--space-6);
  }

  .footer-box {
    padding-bottom: var(--space-6);
  }
}

/* ===== RESPONSIVE: MOBILE (479px) ===== */

@media screen and (max-width: 479px) {
  .hero-section {
    padding: var(--space-13) var(--space-4) var(--space-9);
  }

  .hero-title {
    margin-bottom: var(--space-4);
  }

  .hero-p {
    font-size: var(--text-sm);
    margin-bottom: var(--space-5);
  }

  .button-red.hero {
    font-size: var(--text-xs);
    padding: var(--space-3) var(--space-5);
    min-width: auto;
    border-radius: var(--radius-md);
  }

  .step-content h3 {
    font-size: var(--text-lg);
  }

  .faq-question {
    padding: var(--space-4);
  }

  .faq-question-p {
    font-size: var(--text-sm);
    margin-right: var(--space-3);
  }

  .faq-answer {
    padding: var(--space-4);
  }

  /* Touch targets: larger on mobile */
  .social-icon-wrapper a {
    min-width: 48px;
    min-height: 48px;
  }
}


/* ===================================================================
   START UP LOANS PAGE — Token-based visual redesign
   Follows home page visual language from HOME_REDESIGN.md
   =================================================================== */

/* ===== SUL: HERO ===== */

.landing-page-hero {
  position: relative;
  padding: var(--space-12) var(--space-6) var(--space-5);
}

.landing-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(36, 61, 102, 0.3) 0%,
    transparent 55%
  );
  z-index: 0;
}

.landing-page-hero > .w-layout-blockcontainer {
  position: relative;
  z-index: var(--z-base);
}

.landing-page-logo {
  margin-bottom: var(--space-7);
}

.landing-page-heading {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-regular);
  color: var(--text-inverse);
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-5);
}

.landing-page-heading strong,
.landing-page-heading .bold-text {
  font-weight: var(--font-weight-bold);
}

.landing-page-subheading {
  font-family: var(--font-secondary);
  font-size: var(--text-md);
  color: var(--text-inverse);
  line-height: var(--line-height-relaxed);
  opacity: 0.9;
  max-width: 520px;
  margin-bottom: var(--space-6);
}

/* Hero CTA — matches home page pill exactly */
.landing-page-hero .button-red.hero {
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  padding: var(--space-5) var(--space-8);
  width: auto;
  min-width: 280px;
  height: auto;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-5);
}

.landing-page-hero .button-red.hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -4px rgba(237, 28, 36, 0.3);
}

/* FCA broker notice in hero */
.landing-page-hero .fca-broker-notice {
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  color: var(--text-inverse);
  opacity: 0.7;
}

/* ===== SUL: STATS BAR ===== */

.hero-bbf-totals {
  padding-top: var(--space-7);
  gap: var(--space-4);
}

.bbf-success-item {
  text-align: center;
  padding: 0 var(--space-5) var(--space-4);
}

.bbf-success-item + .bbf-success-item {
  border-left: var(--border-width) solid rgba(255, 255, 255, 0.15);
}

.bbf-success-item-title {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  font-size: 2.5rem;
  color: var(--red);
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-1);
}

.bbf-success-item-p {
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wide);
  color: var(--text-inverse);
  opacity: 0.8;
}

/* BSP note */
.bsp-note-p {
  padding-top: var(--space-5);
}

.sul-bsp-note {
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.sul-bsp-note:hover {
  color: var(--text-inverse);
}

/* ===== SUL: CONTENT SECTION (How can I use?) ===== */

.standard-section.sul-landing {
  background-color: var(--white);
  padding: var(--space-10) var(--space-4) var(--space-8);
}

.start-up-loan-section-title {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  color: var(--dark-blue);
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-6);
}

.text-span-6 {
  color: var(--red);
  font-weight: var(--font-weight-bold);
}

.sul {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: var(--line-height-relaxed);
  color: var(--text-primary);
  margin-bottom: var(--space-7);
}

/* YouTube embed */
.w-embed-youtubevideo.sul-yt {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto var(--space-6);
}

/* "How can I use" list */
.sul-uses-title {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  color: var(--dark-blue);
  letter-spacing: var(--letter-spacing-tight);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.text-span-8 {
  color: var(--red);
  font-weight: var(--font-weight-bold);
}

.sul-uses-list {
  padding-left: 0;
  margin-bottom: var(--space-6);
}

.sul-uses-list-item {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: var(--line-height-relaxed);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

/* BBB badge in content area */
.image-5 {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: none;
}

.working-with-bbb-hero-image {
  padding-bottom: var(--space-7);
}

/* ===== SUL: SUCCESS STORIES GRID ===== */

.standard-section.fb-testimonials {
  background-color: var(--surface-1);
  background-image: none;
  padding: var(--space-11) var(--space-4) var(--space-10);
}

.sul-lp-section-title {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  color: var(--dark-blue);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: var(--space-5);
}

.grid.fb {
  margin-top: var(--space-7);
  gap: var(--space-5);
}

.fb-grid-image {
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  padding-bottom: 0;
}

.fb-grid-image:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* ===== SUL: PROCESS STEPS ===== */

.process-section .sul-lp-section-title.process {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-tight);
}

/* Step 4 — green accent for successful conclusion */
.step:last-child .step-number {
  background: var(--green);
}

/* ===== SUL: ELIGIBILITY ===== */

.standard-section.eligibility {
  background-color: var(--surface-2);
  padding: var(--space-10) var(--space-4);
}

.sul-eligibility-wrapper {
  max-width: 900px;
}

.columns.sul-eligibility {
  margin-top: var(--space-6);
}

.sul-eligibility-list {
  padding-left: var(--space-7);
}

.sul-eligibility-list-item {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: var(--line-height-relaxed);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.sul-eligibility-bold {
  color: var(--red);
  font-weight: var(--font-weight-bold);
}

/* ===== SUL: APPLICATION FORM ===== */

.standard-section.sul-apply {
  background-color: var(--white);
  padding: var(--space-10) var(--space-4);
}

.sul-lp-apply-box {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-9) var(--space-7);
}

.sul-lp-apply-box .sul-lp-section-title {
  text-align: center;
}

.sul-lp-apply-box .bold-text-6 {
  font-weight: var(--font-weight-bold);
  color: var(--red);
}

.sul-apply-form-subheading {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: var(--space-5);
}

.sul-apply-form-label {
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--dark-blue);
  margin-bottom: var(--space-1);
}

.sul-apply-field {
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  height: 48px;
  padding: var(--space-3) var(--space-4);
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
  color: var(--text-primary);
}

.sul-apply-field:focus {
  border-color: var(--dark-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
}

.sul-lp-apply-form-name-wrap {
  gap: var(--space-5);
  margin-top: var(--space-5);
}

.sul-lp-apply-form-details-wrap {
  margin-top: var(--space-4);
}

.terms-label {
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  line-height: var(--line-height-relaxed);
  color: var(--text-primary);
}

/* Submit button — matches hero CTA pill exactly */
.button-red.sul-apply-form {
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  padding: var(--space-5) var(--space-8);
  width: 100%;
  margin-top: var(--space-6);
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-lg);
}

.button-red.sul-apply-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -4px rgba(237, 28, 36, 0.3);
}

.sul-apply-form-footnote {
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  line-height: var(--line-height-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
}

.sul-lp-apply-form-bbb-logo-wrap {
  margin-top: var(--space-4);
}

/* Body CTA button */
.button-red.sul-apply-body {
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-7);
}

.button-red.sul-apply-body:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -4px rgba(237, 28, 36, 0.3);
}

/* ===== SUL: REGULATORY FOOTER ===== */

.sul-footer-section {
  background-color: var(--surface-2);
  padding: var(--space-8) var(--space-4);
}

.sul-footer-p {
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  line-height: var(--line-height-relaxed);
  color: var(--text-secondary);
}

.sul-footer-link {
  color: var(--dark-blue);
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
}

.sul-footer-link:hover {
  color: var(--red);
}

/* Override .white utility inside regulatory footer (light bg) */
.sul-footer-section .white {
  color: var(--dark-blue);
  font-weight: var(--font-weight-medium);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.sul-footer-section .white:hover {
  color: var(--red);
}

.text-span-7,
.bold-text-2,
.bold-text-3,
.bold-sul-footer-text {
  color: var(--red);
  font-weight: var(--font-weight-semibold);
}


/* ===== SUL: RESPONSIVE ===== */

@media screen and (max-width: 991px) {
  .landing-page-hero {
    padding: var(--space-11) var(--space-5) var(--space-5);
  }

  .lp-hero-wrapper {
    gap: var(--space-7);
  }

  .landing-hero-left {
    width: 100%;
  }

  .landing-hero-right {
    width: 100%;
    padding-left: 0;
  }

  .grid.fb {
    grid-template-columns: 1fr 1fr;
  }

  .standard-section.fb-testimonials {
    padding-top: var(--space-9);
  }

  .sul-lp-apply-box {
    padding: var(--space-7) var(--space-5);
  }
}

@media screen and (max-width: 767px) {
  .landing-page-hero {
    padding: var(--space-10) var(--space-5) var(--space-5);
  }

  .landing-page-heading {
    font-size: 2rem;
  }

  .landing-page-subheading {
    font-size: var(--text-base);
  }

  .landing-page-hero .button-red.hero {
    width: 100%;
    max-width: 360px;
    min-width: auto;
    padding: var(--space-4) var(--space-6);
  }

  .bbf-success-item-title {
    font-size: 2rem;
  }

  .standard-section.sul-landing {
    padding-top: var(--space-8);
  }

  .start-up-loan-section-title {
    font-size: 2rem;
  }

  .sul-lp-section-title {
    font-size: 1.75rem;
  }

  .sul-eligibility-list-item {
    font-size: var(--text-sm);
  }

  .sul-lp-apply-box {
    padding: var(--space-6) var(--space-4);
    box-shadow: var(--shadow-md);
  }

  .sul-footer-section {
    padding: var(--space-7) var(--space-5);
  }
}

@media screen and (max-width: 479px) {
  .landing-page-hero {
    padding: var(--space-9) var(--space-4) var(--space-4);
  }

  .landing-page-heading {
    font-size: 1.5rem;
  }

  .bbf-success-item-title {
    font-size: 1.5rem;
  }

  .bbf-success-item-p {
    font-size: var(--text-xs);
  }

  .bbf-success-item {
    padding: 0 var(--space-3) var(--space-3);
  }

  .bbf-success-item + .bbf-success-item {
    border-left: none;
    border-top: var(--border-width) solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-3);
  }

  .start-up-loan-section-title {
    font-size: 1.25rem;
  }

  .sul-lp-section-title {
    font-size: 1.25rem;
  }

  .grid.fb {
    grid-template-columns: 1fr;
  }

  .sul-lp-apply-box {
    padding: var(--space-5) var(--space-4);
    box-shadow: var(--shadow-sm);
  }

  .button-red.sul-apply-form {
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-xs);
  }

  .sul-footer-section {
    padding: var(--space-6) var(--space-4);
  }
}


/* ===================================================================
   GROWTH FINANCE PAGE
   Inherits ~95% of styles from SUL redesign via shared base selectors.
   Only page-specific overrides below.
   =================================================================== */

/* ===== GF: BODY CTA — pill styling matching SUL body CTA ===== */

.button-red.growth {
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-7);
  margin-bottom: var(--space-5);
}

.button-red.growth:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -4px rgba(237, 28, 36, 0.3);
}

/* ===== GF: PROCESS — no green accent on 3-step variant ===== */

.process-section.growth .step:last-child .step-number {
  background: linear-gradient(135deg, var(--red) 0%, var(--dark-red) 100%);
}

.process-section.growth {
  padding-top: var(--space-11);
}

/* ===== GF: TEXTAREA in form ===== */

.lp-textbox.sul-apply-field {
  min-height: 100px;
  height: auto;
  resize: vertical;
  font-family: var(--font-secondary);
  padding: var(--space-4);
}

/* ===== GF: RESPONSIVE ===== */

@media screen and (max-width: 991px) {
  .landing-hero-left.growth,
  .landing-hero-left.acquisition {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .landing-hero-left.growth,
  .landing-hero-left.acquisition {
    width: 100%;
  }
}


/* ===================================================================
   ACQUISITION FINANCE PAGE
   Inherits all styles from SUL + Growth Finance redesigns.
   Only acquisition-specific additions below.
   =================================================================== */

/* AF: Custom select field — consistent with text inputs */
select.sul-apply-field {
  appearance: none;
  -webkit-appearance: none;
  /* Chevron uses --text-primary (#525c6d) encoded for SVG */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23525c6d' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 12px;
  padding-right: var(--space-8);
  cursor: pointer;
  color: var(--text-primary);
  background-color: var(--white);
}
