/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Archivo', sans-serif;
    background: #ffffff;
    color: #0a0a0a;
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Archivo Black', sans-serif;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

p {
    max-width: 70ch;
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    background: var(--colour-secondary);
    border-bottom: 4px solid var(--colour-accent);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 48px;
}


/* ============================================================
   HAMBURGER BUTTON
   ============================================================ */

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
    z-index: 1100;
    position: relative;
}

.hamburger span {
    display: block;
    width: 32px;
    height: 3px;
    background: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */

.main-nav {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1050;
}

.main-nav.is-open {
    opacity: 1;
    pointer-events: all;
}

.main-nav ul {
    text-align: center;
}

.main-nav ul li {
    overflow: hidden;
}

.main-nav ul li + li {
    margin-top: 1.5rem;
}

.main-nav ul li a {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2.5rem, 9vw, 5rem);
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: -0.03em;
    display: block;
    transition: color 0.2s ease;
    -webkit-text-stroke: 1px #ffffff;
}

.main-nav ul li a:hover {
    color: var(--colour-accent);
    -webkit-text-stroke-color: var(--colour-accent);
}


/* ============================================================
   MAIN
   ============================================================ */

main {
    min-height: calc(100vh - 80px);
}


/* ============================================================
   FOOTER
   ============================================================ */

footer {
    background: #0a0a0a;
    color: #ffffff;
    padding: 2rem 1.5rem;
    border-top: 4px solid var(--colour-accent);
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}


/* ============================================================
   404 NOT FOUND
   ============================================================ */

.not-found {
    padding: 6rem 1.5rem;
    text-align: center;
}

.not-found p {
    font-size: 1.125rem;
    max-width: none;
}

.not-found a {
    color: var(--colour-accent);
    text-decoration: underline;
    font-weight: 600;
}


/* ============================================================
   UTILITIES
   ============================================================ */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
    .section {
        padding: 7rem 2rem;
    }
}

@media (min-width: 1200px) {
    .section {
        padding: 9rem 2rem;
    }
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-block;
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    border: 3px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-accent {
    background: var(--colour-accent);
    color: #0a0a0a;
    border-color: var(--colour-accent);
}

.btn-accent:hover {
    background: transparent;
    color: var(--colour-accent);
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/assets/images/hero-home.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.65);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--colour-accent);
    margin-bottom: 1.5rem;
    max-width: none;
}

.hero-heading {
    font-size: clamp(3rem, 10vw, 7rem);
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 0.95;
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--colour-primary);
    margin: 0 auto 2.5rem;
    max-width: 60ch;
}


/* ============================================================
   INTRO
   ============================================================ */

.intro {
    background: var(--colour-secondary);
    color: #ffffff;
}

.intro-inner {
    display: grid;
    gap: 4rem;
}

.intro-text h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.intro-text p {
    color: var(--colour-primary);
    margin-bottom: 1rem;
    font-size: 1.0625rem;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 3px solid var(--colour-accent);
    padding-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--colour-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--colour-primary);
}

@media (min-width: 1024px) {
    .intro-inner {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .intro-stats {
        border-top: none;
        border-left: 3px solid var(--colour-accent);
        padding-top: 0;
        padding-left: 4rem;
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   FEATURED ARTICLES
   ============================================================ */

.featured {
    background: #f5f5f5;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
    border-bottom: 4px solid var(--colour-accent);
    padding-bottom: 1rem;
    display: inline-block;
}

.articles-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.article-card {
    background: #ffffff;
    border: 3px solid #0a0a0a;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 #0a0a0a;
}

.article-card-img {
    aspect-ratio: 16 / 9;
}

.placeholder-img {
    background: var(--colour-primary);
}

.article-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--colour-accent);
    margin-bottom: 0.75rem;
    display: block;
}

.article-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.3;
}

.article-card p {
    font-size: 0.9375rem;
    color: #555555;
    margin-bottom: 1.5rem;
    flex: 1;
}

.article-link {
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--colour-secondary);
    transition: color 0.2s ease;
    align-self: flex-start;
}

.article-link:hover {
    color: var(--colour-accent);
}


/* ============================================================
   CONTACT
   ============================================================ */

.contact {
    background: #0a0a0a;
    color: #ffffff;
}

.contact-inner {
    display: grid;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contact-inner {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.contact-text h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.contact-text p {
    color: #aaaaaa;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--colour-primary);
}

.required {
    color: var(--colour-accent);
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: 2px solid #333333;
    color: #ffffff;
    padding: 0.875rem 1rem;
    font-family: 'Archivo', sans-serif;
    font-size: 1rem;
    width: 100%;
    transition: border-color 0.2s ease;
    outline: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--colour-accent);
}

.form-group textarea {
    resize: vertical;
}

.form-status {
    font-size: 0.9375rem;
    min-height: 1.4em;
}

.form-status.success {
    color: #4caf50;
}

.form-status.error {
    color: var(--colour-accent);
}


/* ============================================================
   PAGE BANNER (INNER PAGES)
   ============================================================ */

.page-banner {
    background: var(--colour-secondary);
    border-bottom: 4px solid var(--colour-accent);
    padding: 5rem 1.5rem;
}

.page-banner-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--colour-accent);
    margin-bottom: 1.5rem;
    max-width: none;
}

.page-banner h1 {
    font-size: clamp(1.75rem, 4.5vw, 3.5rem);
    color: #ffffff;
    max-width: 950px;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.page-banner-intro {
    font-size: 1.0625rem;
    color: var(--colour-primary);
    max-width: 75ch;
}

@media (min-width: 768px) {
    .page-banner {
        padding: 7rem 2rem;
    }
}

.page-banner--image {
    position: relative;
    background-size: cover;
    background-position: center;
}

.page-banner--image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.65);
}

.page-banner-inner {
    position: relative;
    z-index: 1;
}


/* ============================================================
   TOP PICK BOX
   ============================================================ */

.top-pick-section {
    background: #ffffff;
    padding: 5rem 1.5rem;
    border-bottom: 4px solid #f0f0f0;
}

@media (min-width: 768px) {
    .top-pick-section {
        padding: 6rem 2rem;
    }
}

.top-pick-label {
    display: inline-block;
    background: var(--colour-accent);
    color: #0a0a0a;
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.4rem 0.875rem;
    margin-bottom: 1.5rem;
}

.top-pick-card {
    border: 3px solid #0a0a0a;
    padding: 2.5rem;
    max-width: 900px;
}

.top-pick-card h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 0.375rem;
}

.pick-tagline {
    font-size: 0.875rem;
    color: var(--colour-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
    max-width: none;
}

.top-pick-card > p {
    font-size: 0.9375rem;
    color: #444444;
    max-width: 75ch;
    margin-bottom: 0;
}

.top-pick-benefits {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.75rem;
    border-top: 2px solid #f0f0f0;
    padding-top: 1.75rem;
}

@media (min-width: 600px) {
    .top-pick-benefits {
        grid-template-columns: 1fr 1fr;
    }
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #333333;
    line-height: 1.4;
}

.benefit-item::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    min-width: 10px;
    background: var(--colour-accent);
    margin-top: 0.3rem;
}


/* ============================================================
   COMPARISON TABLE
   ============================================================ */

.table-section {
    background: #f5f5f5;
    padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
    .table-section {
        padding: 7rem 2rem;
    }
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 3px solid #0a0a0a;
    margin-top: 2.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    background: #ffffff;
    font-size: 0.875rem;
}

.comparison-table th {
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: #0a0a0a;
    color: #ffffff;
    padding: 1rem 1.25rem;
    text-align: left;
    white-space: nowrap;
    border-right: 1px solid #2a2a2a;
}

.comparison-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 170px;
}

.comparison-table td {
    padding: 1rem 1.25rem;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
    line-height: 1.4;
    color: #333333;
}

.comparison-table td:first-child {
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f5f5f5;
    position: sticky;
    left: 0;
    border-right: 2px solid #0a0a0a;
    color: #0a0a0a;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) td:not(:first-child) {
    background: #fafafa;
}

.comparison-table tr:hover td:not(:first-child) {
    background: #fff8f5;
}

.tag-yes {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
}

.tag-basic {
    display: inline-block;
    background: #fff3e0;
    color: #e65100;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
}

.tag-none {
    display: inline-block;
    background: #fce4ec;
    color: #c62828;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
}


/* ============================================================
   RANKED PROVIDER LIST
   ============================================================ */

.ranked-section {
    padding: 5rem 1.5rem;
    background: #ffffff;
}

@media (min-width: 768px) {
    .ranked-section {
        padding: 7rem 2rem;
    }
}

.provider-card {
    border: 3px solid #0a0a0a;
    margin-bottom: 3rem;
    max-width: 900px;
}

.provider-card:last-child {
    margin-bottom: 0;
}

.provider-card-header {
    display: flex;
    align-items: stretch;
    border-bottom: 3px solid #0a0a0a;
}

.provider-number {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.5rem;
    line-height: 1;
    background: #0a0a0a;
    color: var(--colour-accent);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 75px;
}

.provider-title-wrap {
    padding: 1.25rem 1.5rem;
    flex: 1;
}

.provider-title-wrap h3 {
    font-size: clamp(1rem, 3vw, 1.375rem);
    margin-bottom: 0.25rem;
}

.provider-tagline {
    font-size: 0.8rem;
    color: var(--colour-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    max-width: none;
}

.provider-body {
    padding: 1.5rem;
    border-bottom: 3px solid #0a0a0a;
}

.provider-body p {
    font-size: 0.9375rem;
    color: #333333;
    max-width: 75ch;
    margin-bottom: 0;
}

.pros-cons-grid {
    display: grid;
}

@media (min-width: 600px) {
    .pros-cons-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pros-col,
.cons-col {
    padding: 1.25rem 1.5rem;
}

.pros-col {
    border-bottom: 3px solid #0a0a0a;
}

@media (min-width: 600px) {
    .pros-col {
        border-bottom: none;
        border-right: 3px solid #0a0a0a;
    }
}

.pros-cons-label {
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 0.875rem;
    max-width: none;
}

.pros-col .pros-cons-label {
    color: #2e7d32;
}

.cons-col .pros-cons-label {
    color: var(--colour-accent);
}

.pros-cons-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pros-cons-list li {
    font-size: 0.875rem;
    padding-left: 1.25rem;
    position: relative;
    color: #444444;
    line-height: 1.4;
}

.pros-col .pros-cons-list li::before {
    content: '+';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: #2e7d32;
}

.cons-col .pros-cons-list li::before {
    content: '\2212';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--colour-accent);
}


/* ============================================================
   FAQ
   ============================================================ */

.faq-section {
    background: var(--colour-secondary);
    padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
    .faq-section {
        padding: 7rem 2rem;
    }
}

.faq-section .section-title {
    color: #ffffff;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 900px;
}

.faq-item h3 {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--colour-accent);
    margin-bottom: 1rem;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.3;
}

.faq-item p {
    color: var(--colour-primary);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.faq-item p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   CONCLUSION / HOW TO CHOOSE
   ============================================================ */

.conclusion-section {
    background: #0a0a0a;
    padding: 5rem 1.5rem;
    color: #ffffff;
}

@media (min-width: 768px) {
    .conclusion-section {
        padding: 7rem 2rem;
    }
}

.conclusion-section .section-title {
    color: #ffffff;
}

.conclusion-intro {
    color: #aaaaaa;
    font-size: 1.0625rem;
    margin: 1.5rem 0 3rem;
    max-width: 70ch;
}

.choice-grid {
    display: grid;
    gap: 2px;
    background: #333333;
    border: 2px solid #333333;
    max-width: 900px;
}

@media (min-width: 768px) {
    .choice-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.choice-card {
    background: #0a0a0a;
    padding: 2rem;
}

.choice-priority {
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #666666;
    margin-bottom: 0.75rem;
    max-width: none;
}

.choice-card h3 {
    font-size: 1.375rem;
    color: var(--colour-accent);
    margin-bottom: 0.75rem;
}

.choice-card p {
    font-size: 0.875rem;
    color: #aaaaaa;
}
