/* The landing pages (/for, /guides, /compare): the home page's design (home.css) plus the few parts it has no
   class for. Logical properties throughout, so Arabic (/ar/...) mirrors without extra rules. */

/* The home page shows one screen per section (system.css); these pages have shorter sections, so each one is
   as tall as its content and the page reads as one column, with no empty screen under a short FAQ. A section
   whose block fills the screen (.fill, like "How the stamp card works") keeps the home page's height. */
main.landing > :is(section, .section):not(.hero):not(:has(> .wrap > .fill)) { height: auto; min-height: 0; }
main.landing > :is(section, .section):not(.hero):not(:has(> .wrap > .fill)) > .wrap { height: auto; }

/* A hero with only words (the guide, the comparisons): as tall as its words, not the whole first screen. */
main > .hero.hero--text { height: auto; min-height: 0; padding-bottom: var(--s-8); }
.hero--text .hero-text { height: auto; }

/* Three points in a row on wide screens (the home page's .feats has two). */
.feats--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .feats--three { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); } }

/* The guide's numbered steps. */
.lsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); max-width: 760px; }
.lsteps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.lsteps h3 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
html[lang="ar"] .lsteps h3 { letter-spacing: 0; }
.lsteps p { color: color-mix(in oklab, var(--ink) 82%, var(--bg)); margin-top: var(--s-1); }

/* The comparison table: the owner app's table (app.css .dtable), sized for reading. */
.table-wrap { overflow-x: auto; }
.dtable.ltable { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.ltable th, .ltable td { text-align: start; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.ltable thead th { font-size: 14px; font-weight: 500; color: var(--muted); border-bottom-color: var(--line-strong); white-space: nowrap; }
.ltable tbody th { font-weight: 500; width: 26%; }
.ltable td:last-child { font-weight: 500; }
.ltable tr:last-child th, .ltable tr:last-child td { border-bottom: 0; }
.lnote { color: var(--muted); margin-top: var(--s-4); max-width: 72ch; }

/* Links to the other landing pages. */
.lmore { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); font-size: 17px; }
