/* ==========================================================================
   Landing (index.html) — section layout on top of ui.css. Token-consuming only.
   ========================================================================== */

/* ---- hero (primitives live in ui.css; landing-only bits here) ----------- */
.hero { padding: 56px 0 40px; }
/* survey-plot corner marks on the hero instrument */
.hero-figure { position: relative; }
.hero-figure::before, .hero-figure::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--border2); pointer-events: none; }
.hero-figure::before { top: -5px; left: -5px; border-right: none; border-bottom: none; }
.hero-figure::after { bottom: -5px; right: -5px; border-left: none; border-top: none; }

/* ---- order rail + mobile strip ------------------------------------------ */
.order-rail { position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 50;
  display: none; flex-direction: column; gap: 16px; }
@media (min-width: 1240px) { .order-rail { display: flex; } }
.rail-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em; color: var(--text3); }
.rail-item.active { color: var(--grease-text); }
.rail-num::before { content: "§"; }
.rail-leader { display: block; height: 1px; width: 0; background: var(--grease); transition: width var(--mo-trace) linear; }
.rail-item.active .rail-leader { width: 22px; }
.order-strip { position: sticky; top: 64px; z-index: 40; background: var(--surface2);
  border-bottom: 1px solid var(--hairline); padding: 8px 20px; }
@media (min-width: 1240px) { .order-strip { display: none; } }
#order-strip-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text2); }

/* ---- how grid ----------------------------------------------------------- */
.how-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.how-ico { width: 28px; height: 28px; color: var(--accent2); margin-bottom: 14px; }
[data-theme="sw"] .how-ico { color: var(--text); }
.how-grid h3, .bento h3 { margin-bottom: 8px; }

/* ---- headliners --------------------------------------------------------- */
#features .headliner { margin-bottom: 22px; }
.headliner-media { min-height: 220px; display: flex; flex-direction: column; justify-content: center; }

/* ---- bento -------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .bento { grid-template-columns: 1fr 1fr; } }
.theme-demo-ctl { margin-top: 16px; }

/* ---- rail-more / sustain / teaser / download ---------------------------- */
.rail-more { margin-top: 20px; }
.rail-more a { color: var(--link); font-family: var(--font-mono); font-size: 14px; border-bottom: 1px solid var(--border2); }
.sustain-copy { font-size: var(--fs-3); line-height: 1.6; color: var(--text2); max-width: 60ch; margin-bottom: 22px; }
.pricing-teaser { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pricing-teaser h2 { margin: 10px 0; }
.pricing-teaser p { max-width: 52ch; }
.download-band { text-align: center; padding: 40px 24px; }
.download-band .hero-actions { justify-content: center; margin-top: 22px; }
.issue-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--text2); margin-top: 8px; }
