:root {
  --orange: #ff9a00;
  --aqua: #1fb1ff;
  --sun: #ffe43d;
  --petal: #f8aaba;
  --ink: #0f0a0a;
  --paper: #fdf8f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Gill Sans", "Avenir Next", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 20%, rgba(255, 228, 61, 0.35), transparent 35%),
              radial-gradient(circle at 80% 10%, rgba(31, 177, 255, 0.35), transparent 30%),
              radial-gradient(circle at 10% 80%, rgba(248, 170, 186, 0.4), transparent 40%),
              var(--paper);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 10, 10, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 10, 10, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.05) 60%);
  pointer-events: none;
  z-index: 0;
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

header {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  border: 2px solid var(--ink);
  border-radius: 28px;
  box-shadow: 8px 10px 0 var(--ink);
}

header img {
  width: 100%;
  max-width: 240px;
  display: block;
  border-radius: 14px;
  border: 3px solid var(--ink);
  box-shadow: 6px 8px 0 rgba(15, 10, 10, 0.18);
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 46px);
  letter-spacing: -0.5px;
}

.hero-copy p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.6;
  max-width: 650px;
}

.tags {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 0;
}

.tag {
  padding: 8px 14px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--sun);
  box-shadow: 4px 5px 0 var(--ink);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
  background: var(--aqua);
}

.btn.secondary {
  background: var(--petal);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: 4px 4px 0 var(--ink);
}

section {
  margin-top: 48px;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
}

.section-head span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 10, 10, 0.07);
  border: 1px dashed var(--ink);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 8px 10px 0 var(--ink);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 228, 61, 0.1), rgba(31, 177, 255, 0.08));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font-weight: 800;
  margin-bottom: 10px;
  background: var(--sun);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.card p {
  margin: 0 0 12px;
  line-height: 1.5;
}

.card .meta {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}

.signal {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 6px rgba(31, 177, 255, 0.2);
}

.stagger {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 2px dashed rgba(15, 10, 10, 0.4);
  border-radius: 12px;
  font-weight: 700;
}

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 2px solid var(--ink);
}

footer {
  margin-top: 64px;
  padding: 18px 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

footer .dots {
  display: flex;
  gap: 8px;
}

footer .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ink);
}

.dot.orange { background: var(--orange); }
.dot.aqua { background: var(--aqua); }
.dot.petal { background: var(--petal); }

.copyright {
  font-size: 12px;
  opacity: 0.8;
  font-weight: 600;
}

@media (max-width: 820px) {
  header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  header img {
    margin: 0 auto;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .section-head {
    justify-content: center;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}
