:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-dark: #0D1117;
    --accent-blue: #1D4ED8;
    --accent-light: #EFF6FF;
    --text-dark-blue: #1E3A6E;
    --text-main: #0D1117;
    --text-secondary: #374151;
    --divider: #CBD5E1;
    --text-muted: #A0BCCF;
    --text-muted-light: #64748B;
    
    --font-heading: 'Fraunces', serif;
    --font-body: 'DM Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-primary);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

a:focus, button:focus, [role="button"]:focus, input:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Top Bar */
.top-bar {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--bg-primary);
}

/* Navigation - Editorial Style */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
    border-bottom: 2px solid var(--text-main); /* Thicker editorial border */
    background: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo strong {
    font-weight: 700;
}

.logo em {
    font-weight: 300;
    font-style: italic;
}

.logo-subtitle {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 4px;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links a:hover {
    color: var(--accent-blue);
    text-decoration: none;
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 5px;
}

/* Hero Section - Centered with Mathematical Grid Background */
.hero {
    padding: 120px 5%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 0.5px solid var(--divider);
    
    /* Beautiful subtle mathematical grid background */
    background-color: var(--bg-secondary);
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    position: relative;
}

/* Radial fade overlay to make the text readable and grid elegant */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-secondary) 80%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    margin-bottom: 20px;
    display: block;
    font-weight: 500;
}

.hero h1 {
    font-size: 72px;
    margin-bottom: 30px;
    line-height: 1.05;
}

.hero h1 .line1 {
    font-weight: 700;
    display: block;
}

.hero h1 .line2 {
    font-weight: 300;
    font-style: italic;
    color: var(--text-secondary);
    display: block;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.pill {
    padding: 6px 14px;
    border: 1px solid var(--divider);
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    background: var(--bg-primary);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 0.5px solid var(--divider);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.stat-item:not(:last-child) {
    border-right: 0.5px solid var(--divider);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Section Titles */
.section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-main);
    margin-bottom: 50px;
    text-align: left;
    border-bottom: 1px solid var(--text-main);
    padding-bottom: 15px;
    font-weight: 500;
}

/* Quiz Section - Dark Theme Editorial */
.quiz-section {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 50%);
    padding: 100px 5%;
    color: var(--bg-primary);
}

.quiz-section .section-title {
    color: var(--bg-primary);
    border-bottom-color: rgba(255,255,255,0.2);
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-dark);
    background-image: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 60px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.progress-container {
    width: 100%;
    height: 3px;
    background-color: rgba(255,255,255,0.1);
    position: absolute;
    top: 0;
    left: 0;
}

.progress-bar {
    height: 100%;
    background-color: var(--accent-blue);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.quiz-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.quiz-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 300;
    color: var(--bg-primary);
    margin-bottom: 15px;
    font-style: italic;
}

.quiz-header p {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.quiz-question {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 300;
    color: var(--bg-primary);
    line-height: 1.4;
}

.quiz-question::before {
    content: 'Q.';
    display: block;
    font-size: 14px;
    color: #60A5FA;
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 15px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    counter-reset: quiz-letters;
}

.quiz-option {
    padding: 20px 25px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
    color: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.quiz-option::before {
    counter-increment: quiz-letters;
    content: counter(quiz-letters, upper-alpha);
    color: #60A5FA;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.quiz-option:hover {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
    transform: translateX(5px);
}

.quiz-option:hover::before {
    opacity: 1;
}

.quiz-option.selected {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--bg-primary);
    transform: translateX(10px);
}

.quiz-option.selected::before {
    color: var(--bg-primary);
    opacity: 1;
}

.quiz-hint {
    margin-top: 30px;
    padding: 25px 30px;
    background-color: rgba(37, 99, 235, 0.05);
    color: var(--accent-light);
    font-size: 15px;
    border-left: 2px solid var(--accent-blue);
    display: none;
    font-style: italic;
    line-height: 1.6;
}

.quiz-result {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.quiz-result h3 {
    font-family: var(--font-heading);
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--bg-primary);
    font-weight: 300;
}

.quiz-result p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.6;
}

.btn-retake {
    background: transparent;
    border: 1px solid #60A5FA;
    color: #60A5FA;
    padding: 15px 40px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-retake:hover {
    background: var(--accent-blue);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

/* Principles Section - Editorial Columns */
.principles-section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
}

.principle-card {
    padding: 40px;
    background: var(--bg-primary);
    border-right: 1px solid var(--divider);
}

.principle-card:last-child {
    border-right: none;
}

.principle-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 300;
    font-style: italic;
}

.principle-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Operators Section - List View */
.operators-section {
    padding: 100px 5%;
    background-color: var(--bg-secondary);
}

.operators-list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.operator-list-item {
    display: grid;
    grid-template-columns: 100px 1fr 2fr 200px;
    gap: 30px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--divider);
    transition: background-color 0.3s ease;
}

.operator-list-item:first-child {
    border-top: 1px solid var(--text-main);
}

.operator-list-item:hover {
    background-color: var(--bg-primary);
}

.operator-year {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    color: var(--text-muted-light);
}

.operator-info h3 {
    font-size: 28px;
    margin-bottom: 5px;
}

.operator-type {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.operator-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.operator-cta-container {
    text-align: right;
}

.operator-cta {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid var(--accent-blue);
    transition: all 0.3s ease;
    background: transparent;
}

.operator-cta::after {
    content: '→';
    transition: transform 0.3s ease;
}

.operator-cta:hover {
    text-decoration: none;
    background: var(--accent-blue);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.operator-cta:hover::after {
    transform: translateX(4px);
}

/* Responsible Banner */
.responsible-banner {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    padding: 50px 5%;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.responsible-logos {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.resp-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.resp-logo img {
    height: 100%;
    width: auto;
    display: block;
}

a.resp-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Disclaimer */
.disclaimer {
    background-color: var(--accent-light);
    padding: 45px max(5%, calc((100vw - 900px) / 2));
    font-size: 13px;
    color: var(--text-dark-blue);
    text-align: center;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    line-height: 1.8;
}

.disclaimer::before {
    content: 'Legal & Affiliate Disclosure';
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    margin-bottom: 12px;
    font-weight: 700;
}

/* Footer */
.footer {
    padding: 80px 5% 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--divider);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 25px;
    color: var(--text-main);
    border-bottom: 1px solid var(--divider);
    padding-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    padding-top: 30px;
    border-top: 1px solid var(--divider);
}

/* Editorial Callout & Profile Rows */
.editorial-callout {
    background: var(--bg-secondary);
    padding: 50px;
    border-left: 4px solid var(--text-main);
    margin: 60px 0;
}

.editorial-callout h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
    font-style: normal;
}

.editorial-callout p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 0;
    color: var(--text-main);
}

.profiles-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
}

.profile-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    padding: 50px 0;
    border-bottom: 1px solid var(--divider);
}

.profile-row:first-child {
    border-top: 1px solid var(--text-main);
}

.profile-score {
    font-family: var(--font-heading);
    font-size: 72px;
    color: var(--accent-blue);
    line-height: 0.9;
    font-weight: 300;
}

.profile-score span {
    font-size: 12px;
    display: block;
    color: var(--text-secondary);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 15px;
    font-weight: 500;
}

.profile-details h3 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 300;
    font-style: italic;
}

.profile-details p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .profile-row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 0;
    }
    .editorial-callout {
        padding: 30px 20px;
    }
}
.page-header {
    padding: 100px 5% 60px;
    max-width: 900px;
    margin: 0 auto;
}

.page-content {
    padding: 0 5% 100px;
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.page-content h2 {
    font-size: 32px;
    margin: 60px 0 25px;
    font-weight: 300;
    font-style: italic;
}

.page-content p {
    margin-bottom: 25px;
    color: var(--text-main);
}


/* Operator Pages Editorial Style */
.operator-header {
    padding: 100px 5% 60px;
    max-width: 1000px;
    margin: 0 auto;
    border-bottom: 2px solid var(--text-main);
    text-align: center;
}

.operator-header h1 {
    font-size: 80px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1;
}

.operator-meta {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--divider);
}

.operator-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.operator-meta-value {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--text-main);
    font-weight: 300;
    margin-bottom: 5px;
}

.operator-meta-label {
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

.operator-narrative {
    font-size: 22px;
    line-height: 1.8;
    color: var(--text-main);
    margin: 60px 0;
}

.operator-narrative::first-letter {
    font-family: var(--font-heading);
    font-size: 90px;
    line-height: 0.8;
    float: left;
    margin-right: 15px;
    margin-top: 8px;
    color: var(--accent-blue);
    font-weight: 700;
}

.regulatory-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    margin-bottom: 80px;
}

.regulatory-table th, .regulatory-table td {
    padding: 25px 0;
    border-bottom: 1px solid var(--divider);
    text-align: left;
}

.regulatory-table th {
    font-weight: 500;
    color: var(--text-secondary);
    width: 30%;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.regulatory-table td {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-main);
    font-weight: 300;
}

.faq-container {
    margin-bottom: 80px;
    border-top: 1px solid var(--text-main);
}

.faq-item {
    border-bottom: 1px solid var(--divider);
    padding: 40px 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.faq-item h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 300;
    font-style: italic;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
}

.faq-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.operator-visit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue);
    color: var(--bg-primary);
    padding: 20px 50px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
    font-weight: 500;
}

.operator-visit-btn:hover {
    background: var(--text-main);
    color: var(--bg-primary);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

@media (max-width: 991px) {
    .operator-header h1 {
        font-size: 56px;
    }
    .operator-meta {
        gap: 30px;
        flex-wrap: wrap;
    }
    .faq-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 0;
    }
    .regulatory-table th, .regulatory-table td {
        display: block;
        width: 100%;
        padding: 15px 0;
    }
    .regulatory-table th {
        border-bottom: none;
        padding-bottom: 0;
    }
    .regulatory-table td {
        font-size: 20px;
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .operator-list-item {
        grid-template-columns: 80px 1fr 1fr;
    }
    .operator-cta-container {
        grid-column: 1 / -1;
        text-align: left;
        margin-top: 10px;
    }
}

    @media (max-width: 991px) {
        .nav-links {
            display: none;
            position: absolute;
            top: 85px;
            left: 0;
            width: 100%;
            background: var(--bg-primary);
            flex-direction: column;
            padding: 30px 5%;
            border-bottom: 1px solid var(--text-main);
            z-index: 100;
        }
        
        .nav-links.active {
            display: flex;
        }
        
        .burger {
            display: block;
        }
        
        .hero {
            padding: 80px 5%;
        }
        
        .hero h1 {
            font-size: 56px;
        }
        
        .stats {
            grid-template-columns: 1fr;
            gap: 30px;
        }
    
    .stat-item:not(:last-child) {
        border-right: none;
        border-bottom: 0.5px solid var(--divider);
        padding-bottom: 30px;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
        border-top: none;
        border-bottom: none;
    }
    
    .principle-card {
        border-right: none;
        border-bottom: 1px solid var(--divider);
        padding: 30px 0;
    }
    
    .operator-list-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .operator-year {
        display: none; /* Hide year on mobile for cleaner look */
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .quiz-container {
        padding: 30px 20px;
    }
    
    .quiz-question {
        font-size: 22px;
    }
}