/* ─────────────────────────────────────────────────────────────
   fulflo — shared stylesheet for static marketing/SEO pages.
   Tokens, nav and footer copied verbatim from index.html so these
   pages are visually identical to the landing page. index.html is
   NOT modified and does not load this file.
   ───────────────────────────────────────────────────────────── */

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

:root {
  --purple: #6C3FA5;
  --purple-light: #8B5FBF;
  --purple-dark: #5A2D8C;
  --purple-glow: rgba(108, 63, 165, 0.12);
  --purple-bg: #1A1028;
  --green: #10B981;
  --amber: #F59E0B;
  --red: #EF4444;
  --surface: #FFFFFF;
  --bg: #F8FAFC;
  --border: #E2E8F0;
  --text: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --r: 16px; --r-lg: 22px; --r-pill: 999px;
  --shadow: 0 24px 60px -20px rgba(26,16,40,0.22);
  --shadow-sm: 0 8px 24px -12px rgba(26,16,40,0.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', -apple-system, sans-serif;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.nunito { font-family: 'Nunito', sans-serif; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
nav.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.06); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.nav-logo-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--purple);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(108,63,165,0.3);
}
.nav-logo-mark span { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: -0.03em; }
.nav-logo-text { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--purple); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-secondary); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 12px; align-items: center; }

.btn-primary {
  display: inline-block; padding: 10px 22px; border: none;
  background: var(--purple); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 700; cursor: pointer;
  border-radius: 12px; font-family: inherit;
  box-shadow: 0 2px 12px rgba(108,63,165,0.25);
  transition: all 0.2s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(108,63,165,0.35); background: var(--purple-dark); }
.btn-primary-lg { padding: 15px 34px; font-size: 16px; border-radius: 12px; }
.btn-outline {
  display: inline-block; padding: 14px 28px; border: 2px solid var(--border);
  background: #fff; color: var(--text); text-decoration: none;
  font-size: 16px; font-weight: 700; cursor: pointer;
  border-radius: 10px; font-family: inherit; transition: all 0.2s ease;
}
.btn-outline:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-1px); }

/* ─── ARTICLE SHELL ─── */
.doc-head {
  padding: 128px 32px 48px;
  background:
    radial-gradient(ellipse 70% 60% at 50% -20%, rgba(108,63,165,0.08) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}
.doc-head-inner { max-width: 760px; margin: 0 auto; }
.crumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.crumbs a { color: var(--text-secondary); text-decoration: none; }
.crumbs a:hover { color: var(--purple); }
.doc-head h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(30px, 5vw, 44px); font-weight: 900;
  letter-spacing: -0.035em; line-height: 1.12; color: var(--text);
}
.doc-standfirst { font-size: 18px; line-height: 1.65; color: var(--text-secondary); margin-top: 18px; }
.doc-meta { font-size: 13px; color: var(--text-muted); margin-top: 22px; }

article { max-width: 760px; margin: 0 auto; padding: 48px 32px 72px; }
article h2 {
  font-family: 'Nunito', sans-serif; font-size: 27px; font-weight: 800;
  letter-spacing: -0.02em; color: var(--text); margin: 44px 0 16px; line-height: 1.25;
}
article h2:first-child { margin-top: 0; }
article h3 {
  font-family: 'Nunito', sans-serif; font-size: 19px; font-weight: 800;
  color: var(--text); margin: 32px 0 10px;
}
article p { font-size: 16.5px; line-height: 1.72; color: #3F4A5C; margin-bottom: 18px; }
article ul, article ol { margin: 0 0 20px 22px; }
article li { font-size: 16.5px; line-height: 1.7; color: #3F4A5C; margin-bottom: 9px; }
article strong { color: var(--text); font-weight: 700; }
article a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }
article a:hover { color: var(--purple-dark); }

/* ─── COMPARISON TABLE ─── */
.tbl-wrap { overflow-x: auto; margin: 24px 0 28px; border: 1px solid var(--border); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
thead th {
  background: var(--bg); text-align: left; padding: 14px 16px;
  font-weight: 800; color: var(--text); font-size: 13.5px;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: #3F4A5C; vertical-align: top; line-height: 1.5; }
tbody tr:last-child td { border-bottom: none; }
tbody td:first-child { font-weight: 700; color: var(--text); }
.yes { color: var(--green); font-weight: 700; }
.no { color: var(--text-muted); }

/* ─── CALLOUT ─── */
.callout {
  border: 1px solid var(--border); border-left: 4px solid var(--purple);
  background: #FBFAFD; border-radius: 12px; padding: 18px 22px; margin: 26px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout h3 { margin-top: 0; }

/* ─── VERDICT BOX ─── */
.verdict {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r); padding: 26px 28px; margin: 32px 0;
}
.verdict h3 { margin-top: 0; }
.verdict p:last-child { margin-bottom: 0; }

/* ─── FAQ ─── */
.faq { margin-top: 12px; }
.faq h3 { font-size: 17px; margin-bottom: 6px; }

/* ─── PAGE CTA ─── */
.doc-cta {
  max-width: 760px; margin: 0 auto 80px; padding: 40px 32px;
  text-align: center; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--r-lg);
}
.doc-cta h2 { font-family: 'Nunito', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.doc-cta p { color: var(--text-secondary); font-size: 16px; line-height: 1.6; margin-bottom: 22px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ─── INDEX / CARD GRID ─── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: 28px 0 8px; }
.card {
  display: block; text-decoration: none; padding: 22px 24px;
  border: 1px solid var(--border); border-radius: var(--r);
  background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: var(--purple); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.card h3 { font-family: 'Nunito', sans-serif; font-size: 17px; font-weight: 800; color: var(--text); margin: 0 0 6px; }
.card p { font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); margin: 0; }

/* ─── FOOTER ─── */
footer { background: var(--purple-bg); color: #94A3B8; padding: 64px 32px 32px; border-top: 1px solid rgba(255,255,255,0.04); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 800; color: #CBD5E1; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: #94A3B8; text-decoration: none; margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: #E2E8F0; }
.footer-bottom {
  max-width: 1200px; margin: 48px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; flex-wrap: wrap; gap: 12px;
}

/* ─── A11Y ─── */
a:focus-visible, button:focus-visible { outline: 3px solid var(--purple-light); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 20px; }
  .doc-head { padding: 104px 20px 36px; }
  article { padding: 36px 20px 56px; }
  article h2 { font-size: 23px; margin-top: 36px; }
  .doc-cta { padding: 32px 20px; margin-bottom: 56px; border-radius: var(--r); }
  footer { padding: 48px 20px 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
