/* The AJH standard page. Built on the tokens in site.css. */
.why-after { margin-top: 24px; }

/* Payment stages: a real sequence, drawn as three steps along one rule */
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--slate-900); }
.stages > li { position: relative; padding: 28px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.stages > li + li { padding-left: 28px; border-left: 1px solid var(--slate-300); }
.stages > li::before { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--accent); }
.stages > li + li::before { left: 28px; }
.stages__when { font-size: .92rem; font-weight: 600; color: var(--accent-deep); }
.stages + .note { margin-top: 32px; }

/* Project management: statement left, detail right */
.why-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why-cols__lead { display: grid; gap: 20px; }
.why-cols__lead h2 { position: relative; padding-top: 22px; margin-bottom: 8px; }
.why-cols__lead h2::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 2px; background: var(--accent); }

/* Guarantee cover */
.cover { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.22); }
.cover__col { padding: 32px 32px 0 0; display: grid; gap: 16px; align-content: start; }
.cover__col + .cover__col { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.22); }
.cover__col--notes h3:not(:first-child) { margin-top: 12px; }
.cover__not { display: grid; gap: 8px; margin-top: 4px; font-size: .97rem; }
.cover__not li { position: relative; padding-left: 26px; }
.cover__not li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 12px; height: 2px; background: #9FB3A7; }

@media (max-width: 980px) {
  .cover { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover__col--notes { grid-column: 1 / -1; padding-left: 0 !important; border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.22); margin-top: 32px; }
}
@media (max-width: 900px) {
  .why-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .stages { grid-template-columns: minmax(0, 1fr); }
  .stages > li, .stages > li + li { padding: 24px 0; border-left: 0; }
  .stages > li + li { border-top: 1px solid var(--slate-300); }
  .stages > li + li::before { left: 0; top: -1px; }
}
@media (max-width: 640px) {
  .cover { grid-template-columns: minmax(0, 1fr); }
  .cover__col, .cover__col + .cover__col { padding: 28px 0 0; border-left: 0; }
  .cover__col + .cover__col { border-top: 1px solid rgba(255,255,255,.22); margin-top: 28px; }
}
