/* Elkhorn Growth: round 4 (ROUND4-NOTES.md). Loaded after round3.css on index.html. */

/* B. The Scope section is gone, so Plans is the last cream section: it now leaves with the curved edge too. */
#plans[data-theme="cream"] { border-radius: 50% 50% 50% 50% / 72px 72px 72px 72px; padding-bottom: 112px; }
@media (max-width: 960px) {
  #plans[data-theme="cream"] { border-radius: 50% 50% 50% 50% / 36px 36px 36px 36px; padding-bottom: 88px; }
}

/* D. How we start has five steps: five columns on desktop; the dashed track ends on the fifth node.
   (base.css had repeat(4); color.css sized the track for 4 columns with 3 x 14 px gaps.) */
@media (min-width: 961px) {
  .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .timeline-line { right: calc((100% - 56px) / 5 - 30px); }
  .timeline .t-step { padding: 24px 22px; }
}
/* E. Fine-tuning line under the reporting headline */
#reporting .fine-tune { margin-top: 12px; }

/* F. About page (about.html): three cards in a row on desktop. Card titles are h2 under the page h1, sized like card h3s. */
.about-page .about-grid { margin-top: 36px; }
.about-page .card-title { font: 500 1.25rem/1.25 var(--font-ui); letter-spacing: -.02em; margin: 0 0 10px; }
.about-page .card .pill { margin-top: 18px; }
@media (min-width: 961px) {
  .about-page .about-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* G. Scorecard bars: drawn full without motion; motion.js grows each one after its box draws. */
.dg-score .sc-bar { fill: currentColor; opacity: .75; }
/* G. Advertising standards: each card's tick pops in, one after another, after the cards rise (motion only). */
#compliance .card h3::before { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease; }
html.has-motion #compliance .ticks-wait .card h3::before { transform: scale(.3); opacity: 0; }
#compliance .ticks-in .card:nth-child(2) h3::before { transition-delay: .14s; }
#compliance .ticks-in .card:nth-child(3) h3::before { transition-delay: .28s; }
