/* Kestivo content-page brand refresh, September 2026.
   Extends /styles.css without changing the global or legal-page styling. */

:root {
  --kestivo-cyan: #38d4df;
  --kestivo-green: #65dc8a;
  --kestivo-yellow: #f1d35f;
  --kestivo-orange: #ff8b3d;
  --warm: var(--kestivo-yellow);
}

/* Keep the current dark Kestivo language, but use the full palette as quiet semantic accents. */
.hero-visual {
  border-color: rgba(56, 212, 223, .22);
}

.summary-box {
  border-left: 3px solid var(--kestivo-cyan);
}

.status-box {
  border-left: 3px solid var(--kestivo-green);
}

.warning-box {
  border-left: 3px solid var(--kestivo-yellow);
}

.principle-box {
  border-left: 3px solid var(--kestivo-orange);
  border-color: rgba(255, 139, 61, .28);
}

.principle-box strong {
  color: var(--kestivo-orange);
}

/* Planning workflows quietly reuse the Plan, Actual, Next, Approve visual language. */
.workflow li:nth-child(4n + 1)::before {
  color: var(--kestivo-cyan);
  background: rgba(56, 212, 223, .12);
}
.workflow li:nth-child(4n + 2)::before {
  color: var(--kestivo-green);
  background: rgba(101, 220, 138, .11);
}
.workflow li:nth-child(4n + 3)::before {
  color: var(--kestivo-yellow);
  background: rgba(241, 211, 95, .11);
}
.workflow li:nth-child(4n + 4)::before {
  color: var(--kestivo-orange);
  background: rgba(255, 139, 61, .12);
}

/* Guide index cards gain distinct accents without changing the component layout. */
.guides-grid .guide-card:nth-child(1) {
  border-top: 2px solid rgba(56, 212, 223, .72);
}
.guides-grid .guide-card:nth-child(2) {
  border-top: 2px solid rgba(101, 220, 138, .72);
}
.guides-grid .guide-card:nth-child(3) {
  border-top: 2px solid rgba(241, 211, 95, .72);
}
.guides-grid .guide-card:nth-child(1) .guide-card-link { color: var(--kestivo-cyan); }
.guides-grid .guide-card:nth-child(2) .guide-card-link { color: var(--kestivo-green); }
.guides-grid .guide-card:nth-child(3) .guide-card-link { color: var(--kestivo-yellow); }

/* Beta CTA carries the four-color signature used on the refreshed homepage. */
.article-cta .cta-card,
.guides-section .cta-card {
  position: relative;
}
.article-cta .cta-card::before,
.guides-section .cta-card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    var(--kestivo-cyan),
    var(--kestivo-green),
    var(--kestivo-yellow),
    var(--kestivo-orange));
  opacity: .72;
}

/* A live beta status should read as positive evidence, not warning copy. */
.beta-live-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(101, 220, 138, .24);
  border-radius: 999px;
  background: rgba(101, 220, 138, .08);
  color: var(--kestivo-green);
  font-size: .73rem;
  font-weight: 820;
}
.beta-live-note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kestivo-green);
  box-shadow: 0 0 16px rgba(101, 220, 138, .58);
}

@media(max-width:760px) {
  .article-cta .cta-card::before,
  .guides-section .cta-card::before {
    left: 16px;
    right: 16px;
  }
}
