/* ==========================================================
   eBillio landing — Zinc-Emerald, premium SaaS
   No external deps; system fonts; mobile-first.
   ========================================================== */

:root {
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --cyan-500:    #06b6d4;
  --zinc-50:     #fafafa;
  --zinc-100:    #f4f4f5;
  --zinc-200:    #e4e4e7;
  --zinc-300:    #d4d4d8;
  --zinc-400:    #a1a1aa;
  --zinc-500:    #71717a;
  --zinc-700:    #3f3f46;
  --zinc-900:    #18181b;
  --zinc-950:    #0a0a0a;
  --bg:          var(--zinc-50);
  --fg:          var(--zinc-950);
  --muted:       var(--zinc-500);
  --border:      var(--zinc-200);
  --card:        #ffffff;
  --shadow-sm:   0 1px 2px 0 rgb(0 0 0 / 0.04);
  --shadow-md:   0 4px 14px 0 rgb(0 0 0 / 0.06);
  --shadow-lg:   0 12px 40px -6px rgb(16 185 129 / 0.18);
  --radius:      14px;
  --radius-sm:   8px;
  --maxw:        1200px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(250 250 250 / 0.72);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgb(255 255 255 / 0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.brand img { width: 30px; height: 30px; }
.nav-links {
  display: none;
  gap: 28px;
  font-size: 14px;
  color: var(--zinc-700);
}
.nav-links a:hover { color: var(--emerald-600); }
.nav-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-cta .btn { padding: 8px 14px; font-size: 14px; }
.menu-btn {
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--zinc-700);
}
.menu-btn:hover { background: var(--zinc-100); }
@media (min-width: 880px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
}

/* Mobile dropdown via :target */
.mobile-menu {
  display: none;
  border-bottom: 1px solid var(--border);
  background: #fff;
  padding: 8px 24px 18px;
}
.mobile-menu a {
  display: block;
  padding: 12px 4px;
  font-size: 15px;
  color: var(--zinc-700);
  border-bottom: 1px solid var(--zinc-100);
}
.mobile-menu a:last-child { border-bottom: none; }
#m:target ~ .mobile-menu { display: block; }
@media (min-width: 880px) {
  .mobile-menu, #m:target ~ .mobile-menu { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--emerald-500);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--emerald-600);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--zinc-900);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--zinc-300);
  background: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--zinc-700);
  padding: 10px 14px;
}
.btn-ghost:hover { color: var(--emerald-600); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-inner { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--zinc-700);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald-500);
  box-shadow: 0 0 0 3px rgb(16 185 129 / 0.18);
}
.hero h1 {
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 18px 0 18px;
  font-weight: 800;
  max-width: 900px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--emerald-500), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: 18px;
  color: var(--zinc-700);
  max-width: 720px;
  margin: 0 0 32px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.trust {
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.trust .sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--zinc-300);
}
@media (min-width: 720px) {
  .hero { padding: 132px 0 110px; }
  .hero h1 { font-size: 64px; }
  .hero p.lede { font-size: 20px; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 76px; }
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head .label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 32px;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 800;
}
.section-head p {
  color: var(--zinc-500);
  font-size: 17px;
  margin: 0;
}
@media (min-width: 720px) {
  .section-head h2 { font-size: 42px; }
}

/* ---------- Features grid ---------- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px)  { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald-500), var(--cyan-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.feature:hover {
  border-color: var(--zinc-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature:hover::before { transform: scaleX(1); }
.feature .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgb(16 185 129 / 0.1);
  color: var(--emerald-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feature h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  font-weight: 700;
}
.feature p {
  margin: 0;
  font-size: 14.5px;
  color: var(--zinc-500);
  line-height: 1.55;
}

/* ---------- How it works ---------- */
.how-bg { background: var(--zinc-100); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
}
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}
.step .num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--emerald-500);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgb(16 185 129 / 0.12);
  margin-bottom: 14px;
}
.step h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  font-weight: 700;
}
.step p {
  margin: 0;
  font-size: 14.5px;
  color: var(--zinc-500);
  line-height: 1.55;
}

/* ---------- Why list ---------- */
.why-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.why-list li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15.5px;
}
.why-list .check {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--emerald-500);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.why-list strong { font-weight: 700; color: var(--zinc-900); }

/* ---------- Pricing ---------- */
.pricing-bg { background: var(--zinc-100); }
.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 880px) { .tiers { grid-template-columns: repeat(3, 1fr); } }

/* Two-column variant for the simpler Shared Cloud pricing layout */
.tiers-2col { max-width: 820px; }
@media (min-width: 720px) {
  .tiers-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}
.tier {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.tier.popular {
  border-color: var(--emerald-500);
  box-shadow: 0 16px 40px -12px rgb(16 185 129 / 0.25);
  position: relative;
}
.tier.popular::before {
  content: "Most popular";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--emerald-500);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.tier h3 {
  font-size: 18px;
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.tier .desc {
  color: var(--zinc-500);
  font-size: 14px;
  margin: 0 0 18px;
}
.tier .price {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--zinc-900);
  margin-bottom: 4px;
  line-height: 1.1;
}
.tier .price .price-unit {
  font-size: 15px;
  font-weight: 500;
  color: var(--zinc-500);
  letter-spacing: 0;
  margin-left: 4px;
}
.tier .price-extra {
  font-size: 13px;
  color: var(--zinc-500);
  margin-bottom: 18px;
  line-height: 1.5;
}
.tier ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  color: var(--zinc-700);
}
.tier ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.tier ul li::before {
  content: "";
  flex: 0 0 16px;
  width: 16px; height: 16px;
  margin-top: 4px;
  background: var(--emerald-500);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
}
.tier .btn { margin-top: auto; justify-content: center; }
.pricing-cta-bottom {
  text-align: center;
  margin-top: 40px;
  color: var(--zinc-500);
  font-size: 15px;
}
.pricing-cta-bottom a { color: var(--emerald-600); font-weight: 600; }
.pricing-cta-bottom a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
footer {
  background: var(--zinc-950);
  color: var(--zinc-400);
  padding: 60px 0 28px;
}
.foot-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-brand .brand { color: #fff; }
.foot-brand p {
  font-size: 14px;
  color: var(--zinc-400);
  max-width: 360px;
  margin: 14px 0 0;
}
.foot-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}
.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.foot-col a {
  color: var(--zinc-400);
  font-size: 14.5px;
}
.foot-col a:hover { color: var(--emerald-400); }
.foot-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 13px;
  color: var(--zinc-500);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.foot-bottom .built {
  display: inline-flex; align-items: center; gap: 8px;
}
.foot-bottom .built::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald-500);
}

/* ==========================================================
   Dark mode — token overrides + element fixups
   ========================================================== */
[data-theme="dark"] {
  --bg:        var(--zinc-950);
  --fg:        var(--zinc-50);
  --muted:     var(--zinc-400);
  --border:    #27272a;
  --card:      #131316;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.45);
  --shadow-md: 0 4px 14px 0 rgb(0 0 0 / 0.55);
  --shadow-lg: 0 12px 40px -6px rgb(16 185 129 / 0.28);
}
[data-theme="dark"] .nav            { background: rgb(10 10 10 / 0.72); }
[data-theme="dark"] .nav.scrolled   { background: rgb(19 19 22 / 0.92); border-bottom-color: var(--border); }
[data-theme="dark"] .eyebrow        { background: var(--card); color: var(--zinc-300); }
[data-theme="dark"] .nav-links      { color: var(--zinc-300); }
[data-theme="dark"] .menu-btn       { color: var(--zinc-300); }
[data-theme="dark"] .menu-btn:hover { background: #1f1f23; }
[data-theme="dark"] .mobile-menu    { background: var(--card); border-bottom-color: var(--border); }
[data-theme="dark"] .mobile-menu a  { color: var(--zinc-300); border-bottom-color: #1f1f23; }
[data-theme="dark"] .btn-outline    { color: var(--zinc-100); }
[data-theme="dark"] .btn-outline:hover { background: var(--card); border-color: var(--zinc-700); }
[data-theme="dark"] .btn-ghost      { color: var(--zinc-300); }
[data-theme="dark"] .how-bg,
[data-theme="dark"] .pricing-bg     { background: #0f0f12; }
[data-theme="dark"] .hero-bg img    { opacity: .35; }
/* Lift the mid-grey sub-text so it stays readable on near-black */
[data-theme="dark"] .hero p.lede,
[data-theme="dark"] .section-head p,
[data-theme="dark"] .feature p,
[data-theme="dark"] .step p,
[data-theme="dark"] .tier .desc,
[data-theme="dark"] .tier ul,
[data-theme="dark"] .tier .price-extra,
[data-theme="dark"] .why-list li,
[data-theme="dark"] .pricing-cta-bottom { color: var(--zinc-400); }
[data-theme="dark"] .tier .price,
[data-theme="dark"] .why-list strong { color: var(--zinc-50); }

/* ==========================================================
   Scroll progress bar
   ========================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--emerald-500), var(--cyan-500));
  transition: width .08s linear;
}

/* ==========================================================
   Theme toggle
   ========================================================== */
.theme-toggle {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  color: var(--zinc-700);
  border: 1px solid var(--border);
  background: var(--card);
  transition: color .2s ease, border-color .2s ease, transform .15s ease;
}
.theme-toggle:hover { color: var(--emerald-600); transform: translateY(-1px); }
[data-theme="dark"] .theme-toggle { color: var(--zinc-300); }
[data-theme="dark"] .theme-toggle:hover { color: var(--emerald-400); }
.theme-toggle .ic-moon { display: none; }
.theme-toggle .ic-sun  { display: block; }
[data-theme="dark"] .theme-toggle .ic-moon { display: block; }
[data-theme="dark"] .theme-toggle .ic-sun  { display: none; }

/* ==========================================================
   Hero entrance + CTA glow + product mock
   ========================================================== */
html.js .hero-rise { opacity: 0; transform: translateY(18px); }
html.js .hero-rise { animation: heroRise .7s cubic-bezier(.22,.61,.36,1) forwards; animation-delay: var(--d, 0s); }
@keyframes heroRise { to { opacity: 1; transform: none; } }

.btn-glow { position: relative; }
.btn-glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgb(16 185 129 / 0.45);
  animation: ctaPulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgb(16 185 129 / 0.40); }
  70%  { box-shadow: 0 0 0 14px rgb(16 185 129 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0); }
}

.hero-mock { margin-top: 48px; perspective: 1600px; }
.mock-window {
  max-width: 920px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateX(6deg);
  transform-origin: top center;
}
.mock-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 80%, var(--bg));
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--zinc-300); }
[data-theme="dark"] .mock-dot { background: var(--zinc-700); }
.mock-dot:nth-child(1){ background:#ff5f57; } .mock-dot:nth-child(2){ background:#febc2e; } .mock-dot:nth-child(3){ background:#28c840; }
.mock-url {
  margin-left: 10px; font-size: 12px; color: var(--muted);
  background: var(--bg); border: 1px solid var(--border);
  padding: 3px 12px; border-radius: 999px;
}
.mock-body { display: grid; grid-template-columns: 56px 1fr; min-height: 230px; }
.mock-side {
  border-right: 1px solid var(--border);
  padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 13px;
  background: color-mix(in srgb, var(--card) 85%, var(--bg));
}
.mock-logo { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, var(--emerald-500), var(--cyan-500)); }
.mock-nav { width: 22px; height: 6px; border-radius: 3px; background: var(--border); }
.mock-nav.on { background: var(--emerald-500); }
.mock-main { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-stat {
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 13px;
  display: flex; flex-direction: column; gap: 4px; background: var(--bg); position: relative;
}
.mock-k { font-size: 10.5px; color: var(--muted); }
.mock-v { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.mock-spark { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--emerald-500), var(--cyan-500)); opacity: .55; margin-top: 2px; }
.mock-chart { flex: 1; display: flex; align-items: flex-end; gap: 8px; min-height: 96px; padding-top: 6px; }
.mock-chart span {
  flex: 1; border-radius: 5px 5px 0 0; height: var(--h);
  background: linear-gradient(180deg, var(--emerald-400), var(--emerald-600));
  transform-origin: bottom; animation: barGrow .9s cubic-bezier(.22,.61,.36,1) backwards;
}
.mock-chart span:nth-child(odd) { opacity: .75; }
.mock-chart span:nth-child(1){animation-delay:.30s} .mock-chart span:nth-child(2){animation-delay:.36s}
.mock-chart span:nth-child(3){animation-delay:.42s} .mock-chart span:nth-child(4){animation-delay:.48s}
.mock-chart span:nth-child(5){animation-delay:.54s} .mock-chart span:nth-child(6){animation-delay:.60s}
.mock-chart span:nth-child(7){animation-delay:.66s} .mock-chart span:nth-child(8){animation-delay:.72s}
.mock-chart span:nth-child(9){animation-delay:.78s}
@keyframes barGrow { from { transform: scaleY(0); } }
@media (max-width: 560px) { .mock-window { transform: none; } .mock-stat:nth-child(3) { display: none; } .mock-stats { grid-template-columns: 1fr 1fr; } }

/* ==========================================================
   Social proof strip
   ========================================================== */
.proof { padding: 36px 0; border-bottom: 1px solid var(--border); }
.proof-lead {
  text-align: center; font-size: 12.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 18px; font-weight: 600;
}
.proof-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 14px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--zinc-400);
}
[data-theme="dark"] .proof-row { color: var(--zinc-500); }
.proof-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--emerald-500); opacity: .6; }

/* ==========================================================
   Stats band
   ========================================================== */
.stats { padding: 56px 0; background: var(--card); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; text-align: center; }
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num {
  font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(120deg, var(--emerald-500), var(--cyan-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* ==========================================================
   FAQ accordion
   ========================================================== */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--card); overflow: hidden; transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--emerald-500); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 18px; font-weight: 650; font-size: 15.5px; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--emerald-600); }
[data-theme="dark"] .faq summary:hover { color: var(--emerald-400); }
.faq-ic { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.faq-ic::before, .faq-ic::after {
  content: ""; position: absolute; background: var(--emerald-500); border-radius: 2px;
  transition: transform .2s ease;
}
.faq-ic::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-ic::after  { left: 7px; top: 0; width: 2px; height: 16px; }
.faq details[open] .faq-ic::after { transform: scaleY(0); }
.faq-a { padding: 0 18px 18px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
html.js .faq details[open] .faq-a { animation: faqOpen .25s ease; }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-4px); } }

/* ==========================================================
   Savings calculator
   ========================================================== */
.calc {
  max-width: 760px; margin: 44px auto 0;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); padding: 28px 26px; box-shadow: var(--shadow-md);
}
.calc-head h3 { margin: 0 0 4px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.calc-head p { margin: 0 0 22px; font-size: 14px; color: var(--muted); }
.calc-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 14px; margin-bottom: 18px; }
.calc-row label { font-size: 14px; font-weight: 600; }
.calc-row output {
  font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14px;
  color: var(--emerald-600); min-width: 76px; text-align: right;
}
[data-theme="dark"] .calc-row output { color: var(--emerald-400); }
.calc-row input[type="range"] {
  grid-column: 1 / -1; -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 999px; background: var(--border); outline: none;
}
.calc-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--emerald-500); border: 3px solid var(--card); box-shadow: var(--shadow-sm); cursor: pointer;
}
.calc-row input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--card);
  background: var(--emerald-500); cursor: pointer;
}
.calc-result {
  margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--border);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
}
.calc-result-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.calc-result-value {
  font-size: 34px; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(120deg, var(--emerald-500), var(--cyan-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.calc-result-note { font-size: 13px; color: var(--muted); }

/* ==========================================================
   WhatsApp floating button
   ========================================================== */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff;
  box-shadow: 0 8px 24px -4px rgb(37 211 102 / 0.55);
  transition: transform .18s ease, box-shadow .2s ease;
}
.wa-fab:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 12px 30px -4px rgb(37 211 102 / 0.7); }
@media (max-width: 720px) { .wa-fab { bottom: 84px; } }

/* ==========================================================
   Sticky mobile CTA bar
   ========================================================== */
.mcta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 54;
  display: none; gap: 10px; padding: 10px 16px;
  background: var(--card); border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px -8px rgb(0 0 0 / 0.18);
}
.mcta .btn { flex: 1; justify-content: center; padding: 11px 14px; }
@media (max-width: 720px) { .mcta { display: flex; } }

/* ==========================================================
   Scroll reveal
   ========================================================== */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal-stagger.in > * { animation: revealChild .55s cubic-bezier(.22,.61,.36,1) backwards; }
html.js .reveal-stagger.in > *:nth-child(1){animation-delay:.04s}
html.js .reveal-stagger.in > *:nth-child(2){animation-delay:.10s}
html.js .reveal-stagger.in > *:nth-child(3){animation-delay:.16s}
html.js .reveal-stagger.in > *:nth-child(4){animation-delay:.22s}
html.js .reveal-stagger.in > *:nth-child(5){animation-delay:.28s}
@keyframes revealChild { from { opacity: 0; transform: translateY(14px); } }

/* ==========================================================
   Respect reduced-motion — kill all non-essential motion
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .hero-rise,
  html.js .reveal,
  html.js .reveal-stagger.in > * { opacity: 1 !important; transform: none !important; }
  .mock-window { transform: none; }
  .mock-chart span { height: var(--h); }
  .mock-shine { display: none; }
}

/* ==========================================================
   Real dashboard screenshot — frame, blend, shine sweep
   ========================================================== */
.mock-window { position: relative; }
.mock-shot { display: block; width: 100%; height: auto; }
/* Inner ring so the dark screenshot reads as a framed product shot in
   light mode and stays defined against the near-black page in dark mode. */
.mock-window { box-shadow: var(--shadow-lg), inset 0 0 0 1px rgb(255 255 255 / 0.05); }
[data-theme="dark"] .mock-window {
  box-shadow: 0 22px 60px -16px rgb(16 185 129 / 0.30), inset 0 0 0 1px rgb(255 255 255 / 0.06);
}
.mock-shine {
  position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.16), transparent);
  transform: skewX(-18deg); pointer-events: none;
  animation: shine 6s ease-in-out 1.4s infinite;
}
@keyframes shine { 0% { left: -60%; } 28% { left: 135%; } 100% { left: 135%; } }

/* ==========================================================
   Extra motion — accent shimmer, eyebrow pulse, WhatsApp pulse
   ========================================================== */
.hero h1 .accent {
  background: linear-gradient(110deg, var(--emerald-500), var(--cyan-500) 40%, var(--emerald-400) 60%, var(--emerald-500));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.eyebrow .dot { animation: dotPulse 2.6s ease-in-out infinite; }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgb(16 185 129 / 0.20); }
  50%      { box-shadow: 0 0 0 6px rgb(16 185 129 / 0.04); }
}

.wa-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgb(37 211 102 / 0.5);
  animation: waPulse 2.8s ease-out infinite; pointer-events: none;
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgb(37 211 102 / 0.5); }
  70%  { box-shadow: 0 0 0 16px rgb(37 211 102 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(37 211 102 / 0); }
}
