/* Content pages (/vex-model, /fp1-vs-fp3, …).
 *
 * Deliberately NOT Tailwind: the landing pulls cdn.tailwindcss.com, which ships a CSS compiler
 * to the browser and blocks the first paint. Content pages are the ones search engines and AI
 * crawlers actually read, so they get one small stylesheet instead. Tokens mirror the landing's
 * palette so the two look like one site. */

:root {
  --ink: #1f1e1c; --mut: #73706b; --faint: #949089; --line: #e1ded9;
  --accent: #93c5fd; --soft: #eff6ff; --body: #575450;
  --wrap: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 17px/1.7 "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

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

/* header / footer — same shape as the landing so navigation feels continuous */
.site-head { max-width: 1280px; margin: 0 auto; padding: 28px 24px 0; display: flex; align-items: center; gap: 28px; }
.site-head .brand { font-size: 20px; font-weight: 700; letter-spacing: .14em; text-decoration: none; }
.site-head .spacer { flex: 1; }
.cta {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 18px;
  border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500;
  text-decoration: none; transition: opacity .2s;
}
.cta:hover { opacity: .85; }
.cta span { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; }
.cta-lg { height: 48px; padding: 0 8px 0 26px; font-size: 14px; }
.cta-lg span { width: 32px; height: 32px; font-size: 13px; }

.site-foot { max-width: 1280px; margin: 80px auto 0; padding: 24px 24px 48px; display: flex; justify-content: space-between; gap: 32px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.site-foot a { color: var(--mut); text-decoration: none; margin-right: 18px; }
.site-foot a:hover { color: var(--ink); }

/* breadcrumb */
.crumbs { padding-top: 36px; font-size: 13px; color: var(--faint); }
.crumbs a { color: var(--mut); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* type */
h1 { font-size: clamp(32px, 4.6vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; margin: 18px 0 0; }
h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.18; letter-spacing: -.02em; font-weight: 700; margin: 56px 0 0; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; margin: 34px 0 0; }
p { margin: 18px 0 0; color: var(--body); }
.lede { font-size: 19px; color: var(--body); margin-top: 22px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--faint); text-transform: uppercase; }
strong { font-weight: 600; color: var(--ink); }
ul, ol { margin: 18px 0 0; padding-left: 22px; color: var(--body); }
li { margin-top: 9px; }
li::marker { color: var(--accent); }

/* tables scroll inside their own box — the page body must never scroll sideways */
.scroll { overflow-x: auto; margin-top: 26px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
td { color: var(--body); }

/* callout */
.note { margin-top: 30px; padding: 22px 26px; border-radius: 16px; background: linear-gradient(135deg, rgba(147,197,253,.22), var(--soft)); font-size: 16px; }
.note p:first-child { margin-top: 0; }

figure { margin: 30px 0 0; }
figcaption { margin-top: 10px; font-size: 13px; color: var(--faint); }

/* FAQ — <details> so it works with zero JS and crawlers still read the answers */
.faq { margin-top: 18px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 17px; font-weight: 600; display: flex; gap: 16px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > *:not(summary) { margin-bottom: 18px; }

/* end-of-page conversion block */
.end { margin-top: 64px; padding: 44px 36px; border-radius: 24px; background: var(--ink); color: #fff; }
.end h2 { margin: 0; color: #fff; font-size: clamp(22px, 2.8vw, 30px); }
.end p { color: rgba(255,255,255,.7); }
.end .cta { background: #fff; color: var(--ink); margin-top: 26px; }

.related { margin-top: 44px; font-size: 15px; }
.related a { color: var(--mut); }

@media (max-width: 640px) { body { font-size: 16px; } .end { padding: 32px 24px; } }
