:root {
    --site-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --primary: #0052cc;
    --primary-dark: #003d99;
    --secondary: #202225;
    --accent: #10b981;
    --accent-hover: #059669;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --text-dark: #0f172a;
    --text-main: #334155;
    --text-muted: #475569;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 10px;
    --violet: #7c3aed;
    --cyan: #22d3ee;
    --lime: #a3e635;
}

/* VIBRANT HOMEPAGE */
.home-page {
    background:
        radial-gradient(circle at 10% 35%, rgba(34, 211, 238, 0.08), transparent 24rem),
        radial-gradient(circle at 90% 65%, rgba(124, 58, 237, 0.08), transparent 26rem),
        #f8fafc;
    overflow-x: hidden;
}

.home-page header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
}

.home-page .hero {
    min-height: 0;
    padding: 2.5rem 1.5rem 3.5rem;
    scroll-margin-top: 82px;
    background: linear-gradient(135deg, #07152f 0%, #102e68 54%, #381b6f 100%);
    overflow: hidden;
    isolation: isolate;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.hero-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(3px);
    opacity: 0.65;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-one {
    width: 330px;
    height: 330px;
    left: -100px;
    top: 80px;
    background: radial-gradient(circle at 35% 35%, #22d3ee, rgba(34, 211, 238, 0));
}

.hero-orb-two {
    width: 430px;
    height: 430px;
    right: -140px;
    bottom: -100px;
    background: radial-gradient(circle at 50% 50%, #8b5cf6, rgba(139, 92, 246, 0));
    animation-delay: -3s;
}

.home-page .hero-content {
    max-width: 900px;
}

.hero-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-eyebrow {
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    animation: heroEntrance .65s ease both;
}

.hero-eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 5px rgba(163,230,53,.14);
    animation: softPulse 2s ease-in-out infinite;
}

.home-page .hero h1 {
    max-width: 800px;
    margin: 0 auto .8rem;
    color: #fff;
    font-size: clamp(2.65rem, 6vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    animation: heroEntrance .65s .08s ease both;
}

.home-page .hero h1 span {
    color: transparent;
    background: linear-gradient(90deg, var(--cyan), #c4b5fd 55%, var(--lime));
    background-clip: text;
    -webkit-background-clip: text;
}

.home-page .hero-subtext-group {
    max-width: 650px;
    margin: 0 auto 1.35rem;
    animation: heroEntrance .65s .16s ease both;
}

.home-page .hero p {
    font-size: 1.08rem;
    font-weight: 500 !important;
    color: #dbeafe !important;
}

.home-page .checker-box {
    max-width: 680px;
    padding: 1.6rem;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.65);
    box-shadow: 0 25px 70px rgba(2, 8, 23, .36);
    animation: heroEntrance .7s .24s ease both;
}

.checker-heading {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1.1rem;
}

.checker-heading h2 {
    font-size: 1.35rem;
    line-height: 1.1;
}

.checker-kicker {
    color: var(--primary);
    font-weight: 800;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.checker-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 14px;
    color: #fff;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--violet));
    box-shadow: 0 8px 24px rgba(0,82,204,.25);
}

.home-page .input-group {
    padding: 5px;
    border: 2px solid #dbe5f2;
    border-radius: 14px;
    background: #f8fafc;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}

.home-page .input-group:focus-within {
    border-color: #60a5fa;
    box-shadow: 0 0 0 5px rgba(59,130,246,.12);
    transform: translateY(-2px);
}

.home-page .input-group input {
    border: 0;
    background: transparent;
    padding: .95rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.home-page .input-group input:focus { border-color: transparent; }

.home-page .btn-check {
    border-radius: 10px;
    padding: .9rem 1.35rem;
    background: linear-gradient(105deg, #0ea5e9, var(--primary), var(--violet));
    background-size: 180% auto;
    box-shadow: 0 8px 22px rgba(0,82,204,.24);
    transition: transform .2s, box-shadow .2s, background-position .4s;
}

.home-page .btn-check:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,82,204,.32);
}

.checker-note {
    margin: .8rem 0 0 !important;
    color: #64748b !important;
    font-size: .78rem !important;
    font-weight: 600 !important;
}

.checker-note span { color: var(--accent); }

.home-page .checker-box .checker-note {
    color: #334155 !important;
    font-weight: 700 !important;
}

.home-page .checker-box .checker-note span {
    color: #047857;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 2rem;
    color: #fff;
    animation: heroEntrance .7s .32s ease both;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    min-width: 155px;
    padding: 0 1.4rem;
    border-right: 1px solid rgba(255,255,255,.2);
}

.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { font-size: 1.4rem; color: var(--lime); }
.hero-stats span { color: #cbd5e1; font-size: .78rem; }

.provider-strip {
    padding: 1.3rem 0;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(15,23,42,.04);
}

.provider-strip > p {
    margin-bottom: .8rem;
    text-align: center;
    color: #64748b;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.provider-marquee { overflow: hidden; }
.provider-track {
    display: flex;
    width: max-content;
    animation: providerScroll 24s linear infinite;
}

.provider-track span {
    width: 170px;
    color: #334155;
    font-size: 1.05rem;
    font-weight: 850;
    text-align: center;
    letter-spacing: -.02em;
}

.home-page .section-container { margin-top: 6rem; margin-bottom: 6rem; }
.home-page .section-kicker {
    display: flex;
    justify-content: center;
    color: var(--violet);
    margin-bottom: .65rem;
}

.home-page .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -.04em;
}

.home-page .step-card {
    overflow: hidden;
    padding: 2rem;
    border-radius: 20px;
    border-color: #e7eaf5;
    box-shadow: 0 15px 40px rgba(30,41,59,.07);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.home-page .step-card:hover {
    transform: translateY(-8px);
    border-color: #bfdbfe;
    box-shadow: 0 24px 50px rgba(37,99,235,.14);
}

.home-page .step-number {
    position: absolute;
    right: 1.2rem;
    top: .7rem;
    width: auto;
    height: auto;
    color: #eff6ff;
    background: none;
    font-size: 4.5rem;
}

.step-icon,
.benefit-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1.2rem;
    border-radius: 15px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0ea5e9, var(--violet));
}

.home-page .table-wrapper {
    border: 0;
    border-radius: 20px;
    box-shadow: 0 22px 60px rgba(15,23,42,.1);
}

.home-page tbody tr { transition: background .2s, transform .2s; }
.home-page tbody tr:hover { background: #f5f3ff; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.benefit-card {
    padding: 1.6rem;
    border-radius: 18px;
    background: rgba(255,255,255,.82);
    border: 1px solid #e7eaf5;
    box-shadow: 0 12px 30px rgba(15,23,42,.06);
    transition: transform .25s, border-color .25s;
}

.benefit-card:hover { transform: translateY(-6px) rotate(.3deg); border-color: #c4b5fd; }
.benefit-card:nth-child(2) .benefit-icon { background: linear-gradient(135deg, #10b981, #06b6d4); }
.benefit-card:nth-child(3) .benefit-icon { background: linear-gradient(135deg, #f59e0b, #f43f5e); }
.benefit-card:nth-child(4) .benefit-icon { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.benefit-card h4 { margin-bottom: .45rem; font-size: 1.1rem; }
.benefit-card p { color: var(--text-muted); font-size: .92rem; }

.final-cta {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 2rem !important;
    border-radius: 28px;
    color: #fff;
    text-align: center;
    background: linear-gradient(120deg, #08265b, #4338ca 58%, #6d28d9);
    box-shadow: 0 25px 70px rgba(67,56,202,.25);
}

.final-cta .section-kicker { color: #a5f3fc; }
.final-cta h2 { max-width: 700px; margin: .7rem auto; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.04em; }
.final-cta p { margin-bottom: 1.8rem; color: #dbeafe; }
.final-cta .btn-check { padding: 1rem 1.6rem; background: #fff; color: #312e81; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.final-cta .btn-check:hover { background: #ecfeff; }
.cta-glow { position: absolute; width: 300px; height: 300px; right: -80px; top: -140px; border-radius: 50%; background: rgba(34,211,238,.28); filter: blur(10px); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes heroEntrance {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes softPulse {
    50% { box-shadow: 0 0 0 9px rgba(163,230,53,.06); }
}

@keyframes orbFloat {
    50% { transform: translate3d(20px, -24px, 0) scale(1.06); }
}

@keyframes providerScroll {
    to { transform: translateX(-50%); }
}

/* BASE & RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--site-font-family);
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* TOP COMPLIANCE BAR (Index) */


/* HEADER & NAVIGATION */
header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.nav-container {
    width: 100%;
    max-width: 100%;
    min-height: 72px;
    padding: .55rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo {
    display: inline-flex;
    align-items: center;
    line-height: 1.05;
}

.logo > img {
    display: block;
    width: 330px;
    max-width: calc(100vw - 110px);
    height: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a, 
nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.2s;
    margin-left: 1rem;
}

.nav-links a:hover,
nav a:hover {
    color: var(--primary);
}

/* MOBILE MENU BUTTON (3 bars) — hidden on desktop */
.nav-toggle {
    display: none;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: var(--text-dark);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Bars morph into a close (X) icon while the menu is open */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* MAIN CONTAINER (Packages) */
.main-container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 2rem;
    flex: 1;
    width: 100%;
}

/* HERO SECTION (Index) */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 5rem 1.5rem 6rem 1.5rem;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: #38bdf8;
    margin-bottom: 1.75rem;
}

.hero p {
    font-size: 1.1rem;
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-bottom: 1.25rem;
}

.brand-highlight {
    color: #38bdf8;
    font-weight: 700;
}

.hero-subtext-group {
    margin-bottom: 3.5rem;
}

/* PROVIDER HERO (Packages) */
.provider-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    position: relative;
}

.provider-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.provider-hero p {
    color: #94a3b8;
}

#hero-desc {
    color: #fff;
    font-weight: 700;
}

.location-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* POSTCODE CHECKER */
.checker-box {
    background-color: #ffffff;
    padding: 2.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    color: var(--text-dark);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.input-group {
    display: flex;
    gap: 0.5rem;
}

.input-group input {
    flex: 1;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus {
    border-color: var(--primary);
}

.btn-check {
    background-color: var(--accent);
    color: #ffffff;
    font-weight: 700;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

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

.dropdown-container {
    display: none;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.dropdown-container label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.dropdown-container select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    outline: none;
    background-color: #fff;
}

.status-message {
    display: none;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* GENERAL SECTIONS & CATEGORIES */
.section-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.category-section {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
}

.category-desc {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* STEPS GRID */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--primary);
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* TABLES & BADGES */
.table-wrapper {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

th {
    background-color: #f1f5f9;
    padding: 1.2rem 1rem;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
}

td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

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

.price-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.deal-badge,
.btn-order {
    display: inline-block;
    background-color: var(--primary);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s;
}

.deal-badge:hover,
.btn-order:hover {
    background-color: var(--primary-dark);
}

/* MODALS */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: var(--radius);
    max-width: 650px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
}

.close-modal:hover {
    color: var(--text-dark);
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-content h3 {
    font-size: 1.15rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.modal-content p, 
.modal-content ul {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    line-height: 1.6;
}

.modal-content ul {
    padding-left: 1.25rem;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0f172a;
    color: #f8fafc;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    z-index: 999;
    display: none;
    border-top: 1px solid #1e293b;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 0.9rem;
    color: #cbd5e1;
    flex: 1;
    min-width: 280px;
}

.cookie-text a {
    color: #38bdf8;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-cookie-accept {
    background-color: var(--accent);
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-cookie-accept:hover {
    background-color: var(--accent-hover);
}

.btn-cookie-settings {
    background-color: transparent;
    color: #cbd5e1;
    border: 1px solid #475569;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cookie-settings:hover {
    color: #ffffff;
    border-color: #cbd5e1;
}

/* SIMPLE INNER-PAGE HEADER (Packages) */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    min-height: 72px;
    padding: .55rem 2rem;
}

/* TABLE CELL HELPERS */
.cell-detail {
    max-width: 320px;
    font-size: 0.9rem;
}

/* FOOTER */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 4rem 1.5rem 2rem 1.5rem;
    margin-top: auto;
}

/* SIMPLE CENTERED FOOTER (Packages) */
.footer-simple {
    text-align: center;
    font-size: 0.85rem;
    padding: 2rem 1.5rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h5 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

.footer-col li {
    margin-bottom: 0.6rem;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: underline;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}



.footer-bottom {
    max-width: 1200px;
    margin: 1.5rem auto 0 auto;
    font-size: 0.8rem;
    color: #64748b;
    text-align: center;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .main-container { padding: 0 1.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .provider-hero { padding: 2.25rem; }
}

@media (max-width: 768px) {
    /* Header & navigation */
    .nav-container,
    .site-header {
        min-height: 58px;
        padding: .45rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .logo { font-size: 1.25rem; flex: 1 1 auto; min-width: 0; }

    /* Show the 3-bar button, collapse the links into a drop-down panel */
    .nav-toggle { display: flex; }

    .nav-links,
    .site-header nav {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 0.5rem;
        padding-top: 0.25rem;
        border-top: 1px solid var(--border);
    }

    .nav-links.is-open,
    .site-header nav.is-open { display: flex; }

    .nav-links li { width: 100%; }

    .nav-links a,
    .site-header nav a {
        display: block;
        width: 100%;
        margin-left: 0;
        padding: 0.85rem 0.25rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child a,
    .site-header nav a:last-child { border-bottom: none; }


    /* Hero & postcode checker */
    .hero { padding: 3rem 1rem 3.5rem 1rem; }
    .hero h1 { font-size: 1.9rem; margin-bottom: 1.25rem; }
    .hero p { font-size: 1rem; }
    .hero-subtext-group { margin-bottom: 2rem; }

    .checker-box { padding: 1.5rem 1.25rem; }
    .input-group { flex-direction: column; }
    .btn-check { width: 100%; }

    /* Sections */
    .main-container { margin: 2rem auto; padding: 0 1rem; }
    .section-container { margin: 2.5rem auto; padding: 0 1rem; }
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.95rem; margin-bottom: 2rem; }

    .category-section { margin-bottom: 2.5rem; }
    .category-title { font-size: 1.3rem; }

    .provider-hero {
        padding: 1.75rem 1.25rem;
        border-radius: 12px;
        margin-bottom: 2rem;
    }
    .provider-hero h1 { font-size: 1.5rem; }

    .steps-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .step-card { padding: 1.5rem; }

    /* Modals */
    .modal-content {
        margin: 1rem;
        padding: 1.75rem 1.25rem;
        max-width: none;
        width: auto;
    }
    .close-modal { top: 0.75rem; right: 1rem; }

    /* Footer */
    footer { padding: 2.5rem 1rem 1.5rem 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }

    /* Cookie banner */
    .cookie-banner { padding: 1rem; }
    .cookie-container { flex-direction: column; align-items: stretch; gap: 1rem; }
    .cookie-text { min-width: 0; }
    .cookie-actions { width: 100%; }
    .cookie-actions button { flex: 1; }
}

/* Homepage responsive refinements */
@media (max-width: 900px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .home-page .hero {
        min-height: auto;
        padding: 2rem 1rem 2.75rem;
    }

    .home-page .hero h1 {
        font-size: clamp(2.25rem, 11vw, 3.4rem);
    }

    .home-page .checker-box { padding: 1.2rem; border-radius: 18px; }
    .home-page .input-group { flex-direction: column; }
    .home-page .input-group .btn-check { width: 100%; }
    .checker-note { line-height: 1.8 !important; }
    .hero-stats div { min-width: 0; flex: 1; padding: 0 .65rem; }
    .hero-stats strong { font-size: 1.15rem; }
    .hero-stats span { font-size: .67rem; }
    .provider-track span { width: 130px; }
    .home-page .section-container { margin-top: 4.5rem; margin-bottom: 4.5rem; }
    .benefits-grid { grid-template-columns: 1fr; }
    .final-cta { margin-left: 1rem !important; margin-right: 1rem !important; padding: 3.5rem 1.25rem !important; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-orb,
    .hero-eyebrow span,
    .provider-track {
        animation: none;
    }

    .hero-eyebrow,
    .home-page .hero h1,
    .home-page .hero-subtext-group,
    .home-page .checker-box,
    .hero-stats,
    .reveal {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }

    html { scroll-behavior: auto; }
}

/* Tables collapse into stacked cards on phones */
@media (max-width: 640px) {
    .table-wrapper {
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        overflow-x: visible;
    }

    .table-wrapper table,
    .table-wrapper thead,
    .table-wrapper tbody,
    .table-wrapper tr,
    .table-wrapper th,
    .table-wrapper td {
        display: block;
        width: 100%;
    }

    /* Column headings are repeated per-cell via data-label instead */
    .table-wrapper thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .table-wrapper tr {
        background: var(--card-bg);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        margin-bottom: 1rem;
        overflow: hidden;
    }

    .table-wrapper tr:last-child { margin-bottom: 0; }

    .table-wrapper td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.7rem 1rem;
        border-bottom: 1px solid var(--border);
        text-align: right;
        max-width: none !important;
    }

    /* Restore dividers inside the final card, then drop only the last cell's */
    .table-wrapper tr:last-child td { border-bottom: 1px solid var(--border); }
    .table-wrapper tr td:last-child { border-bottom: none; }

    .table-wrapper td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        text-align: left;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .table-wrapper td:not([data-label])::before { content: none; }

    /* Action cell becomes a full-width button */
    .table-wrapper td.cell-action {
        display: block;
        text-align: center;
        padding: 0.85rem 1rem 1rem 1rem;
    }

    .table-wrapper td.cell-action::before { content: none; }

    .table-wrapper td.cell-action .btn-order,
    .table-wrapper td.cell-action .deal-badge {
        display: block;
        width: 100%;
    }
}

/* Homepage comparison introduction */
.comparison-home-intro {
    max-width: 760px;
    margin: 1.25rem auto 0;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    background: rgba(7, 21, 47, .34);
    backdrop-filter: blur(10px);
    animation: heroEntrance .65s .2s ease both;
}

.home-page .comparison-home-intro p {
    margin: .25rem 0;
    color: #eaf4ff !important;
    font-size: .88rem;
    font-weight: 500 !important;
}
.comparison-home-intro strong { color: #a5f3fc; }

/* Modern homepage deal cards */
.deal-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; min-width: 0; }
.deal-slider-controls { display: none; justify-content: flex-end; gap: .55rem; margin: -1.5rem 0 1rem; }
.deal-slider-controls button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    color: #312e81;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
    font-size: 1.15rem;
    cursor: pointer;
    transition: transform .2s ease, color .2s ease, border-color .2s ease;
}
.deal-slider-controls button:hover { transform: translateY(-2px); color: #fff; border-color: #4338ca; background: #4338ca; }
.modern-deal-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 1.6rem;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    animation: dealSlideIn .65s backwards;
}
.modern-deal-card,
.modern-deal-card h3,
.modern-deal-card li { overflow-wrap: anywhere; }
.modern-deal-card:nth-child(2) { animation-delay: .1s; }
.modern-deal-card:nth-child(3) { animation-delay: .2s; }
.modern-deal-card:nth-child(4) { animation-delay: .3s; }
.modern-deal-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -75px;
    bottom: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, .22), transparent 68%);
    transition: transform .35s ease;
}
.modern-deal-card:hover { transform: translateY(-10px); border-color: #a5b4fc; box-shadow: 0 28px 60px rgba(67, 56, 202, .16); }
.modern-deal-card:hover::after { transform: scale(1.4); }
.modern-deal-card.featured { border: 2px solid #7c3aed; transform: translateY(-8px); }
.modern-deal-card.featured:hover { transform: translateY(-14px); }
.deal-ribbon {
    position: absolute;
    right: 0;
    top: 0;
    padding: .45rem .85rem;
    border-radius: 0 20px 0 14px;
    color: #fff;
    background: linear-gradient(100deg, #7c3aed, #ec4899);
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.deal-card-top { display: flex; align-items: center; justify-content: flex-start; gap: .75rem; min-width: 0; margin-bottom: 1.2rem; }
.provider-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 112px;
    width: 112px;
    height: 62px;
    overflow: hidden;
    border-radius: 14px;
    padding: .45rem .65rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}
.provider-avatar img { display: block; width: 100% !important; height: 100% !important; max-width: 100%; max-height: 100%; object-fit: contain; }
.provider-avatar-bt,
.provider-avatar-ee {
    flex-basis: 62px;
    width: 62px;
    height: 62px;
    padding: .35rem;
}
.provider-avatar-bt img { width: 48px !important; height: 48px !important; }
.provider-avatar-ee img { width: 29px !important; height: 51px !important; max-width: 29px; max-height: 51px; }
.provider-avatar-vodafone { padding-inline: .35rem; }
.provider-avatar-vodafone img { width: 100px !important; height: auto !important; }
.modern-deal-card h3 { min-height: 2.8rem; margin-bottom: .75rem; font-size: 1.2rem; }
.deal-speed { display: flex; align-items: center; gap: .65rem; padding: .9rem 0; border-top: 1px solid #eef2f7; border-bottom: 1px solid #eef2f7; }
.deal-speed strong { color: #312e81; font-size: 2.6rem; line-height: 1; letter-spacing: -.06em; }
.deal-speed span { color: #64748b; font-size: .72rem; line-height: 1.35; }
.modern-deal-card ul { display: grid; gap: .55rem; margin: 1rem 0 1.2rem; list-style: none; }
.modern-deal-card li { color: #475569; font-size: .86rem; }
.modern-deal-card li::before { content: "✓"; margin-right: .5rem; color: #10b981; font-weight: 900; }
.deal-commercials { margin: 1rem 0 .7rem; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 13px; background: #f8fafc; }
.deal-commercials span { display: block; color: #64748b; font-size: .68rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.deal-commercials strong { display: block; margin-top: .22rem; color: #172554; font-size: .94rem; line-height: 1.25; }
.deal-commercials small { display: block; margin-top: .12rem; color: #64748b; font-size: .68rem; }
.deal-monthly-price { padding: .8rem .85rem; border-bottom: 1px solid #e2e8f0; background: #eef6ff; }
.deal-monthly-price strong { color: #312e81; font-size: 1.25rem; }
.deal-commercial-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.deal-commercial-details > div { min-width: 0; padding: .72rem .75rem; }
.deal-commercial-details > div + div { border-left: 1px solid #e2e8f0; }
.deal-availability { margin: 0 0 1rem; color: #475569; font-size: .78rem; }
.modern-deal-card .deal-action {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 100%;
    min-height: 48px;
    padding: .85rem 1rem;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(105deg, #0ea5e9, #4338ca);
    font-weight: 800;
    font-size: .9rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.modern-deal-card .deal-action:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(67, 56, 202, .25); }
.deal-disclaimer { max-width: 760px; margin: 1.2rem auto 0; color: #64748b; text-align: center; font-size: .76rem; }

@keyframes dealSlideIn {
    from { opacity: 0; transform: translateX(38px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Shared vibrant theme for inner pages */
body:not(.home-page) {
    background:
        radial-gradient(circle at 8% 20%, rgba(34, 211, 238, .08), transparent 24rem),
        radial-gradient(circle at 92% 70%, rgba(124, 58, 237, .08), transparent 26rem),
        #f8fafc;
}
body:not(.home-page) header { background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px); }
body:not(.home-page) .content-hero,
body:not(.home-page) .provider-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255,255,255,.12);
    background: linear-gradient(130deg, #07152f, #123570 57%, #49217c);
    box-shadow: 0 25px 60px rgba(15, 23, 42, .18);
}
body:not(.home-page) .content-hero::before,
body:not(.home-page) .provider-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 300px;
    height: 300px;
    right: -90px;
    top: -130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,211,238,.38), transparent 68%);
    animation: orbFloat 8s ease-in-out infinite;
}
body:not(.home-page) .content-hero h1,
body:not(.home-page) .provider-hero h1 { color: #fff; letter-spacing: -.04em; }
body:not(.home-page) .content-hero .page-eyebrow { color: #a5f3fc; }
body:not(.home-page) .content-card,
body:not(.home-page) .category-section,
body:not(.home-page) .provider-card { border-color: rgba(226, 232, 240, .9); border-radius: 20px; box-shadow: 0 18px 45px rgba(15, 23, 42, .07); }
body:not(.home-page) .content-card h2 { position: relative; padding-left: 1rem; }
body:not(.home-page) .content-card h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: .18em;
    bottom: .18em;
    width: 4px;
    border-radius: 5px;
    background: linear-gradient(#22d3ee, #7c3aed);
}
.link-card,
.contact-details,
.preference-box { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.link-card:hover,
.contact-details:hover,
.preference-box:hover { transform: translateY(-5px); border-color: #a5b4fc; box-shadow: 0 18px 38px rgba(67, 56, 202, .1); }
.page-reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.page-reveal.is-visible { opacity: 1; transform: none; }

/* Provider selection hub */
.providers-page > header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 72px;
    padding: .55rem 2rem;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
}

.providers-page .address-bar {
    position: relative;
    z-index: 2;
    border: 0;
    color: #0c4a6e;
    background: linear-gradient(90deg, #cffafe, #dbeafe, #ede9fe);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.providers-page .main-container {
    width: 100%;
    max-width: 1160px;
    margin-top: 2.5rem;
}

.providers-page .hub-intro {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 2.8rem 2rem;
    border-radius: 24px;
    color: #fff;
    text-align: center;
    background: linear-gradient(130deg, #07152f, #123570 57%, #49217c);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
}

.providers-page .hub-intro::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -100px;
    top: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, .4), transparent 68%);
    animation: orbFloat 8s ease-in-out infinite;
}

.providers-page .hub-intro .page-eyebrow {
    color: #a5f3fc;
}

.providers-page .hub-title {
    position: relative;
    z-index: 1;
    margin: .5rem 0;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.25rem);
    letter-spacing: -.045em;
}

.providers-page .hub-subtitle {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    color: #dbeafe;
    font-size: 1rem;
}

.providers-page .provider-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.providers-page .provider-card {
    min-height: 280px;
    padding: 1.6rem;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 15px 38px rgba(15, 23, 42, .08);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.providers-page .provider-card:hover {
    transform: translateY(-9px);
    border-color: #818cf8;
    box-shadow: 0 25px 55px rgba(67, 56, 202, .16);
}

.providers-page .provider-logo-box {
    height: 68px;
    margin-bottom: 0;
    padding-right: 0;
}

.providers-page .provider-brand-logo {
    display: block;
    width: auto;
    max-width: 155px;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}

.providers-page .provider-brand-bt { width: 54px; }
.providers-page .provider-brand-ee { width: 34px; }
.providers-page .provider-brand-sky { width: 92px; }
.providers-page .provider-brand-vodafone { width: 92px; }
.providers-page .provider-brand-virgin { width: 105px; }

.providers-page .provider-meta {
    color: #475569;
    line-height: 1.65;
}

.providers-page .provider-badge {
    color: #047857;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
}

.providers-page .btn-view-deals {
    position: relative;
    z-index: 1;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(105deg, #0ea5e9, #4338ca);
    box-shadow: 0 8px 20px rgba(67, 56, 202, .18);
}

.providers-page .provider-card:hover .btn-view-deals {
    border-color: transparent;
    background: linear-gradient(105deg, #0284c7, #6d28d9);
}

footer { text-align: left; }
.footer-bottom { text-align: center; }

@media (max-width: 900px) {
    .deal-slider-controls { display: none; }
    .deal-card-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: none;
        margin: 0;
        padding: .75rem 0 1.25rem;
        overflow: visible;
    }
    .modern-deal-card {
        width: 100%;
    }
    .modern-deal-card.featured { transform: none; }
    .modern-deal-card.featured:hover { transform: translateY(-8px); }
    .providers-page .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .logo > img {
        width: 235px;
        max-width: calc(100vw - 88px);
        height: auto;
    }
    .comparison-home-intro { padding: .85rem; }
    .home-page .comparison-home-intro p { font-size: .78rem; }
    .providers-page .main-container { margin-top: 1.5rem; }
    .providers-page .hub-intro { padding: 2.2rem 1.1rem; border-radius: 18px; }
    .deal-card-grid { grid-template-columns: minmax(0, 1fr); }
    .modern-deal-card { animation: none; opacity: 1; transform: none; }
    .providers-page .provider-grid { grid-template-columns: 1fr; }
    .providers-page .provider-card { min-height: 0; }
}

@media (max-width: 768px) {
    .providers-page > header {
        min-height: 58px;
        padding: .45rem 1rem;
    }

    .providers-page > header nav {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: .5rem;
        padding-top: .25rem;
        border-top: 1px solid var(--border);
    }

    .providers-page > header nav.is-open {
        display: flex;
    }

    .providers-page > header nav a {
        display: block;
        width: 100%;
        margin-left: 0;
        padding: .85rem .25rem;
        border-bottom: 1px solid var(--border);
    }
}
@media (prefers-reduced-motion: reduce) {
    .comparison-home-intro,
    .content-hero::before,
    .provider-hero::before,
    .page-reveal,
    .modern-deal-card { animation: none; opacity: 1; transform: none; transition: none; }
}

/* Modern package result cards */
.packages-page .main-container { max-width: 1200px; }
.packages-page .provider-hero { padding: 3.5rem; }
.packages-page .category-section { margin-bottom: 3.5rem; padding: 0; border: 0; background: transparent; box-shadow: none; }
.packages-page .category-title {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .55rem;
    padding: 0;
    border: 0;
    font-size: clamp(1.45rem, 3vw, 2rem);
    letter-spacing: -.035em;
}
.packages-page .category-title::before {
    content: "";
    width: 10px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(#22d3ee, #7c3aed);
    box-shadow: 0 0 18px rgba(34, 211, 238, .35);
}
.packages-page .category-desc { max-width: 780px; margin-bottom: 1.5rem; }
.packages-page .table-wrapper { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.packages-page table,
.packages-page tbody { display: block; width: 100%; }
.packages-page thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.packages-page tbody {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}
.packages-page tbody tr {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 390px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.packages-page tbody tr::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 180px;
    height: 180px;
    right: -100px;
    top: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, .2), transparent 68%);
    transition: transform .35s ease;
}
.packages-page tbody tr:hover { transform: translateY(-9px); border-color: #a5b4fc; box-shadow: 0 26px 58px rgba(67, 56, 202, .16); }
.packages-page tbody tr:hover::after { transform: scale(1.35); }
.packages-page tbody td {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.75rem;
    border-bottom: 1px solid #eef2f7;
    color: #334155;
    text-align: right;
}
.packages-page tbody td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: #64748b;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-align: left;
    text-transform: uppercase;
}
.packages-page tbody td:first-child { display: block; min-height: 116px; padding: 1.8rem 1.75rem 1.35rem; color: #0f172a; text-align: left; }
.packages-page tbody td:first-child::before { display: block; margin-bottom: .35rem; color: #4f46e5; }
.packages-page tbody td:first-child strong { font-size: 1.12rem; line-height: 1.3; }
.packages-page .price-text { color: #312e81; font-size: 1.45rem; letter-spacing: -.035em; }
.packages-page .cell-detail { max-width: none; align-items: flex-start; font-size: .82rem; line-height: 1.5; }
.packages-page td.cell-action { display: block; margin-top: auto; padding: 1.4rem 1.75rem 1.75rem; border: 0; }
.packages-page td.cell-action::before { display: none; }
.packages-page .btn-order {
    display: block;
    width: 100%;
    padding: .85rem 1rem;
    border-radius: 11px;
    background: linear-gradient(105deg, #0ea5e9, #4338ca);
    box-shadow: 0 9px 22px rgba(67, 56, 202, .2);
    transition: transform .2s ease, box-shadow .2s ease;
}
.packages-page .btn-order:hover { transform: translateY(-2px); background: linear-gradient(105deg, #0284c7, #6d28d9); box-shadow: 0 13px 28px rgba(67, 56, 202, .3); }

@media (max-width: 980px) {
    .packages-page tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .packages-page .provider-hero { padding: 2rem 1.25rem; }
    .packages-page tbody { grid-template-columns: 1fr; }
    .packages-page tbody tr { min-height: 0; }
}

/* Global one-time retention prompt */
.retention-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 1rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
}
.retention-modal.is-open { visibility: visible; opacity: 1; }
.retention-backdrop { position: absolute; inset: 0; background: rgba(2, 8, 23, .76); backdrop-filter: blur(8px); }
.retention-dialog {
    position: relative;
    overflow: hidden;
    width: min(560px, 100%);
    padding: 2.3rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 26px;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #07152f, #123570 58%, #49217c);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
    transform: translateY(24px) scale(.97);
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.retention-dialog::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -110px;
    top: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,211,238,.45), transparent 68%);
}
.retention-modal.is-open .retention-dialog { transform: none; }
.retention-close {
    position: absolute;
    z-index: 2;
    right: 1rem;
    top: .8rem;
    border: 0;
    color: #cbd5e1;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
}
.retention-kicker { position: relative; color: #a5f3fc; font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.retention-dialog h2 { position: relative; max-width: 470px; margin: .65rem auto .75rem; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.08; letter-spacing: -.04em; }
.retention-dialog > p { color: #dbeafe; }
.retention-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.4rem 0; }
.retention-brands span {
    padding: .42rem .7rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #e0f2fe;
    background: rgba(255,255,255,.08);
    font-size: .75rem;
    font-weight: 800;
}
.retention-primary {
    display: block;
    width: 100%;
    padding: .95rem 1.2rem;
    border-radius: 12px;
    color: #172554;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}
.retention-primary:hover { transform: translateY(-2px); background: #ecfeff; }
.retention-secondary { margin-top: .85rem; border: 0; color: #bfdbfe; background: transparent; text-decoration: underline; cursor: pointer; }

@media (max-width: 640px) {
    .retention-dialog { padding: 2rem 1.2rem 1.5rem; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .packages-page tbody tr,
    .retention-modal,
    .retention-dialog { transition: none; }
}

/* STANDALONE CONTENT PAGES */
.content-page{width:100%;max-width:980px;margin:0 auto;padding:3rem 1.5rem 5rem;flex:1}.content-hero{padding:3rem;border-radius:18px;background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);color:#fff;margin-bottom:2rem}.content-hero h1{font-size:clamp(2rem,5vw,3rem);line-height:1.15;color:#38bdf8;margin:.5rem 0 1rem}.content-hero p{max-width:760px;color:#e2e8f0;font-size:1.08rem}.page-eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.12em;font-size:.76rem;font-weight:800;color:#a7f3d0}.content-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:clamp(1.4rem,4vw,3rem);box-shadow:var(--shadow)}.content-card h2{font-size:1.45rem;margin:2rem 0 .65rem;color:var(--text-dark)}.content-card h2:first-child{margin-top:0}.content-card p,.content-card li{color:var(--text-muted);font-size:1rem}.content-card p{margin-bottom:1rem}.content-card ul{padding-left:1.4rem;margin:0 0 1.25rem}.content-card a:not(.btn-order){color:var(--primary);text-decoration:underline}.link-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin:1.5rem 0 2rem}.link-card{display:flex;flex-direction:column;gap:.35rem;padding:1.25rem;border:1px solid var(--border);border-radius:10px;text-decoration:none!important;background:var(--bg-light)}.link-card strong{color:var(--primary);font-size:1.1rem}.link-card span{color:var(--text-muted)}.contact-details,.preference-box{background:var(--bg-light);border:1px solid var(--border);border-radius:10px;padding:1.4rem;margin:1.25rem 0 2rem}.contact-details a{font-size:1.08rem}.preference-box{display:grid;gap:1rem}.preference-box label{display:flex;gap:.65rem;align-items:center}.preference-box .btn-order{border:0;width:max-content}.preference-message{font-weight:700;color:#047857!important;margin:0!important}@media(max-width:768px){.content-page{padding:1.5rem 1rem 3rem}.content-hero{padding:2rem 1.25rem;border-radius:12px}.content-card{border-radius:10px}.content-hero p{font-size:1rem}}

/* LOCAL BROADBAND GUIDES */
.area-links-section{padding-top:1rem}.area-link-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.9rem;margin-top:2rem}.area-link-card{display:flex;min-height:180px;flex-direction:column;justify-content:flex-end;gap:.45rem;padding:1.35rem;border:1px solid #dbe5f2;border-radius:18px;color:#0f172a;background:linear-gradient(150deg,#fff 35%,#eef7ff);box-shadow:0 12px 30px rgba(15,23,42,.07);text-decoration:none;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.area-link-card:hover{border-color:#60a5fa;box-shadow:0 18px 34px rgba(37,99,235,.13);transform:translateY(-4px)}.area-link-card>span{color:#2563eb;font-size:.7rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.area-link-card strong{font-size:1.08rem;line-height:1.25}.area-link-card small{color:#64748b;line-height:1.45}
.area-guide-page{color:#172033;background:#f5f8fc}.area-guide-shell{width:min(1180px,calc(100% - 2rem));margin:0 auto;padding:1.25rem 0 5rem}.area-breadcrumbs{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center;padding:.35rem .15rem 1.2rem;color:#64748b;font-size:.82rem}.area-breadcrumbs a{color:#1d4ed8;font-weight:750;text-decoration:none}.area-hero{position:relative;overflow:hidden;padding:clamp(2.2rem,6vw,5rem);border-radius:28px;color:#fff;background:radial-gradient(circle at 87% 12%,rgba(45,212,191,.3),transparent 28%),linear-gradient(130deg,#081b3b 0%,#103d7a 58%,#3b1d72 100%);box-shadow:0 28px 65px rgba(15,23,42,.18)}.area-hero:after{content:"";position:absolute;right:-80px;bottom:-110px;width:290px;height:290px;border:1px solid rgba(255,255,255,.16);border-radius:50%;box-shadow:0 0 0 42px rgba(255,255,255,.035),0 0 0 84px rgba(255,255,255,.025)}.area-hero>*{position:relative;z-index:1}.area-hero .page-eyebrow{color:#99f6e4}.area-hero h1{max-width:850px;margin:.8rem 0 1rem;color:#fff;font-size:clamp(2.25rem,5vw,4rem);line-height:1.05;letter-spacing:-.045em}.area-hero p{max-width:780px;color:#dbeafe;font-size:1.08rem;line-height:1.75}.area-primary-action{display:inline-flex;gap:.65rem;align-items:center;justify-content:center;margin-top:1.3rem;padding:.92rem 1.25rem;border-radius:12px;color:#102a56;background:#fff;box-shadow:0 12px 28px rgba(0,0,0,.2);font-weight:900;text-decoration:none;transition:transform .2s ease}.area-primary-action:hover{color:#1d4ed8;transform:translateY(-2px)}
.area-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:1.5rem;align-items:start;margin-top:1.5rem}.area-article,.area-sidebar-card{border:1px solid #dfe7f1;border-radius:22px;background:#fff;box-shadow:0 12px 35px rgba(15,23,42,.055)}.area-article{padding:clamp(1.4rem,4vw,3.4rem)}.area-article>section+section{margin-top:3.2rem}.area-article h2{margin:0 0 1rem;color:#102a56;font-size:clamp(1.45rem,3vw,2rem);line-height:1.22;letter-spacing:-.025em}.area-article p{margin:0 0 1.05rem;color:#526077;font-size:1rem;line-height:1.82}.area-introduction{padding:0 0 1.25rem 1.4rem;border-left:4px solid #2dd4bf}.area-introduction p{color:#26364f;font-size:1.08rem}.area-section-label{display:block;margin-bottom:.5rem;color:#0f766e;font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.area-checklist{padding:clamp(1.25rem,3vw,2rem);border:1px solid #bae6fd;border-radius:18px;background:#f0f9ff}.area-checklist ul{display:grid;gap:.75rem;margin:1.2rem 0 0;padding:0;list-style:none}.area-checklist li{position:relative;padding-left:1.7rem;color:#34445d;line-height:1.55}.area-checklist li:before{content:"✓";position:absolute;left:0;color:#0f766e;font-weight:950}.area-faq-list{display:grid;gap:.75rem}.area-faq-list details{overflow:hidden;border:1px solid #dfe7f1;border-radius:13px;background:#fafcff}.area-faq-list summary{position:relative;padding:1.05rem 3rem 1.05rem 1.15rem;color:#172b4d;font-weight:850;line-height:1.4;cursor:pointer;list-style:none}.area-faq-list summary::-webkit-details-marker{display:none}.area-faq-list summary:after{content:"+";position:absolute;top:.92rem;right:1.15rem;color:#2563eb;font-size:1.3rem}.area-faq-list details[open] summary:after{content:"−"}.area-faq-list details p{padding:0 1.15rem 1.1rem;margin:0}.area-final-cta{padding:clamp(1.4rem,4vw,2.4rem);border-radius:18px;color:#fff;background:linear-gradient(125deg,#0f766e,#155e75)}.area-final-cta h2,.area-final-cta p{color:#fff}.area-sidebar{position:sticky;top:1rem;display:grid;gap:1rem}.area-sidebar-card{padding:1.35rem}.area-sidebar-card h2{margin:0 0 .65rem;color:#172b4d;font-size:1.05rem}.area-sidebar-card p{margin:0 0 .8rem;color:#64748b;font-size:.87rem;line-height:1.6}.area-sidebar-card a{color:#1d4ed8;font-weight:750;text-decoration:none}.area-sidebar-card ul{display:grid;gap:.7rem;margin:.8rem 0 0;padding:0;list-style:none}
@media(max-width:1100px){.area-link-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:840px){.area-article-layout{grid-template-columns:1fr}.area-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.area-link-grid{grid-template-columns:1fr}.area-link-card{min-height:135px}.area-guide-shell{width:min(100% - 1rem,1180px);padding-top:.8rem}.area-hero{padding:2rem 1.25rem;border-radius:18px}.area-hero h1{font-size:2.1rem}.area-hero p{font-size:.98rem}.area-primary-action{width:100%}.area-article{padding:1.35rem 1.1rem;border-radius:16px}.area-article>section+section{margin-top:2.4rem}.area-introduction{padding-left:1rem}.area-sidebar{grid-template-columns:1fr}}

/* Shared product navigation, including editorial and comparison pages. */
.site-navigation{background:#fff}
.site-navigation-top{width:min(1440px,100%);min-height:76px;padding:12px 28px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-navigation-top .logo{display:block;flex:0 1 auto}.site-navigation-top .logo img{width:300px;max-width:calc(100vw - 100px)}
.site-navigation-utility{display:flex;gap:24px}.site-navigation-utility a{font-size:.9rem;font-weight:650;color:var(--text-muted);text-decoration:none}.site-navigation-utility a:hover{color:var(--primary)}
.site-product-nav{border-top:1px solid #edf2f7;background:#fff}
.site-navigation .nav-links{max-width:1440px;margin:0 auto;padding:0 24px;display:flex;align-items:stretch;justify-content:space-between;gap:12px;list-style:none}
.site-navigation .nav-links>li{position:relative;display:flex;align-items:stretch;min-width:0}
.site-navigation .nav-links a,.site-navigation .nav-links summary{display:block;margin:0;padding:15px 4px;color:#193655;font:650 .9rem/1.4 var(--site-font-family);text-decoration:none;white-space:nowrap;cursor:pointer;border:0}
.site-navigation .nav-links a:hover,.site-navigation .nav-links summary:hover{color:var(--primary)}
.site-navigation .nav-links a:focus-visible,.site-navigation .nav-links summary:focus-visible{outline:3px solid #93c5fd;outline-offset:-3px;border-radius:6px}
.nav-dropdown{position:relative}.nav-dropdown summary{list-style:none}.nav-dropdown summary::-webkit-details-marker{display:none}.nav-dropdown summary::after{content:'⌄';margin-left:8px;font-size:.8rem;color:#64748b}.nav-dropdown[open] summary{color:var(--primary)}
.nav-dropdown-links{position:absolute;top:100%;left:-12px;z-index:110;min-width:240px;padding:8px;border:1px solid #dce5f1;border-radius:0 0 14px 14px;background:#fff;box-shadow:0 16px 32px #0f2b5020}
.site-navigation .nav-dropdown-links a{padding:11px 12px;font-weight:500;border-radius:7px;white-space:normal}.site-navigation .nav-dropdown-links a:hover{background:#eff6ff}
.site-navigation .mobile-utility{display:none!important}
.home-page .hero{scroll-margin-top:142px}
@media(max-width:1000px){
 .site-navigation-top{min-height:64px;padding:10px 16px;gap:12px}.site-navigation-top .logo img{width:280px}.site-navigation-utility{display:none}.site-navigation .nav-toggle{display:flex}
 .site-product-nav{border:0}.site-navigation .nav-links{display:none;max-height:calc(100dvh - 80px);overflow-y:auto;flex-direction:column;gap:0;padding:0 16px 16px;margin:0;width:100%}
 .site-navigation .nav-links.is-open{display:flex}.site-navigation .nav-links>li{display:block;width:100%;border-top:1px solid #e8eef5}
 .site-navigation .nav-links a,.site-navigation .nav-links summary{padding:14px 8px;font-size:1rem;white-space:normal}
 .nav-dropdown summary::after{float:right}.nav-dropdown-links{position:static;min-width:0;border:0;border-radius:10px;box-shadow:none;background:#f8fafc;margin-bottom:10px}
 .site-navigation .nav-dropdown-links a{font-size:.92rem;padding:12px 16px}.site-navigation .mobile-utility{display:flex!important;gap:24px}.site-navigation .mobile-utility a{width:auto}
 .home-page .hero{scroll-margin-top:78px}
}
