:root {
  --chrome-navy: #09255f;
  --chrome-blue: #0f4cc4;
  --chrome-orange: #f57d23;
  --chrome-ink: #14213a;
  --chrome-muted: #617085;
  --chrome-paper: #fffdf8;
  --chrome-soft: #edf3ff;
  --chrome-line: #d8e1ee;
}

[data-site-header],
[data-site-footer] {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body [data-site-header] {
  position: relative;
  z-index: 1000;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--chrome-line) !important;
  color: var(--chrome-ink) !important;
  background: var(--chrome-paper) !important;
  box-shadow: 0 8px 26px rgba(9, 37, 95, 0.07);
}

body [data-site-header-inner] {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 18px;
}

body.se-feelscore-page [data-site-header-inner] {
  max-width: none !important;
  display: block !important;
}

body.se-feelscore-page [data-site-header] .forecast-header-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 305px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

body.se-feelscore-page [data-site-header] [data-site-nav] {
  justify-content: flex-start;
}

body [data-site-header-inner]:not(.mock-header-inner):not(.radar-header-inner) {
  display: grid;
  grid-template-columns: minmax(220px, 305px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

body [data-site-brand] {
  display: block;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

body [data-site-brand] .site-brand-title {
  width: fit-content;
  margin: 0;
  color: var(--chrome-navy) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1.55rem !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
}

body [data-site-brand] .site-brand-828 {
  color: var(--chrome-orange) !important;
}

body.connector-page [data-site-brand] .site-brand-828 {
  font-size: 1.18em !important;
  font-weight: 950 !important;
}

body [data-site-brand] .site-brand-title::after {
  content: "";
  display: block;
  width: 72% !important;
  height: 3px !important;
  margin-top: 7px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, var(--chrome-orange) 0 32%, var(--chrome-blue) 32% 100%) !important;
}

body [data-site-brand] .site-brand-sub {
  display: block;
  max-width: 305px;
  margin-top: 8px !important;
  color: var(--chrome-muted) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
}

body [data-site-nav] {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  overflow: visible;
}

body [data-site-nav] a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #d7e2f3;
  border-radius: 999px;
  color: var(--chrome-navy);
  background: var(--chrome-soft);
  box-shadow: none;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

body [data-site-nav] a:hover,
body [data-site-nav] a:focus-visible {
  color: var(--chrome-blue);
  border-color: #9fbae8;
  background: #e5edfb;
  transform: translateY(-1px);
}

body [data-site-nav] a.active,
body [data-site-nav] a[aria-current="page"] {
  color: var(--chrome-navy);
  border-color: #f3ba70;
  background: #ffd092;
}

body [data-site-header] .mock-brand-row,
body [data-site-header] .brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

body [data-site-header] .mock-header-inner > [data-site-nav],
body [data-site-header] .radar-header-inner > [data-site-nav] {
  margin-top: 16px;
}

body [data-site-footer] {
  position: relative;
  width: 100%;
  display: block !important;
  margin: 0;
  padding: 0;
  border: 0;
  color: #dce7f7;
  background: #071a3a;
}

body [data-site-footer]::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--chrome-orange) 0 24%, var(--chrome-blue) 24% 100%);
}

body [data-site-footer] .global-footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 28px;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.5fr);
  gap: 28px 48px;
  align-items: start;
}

body [data-site-footer] .global-footer-logo {
  color: white;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}

body [data-site-footer] .global-footer-tagline {
  max-width: 390px;
  margin: 8px 0 0;
  color: #aebed4;
  font-size: 0.88rem;
  line-height: 1.55;
}

body [data-site-footer] .global-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

body [data-site-footer] .global-footer-links a {
  color: #f1f6ff;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

body [data-site-footer] .global-footer-links a:hover,
body [data-site-footer] .global-footer-links a:focus-visible {
  color: #ffd092;
}

body [data-site-footer] .global-footer-meta {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(216, 225, 238, 0.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 9px 22px;
  color: #93a7c3;
  font-size: 0.76rem;
  line-height: 1.5;
}

body [data-site-footer] .global-footer-disclaimer {
  flex-basis: 100%;
}

body [data-site-footer] .global-footer-bottom {
  color: #c8d5e7;
}

@media (max-width: 980px) {
  body [data-site-header-inner]:not(.mock-header-inner):not(.radar-header-inner) {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  body.se-feelscore-page [data-site-header] .forecast-header-row {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  body [data-site-nav] {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body [data-site-nav]::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 700px) {
  body [data-site-header-inner] {
    width: min(100% - 24px, 1180px);
    padding: 15px 0 13px;
  }

  body [data-site-header] .mock-brand-row,
  body [data-site-header] .brand-row {
    align-items: flex-start;
  }

  body [data-site-brand] .site-brand-title {
    font-size: 1.28rem !important;
  }

  body [data-site-brand] .site-brand-sub {
    max-width: 240px;
    font-size: 0.78rem !important;
  }

  body [data-site-nav] a {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  body [data-site-footer] .global-footer-inner {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0 24px;
  }

  body [data-site-footer] .global-footer-meta {
    grid-column: 1;
    display: grid;
  }
}
