/* info.css — shared styles for the /pages/info/ section (About + Roadmap).
   Relies on site-wide theme tokens (--primary-color, --text-main, --text-muted,
   --border-color, --bg-card, --bg-surface-2, --spacing-md) so it tracks the
   active light/dark theme automatically. */

/* ── Shared page shell ──────────────────────────────────────────────────── */
.info-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem var(--spacing-md, 1rem) 4rem;
}
.info-wrap h1 {
    font-size: 2rem;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.info-h1-icon { color: var(--primary-color); }
.info-lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 2rem;
}
.info-wrap h2 {
    font-size: 1.25rem;
    margin: 2.25rem 0 0.6rem;
}
.info-wrap p  { line-height: 1.65; margin: 0 0 1rem; }
.info-wrap ul { line-height: 1.65; margin: 0 0 1rem; padding-left: 1.25rem; }
.info-cta {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}
.info-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 2.5rem;
}

/* ── Roadmap ────────────────────────────────────────────────────────────── */
.rm-intro { margin-bottom: 1rem; }

/* Section divider heading ("Here today" / "Coming next") */
.rm-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2.75rem 0 1.75rem;
}
.rm-section h2 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
}
.rm-section::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--border-color);
}

/* One roadmap entry: headline above, screenshot below */
.rm-item { margin: 0 0 3rem; }
.rm-headline {
    font-size: 1.4rem;
    line-height: 1.25;
    margin: 0 0 0.4rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.rm-headline .rm-hicon {
    color: var(--primary-color);
    font-size: 0.9em;
    flex: 0 0 auto;
    width: 1.5em;
    text-align: center;
}
.rm-blurb {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 1rem;
    padding-left: calc(1.5em + 0.6rem); /* align under the headline text */
    max-width: 72ch;
}

/* Screenshot frame */
.rm-shot {
    display: block;
    margin: 0;
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.rm-shot:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
}
.rm-shot img {
    display: block;
    width: 100%;
    height: auto;
}

/* Placeholder shown if a screenshot file is missing */
.rm-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    aspect-ratio: 16 / 9;
    width: 100%;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    background: var(--bg-surface-2, rgba(120, 120, 120, 0.05));
    color: var(--text-muted);
    text-align: center;
    padding: 1.5rem;
}
.rm-placeholder .rm-ph-icon { font-size: 2.25rem; opacity: 0.5; }
.rm-placeholder .rm-ph-label { font-size: 0.95rem; font-weight: 600; }
.rm-placeholder .rm-ph-file {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.8rem;
    opacity: 0.75;
    word-break: break-all;
}

/* ── "Coming next" cards ────────────────────────────────────────────────── */
.rm-next-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 1rem;
    margin: 0 0 1rem;
}
.rm-next-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
    padding: 1.15rem 1.25rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.rm-next-card .rm-next-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    background: var(--bg-surface-2, rgba(120, 120, 120, 0.08));
}
.rm-next-card h3 {
    font-size: 1.02rem;
    margin: 0.15rem 0 0;
    color: var(--text-main);
}
.rm-next-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}
.rm-next-tag {
    align-self: flex-start;
    margin-top: 0.15rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface-2, rgba(120, 120, 120, 0.06));
}
