/* =====================================================================
   Clipora: pure black, acid lime, iridescent chrome.
   Loaded after style.css; it re-skins the app and draws the homepage.
   ===================================================================== */
:root {
  --lime: #c6ff3d;
  --txt: #f1f3ee;
  --mute: rgba(241, 243, 238, 0.55);
  --line: rgba(241, 243, 238, 0.22);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.18, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --bg: #000; --panel: #070707; --panel-2: #0e0f0c; --panel-3: #171913; --panel-4: #22251b;
  --border: rgba(241, 243, 238, 0.12); --border-strong: rgba(241, 243, 238, 0.22); --border-hover: var(--lime);
  --text: var(--txt); --muted: rgba(241, 243, 238, 0.62); --subtle: rgba(241, 243, 238, 0.4);
  --accent: var(--lime); --accent-2: #a6e02a; --accent-light: var(--lime); --accent-ink: #000;
  --accent-soft: rgba(198, 255, 61, 0.12); --accent-glow: none; --gradient: var(--lime);
  --blue: #a6e02a; --green: var(--lime);
  --stage: #000; --stage-2: #0b0b0b; --on-stage: var(--txt);
  --radius: 16px; --radius-sm: 10px;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --display: "Unbounded", "Inter Tight", sans-serif;
  --wide: "Unbounded", "Inter Tight", sans-serif;
  --serif: "Unbounded", "Inter Tight", sans-serif;
}
::selection { background: var(--lime); color: #000; }
body { background: #000; color: var(--txt); font-family: var(--sans); }
body::after { opacity: 0.07; }

/* ---------- Type ---------- */
.page-head h1, .stage-hero h2, .empty h3 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em;
  transform: skewX(-8deg); transform-origin: left bottom;
}
.page-head h1 { font-size: clamp(34px, 4.6vw, 72px); line-height: 0.95; }
.page-head p, .card-meta, .stat-label, .nav a, .btn, .chip, .ed-back, .ref-tag, .account-name, .social-link, .quota-row, .demo-pill {
  font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
}
.page-head p { font-size: 11px; color: var(--mute); }
.stat-value { font-family: var(--display); font-weight: 800; color: var(--lime); transform: skewX(-8deg); display: inline-block; }
.stage-hero h2 span { color: var(--lime); }

/* ---------- Shell ---------- */
.sidebar { background: #000; border-right: 1px solid var(--line); backdrop-filter: none; }
.brand-logo { width: 28px; height: 30px; object-fit: contain; }
.brand-name { font: 500 16px/1.1 var(--sans); letter-spacing: 0.01em; }
.brand-name small { font: 400 9.5px/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.nav a { font-size: 11px; border-radius: 99px; padding-left: 14px; }
.nav a.active { background: var(--lime); color: #000; box-shadow: none; }
.nav a.active .icon { color: #000; filter: none; }
.nav a:hover:not(.active) { background: transparent; color: var(--lime); }
.quota { border-radius: var(--radius); }
.meter span, .progress span { background: var(--lime); box-shadow: none; }
.social-link { font-size: 10px; }
.social-link:hover { color: var(--lime); }

/* ---------- Buttons & chips: pills, lime fill on hover ---------- */
.btn { border-radius: 99px; font-size: 11px; font-weight: 500; border: 1px solid var(--border-strong); background: transparent; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--spring); }
.btn:hover { background: transparent; border-color: var(--lime); color: var(--lime); }
.btn.primary, .stage-hero .hero-cta, .assist-send, .play-btn { background: var(--lime); border-color: var(--lime); color: #000; box-shadow: none; }
.btn.primary:hover, .stage-hero .hero-cta:hover, .play-btn:hover { background: var(--txt); border-color: var(--txt); color: #000; filter: none; }
.btn.ghost { border-color: transparent; }
.btn:active { transform: scale(0.96); }
.chip { border-radius: 99px; font-size: 10.5px; }
.chip.active { background: var(--lime); border-color: var(--lime); color: #000; }

/* ---------- Surfaces: hairlines, soft frosted panels ---------- */
.ed-panel, .panel, .stat, .card, .active-row, .empty {
  background: rgba(14, 15, 12, 0.7); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: none;
}
.stat:first-child { background: var(--lime); border-color: var(--lime); }
.stat:first-child .stat-value { color: #000; }
.card { overflow: hidden; transition: border-color 0.3s, transform 0.5s var(--out); }
.card:hover { border-color: var(--lime); transform: translateY(-4px); box-shadow: 0 20px 50px -24px rgba(198, 255, 61, 0.35); }
.input, .prompt-box { border-radius: 12px; background: #050505; }
.input:focus, .prompt-box:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198, 255, 61, 0.12); }
.empty .empty-icon { border-radius: 50%; background: var(--accent-soft); color: var(--lime); }
.toast { border-radius: 99px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Editor ---------- */
.ed-top { background: #000; border-bottom: 1px solid var(--line); backdrop-filter: none; }
.ed-wordmark { font: 500 16px/1 var(--sans); text-transform: none; letter-spacing: 0.01em; }
.ed-wordmark sup { color: var(--lime); font-family: var(--mono); }
.ed-logo { width: 22px; height: 24px; object-fit: contain; }
.ed-tab { border-radius: 12px; }
.stage-hero .hero-cta { border-radius: 99px; }
.ed-tab.active { background: var(--lime); color: #000; box-shadow: none; }
.ed-tab.active .icon { color: #000; }
.pstage { background: radial-gradient(60% 60% at 50% 60%, rgba(198, 255, 61, 0.06), transparent 70%), #000; }
.pframe, .pvideo { border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 30px 80px -30px rgba(198, 255, 61, 0.25); }
.tclip { border-radius: 8px; }
.tclip.selected { box-shadow: inset 0 0 0 2px var(--lime); }
.tl-playhead { background: var(--lime); }
.preset.active, .anim-opt.active, .font-opt.active, .motion-opt.active, .aspect-pick button.active, .swap.active { box-shadow: inset 0 0 0 1px var(--lime); }
.bubble { border-radius: 14px; }
.bubble.user { background: var(--lime); color: #000; }
.agent-hover { outline-color: var(--lime) !important; }
.ed-back span { color: var(--lime); }

/* =====================================================================
   Homepage: four locked scenes.
   ===================================================================== */
body.home-mode .app { grid-template-columns: 1fr; }
body.home-mode .sidebar { display: none; }
body.home-mode .main { padding: 0; }
html:has(body.home-mode), body.home-mode { overflow: hidden; height: 100%; overscroll-behavior: none; }
body.home-mode { touch-action: none; }
body.home-mode::after { display: none; }
@media (pointer: fine) { body.home-mode, body.home-mode a, body.home-mode button, body.home-mode summary { cursor: none; } }

.ex {
  --hh: clamp(54px, 8.6vh, 80px); --fh: clamp(40px, 6vh, 54px); --gx: 2.2vw;
  --H: min(84vh, 46vw); --H2: min(64vh, 36vw);
  --har: 1.7778; --bar: 1.7778; --lar: 1.7778;
  --hw: min(64vw, 1100px); --bw: min(96vw, 1700px); --lw: min(62vw, 980px);
  color: var(--txt); font-family: var(--sans);
}
.ex-mono { margin: 0; font: 400 10px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.ex-dim { color: var(--mute); }
.ex .hide { opacity: 0; pointer-events: none; }
.ex .ln { display: block; overflow: hidden; padding-bottom: 0.22em; margin-bottom: -0.22em; }
.ex .ln > * { display: inline-block; will-change: transform; }

.ex-stage { position: fixed; inset: 0; height: 100vh; height: 100dvh; background: #000; overflow: hidden; isolation: isolate; }
.ex-glow { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 60%, rgba(198, 255, 61, 0.075), transparent 70%); pointer-events: none; }
.ex-grain {
  position: fixed; inset: -50%; z-index: 40; pointer-events: none; opacity: 0.18; animation: ex-grain 1s steps(6) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes ex-grain { 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }

/* Screen-blended layers carry the blend themselves; their layout boxes take no z-index so it reaches the stage. */
.ex-scr { mix-blend-mode: screen; }
.ex-fill { position: absolute; inset: 0; }
.ex-fill video { width: 100%; height: 100%; display: block; }
.ex-mq {
  position: absolute; left: 0; width: 100%; overflow: hidden; will-change: transform, clip-path;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
}
.ex-track { display: flex; width: max-content; will-change: transform; }
#ex-wm { top: 25vh; height: calc(var(--H) * 0.31); }
.ex-word {
  display: flex; align-items: center; height: calc(var(--H) * 0.31); padding-right: 0.5em; white-space: nowrap;
  font: 900 calc(var(--H) * 0.2) / 1 var(--display); letter-spacing: -0.01em; transform: skewX(-8deg);
  background: linear-gradient(180deg, #fdfcff 8%, #d9d2ff 34%, #8a80c8 50%, #efeaff 60%, #ab9ff0 78%, #f7f4ff 94%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 1px rgba(198, 255, 61, 0.85)) drop-shadow(0 0 22px rgba(150, 190, 255, 0.28));
}
.ex-word i { font-style: normal; padding: 0 0.35em; }
#ex-qf { top: calc(76% - var(--H2) * 0.155); height: calc(var(--H2) * 0.31); }
#ex-qf img { height: var(--H2); width: auto; display: block; margin: calc(var(--H2) * -0.31) 0 calc(var(--H2) * -0.38); }

#ex-plinth { position: absolute; left: 0; width: 100vw; aspect-ratio: 16 / 9; top: calc(74vh - 31vw); will-change: transform; }
#ex-plinth img { width: 100%; height: 100%; display: block; }

#ex-hero { position: absolute; left: 50%; top: calc(74vh - 12.5vw); width: var(--hw); aspect-ratio: var(--har); will-change: transform, clip-path; }
.ex-lean { position: absolute; inset: 0; will-change: transform; }
.ex-hit { position: absolute; left: 30%; top: 18%; width: 40%; height: 64%; border-radius: 30%; }

/* How it works */
#ex-how { position: absolute; left: var(--gx); top: 30vh; z-index: 6; max-width: min(420px, 38vw); }
.ex-swatch {
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 22px; transform: scale(0); transition: transform 0.8s var(--spring);
  background: repeating-linear-gradient(135deg, #c6ff3d 0 4px, #7fd42a 4px 6px), #c6ff3d; box-shadow: 0 0 30px rgba(198, 255, 61, 0.45);
}
#ex-how.on .ex-swatch { transform: scale(1); }
.ex-name { font: 500 clamp(30px, 3.6vw, 58px) / 1.05 var(--sans); letter-spacing: -0.03em; margin-bottom: 22px; }
.ex-name b { font-weight: 500; color: var(--lime); }
#ex-how .ex-mono { font-size: 10.5px; line-height: 1.65; color: var(--mute); margin-bottom: 14px; }
.ex-sc .ln > * { transform: translateY(140%); transition: transform 0.55s cubic-bezier(0.7, 0, 0.84, 0); }
.ex-sc.on .ln > * { transform: none; transition: transform 1s var(--out) calc(var(--i, 0) * 70ms + 80ms); }

.ex-steps {
  position: absolute; right: var(--gx); top: 50%; z-index: 6; width: min(820px, 54vw); margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; transform: translateY(-46%);
}
.ex-steps li {
  position: relative; padding: 22px 22px 24px; min-height: 190px; border: 1px solid var(--line); border-radius: 18px;
  background: rgba(18, 20, 16, 0.5); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  clip-path: inset(0 0 100% 0 round 18px); translate: 0 30px; transition: clip-path 0.5s var(--ease-io), translate 0.5s var(--ease-io), border-color 0.3s;
}
.ex-steps.on li { clip-path: inset(0 0 0 0 round 18px); translate: 0 0; transition: clip-path 0.9s var(--out) calc(var(--i) * 110ms + 200ms), translate 1s var(--out) calc(var(--i) * 110ms + 200ms), border-color 0.3s; }
.ex-steps li:hover { border-color: var(--lime); }
.ex-num { display: block; color: var(--lime); margin-bottom: 26px; }
.ex-steps h3 { margin: 0 0 10px; font: 800 clamp(16px, 1.5vw, 24px) / 1.05 var(--display); text-transform: uppercase; letter-spacing: -0.02em; transform: skewX(-8deg); transform-origin: left; }
.ex-steps p { margin: 0; font: 400 13px/1.5 var(--sans); color: var(--mute); }

/* Toolkit */
#ex-bbox { position: absolute; left: calc(50% - var(--bw) / 2); top: calc(41% - var(--bw) / var(--bar) / 2); width: var(--bw); aspect-ratio: var(--bar); }
#ex-bbox > .ex-fill { will-change: clip-path; }
.ex-ico { position: absolute; top: 48%; width: clamp(34px, 4.2vw, 80px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.ex-ico svg {
  width: 100%; height: 100%; display: block; overflow: visible; opacity: 0; transform: scale(0) rotate(-40deg); transition: transform 0.9s var(--spring), opacity 0.2s;
  filter: drop-shadow(-3px 0 rgba(255, 0, 0, 0.9)) drop-shadow(3px 0 rgba(0, 255, 255, 0.9));
}
.ex-ico.pop svg { opacity: 1; transform: none; }
.ex-ico.pop:hover svg { animation: ex-glitch 0.45s steps(2) infinite; }
@keyframes ex-glitch { 20% { transform: skewX(-14deg) translateX(-3px); } 40% { transform: skewX(10deg) translateX(2px); } 60% { transform: skewX(-6deg); } 80% { transform: skewX(16deg) translateX(-2px); } }
.ex-lbl { position: absolute; top: 64%; transform: translateX(-50%); text-align: center; white-space: nowrap; opacity: 0; translate: 0 12px; transition: opacity 0.5s, translate 0.8s var(--out); }
.ex-lbl.low { top: 70%; }
.ex-lbl.pop { opacity: 1; translate: 0 0; }
.ex-lbl .ex-mono { display: block; color: var(--txt); margin-bottom: 6px; }
.ex-lbl strong { display: inline-block; font: 800 clamp(16px, 1.9vw, 32px) / 1 var(--display); transform: skewX(-8deg); }

/* Start */
#ex-lbox { position: absolute; left: calc(50% - var(--lw) / 2); top: calc(34% - var(--lw) / var(--lar) / 2); width: var(--lw); aspect-ratio: var(--lar); }
#ex-lvid { will-change: transform, clip-path; }
#ex-outro { position: absolute; left: 0; right: 0; bottom: calc(var(--fh) + 5vh); z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 2.6vh; text-align: center; padding: 0 16px; }
#ex-outro h2 { margin: 0; font: 800 clamp(26px, 4.6vw, 84px) / 0.98 var(--display); letter-spacing: -0.03em; transform: skewX(-8deg); }
.ex-console, .ex .ln > .ex-console {
  display: flex; align-items: center; gap: 8px; width: min(640px, calc(100vw - 32px)); padding: 6px 6px 6px 20px;
  border: 1px solid var(--line); border-radius: 99px; background: rgba(12, 13, 10, 0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.3s;
}
.ex-console:focus-within { border-color: var(--lime); }
.ex-console input { flex: 1; min-width: 0; text-align: left; text-overflow: ellipsis; height: 40px; border: 0; outline: 0; background: none; color: var(--txt); font: 400 14px var(--sans); }
.ex-console input::placeholder { color: var(--mute); }
.ex-console button { flex: none; height: 40px; padding: 0 20px; border: 0; border-radius: 99px; background: var(--lime); color: #000; font: 600 14px var(--sans); white-space: nowrap; transition: transform 0.4s var(--spring); }
.ex-console button:hover { transform: scale(1.04); }
.ex-slices { position: absolute; inset: 0; z-index: 12; display: flex; pointer-events: none; visibility: hidden; }
.ex-slices i { flex: 1; margin-right: -1px; background: #000; }
.ex-slices.go { visibility: visible; }
.ex-slices.go i { animation: ex-slice 0.95s var(--ease-io) calc(var(--d) * 60ms + 80ms) both; }
@keyframes ex-slice { from { transform: scaleY(1); } to { transform: scaleY(0); } }

/* Header, footer, corners */
.ex-head {
  position: fixed; top: 0; left: var(--gx); right: var(--gx); z-index: 30; height: var(--hh); display: flex; align-items: center; gap: 2.2vw;
  border-bottom: 1px solid var(--line); animation: ex-drop 1.1s var(--out) both;
}
.ex-foot {
  position: fixed; bottom: 0; left: var(--gx); right: var(--gx); z-index: 30; height: var(--fh); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line); font: 400 10px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute);
  animation: ex-rise 1.1s var(--out) 0.12s both;
}
@keyframes ex-drop { from { transform: translateY(-100%); opacity: 0; } }
@keyframes ex-rise { from { transform: translateY(100%); opacity: 0; } }
.ex-brand { display: flex; align-items: center; gap: 10px; color: var(--txt); text-decoration: none; font: 500 15px/1 var(--sans); letter-spacing: 0.02em; white-space: nowrap; }
.ex-brand svg { width: 24px; height: 26px; }
.ex-welcome { color: var(--mute); white-space: nowrap; }
.ex-head nav { display: flex; gap: 2vw; margin-left: auto; }
.ex-head nav a { position: relative; padding: 6px 0; color: var(--txt); text-decoration: none; font: 400 11px/1 var(--mono); letter-spacing: 0.06em; }
.ex-head nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--out); }
.ex-head nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.ex-clock { display: flex; flex-direction: column; gap: 4px; font: 400 10px/1 var(--mono); letter-spacing: 0.08em; }
.ex-clock span:first-child { color: var(--mute); }
.ex-ring { position: relative; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--txt); display: grid; place-items: center; }
.ex-ring::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }
.ex-ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--lime); animation: ex-ping 1.8s var(--out) infinite; }
@keyframes ex-ping { 0% { transform: scale(1); opacity: 1; } 80%, 100% { transform: scale(2.3); opacity: 0; } }
.ex-pill {
  display: inline-flex; align-items: center; gap: 12px; height: 38px; padding: 0 5px 0 18px; border: 1px solid var(--txt); border-radius: 99px;
  background: none; color: var(--txt); text-decoration: none; white-space: nowrap; font: 500 11px/1 var(--mono); letter-spacing: 0.08em;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.ex-pill .chip { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--txt); color: #000; display: grid; place-items: center; transition: transform 0.5s var(--spring); }
.ex-pill .chip svg { width: 12px; height: 12px; }
.ex-pill:hover { background: var(--lime); border-color: var(--lime); color: #000; }
.ex-pill:hover .chip { transform: rotate(-45deg); }
.ex-head .ex-pill { margin-left: 1vw; }
.ex-foot .grp { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.ex-foot svg { width: 12px; height: 12px; flex: none; }
.ex-dashes { display: flex; align-items: center; gap: 2px; }
.ex-dashes button { padding: 10px 3px; border: 0; background: none; }
.ex-dashes i { display: block; width: 14px; height: 1px; background: var(--mute); transition: width 0.6s var(--out), background 0.3s; }
.ex-dashes .on i { width: 30px; height: 2px; background: var(--lime); }
.ex-dashes button:hover i { background: var(--txt); }

.ex-corner { position: fixed; top: calc(var(--hh) + 2.6vh); z-index: 20; max-width: 44vw; }
.ex-corner.left { left: var(--gx); }
.ex-corner.right { right: var(--gx); text-align: right; }
.ex-corner .big { font: 500 clamp(20px, 2.4vw, 40px) / 1.05 var(--sans); letter-spacing: -0.03em; }
.ex-corner .cap { margin-top: 10px; color: var(--mute); font: 400 10px/1.2 var(--mono); letter-spacing: 0.08em; }
.ex-corner .ln > span { transform: translateY(115%); }

.ex-hint { position: fixed; left: 50%; bottom: calc(var(--fh) + 3.4vh); z-index: 20; transform: translateX(-50%); white-space: nowrap; transition: opacity 0.4s; animation: ex-fade 1s var(--out) 1.5s both; }
.ex-hint b { color: var(--lime); font-weight: 400; }
.ex-next { position: fixed; left: var(--gx); bottom: calc(var(--fh) + 3vh); z-index: 20; display: flex; align-items: center; gap: 8px; padding: 6px 0; border: 0; background: none; color: var(--txt); transition: opacity 0.4s; animation: ex-fade 1s var(--out) 1.5s both; }
.ex-next svg { width: 10px; height: 10px; animation: ex-bob 1.6s var(--ease-io) infinite; }
@keyframes ex-bob { 50% { transform: translateY(3px); } }
@keyframes ex-fade { from { opacity: 0; transform: translateY(14px); } }
.ex-hint.hide { opacity: 0; }

/* FAQ panel */
.ex-panel {
  position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 16px; overflow-y: auto; touch-action: pan-y;
  background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
}
.ex-panel.open { display: grid; }
.ex-card { position: relative; width: min(620px, 100%); padding: 30px 28px 24px; border: 1px solid var(--line); border-radius: 22px; background: rgba(12, 13, 10, 0.75); }
.ex-card h2 { margin: 10px 0 18px; font: 800 clamp(26px, 5vw, 40px) / 1 var(--display); letter-spacing: -0.03em; transform: skewX(-8deg); transform-origin: left; }
.ex-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--txt); font: 400 16px/1 var(--mono); }
.ex-x:hover { border-color: var(--lime); color: var(--lime); }
.ex-card details { border-top: 1px solid var(--line); }
.ex-card summary { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; list-style: none; font: 500 15px/1.35 var(--sans); }
.ex-card summary::-webkit-details-marker { display: none; }
.ex-card summary::after { content: "+"; margin-left: auto; font: 400 16px var(--mono); color: var(--lime); transition: transform 0.4s var(--spring); }
.ex-card details[open] summary::after { transform: rotate(45deg); }
.ex-card summary .ex-mono { color: var(--lime); }
.ex-card details p { margin: 0 0 16px; font: 400 13.5px/1.55 var(--sans); color: var(--mute); }
.ex-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }

.ex-cursor {
  position: fixed; left: 0; top: 0; z-index: 80; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 1.5px solid var(--lime); border-radius: 50%; pointer-events: none;
  transition: width 0.35s var(--out), height 0.35s var(--out), margin 0.35s var(--out), background 0.3s, border-color 0.3s;
}
.ex-cursor.hov { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(198, 255, 61, 0.18); border-color: rgba(198, 255, 61, 0.7); }
@media (pointer: coarse) { .ex-cursor { display: none; } }

@media (max-width: 760px) {
  .ex { --gx: 16px; --bw: 150vw; --hw: 130vw; --lw: 120vw; }
  .ex-head nav, .ex-clock, .ex-ring, .ex-welcome, .ex-corner .cap, .ex-foot .plus, .ex-foot .copy { display: none; }
  .ex-head .ex-pill { margin-left: auto; height: 34px; padding-left: 14px; font-size: 10px; }
  .ex-head .ex-pill .chip { width: 24px; height: 24px; }
  .ex-corner { max-width: 46vw; }
  .ex-corner .big { font-size: 18px; }
  #ex-plinth { width: 170vw; left: calc(50% - 85vw); top: calc(74vh - 52.7vw); }
  #ex-hero { top: calc(74vh - 25vw); }
  #ex-how { top: 20vh; right: var(--gx); max-width: none; }
  .ex-swatch { width: 34px; height: 34px; margin-bottom: 12px; }
  .ex-name { font-size: 30px; margin-bottom: 12px; }
  #ex-how .ex-mono:last-child { display: none; }
  .ex-steps { left: var(--gx); right: var(--gx); width: auto; top: auto; bottom: calc(var(--fh) + 9vh); transform: none; gap: 8px; }
  .ex-steps li { min-height: 0; padding: 14px; border-radius: 14px; }
  .ex-steps p { display: none; }
  .ex-num { margin-bottom: 10px; }
  .ex-steps h3 { font-size: 13px; }
  #ex-bbox { top: calc(43% - var(--bw) / var(--bar) / 2); }
  .ex-lbl strong { font-size: 14px; }
  .ex-lbl .ex-mono { font-size: 8px; }
  #ex-lbox { top: calc(30% - var(--lw) / var(--lar) / 2); }
  .ex-hint { bottom: calc(var(--fh) + 12vh); font-size: 9px; }
  .ex-next { bottom: calc(var(--fh) + 2.2vh); }
  .ex-foot { font-size: 8.5px; letter-spacing: 0.02em; gap: 6px; }
  .ex-foot .grp { gap: 6px; }
  .ex-dashes button { padding: 10px 2px; }
  .ex-dashes i { width: 9px; }
  .ex-dashes .on i { width: 20px; }
}
