/* Home page proposal P2, Problem first (content/en/home-p2.html). Only what showcase.css and
   site.css do not already give: the stages heading, the nine flip tiles, the delivery path and the
   two-button close. No braces in comments (build_site.py counts them). */

.p2-stages { padding-block: clamp(56px, 8vw, 120px); }
.p2-stages-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 40rem; }
.p2-stages-head h2 { margin: 0; font-size: var(--t2, clamp(32px, 4.4vw, 56px)); letter-spacing: -.03em; line-height: 1.05; }

.p2-flips {
  display: grid; gap: clamp(16px, 2vw, 24px);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .p2-flips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .p2-flips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.p2-flips andy-flip-tile { min-width: 0; }
.p2-center { text-align: center; margin-inline: auto; max-width: none; }

/* The path under the text reveal: the six moments a sale passes through, each with its stage. */
.p2-path {
  list-style: none; margin: clamp(24px, 4vw, 48px) auto 0; padding: 0; max-width: 64rem;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-tile, 22px); overflow: hidden;
}
.p2-path li { display: grid; gap: 6px; padding: 22px 18px; background: var(--paper); min-width: 0; }
.p2-step { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.p2-path a { font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.p2-path a:hover, .p2-path a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .p2-path { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .p2-path { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.p2 .sc-split andy-art { width: min(100%, 460px); justify-self: center; }

.p2-close-h { margin: 0; font-size: clamp(26px, 4vw, 44px); line-height: 1.05; letter-spacing: -.03em; }
.p2-close-p { margin: 12px 0 0; max-width: 46ch; color: var(--ink-2); }
.p2-close-a { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 0; }
.p2-close-art { display: block; width: clamp(110px, 18vw, 190px); }
.p2 .p2-close-p { margin-top: 16px; }
