/* Shared public-site brand mark. Keeps every public static header aligned
   without changing the page-specific layout or conversion content. */
:root {
  --text: #11242d !important;
  --muted: #5b6e78 !important;
  --line: #d7e1e5 !important;
  --blue: #0f6570 !important;
  --soft: #edf5f4 !important;
  --dark: #11242d !important;
}

/* Secondary public pages use the same restrained reading surface as the
   homepage: flat color, clear borders, and compact controls. */
.hero {
  background: #f0f6f5 !important;
}

.intent,
.content-referral {
  border-radius: 6px !important;
}

.panel {
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(15, 32, 51, .035) !important;
}

.grid article {
  border-color: #d2e4e1 !important;
  border-radius: 6px !important;
}

.link-list a,
.conversion-cta {
  border-radius: 4px !important;
}

.conversion-cta {
  background: #0f6570 !important;
}

.conversion-cta:hover {
  background: #0a4f58 !important;
}

.top .brand,
.topbar .brand {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  white-space: nowrap;
}

/* Navigation remains text-led on desktop, but its clickable region must not
   collapse to the glyph height. */
.top .nav-links a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px !important;
}

.top .brand::before,
.topbar .brand::before {
  content: "" !important;
  display: block !important;
  flex: 0 0 28px;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: url("/yudun-brand-icon.png") center / cover no-repeat !important;
  box-shadow: 0 1px 2px rgba(15, 32, 51, .16);
  vertical-align: initial !important;
}

@media (max-width: 720px) {
  /* Public secondary pages previously carried several incompatible mobile
     navigation rules. Keep the links in a predictable touch grid instead of
     letting a page-specific 32px/nowrap rule decide their size. */
  .top .nav-links {
    gap: 6px 8px !important;
    margin-top: 10px !important;
  }

  .top .nav-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 7px 5px !important;
    line-height: 1.28 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .top .brand::before,
  .topbar .brand::before {
    flex-basis: 26px;
    width: 26px !important;
    height: 26px !important;
  }
}
