:root {
  --bg: #ffffff;
  --ink: #111827;
  --muted: #536173;
  --soft: #eef6fd;
  --soft-2: #f7fbff;
  --line: #d8e5f0;
  --line-strong: #bfcedd;
  --navy: #172130;
  --steel: #2f3a47;
  --blue: #1599e6;
  --blue-2: #0877c2;
  --blue-dark: #0b5f9e;
  --silver: #f2f5f8;
  --shadow: 0 24px 70px rgba(17, 34, 51, 0.14);
  --shadow-soft: 0 18px 46px rgba(17, 34, 51, 0.1);
  --radius: 8px;
  --wrap: 1160px;
  --scroll-progress: 0;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --media-x: 0px;
  --media-y: 0px;
  accent-color: var(--blue-2);
  color-scheme: light;
}

@view-transition {
  navigation: auto;
}

@property --scroll-progress {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100vw;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
iframe:focus-visible {
  outline: 3px solid rgba(21, 153, 230, 0.5);
  outline-offset: 4px;
}

.content-wrap {
  width: min(var(--wrap), calc(100vw - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 96px 0;
}

main > section {
  scroll-margin-top: 90px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  box-shadow: 0 0 16px rgba(21, 153, 230, 0.28);
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 10px max(20px, calc((100vw - var(--wrap)) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 229, 240, 0.82);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(191, 206, 221, 0.9);
  box-shadow: 0 14px 36px rgba(17, 34, 51, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #263445;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

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

.nav-cta,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button::after,
.nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: translateX(-130%);
  transition: transform 520ms ease;
  pointer-events: none;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 12px 24px rgba(8, 119, 194, 0.22);
}

.button.secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-cta:hover::after,
.button:hover::after {
  transform: translateX(130%);
}

.button.is-pressed,
.nav-cta.is-pressed {
  transform: translateY(0) scale(0.985);
}

.nav-toggle {
  flex: 0 0 44px;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(760px, calc(100vh - 76px));
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 45%, rgba(241, 248, 253, 0.88) 100%),
    linear-gradient(135deg, rgba(21, 153, 230, 0.1), rgba(23, 33, 48, 0.02));
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background-image:
    linear-gradient(rgba(8, 119, 194, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 119, 194, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(0deg, #000, transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 62px;
  align-items: center;
}

.hero-copy,
.hero-media,
.split-grid > *,
.page-hero-grid > *,
.form-shell > * {
  min-width: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(42px, 5.9vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.25;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.copy-mobile {
  display: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 560px;
  margin-top: 34px;
}

.hero-note {
  max-width: 660px;
  margin: 16px 0 0;
  color: #7a8898;
  font-size: 12px;
  line-height: 1.55;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 650px;
  margin-top: 24px;
  overflow: hidden;
  background: rgba(191, 206, 221, 0.7);
  border: 1px solid rgba(216, 229, 240, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(17, 34, 51, 0.05);
}

.hero-metrics span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.82);
}

.hero-metrics strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.hero-metrics em {
  color: #607184;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-media {
  position: relative;
  margin: 0;
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(21, 153, 230, 0.22), rgba(23, 33, 48, 0.08));
  border-radius: var(--radius);
  transform: translate3d(calc(var(--scroll-progress) * -10px), 0, 0);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(216, 229, 240, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateZ(0);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.hero-media figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: baseline;
  margin-top: 16px;
  padding: 0 4px;
  color: #536173;
  font-size: 14px;
  line-height: 1.5;
}

.hero-media figcaption span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-media figcaption strong {
  color: var(--steel);
  font-weight: 700;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.banner-image,
.system-panel,
.panel-row,
.panel-meter {
  display: none;
}

.split-section {
  padding: 96px 0;
  background: var(--soft-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: center;
}

.split-grid.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-grid p,
.section-heading p,
.page-card p,
.interest-grid p,
.form-copy p {
  color: var(--muted);
  font-size: 17px;
}

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

.feature-list article,
.values-grid article,
.assurance-cards article,
.page-card,
.form-copy {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(17, 34, 51, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-list article:hover,
.values-grid article:hover,
.assurance-cards article:hover,
.page-card:hover,
.form-copy:hover,
.media-grid article:hover,
.process-rail article:hover,
.process-rail article.is-current {
  transform: translateY(-3px);
}

.feature-list article:hover,
.values-grid article:hover,
.page-card:hover,
.form-copy:hover {
  border-color: rgba(21, 153, 230, 0.34);
  box-shadow: 0 18px 44px rgba(17, 34, 51, 0.09);
}

.feature-icon,
.step-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  place-items: center;
  color: var(--blue-2);
  background: rgba(21, 153, 230, 0.1);
  border: 1px solid rgba(21, 153, 230, 0.24);
  border-radius: var(--radius);
}

.feature-icon svg,
.step-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.media-showcase {
  background: #fff;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.media-grid article {
  min-width: 0;
  transition: transform 180ms ease;
}

.media-grid img,
.section-media img,
.page-media img {
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(216, 229, 240, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.media-grid img {
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.media-grid article:hover img,
.section-media:hover img,
.page-media:hover img {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(17, 34, 51, 0.13);
}

.media-grid p {
  color: var(--muted);
}

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

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

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.process-rail article {
  min-height: 300px;
  padding: 30px;
  background: #fff;
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.process-rail article.is-current {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #fff, #f6fbff);
  box-shadow: 0 18px 46px rgba(17, 34, 51, 0.1);
}

.step-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
}

.step-icon {
  color: #fff;
  border-color: transparent;
}

.process-rail p,
.values-grid p,
.assurance-cards p {
  color: var(--muted);
}

.assurance {
  padding: 96px 0;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(21, 153, 230, 0.28), transparent 34%),
    linear-gradient(135deg, #172130, #273343);
}

.assurance h2,
.assurance h3 {
  color: #fff;
}

.assurance p {
  color: #c9d5e3;
}

.assurance-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
}

.assurance-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.assurance-cards article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.about-preview {
  background: #fff;
}

.logo-frame {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding: 48px;
  background:
    linear-gradient(135deg, rgba(21, 153, 230, 0.1), rgba(242, 245, 248, 0.92)),
    #f8fbfe;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.logo-frame img {
  width: min(290px, 76%);
}

.section-media {
  margin: 0;
}

.section-media img {
  aspect-ratio: 4 / 3;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue-2);
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "->";
  margin-left: 8px;
}

.final-cta {
  background: var(--soft-2);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #263545);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.cta-panel p {
  max-width: 640px;
  margin-bottom: 0;
  color: #d6e2ee;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 255, 0.92)),
    linear-gradient(135deg, rgba(21, 153, 230, 0.12), rgba(23, 33, 48, 0.02));
  border-bottom: 1px solid var(--line);
}

.page-hero.compact {
  padding-top: 84px;
  padding-bottom: 76px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: center;
}

.page-side {
  display: grid;
  gap: 18px;
}

.page-media {
  margin: 0;
}

.page-media img {
  aspect-ratio: 4 / 3;
}

.page-hero h1 {
  font-size: clamp(44px, 7vw, 72px);
}

.page-card h2,
.form-copy h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.intake-card .button {
  width: 100%;
  margin-top: 18px;
}

.about-values {
  background: #fff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.interest-intro {
  padding: 72px 0;
  background: var(--soft-2);
  border-bottom: 1px solid var(--line);
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.interest-grid article {
  padding-right: 36px;
}

.form-section {
  background: #fff;
}

.form-section[data-reveal],
.form-section [data-reveal] {
  opacity: 1;
  transform: none;
}

.form-shell {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 22px;
  align-items: start;
}

.form-shell iframe {
  width: 100%;
  min-height: 820px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}

.form-shell.is-loaded iframe {
  border-color: rgba(21, 153, 230, 0.38);
}

.mobile-form-bar {
  display: none;
}

.site-footer {
  padding: 54px 0 28px;
  color: #d5dfeb;
  background: #101822;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 34px;
}

.footer-logo {
  width: 64px;
  margin-bottom: 16px;
}

.footer-grid p {
  max-width: 520px;
  color: #aab8c8;
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 170px;
}

.footer-links a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.legal-note {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-note p {
  margin-bottom: 0;
  color: #8e9bad;
  font-size: 12px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .split-grid.reverse,
  .assurance-grid,
  .page-hero-grid,
  .form-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    max-width: 720px;
    margin: 6px auto 0;
  }

  .process-rail,
  .values-grid,
  .assurance-cards,
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .content-wrap {
    width: calc(100% - 28px);
    max-width: var(--wrap);
  }

  .section-pad,
  .split-section,
  .assurance {
    padding: 68px 0;
  }

  .site-header {
    min-height: 68px;
    padding: 8px 14px;
    width: 100%;
  }

  .brand span {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 32px;
  }

  .lead {
    font-size: 18px;
    overflow-wrap: break-word;
  }

  .hero-lead {
    max-width: 31rem;
  }

  .copy-desktop {
    display: none;
  }

  .copy-mobile {
    display: inline;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero-media::before {
    inset: 10px 0 -10px 0;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .process-rail,
  .values-grid,
  .assurance-cards,
  .media-grid,
  .interest-grid {
    grid-template-columns: 1fr;
  }

  .process-rail article {
    min-height: auto;
  }

  .interest-grid article {
    padding-right: 0;
  }

  .cta-panel {
    padding: 28px;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 70px;
  }

  .content-wrap {
    width: min(304px, calc(100% - 28px));
  }

  .mobile-form-bar {
    position: fixed;
    right: 24px;
    bottom: 12px;
    left: 24px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    border-radius: var(--radius);
    box-shadow: 0 16px 34px rgba(8, 119, 194, 0.32);
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
  }

  .js .mobile-form-bar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 18px));
  }

  .js .mobile-form-bar.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-form-bar.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 18px));
  }

  .hero {
    align-items: start;
  }

  .hero.section-pad {
    padding-top: 42px;
  }

  .hero-grid {
    gap: 34px;
  }

  h1 {
    max-width: calc(100vw - 36px);
    font-size: 26px;
    line-height: 1.08;
  }

  .page-hero h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  h2 {
    font-size: 28px;
    line-height: 1.08;
  }

  .lead {
    max-width: calc(100vw - 36px);
    font-size: 17px;
    line-height: 1.55;
  }

  .button {
    white-space: normal;
    text-align: center;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-note {
    margin-top: 14px;
  }

  .hero-media img {
    aspect-ratio: 4 / 3;
    object-position: 58% center;
  }

  .hero-media figcaption {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 0;
    font-size: 13px;
  }

  .hero-metrics span {
    padding: 11px 12px;
  }

  .hero-metrics strong {
    font-size: 14px;
  }

  .hero-metrics em {
    font-size: 10px;
  }

  .page-hero.compact {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .form-shell iframe {
    min-height: 720px;
    box-shadow: var(--shadow-soft);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .scroll-progress {
    display: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .hero-media.is-reactive img {
    transform:
      perspective(900px)
      rotateX(var(--tilt-y))
      rotateY(var(--tilt-x))
      translate3d(var(--media-x), var(--media-y), 0);
  }
}
