/* Alternative pages (/alternatives/, /en/alternatives/). Layout builds on /scenarios/sc.css;
   colours, type and radii come from /css/rp.css. Nothing here adds a token of its own. */

.al-hero { width: var(--sc-w); margin: 0 auto; padding: 56px 0 8px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: center; }
.al-hero.solo { grid-template-columns: minmax(0, 1fr); }
.al-hero h1 { max-width: 15em; margin: 0; font: 700 clamp(34px, 4.2vw, 52px)/1.22 var(--rp-serif); letter-spacing: -.03em; text-wrap: balance; }
.al-hero .sc-lede { margin-top: 24px; }
.al-hero .sc-get { margin-top: 32px; }
.al-hero .sc-shot { margin: 0; }

.al-checked { margin: 18px 0 0; font-size: 14px; line-height: 1.7; color: var(--rp-ink-3); }

.al-table { width: 100%; margin: 40px 0 0; border-collapse: collapse; font-size: 15px; line-height: 1.75; }
.al-table th, .al-table td { padding: 18px 20px 18px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rp-line); }
.al-table thead th { padding-top: 0; font: 600 14px/1.6 var(--rp-sans); color: var(--rp-ink-3); letter-spacing: .02em; border-bottom-color: var(--rp-line-strong); }
.al-table tbody th { width: 16%; font-weight: 600; color: var(--rp-ink); }
.al-table td { width: 42%; color: var(--rp-ink-2); }
.al-table td.al-us { color: var(--rp-ink); }

.al-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; }
.al-fit section { padding: 28px; border: 1px solid var(--rp-line); border-radius: 14px; background: var(--rp-sheet); }
.al-fit h3 { margin: 0; font: 700 clamp(20px, 2vw, 24px)/1.4 var(--rp-serif); letter-spacing: -.02em; }
.al-fit ul { margin: 16px 0 0; padding-left: 1.2em; font-size: 16px; line-height: 1.85; color: var(--rp-ink-2); }
.al-fit li + li { margin-top: 10px; }

.al-sources { margin: 20px 0 0; padding-left: 1.2em; font-size: 15px; line-height: 1.9; color: var(--rp-ink-2); }
.al-sources a { overflow-wrap: anywhere; }

.al-faq { max-width: 46em; margin: 32px 0 0; }
.al-faq dt { margin: 28px 0 0; font-size: 17px; font-weight: 600; line-height: 1.6; }
.al-faq dt:first-child { margin-top: 0; }
.al-faq dd { margin: 8px 0 0; font-size: 16px; line-height: 1.9; color: var(--rp-ink-2); }

@media (max-width: 980px) {
  .al-hero { grid-template-columns: 1fr; gap: 40px; }
  .al-hero .sc-shot { max-width: 260px; }
  .al-fit { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .al-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .al-table, .al-table tbody, .al-table tr, .al-table th, .al-table td { display: block; width: auto; }
  .al-table tr { padding: 20px 0; border-bottom: 1px solid var(--rp-line); }
  .al-table th, .al-table td { padding: 0; border: 0; }
  .al-table tbody th { width: auto; font-size: 16px; }
  .al-table td { margin-top: 10px; }
  .al-table td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 600; color: var(--rp-ink-3); }
}
@media (max-width: 620px) {
  .al-hero { padding-top: 36px; }
  .al-fit section { padding: 22px 20px; }
}

.al-store { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border: 1px solid var(--rp-line-strong); border-radius: 12px; color: var(--rp-ink); text-decoration: none; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .al-store:hover { color: var(--rp-accent-ink); border-color: var(--rp-accent); } }
