/* DESIGN SYSTEM: Bold, Digital-Native Flat Design with Premium Love-Themed Palette */
/* Zero shadows, solid color blocks, geometric purity, Outfit typography, snappy scale feedbacks */

:root {
    --bg-primary: #FFFFFF;
    --fg-primary: #4C0519; /* Deep luxurious rose-maroon */
    --blue: #E11D48;       /* Vivid rose-crimson (Primary Accent) */
    --green: #BE123C;      /* Rich ruby crimson */
    --amber: #FDA4AF;      /* Soft rose-gold / blush pink */
    --muted: #FFF1F2;      /* Gentle rose mist light background */
    --border: #FFE4E6;     /* Delicate pink-blush borders */
    
    --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
    --radius-md: 6px;
    --radius-lg: 8px;
    --transition-snappy: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-sans);
    color: var(--fg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-snappy);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-snappy);
}

/* Typography scale - Bold, geometric, with tight tracking on titles */
h1, h2, h3, h4 {
    font-family: var(--font-sans);
    font-weight: 800;
    line-height: 1.15;
    color: var(--fg-primary);
    letter-spacing: -0.02em;
}

/* Container - Enhanced with tight constraints to stay centered, never touching screen edges */
.container {
    width: 100%;
    max-width: 1100px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 32px;
    padding-left: 32px;
}

/* Header - Improved layout, spacing, ultra-slim profile */
.main-header {
    background-color: var(--bg-primary);
    border-bottom: 4px solid var(--fg-primary); /* Bold flat boundary */
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-snappy);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 32px; /* Slimmer vertical padding */
}

.brand-logo {
    font-weight: 900;
    font-size: 1.45rem; /* Slimmer font size */
    color: var(--fg-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.04em;
}

.brand-logo:hover {
    transform: translateY(-1px);
}

.logo-accent {
    background-color: var(--fg-primary);
    color: var(--bg-primary);
    padding: 2px 10px; /* Slimmer inner spacing */
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    font-weight: 900;
    border: 3px solid var(--fg-primary);
    transition: var(--transition-snappy);
}

.brand-logo:hover .logo-accent {
    background-color: var(--blue);
    color: var(--bg-primary);
    border-color: var(--fg-primary);
}

.logo-text {
    font-weight: 900;
}

.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-link {
    font-size: 0.8rem; /* Refined slim navigation text */
    font-weight: 700;
    color: var(--fg-primary);
    padding: 6px 12px; /* Slimmer buttons */
    border-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--bg-primary);
    background-color: var(--fg-primary);
    border-color: var(--fg-primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    padding: 0;
    border: none;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--fg-primary);
    transition: var(--transition-snappy);
    border-radius: 2px;
}

/* Mobile Menu Animation */
.mobile-menu-toggle.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section (Bold Love Poster Block Style - Fully Centered) */
.hero-section {
    background-color: var(--blue);
    color: var(--bg-primary);
    padding: 80px 0;
    text-align: center; /* Centered Content */
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--fg-primary);
}

/* Flat Geometric decorative elements on the poster */
.geo-shape {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.09);
    pointer-events: none;
}
.geo-shape-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    top: -50px;
    right: -50px;
}
.geo-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -40px;
    right: 25%;
    transform: rotate(45deg);
}

.hero-container {
    max-width: 800px;
    margin: 0 auto; /* Keeps hero perfectly centered */
    position: relative;
    z-index: 2;
    padding-left: 32px;
    padding-right: 32px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--amber);
    color: var(--fg-primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    border: 3px solid var(--fg-primary);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 24px;
    color: var(--bg-primary);
    font-weight: 900;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.5;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center; /* Centered Actions */
    gap: 16px;
    margin-bottom: 50px;
}

/* Buttons - Zero shadow, crisp flat blocks, instant snappy scale */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-snappy);
    border: 3px solid var(--fg-primary);
}

.btn-primary {
    background-color: var(--fg-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: var(--green);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-primary);
    color: var(--fg-primary);
}

.btn-secondary:hover {
    background-color: var(--muted);
    transform: translateY(-2px);
}

.hero-meta-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 3px solid rgba(255, 255, 255, 0.3);
    padding-top: 28px;
    gap: 24px;
}

.meta-item {
    text-align: center; /* Perfectly centered text alignment */
}

.meta-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    font-weight: 700;
}

.meta-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--bg-primary);
}

/* Sections General */
.section {
    padding: 80px 0;
    border-bottom: 4px solid var(--fg-primary);
}

.section:nth-of-type(even) {
    background-color: var(--muted);
}

.section-header {
    max-width: 700px;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    color: var(--blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
    font-weight: 900;
}

.section-description {
    color: var(--fg-primary);
    opacity: 0.8;
    font-size: 1.1rem;
    font-weight: 400;
}

.text-center {
    text-align: center;
}
.text-center .section-header {
    margin-right: auto;
    margin-left: auto;
}

/* Match Index Cards: Pure flat block interaction */
.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}

.match-index-card {
    background-color: var(--bg-primary);
    border: 3px solid var(--fg-primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
    transition: var(--transition-snappy);
    box-shadow: none;
}

.match-index-card:hover {
    transform: translateY(-4px);
    background-color: var(--fg-primary);
    color: var(--bg-primary);
}

.card-group-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    font-weight: 800;
    margin-bottom: 12px;
}
.match-index-card:hover .card-group-tag {
    color: var(--amber);
}

.card-teams {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--fg-primary);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.match-index-card:hover .card-teams {
    color: var(--bg-primary);
}

.vs-text {
    font-size: 0.95rem;
    color: var(--fg-primary);
    opacity: 0.6;
    font-weight: 500;
    margin: 0 4px;
}
.match-index-card:hover .vs-text {
    color: rgba(255,255,255,0.7);
}

.card-stats {
    display: flex;
    justify-content: space-between;
    border-top: 2px solid var(--fg-primary);
    padding-top: 16px;
    margin-bottom: 16px;
}
.match-index-card:hover .card-stats {
    border-color: rgba(255,255,255,0.25);
}

.card-stat {
    font-size: 0.85rem;
    font-weight: 600;
}

.card-stat .label {
    color: var(--fg-primary);
    opacity: 0.7;
}
.match-index-card:hover .card-stat .label {
    color: rgba(255,255,255,0.7);
}

.card-stat .val {
    font-weight: 800;
    color: var(--fg-primary);
}
.match-index-card:hover .card-stat .val {
    color: var(--bg-primary);
}

.card-footer-link {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.match-index-card:hover .card-footer-link {
    color: var(--amber);
}

/* Title Race Contenders Table - High contrast flat grids */
.title-favorites-table-wrapper {
    overflow-x: auto;
    background-color: var(--bg-primary);
    border: 3px solid var(--fg-primary);
    border-radius: var(--radius-lg);
}

.title-favorites-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.title-favorites-table th, .title-favorites-table td {
    padding: 16px 24px;
    border-bottom: 3px solid var(--fg-primary);
}

.title-favorites-table th {
    background-color: var(--fg-primary);
    color: var(--bg-primary);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.title-favorites-table tbody tr:last-child td {
    border-bottom: none;
}

.title-favorites-table tbody tr {
    transition: var(--transition-snappy);
}
.title-favorites-table tbody tr:hover {
    background-color: var(--muted);
}

.font-mono {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fg-primary);
}

/* Modern flat badges */
.chance-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    font-weight: 800;
    text-align: center;
}
.badge-blue {
    background-color: var(--blue);
    color: var(--bg-primary);
}

/* Geometric visual representations of Flags */
.flag-placeholder {
    display: inline-block;
    width: 24px;
    height: 16px;
    border: 2px solid var(--fg-primary);
    vertical-align: middle;
    margin-right: 12px;
}
.flag-spain { background: linear-gradient(to bottom, #d62828 30%, #f77f00 30%, #f77f00 70%, #d62828 70%); }
.flag-france { background: linear-gradient(to right, #002244 33%, #ffffff 33%, #ffffff 66%, #cc0000 66%); }
.flag-england { background: radial-gradient(circle, transparent 0%, transparent 100%), linear-gradient(to bottom, transparent 40%, #cc0000 40%, #cc0000 60%, transparent 60%), linear-gradient(to right, transparent 45%, #cc0000 45%, #cc0000 55%, transparent 55%), #ffffff; }
.flag-brazil { background: #009c3b; position: relative; }
.flag-brazil::before { content: ""; position: absolute; top: 2px; left: 4px; right: 4px; bottom: 2px; background: #ffdf00; transform: rotate(45deg); }
.flag-argentina { background: linear-gradient(to bottom, #74acdf 33%, #ffffff 33%, #ffffff 66%, #74acdf 66%); }
.flag-portugal { background: linear-gradient(to right, #006600 40%, #ff0000 40%); }

/* Match Previews with solid outline blocks */
.previews-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.preview-block {
    background-color: var(--bg-primary);
    border: 3px solid var(--fg-primary);
    border-radius: var(--radius-lg);
    padding: 36px;
    scroll-margin-top: 120px;
}

.preview-header {
    border-bottom: 3px solid var(--fg-primary);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.preview-group-tag {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 800;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 8px;
}

.preview-match-title {
    font-size: 2.2rem;
    font-weight: 900;
}

.preview-comparison-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--muted);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    gap: 24px;
    border: 3px solid var(--fg-primary);
}

.comparison-column {
    flex: 1;
}

.comp-team-name {
    font-size: 1.5rem;
    color: var(--fg-primary);
    margin-bottom: 12px;
    font-weight: 900;
}

.comp-list {
    list-style: none;
}

.comp-list li {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--fg-primary);
    opacity: 0.8;
}

.comp-list li strong {
    color: var(--fg-primary);
    font-weight: 700;
}

.comparison-divider {
    font-size: 1.6rem;
    color: var(--bg-primary);
    font-weight: 900;
    background-color: var(--fg-primary);
    padding: 8px 12px;
    border-radius: var(--radius-md);
}

.preview-editorial {
    font-size: 1.05rem;
    color: var(--fg-primary);
    line-height: 1.6;
}

/* Group Comparative Rates */
.group-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 20px;
}

.group-card {
    background-color: var(--bg-primary);
    border: 3px solid var(--fg-primary);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition-snappy);
}
.group-card:hover {
    transform: translateY(-4px);
    background-color: var(--muted);
}

.group-card-header {
    font-size: 1.3rem;
    color: var(--fg-primary);
    border-bottom: 3px solid var(--fg-primary);
    padding-bottom: 10px;
    margin-bottom: 14px;
    font-weight: 900;
}

.group-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.group-team-row {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
}

.group-team-row span:first-child {
    font-weight: 800;
    color: var(--fg-primary);
}

.group-pct {
    font-size: 0.85rem;
    color: var(--blue);
    margin-top: 2px;
    font-weight: 700;
}

/* Host Watch - Bold Solid Accent Colors representing nations */
.hosts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.host-card {
    background-color: var(--bg-primary);
    border: 3px solid var(--fg-primary);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    transition: var(--transition-snappy);
}
.host-card:hover {
    transform: translateY(-4px);
}

/* Custom visual signatures for each host card - themed into beautiful pinks & roses */
.card-usa:hover {
    border-color: var(--blue);
}
.card-mexico:hover {
    border-color: var(--green);
}
.card-canada:hover {
    border-color: var(--amber);
}

.host-card-top {
    border-bottom: 3px solid var(--fg-primary);
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.host-rank {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 800;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 6px;
}

.host-name {
    font-size: 1.6rem;
    font-weight: 900;
}

.host-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.host-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.host-detail-row span {
    color: var(--fg-primary);
    opacity: 0.75;
    font-weight: 500;
}

.host-detail-row strong {
    color: var(--fg-primary);
    font-weight: 800;
}

/* Methodology Poster-like Block */
.guide-wrapper {
    background-color: var(--fg-primary);
    color: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
}

.guide-wrapper .section-badge {
    color: var(--amber);
}

.guide-wrapper .section-title {
    color: var(--bg-primary);
}

.guide-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 16px 0 36px 0;
    max-width: 800px;
}

.metric-definitions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.metric-def-item h4 {
    font-size: 1.1rem;
    color: var(--amber);
    margin-bottom: 10px;
    font-weight: 800;
}

.metric-def-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

/* FAQ Accordion - Thick outline block styling */
.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 3px solid var(--fg-primary);
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    background-color: var(--bg-primary);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--fg-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background-color: var(--bg-primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.6rem;
    color: var(--blue);
    font-weight: 900;
    transition: var(--transition-snappy);
}

.faq-item.active {
    border-color: var(--blue);
}

.faq-item.active .faq-question {
    background-color: var(--muted);
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-snappy);
}

.faq-answer p {
    padding: 20px 24px;
    font-size: 0.95rem;
    color: var(--fg-primary);
    border-top: 3px solid var(--fg-primary);
    background-color: var(--bg-primary);
}

/* Footer & Legal: High Contrast Dark Block */
.main-footer {
    background-color: var(--fg-primary);
    color: var(--bg-primary);
    padding: 60px 0 40px 0;
    border-top: 4px solid var(--fg-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    color: var(--bg-primary);
    margin-bottom: 16px;
}

.footer-bio {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 280px;
}

.footer-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--amber);
    margin-bottom: 18px;
    font-weight: 800;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a, .modal-trigger-btn {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    border: none;
    padding: 0;
    text-align: left;
    font-weight: 600;
}

.footer-links a:hover, .modal-trigger-btn:hover {
    color: var(--amber);
    text-decoration: underline;
}

.address-wrapper .address-inner {
    border-left: 3px solid var(--blue);
    padding-left: 16px;
}

.real-address {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.real-address strong {
    color: var(--bg-primary);
}

.reg-number {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--amber);
    display: inline-block;
    margin-top: 6px;
}

.contact-email {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--amber);
}

.footer-bottom {
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.disclaimer-note {
    margin-top: 10px;
    font-style: normal;
    font-weight: 500;
}

/* Modals: Beautiful high contrast dialog overlays */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(76, 5, 25, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background-color: var(--bg-primary);
    border: 4px solid var(--fg-primary);
    border-radius: var(--radius-lg);
    max-width: 760px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: none;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--fg-primary);
    font-weight: 900;
    transition: var(--transition-snappy);
    line-height: 1;
}

.modal-close-btn:hover {
    color: var(--blue);
    transform: scale(1.1);
}

.modal-content h2 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    font-weight: 900;
    border-bottom: 4px solid var(--fg-primary);
    padding-bottom: 12px;
}

.last-updated {
    font-size: 0.8rem;
    color: var(--blue);
    margin-top: 10px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.legal-section {
    margin-bottom: 20px;
}

.modal-content p {
    font-size: 0.95rem;
    color: var(--fg-primary);
    opacity: 0.9;
    margin-bottom: 12px;
}

.modal-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 24px;
    margin-bottom: 10px;
    color: var(--fg-primary);
}

.legal-address-block {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 3px solid var(--fg-primary);
    font-size: 0.9rem;
    color: var(--fg-primary);
    opacity: 0.8;
    line-height: 1.6;
}

/* Responsive Adaptation */
@media (max-width: 1200px) {
    .container {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .hosts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .metric-definitions {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 850px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-primary);
        border-bottom: 4px solid var(--fg-primary);
        padding: 24px;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        font-size: 1rem;
        padding: 10px 16px;
        text-align: center;
        border: 3px solid var(--fg-primary);
    }

    .hero-meta-strip {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .preview-comparison-grid {
        flex-direction: column;
        text-align: center;
    }

    .comparison-column.text-right {
        text-align: center;
    }

    .hosts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 50px 0;
    }
    
    .preview-block {
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .modal-card {
        padding: 24px;
    }
}