/* Solution workflow copy follows the About principles layout. */
.about-principles.solution-workflow ol { grid-template-columns: minmax(0, 1fr); }
.solution-workflow li { padding-left: 28px; }
.solution-workflow h3 { position: relative; }
.solution-workflow-check { position: absolute; left: -28px; top: calc((1lh - 20px) / 2); width: 20px; height: 20px; color: var(--text-primary); }

.solution-workflow .about-principles-layout { border-block: 0; }

.solution-principles-heading { grid-column: 1 / span 6; }
.about-principles .solution-principles-heading > p { margin-top: 24px; max-width: 55ch; }

/* Keep intro body copy one column shorter than its six-column heading. */
@media (min-width: 801px) {
  .solution-principles-heading, .infrastructure-value-copy {
    display: grid;
    grid-template-columns: subgrid;
    row-gap: 0;
  }
  .solution-principles-heading > h2, .infrastructure-value-copy > h2 { grid-column: 1 / -1; }
  .about-principles .solution-principles-heading > p, .infrastructure-value-copy > p {
    grid-column: 1 / span 5;
    max-width: none;
  }
}

.solution-workflow h3 > a { color: inherit; text-decoration: none; transition: color var(--site-hover-transition); }
body:has(#prototype-main) .solution-workflow h3 > a[href]:hover { color: var(--text-secondary); text-decoration: none; }
@media (max-width: 800px) { .solution-principles-heading { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .solution-workflow h3 > a { transition: none; } }

/* Shorter solution pages retain their published copy in the shared layout. */
.solution-eyebrow { margin-bottom: 16px; }
.solution-hero-action { margin-top: 24px; }
.solution-regulatory-focus { display: grid; grid-template-columns: var(--landing-grid-columns); gap: 24px var(--landing-column-gap); }
.solution-regulatory-focus > p { grid-column: 1 / span 6; }
.solution-regulatory-focus > div { grid-column: 7 / -1; }
.solution-regulatory-focus > .infrastructure-frameworks-link { grid-column: 1 / -1; }
.solution-context .about-principles-layout { border-block: 0; padding-block: 0; }
.infrastructure-page + .prototype-closing-section { position: relative; margin-top: 64px; }
.infrastructure-page + .prototype-closing-section::before { content: ""; position: absolute; top: 0; inset-inline: var(--landing-gutter); border-top: 1px solid var(--border-default); }
@media (min-width: 1024px) and (max-width: 1279px) { .infrastructure-page .product-figma-lockup > .prototype-hero-copy { padding-top: 8px; } }
@media (max-width: 800px) {
  .solution-regulatory-focus > p, .solution-regulatory-focus > div { grid-column: 1 / -1; }
  .infrastructure-page + .prototype-closing-section { margin-top: 40px; }
}

/* Shared homepage and solutions metric alignment; page typography selections. */
.prototype-figma-home .figma-value > p { font-weight: var(--regel-type-label-weight); }
.figma-value li { align-items: center; column-gap: var(--regel-space-6); }
.prototype-figma-home .figma-value li,
.infrastructure-stats.figma-value li { align-items: start; }
.figma-value li > div { padding-top: 0; }
.figma-value li > .figma-metric-value { margin-top: 0; }
.figma-solution-card > p,
.solution-regulation-columns p {
  font-size: var(--regel-label-lg-size);
  line-height: var(--regel-label-lg-line);
  letter-spacing: var(--regel-label-lg-tracking);
  font-weight: var(--regel-type-label-weight);
}
.prototype-closing-section { max-width: var(--landing-content-width); margin-inline: auto; padding-inline: var(--landing-gutter); padding-block: 192px; }
#prototype-main:not(:has(.prototype-login)) > div:has(+ .prototype-closing-section) { padding-bottom: 0; }
#prototype-main:not(:has(.prototype-login)):has(> .prototype-closing-section) ~ .prototype-site-footer { margin-top: 0; }
.prototype-closing-section .figma-final { display: flex; flex-direction: column; align-items: center; margin-top: 0; }
.insight-metadata { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; }
/* Category and date share the article metadata scale, with colour separating them. */
:root :is(.insight-category, .report-category-link) {
  color: var(--text-secondary);
  font-size: var(--regel-label-sm-size);
  line-height: var(--regel-label-sm-line);
  letter-spacing: var(--regel-label-sm-tracking);
  font-weight: var(--regel-type-label-weight);
  text-decoration: none;
  transition: color var(--site-hover-transition);
}
:root :is(.insight-category, .report-category-link):is(:hover, :focus-visible) { color: var(--text-primary); }
:root :is(.insight-category, .report-category-link):focus-visible { outline: 2px solid var(--text-primary); outline-offset: 4px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { :is(.insight-category, .report-category-link) { transition: none; } }
.figma-news-card > a { display: block; }
.figma-news-card > a > :is(h2,h3) { margin-top: 8px; font-size: var(--regel-label-lg-size); line-height: var(--regel-label-lg-line); letter-spacing: var(--regel-label-lg-tracking); font-weight: var(--regel-type-label-weight); color: var(--text-primary); }
.insight-library-card { display: flex; flex-direction: column; }
.insight-library-card > .figma-news-card { display: contents; }
.insight-library-card .figma-news-media { order: 0; }
.insight-library-card .insight-metadata { order: 1; }
.insight-library-card h2 { order: 2; }
.insight-library-card .insights-external-link { order: 3; }
@media (max-width: 767px) { .prototype-closing-section { padding-block: 120px; } }
