@font-face {
  font-family: Inter;
  src: url('/assets/InterVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue: #0649f5;
  --ink: #090a2d;
  --yellow: #ffeb85;
  --page-gutter: 5.6%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0 auto; max-width: 1600px; color: var(--ink); background: #fff; font-family: Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: .14em; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
p, h1, h2 { margin: 0; }
.page-width { width: calc(100% - var(--page-gutter) * 2); max-width: 1440px; margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: .75rem 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 15px 0; min-height: 67px; }
.wordmark { font-size: clamp(23px, 3.7vw, 49px); line-height: 1; font-weight: 850; letter-spacing: -.065em; white-space: nowrap; text-decoration: none; }
nav { display: flex; align-items: center; gap: clamp(22px, 2.8vw, 40px); }
nav > a { font-size: clamp(14px, 1.6vw, 19px); font-weight: 500; text-decoration: none; }
nav > a:not(.button):hover { text-decoration: underline; }
.button { display: inline-flex; min-height: 55px; align-items: center; justify-content: center; padding: 12px 28px; color: #fff; background: var(--blue); border: 1px solid transparent; text-decoration: none; font-size: 22px; line-height: 1.2; font-weight: 550; transition: background-color .15s ease; }
.button:hover { background: #0038c9; }
.header-button { min-height: 50px; padding: 12px 24px; font-size: clamp(14px, 1.65vw, 20px); font-weight: 500; }
.hero { padding-top: 25px; }
h1 { color: var(--blue); font-size: clamp(60px, 10.8vw, 158px); font-weight: 875; letter-spacing: -.06em; line-height: .875; }
h1 span { display: block; white-space: nowrap; }
.mission { margin-top: 15px; font-size: clamp(22px, 2.86vw, 38px); line-height: 1.1; letter-spacing: -.025em; }
.hero-button { min-width: 219px; margin-top: 15px; }
.tagline { margin-top: 12px; margin-bottom: 10px; font-size: clamp(17px, 2.05vw, 26px); line-height: 1.25; letter-spacing: -.035em; }
.portrait-band { width: 100%; background: #bdbdbb; }
.portrait { width: 100%; height: auto; display: block; aspect-ratio: 2007 / 784; object-fit: cover; }
.purpose-band { background: var(--yellow); }
.purpose-grid { display: grid; grid-template-columns: 1fr 1.063fr; width: calc(100% - var(--page-gutter) * 1.5); margin-left: var(--page-gutter); margin-right: calc(var(--page-gutter) / 2); padding-block: 19px 20px; }
.purpose-item:first-child { padding-right: 43px; }
.purpose-item + .purpose-item { border-left: 1px solid #767e79; padding-left: 47px; }
.purpose-item h2 { font-size: clamp(29px, 3.85vw, 48px); font-weight: 800; letter-spacing: -.065em; line-height: 1.08; margin-bottom: 6px; }
.purpose-item p { font-size: clamp(17px, 1.9vw, 25px); line-height: 1.37; letter-spacing: -.025em; }
#about, #custody { scroll-margin-top: 28px; }
.custody-section { padding-top: 16px; padding-bottom: 14px; }
.custody-section > h2 { font-size: clamp(28px, 3.65vw, 45px); font-weight: 820; letter-spacing: -.055em; line-height: 1.12; margin-bottom: 7px; }
.custody-section > p { font-size: clamp(17px, 1.98vw, 24px); line-height: 1.34; letter-spacing: -.026em; }
.custody-section > p + p { margin-top: 10px; }
.financing { margin-top: 18px; border-top: 1px solid #555e81; padding-top: 18px; }
.financing-heading { font-size: clamp(18px, 1.92vw, 23px); font-weight: 740; line-height: 1.25; letter-spacing: -.035em; }
.financing-links { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 0; font-size: clamp(16px, 1.8vw, 21px); line-height: 1.2; letter-spacing: -.035em; }
.financing-brand { display: inline-flex; align-items: center; gap: 14px; }
.financing-brand img { width: 72px; height: auto; display: block; }
.link-divider { font-size: 17px; color: #65708a; }
.eligibility { margin-top: 6px; font-size: 14px; line-height: 1.35; color: #404e73; letter-spacing: -.03em; }
.site-footer { background: var(--blue); color: #fff; padding-block: 20px 22px; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.attorney-name { font-size: 17px; font-weight: 650; letter-spacing: .12em; line-height: 1.4; }
.attorney-role { font-weight: 400; }
.footer-location { font-size: 15px; margin-top: 4px; line-height: 1.35; letter-spacing: -.02em; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-phone { font-size: 22px; line-height: 1.4; white-space: nowrap; }
dialog { width: min(540px, calc(100% - 36px)); border: 0; padding: 34px; color: var(--ink); background: #fff; box-shadow: 0 20px 70px #05092550; }
dialog::backdrop { background: #070e38aa; }
.dialog-close { display: block; margin-left: auto; padding: 0 0 15px; border: 0; color: var(--blue); background: transparent; font: inherit; cursor: pointer; text-decoration: underline; }
.dialog-eyebrow { font-size: 14px; font-weight: 800; letter-spacing: -.025em; color: var(--blue); }
dialog h2 { margin-top: 13px; font-size: 31px; line-height: 1.12; letter-spacing: -.05em; }
dialog h2 img { height: 42px; width: auto; vertical-align: bottom; }
dialog > p:not(.dialog-eyebrow) { margin-top: 20px; font-size: 18px; line-height: 1.4; }
dialog .button { margin-top: 22px; font-size: 19px; }
dialog > p.dialog-terms { margin-top: 12px; font-size: 13px; color: #404e73; }
dialog address { margin-top: 22px; padding-top: 20px; border-top: 1px solid #d8dce8; font-style: normal; font-size: 15px; line-height: 1.5; }

@media (max-width: 760px) {
  :root { --page-gutter: 6%; }
  .site-header { flex-wrap: wrap; gap: 15px; padding-top: 22px; }
  .wordmark { font-size: clamp(27px, 5.8vw, 40px); }
  nav { width: 100%; gap: 24px; }
  nav > a { font-size: 15px; }
  .header-button { margin-left: auto; font-size: 15px; min-height: 43px; padding: 10px 18px; }
  .hero { padding-top: 29px; }
  h1 { font-size: 10.6vw; letter-spacing: -.063em; line-height: .99; }
  .mission { margin-top: 18px; font-size: clamp(21px, 4.2vw, 28px); line-height: 1.19; letter-spacing: -.04em; }
  .desktop-break { display: none; }
  .hero-button { margin-top: 20px; min-height: 49px; min-width: 170px; font-size: 19px; }
  .tagline { margin-top: 16px; margin-bottom: 17px; font-size: 17px; line-height: 1.3; }
  .portrait { height: clamp(255px, 62vw, 410px); aspect-ratio: auto; object-position: 74% center; }
  .purpose-grid { width: calc(100% - var(--page-gutter) * 2); margin-inline: auto; grid-template-columns: 1fr; padding-block: 25px 27px; }
  .purpose-item:first-child { padding-right: 0; padding-bottom: 22px; }
  .purpose-item + .purpose-item { padding-left: 0; padding-top: 22px; border-left: 0; border-top: 1px solid #9c925a; }
  .purpose-item h2 { font-size: 31px; margin-bottom: 8px; letter-spacing: -.05em; }
  .purpose-item p { font-size: 18px; line-height: 1.4; letter-spacing: -.023em; }
  .custody-section { padding-block: 25px 24px; }
  .custody-section > h2 { font-size: 30px; margin-bottom: 13px; }
  .custody-section > p { font-size: 17px; line-height: 1.45; letter-spacing: -.02em; }
  .custody-section > p + p { margin-top: 15px; }
  .financing { margin-top: 24px; padding-top: 20px; }
  .financing-heading { font-size: 19px; }
  .financing-links { gap: 11px; font-size: 15px; margin-top: 5px; }
  .financing-brand { gap: 9px; }
  .financing-brand img { width: 62px; }
  .eligibility { font-size: 12px; margin-top: 8px; }
  .site-footer { padding-block: 24px 26px; }
  .footer-content { flex-direction: column; gap: 18px; }
  .attorney-name { font-size: 14px; letter-spacing: .09em; }
  .footer-location { font-size: 13px; }
  .footer-phone { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
