/* ── MARKETING / LEGAL PAGES — self-contained (no app style.css dependency) ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-base:      #0f1117;
  --bg-surface:   #161b27;
  --bg-raised:    #1e2535;
  --bg-hover:     #252d40;
  --border:       #2a3347;
  --border-light: #323d54;
  --text-primary:   #f1f5f9;
  --text-secondary: #8b95a9;
  --text-muted:     #4e5a6e;
  --accent:       #3b82f6;
  --accent-hover: #2563eb;
  --accent-dim:   #1e3a5f;
  --green:        #22c55e;
  --amber:        #f59e0b;
  --purple:       #a855f7;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --maxw: 1140px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

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

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--border-light); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }
.btn-lg { font-size: 16px; padding: 14px 30px; }

/* ── NAV ── */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,17,23,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -0.3px; white-space: nowrap; }
.brand .bolt { filter: drop-shadow(0 0 8px rgba(59,130,246,0.55)); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a.navlink { font-size: 14px; color: var(--text-secondary); font-weight: 500; }
.nav-links a.navlink:hover { color: var(--text-primary); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
@media (max-width: 720px) {
  .nav-links .navlink { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .nav-cta { gap: 10px; }
  .nav-cta .navlink { display: none; }      /* keep the primary CTA; sign-in reachable from it + footer */
  .nav-cta .btn { padding: 10px 16px; font-size: 14px; }
}

/* ── HERO ── */
.hero { padding: 80px 0 60px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59,130,246,0.18), transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 800; line-height: 1.1; letter-spacing: -1px;
  max-width: 900px; margin: 0 auto 22px;
}
.hero .sub { font-size: clamp(16px, 2.2vw, 19px); color: var(--text-secondary); max-width: 680px; margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--text-muted); }

/* ── HERO MOCKUP ── */
.mockup-frame {
  margin: 54px auto 0; max-width: 920px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(59,130,246,0.08);
  overflow: hidden;
}
.mockup-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--bg-base); }
.mockup-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup-bar .dot.r { background: #ef4444; } .mockup-bar .dot.y { background: #f59e0b; } .mockup-bar .dot.g { background: #22c55e; }
.mockup-bar .url { margin-left: 12px; font-size: 12px; color: var(--text-muted); }
.mockup-body { display: block; background: #0b0e14; }

/* ── TRUST STRIP ── */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-surface); }
.trust p { text-align: center; padding: 18px 24px; font-size: 14px; color: var(--text-secondary); font-weight: 500; }

/* ── SECTIONS ── */
section.block { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; letter-spacing: -0.6px; margin-bottom: 14px; }
.section-head p { font-size: 16px; color: var(--text-secondary); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

/* problem/solution split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.split .panel { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.split .panel.problem { border-color: rgba(239,68,68,0.25); }
.split .panel.solution { border-color: rgba(34,197,94,0.3); }
.split .panel h3 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.split .panel.problem h3 { color: #f87171; }
.split .panel.solution h3 { color: var(--green); }
.split .panel p { color: var(--text-secondary); font-size: 15px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ── FEATURES GRID ── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
  transition: border-color 0.15s, transform 0.15s;
}
.feature:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature .ficon { font-size: 26px; margin-bottom: 14px; }
.feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text-secondary); }
.feature .protag { display: inline-block; margin-top: 10px; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; color: var(--purple); background: rgba(168,85,247,0.12); border: 1px solid rgba(168,85,247,0.35); border-radius: 4px; padding: 2px 7px; }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step .num { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-dim); border: 1px solid var(--accent); color: var(--accent); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-secondary); }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.price-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 36px rgba(59,130,246,0.16); }
.price-flag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.8px; padding: 4px 12px; border-radius: 20px; }
.price-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-secondary); }
.price-amt { font-size: 38px; font-weight: 800; margin: 10px 0 4px; letter-spacing: -1px; }
.price-amt span { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.price-card ul { list-style: none; margin: 18px 0 24px; }
.price-card li { font-size: 14px; color: var(--text-secondary); padding: 6px 0 6px 24px; position: relative; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.price-card li.no { color: var(--text-muted); }
.price-card li.no::before { content: '—'; color: var(--text-muted); }
.price-card .btn { margin-top: auto; text-align: center; }
.pricing-note { text-align: center; margin-top: 26px; font-size: 14px; color: var(--text-muted); }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.faq-item p { font-size: 15px; color: var(--text-secondary); }

/* ── FINAL CTA BAND ── */
.cta-band { text-align: center; background: linear-gradient(135deg, var(--accent-dim), var(--bg-surface)); border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: 56px 30px; }
.cta-band h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; letter-spacing: -0.6px; margin-bottom: 14px; }
.cta-band p { font-size: 16px; color: var(--text-secondary); max-width: 560px; margin: 0 auto 28px; }

/* ── FOOTER ── */
footer.site { border-top: 1px solid var(--border); background: var(--bg-surface); padding: 40px 0; margin-top: 30px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { font-size: 14px; color: var(--text-secondary); }
.foot-links a:hover { color: var(--text-primary); }
.foot-copy { font-size: 13px; color: var(--text-muted); }

/* ── LEGAL PAGES ── */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.6px; margin-bottom: 8px; }
.legal .updated { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.legal .reviewbanner { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.35); color: var(--amber); font-size: 13px; padding: 12px 16px; border-radius: var(--radius-md); margin-bottom: 30px; }
.legal .intro { font-size: 15px; color: var(--text-secondary); margin-bottom: 32px; }
.legal h2 { font-size: 19px; font-weight: 700; margin: 34px 0 12px; color: var(--text-primary); }
.legal p { font-size: 15px; color: var(--text-secondary); margin-bottom: 14px; }
.legal .placeholder { color: var(--amber); font-weight: 600; }
.legal a.backhome { display: inline-block; margin-bottom: 24px; font-size: 14px; color: var(--accent); }

/* ── FOUNDING-MEMBER PROMO ── */
.founding-offer {
  display: inline-block;
  margin: 0 auto 22px;
  max-width: 760px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--amber);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 999px;
  padding: 9px 18px;
  transition: background 0.15s, border-color 0.15s;
}
.founding-offer:hover { background: rgba(245,158,11,0.16); border-color: var(--amber); }
.founding-offer strong { color: #fbbf24; }
.price-flag.founding { background: var(--amber); color: #0f1117; }

/* ── DIFFERENTIATOR HIGHLIGHT BANNER ── */
.highlight-banner {
  display: flex; align-items: center; gap: 22px;
  background: linear-gradient(135deg, rgba(59,130,246,0.12), var(--bg-surface));
  border: 1px solid var(--accent); border-radius: var(--radius-lg);
  padding: 26px 30px;
}
.highlight-banner .hb-icon { font-size: 40px; line-height: 1; flex-shrink: 0; }
.highlight-banner .hb-text { flex: 1; }
.highlight-banner h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.highlight-banner p { font-size: 14.5px; color: var(--text-secondary); }
.highlight-banner .btn { flex-shrink: 0; }
@media (max-width: 720px) {
  .highlight-banner { flex-direction: column; text-align: center; gap: 16px; }
}

/* ── HERO MOBILE TIGHTENING ── */
@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  .founding-offer { font-size: 12.5px; padding: 9px 14px; border-radius: var(--radius-lg); }
  .hero-ctas .btn { width: 100%; }
}

/* ── BLOG / ARTICLES ── */
.article { max-width: 760px; margin: 0 auto; padding: 44px 24px 24px; }
.crumb { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.crumb a { color: var(--text-secondary); }
.crumb a:hover { color: var(--text-primary); }
.article article h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -0.6px; line-height: 1.15; margin-bottom: 18px; }
.article article h2 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.article article h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.article article p { font-size: 16px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7; }
.article article ul, .article article ol { margin: 0 0 16px 22px; color: var(--text-secondary); font-size: 16px; line-height: 1.7; }
.article article li { margin-bottom: 6px; }
.article article strong { color: var(--text-primary); }
.article article code { background: var(--bg-raised); padding: 1px 6px; border-radius: 4px; font-size: 14px; }
.article article hr { border: none; border-top: 1px solid var(--border); margin: 28px 0; }
.related { max-width: 760px; margin: 0 auto; padding: 0 24px 8px; }
.related h3 { font-size: 14px; font-weight: 700; color: var(--text-secondary); margin-bottom: 12px; }
.related ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.related a { font-size: 13.5px; color: var(--accent); border: 1px solid var(--border-light); border-radius: 999px; padding: 7px 14px; }
.related a:hover { border-color: var(--accent); background: var(--accent-dim); }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 920px; margin: 0 auto; }
@media (max-width: 720px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: border-color 0.15s, transform 0.15s; }
.blog-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.blog-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.blog-card h3 a { color: var(--text-primary); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { font-size: 14px; color: var(--text-secondary); }
.blog-cat { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin: 40px 0 18px; text-align: center; }
