:root {
  --cream: #ede6d6;
  --paper: #f7f2e8;
  --ink: #1a1a1a;
  --pink: #ff3e8e;
  --cyan: #20d9c9;
  --yellow: #ffd23f;
  --purple: #2b0a3d;
  --muted: #5b5650;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-image: radial-gradient(circle, rgba(26, 26, 26, 0.06) 1px, transparent 1px);
  background-size: 14px 14px;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 4px solid var(--pink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
}

.logo {
  display: inline-block;
  color: var(--paper);
  font-family: "Bungee", Impact, sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  text-decoration: none;
  transform: rotate(-2deg);
  white-space: nowrap;
}

.logo span {
  color: var(--cyan);
}

.navlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navlinks a {
  display: inline-block;
  padding: 6px 10px;
  border: 2px solid transparent;
  border-radius: 2px;
  background: var(--purple);
  color: var(--paper);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-transform: uppercase;
  transform: rotate(-1deg);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.navlinks li:nth-child(2n) a {
  transform: rotate(1.5deg);
}

.navlinks a:hover,
.navlinks a:focus-visible {
  border-color: var(--yellow);
  outline: none;
  transform: rotate(0deg) scale(1.04);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 24px 120px;
  text-align: center;
}

.spray-streak {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 130%;
  height: 220px;
  background: linear-gradient(100deg, transparent 0%, var(--pink) 35%, var(--pink) 65%, transparent 100%);
  opacity: 0.85;
  transform: rotate(-6deg);
  filter: blur(1px);
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 50%, black 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 100% at 50% 50%, black 60%, transparent 100%);
}

.eyebrow-tag {
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
  color: var(--purple);
  font-family: "Permanent Marker", cursive;
  font-size: 18px;
  transform: rotate(-3deg);
}

.hero h1,
.page-hero h1 {
  position: relative;
  margin: 0;
  color: var(--cyan);
  font-family: "Bungee", Impact, sans-serif;
  font-size: clamp(44px, 10vw, 108px);
  line-height: 0.95;
  letter-spacing: 1px;
  overflow-wrap: normal;
  text-shadow: 6px 6px 0 var(--ink);
  -webkit-text-stroke: 3px var(--ink);
}

.brand-word {
  display: inline-block;
  white-space: nowrap;
}

.drip {
  position: relative;
  display: inline-block;
}

.drip::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 12%;
  width: 10px;
  height: 34px;
  border-radius: 0 0 6px 6px;
  background: var(--ink);
}

.tagline {
  position: relative;
  max-width: 560px;
  margin: 34px auto 30px;
  color: var(--ink);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 16px;
  line-height: 1.6;
}

.cta-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 3px solid var(--ink);
  border-radius: 3px;
  box-shadow: 5px 5px 0 var(--ink);
  font-family: "Bungee", Impact, sans-serif;
  font-size: 14px;
  text-decoration: none;
  transform: rotate(-1deg);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  outline: none;
  transform: rotate(0deg) translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.btn.primary {
  background: var(--yellow);
}

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

.torn {
  display: block;
  width: 100%;
  height: 34px;
  background: var(--ink);
  clip-path: polygon(0% 0%, 4% 100%, 8% 0%, 12% 100%, 16% 0%, 20% 100%, 24% 0%, 28% 100%, 32% 0%, 36% 100%, 40% 0%, 44% 100%, 48% 0%, 52% 100%, 56% 0%, 60% 100%, 64% 0%, 68% 100%, 72% 0%, 76% 100%, 80% 0%, 84% 100%, 88% 0%, 92% 100%, 96% 0%, 100% 100%, 100% 0%);
}

section,
main {
  position: relative;
}

.section-inner {
  padding: 64px 24px;
}

.band-ink {
  background: var(--ink);
  color: var(--paper);
}

.band-paper {
  background: var(--paper);
}

.section-title {
  position: relative;
  display: inline-block;
  margin: 0 0 28px;
  font-family: "Bungee", Impact, sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.08;
}

.band-paper .section-title {
  color: var(--purple);
}

.band-ink .section-title {
  color: var(--yellow);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
  gap: 40px;
  align-items: start;
}

.prose {
  max-width: 760px;
}

.prose p,
.about-grid p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.75;
}

.prose h2,
.prose h3 {
  margin: 34px 0 12px;
  color: var(--purple);
  font-family: "Bungee", Impact, sans-serif;
  line-height: 1.15;
  scroll-margin-top: 96px;
}

.prose h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.prose h3 {
  font-size: 23px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  line-height: 1.7;
}

.prose li {
  margin: 8px 0;
  overflow-wrap: anywhere;
}

.stat-stickers {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sticker {
  padding: 12px 16px;
  border: 3px solid var(--ink);
  border-radius: 4px;
  background: var(--cyan);
  font-family: "Space Mono", ui-monospace, monospace;
  transform: rotate(2deg);
}

.sticker:nth-child(2) {
  background: var(--pink);
  color: var(--paper);
  transform: rotate(-2deg);
}

.sticker:nth-child(3) {
  background: var(--yellow);
  transform: rotate(1deg);
}

.sticker b {
  display: block;
  margin-bottom: 2px;
  font-family: "Bungee", Impact, sans-serif;
  font-size: 20px;
  line-height: 1.15;
}

.qs-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qs-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.qs-num {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--purple);
  color: var(--paper);
  font-family: "Bungee", Impact, sans-serif;
  font-size: 18px;
}

.qs-list p {
  margin: 2px 0 0;
  line-height: 1.6;
}

.qs-list strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 800;
  font-size: 17px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.guide-card,
.callout,
details {
  border: 3px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
}

.guide-card {
  position: relative;
  padding: 22px;
  transition: transform 0.15s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
}

.guide-card:nth-child(1) {
  transform: rotate(-1deg);
}

.guide-card:nth-child(2) {
  transform: rotate(0.6deg);
}

.guide-card:nth-child(3) {
  transform: rotate(-0.6deg);
}

.guide-card .tag,
.updated,
.breadcrumb {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 12px;
}

.guide-card .tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 8px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
}

.guide-card h3 {
  margin: 0 0 10px;
  color: var(--purple);
  font-family: "Bungee", Impact, sans-serif;
  font-size: 20px;
  line-height: 1.3;
}

.guide-card p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
}

.text-link {
  border-bottom: 2px solid var(--pink);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.priority-badge {
  position: absolute;
  top: -14px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-family: "Bungee", Impact, sans-serif;
  font-size: 11px;
  line-height: 1.1;
  text-align: center;
  transform: rotate(8deg);
}

.faq {
  max-width: 760px;
}

details {
  margin-bottom: 12px;
  padding: 16px 18px;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--pink);
  font-family: "Bungee", Impact, sans-serif;
  font-size: 20px;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.page-hero {
  overflow: hidden;
  padding: 64px 24px 54px;
  background: var(--paper);
}

.page-hero .wrap {
  position: relative;
}

.page-hero .spray-streak {
  top: 24px;
  height: 150px;
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(38px, 7vw, 78px);
}

.page-hero p {
  position: relative;
  max-width: 680px;
  margin: 24px 0 0;
  font-family: "Space Mono", ui-monospace, monospace;
  line-height: 1.65;
}

.breadcrumb,
.updated {
  position: relative;
  color: var(--muted);
}

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 18px;
}

.layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
  padding: 18px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-1deg);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Bungee", Impact, sans-serif;
}

.toc a {
  display: block;
  padding: 7px 0;
  border-top: 1px solid rgba(26, 26, 26, 0.22);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 13px;
  text-decoration: none;
}

.callout {
  margin: 24px 0;
  padding: 18px;
  background: var(--cyan);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: "Space Mono", ui-monospace, monospace;
}

.stage-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  background: var(--paper);
}

.stage-table th,
.stage-table td {
  padding: 12px;
  border: 2px solid var(--ink);
  text-align: left;
  vertical-align: top;
}

.stage-table th {
  background: var(--purple);
  color: var(--paper);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 13px;
  text-transform: uppercase;
}

.related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.site-footer {
  padding: 36px 24px;
  background: var(--ink);
  color: var(--paper);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 12px;
  text-align: center;
}

.site-footer .sig {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: "Permanent Marker", cursive;
  font-size: 16px;
  transform: rotate(-1deg);
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 18px;
  }

  .navlinks {
    width: 100%;
  }

  .about-grid,
  .guide-grid,
  .layout,
  .related {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    transform: none;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 18px;
  }

  .hero {
    padding: 64px 18px 90px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 10.5vw, 48px);
    letter-spacing: 0;
    text-shadow: 3px 3px 0 var(--ink);
    -webkit-text-stroke-width: 1.5px;
  }

  .drip::after {
    display: none;
  }

  .tagline {
    max-width: 290px;
    margin-top: 24px;
    font-size: 13px;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .btn {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 11px;
  }

  .navlinks a {
    padding: 5px 8px;
    font-size: 11px;
  }

  .section-inner {
    padding: 46px 18px;
  }

  .guide-card:nth-child(n) {
    transform: none;
  }

  .stage-table {
    display: block;
    overflow-x: auto;
  }
}
