/* =====================================================================
   Vendor Growth Website  |  base + 3 brand themes
   Swap [data-brand] on <html> to preview: booth | grow | homegrown
   ===================================================================== */

/* ---------- Brand themes ---------- */
:root,
[data-brand="booth"] {
  --brand: #ff6b5c;          /* coral */
  --brand-dark: #e2503f;
  --brand-2: #12b3a6;        /* teal accent */
  --ink: #241f24;
  --ink-soft: #5b555b;
  --bg: #fffaf6;
  --bg-alt: #fff1ea;
  --surface: #ffffff;
  --border: #f0e2d8;
  --dark: #241016;           /* footer / cta bg */
  --font-display: "Fraunces", Georgia, serif;
  --radius: 18px;
}
[data-brand="grow"] {
  --brand: #1f9d55;          /* growth green */
  --brand-dark: #157a41;
  --brand-2: #f2a007;        /* amber accent */
  --ink: #17241c;
  --ink-soft: #4f5c53;
  --bg: #f8faf6;
  --bg-alt: #eef5ea;
  --surface: #ffffff;
  --border: #dfe9d9;
  --dark: #0f2418;
  --font-display: "Inter", system-ui, sans-serif;
  --radius: 14px;
}
[data-brand="homegrown"] {
  --brand: #c4622d;          /* terracotta */
  --brand-dark: #a44e21;
  --brand-2: #6b8f71;        /* sage accent */
  --ink: #33261d;
  --ink-soft: #6a5a4c;
  --bg: #fbf6ee;
  --bg-alt: #f4ead9;
  --surface: #fffdf9;
  --border: #ece0cd;
  --dark: #2e2116;
  --font-display: "Fraunces", Georgia, serif;
  --radius: 22px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .4s ease, color .4s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 780px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px -8px var(--brand); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 14px 28px -10px var(--brand); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.24); }
.btn-lg { padding: 17px 30px; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--border); box-shadow: 0 6px 20px -14px rgba(0,0,0,.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; }
.logo-mark { width: 36px; height: 36px; flex: none; display: block; }
.logo-mark.small { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 500; font-size: .96rem; color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { padding: 74px 0 88px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 20px;
}
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: #fff; }
.eyebrow.light .dot { background: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.hero-title { font-size: clamp(2.5rem, 5.4vw, 4rem); font-weight: 700; }
.hero-title .accent { display: block; color: var(--brand); }
.hero-sub { font-size: 1.2rem; color: var(--ink-soft); margin: 22px 0 30px; max-width: 34ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin-top: 30px; }
.hero-trust li { position: relative; padding-left: 22px; font-size: .92rem; color: var(--ink-soft); font-weight: 500; }
.hero-trust li::before {
  content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800;
}

/* ---------- Hero visual ---------- */
.hero-visual { position: relative; min-height: 380px; }
.device { background: var(--surface); border: 1px solid var(--border); box-shadow: 0 30px 60px -30px rgba(60,30,20,.35); }
.browser {
  border-radius: 16px; overflow: hidden; width: 100%; max-width: 460px;
  transform: rotate(-2deg); animation: floaty 6s ease-in-out infinite;
}
.browser-bar { display: flex; gap: 7px; padding: 13px 16px; background: var(--bg-alt); }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.browser-bar span:first-child { background: var(--brand); }
.browser-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.bb-hero { height: 92px; border-radius: 10px; background: linear-gradient(120deg, var(--brand), var(--brand-2)); }
.bb-row { display: flex; gap: 12px; }
.bb-card { flex: 1; height: 58px; border-radius: 9px; background: var(--bg-alt); }
.bb-line { height: 10px; border-radius: 5px; background: var(--border); width: 60%; }
.bb-line.long { width: 90%; }
.bb-btn { height: 34px; width: 130px; border-radius: 999px; background: var(--brand); }

.phone {
  position: absolute; right: -6px; bottom: -30px; width: 158px; border-radius: 26px; overflow: hidden;
  transform: rotate(4deg); animation: floaty 6s ease-in-out infinite 1.2s;
  border-width: 5px;
}
.phone-notch { height: 20px; background: var(--bg-alt); position: relative; }
.phone-notch::after { content: ""; position: absolute; left: 50%; top: 6px; transform: translateX(-50%); width: 44px; height: 6px; border-radius: 3px; background: var(--border); }
.phone-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.pb-hero { height: 74px; border-radius: 10px; background: linear-gradient(140deg, var(--brand-2), var(--brand)); }
.pb-line { height: 8px; border-radius: 4px; background: var(--border); width: 55%; }
.pb-line.long { width: 85%; }
.pb-btn { height: 26px; width: 84px; border-radius: 999px; background: var(--brand); }

.float-badge {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 15px; box-shadow: 0 18px 40px -20px rgba(60,30,20,.4);
  display: flex; flex-direction: column; gap: 2px;
}
.badge-sales { top: -6px; left: -14px; animation: floaty 5s ease-in-out infinite .5s; }
.badge-star { bottom: 40px; left: -26px; color: var(--brand); font-size: 1.1rem; letter-spacing: 2px; animation: floaty 5.5s ease-in-out infinite 1.6s; }
.fb-num { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); letter-spacing: normal; }
.fb-cap { font-size: .72rem; color: var(--ink-soft); font-weight: 600; letter-spacing: normal; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(var(--r,0)); } 50% { transform: translateY(-10px) rotate(var(--r,0)); } }
.browser { --r: -2deg; } .phone { --r: 4deg; }

/* ---------- Trust strip ---------- */
.strip { background: var(--dark); color: #fff; padding: 30px 0; }
.strip-inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center; text-align: center; }
.strip-kicker { font-weight: 700; letter-spacing: .03em; opacity: .8; font-size: .9rem; }
.strip-tags { display: flex; flex-wrap: wrap; gap: 10px 12px; justify-content: center; }
.strip-tags span {
  font-size: .88rem; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  background: #ffffff14; border: 1px solid #ffffff22;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-lead { font-size: 1.14rem; color: var(--ink-soft); margin-top: 14px; }
.section-lead.left { text-align: left; margin-left: 0; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -26px rgba(60,30,20,.4); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.28rem; margin-bottom: 9px; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card-list { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.card-list li { position: relative; padding-left: 22px; font-size: .9rem; color: var(--ink); }
.card-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

/* ---------- Steps ---------- */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 8px; flex-wrap: wrap; }
.step { flex: 1; min-width: 240px; max-width: 320px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; text-align: center; }
.step-num {
  width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
}
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .97rem; }
.step-arrow { display: flex; align-items: center; color: var(--brand); font-size: 1.8rem; font-weight: 700; }

/* ---------- Split / stats ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin: 26px 0 30px; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink-soft); }
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand);
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}
.split-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; text-align: center;
}
.stat-num, .stat-prefix, .stat-suffix { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--brand); }
.stat-prefix, .stat-suffix { font-size: 1.6rem; }
.stat-cap { display: block; margin-top: 8px; font-size: .9rem; color: var(--ink-soft); font-weight: 500; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; }
.stars { color: var(--brand); letter-spacing: 2px; margin-bottom: 14px; }
.quote blockquote { font-size: 1.05rem; line-height: 1.55; }
.quote figcaption { margin-top: 18px; display: flex; flex-direction: column; }
.q-name { font-weight: 700; }
.q-role { font-size: .88rem; color: var(--ink-soft); }
.quotes-note { text-align: center; margin-top: 22px; font-size: .85rem; color: var(--ink-soft); font-style: italic; }

/* ---------- Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.tier {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; position: relative; transition: transform .2s, box-shadow .2s;
}
.tier-featured { border-color: var(--brand); box-shadow: 0 26px 50px -28px var(--brand); transform: scale(1.03); }
.tier-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .03em;
  padding: 6px 16px; border-radius: 999px; text-transform: uppercase;
}
.tier-name { font-size: 1.5rem; }
.tier-for { color: var(--ink-soft); font-size: .95rem; margin-top: 4px; }
.tier-price { margin: 20px 0; display: flex; align-items: baseline; gap: 8px; }
.tier-price { margin: 20px 0 2px; }
.tp-from { color: var(--ink-soft); font-size: .9rem; }
.tp-num { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--ink); }
.tp-per { color: var(--ink-soft); font-size: 1.05rem; font-weight: 600; }
.tier-note { color: var(--ink-soft); font-size: .82rem; margin-bottom: 20px; }
.tiers-note { text-align: center; margin-top: 26px; color: var(--ink-soft); font-size: .95rem; }
.billing-note {
  max-width: 720px; margin: 34px auto 0; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 28px; display: flex; flex-direction: column; gap: 12px;
}
.billing-note p { color: var(--ink-soft); font-size: .98rem; }
.billing-note strong { color: var(--ink); }
.billing-note em { color: var(--brand); font-style: normal; font-weight: 600; }
.tier-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.tier-list li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: .96rem; }
.tier-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 22px; transition: border-color .2s;
}
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 1.06rem; padding: 18px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); }

/* ---------- Final CTA ---------- */
.cta-final { background: var(--dark); color: #fff; padding: 84px 0; text-align: center; position: relative; overflow: hidden; }
.cta-final::before {
  content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 55%, transparent), transparent 62%);
  opacity: .5;
}
.cta-inner { position: relative; }
.cta-final h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-lead { max-width: 52ch; margin: 18px auto 34px; font-size: 1.15rem; color: #ffffffcc; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-fine { margin-top: 26px; font-size: .95rem; color: #ffffff99; }
.cta-fine a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: color-mix(in srgb, var(--dark) 92%, #000); color: #fff; padding: 52px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid #ffffff1f; }
.footer-brand { max-width: 320px; }
.footer-logo { display: flex; align-items: center; gap: 11px; }
.footer-brand .logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.footer-tag { margin-top: 14px; color: #ffffff99; font-size: .95rem; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-nav a { color: #ffffffcc; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: .85rem; color: #ffffff77; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub { max-width: none; }
  .hero-visual { min-height: 340px; max-width: 460px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .quotes { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .tier-featured { transform: none; }
  .step-arrow { transform: rotate(90deg); }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 10px 22px 22px;
    transform: translateY(-120%); transition: transform .3s ease; align-items: stretch;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--border); }
  .nav .nav-cta { margin-top: 12px; border: 0; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .section { padding: 62px 0; }
  .hero { padding: 48px 0 64px; }
  .strip-inner { gap: 16px; }
}
@media (max-width: 460px) {
  .cards { grid-template-columns: 1fr; }
  .split-stats { grid-template-columns: 1fr 1fr; }
  .btn-lg { padding: 15px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
