/* ── Reset & Base ─────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Light theme - approachable SMB audience (Xero/Zoho model) */
  --c-bg:        #f5f7fa;
  --c-surface:   #ffffff;
  --c-surface2:  #f0f3f8;
  --c-border:    #dde2ed;
  --c-text:      #1a1d2e;
  --c-muted:     #5a607a;
  --c-accent:    #0ea57a;
  --c-accent-h:  #0b8f6a;
  --c-green:     #0ea57a;
  --c-red:       #e03050;
  /* Hero - clean white, seamless with nav */
  --c-hero-bg:   #ffffff;
  --c-hero-text: #1a1d2e;
  --c-hero-muted:#5a607a;
  --r-base:      0.875rem;
  --r-sm:        0.8rem;
  --r-lg:        1.125rem;
  --r-xl:        1.35rem;
  --r-2xl:       1.75rem;
  --r-3xl:       2.5rem;
  --r-4xl:       3.5rem;
  --r-card:      12px;
  --max-w:       1100px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { list-style: none; }

/* ── Layout ───────────────────────────────────────────────────────────────── */

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

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.btn-primary, .btn-outline, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: var(--r-base);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
}

.btn-primary {
  background: var(--c-accent);
  color: #fff;
  border: 1.5px solid var(--c-accent);
}
.btn-primary:hover { background: var(--c-accent-h); border-color: var(--c-accent-h); text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--c-text);
  border: 1.5px solid var(--c-border);
}
.btn-outline:hover { border-color: var(--c-accent); color: var(--c-accent); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border: 1.5px solid transparent;
}
.btn-ghost:hover { background: var(--c-surface2); text-decoration: none; }

.btn-lg { padding: 14px 28px; font-size: var(--r-lg); }

/* ── Navigation ───────────────────────────────────────────────────────────── */

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

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo img {
  height: 89px;
  width: auto;
  display: block;
}

.footer-logo img {
  height: 120px;
  width: auto;
  display: block;
  margin-bottom: 8px;
}

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

.nav nav a {
  color: var(--c-muted);
  font-size: var(--r-base);
  font-weight: 500;
  text-decoration: none;
}
.nav nav a:hover, .nav nav a.active { color: var(--c-text); }
.nav nav .btn-primary { color: #fff; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
  padding: 80px 0 100px;
  text-align: center;
  background: var(--c-hero-bg);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, var(--r-4xl));
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--c-hero-text);
}

.hero-sub {
  font-size: var(--r-lg);
  color: var(--c-hero-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  font-size: var(--r-sm);
  color: var(--c-hero-muted);
}

/* PyPI install count: subtle, verifiable (links to pepy.tech) */
.hero-proof { margin-top: 16px; }
.pypi-stat-line { margin: 10px 0 0; }
.pypi-stat {
  font-size: var(--r-sm); color: var(--c-muted);
  text-decoration: none; white-space: nowrap;
}
.pypi-stat::before { content: "\1F4E6\00A0"; }
.pypi-stat::after { content: "\00A0\2197"; font-size: 0.85em; opacity: 0.7; }
.pypi-stat strong { color: var(--c-text); font-weight: 700; }
.pypi-stat:hover { color: var(--c-text); }
.pypi-stat:hover strong { text-decoration: underline; }

/* About page founder portrait: modest, floated beside the bio */
.about-portrait {
  float: right;
  width: 220px;
  margin: 0 0 16px 28px;
  text-align: center;
}
.about-portrait img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  border: 1px solid var(--c-border);
}
.about-portrait figcaption {
  font-size: var(--r-sm);
  color: var(--c-muted);
  margin-top: 8px;
}
@media (max-width: 600px) {
  .about-portrait { float: none; width: 180px; margin: 4px auto 20px; }
}
/* Keep the portrait contained to its own section (next heading starts below it) */
.about-content h2 { clear: both; }

/* Language-suggestion banner (shown when the visitor's language != the page's) */
.lang-suggest {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  background: var(--c-surface2); border-bottom: 1px solid var(--c-border);
  padding: 9px 16px; font-size: var(--r-sm); text-align: center;
}
.lang-suggest a { color: var(--c-accent); text-decoration: none; font-weight: 600; }
.lang-suggest a:hover { text-decoration: underline; }
.lang-suggest button {
  background: none; border: none; cursor: pointer; color: var(--c-muted);
  font-size: 1.2rem; line-height: 1; padding: 0 2px;
}
.lang-suggest button:hover { color: var(--c-text); }

/* ── Page Hero (inner pages) ──────────────────────────────────────────────── */

.page-hero {
  padding: 60px 0 40px;
  text-align: center;
  background: var(--c-hero-bg);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, var(--r-3xl));
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--c-hero-text);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: var(--r-lg);
  color: var(--c-hero-muted);
}

/* ── Features ─────────────────────────────────────────────────────────────── */

.features {
  padding: 80px 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.features h2, .viral-callout h2, .pricing-teaser h2, .cta-section h2, .pricing-full h2 {
  font-size: var(--r-2xl);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--c-text);
  margin-bottom: 12px;
  text-align: center;
}

.features h2 { margin-bottom: 40px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 28px;
}

.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: var(--r-xl); color: var(--c-text); margin-bottom: 8px; }
.feature-card p { font-size: var(--r-base); color: var(--c-muted); line-height: 1.6; }

/* ── Viral Callout ────────────────────────────────────────────────────────── */

.viral-callout {
  padding: 80px 0;
}

.viral-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.viral-text h2 {
  text-align: left;
  margin-bottom: 16px;
}

.viral-text p {
  font-size: var(--r-base);
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.doc-preview {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 24px;
  max-width: 380px;
  margin: 0 auto;
}

.doc-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}

.doc-type { font-weight: 700; font-size: var(--r-sm); color: var(--c-muted); letter-spacing: 1px; }
.doc-num { font-weight: 600; font-size: var(--r-sm); color: var(--c-text); }

.doc-line { height: 10px; background: var(--c-surface2); border-radius: 4px; margin-bottom: 10px; }
.doc-line.short { width: 40%; }
.doc-line.medium { width: 65%; }

.doc-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.powered { font-size: var(--r-sm); color: var(--c-muted); }
.accept-cta {
  font-size: var(--r-sm);
  font-weight: 600;
  color: var(--c-accent);
  white-space: nowrap;
  text-decoration: none;
}
.accept-cta:hover { text-decoration: underline; }

/* ── Pricing Teaser ───────────────────────────────────────────────────────── */

.pricing-teaser {
  padding: 80px 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  text-align: center;
}

.pricing-teaser > .container > p {
  color: var(--c-muted);
  font-size: var(--r-base);
  margin-bottom: 48px;
}

.pricing-note { margin-top: 24px; font-size: var(--r-sm); color: var(--c-muted); }
.pricing-note a { color: var(--c-accent); }

/* ── Pricing Cards ────────────────────────────────────────────────────────── */

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-cards-full {
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pricing-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-card.featured {
  border-color: var(--c-accent);
  background: linear-gradient(160deg, rgba(79,118,255,0.08) 0%, var(--c-surface) 60%);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: var(--c-text);
  font-size: var(--r-sm);
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-name { font-weight: 700; font-size: var(--r-base); color: var(--c-muted); }
.plan-price { font-size: var(--r-3xl); font-weight: 800; color: var(--c-text); letter-spacing: -1px; }
.plan-price span { font-size: var(--r-base); color: var(--c-muted); font-weight: 400; }
.plan-desc { font-size: var(--r-sm); color: var(--c-muted); }

.pricing-card ul { flex: 1; }
.pricing-card ul li {
  font-size: var(--r-sm);
  color: var(--c-muted);
  padding: 4px 0;
  border-bottom: 1px solid var(--c-border);
}
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card ul li.indent { padding-left: 16px; }

.pricing-card .btn-primary,
.pricing-card .btn-outline {
  width: 100%;
  justify-content: center;
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */

.pricing-full { padding: 60px 0 80px; }

.faq {
  max-width: 700px;
  margin: 60px auto 0;
}

.faq h2 {
  text-align: left;
  margin-bottom: 32px;
}

/* Q&A cards: question = level 1, answer (.faq-a) indented with an accent rule = level 2 */
.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 7px 16px 12px;
  margin-bottom: 8px;
  transition: border-color 0.15s;
}
.faq-item:hover { border-color: #cbd2e0; }
.faq-item h3 {
  font-size: var(--r-base);
  font-weight: 600;
  color: var(--c-text);
  margin: 0;
}
/* .faq-page raises specificity above the generic '.docs-content h3' (margin: 28px...) */
.faq-page .faq-item h3 { margin: 0; }
.faq-a {
  margin-top: 7px;
  padding-inline-start: 14px;
  border-inline-start: 2px solid var(--c-accent);
  /* base text styling so bare-text answers (no <p>) still render correctly */
  font-size: var(--r-sm);
  color: var(--c-muted);
  line-height: 1.55;
}
.faq-a > :first-child { margin-top: 0; }
.faq-a > :last-child { margin-bottom: 0; }
.faq-a p {
  font-size: var(--r-sm);
  color: var(--c-muted);
  line-height: 1.55;
  margin: 0 0 6px;
}
.faq-a ul, .faq-a ol {
  color: var(--c-muted); font-size: var(--r-sm); line-height: 1.5;
  margin: 4px 0 6px; padding-inline-start: 18px;
}
.faq-a li { margin-bottom: 3px; }
.faq-a li::marker { color: var(--c-muted); }
.faq-a strong { color: var(--c-muted); font-weight: 600; }
/* .faq-page beats the generic '.docs-content strong { color: var(--c-text) }' override */
.faq-page .faq-a strong { color: var(--c-muted); }
.faq-a a { color: var(--c-accent); }
.faq-a code {
  background: var(--c-surface2); border: 1px solid var(--c-border);
  border-radius: 4px; padding: 1px 5px; font-size: 0.85em; color: var(--c-text);
}
/* "Show more" for long answers only - keeps card heights consistent (no JS) */
.faq-more { margin-top: 2px; }
.faq-more > summary {
  list-style: none; cursor: pointer; display: inline-block;
  color: var(--c-accent); font-size: var(--r-sm); font-weight: 600;
}
.faq-more > summary::-webkit-details-marker { display: none; }
.faq-more > summary::after { content: " ▾"; }
.faq-more[open] > summary { margin-bottom: 5px; }
.faq-more[open] > summary::after { content: " ▴"; }
.faq-more > :last-child { margin-bottom: 0; }
/* FAQ page: tighter section headers + hero than the features page */
.faq-page .feat-group { margin-top: 26px; margin-bottom: 10px; padding-top: 14px; }
.faq-page .docs-lead { margin-bottom: 12px; }
.faq-page .feat-trust { margin-bottom: 14px; }

/* ── CTA Section ──────────────────────────────────────────────────────────── */

.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-section p {
  font-size: var(--r-lg);
  color: var(--c-muted);
  margin: 16px 0 32px;
}

/* ── Download Section ─────────────────────────────────────────────────────── */

.download-section { padding: 40px 0 80px; }

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.download-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-card.featured { border-color: var(--c-accent); }

.dl-icon { font-size: 2.5rem; }

.download-card h3 { font-size: var(--r-xl); font-weight: 700; color: var(--c-text); }
.download-card p { font-size: var(--r-sm); color: var(--c-muted); }
/* OS requirement line: a touch smaller so "macOS 12 Monterey or later
   (Intel & Apple Silicon)" fits on one line instead of wrapping. */
.download-card p.dl-req { font-size: 0.72rem; }
.dl-note { font-size: var(--r-sm); color: var(--c-muted); }
.dl-note code {
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.85em;
  color: var(--c-text);
}

.dl-btn { width: 100%; justify-content: center; }

.install-tip {
  margin-top: 4px;
  background: rgba(240,160,48,0.07);
  border: 1px solid rgba(240,160,48,0.22);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: var(--r-sm);
  color: var(--c-text);
  text-align: start;
  line-height: 1.5;
}
.install-tip strong { color: #f0a030; }
.dl-step2 { margin-top: 8px; }

.dl-note { text-align: start; }
.cmd-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: var(--r-sm);
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 4px 6px 4px 8px;
}
.cmd-copy code {
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
  text-align: start;
  font-size: 0.8em;
  background: var(--c-surface2);
  border: none;
  padding: 0;
}
.copy-btn {
  flex: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-muted);
  padding: 2px;
  border-radius: 4px;
  line-height: 0;
}
.copy-btn:hover { color: var(--c-text); background: var(--c-surface); }
.copy-btn.copied { color: #3fb950; }

.download-alt { margin-bottom: 60px; }
.download-alt h3 { font-size: var(--r-xl); color: var(--c-text); margin-bottom: 20px; }

.alt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.alt-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alt-card strong { color: var(--c-text); }
.alt-card p { font-size: var(--r-sm); color: var(--c-muted); line-height: 1.6; }
.alt-card code {
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: var(--r-sm);
  color: var(--c-text);
  display: block;
  overflow-x: auto;
}

.cel-callout { text-align: center; padding: 24px 0; margin-bottom: 40px; }
.cel-callout p { font-size: var(--r-base); color: var(--c-muted); }

.system-requirements { margin-bottom: 60px; }
.system-requirements h3 { font-size: var(--r-xl); color: var(--c-text); margin-bottom: 20px; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--r-base);
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}

th { color: var(--c-muted); font-weight: 600; font-size: var(--r-sm); }
td { color: var(--c-text); }
tr:last-child td { border-bottom: none; }
table { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-card); overflow: hidden; }

.req-note { font-size: var(--r-sm); color: var(--c-muted); margin-top: 12px; }

.getting-started h3 { font-size: var(--r-xl); color: var(--c-text); margin-bottom: 20px; }
.getting-started ol { list-style: decimal; padding-left: 24px; }
.getting-started ol li { color: var(--c-muted); font-size: var(--r-base); line-height: 1.7; margin-bottom: 8px; padding-left: 8px; }
.getting-started code {
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.85em;
  color: var(--c-text);
}
.getting-started p { margin-top: 20px; font-size: var(--r-base); color: var(--c-muted); }

/* ── Footer ───────────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--c-border);
  padding: 32px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a { color: var(--c-muted); font-size: var(--r-sm); text-decoration: none; }
.footer-links a:hover { color: var(--c-text); }

.footer-copy { font-size: var(--r-sm); color: var(--c-muted); }
.footer-copy a { color: var(--c-muted); text-decoration: underline; }

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 700px) {
  .viral-inner { grid-template-columns: 1fr; }
  .viral-text h2 { text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 420px; }
}

/* ── Nav (updated) ────────────────────────────────────────────────────────── */

.nav-wrap { border-bottom: 1px solid var(--c-border); background: #ffffff; }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--c-muted); font-size: var(--r-base); font-weight: 500; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--c-text); }
.nav-links .btn-primary { color: #fff; }

/* Language switcher */
.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-switcher__globe { font-size: 0.95rem; line-height: 1; }
.lang-switcher select { background: none; border: none; color: var(--c-muted); font-size: var(--r-sm); font-family: inherit; cursor: pointer; padding: 2px 4px; border-radius: 4px; }
.lang-switcher select:hover { color: var(--c-text); background: var(--c-border); }
.lang-switcher select:focus { outline: 2px solid var(--c-primary); }

.nav-toggle { display: none; background: none; border: none; color: var(--c-text); font-size: 1.4rem; cursor: pointer; }

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 0 24px 16px; }
  .nav-wrap.open .nav-links { display: flex; }
  .nav-links a { padding: 10px 0; width: 100%; border-bottom: 1px solid var(--c-border); }
  .nav-links .btn-primary { margin-top: 8px; }
  .lang-switcher { padding: 8px 0; border-bottom: 1px solid var(--c-border); width: 100%; }
  .logo img { height: 87px; }
}

/* ── Hero badge ───────────────────────────────────────────────────────────── */

.hero-badge {
  display: inline-block;
  background: rgba(79,118,255,0.12);
  border: 1px solid rgba(79,118,255,0.3);
  color: var(--c-accent);
  font-size: var(--r-sm);
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

/* ── Product Screenshot (CSS UI mockup) ───────────────────────────────────── */

.screenshot-section { padding: 0 0 80px; background: var(--c-hero-bg); }

.screenshot-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.screenshot-img {
  display: block;
  width: 100%;
}

/* ── Screenshot showcase (captioned, 1–3 shots) ───────────────────────────── */
.shots-showcase { padding: 64px 0; background: var(--c-hero-bg); }
.shots-showcase.plain { background: transparent; }
.shots-showcase.dark { background: #111827; }
.shots-showcase.dark h2 { color: #ffffff; }
.shots-showcase.dark .section-sub,
.shots-showcase.dark .shot-figure figcaption { color: #9aa3bb; }
.shots-showcase h2 { text-align: center; }
.shots-showcase .section-sub { text-align: center; margin: 0 auto 36px; max-width: 640px; }

.shots-grid {
  display: grid;
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
}
.shots-grid.cols-1 { grid-template-columns: 1fr; max-width: 820px; }
.shots-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.shots-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.shot-figure { margin: 0; }
.shot-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.shot-figure figcaption {
  margin-top: 14px;
  font-size: var(--r-sm);
  color: var(--c-muted);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .shots-grid.cols-2, .shots-grid.cols-3 { grid-template-columns: 1fr; }
}

.ui-titlebar {
  background: var(--c-surface2);
  border-bottom: 1px solid var(--c-border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ui-dots { display: flex; gap: 6px; }
.ui-dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--c-border); }
.ui-dots span:nth-child(1) { background: #f05060; }
.ui-dots span:nth-child(2) { background: #f0a030; }
.ui-dots span:nth-child(3) { background: #2dd4a0; }

.ui-address {
  flex: 1;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: var(--r-sm);
  color: var(--c-muted);
  text-align: center;
  max-width: 260px;
  margin: 0 auto;
}

.ui-body { display: flex; min-height: 340px; }

.ui-sidebar {
  width: 180px;
  background: var(--c-surface);
  border-right: 1px solid var(--c-border);
  padding: 16px 0;
  flex-shrink: 0;
}

.ui-nav-item {
  padding: 10px 20px;
  font-size: var(--r-sm);
  color: var(--c-muted);
  cursor: default;
}
.ui-nav-item.active { color: var(--c-text); background: var(--c-surface2); border-right: 2px solid var(--c-accent); }

.ui-content { flex: 1; background: var(--c-bg); padding: 20px; overflow: hidden; }

.ui-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ui-title { font-size: var(--r-xl); font-weight: 700; color: #e2e4ec; }
.ui-actions { display: flex; gap: 8px; }
.ui-btn { background: var(--c-surface2); border: 1px solid var(--c-border); border-radius: 6px; padding: 6px 12px; font-size: var(--r-sm); color: var(--c-muted); cursor: default; }
.ui-btn:first-child { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }

.ui-table { border: 1px solid var(--c-border); border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.ui-table-head { display: flex; background: var(--c-surface); padding: 8px 16px; border-bottom: 1px solid var(--c-border); }
.ui-table-head .ui-col { font-size: 11px; font-weight: 600; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.ui-table-row { display: flex; padding: 10px 16px; border-bottom: 1px solid var(--c-border); align-items: center; }
.ui-table-row:last-child { border-bottom: none; }
.ui-table-row:hover { background: var(--c-surface2); }
.ui-col { flex: 1; font-size: var(--r-sm); color: var(--c-text); }
.ui-col.wide { flex: 3; }
.ui-col strong { color: #e2e4ec; display: block; }
.ui-col small { color: var(--c-muted); font-size: 11px; }
.ui-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.ui-badge.green { background: rgba(45,212,160,0.15); color: var(--c-green); }
.ui-badge.red { background: rgba(240,80,96,0.15); color: var(--c-red); }

.ui-stats { display: flex; gap: 24px; padding: 12px 0 0; }
.ui-stat { text-align: center; }
.ui-stat-val { font-size: var(--r-xl); font-weight: 700; color: #e2e4ec; }
.ui-stat-label { font-size: 11px; color: var(--c-muted); }

@media (max-width: 700px) {
  .ui-sidebar { display: none; }
  .ui-stats { gap: 12px; }
}

/* ── Doc preview (viral section) ─────────────────────────────────────────── */

.doc-meta { margin-bottom: 16px; }
.doc-meta-row { display: flex; justify-content: space-between; font-size: var(--r-sm); padding: 4px 0; border-bottom: 1px solid var(--c-border); }
.doc-meta-row span { color: var(--c-muted); }
.doc-meta-row strong { color: var(--c-text); }
.doc-line-item { display: flex; justify-content: space-between; font-size: var(--r-sm); padding: 8px 0; color: var(--c-muted); }
.doc-line-item span:last-child { color: var(--c-text); font-weight: 600; }

/* ── Trust section ────────────────────────────────────────────────────────── */

/* Multi-user section */
.multiuser-section {
  padding: 80px 0;
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
}
.multiuser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.multiuser-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
  line-height: 1.25;
}
.multiuser-text p {
  color: var(--c-text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}
.multiuser-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.multiuser-list li {
  color: var(--c-text-muted);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}
.multiuser-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
}
.multiuser-list li strong {
  color: var(--c-text);
}
.multiuser-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.office-diagram {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 32px 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.office-server {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.server-icon {
  font-size: 2.5rem;
}
.server-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text);
  text-align: center;
}
.office-users {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.office-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.user-icon {
  font-size: 1.6rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-label {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  font-weight: 500;
}
.multiuser-caption {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  text-align: center;
}
@media (max-width: 768px) {
  .multiuser-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.trust-section {
  padding: 80px 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.trust-item { text-align: center; }
.trust-icon { font-size: 2rem; margin-bottom: 12px; }
.trust-item h3 { font-size: var(--r-lg); color: var(--c-text); margin-bottom: 8px; }
.trust-item p { font-size: var(--r-sm); color: var(--c-muted); line-height: 1.6; }

/* ── CTA actions ──────────────────────────────────────────────────────────── */

.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Footer (updated) ─────────────────────────────────────────────────────── */

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  text-align: left;
}

.footer-logo { margin-bottom: 8px; }
.footer-tagline { font-size: var(--r-sm); color: var(--c-muted); line-height: 1.6; }
.footer-cel { font-size: var(--r-xs); color: var(--c-muted); opacity: 0.7; margin-top: 4px; }

.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-title { font-size: var(--r-sm); font-weight: 700; color: var(--c-text); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { font-size: var(--r-sm); color: var(--c-muted); text-decoration: none; }
.footer-col a:hover { color: var(--c-text); }

.footer-bottom { border-top: 1px solid var(--c-border); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: var(--r-sm); color: var(--c-muted); }
.footer-bottom a { color: var(--c-muted); text-decoration: underline; }

@media (max-width: 700px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ── Deploy section ───────────────────────────────────────────────────────── */

.deploy-section { margin-bottom: 60px; }
.deploy-section h3 { font-size: var(--r-xl); color: var(--c-text); margin-bottom: 8px; }
.deploy-desc { font-size: var(--r-base); color: var(--c-muted); margin-bottom: 24px; max-width: 600px; }

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}

.deploy-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  transition: border-color 0.15s;
}
.deploy-card:hover { border-color: var(--c-accent); text-decoration: none; }
.deploy-logo { font-size: 1.8rem; }
.deploy-card strong { color: var(--c-text); font-size: var(--r-base); }
.deploy-card p { font-size: var(--r-sm); color: var(--c-muted); line-height: 1.5; flex: 1; }
.deploy-cta { font-size: var(--r-sm); font-weight: 600; color: var(--c-accent); }
.deploy-note { font-size: var(--r-sm); color: var(--c-muted); }

/* ── Waitlist ─────────────────────────────────────────────────────────────── */

.waitlist {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 48px;
  text-align: center;
  margin: 60px 0;
}

.waitlist h2 { font-size: var(--r-2xl); color: var(--c-text); margin-bottom: 12px; }
.waitlist > p { font-size: var(--r-base); color: var(--c-muted); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.waitlist-note { font-size: var(--r-sm); color: var(--c-muted); margin-top: 12px; }

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-input {
  flex: 1;
  min-width: 220px;
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: 8px;
  padding: 10px 16px;
  color: var(--c-text);
  font-size: var(--r-base);
}
.waitlist-input:focus { outline: none; border-color: var(--c-accent); }
.waitlist-input::placeholder { color: var(--c-muted); }

/* ── Docs layout ──────────────────────────────────────────────────────────── */

.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 40px 0 80px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 24px;
}

.docs-sidebar-title {
  font-size: var(--r-sm);
  font-weight: 700;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding: 0 12px;
}

.docs-nav-section { margin-bottom: 24px; }

.docs-nav-link {
  display: block;
  padding: 7px 12px;
  font-size: var(--r-sm);
  color: var(--c-muted);
  border-radius: 6px;
  text-decoration: none;
}
.docs-nav-link:hover { color: var(--c-text); background: var(--c-surface2); text-decoration: none; }
.docs-nav-link.active { color: var(--c-text); background: var(--c-surface2); font-weight: 600; }
/* Docs nav: collapsible "Documentation" disclosure on mobile, always-open rail on desktop */
.docs-nav-disclosure > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; font-size: var(--r-sm); font-weight: 600; color: var(--c-text);
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 8px;
}
.docs-nav-disclosure > summary::-webkit-details-marker { display: none; }
.docs-nav-disclosure > summary::after { content: "\25BE"; color: var(--c-muted); }
.docs-nav-disclosure[open] > summary::after { content: "\25B4"; }
.docs-nav-body { padding-top: 14px; }
@media (min-width: 801px) {
  .docs-nav-disclosure > summary { display: none; }
  .docs-nav-disclosure > .docs-nav-body { display: block; padding-top: 0; }
}

.docs-content h1 { font-size: var(--r-2xl); color: var(--c-text); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 16px; }
.docs-content h2 { font-size: var(--r-xl); color: var(--c-text); font-weight: 700; margin: 40px 0 12px; padding-top: 40px; border-top: 1px solid var(--c-border); }
.docs-content h2:first-of-type { margin-top: 32px; }
.docs-content h3 { font-size: var(--r-lg); color: var(--c-text); font-weight: 600; margin: 28px 0 10px; }
.docs-content p { font-size: var(--r-base); color: var(--c-muted); line-height: 1.75; margin-bottom: 16px; }
.docs-content ul, .docs-content ol { padding-left: 24px; margin-bottom: 16px; }
.docs-content ul { list-style: disc; }
.docs-content ol { list-style: decimal; }
.docs-content li { font-size: var(--r-base); color: var(--c-muted); line-height: 1.75; margin-bottom: 6px; }
.docs-content a { color: var(--c-accent); }
.docs-content strong { color: var(--c-text); }

.docs-content code {
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.875em;
  color: var(--c-text);
}

.docs-content pre {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 20px 24px;
  overflow-x: auto;
  margin-bottom: 20px;
}
.docs-content pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: var(--r-sm);
  color: var(--c-text);
}

.docs-callout {
  background: rgba(79,118,255,0.08);
  border: 1px solid rgba(79,118,255,0.25);
  border-radius: var(--r-card);
  padding: 16px 20px;
  margin-bottom: 20px;
}
.docs-callout p { color: var(--c-text); margin: 0; }
.docs-callout.warning { background: rgba(240,160,48,0.08); border-color: rgba(240,160,48,0.25); }
.docs-callout.warning p { color: #f0a030; }

.docs-step { display: flex; gap: 16px; margin-bottom: 28px; }
.docs-step-num { width: 32px; height: 32px; background: var(--c-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--r-sm); color: #fff; flex-shrink: 0; margin-top: 2px; }
.docs-step-body h3 { margin: 0 0 8px; }
.docs-step-body p { margin: 0; }

.docs-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.docs-feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 20px;
}
.docs-feature-card h4 { color: var(--c-text); margin-bottom: 6px; font-size: var(--r-base); }
.docs-feature-card p { font-size: var(--r-sm); margin: 0; }

/* ── Features page ────────────────────────────────────────────────────────── */
.docs-lead { font-size: var(--r-lg); color: var(--c-muted); line-height: 1.7; margin-bottom: 24px; }

.feat-trust {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: var(--r-sm); font-weight: 600; color: var(--c-text);
  margin-bottom: 24px;
}

.feat-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.feat-cta-end { margin-top: 40px; }

.feat-tag {
  display: inline-block; vertical-align: middle;
  padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
  text-transform: uppercase;
}
.feat-tag.free  { background: rgba(45,212,160,0.15); color: var(--c-green); }
.feat-tag.cloud { background: rgba(79,118,255,0.15); color: #4f76ff; }

.feat-overview { margin: 0 0 48px; }
.docs-feature-card[href] { text-decoration: none; transition: border-color 0.15s; }
.docs-feature-card[href]:hover { border-color: var(--c-accent); }

.feat-group {
  margin-top: 48px; margin-bottom: 14px; padding-top: 24px;
  border-top: 2px solid var(--c-border);
}

/* Keep button text readable inside docs-content (overrides .docs-content a) */
.docs-content a.btn-primary { color: #fff; }
.docs-content a.btn-ghost,
.docs-content a.btn-outline { color: var(--c-text); }

/* Collapsible module rows */
.module {
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background: var(--c-surface);
  margin-bottom: 10px;
  overflow: hidden;
}
.module > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
}
.module > summary::-webkit-details-marker { display: none; }
.module > summary:hover { background: var(--c-surface2); }
.module-icon { font-size: 1.15rem; flex-shrink: 0; line-height: 1; }
.feat-tag { flex-shrink: 0; }
.module-name { font-weight: 700; color: var(--c-text); flex-shrink: 0; }
.module-tagline {
  color: var(--c-muted); font-size: var(--r-sm);
  flex: 1 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.module-chevron { color: var(--c-muted); margin-inline-start: auto; transition: transform 0.15s; flex-shrink: 0; }
.module[open] > summary { border-bottom: 1px solid var(--c-border); }
.module[open] .module-chevron { transform: rotate(180deg); }
.module-body { padding: 18px 20px 6px; }
.module-body > :first-child { margin-top: 0; }
.module-body figure.blog-figure { margin: 18px 0; }
.module-body table { margin: 8px 0 16px; }

@media (max-width: 560px) {
  .module-tagline { display: none; }
}

/* FAQ accordion - reuses .module chrome with a full-width, wrapping question */
.module.faq .module-name { flex: 1 1 auto; min-width: 0; white-space: normal; font-weight: 600; }
.module.faq .module-body { padding-bottom: 14px; }
.module.faq .module-body p { margin: 0; }

/* Industry preset grid */
.preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0 8px;
}
.preset-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background: var(--c-surface2);
  padding: 12px 14px;
}
.preset-item strong { display: block; color: var(--c-text); font-size: var(--r-sm); margin-bottom: 3px; }
.preset-item span { display: block; color: var(--c-muted); font-size: var(--r-xs, 0.78rem); line-height: 1.5; }
a.preset-item { display: block; text-decoration: none; transition: border-color 0.15s; }
a.preset-item:hover { border-color: var(--c-accent); }
.preset-item.soon { opacity: 0.55; }
.preset-item .preset-soon {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--c-muted);
  background: var(--c-border);
  border-radius: 999px;
  padding: 1px 7px;
  line-height: 1.6;
  vertical-align: middle;
}

/* "Free" tag on a category header */
.feat-group .feat-tag { vertical-align: middle; margin-inline-end: 10px; position: relative; top: -2px; }

/* Pricing: scaling pointer below the card grid */
.pricing-scale-note { text-align: center; margin-top: 28px; color: var(--c-muted); font-size: var(--r-sm); }

/* ── Lifestyle hero (vertical landing pages) ──────────────────────────────── */
.page-hero.lifestyle-hero {
  padding: 132px 0 116px;
  /* each page sets its own background image inline (gradient + url) */
}
.page-hero.lifestyle-hero h1 { color: #fff; }
.page-hero.lifestyle-hero .hero-sub { color: rgba(255,255,255,0.92); }
.page-hero.lifestyle-hero .hero-note { color: rgba(255,255,255,0.72); }
.page-hero.lifestyle-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.page-hero.lifestyle-hero .btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.7); }

/* ── Image lightbox (click any screenshot to enlarge) ─────────────────────── */
main figure img.zoomable { cursor: zoom-in; }
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(8, 10, 18, 0.9);
  opacity: 0; pointer-events: none; transition: opacity 0.18s ease;
  cursor: zoom-out;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.lightbox-overlay img {
  max-width: 96vw; max-height: 92vh;
  border-radius: 10px; box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

.install-divider { border: none; border-top: 1px solid var(--c-border); margin: 32px 0; }
.install-advanced-label { font-weight: 600; color: var(--c-text); margin-bottom: 12px; }

@media (max-width: 800px) {
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
}

/* ── Blog layout ──────────────────────────────────────────────────────────── */

.blog-hero { padding: 60px 0 40px; text-align: center; }
.blog-hero h1 { font-size: var(--r-2xl); font-weight: 800; color: var(--c-text); letter-spacing: -0.5px; margin-bottom: 12px; }
.blog-hero p { font-size: var(--r-lg); color: var(--c-muted); }

.blog-list { padding: 20px 0 80px; }
.blog-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 28px 32px;
  margin-bottom: 20px;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s;
}
.blog-card:hover { border-color: var(--c-accent); text-decoration: none; }
.blog-meta { font-size: var(--r-sm); color: var(--c-muted); margin-bottom: 10px; }
.blog-card h2 { font-size: var(--r-xl); color: var(--c-text); margin-bottom: 10px; }
.blog-card p { font-size: var(--r-base); color: var(--c-muted); line-height: 1.6; margin: 0; }
.blog-read-more { font-size: var(--r-sm); color: var(--c-accent); margin-top: 12px; display: block; }

.blog-post { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }
.blog-post-header { margin-bottom: 40px; }
.blog-post-meta { font-size: var(--r-sm); color: var(--c-muted); margin-bottom: 12px; }
.blog-post h1 { font-size: clamp(1.8rem, 4vw, var(--r-2xl)); font-weight: 800; color: var(--c-text); letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 16px; }
.blog-post .blog-lead { font-size: var(--r-lg); color: var(--c-muted); line-height: 1.7; }
.blog-post h2 { font-size: var(--r-xl); color: var(--c-text); font-weight: 700; margin: 40px 0 12px; }
.blog-post h3 { font-size: var(--r-lg); color: var(--c-text); font-weight: 600; margin: 28px 0 10px; }
.blog-post p { font-size: var(--r-base); color: var(--c-muted); line-height: 1.8; margin-bottom: 20px; }
.blog-post ul, .blog-post ol { padding-left: 24px; margin-bottom: 20px; }
.blog-post ul { list-style: disc; }
.blog-post ol { list-style: decimal; }
.blog-post li { font-size: var(--r-base); color: var(--c-muted); line-height: 1.8; margin-bottom: 6px; }
.blog-post a { color: var(--c-accent); }
.blog-post strong { color: var(--c-text); }
.blog-post code { background: var(--c-surface2); border: 1px solid var(--c-border); border-radius: 4px; padding: 2px 6px; font-size: 0.875em; color: var(--c-text); }
.blog-post-cta { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-card); padding: 32px; text-align: center; margin-top: 60px; }
.blog-post-cta h3 { color: var(--c-text); margin-bottom: 12px; font-size: var(--r-xl); }
.blog-post-cta p { color: var(--c-muted); margin-bottom: 20px; }
.blog-post-cta .btn-primary { color: #fff; }

.blog-figure { margin: 32px 0; text-align: center; }
.blog-figure img { max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--c-border); }
.blog-figure figcaption { font-size: var(--r-sm); color: var(--c-muted); margin-top: 10px; font-style: italic; }

.blog-card-with-image { display: flex; gap: 24px; align-items: center; }
.blog-card-thumb { width: 200px; height: 140px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.blog-card-text { flex: 1; }
@media (max-width: 600px) { .blog-card-with-image { flex-direction: column; } .blog-card-thumb { width: 100%; height: 180px; } }

/* Updates section - PR entries */
.updates-section { padding: 48px 0; border-top: 1px solid var(--c-border); }
.news-card-release { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--c-border); }
.news-card-release:last-child { border-bottom: none; }
.news-release-badge { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; flex-shrink: 0; margin-top: 2px; }
.news-release-badge.feature { background: #dcfce7; color: #166534; }
.news-release-badge.fix { background: #fef3c7; color: #92400e; }
.news-release-badge.improvement { background: #dbeafe; color: #1e40af; }
.news-release-content h3 { font-size: var(--r-base); font-weight: 600; margin: 0 0 4px; color: var(--c-text); }
.news-release-content p { font-size: var(--r-sm); color: var(--c-muted); margin: 0 0 4px; line-height: 1.5; }
.news-highlights { margin: 0 0 6px; padding-left: 18px; }
.news-highlights li { font-size: var(--r-sm); color: var(--c-muted); line-height: 1.5; margin: 0 0 2px; }
.news-meta { font-size: var(--r-sm); color: var(--c-muted); }

/* ── Homepage: integrations section ─────────────────────────────────── */
.integrations-section {
  padding: 72px 0;
  background: var(--c-bg);
}
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 900px) {
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .integrations-grid { grid-template-columns: 1fr; }
}
.integration-card {
  display: block;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
}
.integration-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.integration-logo {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 14px;
}
.integration-logo-shopify { background: #96bf48; color: #fff; }
.integration-logo-woo     { background: #7f54b3; color: #fff; }
.integration-logo-xero    { background: #13B5EA; color: #fff; }
.integration-logo-qb      { background: #2CA01C; color: #fff; }
.integration-card h3 {
  font-size: var(--r-base);
  font-weight: 700;
  margin: 0 0 8px;
}
.integration-card p {
  font-size: var(--r-sm);
  color: var(--c-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── New sections (index.html redesign) ──────────────────────────────────── */

.section-sub {
  color: var(--c-muted);
  font-size: var(--r-lg);
  max-width: 640px;
  margin: 12px auto 40px;
  text-align: center;
  line-height: 1.7;
}

/* Proof strip */
.proof-strip {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 28px 0;
}
.proof-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}
.proof-item strong {
  font-size: var(--r-xl);
  color: var(--c-text);
  font-weight: 700;
}
.proof-item span {
  font-size: var(--r-sm);
  color: var(--c-muted);
  margin-top: 2px;
}
.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--c-border);
}
@media (max-width: 600px) {
  .proof-items { flex-direction: column; gap: 20px; }
  .proof-divider { display: none; }
}

/* Feature tag (cloud add-on label) */
.feature-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  background: rgba(79, 118, 255, 0.15);
  color: var(--c-accent);
  border: 1px solid rgba(79, 118, 255, 0.3);
  border-radius: 4px;
  padding: 2px 8px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* CEL section */
.cel-section {
  padding: 64px 0;
  background: var(--c-bg);
}
.cel-section h2 {
  font-size: clamp(1.5rem, 3vw, var(--r-xl));
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
}
.cel-section h3 {
  font-size: clamp(1.1rem, 2vw, var(--r-lg));
  font-weight: 600;
  color: var(--c-muted);
  margin-top: 8px;
}
.cel-section p {
  font-size: var(--r-lg);
  color: var(--c-muted);
  line-height: 1.7;
}

/* Who section */
.who-section {
  padding: 80px 0;
  text-align: center;
}
.who-section h2 {
  font-size: clamp(1.5rem, 3.5vw, var(--r-2xl));
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 48px;
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: left;
}
.who-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 28px 24px;
}
.who-icon { font-size: 1.8rem; margin-bottom: 14px; }
.who-card h3 { font-size: var(--r-lg); font-weight: 700; color: var(--c-text); margin-bottom: 10px; }
.who-card p { font-size: var(--r-sm); color: var(--c-muted); line-height: 1.7; }

/* Pricing nudge */
.pricing-nudge {
  text-align: center;
  margin: 32px 0 0;
  padding: 20px;
  border: 1px dashed var(--c-border);
  border-radius: var(--r-card);
  color: var(--c-muted);
  font-size: var(--r-base);
}
.pricing-nudge a { color: var(--c-accent); }

/* CTA sub-note */
.cta-sub {
  margin-top: 20px;
  font-size: var(--r-sm);
  color: var(--c-muted);
}

/* ── V2 Redesign sections ─────────────────────────────────────────────────── */

/* Hero badge - teal accent on light hero bg */
.hero .hero-badge {
  background: rgba(14,165,122,0.1);
  border: 1px solid rgba(14,165,122,0.25);
  color: var(--c-accent);
}

/* Hero ghost button - on light bg */
.hero .btn-ghost {
  color: var(--c-muted);
  border-color: var(--c-border);
}
.hero .btn-ghost:hover {
  background: var(--c-surface2);
  color: var(--c-text);
}

/* Price anchor strip */
.price-anchor-strip {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 24px 0;
}
.price-anchor-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.price-anchor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 36px;
}
.price-anchor-item.alt .pa-name {
  font-size: var(--r-sm);
  color: var(--c-muted);
  margin-bottom: 2px;
}
.price-anchor-item.alt .pa-price {
  font-size: var(--r-xl);
  font-weight: 700;
  color: var(--c-muted);
}
.price-anchor-item.alt .pa-price span { font-size: var(--r-sm); }
.price-anchor-item.highlight {
  background: rgba(14, 165, 122, 0.08);
  border: 1px solid rgba(14, 165, 122, 0.25);
  border-radius: 10px;
}
.price-anchor-item.highlight .pa-name {
  font-size: var(--r-sm);
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 2px;
}
.pa-price.free {
  font-size: var(--r-xl);
  font-weight: 800;
  color: var(--c-accent);
}
.pa-price.free span { font-size: var(--r-sm); font-weight: 400; }
.price-anchor-divider {
  font-size: var(--r-sm);
  color: var(--c-border);
  font-weight: 600;
  padding: 0 4px;
}
@media (max-width: 640px) {
  .price-anchor-items { gap: 12px; }
  .price-anchor-item { padding: 6px 16px; }
}

/* Pillars section */
.pillars {
  padding: 80px 0;
  background: var(--c-bg);
  text-align: center;
}
.pillars h2 {
  font-size: clamp(1.5rem, 3.5vw, var(--r-2xl));
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 12px;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  text-align: left;
  margin-top: 40px;
}
.pillar-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 32px 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.pillar-card:hover {
  border-color: var(--c-accent);
  box-shadow: 0 4px 20px rgba(14,165,122,0.1);
}
.pillar-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pillar-card h3 {
  font-size: var(--r-xl);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.pillar-card p {
  font-size: var(--r-base);
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.pillar-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pillar-features span {
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.75rem;
  color: var(--c-muted);
  font-weight: 500;
}

/* AI section */
.ai-section {
  padding: 80px 0;
  background: #f0faf6;
}.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ai-badge {
  display: inline-block;
  background: rgba(14,165,122,0.15);
  border: 1px solid rgba(14,165,122,0.3);
  color: #0ea57a;
  font-size: var(--r-sm);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.ai-text h2 {
  font-size: clamp(1.5rem, 3.5vw, var(--r-2xl));
  font-weight: 800;
  color: var(--c-hero-text);
  margin-bottom: 16px;
  line-height: 1.25;
}
.ai-text p {
  font-size: var(--r-base);
  color: var(--c-hero-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.ai-list {
  list-style: none;
  margin-bottom: 28px;
}
.ai-list li {
  font-size: var(--r-sm);
  color: var(--c-hero-muted);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.ai-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
}
.ai-terminal {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: var(--r-card);
  overflow: hidden;
  max-width: 480px;
}
.ai-term-bar {
  background: #161b22;
  border-bottom: 1px solid #30363d;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ai-term-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #333;
}
.ai-term-dot:nth-child(1) { background: #f05060; }
.ai-term-dot:nth-child(2) { background: #f0a030; }
.ai-term-dot:nth-child(3) { background: #2dd4a0; }
.ai-term-title {
  font-size: var(--r-sm);
  color: #6e7681;
  margin-left: 8px;
}
.ai-term-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
}
.ai-line {
  font-size: var(--r-sm);
  line-height: 1.6;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
}
.ai-line.user { color: #79c0ff; }
.ai-line.user::before { content: '> '; color: #6e7681; }
.ai-line.agent { color: #8b949e; }
.ai-line.agent::before { content: '~ '; color: #30363d; }
.ai-line.success { color: #2dd4a0; }
.ai-line.success::before { content: '✓ '; }
.ai-cursor {
  width: 8px; height: 16px;
  background: var(--c-accent);
  opacity: 0.7;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100% { opacity: 0.7; } 50% { opacity: 0; } }
@media (max-width: 800px) {
  .ai-inner { grid-template-columns: 1fr; }
  .ai-terminal { max-width: 100%; }
}

/* Comparison table */
.compare-section {
  padding: 80px 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  text-align: center;
}
.compare-section h2 {
  font-size: clamp(1.5rem, 3.5vw, var(--r-2xl));
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 12px;
}
.compare-wrap {
  overflow-x: auto;
  margin-top: 40px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--r-sm);
  background: var(--c-surface);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.compare-table th {
  background: var(--c-surface2);
  padding: 14px 16px;
  font-weight: 700;
  font-size: var(--r-sm);
  color: var(--c-muted);
  text-align: center;
  border-bottom: 1px solid var(--c-border);
}
.compare-table th:first-child { text-align: left; }
.compare-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-muted);
}
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--c-text);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--c-surface2); }
.col-celerp {
  background: rgba(14,165,122,0.05) !important;
  font-weight: 600;
  color: var(--c-text) !important;
  border-left: 2px solid var(--c-accent) !important;
  border-right: 2px solid var(--c-accent) !important;
}
.compare-table thead .col-celerp {
  color: var(--c-accent) !important;
  font-weight: 800;
  font-size: var(--r-base);
  border-top: 2px solid var(--c-accent) !important;
}
.price-free {
  color: var(--c-accent);
  font-size: var(--r-lg);
  font-weight: 800;
}

/* Features section headings - light theme fix */
.features h2, .viral-callout h2, .pricing-teaser h2, .cta-section h2, .pricing-full h2,
.trust-section h2, .who-section h2 {
  color: var(--c-text);
}

/* Nav link color fix for light bg */
.nav-wrap {
  background: var(--c-surface);
}

/* Proof strip spacing fix */
.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  gap: 4px;
}

/* em dash sweep - remove any remaining */
/* (implemented in HTML directly) */

/* ── Enterprise Section ───────────────────────────────────────────────────── */

.enterprise-section {
  padding: 96px 0;
  background: #0f1624;
  color: #e8ecf4;
}

.enterprise-section .container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.enterprise-eyebrow {
  font-size: var(--r-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
}

.enterprise-section h2 {
  font-size: var(--r-3xl);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
}

.enterprise-section .section-sub {
  color: #9aa3bb;
  max-width: 640px;
  /* Left-align text + block to line up with the eyebrow and heading above (the global
     .section-sub centers via text-align:center + margin auto). */
  margin: 12px 0 56px;
  text-align: left;
}

.enterprise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.enterprise-pain, .enterprise-solution {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-card);
  padding: 32px;
}

.enterprise-pain h3 {
  font-size: var(--r-lg);
  font-weight: 700;
  color: #e03050;
  margin-bottom: 20px;
}

.enterprise-solution h3 {
  font-size: var(--r-lg);
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 20px;
}

.enterprise-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.enterprise-list li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #c8d0e0;
}

.ent-x { color: #e03050; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.ent-check { color: var(--c-accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

.enterprise-ai-callout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(14, 165, 122, 0.1);
  border: 1px solid rgba(14, 165, 122, 0.3);
  border-radius: var(--r-card);
  padding: 28px 32px;
  margin-bottom: 40px;
}

.ent-ai-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ent-ai-text {
  font-size: 0.97rem;
  line-height: 1.65;
  color: #c8d0e0;
}

.ent-ai-text strong { color: #ffffff; }

.enterprise-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.enterprise-section .btn-ghost {
  border-color: rgba(255,255,255,0.25);
  color: #e8ecf4;
}

.enterprise-section .btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}

@media (max-width: 768px) {
  .enterprise-grid { grid-template-columns: 1fr; }
  .enterprise-section h2 { font-size: var(--r-2xl); }
  .enterprise-ai-callout { flex-direction: column; gap: 12px; }
}

/* ── Pricing page: billing toggle ───────────────────────────────────── */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.toggle-btn {
  background: none;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: var(--r-sm);
  font-weight: 600;
  color: var(--c-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.toggle-btn.active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}
.save-badge {
  display: inline-block;
  background: var(--c-accent-light, #e6f7f1);
  color: var(--c-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
.toggle-btn.active .save-badge {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.plan-note {
  font-size: 0.78rem;
  color: var(--c-muted);
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
}
.plan-trial-note {
  width: fit-content;
  max-width: 100%;
  margin: 14px auto 0;
  padding: 7px 14px;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-accent);
  background: var(--c-accent-light, #e6f7f1);
  border-radius: 8px;
}

/* ── Index: pricing nudge (one-liner) ───────────────────────────────── */
.pricing-nudge-section {
  background: var(--c-bg-alt, #f0f4f8);
  padding: 18px 0;
  text-align: center;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.pricing-nudge-section p {
  margin: 0;
  font-size: var(--r-sm);
  color: var(--c-muted);
}
.pricing-nudge-section a { color: var(--c-accent); font-weight: 600; }
