/* ───────────────────────────────────────────────────────────────
   SpinFund · shared page styles for content pages (vs/, recursos/, en/resources/)
   Designed to pair with Tailwind base + Inter font.
   ─────────────────────────────────────────────────────────────── */

:root {
  --ink: #1C2A40;
  --ink-2: #3D5D80;
  --txt: #515D72;
  --muted: #6B7990;
  --bg: #ffffff;
  --bg-2: #F4F7FB;
  --bg-3: #E6EFF7;
  --border: #E5EBF2;
  --border-2: #DDE9F5;
  --accent: #1C2A40;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: var(--bg); color: var(--ink); font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }

.page-shell { max-width: 76rem; margin: 0 auto; padding: 7rem 1.5rem 4rem; }
.prose-shell { max-width: 46rem; margin: 0 auto; padding: 7rem 1.5rem 4rem; }

.eyebrow { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.h-hero { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; letter-spacing: -0.01em; font-weight: 400; color: #000; margin-bottom: 1.25rem; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.55; color: var(--txt); max-width: 46rem; }

.prose { color: var(--txt); line-height: 1.65; font-size: 1.0625rem; }
.prose h2 { color: var(--ink); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; font-weight: 500; margin: 3rem 0 1rem; letter-spacing: -0.01em; }
.prose h3 { color: var(--ink); font-size: 1.25rem; line-height: 1.3; font-weight: 500; margin: 2rem 0 0.75rem; }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem 1.25rem; }
.prose li { margin: 0 0 0.5rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 0.15em; }
.prose a:hover { color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 3rem 0; }
.prose blockquote { border-left: 3px solid var(--border-2); padding-left: 1.25rem; color: var(--ink); font-style: normal; margin: 2rem 0; }

.kicker-grid { display: grid; gap: 0.5rem; margin: 2rem 0; padding: 1.5rem; border: 1px solid var(--border); border-radius: 1.25rem; background: var(--bg-2); }
.kicker-grid dt { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; }
.kicker-grid dd { color: var(--ink); font-weight: 500; font-size: 1.05rem; }

table.cmp { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.95rem; border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; }
table.cmp th, table.cmp td { padding: 0.875rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
table.cmp thead th { background: var(--bg-2); color: var(--ink); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
table.cmp tbody td:first-child { color: var(--muted); font-size: 0.9rem; }
table.cmp tbody td:nth-child(2) { color: var(--ink); font-weight: 500; background: rgba(28,42,64,0.025); }
table.cmp tr:last-child td { border-bottom: 0; }

.toc { background: var(--bg-2); border: 1px solid var(--border); border-radius: 1.25rem; padding: 1.5rem 1.75rem; margin: 2rem 0; }
.toc strong { display: block; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.75rem; }
.toc ol { margin: 0; padding-left: 1.25rem; counter-reset: t; list-style: none; }
.toc li { counter-increment: t; margin: 0.5rem 0; color: var(--txt); }
.toc li::before { content: counter(t, decimal-leading-zero) "  ·  "; color: var(--muted); font-size: 0.85rem; }
.toc li a { color: var(--ink); text-decoration: none; }
.toc li a:hover { text-decoration: underline; }

.cta-card { margin: 4rem 0 2rem; padding: 2.5rem; background: var(--ink); color: #fff; border-radius: 1.5rem; }
.cta-card h3 { color: #fff; font-size: 1.5rem; font-weight: 500; margin: 0 0 0.75rem; line-height: 1.2; }
.cta-card p { color: rgba(255,255,255,0.75); margin: 0 0 1.5rem; }
.cta-card a { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; color: var(--ink); padding: 0.75rem 1.5rem; border-radius: 999px; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.cta-card a:hover { background: var(--bg-2); }

.callout { padding: 1.5rem 1.75rem; border-left: 3px solid var(--ink-2); background: var(--bg-2); border-radius: 0 1rem 1rem 0; margin: 2rem 0; }
.callout p { margin: 0; color: var(--ink); }

.faq-block { margin: 3rem 0 2rem; }
.faq-block h2 { margin-bottom: 1.5rem; }
.faq-block details { border-top: 1px solid var(--border); padding: 1.25rem 0; }
.faq-block details:last-child { border-bottom: 1px solid var(--border); }
.faq-block summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after { content: "+"; color: var(--ink-2); font-size: 1.25rem; transition: transform 0.2s; }
.faq-block details[open] summary::after { transform: rotate(45deg); }
.faq-block details > div { margin-top: 0.75rem; color: var(--txt); line-height: 1.6; }

.breadcrumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 0.5rem; color: var(--border); }

/* Minimal top bar shared by content pages */
.bar { position: fixed; top: 0; inset-inline: 0; z-index: 30; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.bar-inner { max-width: 76rem; margin: 0 auto; padding: 0.875rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.bar a.brand { display: inline-flex; align-items: baseline; gap: 0.5rem; text-decoration: none; color: #000; font-weight: 500; }
.bar a.brand sup { font-size: 0.625rem; }
.bar nav { display: none; gap: 1.5rem; font-size: 0.9rem; }
.bar nav a { color: rgba(0,0,0,0.7); text-decoration: none; }
.bar nav a:hover { color: #000; }
.bar .cta { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--ink); color: #fff; padding: 0.45rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 500; text-decoration: none; }
.bar .cta:hover { background: var(--ink-2); }
@media (min-width: 768px) { .bar nav { display: flex; } }

.foot { background: var(--ink); color: var(--muted); padding: 2.5rem 1.5rem; margin-top: 4rem; font-size: 0.875rem; }
.foot-inner { max-width: 76rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
.foot a { color: var(--muted); text-decoration: none; margin: 0 0.75rem; }
.foot a:hover { color: #fff; }
.foot strong { color: #fff; font-weight: 500; }
@media (min-width: 768px) { .foot-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
