/* glance.reseorch-ai.com — editorial and layout pass + news archives, 2026-11-13 (site-rework).
   Loaded after launcher.css. Colours, fonts and components stay as they are. */

h1, h2, h3 { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }

/* Header: links to the three archives */
.header-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.world-status + .header-nav { margin-left: 0; }
.header-nav .header-link[aria-current="page"] { color: var(--text); background: var(--raised); }

/* Hero */
.lead { max-width: 30em; line-height: 1.7; }
.lead .s { display: inline-block; }

/* Boards: every row opens its entry; older entries are one click away */
.board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.board-head h2 { margin-bottom: 0; }
.board-head a { color: var(--muted); font-size: 0.85rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.board-head a:hover { color: var(--green); }
.row { grid-template-columns: 5.6em 1fr auto; align-items: start; }
.row time { padding-top: 3px; }
a.row-title { line-height: 1.45; text-decoration: none; }
a.row-title:hover { color: var(--green); text-decoration: underline; }
.letter-teaser { display: grid; gap: 8px; padding: 14px 0 4px; border-top: 1px solid var(--line); text-decoration: none; }
.letter-teaser .letter-to { color: var(--muted); font-size: 0.8rem; }
.letter-teaser strong { font-size: 1.15rem; font-weight: 800; }
.letter-teaser > span:last-child { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.letter-teaser:hover strong { color: var(--green); }

/* Current-build screens */
.shots-strip { padding: 8px 0 64px; }
.strip-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 18px; }
.strip-head h2 { font-size: 1.2rem; font-weight: 800; }
.strip-head p { color: var(--muted); font-size: 0.9rem; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.strip figure { margin: 0; }
.strip a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.strip img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.strip figcaption { margin-top: 8px; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

/* Waitlist and footer */
.waitlist p { max-width: 30em; line-height: 1.7; }
.waitlist p a { white-space: nowrap; }
.site-footer button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- archive pages: /notices/ /patch-notes/ /roadmap/ ---------- */
.archive-main { padding: 40px 0 88px; }
.crumbs { margin-bottom: 14px; color: var(--muted); font-size: 0.85rem; }
.crumbs a { color: inherit; }
.archive-main h1 { margin-bottom: 12px; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 900; }
.archive-lead { max-width: 40em; margin-bottom: 20px; color: var(--muted); line-height: 1.7; }
.archive-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 28px; color: var(--muted); font-size: 0.85rem; }
.archive-sub { margin: 56px 0 14px; font-size: 1.4rem; font-weight: 800; }
.archive-extra { margin-top: 64px; border-top: 1px solid var(--line); }
.archive-extra > h2 { margin: 40px 0 12px; font-size: 1.4rem; font-weight: 800; }

.post-list { display: grid; gap: 14px; max-width: 46em; }
.post { padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.post.is-now { border-color: #3f5646; }
.post h2 { font-size: 1.15rem; font-weight: 800; }
.post h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.post p, .post li { color: #cfd8d1; line-height: 1.75; }
.post h2 + p { margin-top: 10px; }
.post p + p { margin-top: 8px; }
.post ul { margin: 6px 0 0; padding-left: 18px; }
.post .post-note { margin-top: 12px; padding-left: 12px; border-left: 3px solid var(--line); color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; color: var(--muted); font-size: 0.82rem; }
.post-meta time { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.archive-extra .post { max-width: 46em; margin-top: 14px; }
.archive-extra .board-list { max-width: 46em; }
.row-period { grid-column: 2 / -1; color: var(--muted); font-size: 0.78rem; }

/* Patch notes: a day list beside the notes (a scrolling strip on phones) */
.notes-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.days { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; padding-right: 4px; }
.days ol { margin: 0; padding: 0; list-style: none; }
.days .month { margin: 14px 0 4px; color: var(--muted); font-size: 0.78rem; font-weight: 800; }
.days .month:first-child { margin-top: 0; }
.days a { display: grid; grid-template-columns: 3.2em 1fr; gap: 8px; padding: 7px 10px; border-radius: 8px; color: #cfd8d1; font-size: 0.9rem; line-height: 1.4; text-decoration: none; }
.days a:hover { background: var(--raised); color: var(--text); }
.days time { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.notes { display: grid; gap: 56px; max-width: 44em; }
.note { scroll-margin-top: 84px; }
.note header { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.note h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 800; }
.note-summary { margin-top: 8px; color: #dfe6e0; font-size: 1.02rem; line-height: 1.7; }
.note h3 { margin: 22px 0 8px; color: var(--green); font-size: 1.02rem; font-weight: 800; }
.note p { color: #cfd8d1; line-height: 1.75; }
.note ul { margin: 0; padding-left: 18px; color: #cfd8d1; }
.note li { line-height: 1.7; }
.note li + li { margin-top: 5px; }
.to-top { margin-top: 16px; font-size: 0.82rem; }
.to-top a { color: var(--muted); }

/* Roadmap: the letter and the earlier plans */
.letter { max-width: 44em; padding: 40px 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.letter .letter-to { margin-bottom: 10px; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.letter-title { margin-bottom: 22px; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 900; }
.letter h3 { margin: 30px 0 10px; color: var(--green); font-size: 1.1rem; font-weight: 800; }
.letter p { color: #dfe6e0; font-size: 1.06rem; line-height: 1.9; }
.letter p + p { margin-top: 14px; }
.letter .letter-sign { margin-top: 28px; font-weight: 800; text-align: right; }
.letter.is-past { margin-top: 24px; }
#past .post { max-width: 60em; }
.plan .board-list { margin-top: 8px; }
.plan-eyebrow { color: var(--muted); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; }
.plan-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 12px 0 0; padding: 0; list-style: none; }
.plan-phases h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1rem; }
.plan-sub { margin-bottom: 6px; color: var(--muted); font-size: 0.8rem; }
.plan-phases ul { margin: 0; padding-left: 18px; font-size: 0.93rem; }

@media (max-width: 960px) {
  .strip { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .notes-layout { grid-template-columns: 1fr; gap: 24px; }
  .days { position: static; max-height: none; margin: 0 -16px; padding: 0 16px 6px; overflow-x: auto; }
  .days ol { display: flex; gap: 8px; width: max-content; }
  .days .month { align-self: center; margin: 0 2px 0 8px; white-space: nowrap; }
  .days .month:first-child { margin-left: 0; }
  .days a { grid-template-columns: auto auto; border: 1px solid var(--line); white-space: nowrap; }
}
@media (max-width: 700px) {
  .plan-phases { grid-template-columns: 1fr; }
  .letter { padding: 26px 20px; }
  .post { padding: 18px 18px; }
}
@media (max-width: 640px) {
  .header-nav { order: 3; width: 100%; margin: 0; overflow-x: auto; }
  .header-nav .header-link { margin-left: 0; padding: 6px 10px; white-space: nowrap; }
  .world-status { order: 2; width: auto; margin-left: auto; }
  .row { grid-template-columns: 1fr auto; }
  .row-period { grid-column: 1 / -1; }
}

/* review placeholder: the director's letter has not arrived; a tree in this state must not be deployed */
.pending-note { padding: 14px 16px; border: 2px dashed var(--amber); border-radius: 10px; color: var(--amber); font-weight: 700; line-height: 1.6; }

/* the director's letter: the date above the title, the letter itself untouched */
.letter-date { margin-bottom: 10px; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.earlier { margin-top: 12px; color: var(--muted); font-size: 0.9rem; }
.earlier summary { cursor: pointer; font-weight: 700; }
.earlier-item { margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--line); }
.earlier-when { font-size: 0.8rem; font-weight: 700; }
