/* PUB-09 (Rally #619): the /rally/ page styled from Rally's own theme tokens (rally-tokens.css, copied from
   apps/web/src/styles/tokens.css by scripts/build-rally-ui.mjs). Every colour, radius and font here is a
   var(--token) from that file; nothing is retyped, so a token change in Rally carries over on the next build.
   Loaded after /rally/rally.css so it overrides the page's earlier fixed colours. */
.rally-page{background:var(--bg);color:var(--text);font-family:var(--font-ui);--ink:var(--bg);--paper:var(--text);--lilac:var(--accent)}
.rally-page .eyebrow,.rally-meta,.feature-number{font-family:var(--font-mono)}
.rally-page .eyebrow,.rally-hero .eyebrow,.rally-hero h1 em{color:var(--accent-text)}
.rally-intro,.rally-meta{color:var(--muted)}
.rally-button{background:var(--accent);color:var(--on-accent);border-radius:var(--radius-4)}
.rally-button:hover{background:color-mix(in srgb,var(--accent) 82%,var(--text))}
.rally-demo-pill{color:var(--text);border-color:var(--line)}
.rally-demo-pill:hover{background:var(--raised)}
.rally-session .feature-block figure,.rally-app-grid figure{border:1px solid var(--line);border-radius:var(--radius-8);background:var(--panel);overflow:hidden}
.rally-app{padding-top:40px;padding-bottom:40px}
.rally-app-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-24);margin-top:var(--space-24)}
.rally-app-grid figure{margin:0;min-width:0}
.rally-app-grid img{display:block;width:100%;height:auto}
.rally-app-grid figcaption{padding:var(--space-12) var(--space-16);font-family:var(--font-mono);font-size:12px;color:var(--muted);border-top:1px solid var(--line)}
@media (max-width:760px){.rally-app-grid{grid-template-columns:1fr}}
/* PUB-09b: purple throughout. The Graphite + iris preset replaces every warm fixed colour of rally.css: the cream
   features section (formerly a paper tone), the coral playhead and the warm headings. Tokens only. */
.rally-session{background:var(--panel);color:var(--text)}
.rally-session .eyebrow,.rally-session .feature-number{color:var(--accent-text)}
.rally-session .rally-section-top>p,.rally-session .feature-block p,.rally-session .rally-features p{color:var(--muted)}
.rally-session .feature-block figure,.rally-session .session-preview{border-color:var(--line);box-shadow:none}
.rally-art-grid figure>div{background:var(--panel)}
.rally-ai-grid h3,.apply-feature strong{color:var(--text)}
.try-head{background:var(--accent);box-shadow:0 0 12px color-mix(in srgb,var(--accent) 60%,transparent)}
