:root {
  --site-ink: #1d1d1f;
  --site-blue: #0057ff;
  --site-line: rgba(29, 29, 31, 0.08);
}

/* Secondary pages mount the same navigation structure as the GEO homepage. */
#geo-site-header {
  height: 60px;
}

.topbar[data-site-shell="true"] {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  height: 60px;
  border-bottom: 1px solid rgba(17, 24, 32, 0.08);
  background: #effbff;
  box-shadow: 0 10px 28px rgba(25, 98, 126, 0.06);
  backdrop-filter: saturate(180%) blur(20px);
}

body.home-upload-mode .topbar[data-site-shell="true"] {
  position: fixed;
  border-bottom: 0;
  background: #c9f4ff;
  box-shadow: none;
  backdrop-filter: none;
}

.topbar[data-site-shell="true"] .nav {
  position: relative;
  width: min(1220px, calc(100% - 48px));
  min-height: 60px;
  margin: 0 auto;
}

.topbar[data-site-shell="true"] .brand {
  min-width: 142px;
}

.topbar[data-site-shell="true"] .brand-image {
  width: 142px;
}

.topbar[data-site-shell="true"] .nav-links {
  position: absolute;
  left: 306px;
  display: flex;
  width: 608px;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0 14px;
  transform: none;
  color: rgba(17, 24, 32, 0.86);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.topbar[data-site-shell="true"] .nav-item + .nav-item {
  margin-left: 22px;
}

.topbar[data-site-shell="true"] .nav-link {
  min-height: 38px;
  padding: 0;
  line-height: 38px;
}

.topbar[data-site-shell="true"] .nav-link::after {
  display: none;
}

.topbar[data-site-shell="true"] .home-account {
  position: relative;
}

.topbar[data-site-shell="true"] .home-account-trigger {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.topbar[data-site-shell="true"] .home-account-avatar {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  color: #fff;
  background: #155eef center / cover no-repeat;
  font-size: 13px;
  font-weight: 800;
}

.topbar[data-site-shell="true"] .nav-link[aria-current="page"] {
  color: var(--blue);
}

.topbar[data-site-shell="true"] .nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.topbar[data-site-shell="true"] .home-login-link {
  display: inline-flex;
  min-width: 68px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 7px;
  color: #fff;
  background: #111820;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.topbar[data-site-shell="true"] .menu-button {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111820;
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 820px) {
  .topbar[data-site-shell="true"] .nav {
    width: min(100% - 32px, 680px);
  }

  .topbar[data-site-shell="true"] .nav-links {
    display: none;
  }

  .topbar[data-site-shell="true"] .nav.mobile-open .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    left: auto;
    display: flex;
    width: min(320px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px;
    border: 1px solid rgba(29, 29, 31, 0.08);
    background: #fff;
    box-shadow: 0 18px 42px rgba(29, 29, 31, 0.1);
  }

  .topbar[data-site-shell="true"] .nav.mobile-open .nav-item + .nav-item {
    margin-left: 0;
  }

  .topbar[data-site-shell="true"] .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.site-topbar,
.site-topbar * {
  box-sizing: border-box;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  border: 0;
  background: #fff;
  color: #202124;
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1220px, calc(100% - 48px));
  min-height: 60px;
  margin: 0 auto;
}

.site-brand {
  display: inline-flex;
  flex: 0 0 142px;
  align-items: center;
}

.site-brand img {
  display: block;
  width: 142px;
  height: auto;
  mix-blend-mode: multiply;
}

.site-nav-links {
  position: absolute;
  left: 306px;
  display: flex;
  width: 608px;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 14px;
  color: rgba(17, 24, 32, 0.86);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  transition: color 160ms ease;
}

.site-nav-link + .site-nav-link {
  margin-left: 22px;
}

.site-nav-link:hover,
.site-nav-link[aria-current="page"] {
  color: var(--site-ink);
}

.site-nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.site-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 28px;
  padding: 0 13px;
  border-radius: 7px;
  background: #111820;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.site-login:hover {
  background: #000;
}

.site-account {
  position: relative;
}

.site-account-trigger {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.site-account-trigger:hover,
.site-account-trigger:focus-visible,
.site-account-trigger[aria-expanded="true"] {
  background: #eff4ff;
}

.site-account-avatar {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  color: #fff;
  background: #155eef center / cover no-repeat;
  font-size: 13px;
  font-weight: 800;
}

.site-account-avatar--large {
  width: 38px;
  height: 38px;
  font-size: 16px;
}

.site-account-menu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 10px);
  right: 0;
  width: 196px;
  overflow: hidden;
  padding: 8px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.14);
}

.site-account-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 14px;
  border-bottom: 1px solid #eaecf0;
}

.site-account-name {
  overflow: hidden;
  color: #101828;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-account-menu button {
  display: flex;
  width: 100%;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  border: 0;
  border-radius: 5px;
  color: #344054;
  background: transparent;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.site-account-menu button:hover,
.site-account-menu button:focus-visible {
  color: #155eef;
  background: #eff4ff;
}

.site-account-menu button + button:not([hidden]) {
  margin-top: 2px;
}

.site-account-menu svg {
  width: 16px;
  height: 16px;
}

.site-account-logout {
  margin-top: 7px;
  border-top: 1px solid #eaecf0 !important;
  border-radius: 0 !important;
  color: #d92d20 !important;
}

.site-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: 10px;
  border: 1px solid #d5deea;
  border-radius: 7px;
  background: #fff;
  color: #111820;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.site-menu-button svg {
  width: 19px;
  height: 19px;
}

.site-avatar {
  display: none;
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #f9d0a3 0 23%, transparent 24%),
    radial-gradient(circle at 50% 83%, #1d76ff 0 31%, transparent 32%),
    #fff;
}

.site-avatar::before {
  position: absolute;
  top: 5px;
  left: 7px;
  width: 10px;
  height: 5px;
  border-radius: 8px 8px 2px 2px;
  background: #10202c;
  content: "";
}

.site-footer {
  box-sizing: border-box;
  height: 499px;
  min-height: 499px;
  padding: 70px 0 14px;
  background: #0d1217;
  color: #d9e2ec;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

.site-footer-inner {
  width: min(1292px, calc(100% - 48px));
  margin: 0 auto;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 241px 63px 74px 256px 456px;
  align-items: start;
  gap: 54px;
}

.site-footer-brand img {
  display: block;
  width: 132px;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-footer-brand p {
  max-width: 230px;
  margin: 30px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.site-footer-col {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
}

.site-footer-col h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 760;
}

.site-footer-col a,
.site-footer-col span {
  color: #9dafc2;
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
}

.site-footer-col a,
.site-footer-col h3,
.site-qr-card b,
.site-phone-pill {
  white-space: nowrap;
}

.site-footer-col a:hover {
  color: #fff;
}

.site-footer-inline-links {
  display: grid;
  grid-template-columns: 74px max-content;
  align-items: baseline;
  column-gap: 54px;
  white-space: nowrap;
}

.site-contact-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
}

.site-qr-card {
  display: grid;
  justify-items: start;
  gap: 8px;
  width: 96px;
}

.site-qr-card b {
  color: #fff;
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.site-qr-card img {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 6px;
  background: #fff;
}

.site-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.site-phone-action {
  display: flex;
  align-items: center;
}

.site-phone-number {
  display: inline-flex;
  min-width: 0;
  min-height: 22px;
  align-items: center;
  color: #9dafc2;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-phone-number:hover,
.site-phone-pill:hover {
  color: #fff;
}

.site-phone-pill::before {
  display: none;
}

.site-phone-pill svg {
  width: 12px;
  height: 12px;
  color: #2e8cff;
  stroke-width: 2;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 108px;
  color: #9faab8;
  font-size: 12px;
  text-align: center;
}

.site-footer-bottom span:last-child {
  color: #1477ff;
}

@media (max-width: 1120px) {
  .site-nav-links { position: static; width: auto; gap: 16px; }
  .site-nav-link + .site-nav-link { margin-left: 0; }
  .site-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer-qr-col { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .site-topbar { height: 60px; border-radius: 0; }
  .site-nav { width: min(100% - 32px, 680px); min-height: 60px; }
  .site-brand, .site-nav-actions { flex-basis: auto; }
  .site-brand img { width: 142px; }
  .site-nav-links {
    position: absolute;
    width: auto;
    top: 60px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 14px;
    border: 1px solid #e4eaf2;
    border-top: 0;
    background: #fff;
    box-shadow: 0 18px 42px rgba(29, 29, 31, 0.1);
  }
  .site-nav.mobile-open .site-nav-links { display: flex; }
  .site-nav-link { min-height: 44px; }
  .site-login { min-width: 68px; height: 28px; padding: 0 13px; border-radius: 7px; font-size: 13px; }
  .site-menu-button { display: inline-flex; }
  .site-menu-button .site-avatar { display: none; }
  .site-footer { height: auto; min-height: 0; padding-top: 48px; }
  .site-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .site-footer-qr-col { grid-column: 1 / -1; }
  .site-footer-bottom { flex-wrap: wrap; margin-top: 58px; }
}

@media (max-width: 520px) {
  .site-footer-inner { width: min(100% - 32px, 420px); }
  .site-footer-grid { grid-template-columns: 1fr; }
  .site-footer-qr-col { grid-column: auto; }
  .site-footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
}

/* Shared editorial surface for the GEO site and its static search pages. */
.site-breadcrumbs {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  margin: 0 0 30px;
  overflow: hidden;
  color: #64748b;
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
}

.site-breadcrumbs a {
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-breadcrumbs a:hover {
  color: #155eef;
}

.site-breadcrumbs-current {
  min-width: 0;
  overflow: hidden;
  color: #64748b;
  font-weight: 500;
  text-overflow: ellipsis;
}

.site-shell-demo-feedback {
  margin: 12px 0 0;
  color: #1766ba;
  font-size: 13px;
  line-height: 1.5;
}

.site-shell-demo-feedback.is-error {
  color: #c9372c;
}

body.marketing-page {
  color: #202526;
}

body.case-detail:not(.case-practice):not(.news-article) {
  color: #202526;
  background: #fff;
}

body.case-detail:not(.case-practice):not(.news-article) main,
.faq-page {
  background: #fff;
}

body.marketing-page .home-upload-hero {
  padding: 126px 0 88px;
  border-bottom: 0;
  background: linear-gradient(180deg, #c9f4ff 0%, #dff8ff 62%, #fbfdff 100%);
}

body.marketing-page .home-tool-tabs {
  border: 1px solid #e1e4e3;
  border-radius: 8px;
  background: #fff;
}

body.marketing-page .home-tool-tabs button,
body.marketing-page .home-tool-tabs button.is-active {
  border-radius: 5px;
}

body.marketing-page .home-upload-panel {
  border: 1px solid #d9dddc;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.marketing-page .home-upload-panel::before,
body.marketing-page .home-upload-panel::after {
  display: none;
}

body.marketing-page .section-heading h2,
body.marketing-page .answer-copy h2,
body.marketing-page .cta-inner h2 {
  color: #202526;
}

.faq-page {
  min-height: auto;
  padding: 72px 0 96px;
}

.faq-page .concept-marker {
  display: none;
}

.faq-page .faq-title {
  margin-bottom: 28px;
  color: #202526;
  font-size: clamp(36px, 3.8vw, 48px);
  font-weight: 700;
}

.faq-page .faq-list,
.faq-page .faq-item {
  border-color: #e1e4e3;
}

.faq-page .faq-question {
  min-height: 68px;
  color: #2d3534;
  font-weight: 600;
}

.faq-page .faq-question::after {
  color: #596160;
  font-weight: 500;
}

.faq-page .faq-answer {
  color: #667071;
}

.faq-page .faq-method-card {
  border: 0;
  border-top: 1px solid #e1e4e3;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.case-detail:not(.case-practice):not(.news-article) .hero {
  padding: clamp(58px, 6vw, 88px) 0 clamp(48px, 5vw, 68px);
  border-bottom: 1px solid #e1e4e3;
  background: #fff;
}

body.case-detail:not(.case-practice):not(.news-article) .crumbs {
  margin-bottom: 16px;
  color: #7a8382;
}

body.case-detail:not(.case-practice):not(.news-article) .crumbs a,
body.case-detail:not(.case-practice):not(.news-article) .page-kicker {
  color: #66706f;
  font-weight: 600;
}

body.case-detail:not(.case-practice):not(.news-article) h1 {
  max-width: 100%;
  color: #202526;
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.18;
}

body.case-detail:not(.case-practice):not(.news-article) .lead,
body.case-detail:not(.case-practice):not(.news-article) .section-intro {
  color: #667071;
}

body.case-detail:not(.case-practice):not(.news-article) .hero-meta {
  gap: 0;
  margin-bottom: 24px;
  border-top: 1px solid #e1e4e3;
}

body.case-detail:not(.case-practice):not(.news-article) .hero-meta li {
  padding: 12px 16px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #596160;
  font-weight: 600;
}

body.case-detail:not(.case-practice):not(.news-article) .hero-meta li + li {
  padding-left: 16px;
  border-left: 1px solid #e1e4e3;
}

body.case-detail:not(.case-practice):not(.news-article) .answer-box {
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid #202526;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.case-detail:not(.case-practice):not(.news-article) .answer-box b,
body.case-detail:not(.case-practice):not(.news-article) .fact-list dt,
body.case-detail:not(.case-practice):not(.news-article) .related a {
  color: #3f4847;
}

body.case-detail:not(.case-practice):not(.news-article) .section {
  padding: clamp(48px, 5vw, 72px) 0;
  border-top: 1px solid #e1e4e3;
  background: #fff;
}

body.case-detail:not(.case-practice):not(.news-article) .section + .section {
  padding-top: clamp(48px, 5vw, 72px);
}

body.case-detail:not(.case-practice):not(.news-article) .section h2 {
  color: #202526;
  font-size: clamp(26px, 2.7vw, 38px);
  font-weight: 700;
}

body.case-detail:not(.case-practice):not(.news-article) .card,
body.case-detail:not(.case-practice):not(.news-article) .insight-panel,
body.case-detail:not(.case-practice):not(.news-article) .evidence-panel,
body.case-detail:not(.case-practice):not(.news-article) .boundary-panel,
body.case-detail:not(.case-practice):not(.news-article) .process-panel,
body.case-detail:not(.case-practice):not(.news-article) .metric-list li,
body.case-detail:not(.case-practice):not(.news-article) .check-list li,
body.case-detail:not(.case-practice):not(.news-article) .steps li,
body.case-detail:not(.case-practice):not(.news-article) .customer-case-card {
  border: 0;
  border-top: 1px solid #e1e4e3;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.case-detail:not(.case-practice):not(.news-article) .card:hover,
body.case-detail:not(.case-practice):not(.news-article) .boundary-panel:hover,
body.case-detail:not(.case-practice):not(.news-article) .metric-list li:hover {
  border-color: #9da5a3;
  box-shadow: none;
  transform: none;
}

body.case-detail:not(.case-practice):not(.news-article) .tag-list li,
body.case-detail:not(.case-practice):not(.news-article) .quote,
body.case-detail:not(.case-practice):not(.news-article) .customer-case-quote {
  border-radius: 0;
  background: #f4f5f4;
  color: #38413f;
}

body.case-detail:not(.case-practice):not(.news-article) .cta {
  border-top: 1px solid #202526;
  background: #fff;
  color: #202526;
}

body.case-detail:not(.case-practice):not(.news-article) .cta h2,
body.case-detail:not(.case-practice):not(.news-article) .cta p {
  color: #202526;
}

body.case-detail:not(.case-practice):not(.news-article) .button,
body.case-detail:not(.case-practice):not(.news-article) .cta .button {
  border-radius: 5px;
  background: #202526;
  box-shadow: none;
}

body.case-detail:not(.case-practice):not(.news-article) .button.secondary {
  border-color: #cdd2d0;
  background: transparent;
  color: #303837;
}

@media (max-width: 720px) {
  .site-breadcrumbs {
    margin-bottom: 24px;
  }

  body.marketing-page .home-upload-hero {
    padding: 64px 0 52px;
  }

  .faq-page {
    padding: 52px 0 72px;
  }

  body.case-detail:not(.case-practice):not(.news-article) .hero-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  body.case-detail:not(.case-practice):not(.news-article) .hero-meta li + li {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 860px) {
  body.case-practice .case-practice-hero--with-visual {
    padding-top: 46px;
  }
}
