/* About 4sightly: the company page. Builds on tokens, base and components;
   everything here is specific to this page. */

/* Sections fade up as they scroll in (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

.a-section { margin-top: 76px; }

/* Hero: illustrative forecast list */
.forecasts { margin: 40px 0 0; padding: 18px 20px 16px; }
.forecast-list { margin: 4px 0 0; padding: 0; list-style: none; }
.forecast-list li { position: relative; display: grid; grid-template-columns: 76px 1fr auto; align-items: baseline; gap: 12px; padding: 14px 0 15px; border-bottom: 1px solid var(--border); }
.forecast-list li::after { content: ''; position: absolute; left: 0; bottom: -1px; width: var(--p); height: 1px; background: rgba(157, 183, 185, .5); }
.forecast-list li:first-child, .forecast-list li:last-child { opacity: .42; }
.forecast-list li:nth-child(2), .forecast-list li:nth-child(4) { opacity: .74; }
.fl-id { font: 500 .64rem var(--mono); letter-spacing: .1em; color: var(--muted); }
.fl-title { font: 400 1.02rem/1.3 var(--serif); color: var(--fg-2); }
.fl-pct { font: 400 1.02rem var(--serif); color: var(--muted); font-variant-numeric: tabular-nums; }
.forecast-list .is-focus .fl-id, .forecast-list .is-focus .fl-pct { color: var(--butter); }
.forecast-list .is-focus .fl-title { color: var(--fg); }
.forecast-list .is-focus::after { height: 2px; background: var(--butter); }
.forecasts-foot { margin: 14px 0 0; font: 400 .62rem var(--mono); letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--muted); }

/* The game, in miniature */
.try-twin { display: grid; gap: 24px; align-items: center; padding: 28px 22px; }
.try-twin .lede { margin: 0 0 24px; }
#try-chamber { width: 100%; max-width: 440px; justify-self: center; }

@media (min-width: 640px) {
  .a-section { margin-top: 96px; }
}
@media (min-width: 960px) {
  .forecasts { margin: 0; }
  .try-twin { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 44px 48px; }
}
