/* Features page: tile-field hero and the screenshot tour with a sticky frame. Shared subpage components come from platform.css. */

.f-hero h1 { font-size: clamp(46px, 9vw, 124px); max-width: 13ch; }

/* Tour: chapters scroll on the left, the frame on the right stays in view and swaps its screenshot. */
.show { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(28px, 5vw, 72px); margin-top: 40px; }
.show-ch { min-height: 76svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; opacity: 0.28; transition: opacity 0.45s; }
.show-ch.on { opacity: 1; }
.show-n { font: 600 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.show-ch h3 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 640; }
.show-ch p { color: var(--muted); font-size: clamp(16px, 1.35vw, 18.5px); max-width: 440px; }
.ticks { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 8px; font-size: 15.5px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; align-items: baseline; }
.ticks li::before { content: "✓"; color: var(--ok); font-weight: 700; font-size: 13px; }
.show-inline { display: none; }

.show-stick { position: sticky; top: max(124px, calc(50svh - 300px)); align-self: start; height: fit-content; }
.show-frame { border-radius: 20px; border: 1px solid var(--line-strong); background: #0a0c0b; overflow: hidden; box-shadow: 0 60px 130px -60px rgba(24, 158, 255, 0.55); }
.show-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line); font: 500 12px var(--mono); color: var(--faint); }
.show-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(245, 243, 236, 0.18); }
.show-bar span { margin-left: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.show-bar b { margin-left: auto; font-weight: 600; color: var(--text); white-space: nowrap; }
.show-shots { position: relative; aspect-ratio: 1440 / 1000; background: #f4f6f9; }
.show-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.025); transition: opacity 0.5s, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.show-shots img.on { opacity: 1; transform: none; }

.tile-hi { background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.24), rgba(var(--accent-rgb), 0.03) 60%); border-color: rgba(var(--accent-rgb), 0.45); }
.card-k.ok { color: var(--ok); }
.card-k.warn { color: var(--warn); }

@media (max-width: 900px) {
  .show { grid-template-columns: 1fr; margin-top: 24px; }
  .show-stick { display: none; }
  .show-ch { min-height: 0; opacity: 1; padding-block: 34px; border-top: 1px solid var(--line); }
  .show-inline { display: block; width: 100%; height: auto; margin-top: 10px; border-radius: 14px; border: 1px solid var(--line-strong); }
}
@media (prefers-reduced-motion: reduce) {
  .show-ch, .show-shots img { transition: none; transform: none; }
}

/* Roadmap list: numbered stages with their state. */
#road-thesis { font-size: 19px; color: var(--text); font-weight: 500; }
.road { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 10px; }
.road-item { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(245, 243, 236, 0.025); }
.road-n { font: 600 13px var(--mono); color: var(--muted); letter-spacing: 0.1em; }
.road-item h3 { margin: 0 0 6px; font-size: 18px; }
.road-item h3 a { color: inherit; text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 4px; }
.road-item p { margin: 0; color: var(--muted); line-height: 1.55; }
.road-state { font: 600 12px var(--mono); letter-spacing: 0.06em; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.road-item.is-building .road-state { color: var(--warn); border-color: currentColor; }
.road-item.is-local .road-state, .road-item.is-hosted .road-state { color: var(--ok); border-color: currentColor; }
.road-item.is-local, .road-item.is-hosted { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.road-more { margin-top: 28px; }
@media (max-width: 700px) {
  .road-item { grid-template-columns: 34px minmax(0, 1fr); }
  .road-state { grid-column: 2; justify-self: start; }
}
