:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-warm: #f3efe6;
  --ink: #181614;
  --muted: #5c564f;
  --border: #e5dfd3;
  --forest: #164e3f;
  --forest-dark: #0f382d;
  --forest-soft: #e6f0ec;
  --amber-soft: #fef3c7;
  --amber: #92400e;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Floating Editorial Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 223, 211, 0.8);
}
.scroll-progress-bar {
  height: 2px;
  width: 100%;
  background: var(--forest);
  transform-origin: left;
  transform: scaleX(0);
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes scrollProgress {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }
    .scroll-progress-bar {
      animation: scrollProgress auto linear both;
      animation-timeline: scroll(root block);
    }
  }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.14s ease, box-shadow 0.16s ease;
}
.btn-lg { padding: 14px 26px; font-size: 0.98rem; }
.btn-primary {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 78, 63, 0.2);
}
.btn-primary:hover {
  background: var(--forest-dark);
  box-shadow: 0 10px 24px rgba(22, 78, 63, 0.28);
}
.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--surface-warm); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); background: var(--surface-warm); }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: scale(0.98); }
}

/* Editorial Hero */
.hero {
  padding: 56px 0 68px;
  background:
    radial-gradient(62% 54% at 82% 18%, rgba(22, 78, 63, 0.07) 0%, transparent 70%),
    radial-gradient(48% 48% at 14% 72%, rgba(243, 239, 230, 0.9) 0%, transparent 72%);
}
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #15803d;
  position: relative;
  display: inline-block;
}
@media (prefers-reduced-motion: no-preference) {
  .live-dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 999px;
    background: #15803d;
    opacity: 0.35;
    animation: pulseRing 2s ease-out infinite;
  }
  @keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 0.55; }
    100% { transform: scale(2); opacity: 0; }
  }
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.45rem, 4.5vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 20px 0 20px;
}
.hero h1 em {
  font-style: italic;
  color: var(--forest);
}
.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust {
  margin-top: 22px;
  font-size: 0.84rem;
  color: var(--muted);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Layered Hero Image + Floating Live Sync Card */
.hero-stage {
  position: relative;
  padding-bottom: 42px;
}
.hero-photo-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 28px 60px rgba(24, 22, 20, 0.12);
  aspect-ratio: 16 / 11;
  background: var(--surface-warm);
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.floating-sync-card {
  position: relative;
  margin: -72px 18px 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 223, 211, 0.95);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 20px 44px rgba(24, 22, 20, 0.14);
}
.sync-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 600;
}
.sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 600;
}
.sync-pill.sold {
  background: var(--forest-soft);
  color: var(--forest);
}
.sync-product-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 11px;
}
.sync-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.stock-chips {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.stock-chip {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.stock-chip.zero {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}
@media (prefers-reduced-motion: no-preference) {
  .stock-chip.flash {
    animation: chipPop 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes chipPop {
    0% { transform: scale(1); }
    45% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
}

/* Marquee Strip with WCAG Pause Control */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 16px 0;
  overflow: hidden;
}
.marquee-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}
.marquee-viewport {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.marquee-tag {
  font-size: 0.74rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-warm);
  color: var(--ink);
  font-weight: 600;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track {
    animation: marqueeScroll 30s linear infinite;
  }
  .marquee-section.paused .marquee-track {
    animation-play-state: paused;
  }
  @keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
}
.pause-btn {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  border-radius: 999px;
  padding: 5px 12px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}
.pause-btn:hover { color: var(--ink); background: var(--surface-warm); }

/* Editorial Bento Grid */
.section { padding: 84px 0; }
.section-head {
  max-width: 660px;
  margin-bottom: 44px;
}
.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.section-sub { color: var(--muted); font-size: 1.04rem; margin: 0; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(24, 22, 20, 0.08);
  }
}
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }

.bento-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-warm);
}
.bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-reduced-motion: no-preference) {
  .bento-card:hover .bento-media img { transform: scale(1.03); }
}
.bento-body { padding: 26px 28px; }
.bento-body h3 {
  font-family: var(--font-serif);
  font-size: 1.48rem;
  font-weight: 500;
  margin: 0 0 8px;
}
.bento-body p { color: var(--muted); margin: 0; font-size: 0.96rem; }

.bento-dark {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
  justify-content: space-between;
  padding: 28px;
}
.bento-dark h3 { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 500; margin: 0 0 8px; }
.bento-dark p { color: rgba(255,255,255,0.82); margin: 0 0 18px; font-size: 0.95rem; }

.roi-widget {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 16px;
}
.roi-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.roi-widget label {
  display: block;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
  font-weight: 600;
}
.roi-widget input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font: inherit;
  font-weight: 700;
}
.roi-result {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 3-Step Timeline */
.steps-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  padding: 28px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.stock-chip, #landing-etsy-price, .pricing-card strong {
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: no-preference) {
  .bento-media { overflow: hidden; }
  .bento-media img {
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .bento-card:hover .bento-media img {
    transform: scale(1.03);
  }
}
.step-card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.step-card p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* Pricing */
.pricing-card {
  max-width: 580px;
  margin: 0 auto;
  background: var(--surface);
  border: 1.5px solid var(--forest);
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 24px 54px rgba(22, 78, 63, 0.08);
}
.pricing-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  gap: 11px;
  font-size: 0.96rem;
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}
.faq-item summary { font-weight: 600; cursor: pointer; font-size: 1rem; }
.faq-item p { margin: 10px 0 0; color: var(--muted); font-size: 0.94rem; }

/* Scroll-Driven Reveal Animations (modern-web-guidance: scroll-entry-exit-effects) */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes revealUp {
      from {
        opacity: 0;
        transform: translateY(28px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .scroll-reveal {
      animation: revealUp auto cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}
.scroll-reveal.js-hidden {
  opacity: 0;
  transform: translateY(24px);
}
.scroll-reveal.js-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .span-7, .span-5, .span-6 { grid-column: span 12; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sync-product-line { flex-direction: column; align-items: flex-start; }
  .floating-sync-card { margin: -36px 10px 0; }
}
