/* kako-radimo.html (DESIGN.md "Kako radimo"): the steps on a tinted panel with
   large cobalt numerals, then one section per topic, heading at the left and
   text at the right, one column on a phone. */

.about-toc { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: -12px 0 32px; font-size: 14.5px; font-weight: 600; }
.about-toc a { text-decoration: none; }
.about-toc a:hover { text-decoration: underline; }

.about-band { margin-bottom: 56px; padding: 30px 32px 32px; border-radius: var(--r-l); background: var(--tint); }
.about-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.about-flow li { counter-increment: step; }
.about-flow li::before {
  content: counter(step); display: block; margin-bottom: 12px;
  font: 750 56px/.9 var(--font-display); letter-spacing: -.04em; color: var(--accent);
}
.about-flow h3 { margin-bottom: 8px; font-size: 21px; }
.about-flow p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* The sticky header is 72px tall: an anchor lands below it. */
.about-sec { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 16px 56px; align-items: start; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.about-head h2 { font-size: 26px; }
.about-head p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.about-text { max-width: 720px; font-size: 15.5px; line-height: 1.65; }
.about-text > * + * { margin-top: 14px; }
.about-text h3 { margin-top: 28px; font-size: 17px; }
.about-text h3:first-child { margin-top: 0; }
.about-text h3 + p, .about-text h3 + ul { margin-top: 6px; }
.about-text ul:not(.about-shops) { padding-left: 1.2em; list-style: disc; }
.about-text ul:not(.about-shops) li + li { margin-top: 8px; }
.about-note { font-size: 13.5px; color: var(--ink-3); }

.about-shops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.about-shops li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.about-shop { font-weight: 600; }

.about-facts { display: grid; margin: 0; }
.about-facts div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.about-facts dt { color: var(--ink-2); }
.about-facts dd { margin: 0; font-weight: 600; }

@media (max-width: 900px) {
  .about-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-sec { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .about-band { margin-left: -4px; margin-right: -4px; padding: 20px 16px; }
  .about-flow { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .about-flow li::before { font-size: 44px; }
  .about-head h2 { font-size: 22px; }
  .about-shops { grid-template-columns: minmax(0, 1fr); }
  .about-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
