/* Companion landing page. Real interface captures; motion only on an explicit page change. */
.cp-intro-page { --show-ink:#f0e6cf; --show-muted:#bcb49f; --show-gold:#e4bf75; --show-ground:#0b1114; }
.ci-hero { width:100%; max-width:1200px; margin:0 auto; padding:64px var(--gutter) 38px; display:grid; grid-template-columns:minmax(0,1.45fr) minmax(240px,.55fr); gap:48px; align-items:end; }
.ci-hero h1 { font:600 clamp(38px,4.6vw,66px)/1.06 var(--head); letter-spacing:-.025em; text-wrap:balance; margin:0 0 22px; color:var(--show-ink); }
.ci-hero h1 span { display:block; color:var(--show-gold); }
.ci-hero .ci-lead { max-width:57ch; font:17px/1.7 var(--font); color:var(--show-muted); margin:0; }
.ci-hero-side { border-top:1px solid var(--line-strong); padding-top:18px; }
.ci-hero-side p { font:14px/1.7 var(--font); color:var(--show-muted); margin:0 0 14px; }
.ci-hero-side b { color:var(--show-ink); font-weight:600; }
.ci-hero-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.ci-hero-actions a { font:600 13px var(--font); padding:10px 15px; text-decoration:none; border-radius:7px; }
.ci-hero-actions .ci-primary { background:var(--show-gold); color:#17130b; }
.ci-hero-actions .ci-secondary { color:var(--show-ink); text-decoration:underline; text-underline-offset:5px; }
.ci-hero-actions a:hover { filter:brightness(1.08); }
main.ci-showcase-page { max-width:1200px; margin:0 auto; padding:0 var(--gutter) 64px; gap:60px; }
.ci-showcase { min-width:0; scroll-margin-top:90px; }
.ci-showcase-heading { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; padding:0 0 16px; }
.ci-showcase-heading h2 { font:600 22px var(--head); margin:0; color:var(--show-ink); }
.ci-showcase-heading p { margin:0; color:var(--show-muted); font:12px/1.6 var(--font); }
.ci-tour-tabs { display:flex; flex-wrap:wrap; gap:4px; padding:8px; background:#10191c; border:1px solid var(--line-strong); border-bottom:0; border-radius:12px 12px 0 0; }
.ci-tour-tab { display:inline-flex; gap:7px; align-items:center; justify-content:center; flex:1 0 auto; padding:11px 12px; color:#bcbcae; font:500 12px var(--font); text-decoration:none; border-radius:6px; transition:background-color .15s,color .15s; }
.ci-tour-tab img { width:20px; height:20px; object-fit:contain; }
.ci-tour-tab:hover { background:#1b272b; color:#f0e6cf; text-decoration:none; }
.ci-tour-tab[aria-selected="true"] { background:#2e3025; color:#f0d695; box-shadow:inset 0 -2px #dcb460; }
.ci-tour-panel { margin:0; }
.ci-screen { position:relative; display:block; background:var(--show-ground); border:1px solid var(--line-strong); overflow:hidden; aspect-ratio:36/25; }
.ci-screen img { display:block; width:100%; height:100%; object-fit:contain; }
.ci-screen:focus-visible { outline-offset:-5px; }
.ci-screen-hint { position:absolute; right:16px; bottom:16px; color:#f0e6cf; background:#101719; border:1px solid #5d5034; border-radius:6px; padding:7px 10px; font:12px var(--font); opacity:0; transform:translateY(4px); transition:opacity .18s,transform .18s; pointer-events:none; }
.ci-screen:hover .ci-screen-hint,.ci-screen:focus-visible .ci-screen-hint { opacity:1; transform:none; }
.ci-tour-caption { display:grid; grid-template-columns:minmax(180px,.7fr) minmax(0,1.5fr) auto; align-items:start; gap:24px; padding:22px 0; border-bottom:1px solid var(--line-strong); }
.ci-tour-caption h3 { margin:0; color:var(--show-ink); font:600 24px/1.2 var(--head); }
.ci-tour-caption p { margin:0; max-width:65ch; font:14px/1.7 var(--font); color:var(--show-muted); }
.ci-tour-caption a { font:12px/1.7 var(--font); color:var(--show-gold); white-space:nowrap; text-underline-offset:4px; }
.ci-tour-status { font:12px/1.7 var(--font); color:var(--show-muted); margin:12px 0 0; min-height:1.7em; }
.ci-tour-status:empty { display:none; }
.ci-screen.is-entering img { animation:ci-page-turn .32s cubic-bezier(.16,1,.3,1) both; }
@keyframes ci-page-turn { from { opacity:.45; transform:translateY(5px); } to { opacity:1; transform:none; } }
.ci-editions { scroll-margin-top:90px; }
.ci-editions > h2 { font:600 clamp(28px,3vw,40px)/1.15 var(--head); margin:0 0 12px; color:var(--show-ink); }
.ci-editions > p { font:15px/1.7 var(--font); color:var(--show-muted); margin:0 0 30px; max-width:65ch; }
.ci-edition-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:56px; align-items:start; }
.ci-lite-shot { margin:0; }
.ci-lite-shot a { display:block; }
.ci-lite-shot img { display:block; width:100%; height:auto; border-radius:10px; }
.ci-lite-shot figcaption { text-align:center; color:var(--show-muted); font:12px/1.6 var(--font); padding-top:10px; }
.ci-edition { padding:24px 0; border-top:1px solid var(--line-strong); }
.ci-edition:first-child { padding-top:0; border-top:0; }
.ci-edition h3 { font:600 24px var(--head); margin:0; color:var(--show-ink); }
.ci-edition .ci-card-head { justify-content:space-between; margin-bottom:12px; }
.ci-edition p,.ci-edition li { font:14px/1.7 var(--font); color:var(--show-muted); }
.ci-edition p { margin:0 0 10px; }
.ci-edition ul { margin:0; padding-left:19px; display:grid; gap:6px; }
.ci-edition .ci-state { font:11px var(--font); color:var(--show-gold); border-color:#62522e; background:#242218; padding:5px 9px; }
.ci-edition .ci-text-link { display:inline-block; margin-top:14px; color:var(--show-gold); font:13px var(--font); text-underline-offset:4px; }
.ci-showcase-page .ci-cols { gap:40px; }
.ci-showcase-page .ci-cols .card { background:none; border:0; border-radius:0; padding:24px 0 0; border-top:1px solid var(--line-strong); }
.ci-showcase-page .ci-cols .card-head { margin-bottom:18px; }
.ci-showcase-page .ci-cols h2 { font:600 23px var(--head); color:var(--show-ink); }
.ci-showcase-page .ci-cols li { font:14px/1.75 var(--font); color:var(--show-muted); }
.ci-showcase-page .ci-cols b { color:var(--show-ink); }
.ci-showcase-page .ci-mine { max-width:none; }
.cp-intro-page :is(a,button):focus-visible { outline:2px solid var(--show-gold); outline-offset:4px; }
.cp-intro-page ::selection { background:#72582f; color:#fff4da; }
@media(max-width:800px) {
  .ci-hero { grid-template-columns:1fr; gap:24px; padding-top:38px; }
  .ci-hero-side { display:flex; align-items:center; justify-content:space-between; gap:16px; }
  .ci-hero-side p { margin:0; }
  .ci-tour-caption { grid-template-columns:1fr auto; gap:12px; }
  .ci-tour-caption p { grid-column:1 / -1; grid-row:2; }
  .ci-tour-caption h3 { font-size:22px; }
  .ci-edition-layout { gap:28px; grid-template-columns:220px minmax(0,1fr); }
}
@media(max-width:560px) {
  main.ci-showcase-page { gap:40px; }
  .ci-hero h1 { font-size:40px; }
  .ci-hero .ci-lead { font-size:15px; }
  .ci-hero-side { display:block; }
  .ci-hero-side p { margin-bottom:12px; }
  .ci-tour-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:6px; }
  .ci-tour-tab { padding:8px 3px; min-height:44px; font-size:11px; gap:4px; }
  .ci-tour-tab img { width:18px; height:18px; }
  .ci-showcase-heading p { max-width:31ch; }
  .ci-tour-caption { padding:16px 0; }
  .ci-tour-caption a { white-space:normal; text-align:right; }
  .ci-edition-layout { display:flex; flex-direction:column-reverse; gap:24px; }
  .ci-lite-shot { width:min(280px,100%); margin:0 auto; }
  .ci-showcase-page .ci-cols { gap:28px; }
}
@media(prefers-reduced-motion:reduce) {
  .ci-screen.is-entering img { animation:none; }
  .ci-screen-hint,.ci-tour-tab { transition:none; transform:none; }
}

.ci-showcase .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
