/* v2 landing layout. Colours and type come from the demo tokens; the browser colour scheme picks light or dark. */
.page { max-width: 1100px; margin: 0 auto; padding: 0 16px 64px; }
.site-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.wordmark { font: 600 18px var(--f-display); letter-spacing: -0.01em; }
section, .closing { margin-top: 56px; }
h1 { font: 600 clamp(28px, 4vw, 44px)/1.12 var(--f-display); margin: 24px 0 0; letter-spacing: -0.02em; max-width: 26ch; }
h2 { font: 600 clamp(20px, 2.6vw, 26px)/1.2 var(--f-display); margin: 0 0 14px; }
h3 { font: 600 17px/1.3 var(--f-display); margin: 0 0 6px; }
p { max-width: 72ch; color: var(--ink); margin: 0 0 12px; }
a { color: var(--ink); }
.lede { color: var(--muted); font-size: 16px; }
.hero-links { margin-top: 20px; color: var(--muted); }
.diagram .caption { color: var(--muted); font-size: 13px; }
.canvas { margin: 14px 0; }
.example { color: var(--muted); font-size: 14px; }
.future { font-style: italic; }
.chapter { margin: 10px 0 6px; border-left: 2px solid var(--line); padding-left: 14px; }
.chapter .highlight { font-weight: 600; }
details { margin: 8px 0; }
details summary { cursor: pointer; color: var(--muted); }
.cards { display: grid; gap: 16px; }
.card { border-top: 1px solid var(--line); padding-top: 14px; }
.closing { font-size: 18px; text-align: center; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .diagram { margin-top: 28px; }
}
.status-note { color: var(--muted); font-size: 14px; margin-top: 16px; }
/* phone: each component in its own window; desktop: the full diagrams */
.window { display: none; width: 100%; height: auto; margin: 8px 0 14px; overflow: hidden; }
@media (max-width: 760px) {
  .window { display: block; }
  .canvas { display: none; }
}
