:root {
  color-scheme: light;
  --ink: #102a59;
  --text: #263f61;
  --muted: #536b86;
  --line: #dce8f4;
  --blue: #075eb4;
  --blue-hover: #064f98;
  --sky: #eef7ff;
  --page: #f6fbff;
  --white: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--page); -webkit-text-size-adjust: 100%; }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--text); background: var(--page); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #075eb4; outline-offset: 4px; border-radius: 4px; }
h1, h2, h3, p { margin-top: 0; }
.content-width { width: min(calc(100% - 40px), 1120px); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 50; padding: 10px 14px; transform: translateY(-160%); border-radius: 10px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 750; }
.skip-link:focus { transform: translateY(0); outline: 3px solid #7fc5ff; outline-offset: 3px; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.header-inner { width: min(calc(100% - 40px), 1200px); min-height: 76px; margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.wordmark { width: 202px; height: 60px; flex: 0 0 202px; display: inline-flex; align-items: center; gap: 8px; }
.wordmark img { display: block; width: 154px; height: 57px; flex: 0 0 154px; object-fit: contain; object-position: left center; }
.wordmark .brand-pay { color: var(--ink); font-size: 15px; font-weight: 850; letter-spacing: .12em; line-height: 1; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.site-nav a, .login-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--text); font-size: 13px; font-weight: 700; white-space: nowrap; }
.site-nav a:hover, .login-link:hover { color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.button { min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: inherit; font-size: 13px; font-weight: 800; line-height: 1.25; text-align: center; transition: background-color .15s ease, border-color .15s ease; }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: var(--blue-hover); }
.button-secondary { border-color: #bfd2e5; background: var(--white); color: var(--ink); }
.button-secondary:hover { border-color: #7fa9d0; background: #f4f9ff; }
.hero { padding-block: 72px 70px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: clamp(36px, 6vw, 76px); }
.hero-copy { max-width: 640px; }
.eyebrow, .card-kicker { margin: 0 0 14px; color: #405d7d; font-size: 11px; font-weight: 850; letter-spacing: .11em; }
.hero-copy > .eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid #d1e4f5; border-radius: 999px; background: var(--sky); }
.hero-copy > .eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
h1 { max-width: 680px; margin-bottom: 18px; color: var(--ink); font-size: clamp(40px, 5.2vw, 62px); line-height: 1.05; letter-spacing: -.045em; }
.lead { max-width: 620px; margin-bottom: 26px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions, .closing-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.small-note { max-width: 590px; margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.journey-card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 20px 54px rgba(30, 73, 120, .08); }
.journey-card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid #e9f0f7; }
.journey-icon { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 15px; display: grid; place-items: center; background: #eaf5ff; color: var(--blue); font-size: 25px; font-weight: 800; }
.journey-card-head .card-kicker { margin-bottom: 4px; }
.journey-card-head h2 { margin: 0; color: var(--ink); font-size: 18px; line-height: 1.35; }
.journey-list { margin: 7px 0 18px; padding: 0; list-style: none; }
.journey-list li { min-height: 74px; padding: 15px 0; display: flex; align-items: flex-start; gap: 14px; border-bottom: 1px solid #edf2f7; }
.journey-list li > span { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; display: grid; place-items: center; background: #eaf5ff; color: var(--blue); font-size: 12px; font-weight: 850; }
.journey-list b, .journey-list small { display: block; }
.journey-list b { margin: 1px 0 3px; color: var(--ink); font-size: 13px; }
.journey-list small { color: var(--muted); font-size: 12px; line-height: 1.55; }
.card-link, .text-link { color: var(--blue); font-size: 13px; font-weight: 800; }
.card-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.steps-section { padding-block: 66px 72px; border-block: 1px solid var(--line); background: var(--white); }
.section-heading { max-width: 690px; margin-bottom: 26px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2, .current-copy h2, .closing h2, .legal-note h2 { margin-bottom: 10px; color: var(--ink); font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -.03em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.steps-grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; }
.steps-grid li { min-height: 220px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fbfdff; }
.step-number { width: 38px; height: 38px; margin-bottom: 20px; border: 1px solid #cfe2f4; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--blue); font-size: 12px; font-weight: 850; }
.steps-grid h3, .status-card h3 { margin-bottom: 8px; color: var(--ink); font-size: 16px; }
.steps-grid p, .status-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.current-section { padding-block: 72px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 14px; }
.current-copy { grid-row: span 2; padding-right: 18px; }
.current-copy .eyebrow { margin-bottom: 8px; }
.current-copy > p:not(.eyebrow) { max-width: 520px; margin-bottom: 18px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.status-card { min-height: 122px; padding: 20px; border: 1px solid var(--line); border-radius: 17px; display: flex; align-items: flex-start; gap: 14px; background: var(--white); }
.status-mark { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; display: grid; place-items: center; background: #eaf6ef; color: #24613e; font-size: 17px; font-weight: 850; }
.status-mark-blue { background: #eaf5ff; color: var(--blue); }
.status-card h3 { margin-top: 2px; font-size: 14px; }
.availability-note { grid-column: 1 / -1; margin: 8px 0 0; padding: 15px 18px; border-left: 3px solid #075eb4; border-radius: 0 11px 11px 0; background: #edf6ff; color: #344f6e; font-size: 13px; line-height: 1.6; }
.legal-note { margin-bottom: 20px; padding: 22px 24px; border: 1px solid #cbddef; border-radius: 17px; display: flex; align-items: flex-start; gap: 16px; background: #fff; }
.note-icon { width: 30px; height: 30px; flex: 0 0 30px; border: 1px solid #b8cee3; border-radius: 50%; display: grid; place-items: center; color: var(--blue); font-size: 15px; font-weight: 850; }
.legal-note h2 { margin: 1px 0 6px; font-size: 17px; }
.legal-note p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.closing { margin-block: 56px 76px; padding: 30px 34px; border: 1px solid #cbdff0; border-radius: 22px; display: flex; justify-content: space-between; align-items: center; gap: 24px; background: linear-gradient(115deg, #fff 20%, #eef7ff 100%); }
.closing .eyebrow { margin-bottom: 8px; }
.closing h2 { margin-bottom: 7px; font-size: 25px; }
.closing p:last-child { max-width: 540px; margin: 0; color: var(--muted); font-size: 13px; }
.site-footer { padding: 28px 20px 24px; background: #102a59; color: #fff; }
.footer-inner { width: min(100%, 1120px); margin-inline: auto; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px 36px; }
.footer-brand { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .04em; }
.footer-inner nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px 22px; }
.footer-inner nav a { min-height: 40px; display: inline-flex; align-items: center; color: #e1ecf8; font-size: 12px; }
.footer-inner nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-inner > p { grid-column: 1 / -1; margin: 0; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.2); color: #d3e0ef; font-size: 11px; }

@media (max-width: 900px) {
  .header-inner { gap: 18px; }
  .site-nav { gap: 13px; }
  .site-nav a, .login-link { font-size: 12px; }
  .wordmark { width: 174px; flex-basis: 174px; }
  .wordmark img { width: 130px; height: 48px; flex-basis: 130px; }
  .wordmark .brand-pay { font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 54px; }
  .hero-copy { max-width: 760px; }
  .journey-card { max-width: 700px; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .current-section { grid-template-columns: 1fr 1fr; }
  .closing { align-items: flex-start; flex-direction: column; }
  .closing-actions { width: 100%; }
}

@media (max-width: 640px) {
  .content-width, .header-inner { width: min(calc(100% - 28px), 1120px); }
  .header-inner { min-height: 68px; justify-content: space-between; gap: 8px; }
  .wordmark { width: 124px; height: 52px; flex-basis: 124px; gap: 6px; }
  .wordmark img { width: 88px; height: 42px; flex-basis: 88px; }
  .wordmark .brand-pay { font-size: 11px; }
  .site-nav { display: none; }
  .header-actions { gap: 8px; }
  .login-link { min-height: 42px; font-size: 12px; }
  .header-actions .button { min-height: 42px; padding-inline: 11px; font-size: 11px; }
  .hero { padding-block: 42px 48px; gap: 25px; }
  h1 { font-size: clamp(36px, 10vw, 46px); }
  .lead { font-size: 14px; }
  .hero-actions .button, .closing-actions .button { flex: 1 1 auto; }
  .journey-card { padding: 20px; border-radius: 19px; }
  .steps-section { padding-block: 48px; }
  .steps-grid { grid-template-columns: 1fr; gap: 10px; }
  .steps-grid li { min-height: auto; padding: 19px; }
  .step-number { margin-bottom: 12px; }
  .current-section { padding-block: 50px; grid-template-columns: 1fr; }
  .current-copy { grid-row: auto; padding-right: 0; }
  .availability-note { grid-column: auto; }
  .legal-note { padding: 17px; gap: 11px; }
  .closing { margin-block: 36px 48px; padding: 23px 20px; }
  .closing-actions { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 12px; }
  .footer-inner nav { justify-content: flex-start; gap: 4px 14px; }
  .footer-inner > p { grid-column: auto; }
}

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

@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; }
  .site-nav { display: flex; order: 3; flex: 1 0 100%; margin-left: 0; justify-content: space-between; gap: 4px; }
  .site-nav a { min-height: 38px; font-size: 11px; }
}
