/* /cashapp: Support Wurt. Light only. Wurt's own colors, never Cash App's. */
:root {
  --paper: #fff6e9;
  --ink: #2b1d3a;
  --soft: #5b4a6b;
  --pink: #ff5fa2;
  --pink-l: #ffd6e8;
  --blue: #3ab8ff;
  --blue-l: #d4efff;
  --lemon: #ffd23f;
  --lemon-l: #fff1b8;
  --grape: #8b5cf6;
  --grape-l: #e6dcff;
  --orange: #ff8a3d;
  --round: "Fredoka", "Arial Rounded MT Bold", ui-rounded, "Trebuchet MS", sans-serif;
  --body: "Nunito", ui-rounded, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 5px 5px 0 var(--ink);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(circle at 1px 1px, rgba(43, 29, 58, .09) 1.5px, transparent 0);
  background-size: 26px 26px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.08rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: #c2186b; text-underline-offset: 3px; }
a:hover { color: var(--grape); }
:focus-visible { outline: 3px solid var(--grape); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: #fff; padding: 8px 14px; border: 3px solid var(--ink); border-radius: 12px; }

nav.site {
  max-width: 1000px; margin: 0 auto; padding: 18px 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
nav.site .brand { font-family: var(--round); font-weight: 700; font-size: 1.5rem; color: var(--ink); text-decoration: none; }
nav.site .brand::first-letter { color: var(--pink); }
.pill-link {
  font-family: var(--round); font-weight: 600; text-decoration: none; color: var(--ink);
  background: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 4px 16px; box-shadow: 3px 3px 0 var(--ink);
}

/* Header */
.top { position: relative; overflow: hidden; padding: 24px 20px 28px; }
.top-inner {
  position: relative; z-index: 1; max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: center;
}
.kicker { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; font-weight: 800; color: var(--soft); }
.kicker span {
  font-family: var(--round); background: var(--lemon); border: 3px solid var(--ink); border-radius: 999px;
  padding: 2px 14px; color: var(--ink); transform: rotate(-3deg); display: inline-block;
}
h1 {
  font-family: var(--round); font-weight: 700; font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.04; margin: 0 0 18px; letter-spacing: -.5px;
}
h1 .w { display: inline-block; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink); }
h1 .w1 { color: var(--pink); }
h1 .w2 { color: var(--blue); }
h1 .w3 { color: var(--lemon); }
h1 .w4 { color: var(--grape); }
.lede { font-size: 1.2rem; max-width: 34rem; margin: 0; color: var(--soft); font-weight: 700; }

.buddy { margin: 0; position: relative; justify-self: center; max-width: 240px; width: 100%; }
.buddy img { display: block; width: 100%; filter: drop-shadow(6px 8px 0 rgba(43, 29, 58, .18)); }
.bubble {
  position: relative; margin: 0 0 14px; background: #fff; border: 3px solid var(--ink); border-radius: 22px;
  padding: 12px 16px; font-family: var(--round); font-weight: 600; font-size: 1.05rem; line-height: 1.3; box-shadow: var(--shadow);
}
.bubble::after {
  content: ""; position: absolute; left: 46%; bottom: -16px; width: 22px; height: 22px; background: #fff;
  border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg);
}

.floaties { position: absolute; inset: 0; pointer-events: none; }
.fl { position: absolute; width: 40px; height: 40px; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fl-1 { left: 3%; top: 14%; fill: var(--lemon); }
.fl-2 { left: 48%; top: 5%; fill: var(--pink); width: 30px; height: 30px; }
.fl-3 { right: 5%; top: 8%; fill: var(--blue); width: 30px; height: 30px; }
.fl-4 { left: 40%; bottom: 6%; fill: var(--orange); width: 28px; height: 28px; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--round); font-weight: 700; font-size: 1.1rem; text-decoration: none; text-align: center;
  color: var(--ink); background: var(--pink); border: 3px solid var(--ink); border-radius: 999px;
  padding: 9px 20px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }

/* Sections */
main { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.block { padding: 26px 0; }
h2 {
  font-family: var(--round); font-weight: 700; font-size: clamp(1.7rem, 4.4vw, 2.4rem); line-height: 1.1;
  margin: 0 0 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.tag {
  font-size: .95rem; padding: 3px 12px; border: 3px solid var(--ink); border-radius: 999px; transform: rotate(-4deg);
  display: inline-block; box-shadow: 3px 3px 0 var(--ink);
}
.tag-pink { background: var(--pink-l); }
.tag-blue { background: var(--blue-l); }
.tag-grape { background: var(--grape-l); }
.c-pink { background: var(--pink-l); }
.c-blue { background: var(--blue-l); }
.c-lemon { background: var(--lemon-l); }

/* The give card */
.give {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center;
  background: #fff; border: 3px solid var(--ink); border-radius: 30px; padding: 26px 28px; box-shadow: 8px 8px 0 var(--ink);
}
.give h2 { margin-bottom: 8px; gap: 8px; }
.cashtag {
  display: inline-block; font-size: 1.15em; background: var(--lemon); border: 3px solid var(--ink); border-radius: 16px;
  padding: 0 12px; transform: rotate(-2deg); overflow-wrap: anywhere;
}
.copy-row { margin: 0 0 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 1.6em; }
.copy {
  font: 600 1rem var(--round); color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 999px;
  padding: 4px 14px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer;
}
.copy:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.copy-say { font-weight: 800; color: var(--soft); }
.pick { display: block; margin: 0 0 10px; font-family: var(--round); font-weight: 600; font-size: 1.15rem; }

.amounts { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.amt {
  display: block; text-align: center; font-family: var(--round); font-weight: 700; font-size: 1.5rem; text-decoration: none;
  color: var(--ink); background: var(--blue-l); border: 3px solid var(--ink); border-radius: 18px; padding: 10px 4px;
  box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.amounts li:nth-child(2) .amt { background: var(--pink-l); }
.amounts li:nth-child(3) .amt { background: var(--lemon-l); }
.amounts li:nth-child(4) .amt { background: var(--grape-l); }
.amt:hover { color: var(--ink); transform: translate(-2px, -3px) rotate(-2deg); box-shadow: 7px 8px 0 var(--ink); }
.amt:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }

.custom { margin: 0 0 20px; }
.custom-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dollar { font-family: var(--round); font-weight: 700; font-size: 1.6rem; }
#amount {
  flex: 1 1 120px; min-width: 0; max-width: 220px; font: 700 1.3rem var(--round); color: var(--ink); background: var(--paper);
  border: 3px solid var(--ink); border-radius: 16px; padding: 8px 14px;
}
#amount[aria-invalid="true"] { border-color: #c2186b; background: var(--pink-l); }
.hint { margin: 8px 0 0; font-size: .95rem; font-weight: 700; color: var(--soft); }
.hint.bad { color: #a0105a; }

.note-tip {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 16px;
  background: var(--lemon-l); border: 3px dashed var(--ink); border-radius: 18px;
  font-family: var(--round); font-weight: 600; font-size: 1.2rem; line-height: 1.3;
}
.note-tip strong { background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 0 8px; white-space: nowrap; }
.pencil { font-size: 1.6rem; flex: none; display: inline-block; }
.alt { margin: 0; font-weight: 700; color: var(--soft); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.step {
  display: flex; align-items: center; gap: 14px; border: 3px solid var(--ink); border-radius: 22px; padding: 14px 18px;
  box-shadow: var(--shadow); font-weight: 700;
}
.step b {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 3px solid var(--ink); border-radius: 50%;
  background: #fff; font-family: var(--round); font-size: 1.3rem;
}

/* Fine print */
.fine { margin: 0; padding: 18px 22px 18px 40px; background: #fff; border: 3px solid var(--ink); border-radius: 22px; box-shadow: var(--shadow); }
.fine li { margin: 0 0 6px; font-weight: 700; color: var(--soft); }
.fine li:last-child { margin-bottom: 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 18px; }
.qa { background: #fff; border: 3px solid var(--ink); border-radius: 22px; padding: 16px 20px; box-shadow: var(--shadow); }
.qa h3 { font-family: var(--round); font-size: 1.2rem; line-height: 1.25; margin: 0 0 6px; }
.qa p { margin: 0; }

.site-foot { max-width: 1000px; margin: 20px auto 0; padding: 26px 20px 40px; border-top: 3px dashed rgba(43, 29, 58, .25); text-align: center; color: var(--soft); font-weight: 700; }
.site-foot p { margin: 0 0 6px; }

/* Motion (all of it is off for reduced motion, below) */
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(16deg); } }
@keyframes scribble { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-14deg); } 90% { transform: rotate(10deg); } }

.buddy img { animation: bob 3.4s ease-in-out infinite; transform-origin: 50% 100%; }
.fl { animation: floaty 6s ease-in-out infinite; }
.fl-2 { animation-duration: 4.5s; animation-delay: -1s; }
.fl-3 { animation-duration: 7s; animation-delay: -2s; }
.fl-4 { animation-duration: 5.5s; animation-delay: -3s; }
.pencil { animation: scribble 3s ease-in-out infinite; transform-origin: 30% 90%; }

@media (max-width: 760px) {
  .top-inner { grid-template-columns: minmax(0, 1fr); }
  .buddy { max-width: 170px; }
  .fl-1, .fl-2, .fl-4 { display: none; }
  .fl-3 { top: 2%; }
  .bubble { font-size: .98rem; }
  .give { padding: 22px 18px; }
}
@media (max-width: 420px) {
  .amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #amount { max-width: none; }
  .custom-row .btn { flex: 1 1 100%; }
  .note-tip { font-size: 1.08rem; }
}

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

@media print {
  body { background: #fff; }
  .floaties, nav.site, .skip, .copy-row, .custom { display: none; }
  .give, .step, .fine, .qa, .amt { box-shadow: none; }
}
