/* Marketing-site stylesheet. Mirrors the app's brand palette
 * (yellow accent, neutral grays) so a visitor moving from
 * bistroanalytics.com → app.bistroanalytics.com sees visual
 * continuity. */

:root {
  /* Emerald palette — mirrors Tailwind's emerald-50..900 so the dark/
   * soft variants are visually balanced. Picked emerald-600 (not the
   * brighter -500) for a slightly more refined, professional read —
   * fits the accounting-firm audience better than neon green. */
  --brand:        #059669;  /* emerald-600 — buttons, highlights */
  --brand-text:   #ffffff;  /* white text on emerald surfaces */
  --brand-strong: #047857;  /* emerald-700 — links, focused borders */
  --brand-soft:   #d1fae5;  /* emerald-100 — halo for focused inputs */

  --text:         #1f2937;
  --text-muted:   #6b7280;
  --text-light:   #9ca3af;
  --bg:           #ffffff;
  --bg-soft:      #f9fafb;
  --bg-band:      #ecfdf5;  /* emerald-50, very subtle brand echo */
  --border:       #e5e7eb;

  --max-width:    1080px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--brand-strong);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* ----- Top navigation ----- */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
}

.site-nav .brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.site-nav nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ----- Buttons / CTAs ----- */

.cta {
  display: inline-block;
  background: var(--brand);
  color: var(--brand-text);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  transition: filter .15s;
}
.cta:hover {
  filter: brightness(.95);
  text-decoration: none;
}
.cta-small {
  padding: 8px 16px;
  font-size: 14px;
}
.cta-light {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}
.cta-note {
  margin-left: 14px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ----- Hero ----- */

.hero {
  background: var(--bg-band);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 100px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 24px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -.5px;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--text-muted);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
}

/* ----- Three-up feature row ----- */

.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--text);
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* ----- Pricing strip ----- */

.pricing-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 24px;
  display: flex;
  justify-content: center;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 56px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  max-width: 400px;
  width: 100%;
}

.pricing-amount {
  font-size: 48px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1px;
}

.pricing-unit {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 6px;
}

.pricing-label {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.pricing-meta {
  margin: 12px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.pricing-trial {
  margin-bottom: 24px;
  color: var(--text-light);
  font-size: 13px;
}

/* ----- Bottom CTA band ----- */

.cta-band {
  background: var(--brand);
  color: var(--brand-text);
  padding: 64px 24px;
  text-align: center;
}

.cta-band h2 {
  font-size: 32px;
  margin: 0 0 12px;
}

.cta-band p {
  margin: 0 0 28px;
  font-size: 17px;
  color: var(--brand-text);
  opacity: .85;
}

/* ----- Standalone content pages (pricing.md, features.md, faq.md) ----- */

.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.page-content h1 {
  font-size: 36px;
  margin: 0 0 24px;
  font-weight: 700;
  letter-spacing: -.5px;
}

.page-content h2 {
  font-size: 22px;
  margin: 36px 0 12px;
}

.page-content h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}

.page-content p,
.page-content ul,
.page-content ol {
  color: var(--text);
  margin: 0 0 16px;
}

.page-content ul {
  padding-left: 24px;
}

.page-content code {
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .92em;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* ----- Footer ----- */

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-cols {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-cols a {
  display: block;
  color: var(--text-muted);
  padding: 4px 0;
}

.footer-cols a:hover {
  color: var(--text);
  text-decoration: none;
}

.footer-brand {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-heading {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
}

/* ----- Responsive ----- */

@media (max-width: 720px) {
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .features {
    grid-template-columns: 1fr;
    padding: 56px 24px;
    gap: 32px;
  }
  .footer-cols { grid-template-columns: 1fr; }
  .site-nav nav { gap: 14px; }
  .site-nav nav a:not(.cta) { display: none; }
}
