* {
  box-sizing: border-box;
}

:root {
  --bg: #04070f;
  --panel: #070b14;
  --text: #f5f7ff;
  --acid: #8cf600;
  --purple: #7f1cff;
  --line: rgba(115, 132, 170, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  background: var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 12% 4%, rgba(141, 246, 0, 0.12), transparent 28%),
    radial-gradient(circle at 84% 20%, rgba(127, 28, 255, 0.18), transparent 30%),
    radial-gradient(circle at 55% 100%, rgba(0, 159, 255, 0.13), transparent 40%),
    linear-gradient(180deg, #04070f 0%, #070a12 50%, #060912 100%);
  animation: hazeDrift 20s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: -15%;
  z-index: -2;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.013) 0 1px, transparent 1px 72px);
  opacity: 0.35;
  animation: sparkShift 16s linear infinite;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.pageShell {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 0 10px 24px;
}

.topbar {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 12px;
  position: relative;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(127, 28, 255, 0.65), rgba(80, 164, 255, 0.7), rgba(140, 246, 0, 0.65));
  opacity: 0.8;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Permanent Marker", cursive;
  font-size: clamp(13px, 1.55vw, 24px);
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.16);
}

.brandSolana {
  color: #7f1cff;
  text-shadow: 0 0 10px rgba(127, 28, 255, 0.46);
}

.brandSep {
  color: #f5f8ff;
}

.brandPump {
  color: #f5f8ff;
}

.brandCard {
  color: #8cf600;
  text-shadow: 0 0 10px rgba(140, 246, 0, 0.4);
}

.brand img {
  width: clamp(26px, 4.6vw, 52px);
  height: clamp(26px, 4.6vw, 52px);
  filter: drop-shadow(0 0 10px rgba(141, 246, 0, 0.45));
  animation: catBounce 3.8s ease-in-out infinite;
}

main {
  padding: 8px 0 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(300px, 1.2fr);
  gap: 22px;
  align-items: center;
  padding: 6px 8px 20px;
}

.heroText {
  position: relative;
  padding-left: 6px;
}

.leftScribble {
  position: absolute;
  left: -24px;
  top: 160px;
  transform: rotate(-23deg);
  font-family: "Rock Salt", cursive;
  font-size: clamp(13px, 2vw, 24px);
  color: rgba(127, 28, 255, 0.75);
  letter-spacing: 0.03em;
  animation: scribbleSkid 3.6s ease-in-out infinite;
}

.heroText h1 {
  margin: 0;
  font-family: "Permanent Marker", cursive;
  font-size: clamp(39px, 6.3vw, 83px);
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  color: #fbfcff;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.55),
    0 0 15px rgba(255, 255, 255, 0.18);
  animation: titleGlitch 1.7s steps(1, end) infinite;
}

.heroText h1 span {
  color: var(--acid);
  text-shadow:
    0 0 12px rgba(140, 246, 0, 0.8),
    0 0 30px rgba(140, 246, 0, 0.3);
  animation: acidPulse 1.15s ease-in-out infinite;
}

.heroDoodle {
  position: absolute;
  pointer-events: none;
}

.heroDoodle.crown {
  right: 32%;
  top: 58px;
  width: 58px;
  height: 34px;
  border: 3px solid var(--purple);
  border-top: 0;
  clip-path: polygon(0% 100%, 14% 28%, 34% 60%, 52% 10%, 70% 58%, 87% 28%, 100% 100%);
  animation: crownBounce 2.7s ease-in-out infinite;
}

.heroDoodle.face {
  right: 19%;
  top: 192px;
  width: 88px;
  height: 88px;
  border: 3px solid var(--purple);
  border-radius: 50%;
  animation: faceBop 4.4s ease-in-out infinite;
}

.heroDoodle.face::before,
.heroDoodle.face::after {
  content: "x";
  position: absolute;
  top: 24px;
  font-family: "Permanent Marker", cursive;
  font-size: 22px;
  color: var(--purple);
}

.heroDoodle.face::before {
  left: 18px;
}

.heroDoodle.face::after {
  right: 18px;
}

.heroTagline {
  margin: 16px 0 6px;
  font-family: "Permanent Marker", cursive;
  font-size: clamp(15px, 2.1vw, 29px);
  letter-spacing: 0.03em;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  animation: sloganBlink 1.2s steps(1, end) infinite;
}

.heroTagline .violet {
  color: var(--purple);
}

.heroTagline .white {
  color: #ffffff;
}

.heroTagline .green {
  color: var(--acid);
}

.heroUnderline {
  display: block;
  width: min(330px, 84%);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7f1cff, #b334ff 55%, #7f1cff);
  margin-bottom: 16px;
  animation: lineShimmer 2.2s linear infinite;
}

.ctaRow {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.paintBtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 198px;
  height: 58px;
  padding: 0 26px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Permanent Marker", cursive;
  font-size: 33px;
  letter-spacing: 0.04em;
  color: #0d1800;
  background:
    repeating-linear-gradient(
      100deg,
      rgba(131, 230, 0, 0.94) 0 24px,
      rgba(160, 250, 35, 0.98) 24px 44px,
      rgba(125, 220, 0, 0.95) 44px 68px
    );
  border-radius: 4px;
  clip-path: polygon(2% 17%, 95% 10%, 99% 37%, 96% 89%, 3% 96%, 0% 67%, 1% 38%);
  box-shadow:
    0 9px 20px rgba(140, 246, 0, 0.24),
    inset 0 -2px 0 rgba(39, 78, 0, 0.24);
  animation: ctaJolt 2.8s steps(2, end) infinite;
}

.paintBtn::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.2) 36%, rgba(0, 0, 0, 0) 72%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.07) 0 2px,
      rgba(255, 255, 255, 0) 2px 5px
    );
  mix-blend-mode: soft-light;
  animation: brushSheen 2.1s linear infinite;
}

.paintBtn::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -5px;
  height: 8px;
  border-radius: 20px;
  background: rgba(80, 155, 0, 0.35);
  filter: blur(2px);
}

.ctaArrow {
  width: 72px;
  height: 34px;
  border-bottom: 4px solid var(--acid);
  border-right: 4px solid var(--acid);
  border-radius: 0 0 18px 0;
  transform: rotate(-22deg) translateY(-3px);
  animation: arrowNudge 1.45s ease-in-out infinite;
}

.ctaArrow::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -9px;
  width: 16px;
  height: 16px;
  border-top: 4px solid var(--acid);
  border-right: 4px solid var(--acid);
  transform: rotate(22deg);
}

.heroCard {
  display: flex;
  justify-content: center;
}

.heroCard img {
  --hero-tilt: -0.4deg;
  width: min(100%, 760px);
  display: block;
  border-radius: 28px;
  border: 1px solid rgba(160, 128, 255, 0.5);
  transform: rotate(var(--hero-tilt));
  box-shadow:
    0 0 0 1px rgba(159, 127, 255, 0.23),
    0 0 24px rgba(127, 28, 255, 0.35),
    0 18px 44px rgba(0, 0, 0, 0.45);
  filter: drop-shadow(0 0 12px rgba(127, 28, 255, 0.25));
}

.designPanel {
  position: relative;
  margin: 6px 0 0;
  border: 1px solid rgba(84, 100, 142, 0.35);
  border-radius: 26px;
  padding: 14px 14px 18px;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.9), rgba(5, 9, 18, 0.87));
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.designPanel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(127, 28, 255, 0.15);
  box-shadow: inset 0 0 26px rgba(127, 28, 255, 0.08);
  pointer-events: none;
  animation: panelPulse 2.6s ease-in-out infinite;
}

.designPanel::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 36%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(140, 246, 0, 0.9), rgba(127, 28, 255, 0.9), transparent);
  pointer-events: none;
  animation: panelSweep 4.4s linear infinite;
}

.sectionTitle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-left: 6px;
}

.sectionTitle h2 {
  margin: 0;
  font-family: "Permanent Marker", cursive;
  font-size: clamp(30px, 3.2vw, 56px);
  letter-spacing: 0.02em;
}

.sectionTitle span {
  color: var(--purple);
  font-size: clamp(26px, 3vw, 40px);
}

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

.cardItem {
  cursor: pointer;
  text-align: left;
  transform-style: preserve-3d;
}

.cardItem img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(141, 157, 196, 0.28);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cardItem p {
  margin: 7px 2px 0;
  font-size: clamp(14px, 1.4vw, 21px);
  font-weight: 600;
  color: #f6f8ff;
  letter-spacing: 0.03em;
}

.cardItem:hover img,
.cardItem.active img {
  border-color: rgba(140, 246, 0, 0.74);
  box-shadow: 0 8px 18px rgba(140, 246, 0, 0.2);
  transform: translateY(-2px);
}

.cardItem:hover {
  animation: cardBuzz 0.34s steps(2, end) infinite alternate;
}

.formBlock {
  padding: 18px 0 0;
}

.formBlock form {
  width: min(690px, 100%);
  margin: 0 auto;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(95, 114, 162, 0.38);
  background: rgba(4, 8, 15, 0.72);
}

.field {
  position: relative;
  display: flex;
  align-items: center;
  height: 54px;
  border: 1px solid rgba(116, 132, 171, 0.35);
  border-radius: 9px;
  background: rgba(2, 5, 11, 0.75);
  margin-bottom: 9px;
}

.fieldIcon {
  width: 42px;
  text-align: center;
  font-size: 18px;
  color: #aeb8d3;
  opacity: 0.9;
  flex: 0 0 auto;
}

.field input,
.field select {
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #f5f8ff;
  font-family: "Rajdhani", sans-serif;
  font-size: 28px;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0 12px 0 0;
}

.field input::placeholder,
.field select {
  color: #c0c8dd;
}

.selectField::after {
  content: "▾";
  position: absolute;
  right: 14px;
  color: #c8d1e8;
  font-size: 26px;
  pointer-events: none;
}

.field select {
  appearance: none;
  cursor: pointer;
}

.formBlock button {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  margin-top: 2px;
  font-family: "Rajdhani", sans-serif;
  font-size: 39px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #030b15;
  background: linear-gradient(90deg, #43e93f 0%, #25b5ff 53%, #8d21ff 100%);
}

.formBlock button span {
  float: right;
  margin-right: 12px;
  font-size: 28px;
}

.status {
  min-height: 20px;
  margin-top: 7px;
  text-align: center;
  color: var(--acid);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.midNote {
  width: min(690px, 100%);
  margin: 16px auto 8px;
  padding: 2px 6px;
}

.midNote p {
  margin: 0;
  font-family: "Permanent Marker", cursive;
  font-size: clamp(14px, 1.08vw, 18px);
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: #f6f8ff;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.62),
    0 0 10px rgba(255, 255, 255, 0.08);
}

.midNote p + p {
  margin-top: 14px;
}

.midAccentPurple {
  color: #7f1cff;
  text-shadow: 0 0 10px rgba(127, 28, 255, 0.38);
}

.midAccentWhite {
  color: #ffffff;
}

.midAccentGreen {
  color: #8cf600;
  text-shadow: 0 0 10px rgba(140, 246, 0, 0.32);
}

.panelFooter {
  padding: 14px 0 4px;
  text-align: center;
}

.panelFooter p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(22px, 2.2vw, 35px);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.panelFooter .solana {
  color: #67a6ff;
  font-weight: 700;
}

.panelFooter .sep {
  color: #ffffff;
  opacity: 0.85;
}

.panelFooter .pump {
  color: #ffffff;
  font-weight: 700;
}

.panelFooter .cardWord {
  color: #ecefff;
  letter-spacing: 0.24em;
}

.footerLine {
  display: block;
  width: 210px;
  height: 4px;
  border-radius: 999px;
  margin: 8px auto 0;
  background: linear-gradient(90deg, transparent, #7f1cff 25%, #b233ff 50%, #7f1cff 75%, transparent);
}

.panelDoodle {
  position: absolute;
  font-family: "Rock Salt", cursive;
  color: rgba(127, 28, 255, 0.68);
  pointer-events: none;
}

.panelDoodle.left {
  left: 12px;
  bottom: 62px;
  font-size: clamp(16px, 2vw, 30px);
  transform: rotate(-10deg);
}

.panelDoodle.right {
  right: 26px;
  bottom: 54px;
  font-size: clamp(24px, 2.6vw, 40px);
}

.modalOpen {
  overflow: hidden;
}

.cardPreviewOverlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.cardPreviewOverlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cardPreviewModal {
  position: relative;
  max-width: min(920px, 94vw);
  max-height: 90vh;
}

.cardPreviewModal img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}

.cardPreviewClose {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(5, 7, 12, 0.85);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}

.intro-ready .heroCard img {
  opacity: 1;
  animation:
    heroDrop 0.72s cubic-bezier(0.2, 0.86, 0.24, 1.12) both,
    heroFloat 5.8s ease-in-out 0.72s infinite,
    degenGlow 2.4s steps(1, end) 0.2s infinite;
}

.cardItem.reveal-pending {
  opacity: 0.001;
  transform: translate3d(0, 46px, 0) scale(0.93);
}

.cardItem.reveal-show {
  animation: cardStreetDrop 0.88s cubic-bezier(0.18, 0.88, 0.2, 1.12) both;
}

.cardItem.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes titleGlitch {
  0%,
  11%,
  20%,
  100% {
    transform: translateX(0) rotate(0deg);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55), 0 0 15px rgba(255, 255, 255, 0.18);
  }
  12% {
    transform: translateX(2px) rotate(-0.4deg);
    text-shadow: -1px 0 0 rgba(37, 181, 255, 0.2), 1px 0 0 rgba(127, 28, 255, 0.24), 0 0 18px rgba(255, 255, 255, 0.2);
  }
  13% {
    transform: translateX(-3px) rotate(-0.6deg);
  }
  21% {
    transform: translateX(1px) rotate(-0.2deg);
  }
}

@keyframes catBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  30% {
    transform: translateY(-2px) rotate(-4deg);
  }
  60% {
    transform: translateY(-1px) rotate(3deg);
  }
}

@keyframes scribbleSkid {
  0%,
  100% {
    transform: rotate(-23deg) translateX(0);
    opacity: 0.78;
  }
  50% {
    transform: rotate(-21deg) translateX(6px);
    opacity: 1;
  }
}

@keyframes crownBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-4px) rotate(-5deg);
  }
}

@keyframes faceBop {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  35% {
    transform: translateY(-3px) rotate(5deg);
  }
  70% {
    transform: translateY(1px) rotate(-4deg);
  }
}

@keyframes lineShimmer {
  0% {
    filter: brightness(0.9);
  }
  50% {
    filter: brightness(1.35);
  }
  100% {
    filter: brightness(0.9);
  }
}

@keyframes ctaJolt {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  15% {
    transform: translateY(-1px) rotate(-0.8deg);
  }
  16% {
    transform: translateY(1px) rotate(0.6deg);
  }
  58% {
    transform: translateY(0) rotate(0deg);
  }
  59% {
    transform: translateY(-1px) rotate(-0.55deg);
  }
}

@keyframes brushSheen {
  0% {
    transform: translateX(-30%);
    opacity: 0.3;
  }
  40% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(26%);
    opacity: 0.3;
  }
}

@keyframes arrowNudge {
  0%,
  100% {
    transform: rotate(-22deg) translateY(-3px) translateX(0);
  }
  50% {
    transform: rotate(-20deg) translateY(-4px) translateX(4px);
  }
}

@keyframes panelPulse {
  0%,
  100% {
    border-color: rgba(127, 28, 255, 0.12);
    box-shadow: inset 0 0 20px rgba(127, 28, 255, 0.08);
  }
  50% {
    border-color: rgba(140, 246, 0, 0.18);
    box-shadow: inset 0 0 30px rgba(127, 28, 255, 0.12);
  }
}

@keyframes panelSweep {
  0% {
    left: -40%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  52% {
    opacity: 0.9;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes degenGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(127, 28, 255, 0.22)) saturate(1);
  }
  35% {
    filter: drop-shadow(0 0 14px rgba(127, 28, 255, 0.35)) saturate(1.14);
  }
  36% {
    filter: drop-shadow(0 0 7px rgba(127, 28, 255, 0.18)) saturate(0.98);
  }
}

@keyframes cardBuzz {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(1px);
  }
}

@keyframes acidPulse {
  0%,
  100% {
    text-shadow: 0 0 12px rgba(140, 246, 0, 0.8), 0 0 30px rgba(140, 246, 0, 0.3);
    filter: saturate(1.15);
  }
  50% {
    text-shadow: 0 0 14px rgba(160, 255, 40, 0.95), 0 0 34px rgba(140, 246, 0, 0.38);
    filter: saturate(1.3);
  }
}

@keyframes sloganBlink {
  0%,
  100% {
    opacity: 1;
  }
  18% {
    opacity: 0.72;
  }
  22% {
    opacity: 1;
  }
  64% {
    opacity: 0.84;
  }
  68% {
    opacity: 1;
  }
}

@keyframes heroDrop {
  0% {
    transform: translateY(-26px) rotate(-8deg) scale(0.96);
    opacity: 0.42;
  }
  60% {
    transform: translateY(8px) rotate(2deg) scale(1.015);
    opacity: 1;
  }
  76% {
    transform: translateY(-4px) rotate(-1deg) scale(1);
  }
  100% {
    transform: translateY(0) rotate(var(--hero-tilt)) scale(1);
    opacity: 1;
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0) rotate(var(--hero-tilt));
  }
  50% {
    transform: translateY(-9px) rotate(calc(var(--hero-tilt) + 0.6deg));
  }
}

@keyframes hazeDrift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  100% {
    transform: translate3d(2%, 1%, 0) scale(1.04);
  }
}

@keyframes sparkShift {
  0% {
    transform: translate3d(-3%, -1%, 0);
  }
  100% {
    transform: translate3d(3%, 2%, 0);
  }
}

@keyframes cardStreetDrop {
  0% {
    opacity: 0;
    transform: translate3d(var(--slide-x, 0px), -90px, 0) rotate(var(--drop-rot, -16deg)) scale(0.72);
  }
  38% {
    opacity: 1;
    transform: translate3d(var(--slide-x-rebound, 0px), 16px, 0) rotate(var(--drop-rot-rebound, 6deg)) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .heroDoodle.crown {
    right: 20%;
  }

  .heroDoodle.face {
    right: 6%;
    top: 210px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field input,
  .field select {
    font-size: 23px;
  }

  .formBlock button {
    font-size: 32px;
  }

  .panelFooter p {
    gap: 8px;
  }
}

@media (max-width: 620px) {
  .pageShell {
    padding-left: 6px;
    padding-right: 6px;
  }

  .topbar {
    padding: 0 4px;
  }

  .brand {
    font-size: clamp(10px, 2.1vw, 16px);
    gap: 4px;
  }

  .hero {
    padding-left: 2px;
    padding-right: 2px;
  }

  .heroDoodle.face,
  .leftScribble,
  .heroDoodle.crown {
    opacity: 0.72;
  }

  .paintBtn {
    font-size: 30px;
    min-width: 148px;
  }

  .formBlock form {
    padding: 10px;
  }

  .field {
    height: 50px;
  }

  .field input,
  .field select {
    font-size: 18px;
  }

  .formBlock button {
    height: 52px;
    font-size: 28px;
  }

  .panelDoodle.left {
    bottom: 95px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .brand img,
  .leftScribble,
  .heroDoodle.crown,
  .heroDoodle.face,
  .heroText h1,
  .heroText h1 span,
  .heroTagline,
  .heroUnderline,
  .paintBtn,
  .paintBtn::before,
  .ctaArrow,
  .designPanel::before,
  .designPanel::after,
  .cardItem:hover,
  body.intro-init .heroCard img,
  body.intro-init.intro-ready .heroCard img,
  .cardItem.reveal-show {
    transition: none;
    animation: none;
    opacity: 1;
    transform: none;
  }

  .cardItem.reveal-pending,
  .cardItem.revealed {
    opacity: 1;
    transform: none;
  }
}
