/* SaaS Prism — shared styles
   Single stylesheet, no frameworks, no external fonts. System font stack. */

:root {
  --accent: #4f46e5;
  --accent-dark: #4338ca;
  --accent-soft: #eef2ff;
  --text: #1c2330;
  --muted: #5b6472;
  --border: #e4e7ec;
  --bg-alt: #f7f8fa;
  --radius: 10px;
  --max: 1080px;
  --reading: 780px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; }

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

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap;
}
.logo {
  font-size: 1.35rem; font-weight: 800; color: var(--text);
  letter-spacing: -0.02em; white-space: nowrap;
}
.logo:hover { text-decoration: none; color: var(--text); }
.logo-mark { color: var(--accent); font-size: 1.1rem; vertical-align: 2px; }
.logo-accent { color: var(--accent); }
.main-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.main-nav a { color: var(--text); font-weight: 500; font-size: 0.98rem; }
.main-nav a:hover { color: var(--accent); text-decoration: none; }

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

.hero { padding: 64px 0 48px; text-align: left; }
.hero h1 {
  font-size: 2.6rem; line-height: 1.15; letter-spacing: -0.025em;
  margin: 0 0 16px; max-width: 720px;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lede { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 12px 22px; border-radius: 8px; font-weight: 600;
}
.btn:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }

.section { padding: 40px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: 1.6rem; letter-spacing: -0.02em; margin: 0 0 8px;
}
.section .section-sub { color: var(--muted); margin: 0 0 24px; max-width: 640px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem;
  font-weight: 700; color: var(--accent); margin: 0 0 10px;
}

.featured-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; background: #fff;
}
.featured-card h3 { font-size: 1.45rem; margin: 6px 0 10px; line-height: 1.3; }
.featured-card h3 a { color: var(--text); }
.featured-card h3 a:hover { color: var(--accent); text-decoration: none; }
.featured-card p { color: var(--muted); margin: 0 0 14px; }
.tag {
  display: inline-block; background: var(--accent-soft); color: var(--accent-dark);
  font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
}
.read-more { font-weight: 600; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  background: #fff;
}
.pillar .pillar-icon { font-size: 1.5rem; color: var(--accent); }
.pillar h3 { margin: 10px 0 8px; font-size: 1.15rem; }
.pillar p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.review-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.review-step p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.review-step .step-num {
  display: inline-block; font-weight: 800; color: var(--accent);
  font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 6px;
}

/* ---------- Article / prose ---------- */

.prose { padding: 40px 0 56px; }
.prose h1 { font-size: 2.3rem; line-height: 1.2; letter-spacing: -0.025em; margin: 0 0 12px; }
.prose h2 { font-size: 1.55rem; letter-spacing: -0.02em; margin: 42px 0 12px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.article-meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.kicker {
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem;
  font-weight: 700; color: var(--accent); margin: 0 0 10px;
}

.note-box {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  font-size: 0.94rem; color: var(--muted); margin: 0 0 28px;
}
.note-box p { margin: 0; }

.verdict-box {
  background: var(--accent-soft); border: 1px solid #d9defc;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius); padding: 24px 26px; margin: 0 0 32px;
}
.verdict-box h2 { margin-top: 0; font-size: 1.35rem; }
.verdict-box ul { margin-bottom: 12px; }
.verdict-box p:last-child { margin-bottom: 0; }

.cta { font-weight: 600; }
.aff-link { font-weight: 600; white-space: nowrap; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 24px; }
table {
  border-collapse: collapse; width: 100%; font-size: 0.95rem;
  border: 1px solid var(--border);
}
th, td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
thead th { background: var(--bg-alt); font-weight: 700; }
tbody th[scope="row"] { background: #fff; font-weight: 600; }
tbody tr:nth-child(even) td { background: #fbfcfd; }
.table-note { font-size: 0.88rem; color: var(--muted); margin-top: -12px; }

/* FAQ */
.faq h3 { margin-top: 22px; }
.faq p { color: #333c49; }

/* Callout list on core pages */
.prose blockquote {
  margin: 0 0 20px; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--border); color: #333c49;
}

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

.site-footer {
  border-top: 1px solid var(--border); background: var(--bg-alt);
  margin-top: 24px; padding: 36px 0 28px; font-size: 0.94rem;
}
.footer-grid {
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-brand { max-width: 340px; }
.footer-brand p { color: var(--muted); margin: 8px 0 0; }
.footer-links h3 { font-size: 0.95rem; margin: 0 0 10px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 7px; }
.footer-links a { color: var(--text); }
.footer-note {
  border-top: 1px solid var(--border); padding-top: 18px;
  color: var(--muted); font-size: 0.86rem;
}
.footer-note p { margin: 0 0 6px; }

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

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 2rem; }
  .prose h1 { font-size: 1.8rem; }
  .pillars, .review-strip { grid-template-columns: 1fr; }
  .featured-card { padding: 20px; }
  .site-header .container { justify-content: flex-start; }
}
