/* ————————————————————————————————————————————————
   READYPUP — Playful Color Burst (preset 12 Sagmeister & Walsh)
   Joyful color bursts on a minimal warm-cream base.
   Display: Instrument Serif (italic accents) · Body: Bricolage Grotesque · Labels: JetBrains Mono
   ———————————————————————————————————————————————— */
@import url('fonts.css');

:root {
  --paper: #FFFDF5;
  --surface: #FFFFFF;
  --ink: #1A1A1F;
  --ink-soft: #4A4A52;
  --muted: #8A867B;
  --border: #ECE7DA;
  --sun: #FFC700;
  --coral: #FF5C39;
  --sky: #3EA0FF;
  --grass: #2FC866;
  --lilac: #B78CFF;
  --coral-soft: rgba(255, 92, 57, 0.09);

  --display: 'Instrument Serif', Georgia, serif;
  --body: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 380;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
a { color: inherit; }

/* ——— burst decorations (S&W: joyful color bursts on minimal base) ——— */
.burst { position: absolute; pointer-events: none; z-index: 0; }
.burst-dots { display: grid; grid-template-columns: repeat(6, auto); gap: 14px; }
.burst-dots span { width: 13px; height: 13px; border-radius: 50%; display: inline-block; }
.dot-sun { background: var(--sun); }
.dot-coral { background: var(--coral); }
.dot-sky { background: var(--sky); }
.dot-grass { background: var(--grass); }
.dot-lilac { background: var(--lilac); }

.blob {
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  opacity: 0.9;
}
.blob-sun { background: var(--sun); width: 190px; height: 190px; }
.blob-sky { background: var(--sky); width: 120px; height: 120px; }
.blob-lilac { background: var(--lilac); width: 90px; height: 90px; }

.paw {
  width: 54px; height: 54px; color: var(--ink);
  transform: rotate(-12deg);
}
.star-burst {
  width: 0; height: 0;
  border-style: solid;
  border-color: transparent;
}

/* squiggle underline for hero word */
.squiggle {
  position: relative;
  white-space: nowrap;
}
.squiggle svg {
  position: absolute;
  left: 0; right: 0; bottom: -0.14em;
  width: 100%; height: 0.22em;
  overflow: visible;
}
.squiggle svg path {
  fill: none;
  stroke: var(--sun);
  stroke-width: 7;
  stroke-linecap: round;
}

/* ——— header ——— */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  position: relative;
  z-index: 2;
}
.logo {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo .paw-mini { width: 30px; height: 30px; color: var(--coral); transform: rotate(-14deg); }
.logo em { font-style: italic; }
nav { display: flex; gap: 26px; align-items: center; }
nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 480;
  transition: color 120ms ease;
}
nav a:hover { color: var(--ink); }
.btn {
  display: inline-block;
  font: inherit;
  cursor: pointer;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 560;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn:active { transform: translateY(2px) scale(0.99); }
.btn-primary {
  background: var(--coral);
  color: #FFF;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--sun); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-sun:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }

/* ——— hero ——— */
.hero {
  position: relative;
  padding: 84px 0 72px;
  z-index: 1;
}
.hero .eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--sun);
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
  font-weight: 500;
  margin-bottom: 26px;
  transform: rotate(-1.2deg);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 400;
  max-width: 13ch;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}
.hero h1 .accent-coral { color: var(--coral); font-style: italic; }
.hero h1 .accent-sky { color: var(--sky); font-style: italic; }
.hero .lede {
  font-size: 19px;
  max-width: 52ch;
  color: var(--ink-soft);
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ——— marquee divider ——— */
.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 13px 0;
  transform: rotate(-1deg) scale(1.02);
  margin: 26px -8px 0;
}
.marquee-track {
  display: flex;
  gap: 44px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: slide 26s linear infinite;
  width: max-content;
}
.marquee-track span::after { content: ' ✦'; color: var(--sun); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { transform: none; }
  * { scroll-behavior: auto !important; }
}

/* ——— how it works ——— */
section { padding: 76px 0; position: relative; }
.section-header { margin-bottom: 46px; max-width: 640px; position: relative; z-index: 1; }
.section-header h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 12px 0;
}
.section-header h2 em { font-style: italic; }
.section-header h2 .c-coral { color: var(--coral); }
.section-header h2 .c-sky { color: var(--sky); }
.section-header h2 .c-grass { color: var(--grass); }
.section-header p { color: var(--ink-soft); font-size: 16.5px; max-width: 54ch; }

.steps {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 26px;
}
.step {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 18px 18px 18px 6px;
  padding: 28px 26px;
  position: relative;
  z-index: 1;
}
.step .step-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--ink);
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 16px;
  transform: rotate(-2deg);
}
.step:nth-child(1) .step-num { background: var(--sun); }
.step:nth-child(2) .step-num { background: var(--sky); color: #fff; }
.step:nth-child(3) .step-num { background: var(--grass); color: #fff; }
.step h3 {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.step p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.step .step-icon { position: absolute; top: -20px; right: 18px; width: 44px; height: 44px; }

/* ——— waitlist section ——— */
.waitlist {
  background: var(--surface);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.waitlist-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.perks { list-style: none; margin-top: 26px; }
.perks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
  color: var(--ink-soft);
}
.perks li:last-child { border-bottom: none; }
.perks .tick {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  margin-top: 1px;
}
.perks li:nth-child(1) .tick { background: var(--coral); }
.perks li:nth-child(2) .tick { background: var(--sky); }
.perks li:nth-child(3) .tick { background: var(--grass); }
.perks li:nth-child(4) .tick { background: var(--lilac); }
.perks li:nth-child(5) .tick { background: var(--sun); color: var(--ink); }

.signup-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 20px 20px 20px 8px;
  padding: 34px 32px;
  box-shadow: 7px 7px 0 var(--sun);
  position: relative;
  z-index: 1;
}
.signup-card h3 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.signup-card .sub { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 22px; }
.signup-card label.field-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 500;
}
.signup-card input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  margin-bottom: 6px;
}
.signup-card input[type="email"]:focus {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}
.signup-card .error-msg {
  color: var(--coral);
  font-size: 13px;
  font-weight: 530;
  min-height: 20px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.signup-card .hint { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.5; }

.success-card { text-align: center; padding: 12px 0 4px; }
.success-card .big-paw { width: 74px; height: 74px; color: var(--grass); margin: 0 auto 14px; animation: pop 480ms cubic-bezier(0.2, 1.6, 0.4, 1); }
@keyframes pop { 0% { transform: scale(0.2) rotate(-30deg); } 100% { transform: scale(1) rotate(0); } }
.success-card h4 { font-family: var(--display); font-size: 28px; font-weight: 400; margin-bottom: 8px; }
.success-card p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 14px; }
.success-card .position-badge {
  font-family: var(--mono);
  background: var(--sun);
  border: 2px solid var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 18px;
}
.share-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* confetti on success */
.confetti {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}
.confetti i {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 2px;
  opacity: 0;
}
.confetti.play i { animation: confetti-fall 1100ms ease-out forwards; }
@keyframes confetti-fall {
  0% { transform: translate(0, -10px) rotate(0); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; }
}

/* ——— mini ledger (operator view) ——— */
.ledger-box { margin-top: 26px; border: 2px dashed var(--border); border-radius: 14px; padding: 18px 20px; }
.ledger-box summary {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.ledger-box table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 12.5px; }
.ledger-box th {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 8px 8px;
  border-bottom: 2px solid var(--ink);
}
.ledger-box td { padding: 8px; border-bottom: 1px solid var(--border); color: var(--ink-soft); font-family: var(--mono); font-size: 11.5px; word-break: break-all; }
.ledger-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.btn-mini {
  font: inherit;
  font-size: 12.5px;
  font-weight: 530;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: #fff;
  cursor: pointer;
  transition: background 120ms ease;
}
.btn-mini:hover { background: var(--sun); }
.ledger-empty { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ——— FAQ ——— */
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--body);
  font-weight: 600;
  font-size: 22px;
  color: var(--coral);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item .faq-a { padding: 0 0 20px; color: var(--ink-soft); font-size: 15px; max-width: 60ch; }

/* ——— closing CTA ——— */
.closing {
  background: var(--coral);
  color: #FFF;
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.closing h2 {
  font-family: var(--display);
  font-size: clamp(42px, 5.4vw, 66px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin-bottom: 14px;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}
.closing h2 em { font-style: italic; color: var(--sun); }
.closing p { opacity: 0.92; max-width: 46ch; margin: 0 auto 30px; font-size: 17px; }
.closing .btn-primary { background: #FFF; color: var(--coral); box-shadow: 4px 4px 0 rgba(0,0,0,0.35); }
.closing .paw-white { position: absolute; opacity: 0.16; color: #fff; }

/* ——— footer ——— */
footer {
  padding: 34px 0;
  border-top: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}
footer .links { display: flex; gap: 22px; }
footer .links a { color: var(--muted); text-decoration: none; font-weight: 480; }
footer .links a:hover { color: var(--ink); }
footer .mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; }

/* ——— hosted-preview badge clearance: fixed bottom-right badge overlaps narrow screens ——— */
#waitlist { scroll-margin-bottom: 150px; }
@media (max-width: 880px) {
  body { padding-bottom: 96px; }
  footer { padding-bottom: 48px; }

  /* mobile: hero blobs overlap the full-width text column — replace with a contained color bar */
  .hero .burst { display: none; }
  .hero::after {
    content: '';
    display: block;
    height: 6px;
    margin-top: 30px;
    border-radius: 999px;
    background: linear-gradient(90deg,
      var(--sun) 0 20%, var(--coral) 20% 40%, var(--sky) 40% 60%,
      var(--grass) 60% 80%, var(--lilac) 80% 100%);
  }

  /* mobile: straight, edge-flush marquee (rotate+scale overflowed the viewport) */
  .marquee { transform: none; margin: 20px 0 0; }
}

/* ——— responsive ——— */
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .waitlist-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: 56px 0 52px; }
  .hero h1 { max-width: 12ch; }
  section { padding: 56px 0; }
  nav a:not(.btn) { display: none; }
  .blob-sun { width: 120px; height: 120px; }
  .blob-sky { width: 80px; height: 80px; }
  .blob-lilac { width: 60px; height: 60px; }
}
