:root {
  --ink: #182229;
  --muted: #617078;
  --paper: #f7f4ec;
  --coral: #ff7f50;
  --yellow: #ffd166;
  --mint: #87ae73;
  --blue: #8fd3ff;
  --army: #4b5320;
  --pink: #fd5da8;
  --rosewood: #9e4244;
  --navy: #000052;
  --line: rgba(24, 34, 41, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Cinzel Decorative', serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(24,34,41,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(24,34,41,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  content: '';
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.wrap { 
  width: min(1120px, calc(100% - 40px)); 
  margin: 0 auto; 
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'DM Mono', monospace;
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.brand { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  font-weight: 500; 
}

.brand-mark { 
  width: 12px; 
  height: 12px; 
  background: var(--coral); 
  transform: rotate(45deg); 
}

.status { 
  color: var(--muted); 
}

.status i { 
  display: inline-block; 
  width: 7px; 
  height: 7px; 
  margin-right: 7px; 
  border-radius: 50%; 
  background: #35b879; 
}

main { 
  padding: 76px 0 110px; 
}

.hero { 
  display: grid; 
  grid-template-columns: 1.05fr .95fr; 
  align-items: center; 
  gap: 80px; 
  min-height: 540px; 
}

.eyebrow { 
  margin: 0 0 22px; 
  color: var(--coral); 
  font-family: 'DM Mono', monospace; 
  font-size: .78rem; 
  letter-spacing: .12em; 
  text-transform: uppercase; 
}

h1 { 
  max-width: 680px; 
  margin: 0; 
  font-size: clamp(3.8rem, 8.4vw, 7.4rem); 
  line-height: .91; 
  letter-spacing: -.065em; 
}

h1 span { 
  color: var(--coral); 
}

.intro { 
  max-width: 480px; 
  margin: 30px 0 0; 
  color: var(--muted); 
  font-size: 1.15rem; 
  line-height: 1.65; 
}

.cta-row { 
  display: flex; 
  flex-wrap: wrap; 
  align-items: center; 
  gap: 22px; 
  margin-top: 34px; 
}

.button { 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  padding: 14px 19px; 
  border: 0; 
  border-radius: 3px; 
  color: #fff; 
  background: var(--ink); 
  font: 500 .9rem 'DM Mono', monospace; 
  cursor: pointer; 
  transition: transform .2s, background .2s; 
}

.button:hover { 
  background: var(--coral); 
  transform: translateY(-3px); 
}

.button:focus-visible { 
  outline: 3px solid var(--yellow); 
  outline-offset: 4px; 
}

.tiny-note { 
  color: var(--muted); 
  font: .75rem 'DM Mono', monospace; 
}

.code-card { 
  position: relative; 
  transform: rotate(2.5deg); 
  padding: 12px; 
  background: var(--ink); 
  box-shadow: 16px 18px 0 var(--yellow); 
}

.code-top { 
  display: flex; 
  gap: 7px; 
  padding: 9px 8px 13px; 
  border-bottom: 1px solid rgba(255,255,255,.13); 
}

.dot { 
  width: 9px; 
  height: 9px; 
  border-radius: 50%; 
}

.dot:nth-child(1) { background: var(--coral); } 
.dot:nth-child(2) { background: var(--yellow); } 
.dot:nth-child(3) { background: var(--mint); }

pre { 
  margin: 0; 
  padding: 28px 22px 32px; 
  color: #e6f0ea; 
  font: 500 clamp(.78rem, 1.7vw, 1rem)/1.8 'DM Mono', monospace; 
  white-space: pre-wrap; 
}

.pink { color: #ff9b8b; } 
.gold { color: #ffd166; } 
.green { color: #a9e8d1; } 
.blue { color: #8fd3ff; }

.card-label { 
  position: absolute; 
  right: -24px; 
  bottom: -30px; 
  padding: 12px 16px; 
  color: var(--ink); 
  background: var(--mint); 
  font-size: .88rem; 
  font-weight: 700; 
  transform: rotate(-5deg); 
}

.divider { 
  display: flex; 
  align-items: center; 
  gap: 18px; 
  margin: 60px 0 24px; 
  color: var(--muted); 
  font: .72rem 'DM Mono', monospace; 
  letter-spacing: .1em; 
  text-transform: uppercase; 
}

.divider::after { 
  height: 1px; 
  flex: 1; 
  background: var(--line); 
  content: ''; 
}

.values { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 16px; 
}

.value { 
  min-height: 175px; 
  padding: 24px; 
  border-top: 3px solid var(--coral); 
  background: rgba(255,255,255,.34); 
}

.value:nth-child(2) { border-color: var(--yellow); } 
.value:nth-child(3) { border-color: var(--mint); }

.value-number { 
  color: var(--muted); 
  font: .76rem 'DM Mono', monospace; 
}

.value h2 { 
  margin: 38px 0 8px; 
  font-size: 1.25rem; 
  letter-spacing: -.03em; 
}

.value p { 
  margin: 0; 
  color: var(--muted); 
  font-size: .92rem; 
  line-height: 1.5; 
}

footer { 
  display: flex; 
  justify-content: space-between; 
  gap: 20px; 
  padding: 22px 0 30px; 
  border-top: 1px solid var(--line); 
  color: var(--muted); 
  font: .72rem 'DM Mono', monospace; 
}

.confetti { 
  position: fixed; 
  top: -20px; 
  z-index: 5; 
  width: 10px; 
  height: 18px; 
  opacity: 0; 
  pointer-events: none; 
}

.confetti.drop { 
  animation: fall 5.0s cubic-bezier(.2,.7,.4,1) forwards; 
}

@keyframes fall { 
  0% { opacity: 1; transform: translateY(0) rotate(0); } 
  100% { opacity: 0; transform: translateY(110vh) rotate(620deg); } 
}

@keyframes rise { 
  from { opacity: 0; transform: translateY(18px); } 
  to { opacity: 1; transform: translateY(0); } 
}

.hero-copy, .code-card, .value { 
  animation: rise .7s both; 
} 

.code-card { animation-delay: .12s; } 
.value:nth-child(2) { animation-delay: .1s; } 
.value-number { font-weight: 500; }
.value:nth-child(3) { animation-delay: .2s; }

@media (max-width: 760px) {
  .wrap { 
    width: min(100% - 28px, 560px); 
  }
  .topbar { 
    padding: 20px 0; 
  } 
  .status { 
    font-size: .62rem; 
  }
  main { 
    padding: 50px 0 80px; 
  } 
  .hero { 
    display: block; 
    min-height: 0; 
  }
  h1 { 
    font-size: clamp(3.7rem, 17vw, 6rem); 
  } 
  .intro { 
    font-size: 1rem; 
  }
  .code-card { 
    width: calc(100% - 18px); 
    margin: 66px 8px 58px 0; 
  }
  .values { 
    grid-template-columns: 1fr; 
  } 
  .value { 
    min-height: 0; 
  } 
  .value h2 { 
    margin-top: 24px; 
  }
  footer { 
    display: block; 
  } 
  footer span { 
    display: block; 
    margin-top: 8px; 
  }
}

.countdown-container {
  display: flex;
  gap: 12px;
  margin: 25px 0;
  font-family: 'DM Mono', monospace;
}

.countdown-item {
  background: rgba(24, 34, 41, 0.04);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  min-width: 65px;
  box-shadow: 4px 4px 0 var(--line);
}

.countdown-item span {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--coral);
  display: block;
}

.countdown-item p {
  margin: 2px 0 0;
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
}
