:root {
  color-scheme: light;
  --ink: #071832;
  --ink-soft: #31425f;
  --muted: #62708a;
  --line: #dfe8f5;
  --line-strong: #c8d8ee;
  --surface: #ffffff;
  --surface-soft: #f5f9ff;
  --surface-blue: #eef6ff;
  --blue: #0969da;
  --blue-strong: #0658c9;
  --blue-soft: #dcecff;
  --green: #0fa889;
  --green-strong: #078b72;
  --green-soft: #dbf5ef;
  --red: #d43f3a;
  --navy: #032344;
  --shadow: 0 16px 40px rgba(12, 42, 82, 0.12);
  --shadow-soft: 0 10px 24px rgba(12, 42, 82, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner,
.section-inner,
.footer-inner,
.legal-footer-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-main {
  font-size: 1.68rem;
  line-height: 1;
}

.brand-main span {
  color: var(--blue);
}

.brand-dot {
  margin-left: 1px;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--ink-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--blue);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.header-cta,
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  box-shadow: 0 12px 28px rgba(9, 105, 218, 0.22);
}

.btn-secondary {
  color: var(--blue);
  background: #fff;
  border-color: var(--blue);
}

.btn-green {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  box-shadow: 0 12px 28px rgba(15, 168, 137, 0.2);
}

.btn:hover,
.header-cta:hover {
  color: inherit;
  transform: translateY(-1px);
}

.btn svg {
  width: 19px;
  height: 19px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 42%, rgba(241,248,255,0.88) 100%),
    linear-gradient(180deg, #ffffff 0%, #edf6ff 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 150px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.36) 0 14px, rgba(9,105,218,0.06) 14px 28px),
    linear-gradient(90deg, rgba(9,105,218,0.08), rgba(255,255,255,0));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/assets/images/hero-patriotic-bg.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: min(100%, 980px) auto;
  opacity: 0.46;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.78fr);
  gap: 68px;
  align-items: center;
  padding: 36px 0 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.flag-image {
  width: 58px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 14px rgba(7, 24, 50, 0.12));
}

.hero h1 {
  margin: 30px 0 20px;
  max-width: 720px;
  font-size: 4.05rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.25rem;
}

.hero-lead strong,
.loan-type-blue {
  color: var(--blue);
  font-weight: 900;
}

.loan-type-green {
  color: var(--green);
  font-weight: 900;
}

.amount-range {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 28px 0 2px;
  font-weight: 900;
  line-height: 1;
}

.amount-range .from {
  color: var(--blue);
  font-size: 2.7rem;
}

.amount-range .to {
  color: var(--green);
  font-size: 2.7rem;
}

.range-caption {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.fico-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(15, 168, 137, 0.22);
  border-radius: var(--radius);
  background: rgba(219, 245, 239, 0.8);
  color: var(--ink);
  font-weight: 800;
}

.fico-note svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--green);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.loan-widget {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.loan-widget .field-group:last-of-type {
  margin-bottom: 22px;
}

.widget-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.widget-top h2 {
  margin: 0 0 4px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.widget-top p {
  margin: 0;
  color: var(--muted);
}

.shield {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  color: var(--blue);
}

.shield svg {
  width: 28px;
  height: 28px;
}

.field-group {
  margin-bottom: 17px;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 800;
}

.loan-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.loan-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-soft);
  font-weight: 900;
  cursor: pointer;
}

.loan-tab[aria-pressed="true"] {
  border-color: var(--blue);
  color: var(--blue);
  background: #f8fbff;
  box-shadow: inset 0 0 0 1px rgba(9, 105, 218, 0.12);
}

.loan-tab svg {
  width: 20px;
  height: 20px;
}

.amount-value {
  min-width: 92px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  color: var(--ink);
}

.range-input {
  width: 100%;
  accent-color: var(--blue);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}

.input-shell {
  position: relative;
}

.input-shell input,
.input-shell select,
.plain-input {
  width: 100%;
  min-height: 48px;
  padding: 0 44px 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  outline: none;
}

.input-shell input:focus,
.input-shell select:focus,
.plain-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(9, 105, 218, 0.1);
}

.input-shell svg {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.widget-submit {
  width: 100%;
  margin-top: 5px;
}

.secure-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.secure-line svg {
  width: 15px;
  height: 15px;
}

.feature-strip {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 22px 0;
}

.feature-card,
.content-card,
.article-card,
.info-panel,
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.feature-card {
  min-height: 205px;
  padding: 26px 24px;
  text-align: center;
}

.feature-icon,
.panel-icon,
.step-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-soft);
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(4) .feature-icon,
.panel-icon.green {
  color: var(--green);
  background: var(--green-soft);
}

.feature-icon svg,
.panel-icon svg,
.step-icon svg {
  width: 34px;
  height: 34px;
}

.step-icon.green {
  color: var(--green);
  background: var(--green-soft);
}

.feature-card h3,
.content-card h3,
.article-card h3,
.info-panel h3,
.step h2,
.step h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.feature-card p,
.content-card p,
.article-card p,
.info-panel p,
.step p {
  margin: 0;
  color: var(--ink-soft);
}

.section {
  padding: 58px 0;
}

.section-soft {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head.align-left {
  margin-left: 0;
  text-align: left;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.section-head h2,
.page-hero h1 {
  margin: 0;
  font-size: 2.12rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head p,
.page-hero p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.step {
  position: relative;
  min-height: 238px;
  padding: 26px 24px;
  text-align: center;
}

.step-number {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
}

.info-panel {
  padding: 28px;
}

.panel-heading {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.panel-heading .panel-icon {
  margin: 0;
}

.requirements-list,
.clean-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.requirements-list li,
.clean-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.requirements-list li:first-child,
.clean-list li:first-child {
  border-top: 0;
}

.check-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
}

.check-icon svg {
  width: 14px;
  height: 14px;
}

.contact-box {
  display: grid;
  gap: 0;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f4f8ff, #ffffff);
}

.contact-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.contact-row:first-child {
  border-top: 0;
}

.contact-row svg {
  width: 28px;
  height: 28px;
  color: var(--ink-soft);
}

.contact-row small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.contact-row strong {
  display: block;
  color: var(--ink);
  line-height: 1.35;
}

.cta-band {
  background: linear-gradient(135deg, var(--navy), #063a70);
  color: #fff;
}

.cta-band .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.cta-band h2 {
  margin: 0;
  font-size: 2rem;
}

.cta-band p {
  max-width: 760px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

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

.content-card,
.article-card {
  padding: 24px;
}

.content-card .mini-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--blue);
  background: var(--blue-soft);
}

.mini-icon svg {
  width: 25px;
  height: 25px;
}

.article-card {
  min-height: 232px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home-resources .content-grid {
  align-items: stretch;
}

.home-resource-card {
  min-height: 268px;
  gap: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-resource-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 112, 243, 0.28);
  box-shadow: 0 22px 42px rgba(5, 37, 68, 0.12);
}

.home-resource-card h3 {
  font-size: 1.12rem;
}

.home-resource-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-resource-card a::after {
  content: "->";
}

.article-card a {
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
}

.page-hero {
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
  border-bottom: 1px solid var(--line);
  padding: 54px 0;
}

.page-hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--blue);
}

.page-badge {
  min-width: 126px;
  min-height: 126px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.page-badge svg {
  width: 58px;
  height: 58px;
}

.locations-hero {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 16%, rgba(0, 112, 243, 0.13), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #edf7ff 100%);
}

.locations-hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: center;
}

.locations-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 3.1rem;
  line-height: 1.1;
}

.locations-hero p {
  max-width: 780px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.location-summary-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid rgba(0, 112, 243, 0.22);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.location-summary-card strong {
  display: block;
  color: var(--blue);
  font-size: 4rem;
  line-height: 1;
}

.location-summary-card span {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
}

.location-section-head {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.location-section-head h2 {
  margin: 0;
  font-size: 2rem;
}

.location-section-head p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--ink-soft);
}

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

.state-card {
  display: grid;
  gap: 12px;
  min-height: 168px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.state-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 112, 243, 0.32);
  box-shadow: 0 20px 38px rgba(5, 37, 68, 0.12);
}

.state-card-top {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.state-abbr {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 900;
}

.state-status {
  min-height: 28px;
  padding: 5px 9px;
  border-radius: var(--radius);
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 0.76rem;
  font-weight: 900;
}

.state-card-restricted .state-status,
.state-card-restricted .state-abbr {
  color: #9d3b16;
  background: #fff0e8;
}

.state-card-limited .state-status,
.state-card-limited .state-abbr {
  color: #836000;
  background: #fff7dc;
}

.state-card strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.state-card > span:last-child {
  color: var(--ink-soft);
  line-height: 1.5;
}

.empty-state-panel {
  padding: 28px;
  border: 1px dashed rgba(0, 112, 243, 0.38);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.empty-state-panel h3 {
  margin: 0 0 8px;
  color: var(--ink);
}

.empty-state-panel p {
  margin: 0;
  color: var(--ink-soft);
}

.state-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}

.state-facts div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.state-facts span,
.state-facts strong {
  display: block;
}

.state-facts span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.state-facts strong {
  color: var(--ink);
  line-height: 1.35;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 40px;
  align-items: start;
}

.article-body {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.article-hero {
  background:
    linear-gradient(105deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 52%, rgba(238,246,255,0.88) 100%),
    linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  border-bottom: 1px solid var(--line);
  padding: 58px 0;
}

.article-hero .section-inner {
  max-width: 980px;
}

.article-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: 3.1rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.article-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 1.13rem;
}

.article-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.article-labels span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-paragraph {
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.7;
}

.takeaway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 8px;
}

.takeaway-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.takeaway-grid strong,
.takeaway-grid span {
  display: block;
}

.takeaway-grid strong {
  color: var(--ink);
  margin-bottom: 8px;
}

.author-box {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 0 0 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #f5faff);
  box-shadow: var(--shadow-soft);
}

.author-box img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(5, 37, 68, 0.16);
}

.author-box h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
}

.author-box p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.author-eyebrow,
.author-title {
  font-weight: 900;
}

.author-eyebrow {
  margin: 0 0 4px !important;
  color: var(--blue);
  font-size: 0.76rem !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.author-title {
  color: var(--ink);
}

.author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
}

.author-links a {
  color: var(--blue);
  font-weight: 900;
}

.blog-category {
  margin-bottom: 42px;
}

.blog-category:last-child {
  margin-bottom: 0;
}

.blog-card h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.3;
}

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

.related-card {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.related-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.related-card strong {
  color: var(--ink);
  line-height: 1.35;
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin: 32px 0;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), #063a70);
  color: #fff;
}

.article-cta h2,
.article-cta p {
  margin: 0;
}

.article-cta h2 {
  color: #fff;
}

.article-cta p {
  color: rgba(255,255,255,0.8);
}

.article-sidebar hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}

.article-body h2 {
  margin: 34px 0 10px;
  color: var(--ink);
  line-height: 1.25;
}

.article-body h3 {
  margin: 24px 0 8px;
  color: var(--ink);
}

.article-body p {
  margin: 0 0 14px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

.article-body li {
  margin: 8px 0;
}

.article-body .article-cta h2 {
  color: #fff;
}

.article-body .article-cta p {
  color: rgba(255, 255, 255, 0.84);
}

.sidebar-box {
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.sidebar-box h2,
.sidebar-box h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.sidebar-box p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.sidebar-box .footer-list a {
  color: var(--blue);
  font-weight: 800;
}

.sidebar-box .footer-list a:hover {
  color: var(--ink);
}

.apply-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: start;
}

.apply-form-shell {
  min-height: 640px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

#rsForm {
  min-height: 620px;
}

#rsForm:empty {
  min-height: 620px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

#rsForm:empty::before {
  content: "Secure application form is loading. If it does not appear, contact support@realisticloans.com.";
  max-width: 420px;
}

.notice {
  padding: 16px 18px;
  border: 1px solid rgba(9, 105, 218, 0.22);
  border-radius: var(--radius);
  background: var(--surface-blue);
  color: var(--ink-soft);
}

.notice strong {
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--ink-soft);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 800;
}

.site-footer {
  color: #dbe8f8;
  background: linear-gradient(135deg, #052544, #00182d);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(120px, 0.72fr) minmax(120px, 0.72fr) minmax(250px, 1.1fr);
  gap: 42px;
  padding: 36px 0 28px;
}

.footer-inner .brand {
  color: #fff;
}

.footer-inner p {
  margin: 14px 0;
  color: #c5d5e8;
}

.footer-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

.footer-list {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-list a {
  color: #dbe8f8;
}

.footer-list a:hover {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-contact a,
.footer-contact span {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #dbe8f8;
}

.footer-contact a[href^="tel"] span {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.footer-contact svg {
  width: 19px;
  height: 19px;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(223, 232, 245, 0.16);
}

.legal-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 18px;
  color: #bfd0e6;
  font-size: 0.9rem;
}

.disclosures {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.disclosures .section-inner {
  color: var(--muted);
  font-size: 0.84rem;
}

.disclosures h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1rem;
}

.disclosures p {
  margin: 8px 0 0;
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .feature-grid,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .article-layout,
  .apply-wrap {
    grid-template-columns: 1fr;
  }

  .sidebar-box {
    position: static;
  }
}

@media (max-width: 860px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .legal-footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 46px;
    padding: 0 10px;
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero::after {
    background-size: 760px auto;
    background-position: left 68% bottom;
    opacity: 0.3;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .amount-range .from,
  .amount-range .to {
    font-size: 2.25rem;
  }

  .feature-grid,
  .steps-grid,
  .panel-grid,
  .content-grid,
  .state-grid,
  .takeaway-grid,
  .related-grid,
  .cta-band .section-inner,
  .page-hero .section-inner,
  .locations-hero .section-inner,
  .state-facts {
    grid-template-columns: 1fr;
  }

  .locations-hero h1 {
    font-size: 2.35rem;
  }

  .location-section-head {
    display: grid;
    align-items: start;
  }

  .article-hero h1 {
    font-size: 2.38rem;
  }

  .article-cta {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .cta-band .section-inner {
    justify-items: start;
  }

  .page-badge {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand-main {
    font-size: 1.42rem;
  }

  .brand-dot {
    font-size: 0.82rem;
  }

  .hero-inner {
    padding-top: 28px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: 2.2rem;
  }

  .hero::after {
    background-size: 640px auto;
    background-position: left 62% bottom;
    opacity: 0.24;
  }

  .hero-actions,
  .loan-tabs {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .loan-tabs,
  .loan-widget .btn {
    width: 100%;
  }

  .loan-tabs {
    display: grid;
  }

  .loan-widget,
  .info-panel,
  .content-card,
  .article-card,
  .apply-form-shell,
  .sidebar-box {
    padding: 20px;
  }

  .feature-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 44px 0;
  }

  .section-head h2,
  .page-hero h1 {
    font-size: 1.78rem;
  }

  .article-hero h1 {
    font-size: 2rem;
  }

  .panel-heading {
    grid-template-columns: 1fr;
  }

  .author-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-box img {
    margin: 0 auto;
  }

  .author-links {
    justify-content: center;
  }

  .amount-range {
    flex-wrap: wrap;
  }
}
