/* /how-it-works: the five steps, trip statuses, the three price terms, who is responsible, About Melion and support.
   Each section is one cloud plate (atlas-sheet atlas-split) from /atlas/atlas.css. */

@media (max-width: 479px) and (not (display-mode: standalone)) {
  html:not([data-app="installed"]) .how-page .atlas-page-head .atlas-h1 { font-size: clamp(2.125rem, 9.5vw, 2.5rem); }
}

.how-journey { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 1px solid var(--atlas-rule); }
.how-journey li { counter-increment: step; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 14px; row-gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--atlas-rule); }
.how-journey li::before { content: counter(step); grid-row: span 3; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--atlas-zenith); color: #fff; font: 650 1rem/1 var(--atlas-num); }
.how-journey h3 { margin: 0; font: 650 1.3125rem/1.3 var(--atlas-display); }
.how-journey p { margin: 0; color: var(--atlas-ink-2); max-width: 64ch; }
.how-journey .how-who { font: 600 0.9375rem/1.3 var(--atlas-text); color: var(--atlas-sun-ink); }

.how-status { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.how-status li { display: grid; gap: 4px; padding: 14px 16px; background: var(--atlas-white); border: 1px solid var(--atlas-rule); border-radius: var(--atlas-radius); }
.how-status b { font: 650 1.0625rem/1.3 var(--atlas-text); color: var(--atlas-zenith); }
.how-status span { color: var(--atlas-ink-2); font-size: 1rem; }
@media (max-width: 899px) { .how-status { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 499px) { .how-status { grid-template-columns: 1fr; } }

.how-prices { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--atlas-rule); }
.how-prices div { display: grid; grid-template-columns: minmax(12rem, 0.4fr) 1fr; gap: 8px 28px; padding: 18px 0; border-bottom: 1px solid var(--atlas-rule); }
.how-prices dt { font: 650 1.1875rem/1.3 var(--atlas-display); color: var(--atlas-ink); }
.how-prices dd { margin: 0; color: var(--atlas-ink-2); }
@media (max-width: 699px) { .how-prices div { grid-template-columns: 1fr; } }

.how-about, .how-support { display: grid; gap: 18px; justify-items: start; }
.how-about p, .how-support p { margin: 0; color: var(--atlas-ink-2); max-width: 64ch; }
.how-journey p:not(.how-who), .how-prices dd, .how-about p, .how-support p { text-wrap: pretty; }
.how-page .atlas-ruled .atlas-link { min-height: 44px; }
