@charset "UTF-8";

/* New header/footer for the full /v2/ copy. Loaded after site.css. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.site-header .header-inner {
  max-width: 1360px;
  min-height: 88px;
  margin: 0 auto;
  padding: 16px 38px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: .1em;
  text-decoration: none;
}

.site-header .brand-logo {
  display: block;
  width: auto;
  height: 44px;
}

.site-header .brand-tagline {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header .brand b { font-weight: 800; }

.site-header .brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--accent);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -.1em;
}

.site-header .brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .04em;
}

.site-header .main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex: 1;
  font-size: 14px;
}

.site-header .main-nav a {
  white-space: nowrap;
  text-decoration: none;
}

.site-header .main-nav a:hover { text-decoration: underline; }

.site-header .main-nav [aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.site-header .header-phone {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.site-header .header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.site-header .header-cta:hover {
  background: var(--brand-hover);
  color: var(--white);
}

.site-header .mobile-nav { display: none; }

@media (max-width: 1180px) {
  .site-header .header-inner { gap: 22px; padding-inline: 26px; }
  .site-header .main-nav { gap: 16px; font-size: 13px; }
  .site-header .header-phone { display: none; }
  .site-header .brand-tagline { display: none; }
  .site-header .brand-logo { height: 40px; }
}

@media (max-width: 980px) {
  .site-header .main-nav,
  .site-header .header-cta { display: none; }
  .site-header .header-inner {
    min-height: 72px;
    padding: 13px 20px;
    justify-content: space-between;
  }
  .site-header .brand-mark { width: 36px; height: 36px; font-size: 26px; }
  .site-header .brand-logo { height: 38px; }
  .site-header .mobile-nav { display: block; font-size: 14px; }
  .site-header .mobile-nav summary {
    list-style: none;
    padding: 7px 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
  }
  .site-header .mobile-nav summary::-webkit-details-marker { display: none; }
  .site-header .mobile-nav nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 18px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 12px var(--shadow-soft);
  }
  .site-header .mobile-nav a { text-decoration: none; }
}

@media (max-width: 760px) {
  .site-header .header-inner { min-height: 72px; padding: 13px 20px; }
}

@media (max-width: 420px) {
  .site-header .header-inner { padding-inline: 16px; }
  .site-header .brand { font-size: 10px; }
  .site-header .brand-logo { height: 32px; }
  .site-header .brand-mark { width: 32px; height: 32px; font-size: 23px; }
  .site-header .mobile-nav nav { padding-inline: 16px; }
}

/* Footer */

.site-footer {
  padding: 55px 38px 24px;
  background: var(--ink);
  color: var(--on-dark);
  margin-top: 0;
}

.site-footer .footer-inner {
  max-width: 1208px;
  margin: 0 auto;
}

.site-footer .footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--on-dark-line);
}

.site-footer .footer-title {
  margin: 0 0 16px;
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.site-footer .footer-logo {
  display: block;
  width: auto;
  height: 34px;
  margin: 0 0 18px;
}

.site-footer .footer-text {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 15px;
}

.site-footer .footer-contact { flex: 0 0 auto; }

.site-footer .footer-phone {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--paper);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer .footer-phone:hover { color: var(--accent); }

.site-footer .footer-contact p {
  margin: 0 0 18px;
  color: var(--on-dark-muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer .button:hover {
  background: var(--white);
  color: var(--ink);
}

.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 22px;
  color: var(--on-dark-muted);
  font-size: 12px;
}

.site-footer .footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer .footer-bottom a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

.site-footer .footer-bottom a:hover { color: var(--accent); }

.site-footer :focus-visible { outline-color: var(--accent); }

.site-footer .footer-version { white-space: nowrap; }

@media (max-width: 760px) {
  .site-footer { padding: 38px 20px 22px; }
  .site-footer .footer-logo { height: 30px; margin-bottom: 14px; }
  .site-footer .footer-top { display: block; padding-bottom: 30px; }
  .site-footer .footer-contact { margin-top: 26px; }
  .site-footer .footer-phone { font-size: 22px; }
  .site-footer .footer-bottom { display: block; }
  .site-footer .footer-bottom nav { gap: 14px 20px; margin-top: 16px; }
  .site-footer .footer-version { display: inline-block; margin-top: 16px; }
}
