/* Launch polish: loaded last to keep first paint, app paint, and route chrome stable. */
:root {
  --gh-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --gh-bg: #fff7eb;
  --gh-ink: #061a3a;
  --gh-gold: #f2b600;
}

html {
  background: var(--gh-bg);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--gh-bg);
  color: var(--gh-ink);
  font-family: var(--gh-font-sans);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body *,
body *::before,
body *::after {
  letter-spacing: 0;
}

.mobile-status {
  display: none !important;
}

.seo-crawl-links {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 701px) {
  body .topbar,
  body[data-route="home"] .topbar,
  .seo-home-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
    padding: 0 clamp(40px, 4vw, 78px) !important;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 24px !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(6, 26, 58, .14) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  body .brand,
  body[data-route="home"] .brand,
  .seo-home-topbar .brand {
    min-height: 92px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: var(--gh-ink) !important;
    text-decoration: none !important;
    font-family: var(--gh-font-sans) !important;
    font-size: clamp(31px, 2.2vw, 42px) !important;
    font-weight: 850 !important;
    line-height: 1 !important;
  }

  body .brand i,
  body[data-route="home"] .brand i,
  .seo-home-topbar .brand i {
    width: .34em !important;
    height: .34em !important;
    margin-left: .12em !important;
    border-radius: 50% !important;
    background: var(--gh-gold) !important;
  }

  body .topbar nav,
  body[data-route="home"] .topbar nav,
  .seo-home-topbar nav {
    height: 92px !important;
    display: flex !important;
    align-items: stretch !important;
    gap: clamp(58px, 7vw, 138px) !important;
  }

  body .topbar nav button,
  body .topbar nav a,
  body .topbar .nav-link,
  body[data-route="home"] .topbar nav button,
  body[data-route="home"] .topbar nav a,
  body[data-route="home"] .topbar .nav-link,
  .seo-home-topbar nav a,
  .seo-home-topbar .nav-link {
    position: relative !important;
    height: 92px !important;
    min-height: 92px !important;
    min-width: 110px !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--gh-ink) !important;
    text-decoration: none !important;
    font-family: var(--gh-font-sans) !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  @media (max-width: 900px) {
    body .topbar,
    body[data-route="home"] .topbar,
    .seo-home-topbar {
      padding: 0 32px !important;
      gap: 18px !important;
    }

    body .topbar nav,
    body[data-route="home"] .topbar nav,
    .seo-home-topbar nav {
      gap: 30px !important;
    }

    body .topbar nav button,
    body .topbar nav a,
    body .topbar .nav-link,
    body[data-route="home"] .topbar nav button,
    body[data-route="home"] .topbar nav a,
    body[data-route="home"] .topbar .nav-link,
    .seo-home-topbar nav a,
    .seo-home-topbar .nav-link {
      min-width: 82px !important;
      padding: 0 8px !important;
      font-size: 18px !important;
    }
  }

  body .topbar nav button.active::after,
  body .topbar nav a.active::after,
  body .topbar .nav-link.active::after,
  body[data-route="home"] .topbar nav button.active::after,
  body[data-route="home"] .topbar nav a.active::after,
  body[data-route="home"] .topbar .nav-link.active::after,
  .seo-home-topbar nav a.active::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 4px !important;
    border-radius: 99px 99px 0 0 !important;
    background: var(--gh-gold) !important;
  }

  body .page,
  .seo-home-fallback.page {
    min-height: calc(100svh - 92px) !important;
  }

  body[data-route="home"] .page,
  body[data-route="home"] .home-hero,
  body[data-route="home"] .desktop-home,
  body[data-route="home"] .home-redesign {
    height: calc(100svh - 92px) !important;
    min-height: calc(100svh - 92px) !important;
  }

  body[data-route="home"] .home-stage {
    height: calc(100svh - 92px) !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .seo-home-fallback .mobile-appbar {
    display: none !important;
  }
}

body[data-route="home"] .page,
body[data-route="home"] .home-hero,
body[data-route="home"] .desktop-home,
body[data-route="home"] .home-redesign,
.seo-home-fallback,
.seo-home-fallback .home-hero,
.seo-home-fallback .desktop-home,
.seo-home-fallback .home-redesign {
  background: var(--gh-bg) !important;
}

body[data-route="home"] .home-visual-panel,
.seo-home-fallback .home-visual-panel {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  background: #dfe7ef !important;
}

body[data-route="home"] .home-work-photo,
.seo-home-fallback .home-work-photo {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  display: block !important;
  background: #dfe7ef !important;
  transform: translateZ(0);
}

body[data-route="home"] .home-work-photo img,
.seo-home-fallback .home-work-photo img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 1 !important;
  filter: none !important;
}

.seo-home-fallback .home-stage {
  width: 100% !important;
  height: calc(100svh - 92px) !important;
  min-height: 0 !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr) !important;
  gap: 0 !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

.seo-home-fallback .home-left {
  width: min(680px, calc(100% - 96px)) !important;
  margin: 0 auto !important;
  padding: clamp(30px, 5vh, 66px) 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.seo-home-fallback .hero-copy {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body[data-route="home"] h1,
.seo-home-fallback h1 {
  font-family: var(--gh-font-sans) !important;
  font-weight: 900 !important;
}

.seo-home-fallback h1 {
  max-width: 670px !important;
  margin: 0 0 18px !important;
  color: var(--gh-ink) !important;
  font-size: clamp(52px, 4.8vw, 74px) !important;
  line-height: 1.06 !important;
  text-wrap: balance !important;
}

.seo-home-fallback .hero-copy > p {
  max-width: 620px !important;
  margin: 0 0 26px !important;
  color: #10254a !important;
  font-size: clamp(19px, 1.35vw, 24px) !important;
  line-height: 1.38 !important;
  font-weight: 500 !important;
}

.seo-home-fallback .home-intake {
  width: 100% !important;
  max-width: 640px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 16px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.seo-home-fallback .home-field {
  display: grid !important;
  gap: 8px !important;
}

.seo-home-fallback .home-field label {
  color: var(--gh-ink) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.seo-home-fallback .home-input-shell {
  min-height: 58px !important;
  border: 1px solid rgba(6, 26, 58, .26) !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, .76) !important;
  box-shadow: none !important;
}

.seo-home-fallback .home-input-shell input {
  width: 100% !important;
  min-height: 56px !important;
  padding: 0 18px !important;
  border: 0 !important;
  outline: none !important;
  color: var(--gh-ink) !important;
  background: transparent !important;
  font: 500 19px/1 var(--gh-font-sans) !important;
}

.seo-home-fallback .request-button {
  width: 100% !important;
  min-height: 62px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: linear-gradient(90deg, #081a3d 0%, #0b3475 100%) !important;
  color: #fff !important;
  font-size: 27px !important;
  font-weight: 700 !important;
  box-shadow: 0 12px 26px rgba(8, 26, 61, .18) !important;
}

body[data-route="about"] .about-page,
body[data-route="work"] .page,
body[data-route="listing-submitted"] .page,
body[data-route="profile-edit"] .page,
body[data-route="checkout"] .page,
body[data-route="payment"] .page,
body[data-route="report"] .page,
body[data-route="admin"] .page {
  background: var(--gh-bg) !important;
}

body[data-route="about"] .about-copy h1,
body[data-route="about"] .about-footer-band h2,
body[data-route="work"] .listing-flow-main h1,
body[data-route="work"] .claim-listing-form h2,
body[data-route="work"] .listing-verification h2,
body[data-route="work"] .claim-verify h2,
body[data-route="listing-submitted"] .listing-submitted-main h1,
body[data-route="listing-submitted"] .listing-review-card h2,
body[data-route="profile-edit"] .listing-intake-main > h1,
body[data-route="checkout"] h1,
body[data-route="payment"] h1,
body[data-route="report"] h1,
body[data-route="admin"] h1 {
  color: var(--gh-ink) !important;
  font-family: var(--gh-font-sans) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

body[data-route="about"] .about-copy h1,
body[data-route="work"] .listing-flow-main h1,
body[data-route="listing-submitted"] .listing-submitted-main h1,
body[data-route="profile-edit"] .listing-intake-main > h1 {
  font-size: clamp(42px, 4.4vw, 68px) !important;
  line-height: 1.04 !important;
}

body[data-route="about"] .about-copy p,
body[data-route="work"] .listing-flow-main > p,
body[data-route="listing-submitted"] .listing-submitted-main > p,
body[data-route="profile-edit"] .listing-intake-main > p {
  color: #12335f !important;
  font-family: var(--gh-font-sans) !important;
}

body[data-route="explore"] .explore-hero > h1 {
  font-family: var(--gh-font-sans) !important;
  font-size: clamp(36px, 3vw, 52px) !important;
  line-height: 1.05 !important;
}

body[data-route="explore"] .result-copy h2 {
  font-family: var(--gh-font-sans) !important;
  letter-spacing: 0 !important;
}

@media (max-width: 900px) {
  body[data-route="about"] .about-copy h1,
  body[data-route="work"] .listing-flow-main h1,
  body[data-route="listing-submitted"] .listing-submitted-main h1,
  body[data-route="profile-edit"] .listing-intake-main > h1 {
    font-size: clamp(36px, 10vw, 56px) !important;
    line-height: 1.05 !important;
  }
}

@media (max-width: 700px) {
  .seo-home-topbar {
    display: none !important;
  }

  .seo-home-fallback,
  .seo-home-fallback .home-hero,
  .seo-home-fallback .desktop-home,
  .seo-home-fallback .home-redesign {
    min-height: 100svh !important;
    height: auto !important;
    overflow: visible !important;
  }

  .seo-home-fallback .mobile-appbar {
    min-height: 86px !important;
    width: 100% !important;
    padding: 0 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(6, 26, 58, .12) !important;
  }

  .seo-home-fallback .mobile-appbar .brand {
    min-height: 86px !important;
    color: var(--gh-ink) !important;
    text-decoration: none !important;
    font-size: clamp(33px, 9vw, 42px) !important;
    font-weight: 900 !important;
  }

  .seo-home-fallback .mobile-menu {
    width: 50px !important;
    height: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--gh-ink) !important;
    text-decoration: none !important;
  }

  .seo-home-fallback .mobile-menu span,
  .seo-home-fallback .mobile-menu span::before,
  .seo-home-fallback .mobile-menu span::after {
    width: 30px;
    height: 3px;
    display: block;
    border-radius: 999px;
    background: currentColor;
    content: "";
  }

  .seo-home-fallback .mobile-menu span {
    position: relative;
  }

  .seo-home-fallback .mobile-menu span::before {
    position: absolute;
    top: -10px;
  }

  .seo-home-fallback .mobile-menu span::after {
    position: absolute;
    top: 10px;
  }

  .seo-home-fallback .home-stage {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
  }

  .seo-home-fallback .home-left {
    display: contents !important;
  }

  .seo-home-fallback .home-visual-panel {
    order: 1 !important;
    width: 100% !important;
    height: clamp(250px, 70vw, 390px) !important;
  }

  body[data-route="home"] .home-visual-panel {
    height: clamp(250px, 70vw, 390px) !important;
  }

  .seo-home-fallback .hero-copy {
    order: 2 !important;
    width: auto !important;
    padding: 34px 24px 0 !important;
  }

  .seo-home-fallback h1 {
    max-width: 760px !important;
    margin-bottom: 16px !important;
    font-size: clamp(48px, 13vw, 70px) !important;
    line-height: 1.06 !important;
  }

  .seo-home-fallback .hero-copy > p {
    max-width: 660px !important;
    margin-bottom: 0 !important;
    font-size: clamp(19px, 5vw, 28px) !important;
    line-height: 1.38 !important;
  }

  .seo-home-fallback .home-intake {
    order: 3 !important;
    width: auto !important;
    max-width: none !important;
    margin: 26px 24px 34px !important;
    gap: 20px !important;
  }
}

@media (max-width: 430px) {
  .seo-home-fallback .mobile-appbar {
    min-height: 58px !important;
    padding: 0 18px !important;
  }

  .seo-home-fallback .mobile-appbar .brand {
    min-height: 58px !important;
    font-size: clamp(28px, 7vw, 32px) !important;
  }

  .seo-home-fallback .home-visual-panel {
    height: clamp(112px, 31vw, 136px) !important;
  }

  body[data-route="home"] .home-visual-panel {
    height: clamp(112px, 31vw, 136px) !important;
  }

  .seo-home-fallback .hero-copy {
    padding: 16px 22px 0 !important;
  }

  .seo-home-fallback h1 {
    margin-bottom: 7px !important;
    font-size: clamp(31px, 8.6vw, 36px) !important;
    line-height: 1.03 !important;
  }

  .seo-home-fallback .hero-copy > p {
    font-size: 14px !important;
    line-height: 1.24 !important;
  }

  .seo-home-fallback .home-intake {
    margin: 14px 22px 18px !important;
    gap: 9px !important;
  }

  .seo-home-fallback .home-field label {
    font-size: 16px !important;
  }

  .seo-home-fallback .home-input-shell {
    min-height: 52px !important;
  }

  .seo-home-fallback .home-input-shell input {
    min-height: 50px !important;
    font-size: 16px !important;
  }

  .seo-home-fallback .request-button {
    min-height: 54px !important;
    font-size: 22px !important;
  }
}

@media (max-width: 700px) {
  .mobile-menu,
  .listing-mobile-menu {
    display: none !important;
  }

  .mobile-appbar {
    justify-content: flex-start !important;
  }

  body:not([data-route="profile-edit"]):not([data-route="business-post"]):not([data-route="checkout"]):not([data-route="payment"]):not([data-route="admin"]):not([data-route="report"]) .page {
    padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
  }

  body:not([data-route="profile-edit"]):not([data-route="business-post"]):not([data-route="checkout"]):not([data-route="payment"]):not([data-route="admin"]):not([data-route="report"]) .bottom-nav {
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    z-index: 60 !important;
  }

  .install-prompt {
    position: fixed !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: calc(86px + env(safe-area-inset-bottom)) !important;
    z-index: 75 !important;
    width: min(520px, calc(100% - 20px)) !important;
    min-height: 86px !important;
    padding: 12px 44px 12px 12px !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    border-radius: 16px !important;
  }

  .install-prompt strong {
    font-size: 15px !important;
    line-height: 1.1 !important;
  }

  .install-prompt small {
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  .install-prompt [data-install-app] {
    min-height: 42px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
  }

  .install-prompt [data-dismiss-install] {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 28px !important;
    height: 28px !important;
  }
}

@media (min-width: 701px) and (max-width: 1180px) {
  body[data-route="sponsor"] .sponsor-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  body[data-route="sponsor"] .sponsor-main {
    display: contents !important;
  }

  body[data-route="sponsor"] .sponsor-main h1,
  body[data-route="sponsor"] .sponsor-main > p,
  body[data-route="sponsor"] .sponsor-summary,
  body[data-route="sponsor"] .sponsor-request-form,
  body[data-route="sponsor"] .sponsor-action {
    width: 100% !important;
  }

  body[data-route="sponsor"] .sponsor-main h1 {
    order: 1 !important;
  }

  body[data-route="sponsor"] .sponsor-main > p {
    order: 2 !important;
  }

  body[data-route="sponsor"] .sponsor-summary {
    order: 3 !important;
  }

  body[data-route="sponsor"] .sponsor-request-form {
    order: 4 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-route="sponsor"] .sponsor-action {
    order: 5 !important;
    max-width: none !important;
  }
}
