/*
 * ─── THE PRODUCT TIMELINE ────────────────────────────────────────────────────
 *
 * Handoff `price-line-and-timeline`, frame 1d. Values read from
 * "Price Line and Timeline Options.dc.html", not from the PNG:
 *
 *   grid      repeat(5, minmax(0,1fr)), gap 28px
 *   item      flex, gap 10px
 *   dot       7 × 7, 50%, #1AB0E0, flex:none, margin-top 8px
 *   title     700, 15px, #2D3445
 *   detail    13px, #555B68, line-height 1.5
 *   link      13px, 700, blue
 *
 * No border and no background — that is the difference between this and the
 * bordered card it replaces on the banner route.
 *
 * TWO DEVIATIONS FROM THE MOCK, both because CLAUDE.md outranks it. Neither is
 * approved yet; see the note in .design-audit/ and ask Dennis before treating
 * them as settled:
 *
 *   1. The README says the strip sits in a 1160px container with 16px side
 *      padding. This theme has exactly one page-wrapper recipe and a local
 *      copy of it is on the retired list, so the list wears `.as-pdp__wrap`
 *      and inherits --page-max / --gutter like every other band.
 *   2. The README's 2-column breakpoint is 760px. The ladder is 420 / 560 /
 *      720 / 900 / 1000 / 1100 / 1200 and bin/css-breakpoints.py enforces it,
 *      so this uses 720. The 1-column breakpoint, 420, is already a rung.
 */

.as-timeline {
    /* 8px above, 40px below — the handoff's spacing, and no band background. */
    padding-block: 8px 40px;
}

.as-timeline__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px;
    /*
     * margin-BLOCK, not margin. `margin: 0` here overrode the page wrapper's
     * own `margin-inline: auto` — same specificity, and this sheet loads after
     * primitives.css — so the strip sat hard against the left gutter on any
     * viewport wider than --page-max instead of centring with every other band
     * (Dennis, 2026-10-08).
     */
    margin-block: 0;
    padding-block: 0;
    list-style: none;
}

.as-timeline__item {
    display: flex;
    gap: 10px;
    margin: 0;
}

.as-timeline__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--atomic-blue);
    flex: none;
    /* Optically centred on the title's cap height, not its line box. */
    margin-top: 8px;
}

.as-timeline__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.as-timeline__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--atomic-dark);
}

.as-timeline__detail {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.as-timeline__link {
    font-size: 13px;
    font-weight: 700;
    color: var(--atomic-blue);
    text-decoration: none;
    align-self: start;
}

.as-timeline__link:hover,
.as-timeline__link:focus-visible {
    text-decoration: underline;
}

/*
 * Five across needs roughly 150px a column before the two-word titles start
 * breaking; below that it is two rows of readable items rather than one row of
 * stacks. See deviation 2 above: the handoff says 760, the ladder says 720.
 */
@media (max-width: 720px) {
    .as-timeline__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
    .as-timeline__list { grid-template-columns: minmax(0, 1fr); }
}
