/* Tribe-OS static marketing pages — shared stylesheet.
   Matches the app's visual identity: Inter, purple primary, clean HIG layout. */
:root {
  --purple: #6A49C9;
  --purple-2: #8A6CF0;
  --bg: #FAFAFD;
  --fg: #17171E;
  --muted: #63636F;
  --card: #FFFFFF;
  --border: #E7E7F0;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 250, 253, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand .wordmark { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--fg); line-height: 1.1; }
.brand .tagline { font-size: 11px; color: var(--muted); font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 8px 10px; border-radius: 10px;
}
.site-nav a:hover { color: var(--fg); text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 8px; }

/* Buttons */
.btn {
  display: inline-block; font-weight: 600; font-size: 15px;
  padding: 12px 24px; border-radius: 12px; text-decoration: none;
  transition: opacity 0.15s ease;
}
.btn:hover { text-decoration: none; opacity: 0.9; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-ghost { border: 1px solid var(--border); color: var(--fg); background: var(--card); }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* Layout blocks */
main { padding: 48px 0 64px; }
section { margin-bottom: 56px; }
.hero { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; background: rgba(106, 73, 201, 0.1); color: var(--purple);
  font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.lead { font-size: 17px; color: var(--muted); }
.accent { color: var(--purple); }

/* Cards & grids */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
}
.card p, .card li { font-size: 14.5px; color: var(--muted); }
.card h3 { color: var(--fg); }
ul.checks { list-style: none; }
ul.checks li { padding-left: 24px; position: relative; margin-bottom: 8px; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--purple); font-weight: 700; }

/* Pricing */
.price { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 2px; }
.price-note { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.plan-badge {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 4px 12px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
}
.plan-badge.free { background: linear-gradient(135deg, #9a9aad, #7c7c94); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 17px; margin-bottom: 8px; }
.faq-item p { color: var(--muted); font-size: 15px; }

/* CTA panel */
.cta-panel {
  background: rgba(106, 73, 201, 0.06); border: 1px solid rgba(106, 73, 201, 0.25);
  border-radius: var(--radius); padding: 40px 24px; text-align: center;
}
.cta-panel p { color: var(--muted); max-width: 480px; margin: 0 auto 20px; font-size: 15px; }

/* Legal / prose */
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: 32px; }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose h3 { font-size: 17px; margin-top: 24px; }
.prose p, .prose li { font-size: 15px; color: #3d3d4a; margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 16px; }
.prose strong { color: var(--fg); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; }
.site-footer nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
  font-size: 13px; margin-bottom: 12px;
}
.site-footer nav a { color: var(--muted); }
.site-footer nav a:hover { color: var(--fg); }
.site-footer .copy { text-align: center; font-size: 12px; color: var(--muted); }
