/* ════════════════════════════════════════════════════════════════════════
   Combined edition — grafted Claude Code feature system.
   ALL rules scoped under .cc so they never collide with the refined site.
   Tokens + keyframes are global (additive only).
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --accent: #f5820a; --accent-hover: #ff9d33; --accent-press: #c96500;
  --accent-12: rgba(245,130,10,.12); --accent-22: rgba(245,130,10,.22);
  --accent-28: rgba(245,130,10,.28); --accent-07: rgba(245,130,10,.07);
  --cc-bg: #0d0d12; --cc-bg-deep: #08080b; --cc-surface: #16161e;
  --cc-surface-2: #1e1e28; --cc-surface-3: #242432; --cc-inset: #101018;
  --cc-border: #2c2c42; --cc-border-strong: #484860; --cc-hair: rgba(255,255,255,.055);
  --cc-text: #e4e4ef; --cc-dim: #a0a0c0; --cc-muted: #8a8aa6; --cc-faint: #5c5c74;
  --pb: #4aa8ff; --mic: #2dca72; --pb-12: rgba(74,168,255,.12); --mic-12: rgba(45,202,114,.12);
  --cc-rcard: 14px; --cc-rbtn: 8px; --cc-rpill: 999px;
  --cc-fdisp: "Space Grotesk","Segoe UI",system-ui,sans-serif;
  --cc-fmono: "JetBrains Mono",ui-monospace,monospace;
  --cc-ease: cubic-bezier(.22,1,.36,1);
}

/* icons */
.cc .ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cc .ico--fill { fill: currentColor; stroke: none; }

/* section header */
.cc-head { max-width: 680px; margin: 0 auto clamp(34px,5vw,52px); text-align: center; }
.cc-h2 { font-family: var(--cc-fdisp); font-weight: 700; font-size: clamp(1.9rem,1rem+2.6vw,2.8rem); letter-spacing: -.02em; line-height: 1.06; }
.cc-sub { margin-top: 14px; color: var(--cc-dim); font-size: 1.02rem; max-width: 56ch; margin-inline: auto; }

/* buttons (scoped) */
.cc .btn { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; font-size: .95rem; line-height: 1; padding: .85em 1.3em; border-radius: var(--cc-rbtn); border: 1px solid transparent; background: none; color: inherit; cursor: pointer; transition: transform .12s var(--cc-ease), background .15s, border-color .15s; white-space: nowrap; }
.cc .btn .ico { width: 1.05em; height: 1.05em; }
.cc .btn--soft { background: var(--cc-surface-2); color: var(--cc-text); border-color: var(--cc-border); }
.cc .btn--soft:hover { background: var(--cc-surface-3); border-color: var(--cc-border-strong); }
.cc .btn--sm { padding: .6em 1em; font-size: .875rem; }

/* app-window chrome */
.cc .appwin { background: var(--cc-bg); border: 1px solid var(--cc-border); border-radius: var(--cc-rcard); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.02); }
.cc .appwin__bar { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 13px; background: var(--cc-bg-deep); border-bottom: 1px solid #16162a; }
.cc .appwin__dot { width: 8px; height: 8px; border-radius: 50%; background: #2a2a3c; }
.cc .appwin__dot:first-child { background: var(--accent); }
.cc .appwin__title { margin-left: 6px; font-size: .72rem; color: var(--cc-muted); font-weight: 500; }
.cc .appwin__chip { margin-left: auto; font-family: var(--cc-fmono); font-size: .66rem; color: var(--cc-muted); border: 1px solid var(--cc-border); border-radius: var(--cc-rpill); padding: 2px 9px; }
.cc .dotgrid { background-image: radial-gradient(circle, rgba(255,255,255,.02) 1px, transparent 0); background-size: 22px 22px; }

/* ── DEMOS rail + stage ── */
.cc.demos { padding: clamp(48px,6vw,90px) clamp(16px,4vw,32px); }
.cc .demos__layout { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 26px; align-items: start; }
.cc .demos__rail { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 82px; }
.cc .demotab { position: relative; display: flex; align-items: flex-start; gap: 13px; text-align: left; padding: 14px 15px; border-radius: var(--cc-rcard); border: 1px solid transparent; color: var(--cc-dim); background: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.cc .demotab:hover { background: var(--cc-surface); color: var(--cc-text); }
.cc .demotab.is-active { background: var(--cc-surface); border-color: var(--cc-border); color: var(--cc-text); }
.cc .demotab__ico { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; background: var(--cc-surface-2); color: var(--cc-muted); border: 1px solid var(--cc-border); transition: background .15s, color .15s, border-color .15s; }
.cc .demotab.is-active .demotab__ico { background: var(--accent-12); color: var(--accent); border-color: var(--accent-22); }
.cc .demotab__head { display: flex; align-items: center; gap: 8px; }
.cc .demotab__t { display: block; font-weight: 600; font-size: .95rem; color: var(--cc-text); }
.cc .demotab__d { display: block; font-size: .82rem; color: var(--cc-muted); margin-top: 2px; line-height: 1.4; }
.cc .demotab.is-active .demotab__d { color: var(--cc-dim); }
.cc .demotab__tag { font-size: .62rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--cc-muted); border: 1px solid var(--cc-border); border-radius: var(--cc-rpill); padding: 2px 7px; white-space: nowrap; }
.cc .demotab.is-active .demotab__tag { color: var(--accent); border-color: var(--accent-22); background: var(--accent-12); }
.cc .demos__stage { min-height: 424px; }
.cc .stage__win { display: flex; flex-direction: column; min-height: 424px; }
.cc .stage__body { position: relative; padding: 26px 22px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cc .stage__body > * { width: 100%; }
.cc .steps-ind { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--cc-hair); background: var(--cc-bg-deep); }
.cc .steps-ind__dots { display: flex; gap: 6px; align-items: center; }
.cc .steps-ind__dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: var(--cc-rpill); background: var(--cc-surface-3); cursor: pointer; transition: background .3s, width .3s; }
.cc .steps-ind__dot:hover { background: var(--cc-border-strong); }
.cc .steps-ind__dot.is-on { background: var(--accent); width: 22px; }
.cc .steps-ind__label { font-size: .85rem; color: var(--cc-dim); }
.cc .steps-ind__label b { color: var(--cc-text); font-weight: 600; }
.cc .steps-ind__count { margin-left: auto; font-family: var(--cc-fmono); font-size: .72rem; color: var(--cc-muted); }

/* ── app UI primitives inside demos ── */
.cc .pcard { background: var(--cc-surface); border: 1px solid var(--cc-border); border-radius: var(--cc-rcard); display: flex; flex-direction: column; align-items: center; padding: 16px 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.cc .pcard.is-active { border-color: var(--accent-28); background: linear-gradient(180deg,#221408 0%,#1a1510 35%,var(--cc-surface) 70%); }
.cc .pcard__ico { width: 60px; height: 60px; border-radius: 16px; background: var(--cc-surface-3); border: 1px solid #282838; display: grid; place-items: center; color: var(--accent); }
.cc .pcard__ico .ico { width: 56%; height: 56%; }
.cc .pcard.is-active .pcard__ico { border-color: var(--accent-28); box-shadow: 0 0 18px var(--accent-12); }
.cc .pcard__name { font-weight: 600; font-size: .9rem; margin-top: 10px; }
.cc .badge { font-size: .6rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; padding: 2.5px 8px; border-radius: var(--cc-rpill); margin-top: 6px; }
.cc .badge--both { background: var(--accent-12); color: var(--accent); border: 1px solid var(--accent-22); }
.cc .badge--pb { background: var(--pb-12); color: var(--pb); border: 1px solid rgba(74,168,255,.2); }
.cc .badge--mic { background: var(--mic-12); color: var(--mic); border: 1px solid rgba(45,202,114,.2); }
.cc .pcard__dev { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--cc-dim); max-width: 100%; margin-top: 8px; }
.cc .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.cc .dot--pb { background: var(--pb); } .cc .dot--mic { background: var(--mic); }

.cc .mpills { display: flex; gap: 6px; }
.cc .mpill { padding: 4px 10px; border-radius: var(--cc-rpill); font-size: .72rem; font-weight: 600; border: 1px solid var(--cc-border); color: var(--cc-muted); transition: all .15s; }
.cc .mpill--both.is-on { border-color: var(--accent-22); background: var(--accent-12); color: var(--accent); }
.cc .mpill--pb.is-on { border-color: rgba(74,168,255,.3); background: var(--pb-12); color: var(--pb); }
.cc .mpill--mic.is-on { border-color: rgba(45,202,114,.3); background: var(--mic-12); color: var(--mic); }

.cc .fld { display: flex; flex-direction: column; gap: 6px; }
.cc .fld__lab { font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--cc-muted); display: flex; align-items: center; gap: 6px; }
.cc .fld__in { background: var(--cc-inset); border: 1px solid var(--cc-border); border-radius: var(--cc-rbtn); color: var(--cc-text); font-size: .9rem; padding: 9px 12px; display: flex; align-items: center; gap: 8px; min-height: 38px; transition: border-color .2s, box-shadow .2s; }
.cc .fld__in.is-focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-12); }
.cc .fld__in.is-typing::after { content: ""; width: 1.5px; height: 15px; background: var(--accent); animation: ccCaret 1s steps(1) infinite; }
.cc .fld__ph { color: var(--cc-muted); }
.cc .kbd { font-family: var(--cc-fmono); font-size: .8rem; color: var(--cc-text); background: var(--cc-inset); border: 1px solid var(--cc-border); padding: 4px 9px; border-radius: 6px; letter-spacing: .03em; }

.cc .toggle { width: 38px; height: 21px; border-radius: var(--cc-rpill); background: #252540; border: 1px solid var(--cc-border); padding: 2px; flex: none; transition: background .25s, border-color .25s; }
.cc .toggle i { display: block; width: 15px; height: 15px; border-radius: 50%; background: #585878; transition: transform .25s var(--cc-ease), background .25s; }
.cc .toggle.is-on { background: var(--accent); border-color: var(--accent); }
.cc .toggle.is-on i { transform: translateX(17px); background: #fff; }

.cc .daypills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cc .daypill { width: 46px; height: 38px; border-radius: var(--cc-rbtn); border: 1px solid var(--cc-border); background: var(--cc-surface); color: var(--cc-dim); font-size: .8rem; font-weight: 600; cursor: default; transition: all .18s; }
.cc .daypill.is-on { border-color: var(--accent); background: var(--accent-12); color: var(--accent); }

.cc .toast { display: flex; align-items: center; gap: 11px; padding: 12px 15px; background: var(--cc-surface-2); border: 1px solid var(--cc-border); border-radius: var(--cc-rbtn); }
.cc .toast__ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--accent-12); color: var(--accent); }
.cc .toast__t { font-size: .88rem; font-weight: 600; }
.cc .toast__d { font-size: .78rem; color: var(--cc-muted); }

.cc .usb { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px dashed var(--cc-border); border-radius: var(--cc-rcard); color: var(--cc-dim); transition: all .3s; flex: 1; }
.cc .usb.is-connected { border-style: solid; border-color: var(--mic); color: var(--cc-text); background: var(--mic-12); }
.cc .usb__ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--cc-surface-2); color: var(--cc-muted); transition: all .3s; flex: none; }
.cc .usb.is-connected .usb__ico { background: rgba(45,202,114,.18); color: var(--mic); }

/* hero-demo bits reused by hotkey demo */
.cc .hd__profile { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--cc-surface); border: 1px solid var(--cc-border); border-radius: var(--cc-rcard); }
.cc .hd__pi { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-12); color: var(--accent); display: grid; place-items: center; flex: none; }
.cc .hd__pname { font-weight: 600; font-size: .95rem; }
.cc .hd__pbadge { font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-12); border: 1px solid var(--accent-22); padding: 2px 8px; border-radius: var(--cc-rpill); }
.cc .hd__eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; margin-left: auto; }
.cc .hd__eq i { width: 2.5px; background: var(--accent); border-radius: 2px; height: 40%; transform-origin: bottom; }
.cc.demos.is-in .hd__eq i, .cc .hd__eq.run i { animation: ccEq 1s ease-in-out infinite; }
.cc .hd__eq i:nth-child(1){animation-delay:-.1s} .cc .hd__eq i:nth-child(2){animation-delay:-.4s} .cc .hd__eq i:nth-child(3){animation-delay:0s} .cc .hd__eq i:nth-child(4){animation-delay:-.25s}
.cc .keycap { font-family: var(--cc-fmono); font-size: .82rem; font-weight: 600; color: var(--cc-text); background: var(--cc-surface-2); border: 1px solid var(--cc-border-strong); border-bottom-width: 3px; border-radius: 8px; padding: 8px 12px; text-align: center; transition: transform .1s var(--cc-ease), border-color .15s, background .15s, box-shadow .15s; }
.cc .keycap.is-press { transform: translateY(2px); border-bottom-width: 1px; background: var(--accent-12); border-color: var(--accent); color: var(--accent); box-shadow: 0 0 22px -6px var(--accent); }

/* mini mode */
.cc .mini { background: var(--cc-surface); border: 1px solid var(--cc-border-strong); border-radius: 12px; padding: 10px; box-shadow: 0 18px 50px -20px #000; width: 210px; }
.cc .mini__hd { display: flex; align-items: center; gap: 7px; padding: 2px 4px 9px; border-bottom: 1px solid var(--cc-hair); }
.cc .mini__title { font-size: .72rem; color: var(--cc-muted); font-weight: 600; }
.cc .mini__rows { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; }
.cc .mrow { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 8px; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.cc .mrow.is-active { background: var(--accent-12); border-color: var(--accent-22); }
.cc .mrow__ico { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--cc-surface-3); flex: none; }
.cc .mrow.is-active .mrow__ico { background: rgba(245,130,10,.2); color: var(--accent); }
.cc .mrow__nm { font-size: .82rem; font-weight: 500; flex: 1; }
.cc .mrow__hk { font-family: var(--cc-fmono); font-size: .66rem; color: var(--cc-muted); }
.cc .mini__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 8px; }
.cc .mcell { aspect-ratio: 1; border-radius: 9px; border: 1px solid var(--cc-border); background: var(--cc-surface-2); display: grid; place-items: center; transition: all .15s; }
.cc .mcell.is-active { border-color: var(--accent); background: var(--accent-12); color: var(--accent); }

/* schedule wizard numbers */
.cc .wiz-num { font-family: var(--cc-fmono); font-weight: 600; font-size: 1.4rem; width: 74px; height: 46px; display: grid; place-items: center; background: var(--cc-inset); border: 1px solid var(--cc-border); border-radius: var(--cc-rbtn); }
.cc .wiz-num.is-focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-12); }
.cc .wiz-cap { font-size: .7rem; color: var(--cc-muted); margin-top: 5px; text-align: center; }
.cc .wiz-flash { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: .86rem; }

/* ── BENTO ── */
.cc.features { padding: clamp(56px,8vw,110px) clamp(16px,4vw,32px); }
.cc .bento { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.cc .bcell { background: var(--cc-surface); border: 1px solid var(--cc-border); border-radius: var(--cc-rcard); padding: 22px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; position: relative; transition: border-color .2s, transform .2s, box-shadow .2s; }
.cc .bcell:hover { border-color: var(--cc-border-strong); transform: translateY(-3px); box-shadow: 0 16px 40px -24px #000; }
.cc .bcell__ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-12); color: var(--accent); border: 1px solid var(--accent-22); }
.cc .bcell__t { font-family: var(--cc-fdisp); font-weight: 600; font-size: 1.05rem; }
.cc .bcell__d { font-size: .9rem; color: var(--cc-dim); }
.cc .bcell--c2 { grid-column: span 2; }
.cc .bcell--c3 { grid-column: span 3; }
.cc .bcell--c4 { grid-column: span 4; }
.cc .bcell--feature { flex-direction: row; gap: 22px; align-items: center; }
.cc .bcell--feature .bcell__txt { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.cc .themeart { display: flex; gap: 8px; }
.cc .themeart > div { flex: 1; height: 56px; border-radius: 9px; border: 1px solid var(--cc-border); position: relative; overflow: hidden; }
.cc .themeart .ta-dark { background: #0d0d12; }
.cc .themeart .ta-light { background: #f4f4f8; }
.cc .themeart b { position: absolute; left: 8px; top: 7px; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.cc .themeart .ta-dark::after, .cc .themeart .ta-light::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 9px; height: 4px; border-radius: 2px; }
.cc .themeart .ta-dark::after { background: #2c2c42; } .cc .themeart .ta-light::after { background: #d6d6e0; }
.cc .chipsart { display: flex; flex-wrap: wrap; gap: 6px; }
.cc .chipsart span { font-size: .72rem; padding: 4px 9px; border-radius: var(--cc-rpill); border: 1px solid var(--cc-border); color: var(--cc-dim); }
.cc .chipsart span.on { border-color: var(--accent-22); background: var(--accent-12); color: var(--accent); }

/* ── SETUP / STEPS ── */
.cc.setup { padding: clamp(56px,8vw,110px) clamp(16px,4vw,32px); }
.cc .steps { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; list-style: none; }
.cc .step { background: var(--cc-surface); border: 1px solid var(--cc-border); border-radius: var(--cc-rcard); padding: 26px 24px; }
.cc .step__k { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-12); color: var(--accent); border: 1px solid var(--accent-22); font-size: 1.2rem; }
.cc .step__t { font-family: var(--cc-fdisp); font-weight: 600; font-size: 1.15rem; margin-top: 16px; }
.cc .step__b { margin-top: 8px; color: var(--cc-dim); font-size: .92rem; }

/* keyframes (global, additive) */
@keyframes ccCaret { 50% { opacity: 0; } }
@keyframes ccEq { 0%,100%{transform:scaleY(.5)} 50%{transform:scaleY(1.6)} }

/* ── responsive ── */
@media (max-width: 960px) {
  .cc .demos__layout { grid-template-columns: 1fr; gap: 18px; }
  .cc .demos__rail { position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .cc .demos__rail::-webkit-scrollbar { display: none; }
  .cc .demotab { flex: 0 0 auto; width: 220px; }
  .cc .bento { grid-template-columns: repeat(2,1fr); }
  .cc .bcell--c2, .cc .bcell--c3, .cc .bcell--c4 { grid-column: span 1; }
  .cc .bcell--feature { grid-column: span 2; flex-direction: row; }
}
@media (max-width: 680px) {
  .cc .bento { grid-template-columns: 1fr; }
  .cc .bcell--c2, .cc .bcell--c3, .cc .bcell--c4, .cc .bcell--feature { grid-column: span 1; }
  .cc .bcell--feature { flex-direction: column; align-items: flex-start; }
  .cc .steps { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════
   Refined-demo host: rail+stage layout that keeps the stage OUTSIDE the .cc
   cascade, so the genuine refined demos (hotkey / auto / app) render with
   their own styles and never collide with .cc class rules (.usb, .pcard…).
   ════════════════════════════════════════════════════════════════════════ */
.ob { color: var(--accent); font-weight: 600; }
.ccx-layout { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 26px; align-items: start; }
.ccx-rail { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 82px; }
.ccx-stage { min-height: 424px; }
.ccx-win { display: flex; flex-direction: column; min-height: 424px; background: var(--cc-bg); border: 1px solid var(--cc-border); border-radius: var(--cc-rcard); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.02); }
.ccx-bar { height: 34px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 13px; background: var(--cc-bg-deep); border-bottom: 1px solid #16162a; }
.ccx-dot { width: 8px; height: 8px; border-radius: 50%; background: #2a2a3c; }
.ccx-dot:first-child { background: var(--accent); }
.ccx-title { margin-left: 6px; font-size: .72rem; color: var(--cc-muted); font-weight: 500; }
.ccx-chip { margin-left: auto; font-family: var(--cc-fmono); font-size: .66rem; color: var(--cc-muted); border: 1px solid var(--cc-border); border-radius: var(--cc-rpill); padding: 2px 9px; }
.ccx-body { position: relative; flex: 1; min-height: 0; }
.ccx-body .feat-demo { position: absolute; inset: 0; width: auto; height: auto; aspect-ratio: auto; border: none; border-radius: 0; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, #15151f 0%, #0b0b10 70%); }
/* Make the in-demo step bar a clean full-width footer so it never overlaps the demo */
.ccx-body .feat-demo .d-scene { padding-bottom: 66px; }
/* Auto-switch demo: tidy centered column + a real status pill (no orphaned text) */
.ccx-body .feat-demo .d-auto { flex-direction: column; flex-wrap: nowrap; gap: 13px; max-width: 300px; margin: 0 auto; }
.ccx-body .d-auto .auto-state { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: var(--cc-rpill); border: 1px solid var(--cc-border); background: var(--cc-surface-2); color: var(--cc-dim); }
.ccx-body .d-auto .auto-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cc-faint); }
.ccx-body .d-auto .auto-state.ok { color: var(--mic); border-color: rgba(45,202,114,.3); background: var(--mic-12); }
.ccx-body .d-auto .auto-state.ok::before { background: var(--mic); box-shadow: 0 0 8px var(--mic); }
.ccx-body .demo-steps { left: 0; right: 0; bottom: 0; z-index: 26; padding: 13px 20px; border: none; border-top: 1px solid var(--cc-hair); border-radius: 0; background: var(--cc-bg-deep); backdrop-filter: none; }
@media (max-width: 960px) {
  .ccx-layout { grid-template-columns: 1fr; gap: 18px; }
  .ccx-rail { position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .ccx-rail::-webkit-scrollbar { display: none; }
  .ccx-rail .demotab { flex: 0 0 auto; width: 220px; }
}

/* Section titles use Space Grotesk (matches the demos / bento / setup heads) */
h2.section-title, .hero-copy h1 { font-family: var(--cc-fdisp); letter-spacing: -.02em; }

/* Cursor for the CC demos (create / schedule / mini) */
.cc-cursor { position: absolute; left: 0; top: 0; width: 21px; height: 21px; margin: -2px 0 0 -3px; z-index: 40; opacity: 0; pointer-events: none; transition: transform .55s cubic-bezier(.45,0,.2,1), opacity .25s; filter: drop-shadow(0 2px 3px rgba(0,0,0,.55)); }
.cc-cursor svg { width: 100%; height: 100%; display: block; }
.cc-cursor.tap svg { animation: ccCurTap .28s ease; }
@keyframes ccCurTap { 0%,100% { transform: scale(1); } 45% { transform: scale(.72); } }
