/* ==========================================================================
   FŪDTRUCK landing v2 — built from the approved page art (Page-wide/narrow)
   Palette sampled from the mockup PNGs.
   ========================================================================== */
/* Tokens live in fud-kit.css (load it before this file); these aliases keep
   the landing selectors readable and scoped to landing pages only. */
:root {
  --cream: var(--fk-cream);
  --ink: var(--fk-ink);
  --pink: var(--fk-pink);
  --pink-deep: var(--fk-pink-deep);
  --teal: var(--fk-teal);
  --yellow: var(--fk-yellow);
  --orange: var(--fk-orange);
  --font-display: var(--fk-font-display);
  --font-body: var(--fk-font-body);
  --doodle-star: var(--fk-doodle-star);
  --doodle-heart: var(--fk-doodle-heart);
  --doodle-dashes: var(--fk-doodle-dashes);
  --doodle-burst: var(--fk-doodle-burst);
  --doodle-arrow: var(--fk-doodle-arrow);
  --brush-ink: var(--fk-brush-ink);
  --brush-pink: var(--fk-brush-pink);
  --wobble-box: var(--fk-wobble-box);
  --wobble-card: var(--fk-wobble-card);
  --wobble-pill: var(--fk-wobble-pill);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  background-image: var(--fk-tex-grain);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.shell { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- comic buttons ------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 800; text-transform: uppercase;
  font-size: 16px; letter-spacing: .02em;
  padding: 12px 28px; border-radius: var(--wobble-pill);
  border: 3px solid var(--ink); box-shadow: 4px 6px 0 var(--ink);
  cursor: pointer; transition: transform .08s ease, box-shadow .08s ease;
  white-space: nowrap; transform: rotate(-.5deg);
  filter: var(--fk-filter-rough-subtle);
}
.btn::before {
  content: ""; position: absolute; top: 4px; left: 12px; width: 22px; height: 10px;
  background: var(--fk-doodle-gloss) center / contain no-repeat; pointer-events: none;
}
.btn:hover { transform: translate(2px, 3px) rotate(-.5deg); box-shadow: 2px 3px 0 var(--ink); }
.btn:active { transform: translate(4px, 6px) rotate(-.5deg); box-shadow: 0 0 0 var(--ink); }
.btn-pink  { background: var(--pink-deep); color: #fff; }
.btn-teal  { background: var(--teal); color: #fff; }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-small { padding: 9px 22px; font-size: 14px; }

/* ==========================================================================
   BLOCK: header
   ========================================================================== */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  max-width: 1400px; margin: 0 auto; padding: 18px 30px 8px;
}
.brand img { width: 230px; height: auto; }
.desktop-nav { display: flex; gap: 34px; }
.desktop-nav a {
  font-weight: 800; text-transform: uppercase; font-size: 15.5px; letter-spacing: .02em;
  padding: 4px 0; border-bottom: 3px solid transparent;
}
.desktop-nav a:hover { border-bottom-color: var(--pink-deep); }
.desktop-nav a:nth-child(odd) { transform: rotate(-1deg); }
.desktop-nav a:nth-child(even) { transform: rotate(.9deg); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.menu-button {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px;
}
.menu-button span { width: 28px; height: 4px; background: var(--ink); border-radius: 3px; }
.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 10px 30px 16px; }
.mobile-nav a { font-weight: 800; text-transform: uppercase; padding: 9px 0; border-bottom: 1px solid rgba(0,0,0,.12); }
.mobile-nav[data-open] { display: flex; }

/* ==========================================================================
   BLOCK: hero
   ========================================================================== */
.hero {
  display: grid; grid-template-columns: minmax(340px, 460px) 1fr;
  gap: 28px; align-items: center; padding-top: 14px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.2vw, 84px);
  line-height: .96; letter-spacing: .01em;
  text-shadow: 3px 3px 0 rgba(0,0,0,.08);
  filter: var(--fk-filter-rough-subtle);
}
.hero h1 .love { color: var(--pink-deep); position: relative; display: inline-block; }
.hero h1 .love::after {
  content: ""; position: absolute; left: 0; right: 10%; bottom: -12px; height: 13px;
  background: var(--brush-pink) center / 100% 100% no-repeat; transform: rotate(-1.6deg);
}
.hero-lead { font-size: 21px; font-weight: 700; line-height: 1.35; margin: 26px 0 24px; max-width: 340px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.store-row { display: flex; gap: 14px; }
.store-row img { height: 52px; width: auto; border-radius: 10px; box-shadow: 0 4px 0 rgba(21,21,21,.28); }
.hero-art img { width: 100%; height: auto; }

/* ==========================================================================
   BLOCK: feature strip
   ========================================================================== */
.quick-features {
  position: relative; margin-top: 34px;
  border: 3px solid var(--ink); border-radius: var(--wobble-box); box-shadow: 4px 5px 0 var(--ink);
  background: var(--cream); transform: rotate(-.25deg);
  background-image: var(--fk-tex-hatch-ink), var(--fk-tex-grain);
  outline: 2px solid rgba(21,21,21,.2); outline-offset: -8px;
  filter: var(--fk-filter-rough-subtle);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 30px;
}
.quick-features::before {
  content: ""; position: absolute; top: -18px; left: -12px; width: 34px; height: 34px;
  background: var(--doodle-star) center / contain no-repeat; transform: rotate(-14deg);
}
.quick-features::after {
  content: ""; position: absolute; top: -20px; right: -8px; width: 30px; height: 26px;
  background: var(--doodle-dashes) center / contain no-repeat;
}
.quick-feature { position: relative; display: flex; align-items: center; gap: 14px; padding: 0 18px; }
.quick-feature + .quick-feature::before {
  content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 3px;
  background: rgba(21,21,21,.55); border-radius: 3px; transform: rotate(3deg);
}
.quick-feature img { height: 64px; width: auto; }
.quick-feature strong {
  display: block; text-transform: uppercase; font-size: 15.5px; font-weight: 800; line-height: 1.25;
}

/* ==========================================================================
   BLOCK: how it works
   ========================================================================== */
.how-it-works { position: relative; margin-top: 64px; }
.how-it-works::before {
  content: ""; position: absolute; top: -44px; left: calc(50% - 252px); width: 30px; height: 30px;
  background: var(--doodle-star) center / contain no-repeat; transform: rotate(16deg); z-index: 3;
}
.how-it-works::after {
  content: ""; position: absolute; top: -50px; left: calc(50% + 224px); width: 28px; height: 24px;
  background: var(--doodle-dashes) center / contain no-repeat; transform: scaleX(-1); z-index: 3;
}
.section-ribbon {
  position: absolute; top: -48px; left: 50%; transform: translateX(-50%) rotate(-1.4deg);
  background: var(--fk-banner-yellow) center / 100% 100% no-repeat; color: var(--ink);
  font-family: var(--font-display); font-size: 32px; letter-spacing: .05em;
  padding: 16px 74px 24px; z-index: 2; white-space: nowrap;
  text-shadow: 2px 2px 0 rgba(0,0,0,.14);
}
.hiw-box {
  border: 3px solid var(--ink); border-radius: var(--wobble-box); box-shadow: 4px 5px 0 var(--ink);
  background: var(--cream); transform: rotate(.25deg);
  background-image: var(--fk-tex-hatch-ink), var(--fk-tex-grain);
  outline: 2px solid rgba(21,21,21,.2); outline-offset: -8px;
  filter: var(--fk-filter-rough-subtle);
  display: flex; align-items: stretch; justify-content: space-between; gap: 6px;
  padding: 40px 26px 26px;
}
.step-card { display: flex; align-items: flex-start; gap: 12px; flex: 1; }
.step-art { position: relative; flex-shrink: 0; }
.step-art img { height: 96px; width: auto; }
.step-num {
  position: absolute; top: -10px; left: -12px;
  width: 30px; height: 30px; border-radius: 48% 52% 46% 54% / 54% 46% 52% 48%;
  border: 2.5px solid var(--ink); color: #fff;
  font-weight: 800; font-size: 15px; display: grid; place-items: center;
  transform: rotate(-6deg); box-shadow: 1.5px 2px 0 var(--ink);
}
.step-card:nth-child(3) .step-num { transform: rotate(5deg); }
.step-card:nth-child(7) .step-num { transform: rotate(-4deg); }
.step-card:nth-child(1) .step-num { background: #9a5fd0; }
.step-card:nth-child(3) .step-num { background: var(--pink-deep); }
.step-card:nth-child(5) .step-num { background: var(--teal); }
.step-card:nth-child(7) .step-num { background: var(--yellow); color: var(--ink); }
.step-card h3 { text-transform: uppercase; font-size: 16px; font-weight: 800; margin-bottom: 2px; }
.step-card p { font-size: 14.5px; font-weight: 600; line-height: 1.3; max-width: 150px; }
.step-arrow {
  align-self: center; flex-shrink: 0; font-size: 0;
  width: 46px; height: 26px;
  background: var(--doodle-arrow) center / contain no-repeat;
  transform: rotate(-3deg);
}
.step-arrow:nth-of-type(2) { transform: rotate(4deg); }
.step-arrow:nth-of-type(3) { transform: rotate(-2deg); }

/* ==========================================================================
   BLOCK: audience cards (pink customer / teal vendor)
   ========================================================================== */
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 42px; }
.audience-card {
  position: relative; overflow: hidden; min-height: 400px;
  border: 3px solid var(--ink); border-radius: var(--wobble-card); box-shadow: 4px 5px 0 var(--ink);
  padding: 38px 34px;
  filter: var(--fk-filter-rough-subtle);
}
.audience-card { background-image: var(--fk-tex-hatch-light), var(--fk-tex-grain); }
.customer-card { background-color: var(--pink); transform: rotate(-.35deg); }
.vendor-card { background-color: var(--teal); transform: rotate(.3deg); }
.audience-card h2 {
  font-family: var(--font-display); font-size: clamp(30px, 2.8vw, 40px);
  line-height: 1.02; max-width: 320px; margin-bottom: 16px;
  text-shadow: 2px 2px 0 rgba(0,0,0,.1);
  position: relative; z-index: 2;
}
.customer-card h2 { color: var(--pink-deep); text-shadow: 2.5px 2.5px 0 rgba(253,238,208,.55); }
.customer-card h2::after {
  content: ""; position: absolute; top: -14px; right: -34px; width: 30px; height: 30px;
  background: var(--doodle-star) center / contain no-repeat; transform: rotate(18deg);
}
.vendor-card h2::after {
  content: ""; position: absolute; top: -16px; left: -8px; width: 26px; height: 24px;
  background: var(--doodle-heart) center / contain no-repeat; transform: rotate(-14deg);
}
.vendor-card h2 { max-width: 46%; }
.vendor-card p { max-width: 44%; }
.audience-card p { font-weight: 700; font-size: 16.5px; max-width: 300px; margin-bottom: 24px; position: relative; z-index: 2; }
.audience-card .btn { position: relative; z-index: 2; }
.customer-card .card-bubble { position: absolute; top: 22px; right: 26px; width: 175px; }
.customer-card .card-people { position: absolute; bottom: 0; right: 0; width: 68%; max-width: 340px; }
.vendor-card .card-art {
  position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: 56%; object-fit: cover; object-position: left;
}

/* ==========================================================================
   BLOCK: newsletter band
   ========================================================================== */
.newsletter { margin-top: 52px; padding: 6px 0 10px; }
.newsletter-inner {
  position: relative; display: flex; align-items: center; gap: 26px;
  background: var(--yellow);
  background-image: var(--fk-tex-hatch-light), var(--fk-tex-grain);
  border: 3px solid var(--ink); border-radius: var(--wobble-card); box-shadow: 4px 5px 0 var(--ink);
  padding: 26px 34px; transform: rotate(-.3deg);
  filter: var(--fk-filter-rough-subtle);
}
.newsletter-inner::before {
  content: ""; position: absolute; top: -26px; right: 30px; width: 54px; height: 54px;
  background: var(--doodle-burst) center / contain no-repeat; transform: rotate(12deg);
}
.newsletter-inner::after {
  content: ""; position: absolute; bottom: -16px; left: 22px; width: 26px; height: 26px;
  background: var(--doodle-star) center / contain no-repeat; transform: rotate(-18deg);
}
.newsletter-inner > img { width: 150px; flex-shrink: 0; }
.newsletter h2 { font-family: var(--font-display); font-size: 32px; letter-spacing: .02em; line-height: 1; color: var(--pink-deep); text-shadow: 2px 2px 0 rgba(0,0,0,.12); }
.newsletter p { font-weight: 700; font-size: 16px; max-width: 340px; }
.newsletter-form { display: flex; gap: 0; margin-left: auto; flex: 1; max-width: 460px; }
.newsletter-form input {
  flex: 1; min-width: 0; font-family: var(--font-body); font-size: 16px; font-weight: 600;
  padding: 13px 20px; background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink); border-right: 0; border-radius: 18px 0 0 14px / 22px 0 0 16px; outline: none;
}
.newsletter-form button {
  font-family: var(--font-body); font-weight: 800; text-transform: uppercase; font-size: 15px;
  padding: 13px 26px; background: var(--pink-deep); color: #fff;
  border: 3px solid var(--ink); border-radius: 0 16px 20px 0 / 0 20px 14px 0; cursor: pointer; white-space: nowrap;
  box-shadow: 3px 3px 0 var(--ink);
}
.newsletter-form button:hover { filter: brightness(1.08); }

/* ==========================================================================
   BLOCK: footer
   ========================================================================== */
.site-footer { background: #0f100f; color: #f5efe2; padding: 46px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; gap: 30px;
}
.footer-brand img { width: 280px; margin-bottom: 18px; border-radius: 14px; }
.footer-brand p { font-weight: 600; opacity: .92; }
.footer-grid h3 {
  text-transform: uppercase; font-size: 15px; letter-spacing: .04em; margin-bottom: 14px; color: #fff;
}
.footer-grid a { display: block; padding: 4px 0; font-weight: 600; opacity: .85; font-size: 15.5px; }
.footer-grid a:hover { opacity: 1; color: var(--yellow); }
.footer-badges { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-badges img { height: 48px; width: auto; border-radius: 9px; }
.footer-col-right h3 { margin-top: 24px; }
.footer-col-right h3:first-child { margin-top: 0; }
.social-row { display: flex; gap: 12px; }
.social-row img { height: 44px; width: 44px; border-radius: 50%; }
.social-row a:hover img { transform: translateY(-2px); }
.copyright {
  text-align: center; padding: 26px 0 22px; margin-top: 38px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 14px; opacity: .75; font-weight: 600;
}
.copyright a { text-decoration: underline; }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .quick-features { flex-wrap: wrap; justify-content: center; gap: 14px 0; }
  .quick-feature { min-width: 180px; }
  .quick-feature + .quick-feature::before { display: none; }
  .hiw-box { flex-wrap: wrap; gap: 22px; }
  .step-arrow { display: none; }
  .step-card { flex: 1 1 40%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-button { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-lead { max-width: none; }
  .split-cards { grid-template-columns: 1fr; }
  .newsletter-inner { flex-wrap: wrap; }
  .newsletter-form { flex-basis: 100%; max-width: none; margin-left: 0; }
}
@media (max-width: 560px) {
  .site-header { padding-inline: 16px; gap: 12px; }
  .brand img { width: 170px; }
  .customer-card .card-bubble { width: 110px; top: 12px; right: 12px; }
  .customer-card h2, .customer-card p { max-width: 65%; }
  .vendor-card h2 { max-width: 70%; }
  .vendor-card p { max-width: 55%; }
  .step-card { flex: 1 1 100%; }
  .step-card p { max-width: none; }
  .audience-card { min-height: 0; padding-bottom: 58%; }
  .customer-card .card-people { width: 80%; }
  .newsletter-inner > img { width: 110px; }
  .footer-grid { grid-template-columns: 1fr; }
}
