/* Dabblebit — dabblebit.com
   Hand-written CSS. No frameworks. Cream / ink / leaf green / gold. */

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito.ttf") format("truetype-variations");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #FEF8E9;
  --cream-deep: #FFF8EC;
  --card: #FFFDF8;
  --ink: #3B332C;
  --ink-soft: #6B5F52;
  --ink-faint: #8A7D6D;
  --green: #3FA34D;
  --green-dark: #2F7D3B;
  --green-light: #CDEBD4;
  --green-pale: #E9F7ED;
  --gold: #FFC53D;
  --gold-soft: #FFF2DA;
  --coral: #EE8151;
  --line: #EFE3CC;
  --shadow: 0 10px 30px rgba(59, 51, 44, 0.08);
  --shadow-lift: 0 16px 40px rgba(59, 51, 44, 0.14);
  --radius: 20px;
  --radius-lg: 28px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { color: var(--ink-soft); }

a { color: var(--green-dark); }

.wrap {
  width: min(var(--maxw), 100% - 2.5rem);
  margin-inline: auto;
}

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.section-head { max-width: 640px; margin-bottom: 2.75rem; }
.section-head p { margin-top: 0.9rem; font-size: 1.1rem; }
.center { text-align: center; }
.center .section-head { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 900;
  font-size: 1.05rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  line-height: 1.2;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 0 var(--green-dark), var(--shadow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--green-dark), var(--shadow-lift);
}
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--green-dark); }

.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: var(--green); }

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254, 248, 233, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}
.wordmark .dot { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
}
.nav-links a:hover { color: var(--green-dark); }
.nav-cta { padding: 0.65rem 1.4rem; font-size: 0.98rem; }
.nav-links .nav-cta { display: none; }
.nav-links a.btn-primary { color: #fff; }
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--line);
  border-radius: 12px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 3px; border-radius: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--green-light) 0%, transparent 65%);
  opacity: 0.55;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 65%);
  opacity: 0.7;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-copy .sub { font-size: 1.2rem; margin-top: 1.25rem; max-width: 34rem; }
.hero-note {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-faint);
  font-weight: 700;
}
.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.puddles-float {
  width: clamp(120px, 22vw, 190px);
  position: absolute;
  left: 2%;
  bottom: 12%;
  z-index: 2;
  filter: drop-shadow(0 14px 22px rgba(59, 51, 44, 0.18));
  animation: floaty 4.5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}

/* Phone mockup */
.phone {
  width: clamp(240px, 30vw, 300px);
  background: #201D1A;
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-lift), inset 0 0 0 2px rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}
.phone:hover { transform: translateY(-6px) rotate(-0.5deg); }
.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 9 / 19.2;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-notch {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 24px;
  background: #201D1A;
  border-radius: 999px;
  z-index: 2;
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: 1rem 0;
  border-block: 3px solid var(--green);
}
.ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: tick 26s linear infinite;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-track .sep { color: var(--green); }
.ticker-track .gold { color: var(--gold); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--green-light); }
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.card-icon img { width: 100%; height: 100%; object-fit: cover; }
.card-icon.mint { background: var(--green-pale); }
.card-icon.goldbg { background: var(--gold-soft); }
.card-icon.coralbg { background: #FFF1E6; }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 1rem; }
.step-num {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--green-dark);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

/* ---------- Flock ---------- */
.flock { background: var(--cream-deep); border-block: 2px solid var(--line); }
.flock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
}
.flock-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}
.flock-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.flock-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto 0.9rem;
}
.flock-card h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.flock-card .buddy { font-size: 0.88rem; color: var(--ink-faint); font-weight: 700; }
.pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-top: 0.7rem;
}
.pill.free { background: var(--green-light); color: var(--green-dark); }
.pill.soon { background: var(--gold-soft); color: #8a6a1f; }
.flock-card.featured { border-color: var(--green); background: #FDFFF9; }

/* ---------- Badges ---------- */
.badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.tiers { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
.tier {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}
.medal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.medal.bronze { background: radial-gradient(circle at 35% 30%, #F2A69A, #A64B36); }
.medal.silver { background: radial-gradient(circle at 35% 30%, #E8E4DA, #8A9196); }
.medal.gold { background: radial-gradient(circle at 35% 30%, #FFE9A8, #D9A416); }
.tier h3 { font-size: 1.05rem; }
.tier p { font-size: 0.95rem; }
.badge-art {
  display: flex;
  justify-content: center;
}
.badge-art img {
  width: min(320px, 80%);
  filter: drop-shadow(0 18px 28px rgba(59, 51, 44, 0.16));
  animation: floaty 5.5s ease-in-out infinite;
}

/* ---------- Screenshots ---------- */
.shots { background: var(--cream-deep); border-block: 2px solid var(--line); }
.shots-row {
  display: flex;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.shots-row .phone { width: clamp(200px, 26vw, 260px); }
.shot-cap {
  text-align: center;
  margin-top: 1rem;
  font-weight: 800;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.shot-wrap { display: flex; flex-direction: column; align-items: center; }
.shots-row .shot-wrap:nth-child(2) .phone { transform: translateY(-14px); }
.shots-row .shot-wrap:nth-child(2) .phone:hover { transform: translateY(-20px); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  transition: transform 0.25s ease, background 0.25s ease;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p { padding: 0 1.4rem 1.3rem; font-size: 1rem; }

/* ---------- Signup ---------- */
.signup { background: var(--ink); color: var(--cream); border-radius: var(--radius-lg); }
.signup .wrap { position: relative; }
.signup h2 { color: #fff; }
.signup .eyebrow { color: var(--gold); }
.signup p.lead { color: #D8CFC0; margin-top: 1rem; font-size: 1.12rem; max-width: 34rem; }
.signup-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.signup-art { display: flex; justify-content: center; }
.signup-art img {
  width: min(260px, 70%);
  border-radius: 26px;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.3));
  animation: floaty 5s ease-in-out infinite;
}
.form-row { display: flex; gap: 0.75rem; margin-top: 1.75rem; }
.form-row input[type="email"] {
  flex: 1;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: #fff;
  color: var(--ink);
  min-width: 0;
}
.form-row input[type="email"]:focus { outline: none; border-color: var(--gold); }
.form-row input[type="email"]::placeholder { color: var(--ink-faint); font-weight: 600; }
.form-status { margin-top: 1rem; font-weight: 800; min-height: 1.6em; font-size: 0.98rem; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: #F2A69A; }
.fineprint { margin-top: 0.75rem; font-size: 0.85rem; color: #A89C88; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: #B9AE9C;
  padding: 2.75rem 0 2rem;
  border-top: 3px solid var(--green);
  font-size: 0.95rem;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.foot-brand .wordmark { color: #fff; font-size: 1.4rem; }
.foot-brand p { margin-top: 0.5rem; font-size: 0.9rem; color: #8F8474; }
.foot-links { display: flex; gap: 1.75rem; list-style: none; flex-wrap: wrap; }
.foot-links a { color: #D8CFC0; text-decoration: none; font-weight: 800; }
.foot-links a:hover { color: var(--gold); }
.foot-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #4A4239;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #8F8474;
}

/* ---------- Legal / support pages ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 4rem) 0 1rem; }
.prose { max-width: 760px; padding-bottom: 4rem; }
.prose h2 { font-size: 1.5rem; margin: 2.25rem 0 0.75rem; }
.prose h3 { font-size: 1.15rem; margin: 1.75rem 0 0.5rem; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 0.9rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.prose .updated { font-size: 0.9rem; color: var(--ink-faint); font-weight: 700; }
.support-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.mailto-btn { word-break: break-all; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .puddles-float { left: 6%; }
  .cards-3 { grid-template-columns: 1fr; }
  .badges-grid { grid-template-columns: 1fr; gap: 2rem; }
  .badge-art { order: -1; }
  .signup-inner { grid-template-columns: 1fr; gap: 2rem; }
  .signup-art { order: -1; }
  .signup-art img { width: min(180px, 55%); }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links li:first-child { border-top: none; }
  .nav-links a { display: block; padding: 0.9rem 0.25rem; font-size: 1.08rem; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links .nav-cta { display: inline-flex; margin-top: 1rem; }
  .form-row { flex-direction: column; }
  .form-row .btn { width: 100%; }
  .flock-grid { grid-template-columns: repeat(2, 1fr); }
  .btn-row .btn { width: 100%; }
  .shots-row .phone { width: min(240px, 72vw); }
  .shots-row .shot-wrap:nth-child(2) .phone { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .puddles-float, .badge-art img, .signup-art img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
