/* ============================================================
   Appraisal Valet | Home variant 2: Lender First
   Organized around the two audiences the login modal already
   names: prospective clients (lenders) and appraisers.
   Sections: 1 Tokens/base  2 Buttons  3 Header  4 Menu panel
             5 Hero  6 Paths  7 Trusted by  8 Why  9 Closer
             10 Footer  11 Modal  12 Motion  13 Responsive
   ============================================================ */

/* ---------- 1. Tokens and base ---------- */
:root {
  --navy: #123854;
  --navy-dark: #0e2c43;
  --navy-deep: #0a2133;
  --blue: #359ff4;
  --blue-hover: #1f8be0;
  --blue-light: #80d6fc;
  --text: #222222;
  --body: #3b4550;
  --muted: #5b656f;
  --line: #dde3ea;
  --pale: #f3f6f9;
  --white: #ffffff;
  --wrap: 1200px;
  --gutter: 40px;
  --header-h: 72px;
  --radius: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font-head: "Montserrat", sans-serif;
  --font-body: "Lato", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }   /* no smooth scroll: the page has no in-page anchors */
body {
  margin: 0; font-family: var(--font-body); font-size: 18px; font-weight: 400;
  line-height: 1.65; color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease, box-shadow .25s ease; }
@media (hover: hover) { a:hover { color: var(--navy); } }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; line-height: 1.1; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.kicker {
  display: block; font-family: var(--font-head); font-weight: 700; font-size: 12px; line-height: 1.2;
  letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px;
}

/* ---------- 2. Buttons ---------- */
/* WPA BASE_CSS buttons: 4px radius, Montserrat 600 15px, solid always paired with a ghost */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 13px 24px; min-height: 46px; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn svg { width: 15px; height: 15px; fill: currentColor; flex: 0 0 auto; }
.btn .arw { transition: transform .2s ease; }
.btn--lg { font-size: 16px; padding: 16px 28px; min-height: 52px; }
.btn--solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
@media (hover: hover) {
  .btn--solid:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px -8px rgba(53,159,244,.6); }
  .btn--navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px -8px rgba(18,56,84,.6); }
  .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; transform: translateY(-1px); }
  .btn:hover .arw { transform: translateX(4px); }
}

/* ---------- 3. Header (Pattern B, navy) ---------- */
/* Pacseg / WPA: one 72px sticky bar with a hairline; it turns translucent with a
   blur once the page moves. Navy, not white, because the logo is a white wordmark. */
.hdr {
  position: sticky; top: 0; z-index: 200; height: var(--header-h); background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.hdr.is-scrolled {
  background: rgba(18,56,84,.9); box-shadow: 0 8px 24px -12px rgba(0,0,0,.45);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .hdr.is-scrolled { background: rgba(18,56,84,.98); } }
.hdr__in {
  height: 100%; max-width: calc(1280px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.hdr__logo { flex: 0 0 auto; display: flex; align-items: center; min-height: 44px; }
.hdr__logo img { width: 196px; transition: opacity .2s ease; }
@media (hover: hover) { .hdr__logo:hover img { opacity: .85; } }
.nav { flex: 1 1 auto; display: flex; align-items: stretch; height: 100%; }
.nav__list { display: flex; align-items: stretch; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; height: 100%; padding: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: #fff; white-space: nowrap;
}
/* 2px accent underline grows from the left (WPA .nav__link:before) */
.nav__link::before {
  content: ""; position: absolute; left: 0; bottom: 18px; width: 0; height: 2px;
  background: var(--blue); transition: width .4s ease;
}
@media (hover: hover) {
  .nav__link:hover { color: #fff; }
  .nav__link:hover::before { width: 100%; }
}
.has-dropdown:focus-within > .nav__link::before { width: 100%; }
.caret {
  display: inline-block; width: 6px; height: 6px; margin-left: 9px; position: relative; top: -2px;
  border-right: 1.5px solid rgba(255,255,255,.85); border-bottom: 1.5px solid rgba(255,255,255,.85);
  transform: rotate(45deg); transition: transform .2s ease;
}
.has-dropdown:focus-within .caret, .has-dropdown.open .caret { transform: rotate(225deg); top: 1px; }
.dropdown {
  position: absolute; top: 100%; left: -20px; min-width: 230px; padding: 6px 0; z-index: 40;
  background: rgba(14,44,67,.98); border: 1px solid rgba(255,255,255,.12); border-top: 2px solid var(--blue);
  box-shadow: 0 14px 30px rgba(0,0,0,.3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: block; padding: 11px 20px; font-family: var(--font-head); font-weight: 600; font-size: 14px;
  color: #e6edf3; white-space: nowrap; transition: background-color .18s ease, color .18s ease;
}
@media (hover: hover) {
  .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
  .has-dropdown:hover .caret { transform: rotate(225deg); top: 1px; }
  .has-dropdown:hover > .nav__link::before { width: 100%; }
  .dropdown a:hover { background: rgba(255,255,255,.07); color: var(--blue-light); }
}
/* utility items folded into the right side */
.util { margin-left: auto; flex: 0 0 auto; display: flex; align-items: center; gap: 14px; }
.util__phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .03em; color: #fff; white-space: nowrap;
}
.util__phone svg { width: 14px; height: 14px; fill: var(--blue-light); }
@media (hover: hover) { .util__phone:hover { color: var(--blue-light); } }
.util .btn { padding: 10px 18px; min-height: 40px; font-size: 14px; }
.burger {
  display: none; width: 44px; height: 44px; margin-right: -8px; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: 0; cursor: pointer;
}
.burger i { display: block; width: 22px; height: 2px; background: #fff; border-radius: 1px; transition: background .2s ease; }
@media (hover: hover) { .burger:hover i { background: var(--blue-light); } }

/* ---------- 4. Slide-in menu panel (T&P v2 + stacked-panel drill-down) ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.55);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-panel {
  position: fixed; top: 0; right: 0; z-index: 310; height: 100%; width: min(380px, 88vw);
  display: flex; flex-direction: column; background: var(--navy-dark); color: #fff;
  box-shadow: -10px 0 34px rgba(0,0,0,.45); transform: translateX(100%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s linear .4s;
}
.menu-panel.open { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.menu-head {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: var(--header-h); padding: 0 12px 0 24px; border-bottom: 1px solid rgba(255,255,255,.14);
}
.menu-brand img { width: 160px; }
.menu-close {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 50%; color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
  transition: color .2s ease, background-color .2s ease, transform .3s ease;
}
@media (hover: hover) { .menu-close:hover { color: var(--blue-light); background: rgba(255,255,255,.1); transform: rotate(90deg); } }
.menu-nav { position: relative; flex: 1 1 auto; display: grid; overflow: hidden; }
.menu-nav .m-root, .menu-nav .m-panel {
  grid-area: 1 / 1; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  transition: transform .32s cubic-bezier(.4,0,.2,1), opacity .3s ease, visibility 0s linear .32s;
}
.menu-nav .m-panel { transform: translateX(100%); opacity: 0; visibility: hidden; }
.menu-nav.sub-open .m-root { transform: translateX(-30%); opacity: 0; visibility: hidden; }
.menu-nav.sub-open .m-panel.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .32s cubic-bezier(.4,0,.2,1), opacity .3s ease, visibility 0s; }
.m-item {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px;
  padding: 14px 24px; border: 0; border-bottom: 1px solid rgba(255,255,255,.08); background: none;
  font-family: var(--font-head); font-weight: 600; font-size: 17px; color: #fff; text-align: left; cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.m-all { color: var(--blue-light); font-size: 15px; }
.m-chev {
  flex: 0 0 auto; display: inline-block; width: 8px; height: 8px; margin-left: 12px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg);
}
.m-chev--back { transform: rotate(135deg); margin: 0 12px 0 0; }
.m-back {
  display: flex; align-items: center; min-height: 48px; padding: 14px 24px; border: 0;
  border-bottom: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-align: left;
}
.m-sub { display: flex; flex-direction: column; padding: 6px 0 16px; }
.m-sub a {
  display: flex; align-items: center; min-height: 44px; padding: 10px 24px 10px 36px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #e6edf3;
}
.m-util { margin-top: auto; display: flex; flex-direction: column; gap: 4px; padding: 20px 24px 28px; border-top: 1px solid rgba(255,255,255,.14); }
.m-util a:not(.btn) {
  display: flex; align-items: center; min-height: 44px; font-family: var(--font-head);
  font-weight: 600; font-size: 14px; letter-spacing: .04em; color: rgba(255,255,255,.82);
}
.m-util .btn { margin-top: 12px; align-self: flex-start; }
@media (hover: hover) {
  .m-item:hover, .m-back:hover, .m-sub a:hover { background: rgba(255,255,255,.07); color: var(--blue-light); }
  .m-util a:not(.btn):hover { color: var(--blue-light); }
}
body.menu-open { overflow: hidden; }

/* ---------- 5. Hero (WPA option D split, poster first) ---------- */
.hero {
  position: relative; background: var(--pale);
  padding: clamp(56px, 7vw, 96px) 0 calc(clamp(56px, 7vw, 96px) + 72px);
}
/* faint grid texture (Pacseg hero), kept to the copy side */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(18,56,84,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(18,56,84,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); mask-image: linear-gradient(90deg, #000, transparent 60%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 55fr 45fr; gap: clamp(40px, 5vw, 64px); align-items: center; }
.hero h1 {
  font-size: clamp(38px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.02em; max-width: 15ch; margin: 0 0 24px;
}
.hero h1 .h1-light { display: block; font-weight: 300; }
.hero h1 strong { display: block; font-weight: 800; }
.hero p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); max-width: 52ch; margin: 0 0 32px; }
.accent {
  color: var(--navy); font-weight: 700; box-shadow: inset 0 -.14em 0 0 var(--blue);
}
@media (hover: hover) { .accent:hover { color: var(--navy); box-shadow: inset 0 -.45em 0 0 rgba(53,159,244,.35); } }
.hero__media { position: relative; }
/* framed media box: a navy plate offset behind the frame (HDL stack inset, inverted) */
.hero__media::before {
  content: ""; position: absolute; inset: 28px -18px -18px 28px; background: var(--navy); border-radius: 8px;
}
.hero__frame {
  position: relative; aspect-ratio: 1 / 1.02; overflow: hidden; border-radius: 8px; background: var(--navy-dark);
  box-shadow: 0 30px 60px -30px rgba(11,31,51,.45);
}
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* video sits on the poster, hidden until it has a frame; then swapped in with no fade */
.hero__video { visibility: hidden; }
.hero__video.is-ready { visibility: visible; }

/* ---------- 7. Trusted by (C9L .svc-grid hairline tiles, lifted over the hero edge) ---------- */
.trusted { position: relative; z-index: 2; padding: 0 0 clamp(64px, 8vw, 104px); }
.logo-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); margin-top: -72px; background: #fff;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(11,31,51,.35);
}
.logo-cell, .logo-grid__head {
  display: flex; align-items: center; justify-content: center; min-height: 128px; padding: 20px 22px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.logo-cell img { width: 100%; max-width: 168px; height: auto; max-height: 76px; object-fit: contain; }
.logo-grid__head { justify-content: flex-start; align-items: flex-end; background: var(--navy); border-color: var(--navy); }
.logo-grid__head h2 { color: #fff; font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; }
.logo-grid__head h2::before { content: ""; display: block; width: 28px; height: 3px; background: var(--blue); margin: 0 0 14px; }

/* ---------- 8. Why Appraisal Valet (the one navy band) ---------- */
.why { background: var(--navy); color: #d3dee8; padding: clamp(64px, 9vw, 112px) 0; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.kicker--light { color: var(--blue-light); }
.why__lead {
  font-family: var(--font-head); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -.01em;
  color: #fff; max-width: 18ch; margin: 0 0 28px;
}
.why__simple { display: block; font-weight: 300; }
.why__lead strong { font-weight: 800; }
.why__copy p:not(.why__lead) { font-size: 17.5px; max-width: 58ch; }
.why__copy p:last-child { margin-bottom: 0; }
.why__media img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }

/* ---------- 9. Closer (C9L .r-cta) ---------- */
.r-cta {
  position: relative; overflow: hidden; color: #fff; padding: clamp(56px, 8vw, 104px) 0;
  background: radial-gradient(120% 160% at 80% -10%, #18486b, var(--navy-deep) 60%);
  border-top: 4px solid var(--blue);
}
.r-cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 140% at 85% 5%, rgba(53,159,244,.16), transparent 55%);
}
.r-cta__in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.r-cta__title { color: #fff; font-size: clamp(32px, 4vw, 48px); font-weight: 300; letter-spacing: -.01em; }
.r-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 10. Footer (dark, columns, base content only) ---------- */
.site-footer { background: var(--navy-dark); color: #b9c7d4; border-top: 1px solid rgba(255,255,255,.12); padding-top: 68px; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; align-items: start; padding-bottom: 56px; }
.footer__logo { display: inline-flex; align-items: center; min-height: 44px; }
.footer__logo img { width: 220px; transition: opacity .2s ease; }
.footer__col { list-style: none; margin: 0; padding: 0; }
.footer__col a {
  display: inline-flex; align-items: center; min-height: 40px; font-family: var(--font-head);
  font-weight: 500; font-size: 15px; letter-spacing: .02em; color: #dbe4ec;
}
.footer__bar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 24px;
  padding: 14px 0 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; letter-spacing: .03em; color: #8fa3b5;
}
.footer__bar a { display: inline-flex; align-items: center; min-height: 44px; color: #dbe4ec; }
@media (hover: hover) {
  .footer__col a:hover, .footer__bar a:hover { color: var(--blue-light); }
  .footer__logo:hover img { opacity: .85; }
}

/* ---------- 11. Login modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; padding: 16px; overflow-y: auto; }
.modal.open { display: block; }
.modal__overlay { position: fixed; inset: 0; background: rgba(9,24,38,.72); }
.modal__box {
  position: relative; z-index: 1; max-width: 640px; margin: 8vh auto 0; padding: 48px 44px 44px;
  background: #fff; border-radius: 6px; border-top: 3px solid var(--blue); text-align: center;
  box-shadow: 0 30px 60px -30px rgba(11,31,51,.45);
}
.modal__box h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; margin: 0 0 18px; }
.modal__box p { font-size: 16.5px; color: var(--muted); }
.modal__logins { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.modal__close {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; background: none; border: 0;
  font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer;
}
@media (hover: hover) { .modal__close:hover { color: var(--navy); } }

/* ---------- 12. Motion ---------- */
/* Locked scroll-reveal spec (Website Ideas/Movement And Fade): fade + 16px rise,
   .7s ease-out, ~80ms stagger. script.js adds .r-in--rise then .is-in.
   The hero copy is staged before the script runs; a 2.5s failsafe shows it anyway. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .hero__text > * { opacity: 0; animation: rv-failsafe 0s 2.5s forwards; }
  .r-in--rise { opacity: 0; animation: none; }
  .r-in--rise.is-in { animation: fadeInRise .7s cubic-bezier(.33,1,.68,1) both; }
  html.rv-all .r-in--rise, html.rv-all .hero__text > * { opacity: 1; animation: none; }
}
@keyframes fadeInRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes rv-failsafe { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hdr, .menu-panel, .menu-overlay, .menu-nav .m-root, .menu-nav .m-panel, .dropdown { transition: none; }
}

/* ---------- 13. Responsive ---------- */
@media (max-width: 1279.98px) {
  .nav__list { gap: 20px; }
  .nav__link { font-size: 14px; }
  .hdr__in { gap: 24px; }
  .hdr__logo img { width: 176px; }
  .util__num { display: none; }
  .util__phone { width: 44px; justify-content: center; margin-right: 0; }
  .util__phone svg { width: 16px; height: 16px; }
}
/* the nav needs ~1200px beside the phone, Login and Free Quote, so it folds earlier than 1024 */
@media (max-width: 1199.98px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .util { gap: 10px; }
}
@media (max-width: 1023.98px) {
  :root { --gutter: 24px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { max-width: 16ch; }
  .hero__media { max-width: 640px; margin-right: 18px; }
  .hero__frame { aspect-ratio: 16 / 10; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: 1fr; }
  .why__media { max-width: 640px; }
  .why__media img { aspect-ratio: 16 / 10; }
  .footer__cols { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  .r-cta__in { flex-direction: column; align-items: flex-start; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
}
@media (max-width: 599.98px) {
  :root { --gutter: 20px; --header-h: 64px; }
  body { font-size: 17px; }
  .hdr__logo img { width: 148px; }
  .util__login, .util__phone { display: none; }
  .util .util__quote { padding: 9px 14px; font-size: 13.5px; min-height: 40px; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(32px, 9vw, 38px); }
  .hero .btn { white-space: normal; text-align: left; }
  .hero__media::before { inset: 16px -12px -12px 16px; }
  .hero__media { margin-right: 12px; }
  .logo-grid { margin-top: -56px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-cell, .logo-grid__head { min-height: 104px; padding: 16px; }
  .r-cta__btns { width: 100%; }
  .r-cta__btns .btn { flex: 1 1 100%; }
  .modal__box { padding: 44px 22px 28px; margin-top: 4vh; }
  .modal__logins .btn { flex: 1 1 100%; }
  .footer__cols { gap: 4px 20px; padding-bottom: 36px; }
  .footer__logo { margin-bottom: 16px; }
  .footer__logo img { width: 190px; }
  .site-footer { padding-top: 48px; }
  .footer__bar { justify-content: center; text-align: center; }
}
@media (max-width: 374.98px) {
  .hdr__logo img { width: 132px; }
  .hdr__in { gap: 12px; }
}

/* footer bottom: Terms + Cloud Nine Labs credit sit together on the right */
.footer__legal { display: inline-flex; flex-wrap: wrap; gap: 4px 28px; }
@media (max-width: 599.98px) { .footer__legal { justify-content: center; } }
