/* voxlings - shared styles. dark, glassy, one loud accent. */
:root {
  --bg: #07070b;
  --bg2: #0d0d13;
  --fg: #f2f2f5;
  --muted: rgba(242, 242, 245, 0.56);
  --faint: rgba(242, 242, 245, 0.34);
  --hair: rgba(255, 255, 255, 0.08);
  --hair2: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.06);
  --glass2: rgba(255, 255, 255, 0.1);
  --accent: #C8FF3D;
  --accent-dim: rgba(200, 255, 61, 0.14);
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --radius: 14px;
  --header-h: 60px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 40% at 50% -10%, rgba(255,255,255,0.06), transparent 70%),
    radial-gradient(120% 90% at 50% 120%, rgba(0,0,0,0.5), transparent 60%);
}
body.grain::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--fg); }
main { position: relative; z-index: 1; flex: 1; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* header */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7, 7, 11, 0.6);
  border-bottom: 1px solid var(--hair);
}
.hdr .wrap { display: flex; align-items: center; gap: 20px; height: 100%; }
.logo { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; }
.logo i { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); display: inline-block; transform: rotate(45deg) scale(.8); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 6px 10px; border-radius: 8px; color: var(--muted); font-size: 14px; }
.nav a:hover, .nav a.on { color: var(--fg); background: var(--glass); }
.hdr .sp { flex: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px;
  border: 1px solid var(--hair2); border-radius: 999px; background: var(--glass);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.pill b { color: var(--fg); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(200,255,61,.6); animation: pulse 2s infinite; }
.dot.off { background: #ff6b6b; animation: none; box-shadow: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200,255,61,.55);} 70% { box-shadow: 0 0 0 8px rgba(200,255,61,0);} 100% { box-shadow: 0 0 0 0 rgba(200,255,61,0);} }

/* type */
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(34px, 6vw, 64px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: 16px; }
p { margin: 0; }
.lead { color: var(--muted); font-size: 17px; max-width: 60ch; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.accent { color: var(--accent); }
.sec { padding: 56px 0; border-top: 1px solid var(--hair); }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--hair2); background: var(--glass); color: var(--fg); font: 500 14px var(--body); cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--glass2); transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #0a0f00; border-color: transparent; font-weight: 600; }
.btn.primary:hover { background: #d7ff6b; }
.btn.small { height: 30px; padding: 0 12px; font-size: 13px; }
.btn.danger { border-color: rgba(255,107,107,.4); color: #ff9b9b; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }

/* cards / glass */
.glass {
  background: var(--glass); border: 1px solid var(--hair); border-radius: var(--radius);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.card { background: var(--bg2); border: 1px solid var(--hair); border-radius: var(--radius); padding: 20px; }

/* how it works 1/2/3 strip */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { position: relative; padding: 22px 20px 20px; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--bg2); overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.step:hover { transform: translateY(-3px); border-color: var(--hair2); }
.step .n { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.25); margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }
.step::after { content: ""; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(circle, var(--accent-dim), transparent 70%); opacity: 0; transition: opacity .3s; }
.step:hover::after { opacity: 1; }

/* activity feed - order flow */
.feed { font-family: var(--mono); font-size: 12px; }
.feed .row { display: grid; grid-template-columns: 62px 128px 76px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--hair); align-items: baseline; animation: rowin .35s ease both; }
.feed .row:last-child { border-bottom: 0; }
.feed .t { color: var(--faint); }
.feed .h { color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed .v { color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.feed .v.met { color: #7cc7ff; }
.feed .v.visited { color: #ffb347; }
.feed .v.released { color: #ff6b6b; }
.feed .v.renamed { color: #b7bcc7; }
.feed .o { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes rowin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ticker */
.ticker { overflow: hidden; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: rgba(255,255,255,.02); }
.ticker .track { display: flex; gap: 40px; white-space: nowrap; padding: 10px 0; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); animation: tick 40s linear infinite; width: max-content; }
.ticker .track span b { color: var(--fg); font-weight: 500; }
.ticker .track span i { color: var(--accent); font-style: normal; margin: 0 8px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* chips */
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--hair2); background: var(--glass); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chip.grade { color: var(--g, #b7bcc7); border-color: color-mix(in srgb, var(--g, #b7bcc7) 50%, transparent); background: color-mix(in srgb, var(--g, #b7bcc7) 12%, transparent); }

/* footer */
.ftr { position: relative; z-index: 1; border-top: 1px solid var(--hair); padding: 26px 0; color: var(--faint); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.ftr .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ftr a:hover { color: var(--accent); }

/* forms */
input, textarea, select { font: 14px var(--body); color: var(--fg); background: rgba(0,0,0,.35); border: 1px solid var(--hair2); border-radius: 10px; padding: 9px 12px; width: 100%; outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.field { margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding: 8px 10px; border-bottom: 1px solid var(--hair2); }
td { padding: 8px 10px; border-bottom: 1px solid var(--hair); vertical-align: top; }
tr:hover td { background: rgba(255,255,255,.02); }

/* stagger */
.stagger > * { animation: up .5s cubic-bezier(.2,.7,.2,1) both; }
.stagger > *:nth-child(1) { animation-delay: .03s } .stagger > *:nth-child(2) { animation-delay: .08s } .stagger > *:nth-child(3) { animation-delay: .13s }
.stagger > *:nth-child(4) { animation-delay: .18s } .stagger > *:nth-child(5) { animation-delay: .23s } .stagger > *:nth-child(6) { animation-delay: .28s }
.stagger > *:nth-child(7) { animation-delay: .33s } .stagger > *:nth-child(8) { animation-delay: .38s } .stagger > *:nth-child(9) { animation-delay: .43s }
.stagger > *:nth-child(10) { animation-delay: .48s } .stagger > *:nth-child(11) { animation-delay: .53s } .stagger > *:nth-child(12) { animation-delay: .58s }
.stagger > *:nth-child(n+13) { animation-delay: .62s }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .nav a { padding: 6px 8px; font-size: 13px; }
  .steps { grid-template-columns: 1fr; }
  .feed .row { grid-template-columns: 50px 96px 64px 1fr; gap: 8px; }
  .hdr .pill span.long { display: none; }
  .sec { padding: 40px 0; }
}
@media (max-width: 480px) {
  .nav a.opt { display: none; }
  .wrap { width: calc(100% - 28px); }
  .hdr .wrap { gap: 8px; }
  .logo { font-size: 17px; }
  .nav { margin-left: 0; gap: 0; }
  .nav a { padding: 6px 6px; font-size: 13px; }
  .pill { height: 28px; padding: 0 9px 0 8px; gap: 6px; }
  .hdr .btn { display: none; }
}
