:root {
  --bg: #fbfdfc;
  --paper: #ffffff;
  --soft-bg: #f1f7f4;
  --ink: #0e1f1a;
  --ink-soft: #4e5e58;
  --rule: #d8e3df;
  --primary: #0b8a72;
  --primary-dark: #075e4e;
  --accent: #f4a85a;
  --warn: #d97757;
  --sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* Header — clean SaaS bar */
header.saas { background: var(--bg); border-bottom: 1px solid var(--rule); padding: 16px 0; position: sticky; top: 0; z-index: 10; }
header.saas .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.brand-saas { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon-saas { width: 32px; height: 32px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--paper); font-weight: 800; font-size: 14px; }
.brand { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; }
.brand-icon { width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; margin-right: 6px; }
header.saas nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
header.saas nav a { color: var(--ink-soft); text-decoration: none; padding: 8px 16px; font-size: 14px; font-weight: 500; border-radius: 6px; }
header.saas nav a:hover { color: var(--ink); background: var(--soft-bg); }
header.saas nav a.cta { background: var(--primary); color: var(--paper); padding: 10px 18px; margin-left: 8px; }
header.saas nav a.cta:hover { background: var(--primary-dark); color: var(--paper); }

/* Hero with screenshot placeholder */
.saas-hero { padding: 80px 0 64px; text-align: center; position: relative; }
.saas-hero .pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: var(--soft-bg); border: 1px solid var(--rule); border-radius: 16px; font-size: 12px; font-weight: 600; color: var(--primary); margin-bottom: 24px; }
.saas-hero .pill::before { content: ''; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }
.saas-hero h1 { font-size: 56px; line-height: 1.1; font-weight: 700; color: var(--ink); margin: 0 auto 20px; max-width: 18ch; letter-spacing: -0.025em; }
.saas-hero h1 span { color: var(--primary); }
.saas-hero .lede { font-size: 19px; color: var(--ink-soft); max-width: 60ch; margin: 0 auto 32px; line-height: 1.65; }
.cta-row { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.btn-primary-saas { background: var(--primary); color: var(--paper); padding: 14px 26px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; }
.btn-primary-saas:hover { background: var(--primary-dark); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); padding: 14px 22px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid var(--rule); }
.btn-ghost:hover { background: var(--soft-bg); color: var(--ink); }

/* Product screenshot mock */
.product-mock { max-width: 1000px; margin: 56px auto 0; padding: 0 24px; }
.mock-frame { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; box-shadow: 0 16px 40px -16px rgba(11, 138, 114, 0.25); }
.mock-titlebar { background: var(--soft-bg); padding: 12px 16px; border-bottom: 1px solid var(--rule); display: flex; gap: 6px; align-items: center; }
.mock-titlebar .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--rule); }
.mock-titlebar .url { margin-left: 14px; font-size: 12px; color: var(--ink-soft); font-family: 'SF Mono', Menlo, monospace; }
.mock-body { padding: 32px; }
.mock-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.mock-row:last-child { border-bottom: none; }
.mock-row .label { font-size: 12px; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.mock-row .val { font-size: 14px; color: var(--ink); }
.mock-row .bar-row { display: flex; gap: 4px; height: 32px; align-items: flex-end; }
.mock-row .bar { background: var(--primary); width: 18px; opacity: 0.8; border-radius: 2px 2px 0 0; }
.mock-row .bar:nth-child(2) { height: 60%; }
.mock-row .bar:nth-child(3) { height: 90%; }
.mock-row .bar:nth-child(4) { height: 70%; }
.mock-row .bar:nth-child(5) { height: 100%; background: var(--accent); }
.mock-row .bar:nth-child(6) { height: 55%; }
.mock-row .bar:nth-child(7) { height: 80%; }
.mock-row .pill-tag { display: inline-block; padding: 4px 10px; background: var(--soft-bg); color: var(--primary); border-radius: 12px; font-size: 11px; font-weight: 600; }

/* Customer logos */
.customers { padding: 48px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.customers-label { text-align: center; font-size: 12px; color: var(--ink-soft); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin-bottom: 24px; }
.logo-row { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; align-items: center; opacity: 0.7; }
.logo-stand { font-family: var(--sans); font-weight: 800; font-size: 16px; color: var(--ink-soft); letter-spacing: -0.02em; }
.logo-stand small { display: block; font-size: 9px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; }

/* Features grid */
.features { padding: 96px 0; }
.section-eyebrow { font-size: 12px; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; text-align: center; margin-bottom: 12px; }
.section-title { font-size: 36px; font-weight: 700; color: var(--ink); text-align: center; margin-bottom: 16px; letter-spacing: -0.02em; max-width: 24ch; margin-left: auto; margin-right: auto; line-height: 1.2; }
.section-sub { text-align: center; color: var(--ink-soft); max-width: 56ch; margin: 0 auto 56px; font-size: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 28px; }
.feature-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--soft-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.feature h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* Stats banner */
.stats-banner { background: var(--ink); color: var(--paper); padding: 56px 0; }
.stats-banner .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-banner .stat strong { display: block; font-size: 42px; font-weight: 800; color: var(--paper); letter-spacing: -0.025em; line-height: 1; }
.stats-banner .stat span { display: block; font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 8px; }

/* Testimonial */
.testimonial { padding: 80px 0; background: var(--soft-bg); }
.testimonial blockquote { max-width: 720px; margin: 0 auto; font-size: 22px; line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; text-align: center; }
.testimonial cite { display: block; text-align: center; margin-top: 24px; font-size: 14px; color: var(--ink-soft); font-style: normal; font-weight: 600; }
.testimonial cite small { display: block; font-weight: 400; margin-top: 2px; color: var(--ink-soft); }

/* CTA strip */
.cta-strip { padding: 80px 0; text-align: center; }
.cta-strip h2 { font-size: 36px; font-weight: 700; color: var(--ink); margin-bottom: 16px; letter-spacing: -0.02em; }
.cta-strip p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 28px; }

/* Article pages */
article.page { padding: 64px 0; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
article.page .breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; font-weight: 500; }
article.page .breadcrumb a { color: var(--ink-soft); }
article.page h1 { font-size: 40px; font-weight: 700; color: var(--ink); margin-bottom: 24px; line-height: 1.2; letter-spacing: -0.02em; }
article.page h2 { font-size: 22px; font-weight: 700; color: var(--ink); margin-top: 36px; margin-bottom: 12px; letter-spacing: -0.01em; }
article.page p { margin-bottom: 16px; font-size: 16px; color: var(--ink-soft); line-height: 1.75; }
article.page strong { color: var(--ink); }
article.page ul, article.page ol { margin-bottom: 18px; padding-left: 24px; color: var(--ink-soft); }
article.page li { margin-bottom: 8px; }

/* Fallback for inner pages */
body > header:not([class]) { padding: 16px 0; border-bottom: 1px solid var(--rule); background: var(--bg); }
body > header:not([class]) .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
body > header:not([class]) .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--ink); text-decoration: none; }
body > header:not([class]) .brand-icon { width: 24px; height: 24px; flex-shrink: 0; }
body > header:not([class]) nav { display: flex; gap: 22px; flex-wrap: wrap; }
body > header:not([class]) nav a { font-size: 14px; color: var(--ink-soft); text-decoration: none; font-weight: 500; }

/* Footer */
footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 56px 0 28px; }
footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
footer h5 { font-size: 13px; font-weight: 700; color: var(--paper); margin-bottom: 14px; }
footer p, footer a { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.9; text-decoration: none; display: block; }
footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; text-align: center; font-size: 12px; color: rgba(255,255,255,0.5); }

/* Site images */
.site-img { width: 100%; height: auto; display: block; border-radius: 12px; }
.hero-img { max-height: 480px; object-fit: cover; }
.section-img { max-height: 360px; object-fit: cover; margin-bottom: 32px; border-radius: 12px; }
.page-img { max-height: 380px; object-fit: cover; margin-bottom: 24px; border-radius: 8px; }
.img-feature { padding: 48px 0 0; }
article.page .site-img { width: 100%; }

@media (max-width: 900px) {
  .saas-hero h1 { font-size: 36px; }
  .saas-hero { padding: 56px 0 40px; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .stats-banner .container { grid-template-columns: 1fr 1fr; gap: 24px; }
  .mock-row { grid-template-columns: 1fr; gap: 8px; }
  footer .container { grid-template-columns: 1fr 1fr; gap: 24px; }
  header.saas nav { display: none; }
  article.page h1 { font-size: 28px; }
}
/* v7 */
