/* ============================================================
   BIZVO MARKETING SITE — HOME PAGE ONLY
   Sections unique to index.html: hero, invoice mockups, steps,
   pillar grid layout, offline card, the Stamp stage, pricing
   card, story band, final CTA. Shared chrome (nav/footer/buttons/
   cards/FAQ/compare table) lives in components.css — load that
   first, then this file, on the home page only.
   ============================================================ */

/* ---------- 1. Hero ---------- */
.hero { padding: 76px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding: 52px 0 72px; }
}

.hero-card { position: relative; padding: 44px 42px 40px; }
@media (max-width: 600px) { .hero-card { padding: 36px 26px 32px; } }
.hero-mark { margin-bottom: 20px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -0.015em; margin-bottom: 14px; }
.hero-sub { font-size: 18px; color: #574f43; margin: 0 0 24px; max-width: 46ch; }

.hero-cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-cta-row .see-how { font-size: 15px; font-weight: 600; text-decoration: none; }
.hero-cta-row .see-how:hover { text-decoration: underline; }

/* Hero product visual — invoice shown SENT, deliberately not Paid.
   The stamp is saved for the "Get paid" section, where it lands as
   the centerpiece. Do not pre-empt it here. */
.hero-visual { position: relative; display: flex; justify-content: center; }
.invoice-mock { width: min(340px, 100%); padding: 24px 22px 22px; position: relative; }
.invoice-mock .tape { width: 74px; height: 20px; top: -10px; }
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.inv-biz { display: flex; align-items: center; gap: 9px; }
.inv-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--workshop-teal); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
}
.inv-bizname { font-weight: 600; font-size: 14px; }
.inv-bizsub { font-size: 11px; color: var(--ink-soft); }
.inv-num { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink-soft); }
.inv-rule { border: none; border-top: 1px dashed #D8C9A3; margin: 14px 0; }
.inv-line { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; }
.inv-line .d { color: #4d463c; }
.inv-line .a { font-weight: 600; font-variant-numeric: tabular-nums; }
.inv-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.inv-total .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); font-weight: 600; }
.inv-total .amt { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.tag-sent {
  display: inline-block; margin-top: 14px;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--workshop-teal-tint); color: var(--workshop-teal);
  padding: 5px 12px; border-radius: 999px;
}
.inv-paybtn {
  margin-top: 16px; width: 100%;
  background: var(--workshop-teal); color: var(--paper);
  border: none; border-radius: var(--radius-card);
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  padding: 12px; cursor: default;
}
.hero-visual-caption {
  position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%);
  font-size: 12px; color: var(--ink-soft); white-space: nowrap;
}

/* ---------- 2. How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.step { padding: 30px 26px 28px; position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--tape-amber); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: #574f43; margin: 0; }

/* ---------- 3/4/6. Two-column pillar layout (ownership, offline) ---------- */
.pillar { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .pillar { grid-template-columns: 1fr; gap: 40px; } }
.pillar h2 { font-size: clamp(25px, 3.2vw, 35px); letter-spacing: -0.01em; margin-bottom: 16px; }
.pillar-body { font-size: 16px; color: #4d463c; margin: 0 0 22px; }
.pillar .cta-link { font-size: 15px; font-weight: 600; text-decoration: none; }
.pillar .cta-link:hover { text-decoration: underline; }

/* ---------- 4. Offline visual ---------- */
.offline-band { background: rgba(47,111,107,0.07); }
.offline-visual { display: flex; justify-content: center; }
.offline-card { width: min(340px, 100%); padding: 26px 24px; text-align: center; position: relative; }
.offline-card .tape { width: 70px; height: 20px; top: -10px; }
.signal { display: inline-flex; align-items: flex-end; gap: 5px; height: 34px; margin-bottom: 10px; }
.signal span { width: 8px; background: #D8C9A3; border-radius: 2px; }
.signal span:nth-child(1){height:10px} .signal span:nth-child(2){height:17px}
.signal span:nth-child(3){height:24px} .signal span:nth-child(4){height:31px}
.signal-label { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.offline-saved {
  display: inline-block; margin-top: 14px;
  font-size: 12px; font-weight: 600;
  background: var(--paid-tint); color: var(--paid-text);
  padding: 6px 14px; border-radius: 999px;
}

/* ---------- 5. Get Paid / The Stamp (signature moment) ---------- */
.stamp-stage { display: flex; justify-content: center; }
.stamp-invoice { width: min(360px, 100%); padding: 26px 24px 30px; position: relative; }
.stamp-invoice .tape { width: 80px; height: 20px; top: -10px; }

/* The Paid stamp — the ONLY place --stamp-red appears on this page */
.stamp {
  position: absolute; right: 18px; bottom: 56px;
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stamp-red);
  border: 3px solid var(--stamp-red);
  border-radius: 999px;
  padding: 8px 24px;
  transform: rotate(-9deg) scale(1);
  opacity: 0;
  pointer-events: none;
}
.stamp::after {
  content: '';
  position: absolute; inset: -8px;
  border: 2px solid var(--stamp-red);
  border-radius: 999px;
  opacity: 0;
}
.stamp.stamped { animation: ink-press .55s cubic-bezier(.2,.9,.3,1.15) forwards; }
.stamp.stamped::after { animation: ring-pulse .7s ease-out .18s forwards; }

@keyframes ink-press {
  0%   { opacity: 0; transform: rotate(-9deg) scale(1.8); }
  55%  { opacity: 1; transform: rotate(-9deg) scale(0.92); }
  75%  { transform: rotate(-9deg) scale(1.04); }
  100% { opacity: 1; transform: rotate(-9deg) scale(1); }
}
@keyframes ring-pulse {
  0%   { opacity: .5; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.28); }
}
@media (max-width: 480px) {
  /* The stamp's default offsets/size were tuned for a desktop-width card.
     On phone-class viewports that leaves little margin — pull it in,
     shrink it slightly, and RAISE it so it strikes the last line item
     (the ink-press look) without landing on the total line below.
     480px (not 380px) so this covers the full range of common phone
     widths, not just SE-class ~375px — 390px (iPhone 12-15 standard) and
     414-430px (Plus/Pro Max, larger Android) hit the same crowding
     against the total line with the untuned desktop sizing; verified via
     Playwright geometry checks across 360/375/390/414/430px. */
  .stamp {
    right: 10px; bottom: 62px;
    font-size: 19px; letter-spacing: 0.12em; padding: 6px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stamp, .stamp.stamped { animation: none; opacity: 1; transform: rotate(-9deg) scale(1); }
  .stamp::after, .stamp.stamped::after { animation: none; opacity: 0; }
}

.replay-row { text-align: center; margin-top: 26px; }
.replay-row .btn { font-size: 14px; padding: 11px 22px; }
.demo-todo { display: block; margin-top: 12px; font-size: 11.5px; color: var(--ink-soft); font-style: italic; }

/* ---------- 6. Pricing ---------- */
.pricing-card { max-width: 560px; margin: 0 auto; padding: 46px 44px 42px; text-align: center; position: relative; }
@media (max-width: 600px) { .pricing-card { padding: 36px 24px 34px; } }
.price-figure {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(56px, 8vw, 78px);
  color: var(--workshop-teal);
  line-height: 1; margin: 8px 0 4px;
}
.price-once {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 18px;
}
.pricing-card .pillar-body { text-align: left; }
.pricing-card .included { text-align: left; }
.restore-line { margin-top: 16px; font-size: 13px; color: var(--ink-soft); }
.restore-line a { color: var(--workshop-teal); }
.fee-disclosure { margin-top: 18px; text-align: left; line-height: 1.6; }

/* ---------- 7. Story band ---------- */
.story-band { background: var(--ink); color: var(--paper); }
.story-band .section-head h2 { color: var(--paper); }
.story-quote {
  max-width: 740px; margin: 0 auto;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.55; color: #EDE3CF;
  border-left: 3px solid var(--tape-amber);
  padding-left: 28px;
}
@media (max-width: 600px) { .story-quote { padding-left: 20px; } }

/* ---------- 9. Final CTA ---------- */
.final-cta { text-align: center; padding: 96px 0 110px; }
.final-cta h2 { font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 28px; letter-spacing: -0.01em; }
.final-cta .small-print { display: block; margin-top: 14px; }
