/* Picture First: one illustrated step at a time (iOS style). */
.pf-copy p + p { margin-top: 12px; }
.pf main { width: min(1040px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 88px 0 48px; }
.pf .site-header { gap: 8px; }
.pf .brand { flex: 1; }
.pf-back { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; padding: 0 12px 0 6px; border-radius: 999px; text-decoration: none;
  color: var(--tint); font-size: 15px; font-weight: 500; flex: none; }
.pf-back .i { width: 20px; height: 20px; stroke-width: 2.4; }
.pf-back:active { background: var(--fill); }
.pf .lang-btn { display: inline-grid; place-items: center; text-decoration: none; }
.pf-loading { text-align: center; padding: 160px 16px; color: var(--label-2); }
.pf-hero { display: grid; justify-items: start; gap: 12px; margin: 0 0 22px; }
.pf-hero h1 { font-size: 32px; font-weight: var(--display-weight); letter-spacing: -.03em; line-height: 1.1; }
:lang(si) .pf-hero h1, :lang(ta) .pf-hero h1 { font-size: 25px; line-height: 1.32; letter-spacing: 0; }
.pf-hero .hero-lead { font-size: 17px; }
.pf-switch { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 2px; border-radius: 10px; background: var(--fill); margin-top: 6px; width: min(100%, 360px); }
.pf-switch > * { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--label); }
.pf-switch .i { width: 18px; height: 18px; }
.pf-switch .is-selected { background: #fff; font-weight: 650; box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 3px 1px rgba(0,0,0,.04); }
.pf-identity { border-radius: var(--r-group); padding: 14px 16px; margin: 0 0 18px; }
.pf-identity h2 { font-size: 20px; font-weight: 700; }
.pf-identity p { color: var(--label-2); font-size: 15px; }
.pf-journey { position: relative; display: grid; gap: 14px; }
.pf-line { display: none; }
.pf-stage { display: grid; gap: 4px; padding: 6px; border-radius: var(--r-card); }
.pf-art { border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 2; background: radial-gradient(circle at 30% 20%, #fff, rgba(143,220,184,.4)); }
.pf-art img { width: 100%; height: 100%; object-fit: cover; }
.pf-copy { padding: 10px 12px 12px; display: grid; gap: 4px; }
.pf-num { font-family: var(--font-round); font-weight: 700; font-size: 13px; color: var(--tint); font-variant-numeric: tabular-nums; }
.pf-copy h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.pf-copy p { color: var(--label-2); font-size: 16px; }
.pf-note { display: flex; gap: 10px; align-items: flex-start; border-radius: var(--r-group); padding: 14px 16px; margin-top: 18px; color: var(--label-2); font-size: 15px; }
.pf-note .i { color: var(--tint); margin-top: 2px; }
@media (max-width: 520px) { .pf-back span { display: none; } }
@media (min-width: 800px) {
  .pf main { padding-top: 120px; }
  .pf-hero { justify-items: center; text-align: center; max-width: 720px; margin: 0 auto 28px; }
  .pf-hero h1 { font-size: 48px; }
  :lang(si) .pf-hero h1, :lang(ta) .pf-hero h1 { font-size: 34px; }
  .pf-identity { text-align: center; width: fit-content; max-width: 100%; margin: 0 auto 32px; border-radius: 999px; padding: 12px 28px; }
  .pf-journey { gap: 22px; }
  .pf-line { display: block; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); border-radius: 999px;
    background: linear-gradient(180deg, rgba(54,185,182,0), rgba(54,185,182,.5) 8%, rgba(15,127,137,.45) 92%, rgba(15,127,137,0)); }
  .pf-stage { grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 10px; border-radius: 32px; }
  .pf-stage:nth-child(odd) .pf-art { order: 2; }
  .pf-copy { padding: 10px 18px; gap: 8px; }
  .pf-copy h3 { font-size: 26px; }
  .pf-copy p { font-size: 17px; }
}

/* Steps without a dedicated illustration: Settings-style colour tile + text. */
.pf-stage-tile { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; padding: 16px; }
.pf-stage-tile .pf-copy { padding: 0; }
.pf-tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: #fff; font-family: var(--font-round); font-weight: 800; font-size: 19px;
  box-shadow: inset 0 .5px 0 rgba(255,255,255,.5), 0 6px 14px -6px rgba(8,40,48,.45); }
.tile-0 { background: linear-gradient(180deg, #1fa7b0, #0c727b); }
.tile-1 { background: linear-gradient(180deg, #ffad42, #e07f06); }
.tile-2 { background: linear-gradient(180deg, #5d9cf0, #2a6fd0); }
.tile-3 { background: linear-gradient(180deg, #8f84f0, #5b5fd6); }
.tile-4 { background: linear-gradient(180deg, #4fcf8c, #2a9663); }
.tile-5 { background: linear-gradient(180deg, #f07a9a, #d6466e); }
@media (min-width: 800px) {
  .pf-stage-tile { grid-template-columns: auto minmax(0, 1fr); padding: 24px 28px; gap: 22px; width: min(100%, 760px); justify-self: center; }
  .pf-stage-tile .pf-copy { padding: 0; }
  .pf-tile { width: 64px; height: 64px; border-radius: 18px; font-size: 22px; }
}
@media (max-width: 799px) {
  .pf-stage-tile { gap: 10px 12px; align-items: center; }
  .pf-stage-tile .pf-copy { display: contents; }
  .pf-stage-tile .pf-copy p { grid-column: 1 / -1; }
  .pf-tile { width: 40px; height: 40px; border-radius: 11px; font-size: 16px; }
}
