/* Styles for the /demo.html video page. */
:root {
  --bg: #fbf7f4;
  --ink: #241d1a;
  --ink-secondary: #6b615c;
  --eyebrow: #b5453f;
  --rule: #eee3dc;
  --shadow: 0 1px 2px rgba(36,29,26,0.06), 0 20px 48px rgba(36,29,26,0.16);
}
:root[data-theme="dark"] {
  --bg: #17130f;
  --ink: #f2ece6;
  --ink-secondary: #b7aba2;
  --eyebrow: #ff8b83;
  --rule: #3a2e29;
  --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 20px 48px rgba(0,0,0,0.5);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17130f;
    --ink: #f2ece6;
    --ink-secondary: #b7aba2;
    --eyebrow: #ff8b83;
    --rule: #3a2e29;
    --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 20px 48px rgba(0,0,0,0.5);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.demo-header { background: #3a2e2a; position: sticky; top: 0; z-index: 10; }
.demo-header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; gap: 32px;
}
.demo-header-logo {
  display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 18px;
  letter-spacing: -0.02em; text-decoration: none; flex-shrink: 0;
}
.demo-header-nav { display: flex; align-items: center; gap: 28px; margin-right: auto; }
.demo-header-nav-link, .demo-header-signin {
  color: #e4dad2; text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color 0.15s;
}
.demo-header-nav-link:hover, .demo-header-signin:hover { color: #fff; }
.demo-header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.demo-header-cta {
  background: #A6740F; color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 700;
  padding: 9px 18px; border-radius: 8px; transition: background 0.15s, transform 0.15s; display: inline-block;
}
.demo-header-cta:hover { background: #8a6109; transform: translateY(-1px); }
@media (max-width: 860px) { .demo-header-nav { display: none; } }
@media (max-width: 520px) { .demo-header-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .demo-header-cta:hover { transform: none; } }

.page { max-width: 960px; margin: 0 auto; padding: 40px 16px 64px; }

.intro { margin-bottom: 24px; text-align: center; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--eyebrow); margin: 0 0 10px;
}
h1 { font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 10px; text-wrap: balance; font-weight: 700; }
.sub { font-size: 15px; line-height: 1.55; color: var(--ink-secondary); margin: 0 auto; max-width: 640px; }

.player {
  display: block; width: 100%; aspect-ratio: 16 / 9; height: auto;
  border-radius: 14px; box-shadow: var(--shadow); background: #000;
}

.note { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--ink-secondary); text-align: center; }

.more { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); }
.more h2 { font-size: 15px; font-weight: 700; margin: 0 0 12px; }
.more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 24px; }
.more a { color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.more a:hover { color: var(--eyebrow); }

.chapters { margin-top: 32px; }
.chapters h2, .cta h2 { font-size: 15px; font-weight: 700; margin: 0 0 12px; }
.chapters ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px 24px; }
.chapters a { color: var(--ink); font-size: 14.5px; line-height: 1.5; text-decoration: none; display: flex; gap: 10px; }
.chapters a span { color: var(--ink-secondary); font-variant-numeric: tabular-nums; min-width: 2.6em; }
.chapters a:hover { color: var(--eyebrow); }

.cta { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule); text-align: center; }
.cta h2 { font-size: 20px; }
.cta p { font-size: 15px; line-height: 1.55; color: var(--ink-secondary); margin: 0 auto 18px; max-width: 520px; }
.cta-btn {
  background: #A6740F; color: #fff; text-decoration: none; font-size: 15px; font-weight: 700;
  padding: 11px 22px; border-radius: 8px; display: inline-block; transition: background 0.15s;
}
.cta-btn:hover { background: #8a6109; }
