:root {
  --bg: #c6c6c6;
  --bg-deep: #b7b7b7;
  --ink: #111111;
  --muted: #3a3a3a;
  --line: #1a1a1a;
  --ghost: rgba(17, 17, 17, 0.14);
  --card: rgba(255, 255, 255, 0.28);
  --font: "Outfit", system-ui, sans-serif;
  --display: "Archivo Black", Impact, sans-serif;
  --pixel: "Silkscreen", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { font-family: inherit; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

.pattern {
  pointer-events: none;
  position: fixed;
  inset: -8vh -6vw;
  z-index: 0;
}

.float {
  position: absolute;
  color: var(--ink);
  opacity: 0.16;
  animation: drift linear infinite;
}
.float svg { display: block; }
.float.pixel {
  width: 7px;
  height: 7px;
  background: var(--ink);
  opacity: 0.12;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--dx), -120px, 0); }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 28px;
  background: rgba(198, 198, 198, 0.86);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(8px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  letter-spacing: -0.04em;
  font-size: 18px;
}
.brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--bg);
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s linear;
}
.nav-links a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.08s linear, background 0.08s linear, color 0.08s linear;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn:active { transform: translateY(2px); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: #2a2a2a; color: #fff; }
.btn-wide { min-width: 240px; margin-top: 8px; }

main { position: relative; z-index: 1; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 28px 48px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dot {
  width: 8px;
  height: 8px;
  background: var(--ink);
  animation: blink-dot 2.4s steps(1) infinite;
}
@keyframes blink-dot {
  0%, 70% { opacity: 1; }
  71%, 100% { opacity: 0.2; }
}
h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(64px, 10vw, 120px);
  line-height: 0.86;
  letter-spacing: -0.045em;
}
.tagline {
  max-width: 460px;
  margin: 18px 0 0;
  font-size: 20px;
  line-height: 1.4;
  color: var(--muted);
}

.bubble {
  margin-top: 28px;
  max-width: 420px;
  background: #efefef;
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 14px 16px 16px;
  position: relative;
  box-shadow: 6px 6px 0 var(--ink);
}
.bubble::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 28px;
  border: 8px solid transparent;
  border-left-color: var(--ink);
}
.bubble-label {
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.bubble p {
  margin: 8px 0 0;
  min-height: 1.4em;
  font-size: 22px;
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.ca-line {
  margin: 14px 0 0;
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.hero-face { display: grid; justify-items: center; gap: 18px; }
.face-frame {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  background: var(--bg-deep);
  box-shadow: 12px 12px 0 var(--ink);
  overflow: hidden;
}
.face-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: idle 6s ease-in-out infinite;
}
@keyframes idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.blink {
  position: absolute;
  left: 31%;
  right: 31%;
  top: 43%;
  height: 8%;
  background: #b9b9b9;
  transform: scaleY(0);
  transform-origin: center;
  animation: blink 5.5s linear infinite;
}
@keyframes blink {
  0%, 88%, 100% { transform: scaleY(0); }
  92%, 96% { transform: scaleY(1); }
}

.meter { width: min(420px, 100%); }
.meter-top, .meter-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.meter-value { font-weight: 600; }
.meter-track {
  position: relative;
  height: 10px;
  margin: 8px 0;
  border: 2px solid var(--ink);
  background: linear-gradient(90deg, #8d8d8d, #efefef 50%, #8d8d8d);
}
.meter-pin {
  position: absolute;
  left: 50%;
  top: -6px;
  width: 6px;
  height: 18px;
  background: var(--ink);
  transform: translateX(-50%);
}
.meter-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--bg);
  transform: translateX(-50%);
}

.tape {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.tape-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--display);
  letter-spacing: -0.03em;
  font-size: 18px;
  padding: 10px 0;
}
.tape-track span { padding: 0 22px; white-space: nowrap; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.banner-wrap {
  max-width: 1120px;
  margin: 48px auto;
  padding: 0 28px;
}
.banner-wrap img {
  width: 100%;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}

.section-head { max-width: 720px; }
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.lore, .feed-section, .buy {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 28px 12px;
}

.cards, .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 12px;
  padding: 0;
  list-style: none;
}
.card, .steps li, .social {
  background: var(--card);
  border: 2px solid var(--ink);
  padding: 22px;
  box-shadow: 6px 6px 0 transparent;
  transition: transform 0.12s linear, box-shadow 0.12s linear;
}
.card:hover, .steps li:hover, .social:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}
.card-index, .steps span, .social-kicker {
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.card h3, .steps h3 {
  margin: 12px 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.card p, .steps p, .social span:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.feed {
  margin: 22px 0 10px;
  padding: 0;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.35);
}
.feed li {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ghost);
  list-style: none;
  font-size: 16px;
}
.feed li:last-child { border-bottom: 0; }
.feed time {
  font-family: var(--pixel);
  font-size: 10px;
}
.feed em {
  font-style: normal;
  font-family: var(--pixel);
  font-size: 11px;
}
.feed li.new { animation: row-in 0.35s linear; }
@keyframes row-in {
  from { background: #efefef; }
  to { background: transparent; }
}

.buy { padding-bottom: 48px; }
.socials {
  max-width: 1120px;
  margin: 0 auto 48px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.social { display: grid; gap: 6px; }
.social strong {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.04em;
}

.footer {
  position: relative;
  z-index: 1;
  border-top: 2px solid var(--ink);
  padding: 36px 28px 48px;
  text-align: center;
}
.footer img {
  margin: 0 auto 12px;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--ink);
}
.footer p { margin: 0; font-weight: 600; }
.fine {
  margin-top: 8px !important;
  font-weight: 400 !important;
  color: var(--muted);
  font-size: 13px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 30;
  transform: translateX(-50%) translateY(16px);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 16px;
  font-family: var(--pixel);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s linear, transform 0.2s linear;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero, .cards, .steps, .socials { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .feed li { grid-template-columns: 1fr; gap: 4px; }
  .bubble::after { display: none; }
}
