/* /pro-trial (public/pro-trial.php): Try Pro free for 7 days.
   Built on site.css's colours and type and on the walk and device pages' classes (walks.css, devices.css); nothing here changes another page. */

/* The price that follows the free week, in the first screenful: one calm line under the lede, in the paper-and-pine of the cards. */
.trial-price { margin: 4px 0 0; padding: 12px 16px; max-width: 62ch; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--pine); border-radius: 10px; font-size: clamp(17px, 2vw, 19px); line-height: 1.45; color: var(--ink); }
.trial-price strong { font-weight: 700; }
.trial-fine { margin: 2px 0 0; max-width: 62ch; font-size: 14.5px; color: var(--muted); }
.trial-page .walk-head .device-actions { margin: 6px 0 0; }

/* The three steps: numbered cards, as on /garmin. */
.trial-how { padding-top: 6px; }
.trial-steps { list-style: none; counter-reset: step; margin: 10px 0 0; padding: 0; display: grid; gap: 14px; max-width: 760px; }
.trial-steps > li { counter-increment: step; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 14px 64px; }
.trial-steps > li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--pine); color: #fff; font: 700 16px/32px var(--sans); text-align: center; }
.trial-steps h3 { margin: 2px 0 6px; font-size: 18px; }
.trial-steps p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.55; }

/* The cards: h3 titles (the sections above them are h2). */
.trial-page .device-card h3 { font-size: 21px; margin: 0; }
.trial-page .device-grid { padding-top: 6px; }
.trial-page .trial-end { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.trial-page .trial-end .device-intro { margin: 2px 0 0; }
.trial-page .device-summary { padding-top: 14px; }
.trial-page .device-summary h2 { margin-top: 26px; }

/* Wide screens: the three steps side by side, the number above each, all the same height (stretch). */
@media (min-width: 900px) {
  .trial-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; align-items: stretch; }
  .trial-steps > li { padding: 66px 20px 16px; }
  .trial-steps > li::before { left: 20px; top: 20px; }
}

@media (max-width: 480px) {
  .trial-steps > li { padding: 16px 14px 12px 54px; }
  .trial-steps > li::before { left: 12px; }
  .trial-price { padding: 10px 14px; }
}
