/* /ysaas/ detail page. Reuses .section, .wrap, .eyebrow, .btn from site.css
   and every colour/font-size token from tokens.css - no literal hex here. */

/* Dot-eyebrow (section-level labels with a leading accent dot). The dot's
   colour carries the "tone" distinction for the monthly-feature examples;
   text stays --ink-700 so small mono labels keep 4.5:1 contrast on paper
   backgrounds (--positive-600/--accent-600 read ~3.2:1 at this weight and
   size, which fails AA for text - fine as a decorative dot only). */
.eyebrow--dot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-600);
  display: inline-block;
  flex-shrink: 0;
}
.eyebrow-dot--positive { background: var(--positive-600); }
.eyebrow-dot--accent { background: var(--accent-600); }

/* Intro */
.ysaas-intro__heading {
  font: 700 var(--fs-h1-sub) / 1.06 var(--font-sans);
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 880px;
}
.ysaas-intro__lede {
  font-size: var(--fs-lede);
  line-height: 1.65;
  color: var(--ink-700);
  max-width: 660px;
  margin: 28px 0 0;
}

/* Pillars: 320px label column + content, one row per pillar */
.ysaas-pillar {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  padding-block: 48px;
  border-top: 1px solid var(--line-300);
}
.ysaas-pillar__eyebrow { margin: 0; }
.ysaas-pillar__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
}
.ysaas-pillar__title {
  font: 600 32px / 1.2 var(--font-sans);
  letter-spacing: -0.02em;
  margin: 0;
}
.ysaas-pillar__body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 0;
}

@media (max-width: 899px) {
  .ysaas-pillar {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* SLA heading */
.ysaas-sla__heading {
  font: 700 var(--fs-h2) / 1.11 var(--font-sans);
  letter-spacing: -0.035em;
  margin: 0 0 40px;
  max-width: 760px;
}

/* SLA figures: the three stat cards and the legal caption share one
   container on purpose - see task brief. aria-describedby ties the caption
   to the figures so assistive tech announces them together. */
.ysaas-sla__figures { margin: 0; }
.ysaas-sla__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ysaas-sla__caption {
  font: 500 14px var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--ink-700);
  margin: 20px 0 0;
}

.stat-card {
  background: var(--paper-50);
  border: 1px solid var(--line-300);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-card__figure {
  font: 600 var(--fs-price) var(--font-mono);
  letter-spacing: -0.02em;
  margin: 0;
}
.stat-card__caption {
  font-size: 15px;
  color: var(--ink-700);
  margin: 0;
}

@media (max-width: 899px) {
  .ysaas-sla__stats { grid-template-columns: 1fr; }
}

/* Shared three-across support blocks (SLA + monthly feature) */
.ysaas-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 72px;
}
.ysaas-blocks--bordered {
  border-top: 1px solid var(--line-300);
  padding-top: 48px;
}
.ysaas-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ysaas-block__eyebrow { margin: 0; }
.ysaas-block__title {
  font: 600 23px / 1.3 var(--font-sans);
  letter-spacing: -0.02em;
  margin: 0;
}
.ysaas-block__body {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-700);
  margin: 0;
}

@media (max-width: 899px) {
  .ysaas-blocks { grid-template-columns: 1fr; }
}

/* Monthly feature heading + examples */
.ysaas-feature__heading {
  font: 700 var(--fs-h2) / 1.11 var(--font-sans);
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 760px;
}
.ysaas-feature__lede {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-700);
  max-width: 680px;
  margin: 24px 0 0;
}

.ysaas-examples {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.example-card {
  border: 1px solid var(--line-300);
  border-radius: var(--radius-md);
  background: var(--paper-50);
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.example-card .eyebrow--dot { margin-bottom: 0; }
.example-card__body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-950);
  margin: 0;
}

.ysaas-feature__pull {
  font: 600 22px / 1.55 var(--font-sans);
  letter-spacing: -0.02em;
  color: var(--ink-950);
  max-width: 760px;
  margin: 48px 0 0;
}

@media (max-width: 899px) {
  .ysaas-examples { grid-template-columns: 1fr; }
}
