/* Public campaign reading surface, not an application share or generation UI. */
:root { color-scheme: dark; --bg: #0b0c12; --ink: #f2f1f8; --line: #343344; --surface-1: #15151f; --surface-2: #20202e; --surface-3: #2e2a45; --spec-2: #9b8cff; --mono: monospace; }
[data-theme="light"] { color-scheme: light; --bg: #f8f7fc; --ink: #191734; --line: #d3d0df; --surface-1: #fff; --surface-2: #eeeaf6; --surface-3: #e4dff3; }
[data-theme="light"] .demo-kicker, [data-theme="light"] .demo-detail summary { color: #5142ad !important; }
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Fira Sans', sans-serif; line-height: 1.6; }
button, select { font: inherit; color: inherit; background: var(--surface-1); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; cursor: pointer; min-height: 44px; }
button:disabled { opacity: .5; cursor: not-allowed; }
a { color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
img { display: block; height: auto; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
.demo-skip { position: fixed; top: -100px; left: 16px; z-index: 50; padding: 12px; background: var(--bg); }
.demo-skip:focus { top: 12px; }
.demo-header { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.demo-header a { font-size: 20px; font-weight: 800; text-decoration: none; }
.demo-header h1 { flex: 1; font-size: 16px; line-height: 1.4; min-width: 0; }
.demo-disclosure { margin: 0 auto; padding: 16px 24px; font-size: 13px; max-width: 1440px; }
.demo-slide { max-width: 1440px; margin: 0 auto; padding: clamp(24px, 4vw, 56px); border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.demo-slide h2 { font-size: clamp(30px, 3.8vw, 56px); line-height: 1.15; max-width: 26ch; margin-block: 12px 28px; }
.demo-kicker { color: #bbb0ff !important; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.demo-lead { font-size: clamp(18px, 1.8vw, 25px); max-width: 70ch; margin-block: 28px; }
.demo-art { display: block; }
.demo-art img { width: 100%; border-radius: 16px; object-fit: contain; }
.demo-cover-meta, .demo-note { margin-block: 20px; font-size: 14px; }
.demo-bullets { font-size: 20px; max-width: 75ch; padding-left: 28px; }
.demo-bullets li { padding: 12px 0 12px 12px; }
.demo-points, .demo-channel-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block: 28px; }
.demo-points article { background: var(--surface-1); border: 1px solid var(--line); padding: 24px; border-radius: 16px; min-width: 0; }
.demo-points h3, .demo-channel-copy h3 { font-size: 24px; line-height: 1.3; margin-bottom: 14px; }
.demo-rows { margin: 28px 0; display: grid; gap: 24px; }
.demo-rows dt { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.demo-rows dd { margin: 0; color: var(--story-muted); max-width: 80ch; }
.demo-detail { margin-block: 24px; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.demo-detail summary { cursor: pointer; color: #c5bfff; min-height: 44px; display: list-item; }
.demo-detail h3 { margin: 14px 0; font-size: 22px; }
.demo-detail p { margin-block: 16px; white-space: pre-line; }
.demo-table-scroll { overflow: auto; border: 1px solid var(--line); border-radius: 14px; margin-block: 28px; }
table { border-collapse: collapse; min-width: 760px; width: 100%; }
caption { text-align: left; padding: 20px; font-weight: 600; }
th, td { vertical-align: top; text-align: left; border-top: 1px solid var(--line); padding: 20px; }
th { background: var(--surface-1); }
.demo-timeline { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; padding: 0; }
.demo-timeline li { border-left: 2px solid var(--spec-2); padding: 8px 12px; }
.demo-nav { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; background: var(--bg); border-top: 1px solid var(--line); padding: 12px 16px; position: sticky; bottom: 0; z-index: 5; }
.demo-nav select { max-width: 560px; min-width: 0; flex: 1; }
.bd-nav__count { font-size: 13px; font-family: var(--mono); min-width: 54px; }
body[data-demo-mode="present"] main { min-height: calc(100svh - 220px); }
@media (max-width: 1099px), (max-height: 619px) {
  .demo-slide { padding: 28px 15px; }
  .demo-points, .demo-channel-copy { grid-template-columns: minmax(0, 1fr); }
  .demo-header { padding: 16px; }
  .demo-header button { font-size: 13px; }
  .demo-slide p, .demo-slide dd { overflow-wrap: anywhere; }
}
@media (max-width: 380px) { .demo-nav .bd-nav__count { width: 100%; text-align: center; } }
@media print { .demo-header, .demo-nav, .demo-disclosure, .demo-skip, dialog { display: none !important; } .demo-slide { display: block !important; break-before: page; } .demo-slide:first-child { break-before: auto; } }
