/* Site-wide visual system for inner pages (homepage uses home.css). Scoped to body.zs. */
:root {
  --zs-ink: #0d1f1a;
  --zs-teal: #469e83;
  --zs-teal-dark: #357a65;
  --zs-aqua: #2ec4b6;
  --zs-mint: #cbf3f0;
  --zs-amber: #ffbf69;
  --zs-line: rgba(13, 31, 26, 0.08);
  --zs-muted: #5b6b66;
  --zs-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

body.zs { background: #fbfcfb; color: var(--zs-ink); font-family: 'Inter', system-ui, -apple-system, sans-serif; }
body.zs h1, body.zs h2, body.zs h3, body.zs h4 { font-family: var(--zs-display); letter-spacing: -0.02em; }
body.zs h1 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
body.zs h2 { font-weight: 800; letter-spacing: -0.03em; }
body.zs h1 .text-primary, body.zs h2 .text-primary,
body.zs h1 span[style*="--primary"], body.zs h2 span[style*="--primary"] {
  background: linear-gradient(100deg, var(--zs-teal), var(--zs-aqua));
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
body.zs footer h3, body.zs footer h4 { font-family: inherit; letter-spacing: .08em; }

/* ---------- Heroes ---------- */
body.zs > section:first-of-type,
body.zs section.from-soft.to-white,
body.zs .pricing-hero-section, body.zs .payments-hero-section, body.zs .contact-hero-section, body.zs .download-app-hero-section {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(620px 420px at 8% -12%, rgba(203,243,240,.95), transparent 62%),
    radial-gradient(520px 380px at 96% 8%, rgba(46,196,182,.2), transparent 62%),
    radial-gradient(520px 320px at 50% 125%, rgba(255,191,105,.22), transparent 62%),
    linear-gradient(180deg, #f2fbf9 0%, #fbfcfb 100%) !important;
  border-bottom: 1px solid var(--zs-line);
}
body.zs > section:first-of-type::before,
body.zs section.from-soft.to-white::before,
body.zs .pricing-hero-section::before, body.zs .payments-hero-section::before, body.zs .contact-hero-section::before, body.zs .download-app-hero-section::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(13,31,26,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,31,26,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 25%, transparent 75%);
}
body.zs > section:first-of-type h1, body.zs section.from-soft.to-white h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }

/* Eyebrow badges outside image heroes */
body.zs section span.inline-block.rounded-full.uppercase.text-xs,
body.zs main span.inline-block.rounded-full.uppercase.text-xs {
  background: rgba(70,158,131,.12) !important; color: var(--zs-teal) !important;
  letter-spacing: .14em; font-weight: 700; padding: .4rem .9rem;
}

/* ---------- Buttons ---------- */
body.zs a.bg-primary[class*="rounded"], body.zs button.bg-primary[class*="rounded"] {
  border-radius: 999px !important;
  background-image: linear-gradient(135deg, var(--zs-teal), var(--zs-teal-dark));
  box-shadow: 0 10px 26px -10px rgba(70,158,131,.65), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .25s ease, box-shadow .25s ease !important;
}
body.zs a.bg-primary[class*="rounded"]:hover, body.zs button.bg-primary[class*="rounded"]:hover {
  transform: translateY(-2px) !important; box-shadow: 0 16px 34px -12px rgba(70,158,131,.75), inset 0 1px 0 rgba(255,255,255,.22);
}
body.zs a[class*="border-2"][class*="border-primary"][class*="rounded"],
body.zs button[class*="border-2"][class*="border-primary"][class*="rounded"] {
  border-radius: 999px !important; border-width: 1.5px !important;
  transition: transform .25s ease, background .25s ease, color .25s ease !important;
}
body.zs a[class*="border-2"][class*="border-primary"][class*="rounded"]:hover { transform: translateY(-2px); }
body.zs section a.bg-white[class*="rounded-lg"], body.zs section a.bg-white[class*="rounded-xl"] {
  border-radius: 999px !important; box-shadow: 0 14px 30px -14px rgba(0,0,0,.35);
  transition: transform .25s ease, box-shadow .25s ease !important;
}
body.zs section a.bg-white[class*="rounded-lg"]:hover { transform: translateY(-2px); }

/* ---------- Cards ---------- */
body.zs div.bg-white.rounded-2xl, body.zs article.bg-white.rounded-2xl,
body.zs div.bg-white.rounded-xl, body.zs article.bg-white.rounded-xl {
  border-radius: 1.5rem !important;
  border: 1px solid var(--zs-line);
  box-shadow: 0 1px 2px rgba(13,31,26,.04), 0 14px 34px -20px rgba(13,31,26,.22) !important;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease !important;
}
body.zs [class*="hover:shadow"].rounded-2xl:hover, body.zs [class*="hover:shadow"].rounded-xl:hover {
  transform: translateY(-4px);
  border-color: rgba(70,158,131,.3);
  box-shadow: 0 2px 4px rgba(13,31,26,.04), 0 26px 50px -22px rgba(13,31,26,.3) !important;
}
body.zs div.bg-white.rounded-2xl.border-2.border-primary { border: 2px solid var(--zs-teal) !important; }
body.zs article.rounded-2xl img { transition: transform .6s ease; }

/* Blog list header as a hero panel */
body.zs > main.py-16 { padding-top: 1rem; }
body.zs > main.py-16 > div > div.text-center.mb-12:first-child {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 1.75rem; border: 1px solid var(--zs-line);
  padding: 3.5rem 1.5rem;
  background:
    radial-gradient(520px 360px at 10% -20%, rgba(203,243,240,.95), transparent 62%),
    radial-gradient(480px 340px at 95% 0%, rgba(46,196,182,.2), transparent 62%),
    radial-gradient(480px 280px at 50% 130%, rgba(255,191,105,.22), transparent 62%),
    linear-gradient(180deg, #f2fbf9, #fbfcfb);
}
body.zs > main.py-16 > div > div.text-center.mb-12:first-child h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
body.zs article.rounded-2xl:hover img { transform: scale(1.04); }
body.zs div.bg-gray-50.rounded-2xl {
  background: #f4f9f7 !important; border: 1px solid var(--zs-line); border-radius: 1.5rem !important;
}
body.zs div.bg-soft.rounded-2xl {
  background: linear-gradient(135deg, #e6f7f3 0%, #f3fbf9 100%) !important;
  border: 1px solid rgba(70,158,131,.18); border-radius: 1.5rem !important;
}

/* ---------- CTA bands ---------- */
body.zs section.from-primary.to-secondary {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #357a65 0%, #469e83 50%, #2fb3a4 100%) !important;
}
body.zs section.from-primary.to-secondary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.2) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 75%);
}
body.zs section.from-primary.to-secondary::after {
  content: ''; position: absolute; z-index: -1; left: 50%; top: -240px; width: 760px; height: 440px;
  transform: translateX(-50%); border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,.25), transparent 65%);
}
body.zs section.from-primary.to-secondary h2 { color: #fff; }

/* ---------- Tables ---------- */
body.zs table { border-collapse: separate; border-spacing: 0; }
body.zs main div.overflow-x-auto {
  border: 1px solid var(--zs-line) !important; border-radius: 1.1rem !important;
  box-shadow: 0 14px 34px -22px rgba(13,31,26,.28) !important; background: #fff;
  -webkit-overflow-scrolling: touch;
}
body.zs .comparison-table, body.zs main table { background: #fff; }
body.zs .comparison-table th, body.zs main table th {
  background: linear-gradient(135deg, var(--zs-teal), #3fae96) !important; color: #fff; font-family: var(--zs-display); font-weight: 700;
}
body.zs .comparison-table tr:nth-child(even) td, body.zs main table tr:nth-child(even) td { background: #f6faf8 !important; }

/* ---------- Blog post template ---------- */
body.zs > div.w-full.h-72 {
  width: calc(100% - 2rem); max-width: 80rem; margin: 1rem auto 0; border-radius: 1.75rem;
  box-shadow: 0 30px 60px -34px rgba(13,31,26,.55);
}
body.zs > div.w-full.h-72 > .bg-black {
  background: linear-gradient(180deg, rgba(13,31,26,.3) 0%, rgba(13,31,26,.72) 100%) !important; opacity: 1 !important;
}
body.zs > div.w-full.h-72 h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); text-shadow: 0 4px 24px rgba(0,0,0,.35); }
body.zs > div.w-full.h-72 span.bg-primary {
  background: rgba(255,255,255,.16) !important; border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px); letter-spacing: .12em; padding: .4rem .9rem;
}
@media (max-width: 640px) { body.zs > div.w-full.h-72 { width: calc(100% - 1rem); margin-top: .5rem; border-radius: 1.25rem; } }

body.zs .prose h2 { font-family: var(--zs-display); font-size: 1.7rem; font-weight: 800; color: var(--zs-ink); margin: 2.5rem 0 1rem; line-height: 1.25; }
body.zs .prose h3 { font-family: var(--zs-display); font-size: 1.25rem; font-weight: 700; color: var(--zs-ink); }
body.zs .prose p, body.zs .prose ul li, body.zs .prose ol li { color: #33433e; font-size: 1.0625rem; line-height: 1.8; }
body.zs .prose a { color: var(--zs-teal); text-decoration: underline; text-decoration-color: rgba(70,158,131,.35); text-underline-offset: 3px; }
body.zs .prose a:hover { text-decoration-color: var(--zs-teal); }
body.zs .prose blockquote { border-left: 3px solid var(--zs-teal); padding: .25rem 0 .25rem 1.25rem; color: var(--zs-muted); font-style: italic; }

body.zs div.bg-emerald-50.rounded-2xl {
  background: linear-gradient(135deg, #e8f7f2 0%, #f5fbf9 100%) !important;
  border: 1px solid rgba(70,158,131,.22) !important; border-left: 4px solid var(--zs-teal) !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 14px 30px -24px rgba(53,122,101,.5);
}

/* FAQ accordions (details/summary and button-based) */
body.zs details { border-radius: 1.1rem; }
body.zs .faq-item { border-radius: 1.1rem !important; border: 1px solid var(--zs-line); background: #fff; transition: border-color .25s ease, box-shadow .25s ease; }
body.zs .faq-item:hover { border-color: rgba(70,158,131,.35); box-shadow: 0 12px 28px -20px rgba(13,31,26,.3); }

/* Pricing hero: compact on mobile so plan cards show first */
@media (max-width: 640px) {
  body.zs .pricing-hero-section { padding-top: 2rem; padding-bottom: 1.75rem; }
}
#team-plan, #solo-plan { scroll-margin-top: 5rem; }

/* Section rhythm */
body.zs section.py-20 { padding-top: 4rem; padding-bottom: 4rem; }
@media (max-width: 640px) {
  body.zs section.py-20, body.zs section.py-16 { padding-top: 3rem; padding-bottom: 3rem; }
}
