/* ==========================================================================
Base Styles & Reset
========================================================================== */
:root {
--color-bg: #0f172a;
--color-surface: #1e293b;
--color-surface-hover: #334155;
--color-primary: #3b82f6;
--color-primary-hover: #2563eb;
--color-text: #f8fafc;
--color-text-muted: #94a3b8;
--color-border: #334155;
--color-success: #10b981;
--color-error: #ef4444;
--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--container-max: 1100px;
}

{
box-sizing: border-box;
margin: 0;
padding: 0;
}

html, body {
height: 100%;
}

body {
font-family: var(--font-sans);
background-color: var(--color-bg);
color: var(--color-text);
line-height: 1.6;
display: flex;
flex-direction: column;
}

a {
color: var(--color-primary);
text-decoration: none;
transition: color 0.2s ease;
}

a:hover {
color: var(--color-primary-hover);
}

img {
max-width: 100%;
height: auto;
}

/* ==========================================================================
Typography
========================================================================== */
h1, h2, h3, h4 {
line-height: 1.2;
margin-bottom: 0.5rem;
font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-sm { font-size: 0.875rem; }
.text-muted { color: var(--color-text-muted); }
.lead-text { font-size: 1.125rem; color: var(--color-text-muted); }

/* ==========================================================================Layout & Utility========================================================================== */.container {
width: 100%;
max-width: var(--container-max);
margin: 0 auto;
padding: 0 20px;
}

.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-auto { margin-top: auto; }

.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}

/* ==========================================================================
Components
========================================================================== */
.site-banner {
background-color: #3f3f46;
color: #e4e4e7;
font-size: 0.75rem;
padding: 8px 0;
text-transform: uppercase;letter-spacing: 0.05em;}

.site-header {background-color: var(--color-surface);border-bottom: 1px solid var(--color-border);padding: 1rem 0;position: sticky;top: 0;z-index: 100;}

.nav-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}

.brand-logo {
font-size: 1.25rem;
font-weight: 800;
color: #fff;
}
.brand-logo span { color: var(--color-primary); }

.nav-list {
list-style: none;
display: flex;
gap: 1.5rem;
align-items: center;
flex-wrap: wrap;
}

.nav-link {
color: var(--color-text-muted);
font-weight: 500;
font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
color: #fff;
}

.nav-cta {
background-color: var(--color-primary);
color: #fff !important;
padding: 0.4rem 1rem;
border-radius: 4px;
}
.nav-cta:hover { background-color: var(--color-primary-hover); }

/* Buttons */
.btn {
display: inline-block;
padding: 0.75rem 1.5rem;
border-radius: 6px;
font-weight: 600;
text-align: center;
cursor: pointer;
border: 1px solid transparent;
transition: all 0.2s ease;
}

.btn-sm {
padding: 0.5rem 1rem;
font-size: 0.875rem;
}

.btn-primary {
background-color: var(--color-primary);
color: #fff;
}
.btn-primary:hover {
background-color: var(--color-primary-hover);
color: #fff;
}

.btn-secondary {
background-color: transparent;
border-color: var(--color-border);
color: var(--color-text);
}
.btn-secondary:hover {
background-color: var(--color-surface-hover);
}

/* Grids & Cards */
.grid-3 {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
}

.card {
background-color: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: 8px;
padding: 1.5rem;
}

.link-card {
display: block;
color: var(--color-text);
transition: transform 0.2s ease, border-color 0.2s ease;
}
.link-card:hover {
transform: translateY(-2px);
border-color: var(--color-primary);
color: var(--color-text);
}

/* Pages */
.hero {
padding: 4rem 0;
}
.hero-title {
font-size: clamp(2rem, 5vw, 3.5rem);
margin-bottom: 1rem;
}
.hero-subtitle {
font-size: 1.25rem;
color: var(--color-text-muted);
max-width: 600px;
margin: 0 auto 2rem;
}
.hero-actions {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}

.page-content {
padding: 3rem 20px;
}
.text-reader {
max-width: 800px;
margin: 0 auto;
}

/* Tables */
.table-wrapper {
width: 100%;
overflow-x: auto;
border-radius: 8px;
border: 1px solid var(--color-border);
background-color: var(--color-surface);
}

.data-table {
width: 100%;
border-collapse: collapse;
min-width: 600px;
text-align: left;
}

.data-table th, .data-table td {
padding: 1rem 1.5rem;
border-bottom: 1px solid var(--color-border);
}

.data-table th {
background-color: rgba(0,0,0,0.2);
font-weight: 600;
color: var(--color-text-muted);
text-transform: uppercase;
font-size: 0.85rem;
letter-spacing: 0.05em;
}

.data-table tr:last-child td {
border-bottom: none;
}

/* Lists */
.styled-list {
list-style: none;
}
.styled-list li {
position: relative;
padding-left: 1.5rem;
margin-bottom: 0.75rem;
}
.styled-list li::before {
content: "→";
position: absolute;
left: 0;
color: var(--color-primary);
font-weight: bold;
}

/* Content Boxes */
.content-box {
background-color: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: 8px;
padding: 1.5rem;
}
.disclaimer-box {
background-color: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.2);
padding: 1rem;
border-radius: 8px;
font-size: 0.875rem;
}

/* Forms */
.form-container {
max-width: 400px;
margin: 0 auto;
}
.email-capture-form {
display: flex;
flex-direction: column;
gap: 1rem;
}
.email-capture-form input {
padding: 0.75rem 1rem;
border-radius: 6px;
border: 1px solid var(--color-border);
background-color: var(--color-bg);
color: var(--color-text);
font-size: 1rem;
font-family: inherit;
}
.email-capture-form input:focus {
outline: none;
border-color: var(--color-primary);
}
.form-status {
font-size: 0.875rem;
font-weight: 500;
min-height: 1.5rem;
}

/* Footer */
.site-footer {
background-color: var(--color-surface);
border-top: 1px solid var(--color-border);
padding: 2rem 0;
margin-top: 4rem;
}
.footer-inner {
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
gap: 2rem;
}
.footer-links {
list-style: none;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.footer-links a {
color: var(--color-text-muted);
}
.footer-links a:hover {
color: #fff;
}