.calio-advanced-heading {
  position: relative;
}

.calio-advanced-heading.width-narrow {
  max-width: 640px;
}

.calio-advanced-heading.width-normal {
  max-width: 820px;
}

.calio-advanced-heading.width-wide {
  max-width: 1040px;
}

.calio-advanced-heading.panel-soft {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(-180deg, rgba(248, 250, 255, 0.96) 0%, rgba(239, 246, 255, 0.96) 100%);
}

.calio-advanced-heading.panel-outline {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(203, 213, 225, 0.75);
  background: rgba(255, 255, 255, 0.78);
}

.calio-advanced-heading-main {
  display: grid;
  gap: 18px;
}

.calio-advanced-heading.layout-split .calio-advanced-heading-main {
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
  align-items: end;
  gap: 28px;
}

.calio-advanced-heading-bg {
  position: absolute;
  inset: -24px 0 auto;
  font-size: clamp(40px, 8vw, 96px);
  line-height: .9;
  font-weight: 800;
  letter-spacing: -.04em;
  color: rgba(15, 23, 42, 0.08);
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.calio-advanced-heading-bar {
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #2563eb;
}

.calio-advanced-heading-subtitle {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #666;
  font-size: 12px;
}

.calio-advanced-heading.eyebrow-skin-badge .calio-advanced-heading-subtitle {
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf2ff;
}

.calio-advanced-heading.eyebrow-skin-line .calio-advanced-heading-subtitle::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: currentColor;
  opacity: .45;
}

.calio-advanced-heading-title {
  position: relative;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.calio-advanced-heading-divider {
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 16px;
  background: rgba(148, 163, 184, 0.45);
}

.calio-advanced-heading-link {
  color: inherit;
  text-decoration: none;
}

.calio-advanced-heading-link:hover .calio-advanced-heading-highlight {
  opacity: .86;
}

.calio-advanced-heading-prefix,
.calio-advanced-heading-suffix {
  opacity: .68;
}

.calio-advanced-heading-highlight {
  color: #2563eb;
}

.calio-advanced-heading-support {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-end;
}

.calio-advanced-heading-desc {
  position: relative;
  margin-top: 12px;
  color: #5b6578;
}

.calio-advanced-heading.layout-split .calio-advanced-heading-desc {
  margin-top: 0;
}

.calio-advanced-heading-meta-note {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
}

@media (max-width: 767px) {
  .calio-advanced-heading-bg {
    inset: -10px 0 auto;
    font-size: clamp(28px, 12vw, 56px);
  }

  .calio-advanced-heading.panel-soft,
  .calio-advanced-heading.panel-outline {
    padding: 18px;
    border-radius: 18px;
  }

  .calio-advanced-heading.width-narrow,
  .calio-advanced-heading.width-normal,
  .calio-advanced-heading.width-wide {
    max-width: none;
  }

  .calio-advanced-heading.layout-split .calio-advanced-heading-main {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.calio-advanced-heading.support-layout-inline .calio-advanced-heading-support {
  gap: 14px;
}

.calio-advanced-heading-support-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.calio-advanced-heading-support-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.calio-advanced-heading-support-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.calio-advanced-heading-support-link::after {
  content: "\2192";
  transition: transform .2s ease;
}

.calio-advanced-heading-support-link:hover::after {
  transform: translateX(-3px);
}

.calio-advanced-heading.support-layout-inline .calio-advanced-heading-support-top {
  justify-content: space-between;
}

.calio-advanced-heading.layout-split.support-layout-inline .calio-advanced-heading-support {
  align-items: flex-start;
}

.calio-advanced-heading-link,
.calio-advanced-heading-support-link {
  transition: color .2s ease, opacity .2s ease;
}

.calio-advanced-heading:focus-within .calio-advanced-heading-highlight,
.calio-advanced-heading:focus-within .calio-advanced-heading-support-link::after {
  opacity: .92;
}

.calio-advanced-heading-link:focus-visible,
.calio-advanced-heading-support-link:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.35);
  outline-offset: 4px;
  border-radius: 8px;
}

.calio-advanced-heading-support-link:focus-visible::after,
.calio-advanced-heading-support-link:hover::after {
  transform: translateX(-3px);
}

.calio-advanced-heading {
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.calio-advanced-heading.panel-outline,
.calio-advanced-heading.panel-soft {
  border: 1px solid transparent;
}

.calio-advanced-heading:hover {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.calio-advanced-heading:focus-within {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

