/* Re-themes the older content pages (guides, blog, legal) that still use main.css: the new blue palette,
   Rubik, and less top space — the new header sits in the flow instead of overlaying the page. */

:root {
    --primary: #1D76B3;
    --primary-hover: #165F92;
    --primary-light: #DDF0FA;
    --accent: #56B1DD;
    --accent-light: #E7F1F9;
    --purple: #1D76B3;
    --purple-light: #DDF0FA;
    --pink: #56B1DD;
    --pink-light: #E7F1F9;

    --bg-main: #FFFFFF;
    --bg-alt: #F3F8FC;
    --bg-dark: #0E3253;

    --text-main: #10253A;
    --text-muted: #4A6075;
    --text-light: #7A8EA2;

    --border: #DCE7F0;
    --border-dark: #C5D5E3;
    --shadow-color: 0 18px 40px -18px rgba(16, 37, 58, .18);

    --gradient-primary: linear-gradient(135deg, #3FA3D6 0%, #1D76B3 100%);
    --gradient-purple: linear-gradient(135deg, #3FA3D6 0%, #1D76B3 100%);
    --gradient-warm: linear-gradient(135deg, #56B1DD 0%, #1D76B3 100%);
    --gradient-hero: linear-gradient(180deg, #F3F8FC 0%, #FFFFFF 100%);

    --font-main: 'Rubik', 'Segoe UI', system-ui, sans-serif;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

body { background: #F3F8FC; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.015em; }

/* The pages were built under a fixed 80px header; the new one is in the flow */
main > section:first-child[style*="padding-top: 160px"] { padding-top: 56px !important; }
main > section:first-child.features-hero { padding-top: 64px; }
.legal-page { padding-top: 48px; }

.btn { border-radius: 999px; font-family: var(--font-main); }
.btn-primary { background: #1D76B3; box-shadow: 0 10px 22px -10px rgba(29, 118, 179, .7); }
.btn-primary:hover { background: #165F92; }
