/* Scope shared site chrome.
   Canonical token + primitive layer for every page on usescope.co.

   Lifted verbatim from the block that used to live inline in
   compare/gem.html. Do NOT "clean it up": the light/dark token pairs below
   are load-bearing and dark mode is the thing that breaks when they get
   reorganised. Change a token here and mirror it into index.html's inline
   <style> block (the homepage still carries its own monolith).

   New pages: <link rel="stylesheet" href="/assets/site.css"> plus the
   Tailwind CDN script. Never copy index.html's <style> block. */

:root {
    --primary-blue: #00AEEF;
    --primary-blue-dark: #003E6B;
    --bg-page: #F4F6F8;
    --bg-primary: #FFFFFF;
    --bg-hover: #F8FAFC;
    --bg-neutral: #E0E5EC;
    --text-primary: #2B2D42;
    --text-secondary: #475569;
    --text-tertiary: #64748B;
    --border-primary: #E0E5EC;
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
}

[data-theme="dark"] {
    --bg-page: #0F1014;
    --bg-primary: #1A1B23;
    --bg-hover: #252830;
    --bg-neutral: #2A2D3A;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-tertiary: #64748B;
    --border-primary: #374151;
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    border-radius: 12px;
    padding: 14px 28px;
    display: inline-block;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 174, 239, 0.25);
}

.btn-primary:hover { transform: translateY(-1px); }

.btn-outline {
    border: 1.5px solid var(--border-primary);
    color: var(--text-primary);
    font-weight: 600;
    border-radius: 12px;
    padding: 14px 28px;
    display: inline-block;
    background: var(--bg-primary);
}

.btn-outline:hover { border-color: var(--primary-blue); color: var(--primary-blue); }

table.compare-table { width: 100%; border-collapse: collapse; }
table.compare-table th, table.compare-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-primary);
    vertical-align: top;
}
table.compare-table th { background: var(--bg-hover); font-weight: 600; }
table.compare-table tbody tr:last-child td { border-bottom: none; }

.check { color: #10b981; font-weight: 600; }
.cross { color: #94a3b8; }

.nav-link { color: var(--text-secondary); transition: color 0.15s; }
.nav-link:hover { color: var(--primary-blue); }
