/* === Brand === */
:root {
  --paper: #f7f4ed;
  --ink: #121212;
  --tape: #e8a744;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* === Base === */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--paper);
  font-family: 'Inter', sans-serif;
  color: var(--ink);
}

/* slight paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"%3E%3Ccircle cx="1" cy="1" r="0.5" fill="%23cfcfcf"/%3E%3C/svg%3E');
  opacity: 0.15;
}

a { color: var(--ink); }

/* === Canvas === */
.canvas {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 2rem;
  padding: 8vh 5vw 12vh;
  position: relative;
}

/* === Cards === */
.card {
  background: #fff;
  border: 2px solid var(--ink);
  max-width: 340px;
  padding: 1.75rem 1.5rem;
  box-shadow: 8px 8px var(--shadow);
  transform: rotate(var(--rot, -2deg)) translate(var(--tx, 0), var(--ty, 0));
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  animation: pop 0.6s ease both;
}
.card::before {
  /* tape */
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(3deg);
  width: 100px;
  height: 26px;
  background: var(--tape);
  opacity: 0.8;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.card:hover {
  transform: rotate(0deg) translate(0, -4px) scale(1.02);
  box-shadow: 12px 12px var(--shadow);
  z-index: 2;
}

/* hero overrides */
.hero-card {
  --rot: 0deg;
  --tx: 0;
  --ty: 0;
  max-width: 480px;
  text-align: center;
  box-shadow: 12px 12px var(--shadow);
}
.hero-card::before { display: none; }
.logo {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: 0.04em;
}
.tag { margin-top: 0.5rem; color: var(--ink); font-weight: 600; }

/* typography */
h1, h2 { font-family: 'Permanent Marker', cursive; }
h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
ul { margin-left: 1.25rem; display: grid; gap: 0.4rem; }
li {
  list-style: square;
}

/* random rotations & positions */
.card:nth-child(2) { --rot: 3deg; --tx: 8px; --ty: 0; animation-delay: 0.1s; }
.card:nth-child(3) { --rot: -4deg; --tx: -10px; --ty: 5px; animation-delay: 0.2s; }
.card:nth-child(4) { --rot: 2deg; --tx: 6px; --ty: -6px; animation-delay: 0.3s; }
.card:nth-child(5) { --rot: -3deg; --tx: -8px; --ty: 4px; animation-delay: 0.4s; }

@keyframes pop {
  from { opacity: 0; transform: scale(0.92) rotate(var(--rot, 0deg)); }
  to { opacity: 1; transform: rotate(var(--rot, 0deg)); }
}

/* === Footer === */
.site-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  font-size: 0.85rem;
}

.text-noise {
  position: fixed;
  inset: 0;
  font-family: 'Courier New', monospace;
  font-size: 6vw;
  line-height: 0.65;
  white-space: pre-wrap;
  letter-spacing: -1px;
  color: var(--ink);
  opacity: 0.12;
  user-select: none;
  pointer-events: none;
  transform: rotate(-8deg);
  mix-blend-mode: multiply;
  z-index: -1;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.action-btn {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  text-decoration: none;
}
.action-btn:hover {
  transform: translateY(-2px);
  background: #000;
}
.action-btn.twitter {
  padding: 0.6rem;
}
