:root {
  --ink: #090a0c;
  --blue: #4c93ef;
  --blue-soft: #edf5ff;
  --paper: #fbfcff;
  --muted: #6a6f78;
  --shadow: 0 16px 38px rgba(33, 57, 94, .12), 0 3px 8px rgba(33, 57, 94, .06);
  --font: "Comic Sans MS", "Chalkboard SE", "Marker Felt", "Bradley Hand", "Trebuchet MS", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 18%, rgba(76,147,239,.06), transparent 28rem),
    var(--paper);
  font-family: var(--font);
  overflow-x: hidden;
}
button, a { font: inherit; }
a { color: inherit; }

.header {
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  font-weight: 950;
  letter-spacing: -.06em;
}
.brand__icon {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
}
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.nav > a {
  text-decoration: none;
  font-weight: 900;
  transition: transform .16s ease, color .16s ease;
}
.nav > a:hover { transform: translateY(-2px) rotate(-1deg); color: var(--blue); }
.nav__join {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  color: white;
  background: var(--blue);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(76,147,239,.27);
}
.nav__join svg { width: 21px; height: 21px; fill: currentColor; }

main { width: min(1040px, calc(100% - 36px)); margin: 0 auto; }
.hero {
  position: relative;
  min-height: calc(100svh - 90px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 0 72px;
  text-align: center;
}
.hero__mascot {
  display: block;
  width: clamp(350px, 58vw, 670px);
  max-width: 95vw;
  height: auto;
  margin: -8px auto -44px;
  object-fit: contain;
  filter: drop-shadow(0 18px 15px rgba(45,59,81,.06));
}
.hero::after {
  content: "";
  position: absolute;
  width: min(70%, 690px);
  height: 34px;
  top: clamp(390px, 58vw, 645px);
  border-radius: 50%;
  background: rgba(142, 175, 216, .15);
  filter: blur(8px);
  z-index: -1;
}
.hero__copy h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 7.8rem);
  line-height: .88;
  letter-spacing: -.075em;
  font-weight: 1000;
}
.hero__copy p {
  margin: 16px 0 0;
  font-size: clamp(1.12rem, 2.6vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -.025em;
}
.hero__copy strong { color: var(--blue); }
.doodle {
  position: absolute;
  color: var(--blue);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 1000;
  user-select: none;
}
.doodle--left { left: 10%; top: 15%; transform: rotate(-8deg); }
.doodle--right { right: 14%; top: 17%; transform: rotate(42deg); }

.links {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 34px;
}
.meme-button {
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 15px 22px;
  text-decoration: none;
  background: linear-gradient(180deg, #f4f8ff, #eaf2ff);
  border-radius: 46% 54% 48% 52% / 55% 46% 54% 45%;
  box-shadow: var(--shadow);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 950;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.meme-button:nth-child(2) { border-radius: 52% 48% 55% 45% / 47% 55% 45% 53%; }
.meme-button:nth-child(3) { border-radius: 45% 55% 49% 51% / 57% 43% 56% 44%; }
.meme-button:nth-child(4) { border-radius: 55% 45% 52% 48% / 45% 54% 46% 55%; }
.meme-button:hover, .meme-button:focus-visible {
  transform: translateY(-5px) rotate(-1deg);
  background: white;
  box-shadow: 0 22px 48px rgba(33,57,94,.17), 0 4px 9px rgba(33,57,94,.08);
}
.meme-button:active { transform: translateY(-1px) scale(.98); }
.meme-button svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.contract {
  scroll-margin-top: 26px;
  min-height: 112px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: rgba(255,255,255,.92);
  border-radius: 38px 44px 35px 42px / 43px 35px 45px 38px;
  box-shadow: var(--shadow);
}
.contract__label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 1.55rem;
}
.contract code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font);
  font-size: clamp(.86rem, 2vw, 1.28rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.02em;
}
.copy-button {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: var(--blue-soft);
  border: 0;
  border-radius: 47% 53% 51% 49% / 54% 45% 55% 46%;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease;
}
.copy-button:hover { transform: rotate(-4deg) scale(1.06); background: #deecff; }
.copy-button:active { transform: scale(.95); }
.copy-button svg { width: 32px; height: 32px; fill: currentColor; }
.copy-button__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.faq { scroll-margin-top: 24px; padding: 84px 0 58px; }
.section-heading h2 {
  display: inline-block;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -.06em;
}
.section-heading span {
  display: block;
  width: 68px;
  height: 8px;
  margin: 8px 0 22px 2px;
  background: var(--blue);
  border-radius: 90% 10% 70% 30%;
  transform: rotate(-4deg);
}
.faq-list details { padding: 0; }
.faq-list summary {
  min-height: 92px;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 950;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 48% 52% 46% 54% / 54% 43% 57% 46%;
  background: var(--blue-soft);
  font-size: 1.35rem;
  white-space: nowrap;
}
.faq-list details:nth-child(3) .faq-icon { font-size: .63rem; }
.faq-plus { font-size: 2rem; color: var(--blue); transition: transform .18s ease; }
details[open] .faq-plus { transform: rotate(45deg); }
.faq-list p {
  margin: -9px 0 22px 78px;
  max-width: 760px;
  color: var(--muted);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
}

.footer {
  width: min(760px, calc(100% - 36px));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  padding: 10px 0 48px;
  color: var(--muted);
  font-family: var(--font);
  font-size: .9rem;
  line-height: 1.55;
}
.footer__paw { color: var(--blue); font-size: 1.9rem; filter: grayscale(1) sepia(1) saturate(4) hue-rotate(175deg); }
.footer p { margin: 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 15px 30px rgba(0,0,0,.2);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

:focus-visible { outline: 4px solid rgba(76,147,239,.45); outline-offset: 4px; }

@media (max-width: 760px) {
  .header { width: calc(100% - 24px); min-height: 72px; }
  .brand { font-size: 1.45rem; }
  .brand__icon { width: 48px; height: 48px; }
  .nav > a:not(.nav__join) { display: none; }
  .nav__join { padding: 11px 15px; font-size: .9rem; }
  main { width: min(100% - 24px, 660px); }
  .hero { min-height: auto; padding-top: 20px; padding-bottom: 54px; }
  .hero__mascot { width: min(100vw, 520px); margin-bottom: -28px; }
  .hero::after { top: 390px; width: 84%; }
  .doodle--left { left: 2%; top: 12%; }
  .doodle--right { right: 3%; top: 16%; }
  .links { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
  .meme-button { min-height: 65px; padding: 13px 12px; }
  .contract { grid-template-columns: 1fr auto; gap: 12px; padding: 20px; border-radius: 30px; }
  .contract__label { grid-column: 1; }
  .contract code { grid-column: 1; font-size: .82rem; }
  .copy-button { grid-column: 2; grid-row: 1 / span 2; width: 64px; height: 64px; }
  .faq { padding-top: 62px; }
  .faq-list summary { grid-template-columns: 50px 1fr auto; gap: 13px; min-height: 84px; }
  .faq-icon { width: 48px; height: 48px; }
  .faq-list p { margin-left: 63px; }
  .footer { padding-bottom: 34px; }
}

@media (max-width: 430px) {
  .brand__icon { width: 42px; height: 42px; }
  .nav__join { padding: 10px 12px; }
  .nav__join svg { width: 18px; height: 18px; }
  .hero__copy h1 { font-size: clamp(3.3rem, 20vw, 5.2rem); }
  .hero__copy p { font-size: 1rem; }
  .hero__mascot { margin-top: 0; }
  .links { grid-template-columns: 1fr 1fr; }
  .meme-button { gap: 8px; font-size: .98rem; }
  .meme-button svg { width: 24px; height: 24px; }
  .contract code { max-width: calc(100vw - 130px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}



.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #eef5ff;
  box-shadow: 0 10px 24px rgba(33,57,94,.10);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto 10px;
  padding: 10px 12px 14px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.mobile-menu__nav {
  display: grid;
  gap: 10px;
}
.mobile-menu__nav a {
  padding: 13px 16px;
  text-decoration: none;
  font-weight: 900;
  border-radius: 16px;
  background: #f6f9ff;
}
.mobile-menu__join {
  text-align: center;
  color: white;
  background: var(--blue) !important;
  box-shadow: 0 8px 20px rgba(76,147,239,.22);
}

main { width: min(1040px, calc(100% - 28px)); margin: 0 auto; }
.hero {
  position: relative;
  min-height: calc(100svh - 86px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 0 42px;
  text-align: center;
}
.hero__picture {
  display: block;
}
.hero__mascot {
  display: block;
  width: clamp(320px, 38vw, 540px);
  max-width: 92vw;
  height: auto;
  margin: 0 auto -18px;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 18px 15px rgba(45,59,81,.06));
}
.hero::after {
  content: "";
  position: absolute;
  width: min(60%, 540px);
  height: 28px;
  top: clamp(330px, 40vw, 470px);
  border-radius: 50%;
  background: rgba(142, 175, 216, .15);
  filter: blur(8px);
  z-index: -1;
}
.hero__copy h1 {
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 6.5rem);
  line-height: .88;
  letter-spacing: -.07em;
  font-weight: 1000;
}
.hero__copy p {
  margin: 12px 0 0;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 900;
  letter-spacing: -.02em;
}
.links {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.meme-button {
  min-height: 68px;
  padding: 14px 18px;
}

@media (max-width: 920px) {
  .header {
    width: calc(100% - 24px);
    min-height: 74px;
    gap: 16px;
  }
  .brand { font-size: 1.45rem; }
  .brand__icon { width: 48px; height: 48px; }
  .nav > a:not(.nav__join) { display: none; }
  .nav__join { display: none; }
  .nav-toggle { display: inline-block; }
  main { width: min(100% - 24px, 680px); }
  .hero {
    min-height: auto;
    padding-top: 8px;
    padding-bottom: 34px;
  }
  .hero__mascot {
    width: min(82vw, 430px);
    margin-bottom: -10px;
  }
  .hero::after {
    top: min(60vw, 320px);
    width: 72%;
  }
  .doodle--left { left: 3%; top: 8%; }
  .doodle--right { right: 4%; top: 10%; }
  .hero__copy h1 { font-size: clamp(3.2rem, 12vw, 5rem); }
  .hero__copy p { font-size: 1rem; margin-top: 10px; }
  .links {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 18px;
  }
  .meme-button {
    min-height: 62px;
    padding: 12px 10px;
    font-size: .98rem;
    gap: 8px;
  }
  .meme-button svg { width: 24px; height: 24px; }
}

@media (max-width: 430px) {
  .nav-toggle {
    width: 46px;
    height: 46px;
  }
  .hero {
    padding-bottom: 28px;
  }
  .hero__mascot {
    width: min(84vw, 380px);
  }
  .links {
    grid-template-columns: 1fr 1fr;
  }
  .contract code {
    max-width: calc(100vw - 120px);
  }
}


/* RtardPlumber title fit */
.hero__copy h1 { font-size: clamp(3.15rem, 7.3vw, 6.1rem); }
@media (max-width: 920px) {
  .hero__copy h1 { font-size: clamp(2.7rem, 10.5vw, 4.5rem); }
}
@media (max-width: 430px) {
  .hero__copy h1 { font-size: clamp(2.35rem, 10.7vw, 3.7rem); }
}
