/* Chairday — landing pages and guides (/for/*, /guides/*, /pricing). Loaded after home.css,
   which gives the header, footer, buttons, price card and questions; this file only adds the
   article layout. Colours, type and radii come from the shared tokens: no hex values here. */
.page-hero { padding-block: clamp(36px, 6vw, 72px) clamp(28px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 54px); max-width: 22ch; }
.page-hero .lede { max-width: var(--measure); }
.page-hero .fine { margin-top: 12px; }
.kicker { margin-bottom: 14px; font-size: 14px; font-weight: 650; letter-spacing: .02em; color: var(--brand); }

/* /for pages: the article on the left, a still of the booking page on the right that stays in
   view while reading. On narrower screens the still sits between the intro and the article. */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.page-layout .page-hero { padding-bottom: 0; }
.page-shot { margin: clamp(36px, 6vw, 72px) 0 0; }
.page-shot figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; text-wrap: pretty; }
@media (min-height: 780px) { .page-shot { position: sticky; top: 92px; } }
@media (max-width: 1000px) {
  .page-layout { display: flex; flex-direction: column; gap: 0; }
  .page-main { display: contents; }
  .page-layout .page-hero { order: 1; }
  .page-shot { order: 2; width: 100%; max-width: 420px; margin-top: 32px; position: static; }
  .page-layout .prose { order: 3; }
  /* A card, not a drawn phone, cropped to the top of the screen. */
  .page-shot .phone { aspect-ratio: auto; height: 440px; padding: 0; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
  .page-shot .phone-view { border-radius: var(--r-lg); }
  .page-shot figcaption { text-align: left; }
}

.prose { padding-block: clamp(32px, 5vw, 64px) 8px; }
.prose > * { max-width: 760px; }
.prose h2 { margin: 44px 0 14px; font-size: clamp(24px, 2.6vw, 30px); }
.prose > h2:first-child, .prose > .note:first-child + h2 { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin: 0 0 14px; max-width: var(--measure); }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 10px; max-width: var(--measure); }
.prose li strong, .prose p strong { color: var(--ink); }
.prose a { color: var(--brand); text-underline-offset: 3px; }
.prose em { font-style: normal; color: var(--brand); }
.note { padding: 14px 18px; border-left: 4px solid var(--brass); border-radius: var(--r-sm); background: var(--mist); color: var(--ink) !important; }

/* Numbered steps (set-up guide) */
.steps { list-style: none; padding: 0 !important; counter-reset: step; }
.steps > li { position: relative; margin: 0 0 32px; padding-left: 56px; counter-increment: step; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-deep); font: 700 18px/1 var(--display); }
.steps h2 { margin: 4px 0 10px; font-size: clamp(21px, 2.2vw, 25px); }

/* Copyable template */
.template { margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; }
.template-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line-soft); background: var(--mist); font-size: 14px; font-weight: 650; }
.template pre { margin: 0; padding: 20px 18px; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 16px/1.6 var(--sans); color: var(--ink); }
.template-status { margin: 0 !important; padding: 0 18px; font-size: 14px; color: var(--muted) !important; }
.template-status:not(:empty) { padding-bottom: 14px; }

/* Read next */
.related { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.related h2 { margin: 0 0 12px; font-size: 20px; }
.related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.related a { font-weight: 600; text-decoration: none; }
.related a:hover { text-decoration: underline; }

/* Closing call to action */
.cta-band { background: var(--mist); padding-block: clamp(40px, 6vw, 72px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-row p { margin-top: 10px; color: var(--ink-2); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-actions .button-ghost { background: var(--surface); }
