/* 关于思达启航 page (/about-sida/about). Shared by the server-rendered HTML and AboutComponent, which both
   render renderBrandFactsHtml() from src/app/pages/about-sida/about/brand-facts.ts. */
.brand-facts {
  --bf-orange: #ff6a21;
  --bf-orange-dark: #c4520f;
  --bf-ink: #3a2819;
  --bf-muted: #746453;
  --bf-line: #eadfce;
  --bf-soft: #fff7ec;
  display: block;
  color: var(--bf-ink);
  background: #fff;
  text-align: left;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.brand-facts *,
.brand-facts *::before,
.brand-facts *::after {
  box-sizing: border-box;
}
.brand-facts a {
  color: var(--bf-orange-dark);
  text-decoration: none;
}
.brand-facts a:hover {
  text-decoration: underline;
}
/* Resets with the specificity of one class, so later class rules below can set their own spacing. */
.brand-facts :where(h1, h2, h3, p, ul, ol, dl, dd) {
  margin: 0;
}
.brand-facts :where(ul, ol) {
  padding: 0;
  list-style: none;
}
.bf-wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.bf-hero {
  padding: 48px 0 36px;
  background: radial-gradient(circle at 8% 0, rgba(255, 125, 45, 0.12), transparent 380px),
    linear-gradient(180deg, #fffaf2 0, #fff 100%);
}
.bf-eyebrow,
.bf-kicker {
  color: #b4751d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.bf-hero h1 {
  margin-top: 10px;
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 900;
  line-height: 1.2;
}
.bf-lead {
  max-width: 820px;
  margin-top: 18px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.85;
}
.bf-lead-en {
  max-width: 820px;
  margin-top: 10px;
  color: var(--bf-muted);
  font-size: 14px;
  line-height: 1.7;
}
.bf-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.bf-highlights li {
  padding: 5px 12px;
  border: 1px solid #f3cfae;
  border-radius: 999px;
  background: #fff;
  color: var(--bf-orange-dark);
  font-size: 14px;
  font-weight: 700;
}
.bf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.brand-facts .bf-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--bf-orange);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.brand-facts .bf-button--ghost {
  border: 1px solid #f0c9a4;
  background: #fff;
  color: var(--bf-orange-dark);
}

/* Table of contents */
.bf-toc {
  border-top: 1px solid var(--bf-line);
  border-bottom: 1px solid var(--bf-line);
  background: #fff;
}
.bf-toc .bf-wrap {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.bf-toc .bf-wrap::-webkit-scrollbar {
  display: none;
}
.bf-toc a {
  flex: 0 0 auto;
  padding: 12px 10px;
  color: var(--bf-muted);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.bf-toc a:hover {
  color: var(--bf-orange-dark);
  text-decoration: none;
}

/* Sections */
.bf-body {
  padding-bottom: 48px;
}
.bf-section {
  padding-top: 44px;
  scroll-margin-top: 80px;
}
.bf-section h2 {
  margin: 4px 0 18px;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 900;
  line-height: 1.35;
}
.bf-intro {
  margin-bottom: 14px;
  color: var(--bf-muted);
}
.bf-note {
  margin-top: 14px;
  color: var(--bf-muted);
  font-size: 14px;
}
.bf-note a {
  margin-left: 6px;
  font-weight: 700;
}

/* Fact table */
.bf-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--bf-line);
  border-radius: 10px;
  overflow: hidden;
}
.bf-row {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--bf-line);
}
.bf-row:nth-child(odd) {
  border-right: 1px solid var(--bf-line);
}
.bf-row:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: 0;
}
.bf-row dt {
  color: var(--bf-muted);
  font-size: 14px;
}
.bf-row dd {
  font-weight: 600;
}
.bf-facts--compact .bf-row {
  grid-template-columns: 9.5em minmax(0, 1fr);
}

/* Business cards */
.bf-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.bf-card {
  padding: 18px 20px;
  border: 1px solid var(--bf-line);
  border-radius: 10px;
  background: #fff;
}
.bf-card--main {
  grid-column: 1 / -1;
  border-color: #f3cfae;
  background: var(--bf-soft);
}
.bf-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 850;
}
.bf-tag {
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--bf-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.bf-card--main ~ .bf-card .bf-tag {
  background: #c9b9a6;
}
.bf-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
}

/* Advantages */
.bf-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}
.bf-points li {
  position: relative;
  padding-left: 28px;
}
.bf-points li::before {
  content: '';
  position: absolute;
  top: 0.45em;
  left: 2px;
  width: 14px;
  height: 8px;
  border-bottom: 3px solid var(--bf-orange);
  border-left: 3px solid var(--bf-orange);
  transform: rotate(-45deg);
}
.bf-points strong {
  display: block;
  font-weight: 850;
}
.bf-points span {
  display: block;
  color: var(--bf-muted);
  font-size: 15px;
}
.bf-motto {
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--bf-soft);
  font-weight: 750;
}
.bf-motto span {
  margin-right: 10px;
  color: var(--bf-orange-dark);
}

/* Process */
.bf-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  counter-reset: bf-step;
}
.bf-steps li {
  padding: 16px;
  border: 1px solid var(--bf-line);
  border-radius: 10px;
  counter-increment: bf-step;
}
.bf-steps li::before {
  content: counter(bf-step, decimal-leading-zero);
  display: block;
  color: var(--bf-orange);
  font-size: 13px;
  font-weight: 900;
}
.bf-steps strong {
  display: block;
  font-size: 17px;
  font-weight: 850;
}
.bf-steps span {
  display: block;
  margin-top: 4px;
  color: var(--bf-muted);
  font-size: 14px;
  line-height: 1.7;
}
.bf-notes {
  margin-top: 14px;
  color: var(--bf-muted);
  font-size: 14px;
}
.bf-notes li::before {
  content: '·';
  margin-right: 8px;
  color: var(--bf-orange);
  font-weight: 900;
}

/* Consultants */
.bf-consultants {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.bf-consultants li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--bf-line);
  border-radius: 10px;
}
.bf-consultants img {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bf-soft);
}
.bf-consultants strong,
.bf-consultants span,
.bf-consultants a {
  display: block;
}
.bf-consultants strong {
  font-weight: 850;
}
.bf-consultants span {
  color: var(--bf-muted);
  font-size: 14px;
}
.bf-consultants a {
  font-weight: 750;
}

/* Tools */
.bf-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}
.bf-tools a,
.bf-tools strong {
  display: block;
  font-weight: 800;
}
.bf-tools strong {
  color: var(--bf-orange-dark);
}
.bf-tools span {
  display: block;
  color: var(--bf-muted);
  font-size: 14px;
}

/* Disambiguation */
.bf-callout {
  margin-top: 44px;
  padding: 16px 20px;
  border-left: 4px solid var(--bf-orange);
  border-radius: 6px;
  background: var(--bf-soft);
}
.bf-callout strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 850;
}

/* FAQ */
.bf-faq {
  border-top: 1px solid var(--bf-line);
}
.bf-faq details {
  border-bottom: 1px solid var(--bf-line);
}
.bf-faq summary {
  position: relative;
  padding: 14px 32px 14px 0;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.bf-faq summary::-webkit-details-marker {
  display: none;
}
.bf-faq summary::after {
  content: '+';
  position: absolute;
  top: 10px;
  right: 4px;
  color: var(--bf-orange);
  font-size: 22px;
  font-weight: 500;
}
.bf-faq details[open] summary::after {
  content: '−';
}
.bf-faq details p {
  padding: 0 0 16px;
  color: #5b4a3a;
}

.bf-footer {
  margin-top: 36px;
  color: var(--bf-muted);
  font-size: 13px;
}
.bf-footer a {
  color: var(--bf-muted);
}

@media (max-width: 900px) {
  .bf-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bf-consultants,
  .bf-facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .bf-row:nth-child(odd) {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .bf-wrap {
    padding: 0 16px;
  }
  .bf-hero {
    padding: 32px 0 26px;
  }
  .bf-lead {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.8;
  }
  .bf-lead-en {
    font-size: 13px;
  }
  .bf-highlights li {
    padding: 3px 10px;
    font-size: 13px;
  }
  .bf-actions {
    margin-top: 20px;
  }
  .bf-facts,
  .bf-cards,
  .bf-points,
  .bf-tools {
    grid-template-columns: minmax(0, 1fr);
  }
  .bf-row,
  .bf-facts--compact .bf-row {
    grid-template-columns: 7.5em minmax(0, 1fr);
    padding: 10px 14px;
  }
  .bf-row:nth-child(odd) {
    border-right: 0;
  }
  .bf-section {
    padding-top: 36px;
  }
}

@media (max-width: 420px) {
  .bf-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}
