/* Stress Less Home Buyers */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-style: normal; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/figtree-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/figtree-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/figtree-latin-600-normal.woff2) format("woff2"); }

:root {
  --navy: #041B35;
  --navy-2: #0A2C55;
  --blue: #005BB6;
  --blue-dark: #004A94;
  --blue-tint: #EAF1FA;
  --mist: #F1F5F9;
  --line: #D6DEE8;
  --text: #24364A;
  --muted: #4E5F73;
  --sun: #F2B544;
  --sun-dark: #E3A12A;
  --white: #fff;
  --error: #B42318;

  --head: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 14px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--white); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
picture { display: block; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.1; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 2.85rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.005em; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section__head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section__head p { margin-top: 16px; font-size: 1.15rem; color: var(--muted); }
.section__head--left { text-align: left; margin-left: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 2px solid transparent; font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; transition: background-color .15s, border-color .15s, color .15s; }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.075rem; }
.btn--full { width: 100%; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--sun { background: var(--sun); color: var(--navy); }
.btn--sun:hover { background: var(--sun-dark); color: var(--navy); }
.btn--outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue-tint); color: var(--blue-dark); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn--ghost-dark { border-color: rgba(255,255,255,.4); color: #fff; }
.btn:disabled { opacity: .65; cursor: progress; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--blue-dark); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.header__logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--navy); font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--blue); color: var(--navy); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; text-decoration: none; white-space: nowrap; }
.header__phone svg { color: var(--blue); }
.header__phone-short { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 11px 9px; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .header__logo img { height: 40px; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; box-shadow: 0 16px 24px -16px rgba(4,27,53,.25); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--mist); font-size: 1.1rem; }
  .header__actions { margin-left: auto; gap: 8px; }
  .header__cta { display: none; }
  .menu-btn { display: flex; }
  .header__phone { background: var(--blue); color: #fff; padding: 0 14px; min-height: 42px; border-radius: 10px; }
  .header__phone svg { color: #fff; }
  .header__phone-num { display: none; }
  .header__phone-short { display: inline; }
}
@media (min-width: 961px) and (max-width: 1100px) { .header__phone-num { display: none; } .header__phone-short { display: inline; } }

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: clamp(64px, 10vw, 128px) 0 clamp(150px, 19vw, 280px); }
.hero__in { position: relative; z-index: 1; }
.hero__eyebrow { color: var(--sun); font-weight: 600; font-size: 1.05rem; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7.2vw, 5.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; max-width: 12ch; }
.hero__lead { margin-top: 24px; max-width: 560px; font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: #D3DEEB; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
@media (max-width: 560px) {
  .hero__actions .btn { width: 100%; }
}
.quick { display: none; }
@media (min-width: 1040px) {
  .hero__in { display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: center; }
  .quick { display: grid; gap: 10px; background: #fff; color: var(--text); border-radius: 20px; padding: 32px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
  .quick__title { font-size: 1.6rem; }
  .quick__sub { color: var(--muted); margin-bottom: 10px; }
  .quick label { font-weight: 600; color: var(--navy); font-size: .98rem; }
  .quick input { width: 100%; min-height: 54px; padding: 12px 14px; font: inherit; font-size: 1.05rem; color: var(--navy); border: 1.5px solid #9AAABD; border-radius: 10px; }
  .quick input::placeholder { color: #8090A2; }
  .quick input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,91,182,.18); }
  .quick .btn { margin-top: 6px; }
  .quick__list { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .95rem; color: var(--muted); }
  .quick__list span { display: inline-block; min-width: 148px; font-weight: 600; color: var(--navy); }
}

/* Programs */
.programs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.program { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; min-height: 100%; }
.program h3 { font-size: 1.4rem; }
.program__what { color: var(--text); font-size: 1.05rem; }
.program .btn { margin-top: auto; }
.program--featured { background: var(--navy); border-color: var(--navy); color: #D3DEEB; }
.program--featured h3 { color: #fff; }
.program--featured .program__what { color: #fff; }
.program__tag { position: absolute; top: -14px; left: 24px; background: var(--sun); color: var(--navy); font-weight: 600; font-size: .85rem; padding: 4px 12px; border-radius: 999px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .98rem; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%23005BB6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.program--featured .ticks li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%23F2B544' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.program__more { border-top: 1px solid var(--line); padding-top: 12px; }
.program--featured .program__more { border-top-color: rgba(255,255,255,.18); }
.program__more summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-weight: 600; color: var(--blue); cursor: pointer; }
.program__more summary::-webkit-details-marker { display: none; }
.program__more summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.program__more[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.program--featured .program__more summary { color: var(--sun); }
.program__more p { margin-top: 10px; font-size: .97rem; }
.program--featured .program__more strong { color: #fff; }
.program__more strong { color: var(--navy); }
.programs__custom { margin-top: 32px; text-align: center; color: var(--muted); }
@media (max-width: 1080px) { .programs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .programs__grid { grid-template-columns: 1fr; } }

/* Badges */
.badges { background: var(--mist); padding: 40px 0; }
.badges__in { display: flex; align-items: center; gap: 32px; }
.badges__title { font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.badges__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; flex: 1; }
.badges__list img { width: 100%; height: auto; max-width: 240px; margin: 0 auto; }
@media (max-width: 1000px) { .badges__in { flex-direction: column; gap: 20px; } .badges__list { grid-template-columns: repeat(2, 1fr); width: 100%; max-width: 520px; } }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps li { counter-increment: step; position: relative; padding: 0 24px 0 0; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.35rem; position: relative; z-index: 1; margin-bottom: 22px; box-shadow: 0 0 0 8px #fff; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 25px; left: 52px; right: 0; height: 2px; background: var(--line); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps li { padding: 0 0 0 76px; min-height: 52px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li:not(:last-child)::after { top: 60px; bottom: -28px; left: 25px; right: auto; width: 2px; height: auto; }
}

/* Situations */
.situations { background: var(--mist); }
.sits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 32px; row-gap: 40px; }
.sits li { border-top: 3px solid var(--blue); padding-top: 18px; }
.sits h3 { font-size: 1.15rem; margin-bottom: 8px; }
.sits p { color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) { .sits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sits { grid-template-columns: 1fr; row-gap: 28px; } }

/* Compare */
.compare__pick { display: none; }
.compare__table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 1rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--head); font-size: 1.1rem; font-weight: 700; vertical-align: bottom; }
.compare thead td { background: var(--navy); border-bottom-color: var(--navy); }
.compare thead th.is-pop { background: var(--blue); }
.compare thead th span { display: block; margin-top: 6px; color: var(--navy); background: var(--sun); font-family: var(--body); font-size: .8rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; width: max-content; }
.compare tbody th { color: var(--navy); font-weight: 600; width: 19%; background: var(--mist); }
.compare tbody td.is-pop { background: var(--blue-tint); color: var(--navy); font-weight: 500; }
.compare .row-span td { color: var(--muted); font-style: italic; }
.compare col:first-child { width: 20%; }
@media (max-width: 760px) {
  .compare__pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 16px; padding: 5px; background: var(--mist); border-radius: 12px; }
  .compare__pick button { min-height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--navy); font-weight: 600; font-size: .95rem; }
  .compare__pick button[aria-pressed="true"] { background: var(--navy); color: #fff; }
  .compare table { table-layout: auto; }
  .compare tbody th { width: 40%; }
  .compare th, .compare td { padding: 14px; }
  .compare__table:not([data-show="2"]) tr > :nth-child(2):not([colspan]),
  .compare__table:not([data-show="3"]) tr > :nth-child(3),
  .compare__table:not([data-show="4"]) tr > :nth-child(4),
  .compare__table:not([data-show="5"]) tr > :nth-child(5) { display: none; }
}

/* Custom callout */
.custom { background: var(--blue); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.custom__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.custom h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.custom p { margin-top: 14px; max-width: 620px; color: #E3EEFA; font-size: 1.1rem; }
.custom .btn { flex-shrink: 0; }
@media (max-width: 860px) { .custom__in { flex-direction: column; align-items: flex-start; } }
@media (max-width: 560px) { .custom .btn { width: 100%; } }

/* About */
.about__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about__story h2 { margin-bottom: 24px; }
.about__story p + p { margin-top: 16px; }
.about__story p { font-size: 1.12rem; max-width: 58ch; }
.about__card { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; padding: clamp(28px, 4vw, 40px); background: var(--navy) url(/img/icon-white.webp) no-repeat right -40px bottom -40px / 220px; border-radius: 20px; color: #fff; position: relative; }
.about__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--navy) 55%, rgba(4,27,53,.86)); pointer-events: none; }
.about__card > div { position: relative; z-index: 1; }
.about__card dt { font-size: .9rem; font-weight: 600; color: var(--sun); margin-bottom: 6px; }
.about__card dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.about__card > div:last-child { grid-column: 1 / -1; }
.about__card > div:last-child dd { overflow-wrap: normal; }
.about__card a { color: #fff; }
.about__card a:hover { color: var(--sun); }
@media (max-width: 900px) { .about__in { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .about__card { grid-template-columns: 1fr; } }

/* FAQ */
.faq { background: var(--mist); }
.faq__in { display: grid; grid-template-columns: 1fr 1.8fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq .section__head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--head); font-weight: 700; font-size: 1.2rem; color: var(--navy); cursor: pointer; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14h10M14 9v10' stroke='%23005BB6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/28px no-repeat; border: 1px solid var(--line); transition: transform .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 48px 24px 0; color: var(--text); }
@media (max-width: 860px) { .faq__in { grid-template-columns: 1fr; } .faq .section__head { position: static; } .faq__list details p { padding-right: 0; } }

/* Get started (inline form) */
.getstarted { background: var(--navy); color: #D3DEEB; position: relative; overflow: hidden; }
.getstarted__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.getstarted h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.getstarted__copy p { margin-top: 20px; font-size: 1.15rem; max-width: 48ch; }
.getstarted__call { color: #fff; font-weight: 500; }
.getstarted__call a { color: var(--sun); font-weight: 600; }
.getstarted__call a:hover { color: #fff; }
.formcard { background: #fff; color: var(--text); border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
@media (max-width: 900px) { .getstarted__in { grid-template-columns: 1fr; } }

/* Form */
.leadform { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--navy); font-size: .98rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1.05rem; color: var(--navy); background: #fff; border: 1.5px solid #9AAABD; border-radius: 10px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23041B35' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,91,182,.18); }
.field input::placeholder { color: #8090A2; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__err { color: var(--error); font-size: .92rem; font-weight: 500; }
.field__err:empty { display: none; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__fail { background: #FDECEA; color: #7A1A12; border-radius: 10px; padding: 12px 14px; font-weight: 500; }
.form__fail a { color: #7A1A12; font-weight: 700; }
.form__legal { font-size: .88rem; color: var(--muted); }
.thanks { text-align: center; padding: 24px 8px; }
.thanks:focus { outline: none; }
.thanks img { margin: 0 auto 16px; }
.thanks h3 { font-size: 1.75rem; margin-bottom: 12px; }
.thanks p { color: var(--muted); max-width: 40ch; margin: 0 auto; }
.thanks .btn { margin-top: 24px; }

/* Modal */
.modal { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--text); box-shadow: 0 30px 80px -20px rgba(4,27,53,.45); overflow: auto; }
.modal::backdrop { background: rgba(4,27,53,.62); }
.modal[open] { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal__box { position: relative; padding: clamp(24px, 5vw, 36px); }
.modal__head { padding-right: 40px; margin-bottom: 22px; }
.modal__head h2 { font-size: clamp(1.6rem, 4vw, 2rem); }
.modal__head p { margin-top: 8px; color: var(--muted); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--mist); color: var(--navy); }
.modal__close:hover { background: var(--line); }
body.modal-open { overflow: hidden; }

/* Footer */
.footer { background: #031428; color: #B9C7D8; padding: 64px 0 24px; font-size: .98rem; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.footer__brand img { width: 180px; height: auto; }
.footer__brand p { margin-top: 16px; max-width: 30ch; }
.footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__col h2 { font-family: var(--body); font-size: .95rem; font-weight: 600; color: #fff; letter-spacing: 0; margin-bottom: 4px; }
.footer a { color: #DCE6F2; text-decoration: none; }
.footer a:hover { color: var(--sun); text-decoration: underline; }
.footer__col a { overflow-wrap: anywhere; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.footer__base a + a { margin-left: 20px; }
@media (max-width: 900px) { .footer__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__in { grid-template-columns: 1fr; gap: 32px; } }

/* Mobile sticky bar */
.mobilebar { display: none; }
@media (max-width: 760px) {
  .mobilebar { display: grid; grid-template-columns: auto 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--navy); box-shadow: 0 -8px 24px -12px rgba(4,27,53,.5); transition: transform .25s ease; }
  .mobilebar .btn { min-height: 50px; }
  .mobilebar.is-hidden { transform: translateY(110%); }
  body { padding-bottom: 72px; }
}

/* Legal pages and 404 */
.plain { max-width: 760px; margin: 0 auto; padding: 0 24px 80px; color: #000; background: #fff; font-size: 1rem; }
.plain__head { padding: 24px 0; border-bottom: 1px solid #ddd; margin-bottom: 40px; }
.plain__head img { height: 44px; width: auto; }
.plain h1 { color: #000; font-size: 2.2rem; margin-bottom: 8px; }
.plain h2 { color: #000; font-size: 1.3rem; margin: 32px 0 10px; letter-spacing: 0; }
.plain p, .plain li { color: #000; }
.plain p + p { margin-top: 12px; }
.plain a { color: #000; }
.plain ul { padding-left: 20px; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.notfound p { margin: 16px auto 32px; color: var(--muted); max-width: 40ch; font-size: 1.15rem; }

/* ===== Depth scene ===== */
.hero__in { z-index: 1; }
.quick-wrap { display: none; }
@media (min-width: 1040px) { .quick-wrap { display: block; } }
.custom { position: relative; overflow: hidden; }
.custom__in { position: relative; z-index: 1; }
.custom__roof { position: absolute; right: -40px; top: 50%; width: min(560px, 70vw); color: rgba(255,255,255,.1); transform: translateY(-50%); pointer-events: none; }
@media (max-width: 860px) { .custom__roof { right: -120px; color: rgba(255,255,255,.07); } }
.header__logo img { transform-origin: left center; transition: scale .3s ease; }
.header.is-scrolled .header__logo img { scale: .9; }

/* ===== Motion (only when the visitor allows it) ===== */
:root { --ease: cubic-bezier(.16, .84, .24, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); }

/* Hero load sequence */
.motion .hero__copy > * { animation: hero-rise 1.1s var(--ease) backwards; }
.motion .hero__eyebrow { animation-delay: .05s; }
.motion .hero h1 { animation-name: hero-rise-soft; animation-delay: .12s; animation-duration: 1.3s; }
.motion .hero__lead { animation-delay: .32s; }
.motion .hero__actions { animation-delay: .46s; }
.motion .quick { animation: card-in 1.4s .4s var(--ease) backwards; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(30px); filter: blur(10px); } }
@keyframes hero-rise-soft { from { transform: translateY(40px); filter: blur(14px); } }
@keyframes roofs-up { from { transform: translateY(70px); } }
@keyframes roofs-up-front { from { transform: translateY(110px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes glow-in { from { opacity: 0; transform: scale(.7); } }
@keyframes card-in { from { opacity: 0; transform: perspective(1200px) rotateX(22deg) rotateY(-18deg) translate3d(40px, 60px, -120px); filter: blur(8px); } }

/* Scroll reveals: things rise out of the page, coming into focus */
.motion [data-reveal], .motion [data-stagger] > * {
  --d: calc(var(--i, 0) * 90ms);
  opacity: 0; translate: 0 48px; scale: .96; filter: blur(10px);
  transition-property: opacity, translate, scale, filter, transform, box-shadow;
  transition-duration: .9s, 1.2s, 1.2s, .9s, .6s, .4s;
  transition-timing-function: var(--ease);
  transition-delay: var(--d), var(--d), var(--d), var(--d), 0s, 0s;
}
.motion [data-reveal].is-in, .motion [data-stagger].is-in > * { opacity: 1; translate: 0 0; scale: 1; filter: none; }

/* 3D tilt cards */
[data-tilt] { transform-style: preserve-3d; }
[data-tilt].is-tilting { transition-duration: .9s, 1.2s, 1.2s, .9s, .12s, .4s; box-shadow: 0 40px 70px -35px rgba(4,27,53,.45); }
.program::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0,91,182,.10), transparent 45%); }
.program--featured::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), transparent 45%); }
.program.is-tilting::after { opacity: 1; }
.program > h3, .program > .program__what, .program > .btn, .program__tag { transition: transform .5s var(--ease); }
.program.is-tilting > h3 { transform: translateZ(34px); }
.program.is-tilting > .program__what { transform: translateZ(22px); }
.program.is-tilting > .btn { transform: translateZ(28px); }
.program.is-tilting .program__tag { transform: translateZ(46px); }

/* How it works: the line draws itself and the numbers pop */
.motion .steps li::after { transform: scaleX(0); transform-origin: left center; transition: transform 1s var(--ease) calc(var(--i, 0) * 160ms + .35s); }
.motion .steps.is-in li::after { transform: none; }
.motion .steps li::before { scale: .3; transition: scale .7s var(--spring) calc(var(--i, 0) * 160ms + .15s); }
.motion .steps.is-in li::before { scale: 1; }
@media (max-width: 860px) { .motion .steps li::after { transform: scaleY(0); transform-origin: center top; } }

/* Situations: the blue rule grows in */
.motion .sits li { background: linear-gradient(var(--blue), var(--blue)) top left / 0 3px no-repeat; border-top-color: transparent; transition-property: opacity, translate, scale, filter, background-size; transition-duration: .9s, 1.2s, 1.2s, .9s, 1s; transition-delay: var(--d), var(--d), var(--d), var(--d), calc(var(--d) + .2s); }
.motion .sits.is-in li { background-size: 100% 3px; }
.motion .sits li { background-origin: border-box; }

/* Custom callout roof outline draws itself */
.motion .custom__roof path { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s var(--ease) .2s; }
.motion .custom.is-in .custom__roof path { stroke-dashoffset: 0; }

/* Learn more and FAQ answers */
.motion details[open] > :not(summary) { animation: open-in .45s var(--ease) both; }
@keyframes open-in { from { opacity: 0; translate: 0 -6px; } }

/* Opening the form: the page sinks back */
.motion main, .motion .header, .motion .footer { transition: scale .5s var(--ease), opacity .5s var(--ease); }
body.modal-open { background: #031428; }
.motion body.modal-open main, .motion body.modal-open .header, .motion body.modal-open .footer { scale: .955; opacity: .7; }
body.modal-open .mobilebar { transform: translateY(110%); }
.motion .modal[open] { animation: modal-in-3d .55s var(--ease); }
.motion .modal[open]::backdrop { animation: fade-in .4s ease; }
@keyframes modal-in-3d { from { opacity: 0; transform: perspective(1000px) rotateX(14deg) translateY(50px) scale(.94); } }

a[href^="tel:"] { white-space: nowrap; }

/* ===== Get started: tighter ===== */
.getstarted { padding: clamp(56px, 7vw, 88px) 0; }
.getstarted__in { grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); }
.formcard { padding: clamp(22px, 3vw, 32px); }
.formcard .leadform { gap: 14px 16px; }
.formcard .field input, .formcard .field select { min-height: 48px; }
.formcard .field textarea { min-height: 68px; }
@media (min-width: 620px) {
  .formcard .leadform { grid-template-columns: 1fr 1fr; }
  .formcard .leadform > * { grid-column: 1 / -1; }
  .formcard .leadform > .field:nth-child(-n+4) { grid-column: auto; }
}
@media (max-width: 900px) { .getstarted__in { grid-template-columns: 1fr; } }

/* ===== Hero: shared ===== */
.hero { padding: clamp(56px, 8vw, 104px) 0; isolation: isolate; --px: 0; --py: 0; --sp: 0; }
.hero h1 { text-wrap: wrap; }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__bg i { display: block; position: absolute; }
.scene { display: none; position: absolute; inset: 0; }
.side { display: none; }
.hero[data-hero="aurora"] .scene--aurora { display: block; }
.hero[data-hero="aurora"] .side--aurora { display: flex; align-items: center; justify-content: flex-end; }
.hero__side { position: relative; height: 320px; margin-top: 28px; }
.hero[data-hero="aurora"] .hero__side { display: none; }
.side { position: absolute; inset: 0; }
.swap { display: inline-block; white-space: nowrap; transform-origin: 50% 60%; }
.swap.is-out { animation: swap-out .36s ease-in forwards; }
.swap.is-in { animation: swap-in .7s var(--spring) backwards; }
@keyframes swap-out { to { opacity: 0; transform: perspective(600px) translateY(-.4em) rotateX(80deg); filter: blur(6px); } }
@keyframes swap-in { from { opacity: 0; transform: perspective(600px) translateY(.5em) rotateX(-80deg); filter: blur(6px); } }
@media (min-width: 1040px) {
  .hero { display: flex; align-items: center; min-height: clamp(600px, 84vh, 800px); }
  .hero > .wrap { flex: 1; }
  .hero__in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; }
  .hero__side, .hero[data-hero="aurora"] .hero__side { display: block; height: 500px; margin-top: 0; }
  .quick { width: 100%; max-width: 400px; }
}

/* ===== 1. Glow ===== */
.scene--aurora { background: var(--navy); }
.aur { border-radius: 50%; translate: calc(var(--px) * var(--k) * 1px) calc(var(--py) * var(--k) * 1px); transition: translate .9s cubic-bezier(.2,.7,.2,1); animation: aur-in 2.4s ease backwards, var(--drift) var(--t) ease-in-out infinite alternate; }
.aur--1 { --k: -90; --drift: aur-a; --t: 19s; width: min(900px, 120vw); aspect-ratio: 1; right: -18%; top: -55%; background: radial-gradient(closest-side, rgba(20,120,235,.85), rgba(0,91,182,.45) 45%, transparent); }
.aur--2 { --k: 60; --drift: aur-b; --t: 24s; width: min(820px, 110vw); aspect-ratio: 1; left: -22%; bottom: -70%; background: radial-gradient(closest-side, rgba(0,91,182,.8), rgba(10,44,85,.5) 50%, transparent); }
.aur--3 { --k: 130; --drift: aur-c; --t: 16s; width: min(460px, 70vw); aspect-ratio: 1; right: 16%; bottom: -34%; background: radial-gradient(closest-side, rgba(242,181,68,.42), rgba(242,181,68,.12) 55%, transparent); }
.aur--4 { --k: -40; --drift: aur-b; --t: 28s; width: min(560px, 80vw); aspect-ratio: 1; left: 30%; top: -48%; background: radial-gradient(closest-side, rgba(90,170,255,.4), transparent); }
.aur__sheen { inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.07) 48%, transparent 60%); background-size: 300% 100%; animation: aur-sheen 9s ease-in-out infinite; }
@keyframes aur-in { from { opacity: 0; scale: .5; } }
@keyframes aur-a { to { transform: translate(-14%, 18%) scale(1.18); } }
@keyframes aur-b { to { transform: translate(16%, -12%) scale(.86); } }
@keyframes aur-c { to { transform: translate(-30%, -24%) scale(1.3); } }
@keyframes aur-sheen { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.hero[data-hero="aurora"] .swap { color: var(--sun); }
.hero[data-hero="aurora"] .quick { box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.4); }
