/* /whats-new — the launch list. Built from the owner's mock-up (Artifact
   BW8ZWHzHg2hHrwLSgR6xou): desktop at 1280, phone at 390. Tokens come from
   theme.css; this file keeps only the page's own layout. */

.wn {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 40px) 96px;
    color: var(--rb-text);
}
.wn-crumbs { padding-top: 24px; }

.wn-head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 760px;
    padding: 36px 0 32px;
}
.wn-eyebrow {
    font-family: var(--rb-font-head);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--rb-accent-text);
}
.wn-h1 {
    margin: 0;
    font-family: var(--rb-font-display);
    font-weight: 400;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--rb-text-bright);
}
.wn-lede { margin: 0; font-size: 17px; line-height: 1.6; color: var(--rb-body); }

/* Filters need the script, so they show only with it. */
.wn-filters { display: none; flex-wrap: wrap; gap: 8px; padding-bottom: 28px; }
.wn-js .wn-filters { display: flex; }
.wn-chip {
    height: 44px;
    padding: 0 18px;
    background: transparent;
    border: 1px solid var(--rb-line-mid);
    border-radius: var(--rb-radius);
    font-family: var(--rb-font-head);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rb-body);
    cursor: pointer;
    transition: border-color .15s ease-out, color .15s ease-out;
}
.wn-chip:hover, .wn-chip:focus-visible { border-color: var(--rb-accent); color: var(--rb-text); }
.wn-chip[aria-pressed="true"] { background: var(--rb-accent); border-color: var(--rb-accent); color: #fff; }

.wn-cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.wn-main { flex: 999 1 560px; min-width: 0; }
.wn-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.wn-month {
    margin: 0;
    padding: 8px 0 12px;
    font-family: var(--rb-font-head);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--rb-muted);
}
.wn-entry + .wn-month { padding-top: 36px; }

/* One launch: the date in its own column, everything else beside it. */
.wn-entry {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 10px;
    padding: 28px 0;
    border-top: 1px solid var(--rb-line);
}
.wn-entry > * { grid-column: 2; }
.wn-entry > time {
    grid-column: 1;
    grid-row: 1 / span 4;
    padding-top: 3px;
    font-family: var(--rb-font-head);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rb-muted);
}
.wn-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wn-tag {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border: 1px solid var(--rb-line-mid);
    border-radius: var(--rb-radius);
    font-family: var(--rb-font-head);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rb-body);
}
.wn-tag--new { background: var(--rb-accent); border-color: var(--rb-accent); font-weight: 600; color: #fff; }
.wn-title {
    margin: 0;
    font-family: var(--rb-font-head);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--rb-text);
}
.wn-line { margin: 0; max-width: 680px; font-size: 15px; line-height: 1.65; color: var(--rb-body); }
.wn-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 14px; }
.wn-cta { color: var(--rb-accent-text); font-weight: 500; text-decoration: none; }
.wn-cta:hover, .wn-cta:focus-visible { color: var(--rb-accent-hover); text-decoration: underline; }
.wn-archive { display: inline-flex; align-items: center; gap: 6px; color: var(--rb-muted); text-decoration: none; }
.wn-archive:hover, .wn-archive:focus-visible { color: var(--rb-text); text-decoration: underline; }
.wn-archive svg { flex: none; }

/* Older launches fold away only when the script is there to open them. */
.wn-more { display: none; padding-top: 28px; border-top: 1px solid var(--rb-line); }
.wn-js .wn-more { display: block; }
/* Last, so `hidden` (set by the filter) beats the display rules above. */
.wn-js .wn-main:not(.wn-open) .is-older,
.wn-js .wn [hidden] { display: none; }
.wn-more__btn {
    height: 48px;
    padding: 0 24px;
    background: transparent;
    border: 1px solid var(--rb-line-strong);
    border-radius: var(--rb-radius);
    font-family: var(--rb-font-head);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rb-text);
    cursor: pointer;
    transition: border-color .15s ease-out;
}
.wn-more__btn:hover, .wn-more__btn:focus-visible { border-color: var(--rb-accent); }

.wn-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    background: var(--rb-panel);
    border: 1px solid var(--rb-line);
    border-radius: var(--rb-radius);
}
.wn-card--glance { gap: 18px; }
.wn-card--dated { gap: 12px; }
.wn-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: var(--rb-font-head);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--rb-muted);
}
.wn-card__head svg { width: 16px; height: 16px; flex: none; }
.wn-card__text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--rb-body); }
.wn-stat { display: flex; align-items: baseline; gap: 14px; }
.wn-stat__num { font-family: var(--rb-font-display); font-size: 40px; line-height: 1; color: var(--rb-text-bright); }
.wn-stat__label { font-size: 14px; line-height: 1.4; color: var(--rb-body); }
.wn-card__btn {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    height: 44px;
    padding: 0 18px;
    background: var(--rb-accent);
    border-radius: var(--rb-radius);
    font-family: var(--rb-font-head);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    transition: background .15s ease-out;
}
.wn-card__btn:hover, .wn-card__btn:focus-visible { background: var(--rb-accent-hover); color: #fff; text-decoration: none; }

/* Phone (the mock-up's 390 artboard): the date joins the tag row, the chips
   scroll sideways, the side column keeps only "Have an idea?". */
@media (max-width: 640px) {
    .wn { padding: 0 16px 40px; }
    .wn-head { gap: 12px; padding: 28px 0 22px; }
    .wn-eyebrow { font-size: 12px; }
    .wn-h1 { font-size: 46px; }
    .wn-lede { font-size: 16px; }
    .wn-filters { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-bottom: 20px; }
    .wn-chip { flex: 0 0 auto; padding: 0 16px; }
    .wn-month { padding: 4px 0 10px; font-size: 13px; }
    .wn-entry + .wn-month { padding-top: 28px; }
    .wn-entry { grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; padding: 22px 0; }
    .wn-entry > * { grid-column: 1 / -1; }
    .wn-entry > time { grid-column: 1; grid-row: 1; align-self: center; padding-top: 0; font-size: 14px; }
    .wn-entry > .wn-tags { grid-column: 2; grid-row: 1; }
    .wn-title { font-size: 20px; letter-spacing: 0; }
    .wn-links { flex-direction: column; align-items: flex-start; gap: 0; font-size: 15px; }
    .wn-cta { padding: 10px 0; }
    .wn-archive { font-size: 13px; }
    .wn-more { padding-top: 22px; }
    .wn-more__btn { width: 100%; }
    .wn-cols { gap: 28px; }
    .wn-card--glance, .wn-card--dated { display: none; }
    .wn-card { padding: 20px; gap: 12px; }
    .wn-card__head { font-size: 13px; }
    .wn-card__text { font-size: 15px; }
    .wn-card__btn { align-self: stretch; justify-content: center; height: 48px; }
}
