:root {
  --brand-primary: #ffb400;
  --brand-dark: #20252b;
  --brand-muted: #5c6570;
  --brand-surface: #f6f7f8;
  --brand-border: #e1e5e9;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--brand-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.fa,
.icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1em;
  font-family: Arial, Helvetica, sans-serif !important;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.fa-bars::before { content: "☰"; }
.fa-calendar-check-o::before { content: "✓"; }
.fa-chevron-right::before { content: "›"; }
.fa-clock-o::before { content: "◷"; }
.fa-download::before { content: "↓"; }
.fa-percent::before { content: "%"; }
.fa-phone::before { content: "☎"; }
.icon-calendar::before { content: "▣"; }
.icon-location-pin::before { content: "⌖"; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 3px;
}

#header {
  position: relative !important;
  top: auto !important;
  min-height: 0 !important;
}

#header .header-body {
  position: relative !important;
  top: auto !important;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: #15191d !important;
}

#header .header-btn-collapse-nav {
  min-width: 48px;
  min-height: 48px;
}

.header-license {
  line-height: 1.45;
}

.seo-hero {
  min-height: 480px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(16, 22, 28, .92) 0%, rgba(16, 22, 28, .76) 54%, rgba(16, 22, 28, .28) 100%),
    url('/img/demos/business-consulting/slides/slide-1.jpg') center / cover no-repeat;
  color: #fff;
}

.seo-hero__content {
  max-width: 880px;
  padding: 72px 0 78px;
}

.loan-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .78fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  padding: 58px 0 64px;
}

.loan-hero .seo-hero__content {
  max-width: 720px;
  padding: 0;
}

.loan-hero__benefits {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.loan-hero__benefits li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, .94);
  font-size: 1.05rem;
}

.loan-hero__benefits li::before {
  position: absolute;
  top: .05em;
  left: 0;
  color: var(--brand-primary);
  content: "✓";
  font-weight: 800;
}

.loan-calculator {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .28);
  color: var(--brand-dark);
}

.loan-calculator__heading {
  margin-bottom: 24px;
}

.loan-calculator__eyebrow,
.product-paths__eyebrow {
  margin: 0 0 6px;
  color: #8a6200;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.loan-calculator h2 {
  margin: 0;
  color: var(--brand-dark);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.2;
}

.loan-calculator__control {
  margin-top: 22px;
}

.loan-calculator__label-row,
.loan-calculator__bounds {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.loan-calculator__label-row {
  align-items: baseline;
  margin-bottom: 10px;
}

.loan-calculator__label-row label {
  margin: 0;
  color: var(--brand-dark);
  font-weight: 700;
}

.loan-calculator__label-row output {
  color: var(--brand-dark);
  font-size: 1.2rem;
  font-weight: 800;
}

.loan-calculator input[type="range"] {
  width: 100%;
  min-height: 28px;
  margin: 0;
  accent-color: #9b7200;
  cursor: pointer;
}

.loan-calculator__bounds {
  color: var(--brand-muted);
  font-size: .78rem;
}

.loan-calculator__result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  background: var(--brand-border);
}

.loan-calculator__result div {
  padding: 12px 14px;
  background: #fff;
}

.loan-calculator__result dt {
  color: var(--brand-muted);
  font-size: .78rem;
  font-weight: 400;
}

.loan-calculator__result dd {
  margin: 3px 0 0;
  color: var(--brand-dark);
  font-size: 1rem;
  font-weight: 800;
}

.loan-calculator__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  border: 2px solid #76b846;
  border-radius: 8px;
  background: #76b846;
  color: #15191d;
  font-weight: 800;
  text-decoration: none;
}

.loan-calculator__cta:hover,
.loan-calculator__cta:focus {
  background: #8bca5d;
  color: #101317;
  text-decoration: none;
}

.loan-calculator__note {
  margin: 14px 0 0;
  color: #525b65;
  font-size: .78rem;
  line-height: 1.45;
}

.seo-hero h1 {
  color: #fff;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.12;
  margin: 0 0 20px;
}

.seo-hero__rate {
  margin: 0 0 28px;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  font-weight: 700;
}

.seo-hero__note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 1rem;
}

.seo-hero .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.looking-for.custom-position-1 {
  margin-top: 0 !important;
  background: #15191d;
  color: #fff;
}

.looking-for.custom-position-1 h2,
.looking-for.custom-position-1 p {
  color: #fff !important;
}

.seo-info {
  padding: 68px 0;
  background: #fff;
}

.seo-info__intro {
  max-width: 820px;
  margin-bottom: 30px;
}

.seo-info__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0 42px;
}

.seo-info__card {
  padding: 24px;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  background: var(--brand-surface);
}

.seo-info__card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.seo-info__card p {
  margin: 0;
}

.seo-faq {
  max-width: 920px;
}

.seo-faq details {
  border-top: 1px solid var(--brand-border);
  padding: 0;
}

.seo-faq details:last-child {
  border-bottom: 1px solid var(--brand-border);
}

.seo-faq summary {
  cursor: pointer;
  padding: 18px 34px 18px 0;
  font-size: 1.08rem;
  font-weight: 700;
}

.seo-faq details p {
  padding: 0 0 18px;
  margin: 0;
}

.seo-disclosure {
  margin-top: 32px;
  padding: 18px 20px;
  border-left: 4px solid var(--brand-primary);
  background: #fff8e7;
  color: #3d4248;
}

.product-paths {
  margin-top: 54px;
  padding-top: 48px;
  border-top: 1px solid var(--brand-border);
}

.product-paths__heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.product-paths__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-paths__grid a {
  display: grid;
  gap: 4px;
  min-height: 90px;
  padding: 18px 20px;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  background: var(--brand-surface);
  color: var(--brand-dark);
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.product-paths__grid a:hover,
.product-paths__grid a:focus-visible {
  border-color: #ad7e00;
  box-shadow: 0 10px 24px rgba(22, 28, 35, .08);
  color: var(--brand-dark);
  transform: translateY(-2px);
}

.product-paths__grid strong {
  font-size: 1.05rem;
}

.product-paths__grid span {
  color: var(--brand-muted);
  font-size: .92rem;
}

.document-file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid #9b7200;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--brand-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 7px;
}

.footer-links a {
  color: #dce1e5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-sticky-cta {
  display: none;
}

.product-page {
  margin: 0;
  background: #fff;
  color: var(--brand-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.product-page *,
.product-page *::before,
.product-page *::after {
  box-sizing: border-box;
}

.product-page a:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 3px;
}

.product-shell {
  width: min(1160px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.product-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: #15191d;
}

.product-header__inner {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 28px;
}

.product-brand {
  flex: 0 0 auto;
}

.product-brand img {
  display: block;
  object-fit: contain;
}

.product-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.product-nav a {
  color: #eef1f3;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}

.product-nav a:hover {
  color: var(--brand-primary);
}

.product-header__cta,
.product-primary-cta,
.product-final-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 2px solid #76b846;
  border-radius: 8px;
  background: #76b846;
  color: #15191d;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.product-header__cta:hover,
.product-primary-cta:hover,
.product-final-cta a:hover {
  background: #8bca5d;
  color: #101317;
}

.product-hero {
  padding: 38px 0 54px;
  background: linear-gradient(135deg, #15191d 0%, #252c33 70%, #343c44 100%);
  color: #fff;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: #bdc5cc;
  font-size: .88rem;
}

.product-breadcrumb a {
  color: #fff;
  text-underline-offset: 3px;
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .7fr);
  gap: clamp(32px, 7vw, 94px);
  align-items: end;
}

.product-kicker {
  margin: 0 0 10px;
  color: var(--brand-primary);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -.025em;
}

.product-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: #e2e7eb;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.product-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 2px solid rgba(255, 255, 255, .58);
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.product-secondary-cta:hover {
  border-color: #fff;
  color: #fff;
}

.product-facts {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  background: rgba(255, 255, 255, .15);
}

.product-facts div {
  padding: 16px 18px;
  background: rgba(255, 255, 255, .08);
}

.product-facts dt {
  color: #bfc7ce;
  font-size: .8rem;
  font-weight: 400;
}

.product-facts dd {
  margin: 2px 0 0;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 800;
}

.product-hero__note {
  max-width: 900px;
  margin: 32px 0 0;
  color: #c5cdd3;
  font-size: .84rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(42px, 7vw, 90px);
  align-items: start;
  padding-top: 66px;
  padding-bottom: 72px;
}

.product-content {
  min-width: 0;
}

.product-content > section {
  padding: 0 0 42px;
}

.product-content > section + section {
  padding-top: 42px;
  border-top: 1px solid var(--brand-border);
}

.product-content h2,
.related-products h2,
.product-final-cta h2 {
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.product-content p {
  margin: 0;
  color: #39414a;
  font-size: 1.04rem;
}

.product-content ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 22px;
  color: #39414a;
}

.product-content li::marker {
  color: #9b7200;
}

.product-faq details {
  border-top: 1px solid var(--brand-border);
}

.product-faq details:last-child {
  border-bottom: 1px solid var(--brand-border);
}

.product-faq summary {
  min-height: 56px;
  padding: 16px 38px 16px 0;
  cursor: pointer;
  font-weight: 800;
}

.product-faq details p {
  padding: 0 0 18px;
  font-size: .98rem;
}

.product-aside {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 16px;
}

.product-aside__card {
  padding: 24px;
  border: 1px solid #dbc17a;
  border-radius: 12px;
  background: #fff8e7;
}

.product-aside__card--muted {
  border-color: var(--brand-border);
  background: var(--brand-surface);
}

.product-aside__card h2 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  line-height: 1.3;
}

.product-aside__card p {
  margin: 0 0 14px;
  color: #505963;
  font-size: .9rem;
}

.product-aside__card a {
  color: #725300;
  font-weight: 800;
  text-underline-offset: 3px;
}

.related-products {
  padding: 60px 0 68px;
  background: var(--brand-surface);
}

.related-products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-products__grid a {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  background: #fff;
  color: var(--brand-dark);
  text-decoration: none;
}

.related-products__grid a:hover {
  border-color: #ad7e00;
  box-shadow: 0 12px 26px rgba(22, 28, 35, .08);
}

.related-products__grid strong {
  font-size: 1.1rem;
  line-height: 1.35;
}

.related-products__grid span {
  color: var(--brand-muted);
  font-size: .9rem;
}

.product-final-cta {
  padding: 46px 0;
  background: var(--brand-primary);
}

.product-final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.product-final-cta h2 {
  margin-bottom: 5px;
}

.product-final-cta p {
  margin: 0;
  color: #42330d;
}

.product-final-cta a {
  flex: 0 0 auto;
  border-color: #15191d;
  background: #15191d;
  color: #fff;
}

.product-final-cta a:hover {
  background: #30363d;
  color: #fff;
}

.product-footer {
  padding: 54px 0 28px;
  background: #15191d;
  color: #dbe1e6;
}

.product-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
}

.product-footer strong {
  color: #fff;
}

.product-footer p {
  max-width: 280px;
  margin: 10px 0 0;
  color: #aeb8c0;
  font-size: .9rem;
}

.product-footer nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.product-footer nav strong {
  margin-bottom: 4px;
}

.product-footer a {
  color: #dbe1e6;
  font-size: .9rem;
  text-decoration: none;
}

.product-footer a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: #9fa9b2;
  font-size: .82rem;
}

.policy-page,
.error-page {
  margin: 0;
  min-height: 100vh;
  background: var(--brand-surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

.policy-shell,
.error-shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
}

.policy-header,
.error-header {
  padding: 22px 0;
}

.policy-header a,
.error-header a {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
}

.policy-card,
.error-card {
  padding: clamp(26px, 6vw, 56px);
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(22, 28, 35, .08);
}

.policy-card h1,
.error-card h1 {
  margin-top: 0;
  line-height: 1.15;
}

.policy-card h2 {
  margin-top: 2rem;
  line-height: 1.25;
}

.policy-updated {
  color: var(--brand-muted);
}

.policy-footer,
.error-footer {
  padding: 24px 0 40px;
  color: var(--brand-muted);
  font-size: .92rem;
}

.error-page {
  display: grid;
  place-items: center;
}

.error-code {
  color: var(--brand-primary);
  font-size: clamp(4rem, 18vw, 9rem);
  font-weight: 800;
  line-height: .9;
}

@media (max-width: 991px) {
  .loan-hero__grid {
    grid-template-columns: 1fr;
  }

  .loan-hero .seo-hero__content {
    max-width: 760px;
  }

  .seo-info__grid {
    grid-template-columns: 1fr;
  }

  .header-nav-main nav.collapse.show {
    display: block !important;
  }

  .product-nav {
    display: none;
  }

  .product-header__cta {
    margin-left: auto;
  }

  .product-hero__grid,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-products__grid {
    grid-template-columns: 1fr;
  }

  .related-products__grid a {
    min-height: 0;
  }

  .product-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.has-mobile-sticky-cta {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    display: block;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    border-top: 1px solid rgba(255, 255, 255, .14);
    background: #15191d;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .24);
  }

  .mobile-sticky-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 20px;
    border: 2px solid #76b846;
    border-radius: 8px;
    background: #76b846;
    color: #15191d;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }

  .mobile-sticky-cta__button:hover,
  .mobile-sticky-cta__button:focus {
    background: #8bca5d;
    color: #101317;
    text-decoration: none;
  }

  .seo-hero {
    min-height: 420px;
    background-position: 62% center;
  }

  .loan-hero {
    background: linear-gradient(145deg, #111820 0%, #1a242d 58%, #26343f 100%);
  }

  .loan-hero h1,
  .loan-calculator h2 {
    font-family: Georgia, "Times New Roman", serif;
  }

  .seo-hero__content {
    padding: 54px 0 58px;
  }

  .loan-hero__grid {
    gap: 28px;
    padding: 42px 0 48px;
  }

  .loan-hero .seo-hero__content {
    padding: 0;
  }

  .loan-calculator {
    padding: 22px 18px;
  }

  .loan-calculator__result,
  .product-paths__grid {
    grid-template-columns: 1fr;
  }

  .seo-hero .btn {
    width: 100%;
  }

  #addresses .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  #addresses .nav-tabs .nav-link {
    white-space: nowrap;
  }

  .product-shell {
    width: min(100% - 28px, 1160px);
  }

  .product-header__inner {
    min-height: 68px;
    gap: 14px;
  }

  .product-brand img {
    width: 108px;
    height: auto;
  }

  .product-header__cta {
    min-height: 44px;
    padding: 9px 13px;
    font-size: .84rem;
  }

  .product-hero {
    padding: 26px 0 42px;
  }

  .product-breadcrumb {
    margin-bottom: 24px;
  }

  .product-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.25rem);
  }

  .product-facts {
    margin-top: 6px;
  }

  .product-actions,
  .product-final-cta__inner,
  .product-footer__bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .product-primary-cta,
  .product-secondary-cta,
  .product-final-cta a {
    width: 100%;
  }

  .product-layout {
    gap: 42px;
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .product-aside,
  .product-footer__grid {
    grid-template-columns: 1fr;
  }

  .related-products {
    padding: 48px 0 54px;
  }

  .product-final-cta,
  .product-footer {
    padding-top: 42px;
    padding-bottom: 42px;
  }
}

@media (forced-colors: active) and (max-width: 767px) {
  .mobile-sticky-cta {
    border-top: 1px solid CanvasText;
  }

  .mobile-sticky-cta__button {
    border: 2px solid ButtonText;
  }
}
