:root {
  --yc-ink: #0b1220;
  --yc-muted: #5f6b7a;
  --yc-line: rgba(11, 18, 32, 0.10);
  --yc-soft: #f7f8fc;
  --yc-primary-soft: color-mix(in srgb, var(--bs-primary) 10%, transparent);
}

html { scroll-behavior: smooth; }
body { color: var(--yc-ink); }

/* AOS entrance transforms can briefly extend past the viewport on small
   screens; clip horizontal overflow without breaking position: sticky. */
html, body { overflow-x: clip; }

.yc-section { padding: 6.5rem 0; }
.yc-section-sm { padding: 4.5rem 0; }
.yc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--bs-primary);
}
.yc-eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
}
.yc-display {
  max-width: 880px;
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.yc-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.yc-copy { color: var(--yc-muted); font-size: 1.08rem; line-height: 1.75; }

.yc-hero { padding: 8rem 0 5rem; }

.yc-home-hero {
  position: relative;
  padding: 9rem 0 6.5rem;
  background:
    radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--bs-primary) 15%, transparent), transparent 30%),
    radial-gradient(circle at 10% 80%, rgba(88, 80, 236, .08), transparent 32%),
    var(--bs-body-bg);
}
.yc-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image: linear-gradient(var(--yc-line) 1px, transparent 1px), linear-gradient(90deg, var(--yc-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}
.yc-home-hero .container { position: relative; z-index: 1; }
.yc-home-hero-lead { max-width: 760px; font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--yc-muted); line-height: 1.65; }
.yc-home-hero-meta { color: var(--yc-muted); font-size: .92rem; }

.yc-stack-visual {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--yc-line);
  border-radius: 2rem;
  background: color-mix(in srgb, var(--bs-body-bg) 88%, var(--bs-primary) 12%);
  box-shadow: 0 36px 80px rgba(22, 29, 55, .12);
  overflow: hidden;
}
.yc-stack-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--bs-primary) 20%, transparent), transparent 42%);
}
.yc-stack-core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 150px; height: 150px;
  border-radius: 36px;
  display: grid; place-items: center;
  background: var(--bs-primary);
  color: #fff;
  box-shadow: 0 25px 55px color-mix(in srgb, var(--bs-primary) 35%, transparent);
  z-index: 2;
}
.yc-stack-core strong { font-size: 1.45rem; letter-spacing: -.03em; }
.yc-stack-node {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--yc-line);
  background: color-mix(in srgb, var(--bs-body-bg) 92%, transparent);
  box-shadow: 0 15px 35px rgba(12, 19, 36, .08);
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}
.yc-stack-node i { color: var(--bs-primary); }
.yc-stack-node.n1 { left: 8%; top: 16%; }
.yc-stack-node.n2 { right: 8%; top: 16%; }
.yc-stack-node.n3 { left: 7%; bottom: 19%; }
.yc-stack-node.n4 { right: 7%; bottom: 19%; }
.yc-stack-node.n5 { left: 50%; top: 7%; transform: translateX(-50%); }
.yc-stack-node.n6 { left: 50%; bottom: 7%; transform: translateX(-50%); }

.yc-logo-strip { border-top: 1px solid var(--yc-line); border-bottom: 1px solid var(--yc-line); }
.yc-logo-item { font-size: 1.05rem; font-weight: 700; color: var(--yc-muted); }

.yc-card {
  height: 100%;
  position: relative;
  border: 1px solid var(--yc-line);
  border-radius: 1.35rem;
  background: var(--bs-body-bg);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.yc-card:hover { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(24, 32, 62, .10); border-color: color-mix(in srgb, var(--bs-primary) 35%, var(--yc-line)); }
.yc-card-icon {
  width: 3rem; height: 3rem;
  border-radius: 1rem;
  display: grid; place-items: center;
  color: var(--bs-primary);
  background: var(--yc-primary-soft);
  font-size: 1.25rem;
}
.yc-card-link { color: inherit; }
.yc-card-link:hover { color: var(--bs-primary); }

.yc-feature-panel {
  border-radius: 1.75rem;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: var(--yc-soft);
  border: 1px solid var(--yc-line);
}
[data-bs-theme="dark"] .yc-feature-panel,
[data-bs-theme="dark"] .yc-process-step { background: rgba(255,255,255,.035); }

.yc-platform-pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .68rem .9rem;
  border: 1px solid var(--yc-line);
  border-radius: .9rem;
  background: var(--bs-body-bg);
  font-weight: 650;
}
.yc-platform-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--bs-primary); }

.yc-process { counter-reset: ycstep; }
.yc-process-step {
  counter-increment: ycstep;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--yc-line);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}
.yc-process-step::before {
  content: "0" counter(ycstep);
  display: block;
  margin-bottom: 1.25rem;
  color: var(--bs-primary);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .08em;
}

.yc-content-card {
  position: relative; /* constrain stretched-link ::after to the card; without it the link stretches to .site-wrap and hijacks clicks site-wide */
  height: 100%;
  padding: 1.65rem;
  border: 1px solid var(--yc-line);
  border-radius: 1.25rem;
  background: var(--bs-body-bg);
}
.yc-content-card .yc-meta { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--bs-primary); font-weight: 700; }

.yc-cta {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: clamp(2rem, 6vw, 5rem);
  background: #101528;
  color: white;
}
.yc-cta::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -150px; top: -200px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bs-primary) 60%, transparent);
  filter: blur(20px);
  opacity: .55;
}
.yc-cta > * { position: relative; z-index: 1; }

@media (max-width: 991.98px) {
  .yc-section { padding: 4.5rem 0; }
  .yc-home-hero { padding: 7rem 0 4rem; }
  .yc-stack-visual { min-height: 390px; margin-top: 1.5rem; }
}
@media (max-width: 575.98px) {
  .yc-stack-visual { min-height: 350px; }
  .yc-stack-core { width: 120px; height: 120px; border-radius: 28px; }
  .yc-stack-node { font-size: .72rem; padding: .55rem .65rem; }
  .yc-stack-node.n1, .yc-stack-node.n3 { left: 4%; }
  .yc-stack-node.n2, .yc-stack-node.n4 { right: 4%; }
}

/* Services V1 */
.yc-service-index-hero,
.yc-service-single-hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 6rem;
  background:
    radial-gradient(circle at 92% 5%, color-mix(in srgb, var(--bs-primary) 13%, transparent), transparent 31%),
    linear-gradient(180deg, color-mix(in srgb, var(--bs-body-bg) 94%, var(--bs-primary) 6%), var(--bs-body-bg));
  border-bottom: 1px solid var(--yc-line);
}
.yc-service-index-hero::after,
.yc-service-single-hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -13rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid color-mix(in srgb, var(--bs-primary) 20%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem color-mix(in srgb, var(--bs-primary) 3%, transparent), 0 0 0 10rem color-mix(in srgb, var(--bs-primary) 2%, transparent);
  pointer-events: none;
}
.yc-service-hero-note,
.yc-service-snapshot {
  position: relative;
  z-index: 1;
  padding: 1.75rem;
  border: 1px solid var(--yc-line);
  border-radius: 1.5rem;
  background: color-mix(in srgb, var(--bs-body-bg) 88%, transparent);
  box-shadow: 0 24px 60px rgba(18, 27, 48, .08);
  backdrop-filter: blur(12px);
}
.yc-service-card {
  position: relative;
  height: 100%;
  padding: 1.75rem;
  border: 1px solid var(--yc-line);
  border-radius: 1.4rem;
  background: var(--bs-body-bg);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.yc-service-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--bs-primary) 30%, var(--yc-line));
  box-shadow: 0 25px 55px rgba(18, 27, 48, .09);
}
.yc-service-card-accent { background: color-mix(in srgb, var(--bs-body-bg) 94%, var(--bs-primary) 6%); }
.yc-service-card-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  color: var(--bs-primary);
  background: var(--yc-primary-soft);
  font-size: 1.35rem;
}
.yc-service-card-list { display: grid; gap: .65rem; }
.yc-service-card-list span { display: flex; gap: .65rem; align-items: flex-start; color: var(--yc-muted); font-size: .93rem; }
.yc-service-card-list i { color: var(--bs-primary); margin-top: .1rem; }
.yc-service-method { display: grid; gap: 0; border-top: 1px solid var(--yc-line); }
.yc-service-method > div { display: grid; grid-template-columns: 70px 1fr; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--yc-line); }
.yc-service-method strong { color: var(--bs-primary); font-size: .8rem; letter-spacing: .08em; }
.yc-service-method span { color: var(--yc-muted); line-height: 1.65; }
.yc-service-method b { color: var(--yc-ink); }
.yc-sticky-label { position: sticky; top: 7rem; }
.yc-service-prose { max-width: none; font-size: 1.1rem; line-height: 1.8; color: var(--yc-muted); }
.yc-service-prose h2, .yc-service-prose h3 { color: var(--yc-ink); letter-spacing: -.025em; }
.yc-capability-item {
  height: 100%;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--yc-line);
  border-radius: 1rem;
  background: var(--bs-body-bg);
}
.yc-capability-item span { color: var(--bs-primary); font-size: .72rem; font-weight: 800; letter-spacing: .08em; margin-top: .2rem; }
.yc-capability-item strong { font-size: .98rem; line-height: 1.45; }
.yc-deliverable-card {
  height: 100%;
  padding: 1.6rem;
  border: 1px solid var(--yc-line);
  border-radius: 1.25rem;
  background: var(--bs-body-bg);
}
.yc-deliverable-card > i { font-size: 1.35rem; color: var(--bs-primary); }
.yc-fit-panel { padding: clamp(1.5rem, 4vw, 3rem); border-radius: 1.75rem; background: #101528; color: #fff; }
.yc-fit-panel .yc-eyebrow { color: #b9c4ff; }
.yc-fit-item { height: 100%; display: flex; gap: .8rem; padding: 1rem 1.1rem; border-radius: 1rem; background: rgba(255,255,255,.07); line-height: 1.55; }
.yc-fit-item i { color: #b9c4ff; margin-top: .15rem; }
.yc-service-process article { height: 100%; padding: 1.5rem; border-left: 1px solid var(--yc-line); }
.yc-service-process article > span { display: block; margin-bottom: 2rem; color: var(--bs-primary); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.yc-tech-pill { display: inline-flex; padding: .7rem .95rem; border: 1px solid var(--yc-line); border-radius: 999px; background: var(--bs-body-bg); font-size: .9rem; font-weight: 650; }
.yc-faq .accordion-item { border: 0; border-bottom: 1px solid var(--yc-line); background: transparent; }
.yc-faq .accordion-button { padding: 1.35rem 0; font-weight: 700; background: transparent; box-shadow: none; }
.yc-faq .accordion-body { padding: 0 0 1.35rem; line-height: 1.7; }

@media (max-width: 991.98px) {
  .yc-service-index-hero,
  .yc-service-single-hero { padding: 7rem 0 4.5rem; }
  .yc-sticky-label { position: static; }
}

/* Knowledge Base V1 */
.yc-kb-index-hero,
.yc-kb-platform-hero,
.yc-kb-article-hero,
.yc-platform-hero {
  position: relative;
  overflow: hidden;
  padding: 8.5rem 0 5.5rem;
  background:
    radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--bs-primary) 14%, transparent), transparent 30%),
    linear-gradient(180deg, color-mix(in srgb, var(--bs-body-bg) 94%, var(--bs-primary) 6%), var(--bs-body-bg));
  border-bottom: 1px solid var(--yc-line);
}
.yc-kb-index-hero::after,
.yc-kb-platform-hero::after,
.yc-kb-article-hero::after,
.yc-platform-hero::after {
  content: "";
  position: absolute;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  right: -10rem;
  bottom: -16rem;
  border: 1px solid color-mix(in srgb, var(--bs-primary) 22%, transparent);
  box-shadow: 0 0 0 5rem color-mix(in srgb, var(--bs-primary) 3%, transparent), 0 0 0 10rem color-mix(in srgb, var(--bs-primary) 2%, transparent);
  pointer-events: none;
}
.yc-kb-search {
  position: relative;
  z-index: 2;
  padding: 1.4rem;
  border: 1px solid var(--yc-line);
  border-radius: 1.5rem;
  background: color-mix(in srgb, var(--bs-body-bg) 92%, transparent);
  box-shadow: 0 28px 70px rgba(18, 27, 48, .09);
  backdrop-filter: blur(12px);
}
.yc-kb-search-input { margin-bottom: 1rem; }
.yc-kb-filter-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.yc-kb-search-results { max-height: 32rem; overflow: auto; margin-top: .75rem; }
.yc-kb-search pagefind-searchbox,
.yc-kb-search pagefind-results { display: block; }
.yc-kb-search pagefind-filter-dropdown { display: inline-block; }
.yc-kb-platform-card {
  height: 100%;
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.7rem;
  border: 1px solid var(--yc-line);
  border-radius: 1.4rem;
  background: var(--bs-body-bg);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.yc-kb-platform-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--bs-primary) 35%, var(--yc-line)); box-shadow: 0 22px 52px rgba(18,27,48,.08); }
.yc-kb-platform-icon { width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 1rem; color: var(--bs-primary); background: var(--yc-primary-soft); font-size: 1.3rem; }
.yc-kb-platform-count { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--yc-line); color: var(--yc-muted); font-size: .9rem; font-weight: 650; }
.yc-kb-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; }
.yc-kb-topic-grid a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--yc-line); border-radius: .95rem; background: var(--bs-body-bg); text-decoration: none; font-weight: 650; }
.yc-kb-topic-grid a small { display: grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .4rem; border-radius: 999px; color: var(--bs-primary); background: var(--yc-primary-soft); }
.yc-kb-editorial-note { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem,5vw,5rem); align-items: center; padding: clamp(1.6rem,4vw,3rem); border: 1px solid var(--yc-line); border-radius: 1.5rem; background: var(--yc-soft); }
.yc-kb-card { position: relative; height: 100%; padding: 1.5rem; border: 1px solid var(--yc-line); border-radius: 1.25rem; background: var(--bs-body-bg); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.yc-kb-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--bs-primary) 32%, var(--yc-line)); box-shadow: 0 22px 50px rgba(18,27,48,.08); }
.yc-kb-card-compact { padding: 1.3rem; }
.yc-kb-platform { color: var(--bs-primary); font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 800; }
.yc-kb-status { display: inline-flex; align-items: center; width: fit-content; padding: .26rem .5rem; border-radius: 999px; font-size: .69rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; background: var(--yc-soft); color: var(--yc-muted); }
.yc-kb-status.is-current { color: #18794e; background: rgba(24,121,78,.10); }
.yc-kb-status.is-needs-review { color: #9a6700; background: rgba(218,154,0,.13); }
.yc-kb-status.is-deprecated, .yc-kb-status.is-archived { color: #b42318; background: rgba(180,35,24,.1); }
.yc-kb-card-meta { display: flex; flex-wrap: wrap; gap: .7rem 1rem; color: var(--yc-muted); font-size: .76rem; }
.yc-kb-card-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.yc-kb-card-meta i { color: var(--bs-primary); }
.yc-kb-stat-panel { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 1.6rem; border: 1px solid var(--yc-line); border-radius: 1.3rem; background: color-mix(in srgb, var(--bs-body-bg) 90%, transparent); }
.yc-kb-stat-panel strong { font-size: 2.6rem; line-height: 1; letter-spacing: -.05em; }
.yc-kb-stat-panel span { margin-top: .45rem; color: var(--yc-muted); }
.yc-kb-topic-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .52rem .72rem; border: 1px solid var(--yc-line); border-radius: 999px; background: var(--bs-body-bg); color: var(--yc-muted); text-decoration: none; font-size: .78rem; font-weight: 700; }
.yc-kb-topic-pill:hover { color: var(--bs-primary); border-color: color-mix(in srgb, var(--bs-primary) 35%, var(--yc-line)); }
.yc-kb-topic-pill span { color: var(--bs-primary); }
.yc-kb-empty { padding: 4rem 1.5rem; border: 1px dashed var(--yc-line); border-radius: 1.4rem; text-align: center; }
.yc-kb-empty > i { display: inline-block; margin-bottom: 1rem; color: var(--bs-primary); font-size: 2rem; }
.yc-kb-article-title { max-width: 19ch; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1.03; letter-spacing: -.055em; font-weight: 750; }
.yc-kb-article-meta { display: grid; gap: 0; border: 1px solid var(--yc-line); border-radius: 1.25rem; overflow: hidden; background: color-mix(in srgb, var(--bs-body-bg) 91%, transparent); }
.yc-kb-article-meta > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem 1.1rem; border-bottom: 1px solid var(--yc-line); }
.yc-kb-article-meta > div:last-child { border-bottom: 0; }
.yc-kb-article-meta span:first-child { color: var(--yc-muted); font-size: .78rem; }
.yc-kb-article-meta strong { text-align: right; font-size: .84rem; }
.yc-kb-status-notice { padding: 1rem 0; border-bottom: 1px solid var(--yc-line); background: var(--yc-soft); color: var(--yc-muted); }
.yc-kb-status-notice i { color: var(--bs-primary); margin-top: .15rem; }
.yc-kb-status-notice.is-deprecated, .yc-kb-status-notice.is-archived { background: rgba(180,35,24,.06); }
.yc-kb-status-notice.is-deprecated i, .yc-kb-status-notice.is-archived i { color: #b42318; }
.yc-kb-article-section { padding-top: 5rem; }
.yc-kb-prose { max-width: 820px; font-size: 1.07rem; line-height: 1.85; color: var(--yc-muted); }
.yc-kb-prose h2 { margin-top: 3.2rem; margin-bottom: 1rem; color: var(--yc-ink); font-size: clamp(1.65rem,3vw,2.15rem); letter-spacing: -.03em; }
.yc-kb-prose h3 { margin-top: 2.2rem; margin-bottom: .8rem; color: var(--yc-ink); letter-spacing: -.02em; }
.yc-kb-prose pre { margin: 1.7rem 0; padding: 1.25rem; border-radius: 1rem; background: #101528; color: #f4f6ff; overflow-x: auto; }
.yc-kb-prose code:not(pre code) { padding: .14rem .35rem; border-radius: .35rem; background: var(--yc-soft); color: var(--yc-ink); font-size: .92em; }
.yc-kb-prose blockquote { margin: 1.75rem 0; padding: 1.2rem 1.3rem; border-left: 3px solid var(--bs-primary); border-radius: 0 .8rem .8rem 0; background: var(--yc-soft); }
.yc-kb-sidebar { position: sticky; top: 7rem; display: grid; gap: 1.3rem; }
.yc-kb-toc { padding: 1.25rem; border: 1px solid var(--yc-line); border-radius: 1.15rem; }
.yc-kb-toc li + li { margin-top: .65rem; }
.yc-kb-toc li.is-child { padding-left: .9rem; }
.yc-kb-toc a { color: var(--yc-muted); text-decoration: none; font-size: .85rem; line-height: 1.35; }
.yc-kb-toc a:hover { color: var(--bs-primary); }
.yc-kb-help-card { padding: 1.3rem; border-radius: 1.15rem; background: var(--yc-soft); border: 1px solid var(--yc-line); }
.yc-kb-byline { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--yc-line); }
.yc-kb-byline div { display: grid; gap: .25rem; }
.yc-kb-byline span { color: var(--yc-muted); font-size: .74rem; }
.yc-kb-byline strong { font-size: .82rem; }
.yc-kb-source-list { display: grid; gap: .75rem; }
.yc-kb-source-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--yc-line); border-radius: .95rem; background: var(--bs-body-bg); text-decoration: none; }
.yc-kb-source-list a div { display: grid; gap: .2rem; }
.yc-kb-source-list a span { color: var(--yc-muted); font-size: .78rem; }
.yc-kb-source-list a i { color: var(--bs-primary); }
.yc-kb-service-link { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--yc-line); border-radius: 1rem; background: var(--bs-body-bg); text-decoration: none; }
.yc-kb-service-link div { display: grid; gap: .25rem; }
.yc-kb-service-link span { color: var(--yc-muted); font-size: .78rem; line-height: 1.45; }
.yc-kb-service-link i { flex: 0 0 auto; color: var(--bs-primary); }

@media (max-width: 1199.98px) {
  .yc-kb-sidebar { position: static; }
}
@media (max-width: 991.98px) {
  .yc-kb-index-hero, .yc-kb-platform-hero, .yc-kb-article-hero { padding: 7rem 0 4rem; }
  .yc-kb-editorial-note { grid-template-columns: 1fr; }
  .yc-kb-byline { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 575.98px) {
  .yc-kb-topic-grid { grid-template-columns: 1fr; }
  .yc-kb-byline { grid-template-columns: 1fr; }
  .yc-kb-filter-row { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Blog V1 */
.yc-blog-index-hero,
.yc-blog-category-hero,
.yc-blog-article-hero {
  position: relative;
  overflow: hidden;
  padding: 8.5rem 0 5.5rem;
  background:
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--bs-primary) 14%, transparent), transparent 31%),
    linear-gradient(180deg, color-mix(in srgb, var(--bs-body-bg) 94%, var(--bs-primary) 6%), var(--bs-body-bg));
  border-bottom: 1px solid var(--yc-line);
}
.yc-blog-index-hero::after,
.yc-blog-category-hero::after,
.yc-blog-article-hero::after {
  content: "";
  position: absolute;
  right: -9rem;
  bottom: -14rem;
  width: 29rem;
  height: 29rem;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--bs-primary) 22%, transparent);
  box-shadow: 0 0 0 5rem color-mix(in srgb, var(--bs-primary) 3%, transparent), 0 0 0 10rem color-mix(in srgb, var(--bs-primary) 2%, transparent);
  pointer-events: none;
}
.yc-blog-purpose-note,
.yc-blog-context-card {
  position: relative;
  z-index: 1;
  padding: 1.45rem;
  border: 1px solid var(--yc-line);
  border-radius: 1.25rem;
  background: color-mix(in srgb, var(--bs-body-bg) 91%, transparent);
  box-shadow: 0 24px 60px rgba(18,27,48,.07);
  backdrop-filter: blur(12px);
}
.yc-blog-category-nav { display: flex; flex-wrap: wrap; gap: .55rem; position: relative; z-index: 2; }
.yc-blog-category-nav a { display: inline-flex; align-items: center; gap: .45rem; padding: .62rem .85rem; border: 1px solid var(--yc-line); border-radius: 999px; color: var(--yc-muted); background: color-mix(in srgb, var(--bs-body-bg) 91%, transparent); text-decoration: none; font-size: .83rem; font-weight: 700; }
.yc-blog-category-nav a:hover, .yc-blog-category-nav a.active { color: var(--bs-primary); border-color: color-mix(in srgb, var(--bs-primary) 35%, var(--yc-line)); background: var(--yc-primary-soft); }
.yc-blog-category-nav small { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .25rem; border-radius: 999px; background: var(--bs-body-bg); font-size: .68rem; }
.yc-blog-card { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 1.6rem; border: 1px solid var(--yc-line); border-radius: 1.35rem; background: var(--bs-body-bg); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.yc-blog-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--bs-primary) 32%, var(--yc-line)); box-shadow: 0 24px 55px rgba(18,27,48,.08); }
.yc-blog-card-featured { min-height: 25rem; padding: clamp(1.7rem,4vw,3rem); background: linear-gradient(135deg, color-mix(in srgb, var(--bs-body-bg) 94%, var(--bs-primary) 6%), var(--bs-body-bg)); }
.yc-blog-card-featured h3 { max-width: 24ch; letter-spacing: -.035em; }
.yc-blog-card-featured p { max-width: 62rem; font-size: 1.05rem; }
.yc-blog-category { display: inline-flex; width: fit-content; padding: .35rem .58rem; border-radius: 999px; color: var(--bs-primary); background: var(--yc-primary-soft); text-decoration: none; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.yc-blog-platform, .yc-blog-topic { display: inline-flex; width: fit-content; padding: .35rem .55rem; border: 1px solid var(--yc-line); border-radius: 999px; color: var(--yc-muted); background: var(--bs-body-bg); font-size: .72rem; font-weight: 700; }
.yc-blog-card-meta { display: flex; flex-wrap: wrap; gap: .9rem; padding-top: 1rem; border-top: 1px solid var(--yc-line); color: var(--yc-muted); font-size: .78rem; }
.yc-blog-editorial-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--yc-line); border-radius: 1.5rem; background: var(--yc-line); }
.yc-blog-editorial-grid > div { padding: clamp(1.5rem,4vw,2.6rem); background: var(--bs-body-bg); }
.yc-blog-empty { max-width: 44rem; margin: 0 auto; padding: 3.5rem 2rem; border: 1px dashed var(--yc-line); border-radius: 1.35rem; text-align: center; }
.yc-blog-empty i { display: inline-block; margin-bottom: 1rem; color: var(--bs-primary); font-size: 2rem; }
.yc-blog-article-title { max-width: 19ch; font-size: clamp(2.6rem,5vw,5rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 760; }
.yc-blog-byline-inline { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; align-items: center; color: var(--yc-muted); font-size: .84rem; }
.yc-blog-byline-inline strong { color: var(--yc-ink); }
.yc-blog-article-section { padding-top: 5rem; }
.yc-blog-prose { max-width: 820px; font-size: 1.09rem; line-height: 1.88; color: var(--yc-muted); }
.yc-blog-prose h2 { margin-top: 3.2rem; margin-bottom: 1rem; color: var(--yc-ink); font-size: clamp(1.7rem,3vw,2.25rem); letter-spacing: -.035em; }
.yc-blog-prose h3 { margin-top: 2.25rem; margin-bottom: .8rem; color: var(--yc-ink); letter-spacing: -.025em; }
.yc-blog-prose ul, .yc-blog-prose ol { padding-left: 1.25rem; }
.yc-blog-prose li + li { margin-top: .45rem; }
.yc-blog-prose blockquote { margin: 1.8rem 0; padding: 1.2rem 1.35rem; border-left: 3px solid var(--bs-primary); border-radius: 0 .85rem .85rem 0; background: var(--yc-soft); }
.yc-blog-prose pre { margin: 1.7rem 0; padding: 1.25rem; border-radius: 1rem; background: #101528; color: #f4f6ff; overflow-x: auto; }
.yc-blog-sidebar { position: sticky; top: 7rem; display: grid; gap: 1.25rem; }
.yc-blog-toc { padding: 1.25rem; border: 1px solid var(--yc-line); border-radius: 1.15rem; background: var(--bs-body-bg); }
.yc-blog-toc li + li { margin-top: .65rem; }
.yc-blog-toc li.is-child { padding-left: .9rem; }
.yc-blog-toc a { color: var(--yc-muted); text-decoration: none; font-size: .85rem; line-height: 1.35; }
.yc-blog-toc a:hover { color: var(--bs-primary); }
.yc-blog-service-box { padding: 1.3rem; border: 1px solid var(--yc-line); border-radius: 1.15rem; background: var(--yc-soft); }
.yc-blog-author-box { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--yc-line); }
.yc-blog-author-box div { display: grid; gap: .25rem; }
.yc-blog-author-box span { color: var(--yc-muted); font-size: .74rem; }
.yc-blog-author-box strong { font-size: .82rem; }
.yc-blog-cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: clamp(1.6rem,4vw,3rem); border: 1px solid var(--yc-line); border-radius: 1.5rem; background: linear-gradient(135deg, color-mix(in srgb, var(--bs-body-bg) 94%, var(--bs-primary) 6%), var(--bs-body-bg)); }
@media (max-width: 1199.98px) { .yc-blog-sidebar { position: static; } }
@media (max-width: 991.98px) {
  .yc-blog-index-hero, .yc-blog-category-hero, .yc-blog-article-hero { padding: 7rem 0 4rem; }
  .yc-blog-editorial-grid { grid-template-columns: 1fr; }
  .yc-blog-author-box { grid-template-columns: 1fr 1fr; }
  .yc-blog-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 575.98px) { .yc-blog-author-box { grid-template-columns: 1fr; } }

/* Contact / Lead Capture V1 */
.yc-contact-form .form-control,
.yc-contact-form .form-select {
  border-radius: 0.85rem;
}

.yc-contact-form textarea.form-control {
  min-height: 12rem;
}

.yc-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ---------- Contrast fixes (2026-09-12) ----------
   Aurora's global rules leak wrong colors into YCTheme surfaces:
   - h1-h6 { color: var(--bs-heading-color) } and strong { color: var(--bs-black) }
     override inherited panel text colors inside dark panels (.yc-cta, .yc-fit-panel,
     .yc-stack-core).
   - .fbs__net-navbar assumes a dark hero image behind it; YCTheme pages use light
     hero backgrounds, so its white brand/links are invisible.
   - .btn forces a solid primary background on every button variant, breaking
     .btn-outline-primary.
   The rules below restore readable contrast without touching the vendor files. */

/* Navbar over light hero backgrounds */
.fbs__net-navbar .navbar-brand { color: var(--yc-ink); }
.fbs__net-navbar .navbar-nav > li > .nav-link { color: var(--yc-ink); }
.fbs__net-navbar .navbar-nav > li > .nav-link:hover,
.fbs__net-navbar .navbar-nav > li > .nav-link:focus { color: var(--bs-primary); }
.fbs__net-navbar .navbar-nav > li > .nav-link.active { color: var(--bs-primary); }

/* Dark panels: headings, strong and paragraphs must stay white.
   !important is required: Aurora ships .lead { color: ... !important }. */
.yc-stack-core strong { color: #fff; }
.yc-cta h1, .yc-cta h2, .yc-cta h3, .yc-cta h4, .yc-cta h5, .yc-cta h6,
.yc-cta p, .yc-cta .lead, .yc-cta strong,
.yc-fit-panel h1, .yc-fit-panel h2, .yc-fit-panel h3, .yc-fit-panel h4, .yc-fit-panel h5, .yc-fit-panel h6,
.yc-fit-panel p, .yc-fit-panel .lead, .yc-fit-panel strong { color: #fff !important; }

/* Footer intro paragraph: .text-secondary resolves to Aurora's orange
   --bs-secondary (#ED671F, ~2.9:1 on the light footer); use the neutral muted tone. */
.footer .text-secondary { color: var(--yc-muted) !important; }

/* Restore Bootstrap outline semantics (Aurora's .btn forces a solid background
   and .footer a sets a muted color at higher specificity) */
.btn-outline-primary {
  color: var(--bs-primary) !important;
  background-color: transparent !important;
  border-color: var(--bs-primary) !important;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
  color: #fff !important;
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

/* ---------- TOC scrollspy + anchor offset (2026-09-13) ---------- */

/* Anchored headings must not hide behind the fixed navbar (70px) after
   clicking a TOC link. Applies to every in-page anchor jump site-wide. */
html { scroll-padding-top: 92px; }

/* Active state for article TOC scrollspy (blog + knowledge base) */
.yc-blog-toc a.active,
.yc-kb-toc a.active {
  color: var(--bs-primary);
  font-weight: 650;
}

/* ---------- text-secondary sweep (2026-09-13) ----------
   Aurora redefines --bs-secondary to orange #ED671F, so every Bootstrap
   .text-secondary utility site-wide (~25 usages: card intros, TOC titles,
   form hints, footer copy) rendered orange at ~2.9:1 contrast. YCTheme uses
   the class only for muted supporting text, so map it to the neutral tone. */
.text-secondary { color: var(--yc-muted) !important; }

/* ---------- KB index hero: single column (2026-09-13) ----------
   Previously a 5/12 + 7/12 two-column split squeezed the headline; the copy
   now spans full width with the search panel below it at a readable measure. */
.yc-kb-index-hero-copy { max-width: 760px; }
.yc-kb-index-hero-search { margin-top: 2.75rem; max-width: 860px; }
@media (max-width: 767.98px) {
  .yc-kb-index-hero-search { margin-top: 2rem; }
}

/* ---------- Hero brand logos (2026-09-13) ---------- */
.yc-stack-brand { height: 1.25em; width: auto; display: block; }

/* ---------- Brand SVG icons in service cards (2026-09-13) ---------- */
.yc-card-icon .yc-brand-icon,
.yc-service-card-icon .yc-brand-icon { height: 1.7rem; width: auto; display: block; }

/* ---------- Platform pages (2026-09-13) ---------- */
.yc-brand-icon-lg { height: 2.2rem; width: auto; display: block; }
