/* CodeHeld - punk / cyber, acid-on-black */

:root {
  --black: #0b0b0d;
  --black-2: #131316;
  --black-3: #1b1c1f;
  --off: #f2f2f0;
  --lime: #d3ff3e;
  --magenta: #ff3d6e;
  --muted: #6f7066;
  --line: rgba(242, 242, 240, 0.12);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--off);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--lime); color: var(--black); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--lime); color: var(--black);
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  padding: 10px 16px; border-radius: 4px;
}
.skip:focus { left: 12px; top: 12px; }

/* ---- type ---- */
.display {
  font-family: "Anton", "Archivo Black", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}
.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.lime { color: var(--lime); }
.magenta { color: var(--magenta); }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 16px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.btn-primary {
  background: var(--lime);
  color: var(--black);
}
.btn-primary:hover { background: #e3ff6e; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--off);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--off); transform: translateY(-2px); }
.btn-mag {
  background: var(--magenta);
  color: var(--off);
}
.btn-mag:hover { background: #ff5c84; transform: translateY(-2px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ---- nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { display: block; height: 34px; width: 34px; }
.brand-word {
  font-family: "Archivo Black", sans-serif;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.04em;
}
.nav .btn { padding: 11px 20px; font-size: 14px; }

/* ---- sections ---- */
section { position: relative; }
.section-pad { padding: 96px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--lime);
}

footer { border-top: 1px solid var(--line); padding: 54px 0 40px; }

/* ---- hero ---- */
.hero { padding: 84px 0 72px; overflow: hidden; }
.hero h1 {
  font-family: "Anton", "Archivo Black", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.015em;
  font-size: clamp(44px, 8.6vw, 124px);
  margin: 14px 0 0;
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  display: inline-block;
  color: var(--lime);
  transform: rotate(-2.2deg);
}
.hero-sub {
  margin: 26px 0 0;
  font-size: clamp(18px, 2.4vw, 23px);
  color: #c9cac3;
  max-width: 42ch;
  line-height: 1.5;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* marquee strip */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--lime);
  color: var(--black);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 0;
  padding: 13px 0;
  animation: scroll-x 26s linear infinite;
  will-change: transform;
}
.marquee span {
  font-family: "Archivo Black", sans-serif;
  font-style: italic;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  padding: 0 26px;
}
.marquee span::after { content: "/"; margin-left: 26px; opacity: 0.4; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---- section heading ---- */
.sec-head { max-width: 30ch; }
.sec-head h2 {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
  font-size: clamp(34px, 5.4vw, 64px);
  margin: 0;
}
.sec-intro { margin: 18px 0 0; color: #b9bab2; max-width: 62ch; font-size: 17px; }

/* ---- build grid ---- */
.build-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.build-card {
  border: 1px solid var(--line);
  background: var(--black-2);
  padding: 32px 30px 30px;
  border-radius: 4px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.build-card:hover { border-color: var(--lime); transform: translateY(-3px); }
.build-card .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px; color: var(--lime); letter-spacing: 0.1em;
}
.build-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 16px 0 10px;
  letter-spacing: -0.01em;
}
.build-card p { margin: 0; color: #b9bab2; font-size: 16px; }
.build-extra {
  margin-top: 22px; color: var(--muted); font-size: 15px;
}
.build-extra strong { color: var(--off); font-weight: 600; }

/* ---- manifesto ---- */
.manifest { background: var(--black-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.manifest-list { list-style: none; margin: 40px 0 0; padding: 0; }
.manifest-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 6px 20px;
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.manifest-list li:last-child { border-bottom: 1px solid var(--line); }
.manifest-list .mi {
  font-family: "JetBrains Mono", monospace;
  color: var(--lime);
  font-size: 14px;
}
.manifest-list .mt {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.manifest-list .md { grid-column: 2; color: #b9bab2; margin-top: 4px; max-width: 60ch; }

/* ---- FAQ ---- */
.faq { margin-top: 44px; border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 22px);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font-family: "JetBrains Mono", monospace; }
.faq details[open] summary::after { content: "-"; }
.faq details p { margin: 14px 0 2px; color: #b9bab2; max-width: 70ch; }

/* ---- contact ---- */
.contact-box {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}
.contact-card {
  flex: 1 1 240px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px;
  background: var(--black-2);
}
.contact-card .label { display: block; margin-bottom: 12px; }
.contact-card a.big {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--off);
  word-break: break-word;
}
.contact-card a.big:hover { color: var(--lime); }

/* ---- footer ---- */
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-start; }
.foot-brand { display: flex; align-items: center; gap: 11px; }
.foot-brand img { height: 32px; width: 32px; }
.foot-brand .brand-word { font-size: 20px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: 15px; }
.foot-links a:hover { color: var(--off); }
.foot-meta { margin-top: 30px; color: var(--muted); font-size: 14px; }

/* =================== WIZARD =================== */
.wizard-section { background: var(--black); }
.wz-shell {
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--black-2);
  overflow: hidden;
}
.wz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
}
.wz-progress { flex: 1; height: 6px; background: var(--black-3); border-radius: 999px; overflow: hidden; }
#wz-bar { display: block; height: 100%; width: 20%; background: var(--lime); border-radius: 999px; transition: width 0.32s cubic-bezier(.4,0,.2,1); }
#wz-counter { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--muted); white-space: nowrap; }

.wz-body { padding: 38px 34px 30px; }
.wz-step h3 {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -0.01em;
  margin: 0;
  outline: none;
}
.wz-step .wz-hint { color: var(--muted); margin: 10px 0 26px; font-size: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--off);
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease, transform 0.1s ease;
}
.chip:hover { border-color: var(--off); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--black);
  font-weight: 600;
}
.chip:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

.wz-field { margin-bottom: 26px; }
.wz-field:last-child { margin-bottom: 0; }
.wz-field > label.label { display: block; margin-bottom: 12px; }
.wz-input, .wz-textarea {
  width: 100%;
  background: var(--black);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  color: var(--off);
  font-family: "Inter", sans-serif;
  font-size: 17px;
  padding: 15px 16px;
  resize: vertical;
}
.wz-textarea { min-height: 150px; line-height: 1.55; }
.wz-input:focus, .wz-textarea:focus { outline: none; border-color: var(--lime); }
.wz-input::placeholder, .wz-textarea::placeholder { color: #5a5b53; }
.req { color: var(--lime); }

.wz-block-label { margin: 0 0 13px; }
.wz-sub { margin-top: 30px; }

.wz-error {
  margin-top: 22px;
  color: var(--magenta);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
}

/* recap */
.wz-recap { border-top: 1px solid var(--line); margin-top: 4px; }
.wz-recap-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.wz-recap-val { font-size: 16px; line-height: 1.5; }
.wz-send { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.wz-send .btn { flex: 1 1 220px; justify-content: center; }
.is-disabled { opacity: 0.45; cursor: not-allowed; }
.wz-send-note { margin-top: 16px; color: var(--muted); font-size: 13px; font-family: "JetBrains Mono", monospace; }

/* nav footer of wizard */
.wz-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 34px 30px;
  border-top: 1px solid var(--line);
}
.wz-foot .btn { font-size: 15px; padding: 13px 22px; }

/* no-JS fallback */
.js .wz-nojs { display: none; }
html:not(.js) .wz-shell, html:not(.js) .wz-top, html:not(.js) .wz-foot { display: none; }
.wz-nojs {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--black-2);
  padding: 34px;
}

/* responsive */
@media (max-width: 860px) {
  .build-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section-pad { padding: 64px 0; }
  .hero { padding: 56px 0 52px; }
  .nav-inner { height: 62px; }
  .nav .brand-word { font-size: 19px; }
  .wz-body { padding: 30px 22px 24px; }
  .wz-foot { padding: 18px 22px 24px; }
  .wz-recap-row { grid-template-columns: 1fr; gap: 4px; }
  .manifest-list li { grid-template-columns: 1fr; }
  .manifest-list .md { grid-column: 1; }
  .foot-grid { flex-direction: column; }
}
@media (max-width: 420px) {
  .hero-cta .btn, .wz-send .btn { flex: 1 1 100%; }
}
