:root {
  --bg: #ffffff; --alt: #f5f5f2; --ink: #0a0a0a; --ink-2: #3b3b3b; --muted: #6a6a6a;
  --line: #e2e2e2; --card: #ffffff; --accent: #ffd400; --night: #000000; --night-2: #101010;
  --font-d: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-b: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --font-m: "JetBrains Mono", ui-monospace, "Cascadia Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
/* The panel screenshot follows the theme: never a white picture in dark mode. */
.shot-dark { display: none; }
:root[data-theme="dark"] .shot-light { display: none; }
:root[data-theme="dark"] .shot-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot-light { display: none; }
  :root:not([data-theme="light"]) .shot-dark { display: block; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #050505; --alt: #0e0e0e; --ink: #f2f2f2; --ink-2: #c8c8c8; --muted: #8c8c8c;
    --line: #262626; --card: #121212; --night-2: #0c0c0c; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #050505; --alt: #0e0e0e; --ink: #f2f2f2; --ink-2: #c8c8c8; --muted: #8c8c8c;
  --line: #262626; --card: #121212; --night-2: #0c0c0c; color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.65 var(--font-b); overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #000; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; }

/* ---------- top bar: black, like the logo */
.bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 28px; height: 68px; padding: 0 clamp(16px, 4vw, 44px); background: rgba(0, 0, 0, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); transition: height .3s var(--ease); }
.bar.scrolled { height: 60px; }
.brand { display: flex; align-items: center; text-decoration: none; color: #fff; font: 800 20px var(--font-d); }
.logo-img { display: block; height: 32px; width: auto; max-width: 170px; object-fit: contain; }
.logo-fb { display: inline-flex; align-items: center; gap: 10px; }
.logo-fb[hidden], .logo-img[hidden] { display: none; }
.logo { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #000; display: grid; place-items: center; font-size: 18px; }
.nav { display: flex; gap: 26px; }
.nav a { position: relative; color: #d9d9d9; text-decoration: none; font-weight: 700; font-size: 15.5px; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.langs { display: flex; gap: 12px; font-size: 15px; }
.langs a { color: #a8a8a8; text-decoration: none; }
.langs a:hover { color: #fff; }
.langs a[aria-current] { color: #fff; font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); }
.theme { width: 38px; height: 38px; border-radius: 10px; border: 1px solid #2c2c2c; background: #141414; color: #fff; display: grid; place-items: center; cursor: pointer; transition: border-color .2s; }
.theme:hover { border-color: var(--accent); }

/* ---------- hero: night with the brand yellow */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: clamp(56px, 9vw, 120px) clamp(16px, 4vw, 44px) 0; }
.glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(255, 212, 0, .28), rgba(255, 212, 0, 0)); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); pointer-events: none; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-6%, 8%) scale(1.08); } }
.hero-in { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 26px; padding: 6px 14px; border: 1px solid rgba(255, 212, 0, .5); border-radius: 999px; color: var(--accent); font: 600 13.5px var(--font-m); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 212, 0, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 212, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0); } }
h1 { font: 800 clamp(46px, 6.8vw, 92px)/.95 var(--font-d); letter-spacing: -0.03em; margin: 0 0 26px; color: var(--accent); text-wrap: balance; }
.lead { font-size: clamp(18px, 1.55vw, 21px); color: #cfcfcf; max-width: 33em; margin: 0 0 36px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 14px; border: 2px solid var(--accent); background: var(--accent); color: #000; font: 800 17px var(--font-d); text-decoration: none; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 212, 0, .35); }
.btn:hover::after { transform: translateX(120%); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn.ghost::after { display: none; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }

.term { position: relative; margin: 0; background: #0b0b0b; color: #e8e8e8; border: 1px solid #2a2a2a; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 212, 0, .08); overflow: hidden; transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .6s var(--ease); }
.term:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #161616; border-bottom: 1px solid #222; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #333; }
.term-bar i:first-child { background: var(--accent); }
.term-bar em { margin-left: 10px; font: 13px var(--font-m); color: #8f8f8f; font-style: normal; }
.term-log { min-height: 15.5em; padding: 18px 20px 22px; font: 14.5px/1.85 var(--font-m); }
.ln { padding-left: calc(5ch + 12px); text-indent: calc(-5ch - 12px); }
.ln.new { animation: line-in .35s var(--ease) both; }
@keyframes line-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ln .t { color: #777; margin-right: 12px; }
.ln b { margin-right: 9px; }
.ln.sys .m { color: var(--accent); }
.n-lucia { color: #ff8a65; } .n-tomas { color: #4fd1a5; } .n-y2k { color: var(--accent); } .n-status { color: #9a9a9a; }
.caret { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.stats { position: relative; max-width: 1180px; margin: clamp(48px, 7vw, 88px) auto 0; padding: 28px 0 40px; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid #222; }
.stats li { display: flex; flex-direction: column; }
.stats b { font: 800 clamp(38px, 4.4vw, 58px)/1 var(--font-d); color: #fff; font-variant-numeric: tabular-nums; }
.stats span { color: #9a9a9a; font-size: 15.5px; margin-top: 6px; }

/* ---------- networks marquee */
.marquee { background: var(--accent); color: #000; overflow: hidden; border-top: 2px solid #000; border-bottom: 2px solid #000; }
.track { display: flex; width: max-content; animation: scroll 32s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track ul { display: flex; margin: 0; padding: 0; list-style: none; }
.track li { font: 800 clamp(20px, 2.2vw, 28px)/1 var(--font-d); padding: 22px 0; white-space: nowrap; display: flex; align-items: center; }
.track li::after { content: "✦"; font-size: .6em; margin: 0 34px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- bands */
.band { padding: clamp(72px, 10vw, 128px) clamp(16px, 4vw, 44px); }
.band.alt { background: var(--alt); }
.band.dark { background: var(--night-2); color: #f2f2f2; }
.kicker { margin: 0 0 12px; font: 700 14px var(--font-m); color: var(--muted); }
.band.dark .kicker { color: var(--accent); }
h2 { font: 800 clamp(34px, 4.6vw, 60px)/1.02 var(--font-d); letter-spacing: -0.025em; margin: 0 0 40px; max-width: 18ch; text-wrap: balance; }
h3 { font: 800 21px/1.25 var(--font-d); margin: 0 0 8px; }
.body { color: var(--ink-2); max-width: 36em; }
.band.dark .body { color: #c9c9c9; }

/* how it works */
.flow-wrap { margin: 0 0 48px; }
.flow { display: block; width: 100%; height: auto; }
.flow-v { display: none; max-width: 420px; margin: 0 auto; }
@media (max-width: 700px) { .flow { display: none; } .flow-v { display: block; } .flow-v .node text { font-size: 15px; } }
.flow .wire { fill: none; stroke: var(--line); stroke-width: 2; }
.flow .pkt { fill: var(--accent); filter: drop-shadow(0 0 6px rgba(255, 212, 0, .9)); }
.flow .pkt.dim { fill: #ffe666; }
.flow .node rect { fill: var(--card); stroke: var(--ink); stroke-width: 2; }
.flow .node text { fill: var(--ink); font: 700 17px var(--font-b); text-anchor: middle; }
.flow .core rect { fill: #000; stroke: var(--accent); stroke-width: 3; }
.flow .core-name { fill: var(--accent); font: 800 34px var(--font-d); text-anchor: middle; }
.flow .core-sub { fill: #cfcfcf; font: 600 14px var(--font-m); text-anchor: middle; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.how .num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #000; font: 800 19px var(--font-d); margin-bottom: 14px; }
.how p { margin: 0; color: var(--ink-2); }

/* features */
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s var(--ease); }
.feat.wide { grid-column: span 2; }
.feat:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 8px 8px 0 var(--accent); }
.feat .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--accent); color: #000; margin-bottom: 18px; }
.feat p { margin: 0; color: var(--ink-2); }
.feat.wide h3 { font-size: 26px; }
.feat.wide p { font-size: 19px; max-width: 34em; }

/* panel */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.ticks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 6px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; }
.more { font-weight: 700; text-decoration: none; box-shadow: inset 0 -3px 0 var(--accent); transition: box-shadow .2s; }
.more:hover { box-shadow: inset 0 -1.2em 0 var(--accent); color: #000; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, .18), 16px 16px 0 var(--accent); background: var(--card); }
.shot img { display: block; width: 100%; height: auto; }
.tilt { transform: perspective(1400px) rotateY(-10deg) rotateX(4deg) translateY(30px); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.tilt.in { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); opacity: 1; }

/* install */
.steps { list-style: none; counter-reset: s; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: s; border: 1px solid #262626; border-radius: 18px; padding: 24px; background: #000; transition: border-color .3s; }
.steps li:hover { border-color: var(--accent); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: #000; font: 800 18px var(--font-d); margin-bottom: 16px; }
.step-title { display: block; font: 800 20px var(--font-d); margin-bottom: 12px; }
.cmd { display: flex; align-items: center; gap: 8px; background: #111; border: 1px solid #262626; border-radius: 10px; padding: 10px 10px 10px 14px; }
.cmd code { flex: 1; font: 14px/1.5 var(--font-m); color: var(--accent); overflow-wrap: anywhere; }
.copy { flex: none; width: 34px; height: 34px; border-radius: 8px; border: 1px solid #333; background: #1a1a1a; color: #ddd; display: grid; place-items: center; cursor: pointer; transition: border-color .2s, color .2s; }
.copy:hover, .copy.done { border-color: var(--accent); color: var(--accent); }
.copy svg { width: 16px; height: 16px; }

/* final call */
.final { background: var(--accent); color: #000; text-align: center; padding: clamp(72px, 10vw, 120px) clamp(16px, 4vw, 44px); border-top: 2px solid #000; }
.final h2 { margin: 0 auto 18px; max-width: 16ch; }
.final p { font-size: 20px; max-width: 32em; margin: 0 auto 32px; }
.final .cta { justify-content: center; }
.final .btn { background: #000; color: var(--accent); border-color: #000; }
.final .btn:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.final .btn.ghost { background: transparent; color: #000; border-color: #000; }
.final .btn.ghost:hover { color: #000; background: rgba(0, 0, 0, .06); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px clamp(16px, 4vw, 44px); background: #000; color: #9a9a9a; font-size: 15px; }
.foot a { color: #fff; text-decoration: none; box-shadow: inset 0 -2px 0 var(--accent); }

/* ---------- entrances: the hero once, the rest as it scrolls into view */
.rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.term.rise { animation-name: rise-term; animation-fill-mode: backwards; }
@keyframes rise-term { from { opacity: 0; transform: perspective(1200px) rotateY(-14deg) rotateX(6deg) translateY(30px); } to { opacity: 1; transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); } }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--stagger, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-in, .split { grid-template-columns: 1fr; }
  .term { transform: none; }
  .term.rise { animation-name: rise; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: 1fr 1fr; }
  .feat.wide { grid-column: span 2; }
  .how, .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 620px) {
  .feats { grid-template-columns: 1fr; }
  .feat.wide { grid-column: auto; }
  .term-log { font-size: 13px; min-height: 0; }
  .langs { gap: 8px; font-size: 14px; }
  .bar { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .tilt { opacity: 1; transform: none; }
  .flow .pkt { display: none; }
}
