/* Captchoo: lavender white, violet and lime, Bricolage Grotesque and JetBrains Mono */
:root {
  --bg: #faf8ff;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3efff;
  --text: #1a1033;
  --muted: #5b5375;
  --line: rgba(26, 16, 51, .1);
  --accent: #6d28d9;
  --accent-2: #a3e635;
  --on-accent: #ffffff;
  --ok: #4d7c0f;
  --bad: #be123c;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Bricolage Grotesque", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(26, 16, 51, .06), 0 24px 50px -26px rgba(109, 40, 217, .35);
}
body { font-variation-settings: "wdth" 100, "opsz" 16; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.04em; font-variation-settings: "wdth" 88, "opsz" 96; }
.brand { font-weight: 800; font-size: 22px; letter-spacing: -.04em; }
.card { box-shadow: var(--shadow); }
.nav.scrolled { background: rgba(250, 248, 255, .82); }
.btn-ghost { background: #fff; }
.pill, .seg, .chip span, .input, .faq details { background: #fff; }
.faq details[open] { box-shadow: var(--shadow); background: #fff; }
.pill b { background: var(--text); color: var(--accent-2); }
.cc-mark { background: linear-gradient(transparent 58%, var(--accent-2) 58%, var(--accent-2) 92%, transparent 92%); padding-inline: .06em; }

/* Hero */
.cc-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(109, 40, 217, .16) 1.2px, transparent 1.2px); background-size: 22px 22px; -webkit-mask: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%); mask: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%); pointer-events: none; }
.cc-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cc-h1 { font-size: clamp(48px, 7.4vw, 100px); line-height: .95; }
.cc-strike { display: inline; color: var(--accent); }
.cc-widget-wrap { display: grid; gap: 12px; }
.cc-window { border-radius: 22px; background: #fff; box-shadow: 0 50px 100px -40px rgba(109, 40, 217, .5), 0 0 0 1px var(--line); overflow: hidden; --trail-color: var(--accent-2); }
.cc-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.cc-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d8cff5; }
.cc-bar span { margin-left: 12px; font: 500 12.5px var(--font-mono); color: var(--muted); background: #fff; padding: 4px 12px; border-radius: 999px; }
.cc-widget { padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; }
.cc-w-title { font-weight: 700; font-size: 18px; }
.cc-track { position: relative; height: 86px; border-radius: 18px; background: linear-gradient(180deg, #f6f3ff, #efe9ff); border: 1px solid var(--line); overflow: hidden; touch-action: none; }
.cc-rail { position: absolute; left: 10px; right: 10px; bottom: 12px; height: 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, #b9a8ec 0 10px, transparent 10px 18px); }
.cc-fill { position: absolute; left: 0; bottom: 0; top: 0; width: calc(var(--pos, 0) * 1%); background: linear-gradient(90deg, rgba(163, 230, 53, 0), rgba(163, 230, 53, .28)); pointer-events: none; }
.cc-station { position: absolute; right: 10px; bottom: 18px; display: grid; justify-items: center; gap: 2px; color: var(--accent); font: 700 10.5px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.cc-station .i { width: 20px; height: 20px; }
.cc-thumb { position: absolute; left: 0; bottom: 14px; width: 110px; transform: translateX(calc(var(--pos, 0) / 100 * (var(--tw, 300px) - 120px))); cursor: grab; outline: none; border-radius: 12px; padding: 0 4px; }
.cc-thumb:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.cc-track.drag .cc-thumb { cursor: grabbing; }
.cc-train { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 6px 8px rgba(26, 16, 51, .18)); }
.cc-puffs circle { fill: #d8cff5; animation: cc-puff 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.cc-puffs circle:nth-child(2) { animation-delay: .4s; }
.cc-puffs circle:nth-child(3) { animation-delay: .8s; }
@keyframes cc-puff { 0% { opacity: 0; transform: translateY(6px) scale(.6); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-6px, -8px) scale(1.2); } }
.cc-track.moving .cc-wheel { animation: lp-rot .6s linear infinite; transform-box: fill-box; transform-origin: center; }
.cc-result { min-height: 52px; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.cc-hint { color: var(--muted); font-weight: 500; font-size: 15px; }
.cc-ok, .cc-no { display: inline-flex; align-items: center; gap: 12px; animation: lp-pop .5s var(--ease-spring); }
.cc-ok .cc-check { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-2); color: #1a1033; }
.cc-ok .cc-check .i { stroke-width: 3; }
.cc-no { color: var(--bad); }
.cc-signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cc-signals div { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.cc-signals span { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cc-signals b { font: 700 16px var(--font-mono); font-variant-numeric: tabular-nums; }
.cc-w-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.cc-brand-sm { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--text); font-size: 14px; }
.cc-brand-sm svg { width: 20px; height: 20px; }
.cc-w-foot .linklike { color: var(--accent); font-weight: 700; min-height: 32px; }
.cc-caption { font-size: 13.5px; color: var(--muted); text-align: center; }

/* Band */
.cc-band { background: #1a1033; color: #fff; padding-block: 18px; transform: rotate(-1.2deg); margin-block: 20px; }
.cc-band span { display: inline-flex; align-items: center; gap: 10px; font: 700 clamp(20px, 2.4vw, 28px)/1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; }
.cc-band .i { color: var(--accent-2); width: 24px; height: 24px; stroke-width: 3; }

/* Proof of work card */
.cc-pow { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: center; }
.cc-pow-copy .btn { margin-top: 16px; }
.cc-pow-out { position: relative; display: grid; justify-items: center; gap: 6px; }
.cc-pow-out svg { width: 170px; transform: rotate(-90deg); }
.cc-pow-out circle { fill: none; stroke-width: 9; }
.cc-pow-out .t { stroke: var(--surface-2); }
.cc-pow-out .p { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--pp, 0) * 100); transition: stroke-dashoffset .2s linear; }
.cc-pow-out.done .p { stroke: #65a30d; }
.cc-pow-num { position: absolute; top: 52px; display: grid; justify-items: center; }
.cc-pow-num b { font: 700 26px var(--font-mono); font-variant-numeric: tabular-nums; }
.cc-pow-num span { font-size: 12px; color: var(--muted); }
.cc-pow-msg { font-size: 14px; color: var(--muted); text-align: center; min-height: 2.6em; max-width: 26ch; }

/* Developers */
.cc-dev-sec { background: linear-gradient(180deg, transparent, #f1ecff 35%, #f1ecff 70%, transparent); }
.cc-dev-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.cc-dev-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.cc-dev-list .i { color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; width: 22px; height: 22px; stroke-width: 3; }
.cc-code { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.cc-code-tabs { justify-self: start; }
.cc-code-body { position: relative; border-radius: 20px; background: #160d2e; box-shadow: 0 40px 80px -40px rgba(26, 16, 51, .7); }
.cc-code-body pre { margin: 0; padding: 26px 24px; overflow-x: auto; font: 500 13.5px/1.7 var(--font-mono); color: #e9e3ff; }
.cc-code-body pre[hidden] { display: none; }
.cc-code-body .c { color: #8f84b3; }
.cc-code-body .t { color: #c4b5fd; }
.cc-code-body .a { color: #a3e635; }
.cc-code-body .s { color: #fcd34d; }
.cc-code-body .k { color: #f0abfc; }
.cc-code-body .n { color: #67e8f9; }
.cc-copy { position: absolute; top: 12px; right: 12px; background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .15); }

/* Join */
.cc-cta { background: #1a1033; color: #fff; border: 0; --text: #fff; --muted: #c9c0e6; --line: rgba(255, 255, 255, .16); --accent: #a3e635; --on-accent: #1a1033; --ok: #a3e635; }
.cc-cta .cc-mark { color: #1a1033; background: #a3e635; padding: 0 .14em; border-radius: .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; line-height: 1.15; }
.cc-cta-train { position: absolute; right: -40px; bottom: -6px; width: 260px; opacity: .14; transform: scaleX(-1); }
.cc-cta-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cc-cta-grid > div { display: grid; gap: 18px; }
.cc-cta .input { background: rgba(255, 255, 255, .08); color: #fff; }
.cc-cta .chip span { background: rgba(255, 255, 255, .06); color: #fff; }
.cc-fs { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }

@media (max-width: 980px) {
  .cc-hero-grid, .cc-cta-grid { grid-template-columns: 1fr; }
  .cc-pow { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cc-thumb { width: 92px; }
  .cc-signals b { font-size: 14px; }
  .cc-code-body pre { font-size: 12px; padding: 22px 16px; }
}
.cc-signals[hidden] { display: none; }
