/* ─────────────────────────────────────────────────────────────
   Tech5 home fibre network pages
   The first half mirrors the homepage (index.html) so the header,
   footer, buttons, FAQ, cable trail and dark mode look identical.
   The second half is the page's own components (fh-*, pkg-*).
   All colours that change in dark mode go through the theme vars.
───────────────────────────────────────────────────────────── */

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body { font-family: 'Inter', sans-serif; background: #fff; position: relative; overflow-x: hidden; max-width: 100%; }
/* clip (where supported) also stops focus/scrollIntoView nudging the page sideways */
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #d82633; border-radius: 3px; }

/* ─── Buttons ─── */
.btn-red {
    background: linear-gradient(135deg, #d82633 0%, #99151c 100%);
    box-shadow: 0 8px 24px rgba(216,38,51,0.35);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(216,38,51,0.5); }
.btn-outline {
    border: 2px solid rgba(255,255,255,0.35);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: #d82633; background: rgba(216,38,51,0.12); transform: translateY(-2px); }


/* ─── Shared bits ─── */
.glass {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.10);
}
.icon-light { background: linear-gradient(135deg, #d82633 0%, #99151c 100%); }
.slide-eyebrow {
    display: inline-block;
    color: #d82633; font-size: 13.5px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    margin-bottom: 18px;
}
.slide-h1 {
    color: #fff; font-weight: 900; line-height: 1.04;
    font-size: clamp(38px, 5.8vw, 72px);
    margin-bottom: 18px;
}
.slide-sub {
    color: rgba(255,255,255,0.62);
    font-size: 18px; line-height: 1.65;
    max-width: 560px; margin-bottom: 30px;
}
@keyframes cov-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

/* ─── Service-style cards (red hover) ─── */
.service-card {
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative; overflow: hidden;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(216,38,51,0.28);
    border-color: transparent;
    background: linear-gradient(140deg, #d82633 0%, #99151c 100%);
}
.svc-icon i, .svc-icon svg { color: #fff !important; }
.service-card:hover .svc-icon { background: #fff; }
.service-card:hover .svc-icon i,
.service-card:hover .svc-icon svg { color: #d82633 !important; }
.service-card:hover h3 { color: #fff !important; }
.service-card:hover p { color: rgba(255,255,255,0.85) !important; }
.service-card:hover .svc-btn { background: #fff; border-color: #fff; color: #d82633; }
.svc-btn {
    display: inline-flex; align-items: center; gap: 5px;
    background: transparent; color: #d82633;
    font-size: 12.5px; font-weight: 700; padding: 6px 13px;
    border-radius: 7px; text-decoration: none; white-space: nowrap;
    border: 1.5px solid rgba(216,38,51,0.28);
    transition: all 0.2s ease; letter-spacing: 0.01em;
    cursor: pointer; font-family: inherit;
}
.svc-btn:hover { background: #d82633; border-color: #d82633; color: #fff; }

/* ─── FAQ (same as homepage) ─── */
.faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-body > div { overflow: hidden; min-height: 0; }
.faq-body.open { grid-template-rows: 1fr; }
.faq-chevron { transition: transform 0.3s ease, color 0.25s ease; flex-shrink: 0; margin-top: 2px; }
.faq-chevron.rotated { transform: rotate(180deg); }
.faq-item {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.22s ease, background 0.3s ease, border-color 0.3s ease;
}
.faq-item:hover:not(.faq-active) { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.faq-icon {
    width: 34px; height: 34px; border-radius: 50%;
    border: 2px solid #d82633;
    position: relative; flex-shrink: 0;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.faq-icon::before, .faq-icon::after {
    content: ''; position: absolute;
    top: 50%; left: 50%;
    background: #d82633; border-radius: 1px;
    transition: background 0.25s ease, opacity 0.28s ease, transform 0.28s ease;
}
.faq-icon::before { width: 13px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 2px; height: 13px; transform: translate(-50%, -50%); }
.faq-toggle { width: 100%; background: none; border: 0; text-align: left; font: inherit; }
.faq-question {
    font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
    color: #0f172a; line-height: 1.4;
    transition: color 0.25s ease;
}
.faq-answer { color: #64748b; transition: color 0.25s ease; }
.faq-item.faq-active { background: linear-gradient(135deg, #d82633 0%, #99151c 100%); border-color: transparent; }
.faq-item.faq-active .faq-icon { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.15); }
.faq-item.faq-active .faq-icon::before { background: #fff; }
.faq-item.faq-active .faq-icon::after  { background: #fff; opacity: 0; transform: translate(-50%, -50%) scaleY(0); }
.faq-item.faq-active .faq-question     { color: #fff; }
.faq-item.faq-active .faq-answer       { color: rgba(255,255,255,0.82); }
.faq-item.faq-active .faq-answer a     { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.55); text-underline-offset: 3px; }
.faq-item.faq-active .faq-answer a:hover { text-decoration-color: #fff; }
.faq-item.faq-active .faq-chevron      { color: rgba(255,255,255,0.65) !important; }

/* ─── Scroll reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s cubic-bezier(0.4,0,0.2,1), transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.10s; }
.reveal.d2 { transition-delay: 0.20s; }
.reveal.d3 { transition-delay: 0.30s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── Fibre cable trail (sections sit above it) ─── */
#fibre-wrap {
    position: absolute; top: 0; left: 0; right: 0;
    pointer-events: none; z-index: 1;
    overflow: hidden;
}
#fibre-svg { width: 100%; height: 100%; overflow: visible; }
section, footer { position: relative; z-index: 2; }
#site-header { z-index: 50 !important; }

/* ─── Theme system (same tokens as the homepage) ─── */
:root {
    --bg:          #ffffff;
    --bg-alt:      #f5f5f5;
    --bg-card:     #ffffff;
    --tx-1:        #111111;
    --tx-2:        #555555;
    --tx-3:        #999999;
    --bd:          #f0f0f0;
    --bd-md:       #e8e8e8;
    --hd-bg:       #ffffff;
    --hd-bd:       #efefef;
    --hd-tx:       #444444;
    --hd-muted:    #999999;
    --brand:       #d82633;
    --brand-dark:  #99151c;
    --t:           0.28s ease;
}
[data-theme="dark"] {
    --bg:          #0d0e11;
    --bg-alt:      #141519;
    --bg-card:     #1e1f28;
    --tx-1:        #e3e4e9;
    --tx-2:        #9096a5;
    --tx-3:        #434551;
    --bd:          #252637;
    --bd-md:       #323447;
    --hd-bg:       #0d0e11;
    --hd-bd:       #1a1b21;
    --hd-tx:       #e3e4e9;
    --hd-muted:    #434551;
}
body, #top-bar, #main-nav, #mobile-menu,
.service-card, .faq-item, .header-dd,
.pkg-card, .inc-tile, .step-card, .care-card, .fh-table-wrap {
    transition: background-color var(--t), border-color var(--t), color var(--t);
}

[data-theme="dark"] body            { background: var(--bg); color: var(--tx-1); }

[data-theme="dark"] .section-hd h2 { color: var(--tx-1) !important; }
[data-theme="dark"] .section-hd p  { color: var(--tx-2) !important; }
[data-theme="dark"] .section-hd .inline-block { background: rgba(216,38,51,0.15) !important; }
[data-theme="dark"] .fh-alt { background-color: var(--bg-alt) !important; }

[data-theme="dark"] .service-card { background: var(--bg-card) !important; border-color: var(--bd) !important; box-shadow: none !important; }
[data-theme="dark"] .service-card:hover { border-color: rgba(216,38,51,0.15) !important; box-shadow: none !important; background: linear-gradient(140deg, #d82633 0%, #99151c 100%) !important; }
[data-theme="dark"] .service-card h3 { color: var(--tx-1) !important; }
[data-theme="dark"] .service-card p  { color: var(--tx-2) !important; }
[data-theme="dark"] .service-card:hover h3 { color: #fff !important; }
[data-theme="dark"] .service-card:hover p  { color: rgba(255,255,255,0.85) !important; }
[data-theme="dark"] .svc-btn { border-color: rgba(216,38,51,0.35); color: #d82633; }
[data-theme="dark"] .svc-btn:hover,
[data-theme="dark"] .service-card:hover .svc-btn { background: #fff; border-color: #fff; color: #d82633; }

[data-theme="dark"] .faq-item:not(.faq-active) { background: var(--bg-card) !important; border-color: var(--bd) !important; }
[data-theme="dark"] .faq-item:not(.faq-active):hover { box-shadow: none !important; border-color: var(--bd-md) !important; }
[data-theme="dark"] .faq-item:not(.faq-active) .faq-question { color: var(--tx-1) !important; }
[data-theme="dark"] .faq-item:not(.faq-active) .faq-answer   { color: var(--tx-2) !important; }
[data-theme="dark"] .faq-item:not(.faq-active) .faq-chevron  { color: var(--tx-3) !important; }
[data-theme="dark"] .faq-item.faq-active { box-shadow: none !important; }
[data-theme="dark"] #faq h2 { color: var(--tx-1) !important; }
[data-theme="dark"] #faq .faq-heading p { color: var(--tx-2) !important; }

[data-theme="dark"] #why-choose > div:first-child,
[data-theme="dark"] #why-choose > div:nth-child(2) { opacity: 0.12 !important; }
[data-theme="dark"] #why-choose h3 { color: var(--tx-1) !important; }
[data-theme="dark"] #why-choose p  { color: var(--tx-2) !important; }
[data-theme="dark"] .why-feature-icon { background: rgba(255,255,255,0.06) !important; }

[data-theme="dark"] .btn-red, [data-theme="dark"] .btn-red:hover { box-shadow: none !important; }


/* ─── Preloader ─── */
#preloader {
    position: fixed; inset: 0; z-index: 99999;
    background: #f5f5f5;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 28px;
    transition: opacity 0.45s ease;
}
#preloader.pl-done { opacity: 0; pointer-events: none; }
#preloader-logo { height: 48px; width: auto; opacity: 0; animation: pl-in 0.4s ease 0.1s forwards; }
#pl-bar { width: 140px; height: 2px; background: rgba(0,0,0,0.08); border-radius: 2px; overflow: hidden; opacity: 0; animation: pl-in 0.4s ease 0.2s forwards; }
#pl-bar-fill { height: 100%; background: #d82633; border-radius: 2px; animation: pl-fill 1.8s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes pl-in  { to { opacity: 1; } }
@keyframes pl-fill { 0%{width:0%} 40%{width:55%} 75%{width:80%} 100%{width:100%} }


.t5-input:focus { outline: none; border-color: #d82633; box-shadow: 0 0 0 4px rgba(216,38,51,0.12); }


/* ═════════════════════════════════════════════════════════════
   HOME FIBRE NETWORK PAGE COMPONENTS
═════════════════════════════════════════════════════════════ */

/* Closing CTA: keep "available at your home?" on one line where it fits (wraps on phones) */
@media (min-width: 640px) { .cta-oneline { white-space: nowrap; } }

/* ─── Hero ─── */
#fh-hero { background: #0a0a0a; overflow: hidden; padding: 56px 0 88px; }
.fh-hero-bg { position: absolute; inset: 0; z-index: 0; }
.fh-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
/* Animated fibre light (assets/ftth-hero.js): the script maps the light onto the photo
   assuming object-fit: cover + centred, so the photo must stay centred here. */
.fh-hero-bg[data-ftth] img { object-position: center; }
.fh-hero-light { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fh-hero-shade { position: absolute; inset: 0; background: linear-gradient(108deg, rgba(10,10,10,0.97) 0%, rgba(10,10,10,0.90) 42%, rgba(10,10,10,0.55) 72%, rgba(10,10,10,0.35) 100%); }
.fh-hero-glow { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: radial-gradient(ellipse at 75% 100%, rgba(216,38,51,0.30) 0%, transparent 62%); }
@media (max-width: 1023px) { #fh-hero { padding: 40px 0 64px; } }

.fh-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0 0 40px; font-size: 12.5px; font-weight: 600; }
.fh-crumbs li { color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 6px; }
.fh-crumbs li + li::before { content: '/'; color: rgba(255,255,255,0.28); }
.fh-crumbs a { color: rgba(255,255,255,0.50); transition: color 0.2s ease; }
.fh-crumbs a:hover { color: #fff; }

.fh-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 16px; }
.fh-pill span { color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; }

/* Network card on the right of the hero */
.fh-net-card { border-radius: 28px; padding: 22px; background: rgba(255,255,255,0.07); }
.fh-net-logo { border-radius: 18px; overflow: hidden; aspect-ratio: 2 / 1; background: #1a1a1a; display: flex; align-items: center; justify-content: center; }
.fh-net-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fh-net-logo span { color: #fff; font-weight: 900; font-size: 30px; letter-spacing: -0.01em; text-align: center; padding: 16px; }
.fh-net-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 20px; }
.fh-net-label { color: rgba(255,255,255,0.50); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.fh-net-from { color: #fff; font-weight: 900; font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.fh-net-from small { color: rgba(255,255,255,0.45); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.fh-net-max { text-align: right; }
.fh-net-max strong { display: block; color: #d82633; font-size: 22px; font-weight: 900; line-height: 1.1; }
.fh-net-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.10); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.60); }
.fh-net-foot a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.fh-net-foot a:hover { color: #d82633; }

/* ─── Price toolbar: speed filter + cards/table switch ─── */
.pkg-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
@media (max-width: 767px) { .pkg-toolbar { flex-direction: column; align-items: stretch; } .pkg-toolbar .pkg-tabs { justify-content: center; } .view-toggle { align-self: center; } }
.view-toggle { display: inline-flex; background: #fff; border: 2px solid #e2e8f0; border-radius: 999px; padding: 3px; gap: 2px; flex-shrink: 0; }
.view-toggle button { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13px; font-weight: 600; color: #64748b; background: transparent; border: 0; border-radius: 999px; padding: 7px 16px; cursor: pointer; transition: background .2s, color .2s; }
.view-toggle button svg { width: 15px; height: 15px; }
.view-toggle button:hover { color: #d82633; }
.view-toggle button[aria-pressed="true"] { background: #111; color: #fff; }
[data-theme="dark"] .view-toggle { background: var(--bg-card); border-color: var(--bd-md); }
[data-theme="dark"] .view-toggle button { color: var(--tx-2); }
[data-theme="dark"] .view-toggle button[aria-pressed="true"] { background: #d82633; color: #fff; }

/* One view at a time; both stay in the HTML */
.pkg-views[data-view="cards"] .fh-table-wrap { display: none; }
.pkg-views[data-view="table"] .pkg-grid { display: none; }
.fh-table tr.is-hidden { display: none !important; }

/* ─── Price filter tabs (homepage .ptab look) ─── */
.pkg-tabs { display: flex; gap: 10px; justify-content: flex-start; flex-wrap: wrap; }
.ptab { font-family: 'Poppins', 'Inter', sans-serif; font-size: 13px; font-weight: 600; padding: 10px 22px; border-radius: 999px; border: 2px solid #e2e8f0; color: #64748b; background: #fff; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.ptab:hover { border-color: #d82633; color: #d82633; }
.ptab.ptab-on { background: #d82633; border-color: #d82633; color: #fff; }
.ptab .ptab-count { opacity: 0.6; font-weight: 500; margin-left: 4px; }
[data-theme="dark"] .ptab { background: var(--bg-card); border-color: var(--bd-md); color: var(--tx-2); }
[data-theme="dark"] .ptab:hover { border-color: var(--brand); color: var(--brand); }
[data-theme="dark"] .ptab.ptab-on { background: #d82633; border-color: #d82633; color: #fff; }

/* ─── Product switch (networks with more than one product, e.g. MetroFibre Nova / Nexus) ─── */
.pkg-products { display: flex; justify-content: flex-start; margin-bottom: 22px; }
.pkg-products .seg { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border-radius: 16px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 6px 20px -10px rgba(15,23,42,0.18); }
.pkg-products .seg-label { padding: 0 10px 0 10px; color: #94a3b8; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; }
.pkg-products .seg button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 0; border-radius: 12px; background: transparent; color: #475569; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.pkg-products .seg button:hover { color: #d82633; }
.pkg-products .seg button[aria-pressed="true"] { background: #d82633; color: #fff; box-shadow: 0 6px 16px -6px rgba(216,38,51,0.6); }
.pkg-products .seg-count { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(15,23,42,0.07); font-size: 11.5px; font-weight: 700; }
.pkg-products .seg button[aria-pressed="true"] .seg-count { background: rgba(255,255,255,0.22); }
[data-theme="dark"] .pkg-products .seg { background: var(--bg-card); border-color: var(--bd-md); box-shadow: none; }
[data-theme="dark"] .pkg-products .seg button { color: var(--tx-2); }
[data-theme="dark"] .pkg-products .seg-count { background: rgba(255,255,255,0.08); }
.pkg-card.is-off, .fh-table tr.is-off { display: none !important; }

/* Terms under the prices: month-to-month notice, early-cancellation fee, router */
.pkg-terms { display: flex; align-items: flex-start; gap: 10px; max-width: 860px; margin: 22px 0 0; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid #e8e8e8; color: #4b5563; font-size: 13.5px; line-height: 1.6; }
.pkg-terms svg { width: 18px; height: 18px; color: #d82633; flex-shrink: 0; margin-top: 2px; }
.pkg-terms a { color: #d82633; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
[data-theme="dark"] .pkg-terms { background: var(--bg-card); border-color: var(--bd); color: var(--tx-2); }

/* ─── Price cards (meter design) ─── */
.pkg-grid { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 24px; }   /* an uneven last row lines up on the left */
/* Three across on every package grid (desktop and tablet), whatever the package count */
.pkg-grid > .pkg-card { flex: 0 1 calc((100% - 48px) / 3); min-width: 0; }
@media (max-width: 899px)  { .pkg-grid > .pkg-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 559px)  { .pkg-grid > .pkg-card { flex-basis: 100%; } }
.pkg-card.is-hidden { display: none; }

.pkg-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid #f0f0f0; border-radius: 22px;
    padding: 0 24px 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.28s ease;
}
.pkg-card::before { content: ''; display: block; height: 4px; margin: 0 -24px; background: linear-gradient(90deg, #99151c, #d82633); }
.pkg-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(0,0,0,0.09); }
.pkg-card.featured { border-color: rgba(216,38,51,0.5); box-shadow: 0 20px 48px rgba(216,38,51,0.18); }

/* Header: network label (network colour) left, badge right */
.pkg-badge {
    position: absolute; top: 24px; right: 24px;
    background: linear-gradient(135deg, #d82633, #99151c); color: #fff;
    font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
    padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.pkg-eyebrow { display: flex; align-items: center; gap: 7px; min-height: 26px; margin: 20px 0 14px; padding-right: 96px; color: var(--net, #6b7280); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; }
/* One line: "· Home Fibre" wraps onto a hidden second line when the card is too narrow */
.pkg-eyebrow-txt { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; column-gap: 7px; height: 26px; overflow: hidden; line-height: 26px; }
.pkg-eyebrow { padding-right: 80px; letter-spacing: 0.1em; }   /* room for the PROMO badge only */
.pkg-eyebrow-net { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pkg-eyebrow-type { white-space: nowrap; }
.pkg-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); flex-shrink: 0; }
.pkg-name { color: #111; font-weight: 800; font-size: 18px; line-height: 1.3; margin-bottom: 12px; }   /* only for a package with no speed in its name */

/* Price row: big price left, info stack right (promo savings, or who it's great for); same height on every card */
.pkg-pricerow {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 100px; padding: 14px 16px; border-radius: 16px;
    background: #fafafa; border: 1px solid #f0f0f0;
}
.pkg-card.is-promo .pkg-pricerow { background: linear-gradient(135deg, #fff4f5 0%, #fafafa 100%); border-color: rgba(216,38,51,0.16); }
.pkg-price { display: flex; align-items: flex-start; flex-shrink: 0; }
.pkg-r { font-size: 20px; font-weight: 800; color: #111; margin: 5px 2px 0 0; }
.pkg-amt { font-size: clamp(36px, 3.4vw, 46px); font-weight: 900; line-height: 1; letter-spacing: -0.03em; color: #111; }
.pkg-pm { align-self: flex-end; font-size: 13px; font-weight: 600; color: #9ca3af; margin: 0 0 4px 4px; }
.pkg-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; min-width: 0; }
.pkg-side-was { color: #9ca3af; font-size: 12.5px; font-weight: 600; }
.pkg-side-save { display: inline-block; background: linear-gradient(135deg, #d82633, #99151c); color: #fff; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pkg-side-sub { color: #9ca3af; font-size: 11.5px; font-weight: 600; }
.pkg-side-value { color: #111; font-size: 14px; font-weight: 800; line-height: 1.25; }

/* Meters: download and upload side by side, live when the card scrolls into view */
.pkg-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.pkg-meter { display: flex; flex-direction: column; gap: 4px; background: #fafafa; border: 1px solid #f0f0f0; border-radius: 16px; padding: 12px 14px 14px; }
.pkg-meter span { display: flex; align-items: center; gap: 5px; color: #6b7280; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.pkg-meter span svg { width: 13px; height: 13px; color: #d82633; flex-shrink: 0; }
.pkg-meter strong { color: #111; font-size: 26px; font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; }
.pkg-meter strong small { font-size: 12px; font-weight: 700; color: #6b7280; margin-left: 2px; letter-spacing: 0; }
.pkg-meter-bar { position: relative; display: block; height: 8px; margin-top: 8px; border-radius: 4px; background: #e9e9ec; }
.pkg-meter-bar b { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 4px; overflow: hidden; background: linear-gradient(90deg, #99151c, #d82633); box-shadow: 0 0 10px rgba(216,38,51,0.35); }
.pkg-meter-bar b::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; transform: translateX(-120%); background: linear-gradient(90deg, transparent, rgba(255,255,255,0.75), transparent); }
.pkg-meter-bar::after { content: ''; position: absolute; top: 50%; left: var(--w); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; border: 2px solid #d82633; box-shadow: 0 0 0 4px rgba(216,38,51,0.18), 0 0 12px rgba(216,38,51,0.6); }
@media (prefers-reduced-motion: no-preference) {
    .pkg-meters:not(.is-live) .pkg-meter-bar b { width: 0; }
    .pkg-meters:not(.is-live) .pkg-meter-bar::after { left: 0; opacity: 0; }
    .pkg-meters.is-live .pkg-meter-bar b { animation: meter-fill 1.3s cubic-bezier(.2,.8,.2,1) both; }
    .pkg-meters.is-live .pkg-meter-bar::after { animation: meter-tip-in 1.3s cubic-bezier(.2,.8,.2,1) both, meter-pulse 2.4s ease-in-out 1.4s infinite; }
    .pkg-meters.is-live .pkg-meter-bar b::after { animation: meter-shine 3.2s ease-in-out 1.4s infinite; }
    .pkg-meters.is-live .pkg-meter + .pkg-meter .pkg-meter-bar b,
    .pkg-meters.is-live .pkg-meter + .pkg-meter .pkg-meter-bar::after { animation-delay: .15s, 1.55s; }
    .pkg-meters.is-live .pkg-meter + .pkg-meter .pkg-meter-bar b::after { animation-delay: 2s; }
}
@keyframes meter-fill  { from { width: 0; } to { width: var(--w); } }
@keyframes meter-tip-in { from { left: 0; opacity: 0; } 30% { opacity: 1; } to { left: var(--w); opacity: 1; } }
@keyframes meter-shine { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(260%); } }
@keyframes meter-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(216,38,51,0.18), 0 0 12px rgba(216,38,51,0.6); } 50% { box-shadow: 0 0 0 7px rgba(216,38,51,0.08), 0 0 18px rgba(216,38,51,0.85); } }

.pkg-list { list-style: none; padding: 0; margin: 18px 0 22px; flex: 1; align-content: start; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.pkg-list li { display: flex; align-items: flex-start; gap: 8px; color: #4b5563; font-size: 12.5px; line-height: 1.35; }
/* Narrow cards (four per row, or three on a small laptop: under ~330px wide):
   the price row stacks (price, then "Great for" / promo line) and the feature
   list is one column, so nothing gets clipped or runs into the price. Measured
   on the card itself, so it holds for every grid and screen size. */
.pkg-grid > .pkg-card { container-type: inline-size; }
/* Room for the Promo / Most Popular badge only on cards that have one, so labels like "Frogfoot · Off-Net" stay on one line */
.pkg-card:not(:has(.pkg-badge)) .pkg-eyebrow { padding-right: 0; }
@container (max-width: 329px) {
    .pkg-pricerow { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
    .pkg-side { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-left: 0; text-align: left; }
    .pkg-list { grid-template-columns: 1fr; gap: 9px; }
    .pkg-meters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
    .pkg-meter { padding: 10px 11px 12px; min-width: 0; }
    .pkg-meter span { letter-spacing: 0.04em; }
    .pkg-meter strong { font-size: 22px; }
}
.pkg-tick { width: 18px; height: 18px; border-radius: 50%; background: rgba(216,38,51,0.10); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.pkg-tick svg { width: 10px; height: 10px; color: #d82633; }
.pkg-btn { justify-content: center; width: 100%; color: #fff; font-weight: 600; font-size: 15px; padding: 13px 18px; border-radius: 12px; }
.pkg-btn-ghost { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border: 2px solid #e5e7eb; color: #374151; font-weight: 600; font-size: 15px; padding: 11px 18px; border-radius: 12px; transition: all 0.25s ease; }
.pkg-btn-ghost:hover { border-color: #d82633; color: #d82633; }

/* "Uncapped, no FUP" tooltip (hover, keyboard focus or tap) */
.has-tip { position: relative; cursor: help; white-space: nowrap; border-bottom: 1px dashed rgba(107,114,128,0.6); outline: none; }
.has-tip abbr { text-decoration: none; }
/* --tip-x / --tip-w come from site.js, which keeps the bubble inside its card and the screen */
.pkg-list .has-tip { white-space: normal; }
.has-tip::after {
    content: attr(data-tip); position: absolute; left: calc(-8px + var(--tip-x, 0px)); bottom: calc(100% + 10px); z-index: 30;
    width: var(--tip-w, 220px); padding: 9px 12px; border-radius: 10px; background: #111; color: #fff;
    font-size: 12px; font-weight: 500; line-height: 1.45; text-align: left; white-space: normal;
    box-shadow: 0 10px 28px rgba(0,0,0,0.25); opacity: 0; transform: translateY(4px); pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}
.has-tip::before { content: ''; position: absolute; left: 14px; bottom: calc(100% + 4px); z-index: 30; border: 6px solid transparent; border-top-color: #111; opacity: 0; transition: opacity .18s ease; pointer-events: none; }
.has-tip:hover::after, .has-tip:focus-visible::after, .has-tip:focus::after { opacity: 1; transform: none; }
.has-tip:hover::before, .has-tip:focus-visible::before, .has-tip:focus::before { opacity: 1; }

/* Dark mode: deep charcoal cards, soft borders, white type, red stays the accent */
[data-theme="dark"] .pkg-card { background: #16171d; border-color: rgba(255,255,255,0.07); box-shadow: none; }
[data-theme="dark"] .pkg-card:hover { border-color: rgba(216,38,51,0.4); box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
[data-theme="dark"] .pkg-card.featured { border-color: rgba(216,38,51,0.55); }
[data-theme="dark"] .pkg-name, [data-theme="dark"] .pkg-r, [data-theme="dark"] .pkg-amt,
[data-theme="dark"] .pkg-side-value, [data-theme="dark"] .pkg-meter strong { color: #fff; }
[data-theme="dark"] .pkg-pm, [data-theme="dark"] .pkg-side-sub, [data-theme="dark"] .pkg-side-was { color: rgba(255,255,255,0.45); }
[data-theme="dark"] .pkg-pricerow,
[data-theme="dark"] .pkg-meter { background: rgba(255,255,255,0.035); border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .pkg-card.is-promo .pkg-pricerow { background: linear-gradient(135deg, rgba(216,38,51,0.18) 0%, rgba(255,255,255,0.03) 100%); border-color: rgba(216,38,51,0.32); }
[data-theme="dark"] .pkg-meter span, [data-theme="dark"] .pkg-meter strong small { color: rgba(255,255,255,0.5); }
[data-theme="dark"] .pkg-meter span svg { color: #d82633; }
[data-theme="dark"] .pkg-meter-bar { background: rgba(255,255,255,0.09); }
[data-theme="dark"] .pkg-meter-bar::after { background: #16171d; border-color: #d82633; }
[data-theme="dark"] .pkg-list li { color: rgba(255,255,255,0.72); }
[data-theme="dark"] .pkg-tick { background: rgba(216,38,51,0.2); }
[data-theme="dark"] .pkg-tick svg { color: #d82633; }
[data-theme="dark"] .has-tip { border-bottom-color: rgba(255,255,255,0.35); }
[data-theme="dark"] .has-tip::after { background: #2a2b36; }
[data-theme="dark"] .has-tip::before { border-top-color: #2a2b36; }
[data-theme="dark"] .pkg-btn-ghost { border-color: rgba(255,255,255,0.2); color: #fff; }
[data-theme="dark"] .pkg-btn { box-shadow: none; }

/* No-price fallback */
.pkg-empty { max-width: 620px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid #f0f0f0; border-radius: 24px; padding: 36px 28px; }
.pkg-empty h3 { color: #111; font-weight: 800; font-size: 20px; margin-bottom: 8px; }
.pkg-empty p { color: #6b7280; font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
[data-theme="dark"] .pkg-empty { background: var(--bg-card); border-color: var(--bd); }
[data-theme="dark"] .pkg-empty h3 { color: var(--tx-1); }
[data-theme="dark"] .pkg-empty p { color: var(--tx-2); }

/* ─── Network summary + fact strip (data-derived, unique per network) ─── */
.fh-summary { color: #4b5563; font-size: 17px; line-height: 1.7; max-width: none; margin: 0; }   /* full width, like the rest of the section */
[data-theme="dark"] .fh-summary { color: var(--tx-2); }
/* Dark stat panel with a red glow (same mood as the homepage's dark cards) */
.fact-panel {
    position: relative; overflow: hidden; list-style: none; margin: 0 0 40px; padding: 8px;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #0d0d0d; border-radius: 24px;
    box-shadow: 0 20px 48px rgba(0,0,0,0.14);
}
.fact-panel::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 15% 0%, rgba(216,38,51,0.35), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(216,38,51,0.18), transparent 50%); }
.fact-panel li { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 24px; }
.fact-panel li + li::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255,255,255,0.10); }
.fact-icon { width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #d82633, #99151c); box-shadow: 0 8px 20px rgba(216,38,51,0.35); color: #fff; transition: transform .25s ease; }
.fact-icon svg { width: 22px; height: 22px; }
.fact-panel li:hover .fact-icon { transform: translateY(-2px) rotate(-4deg); }
.fact-panel strong { display: block; color: #fff; font-size: 30px; font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.fact-panel small { display: block; color: rgba(255,255,255,0.55); font-size: 12.5px; font-weight: 600; margin-top: 6px; }
@media (max-width: 899px) {
    .fact-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fact-panel li:nth-child(3)::before { display: none; }
}
@media (max-width: 479px) { .fact-panel li { padding: 16px 14px; gap: 12px; } .fact-icon { width: 40px; height: 40px; } .fact-panel strong { font-size: 24px; } }
[data-theme="dark"] .fact-panel { background: var(--bg-card); box-shadow: none; }
[data-theme="dark"] .fact-icon { box-shadow: none; }

/* ─── "Every package includes" banner (homepage big-CTA style) ─── */
.inc-banner { position: relative; overflow: hidden; margin-top: 56px; border-radius: 28px; background: #0d0d0d; min-height: 440px; display: flex; align-items: center; }
.inc-banner-img { position: absolute; inset: 0; }
.inc-banner-img img { position: absolute; right: 0; top: 0; width: 70%; height: 100%; object-fit: cover; object-position: center; }
.inc-banner-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, #0d0d0d 0%, #0d0d0d 32%, rgba(13,13,13,0.92) 45%, rgba(13,13,13,0.55) 65%, rgba(13,13,13,0.10) 100%); }
.inc-banner-glow { position: absolute; top: -120px; left: -80px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(216,38,51,0.22), transparent 65%); pointer-events: none; }
.inc-banner-body { position: relative; z-index: 2; padding: 52px 56px; max-width: 620px; }
.inc-banner-eyebrow { color: #d82633; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 12px; }
.inc-banner-title { color: #fff; font-weight: 900; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; margin-bottom: 22px; }
.inc-banner-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.inc-banner-list li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,0.80); font-size: 14px; line-height: 1.45; }
.inc-banner-list li::before { content: ''; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; flex-shrink: 0; background: #d82633 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center; }
.inc-banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.inc-banner-actions .btn-red { color: #fff; }
.inc-banner-phone { display: flex; align-items: center; gap: 12px; }
.inc-banner-phone-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(216,38,51,0.18); border: 1px solid rgba(216,38,51,0.35); color: #d82633; display: flex; align-items: center; justify-content: center; }
.inc-banner-phone-icon svg { width: 17px; height: 17px; }
.inc-banner-phone small { display: block; color: rgba(255,255,255,0.72); font-size: 12px; font-weight: 500; }
.inc-banner-phone strong { display: block; color: #fff; font-size: 16px; font-weight: 700; }
@media (hover: hover) { .inc-banner-phone:hover strong { color: #d82633; } }
.inc-banner-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: rgba(255,255,255,0.55); font-size: 13px; font-weight: 600; }
.inc-banner-link:hover { color: #fff; }
@media (max-width: 899px) {
    .inc-banner { flex-direction: column; align-items: stretch; min-height: 0; }
    .inc-banner-img { position: relative; height: 220px; order: 2; }
    .inc-banner-img img { width: 100%; }
    .inc-banner-img::after { background: linear-gradient(to bottom, #0d0d0d 0%, rgba(13,13,13,0.25) 45%, rgba(13,13,13,0) 100%); }
    .inc-banner-body { padding: 36px 26px 26px; max-width: none; }
    .inc-banner-list { grid-template-columns: 1fr; }
}

/* ─── Guide cards on network pages (short version + link to the hub) ─── */
.guide-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #f0f0f0; border-radius: 24px; padding: 26px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), box-shadow 0.28s cubic-bezier(0.4,0,0.2,1); }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,0.08); }
.guide-card .inc-icon { margin-bottom: 16px; }
.guide-card h3 { color: #111; font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.guide-card p { color: #6b7280; font-size: 14px; line-height: 1.65; }
.guide-speeds { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.guide-speeds a { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #f8f8f8; border-radius: 12px; padding: 11px 14px; font-size: 14px; color: #374151; font-weight: 600; transition: background 0.2s ease, color 0.2s ease; }
.guide-speeds a:hover { background: rgba(216,38,51,0.08); color: #d82633; }
.guide-speeds strong { color: #d82633; font-weight: 800; }
.guide-steps { list-style: none; counter-reset: gs; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.guide-steps li { counter-increment: gs; display: flex; align-items: flex-start; gap: 10px; color: #4b5563; font-size: 14px; line-height: 1.5; }
.guide-steps li::before { content: counter(gs); flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(216,38,51,0.10); color: #d82633; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.guide-link { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; color: #d82633; font-weight: 700; font-size: 13.5px; }
.guide-link:hover { text-decoration: underline; }
[data-theme="dark"] .guide-card { background: var(--bg-card); border-color: var(--bd); box-shadow: none; }
[data-theme="dark"] .guide-card:hover { box-shadow: none; }
[data-theme="dark"] .guide-card h3 { color: var(--tx-1); }
[data-theme="dark"] .guide-card p, [data-theme="dark"] .guide-steps li { color: var(--tx-2); }
[data-theme="dark"] .guide-speeds a { background: rgba(255,255,255,0.04); color: var(--tx-1); }

/* ─── Hub: logo mosaic in the hero card ─── */
.hub-logo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hub-logo-grid span { aspect-ratio: 2 / 1; border-radius: 12px; overflow: hidden; background: #1a1a1a; }
.hub-logo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── Hub: network cards ─── */
.net-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 1099px) { .net-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .net-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px)  { .net-grid { grid-template-columns: 1fr; } }
.net-grid > li { display: flex; }
.net-card { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid #f0f0f0; border-radius: 22px; padding: 12px; transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), box-shadow 0.28s cubic-bezier(0.4,0,0.2,1), border-color 0.2s ease; }
a.net-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(0,0,0,0.09); border-color: rgba(216,38,51,0.3); }
.net-logo { aspect-ratio: 2 / 1; border-radius: 14px; overflow: hidden; background: #eef0f3; display: flex; align-items: center; justify-content: center; }
.net-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.net-logo span { color: #6b7280; font-weight: 800; font-size: 17px; text-align: center; padding: 10px; }
.net-body { display: flex; flex-direction: column; gap: 3px; padding: 14px 8px 6px; flex: 1; }
.net-name { color: #111; font-weight: 800; font-size: 16px; }
.net-from { color: #6b7280; font-size: 13.5px; }
.net-from strong { color: #d82633; font-weight: 900; font-size: 17px; }
.net-meta { color: #9ca3af; font-size: 12.5px; }
.net-cta { display: inline-flex; align-items: center; gap: 6px; margin: 4px 8px 6px; color: #d82633; font-weight: 700; font-size: 13.5px; }
.net-card.is-static { opacity: 0.85; }
[data-theme="dark"] .net-card { background: var(--bg-card); border-color: var(--bd); }
[data-theme="dark"] a.net-card:hover { box-shadow: none; border-color: rgba(216,38,51,0.35); }
[data-theme="dark"] .net-logo { background: rgba(255,255,255,0.05); }
[data-theme="dark"] .net-logo span, [data-theme="dark"] .net-from { color: var(--tx-2); }
[data-theme="dark"] .net-name { color: var(--tx-1); }

/* ─── "Every package includes" tiles (hub) ─── */
.inc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 899px) { .inc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .inc-grid { grid-template-columns: 1fr; } }
.inc-tile { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #f0f0f0; border-radius: 18px; padding: 16px 18px; }
.inc-icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(216,38,51,0.10); color: #d82633; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.inc-icon svg { width: 20px; height: 20px; }
.inc-tile span { color: #374151; font-size: 14px; font-weight: 600; line-height: 1.4; }
[data-theme="dark"] .inc-tile { background: var(--bg-card); border-color: var(--bd); }
[data-theme="dark"] .inc-tile span { color: var(--tx-1); }
[data-theme="dark"] .inc-icon { background: rgba(216,38,51,0.15); }

/* ─── Price table (real <table> for search and AI engines) ─── */
.fh-table-wrap { background: #fff; border: 1px solid #f0f0f0; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.fh-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fh-table th { text-align: left; color: #9ca3af; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 14px 18px; background: #fafafa; border-bottom: 1px solid #f0f0f0; white-space: nowrap; }
.fh-table th:first-child, .fh-table td:first-child { padding-left: 24px; }
.fh-table th:last-child, .fh-table td:last-child { padding-right: 24px; }
.fh-table td { padding: 16px 18px; border-bottom: 1px solid #f3f3f3; color: #374151; vertical-align: middle; }
.fh-table tbody tr:last-child td { border-bottom: 0; }
.fh-table tbody tr { transition: background 0.18s ease; }
.fh-table tbody tr:hover { background: #fcf8f8; }
.fh-table tbody tr.is-promo td:first-child { box-shadow: inset 3px 0 0 #d82633; }

.fh-table .t-speed { white-space: nowrap; }
.t-speed-val { display: inline-flex; align-items: center; gap: 6px; color: #111; font-weight: 800; font-size: 15px; }
.t-speed-val svg { width: 14px; height: 14px; color: #d82633; }

.fh-table .t-price { white-space: nowrap; }
.t-price-main { display: flex; align-items: baseline; gap: 3px; }
.t-price-main strong { color: #111; font-size: 19px; font-weight: 900; letter-spacing: -0.01em; }
.t-price-main small { color: #9ca3af; font-size: 12px; font-weight: 600; }
.t-promo-line { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 11.5px; font-weight: 600; color: #9ca3af; }
.t-promo-line s { color: #9ca3af; }
.t-promo-line em { font-style: normal; color: #d82633; background: rgba(216,38,51,0.08); padding: 2px 7px; border-radius: 999px; font-weight: 700; }

.t-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.t-chip { display: inline-flex; align-items: center; gap: 5px; background: #f5f5f6; color: #4b5563; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.t-chips svg { width: 12px; height: 12px; color: #d82633; }
.t-chip.t-chip-wrap { white-space: normal; border-radius: 12px; }   /* "Month-to-month (R2 999 if cancelled in 12 months)" wraps on narrow phones */
.t-chips abbr { text-decoration: none; }

.fh-table .t-cta { text-align: right; white-space: nowrap; }
.t-btn { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: 13.5px; padding: 9px 16px; border-radius: 10px; box-shadow: 0 6px 16px rgba(216,38,51,0.28); }
.t-btn svg { width: 14px; height: 14px; }

@media (max-width: 1199px) { .t-chip:nth-child(n+4) { display: none; } }   /* keep rows on one line on smaller screens */
@media (max-width: 767px) {
    /* Each row becomes a small card on phones, so nothing scrolls sideways */
    .fh-table thead { display: none; }
    .fh-table, .fh-table tbody, .fh-table tr, .fh-table td { display: block; width: 100%; }
    .fh-table tbody tr { padding: 16px 18px; border-bottom: 1px solid #f0f0f0; }
    .fh-table tbody tr.is-promo { box-shadow: inset 3px 0 0 #d82633; }
    .fh-table tbody tr.is-promo td:first-child { box-shadow: none; }
    .fh-table tbody tr:last-child { border-bottom: 0; }
    .fh-table td, .fh-table td:first-child, .fh-table td:last-child { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 5px 0; border: 0; text-align: right; }
    .fh-table td::before { content: attr(data-label); color: #9ca3af; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; text-align: left; flex-shrink: 0; }
    .t-price-main, .t-promo-line, .t-chips { justify-content: flex-end; }
    .fh-table td.t-price { align-items: flex-start; }
    .fh-table td.t-price > div { display: flex; flex-direction: column; align-items: flex-end; min-width: 0; }
    .fh-table .t-price { white-space: normal; }
    .t-promo-line { flex-wrap: wrap; row-gap: 4px; }
    .t-chip:nth-child(n+4) { display: inline-flex; }
    .fh-table td.t-inc { display: block; text-align: left; padding-top: 8px; }
    .fh-table td.t-inc::before { display: block; margin-bottom: 6px; }
    .fh-table td.t-inc .t-chips { justify-content: flex-start; }
    .fh-table .t-cta { padding-top: 12px; }
    .fh-table .t-cta::before { content: none; }
    .t-btn { width: 100%; justify-content: center; padding: 11px 16px; }
}

[data-theme="dark"] .fh-table-wrap { background: #16171d; border-color: rgba(255,255,255,0.07); box-shadow: none; }
[data-theme="dark"] .fh-table th { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.07); color: rgba(255,255,255,0.45); }
[data-theme="dark"] .fh-table td, [data-theme="dark"] .fh-table tbody tr { border-color: rgba(255,255,255,0.06); color: rgba(255,255,255,0.72); }
[data-theme="dark"] .fh-table tbody tr:hover { background: rgba(216,38,51,0.06); }
[data-theme="dark"] .t-speed-val, [data-theme="dark"] .t-price-main strong { color: #fff; }
[data-theme="dark"] .t-chip { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.75); }
[data-theme="dark"] .t-promo-line em { background: rgba(216,38,51,0.18); color: #d82633; }
[data-theme="dark"] .t-btn { box-shadow: none; }

/* ─── How it works steps ─── */
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.step-grid::before {
    content: ''; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(216,38,51,0.35) 0 8px, transparent 8px 16px);
    z-index: 0;
}
@media (max-width: 1023px) { .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step-grid::before { display: none; } }
@media (max-width: 559px)  { .step-grid { grid-template-columns: 1fr; } }
.step-card { position: relative; z-index: 1; background: #fff; border: 1px solid #f0f0f0; border-radius: 24px; padding: 28px 24px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.step-num {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, #d82633, #99151c); color: #fff;
    font-weight: 900; font-size: 15px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(216,38,51,0.35); margin-bottom: 18px;
}
.step-card h3 { color: #111; font-weight: 800; font-size: 17px; margin-bottom: 8px; }
.step-card p { color: #6b7280; font-size: 14px; line-height: 1.65; }
.step-icon { position: absolute; top: 26px; right: 24px; color: rgba(216,38,51,0.25); }
.step-icon svg { width: 28px; height: 28px; }
[data-theme="dark"] .step-card { background: var(--bg-card); border-color: var(--bd); box-shadow: none; }
[data-theme="dark"] .step-card h3 { color: var(--tx-1); }
[data-theme="dark"] .step-card p { color: var(--tx-2); }
[data-theme="dark"] .step-num { box-shadow: none; }

/* ─── What Tech5 looks after ─── */
.care-collage { position: relative; height: 460px; }
.care-collage .ci { position: absolute; overflow: hidden; border-radius: 24px; box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.care-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.care-collage .ci-a { left: 0; top: 0; width: 64%; height: 74%; }
.care-collage .ci-b { right: 0; bottom: 0; width: 52%; height: 52%; border: 6px solid #f5f5f5; }
.care-collage .ci-tag {
    position: absolute; left: 6%; bottom: 8%; z-index: 3;
    display: flex; align-items: center; gap: 12px;
    background: #fff; border-radius: 16px; padding: 12px 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}
.care-collage .ci-tag strong { display: block; color: #111; font-size: 14px; font-weight: 800; }
.care-collage .ci-tag small { display: block; color: #6b7280; font-size: 12px; }
@media (max-width: 1023px) { .care-collage { height: 360px; } }
@media (max-width: 559px)  { .care-collage { height: 280px; } .care-collage .ci-tag { display: none; } }
.care-split { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.care-chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; }
.care-chip.net  { background: #fff; border: 1px solid #e5e7eb; color: #374151; }
.care-chip.t5   { background: linear-gradient(135deg, #d82633, #99151c); color: #fff; }
.care-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 559px) { .care-grid { grid-template-columns: 1fr; } }
.care-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 20px; padding: 22px; }
.care-card .inc-icon { margin-bottom: 14px; }
.care-card h3 { color: #111; font-weight: 800; font-size: 15.5px; margin-bottom: 6px; }
.care-card p { color: #6b7280; font-size: 13.5px; line-height: 1.6; }
[data-theme="dark"] .care-collage .ci-b { border-color: var(--bg-alt); }
[data-theme="dark"] .care-collage .ci-tag { background: var(--bg-card); }
[data-theme="dark"] .care-collage .ci-tag strong { color: var(--tx-1); }
[data-theme="dark"] .care-collage .ci-tag small { color: var(--tx-2); }
[data-theme="dark"] .care-chip.net { background: var(--bg-card); border-color: var(--bd-md); color: var(--tx-1); }
[data-theme="dark"] .care-card { background: var(--bg-card); border-color: var(--bd); }
[data-theme="dark"] .care-card h3 { color: var(--tx-1); }
[data-theme="dark"] .care-card p { color: var(--tx-2); }
[data-theme="dark"] .fh-body-copy { color: var(--tx-2) !important; }
[data-theme="dark"] .fh-body-copy strong { color: var(--tx-1) !important; }

/* ─── Speed guide ─── */
.speed-meter { display: flex; gap: 4px; margin-bottom: 18px; }
.speed-meter i { display: block; height: 6px; flex: 1; border-radius: 3px; background: #f1f1f1; }
.speed-meter i.on { background: linear-gradient(90deg, #99151c, #d82633); }
.service-card:hover .speed-meter i { background: rgba(255,255,255,0.25); }
.service-card:hover .speed-meter i.on { background: #fff; }
[data-theme="dark"] .speed-meter i { background: var(--bd-md); }
/* "Upload a lot?" card: two equal bars, download and upload */
.speed-meter--sym i { flex: 0 0 calc(50% - 2px); }

/* Why choose Tech5: the curve around the mascot, on large screens only (on phones it pushed text off screen) */
@media (min-width: 1024px) {
    #why-choose .why-nudge-l { transform: translateX(-2.5rem); }
    #why-choose .why-nudge-r { transform: translateX(1.5rem); }
}

/* ─── Hub: what every package includes (red panel with the mascot + list) ─── */
.inc-wrap { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 28px; align-items: stretch; }
.inc-panel {
    position: relative; overflow: hidden; border-radius: 28px; padding: 36px 32px 0;
    background: linear-gradient(150deg, #d82633 0%, #99151c 100%); color: #fff;
    display: flex; flex-direction: column; box-shadow: 0 24px 50px -20px rgba(153,21,28,0.55);
}
.inc-panel::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.16) 1px, transparent 1px); background-size: 18px 18px; pointer-events: none; }
.inc-panel > * { position: relative; }
.inc-panel-pill { align-self: flex-start; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 6px 14px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.inc-panel-title { margin: 18px 0 12px; font-size: clamp(28px, 2.6vw, 36px); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.inc-panel-sub { color: rgba(255,255,255,0.82); font-size: 15.5px; line-height: 1.55; }
.inc-panel-mascot { margin-top: auto; padding-top: 18px; display: flex; justify-content: center; }
.inc-panel-mascot .mascot { width: 230px; }
.inc-panel-mascot .mascot__shadow { background: radial-gradient(closest-side, rgba(0,0,0,.35), rgba(0,0,0,0)); }
/* Or a photo at the foot of the panel (hosting, VPS) */
.inc-panel-photo { position: relative; flex: 1; min-height: 220px; max-height: 340px; margin: auto -32px 0; padding-top: 26px; }
.inc-panel-photo img { position: absolute; left: 0; right: 0; bottom: 0; top: 26px; width: 100%; height: calc(100% - 26px); object-fit: cover; }
.inc-panel-photo .hs-inc-badge { z-index: 1; }
@media (max-width: 1023px) { .inc-panel-photo { margin-left: -24px; margin-right: -24px; min-height: 200px; } }
.inc-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.inc-item { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid #f0f0f0; border-radius: 20px; padding: 22px; box-shadow: 0 1px 2px rgba(0,0,0,0.03); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.inc-item:hover { transform: translateY(-3px); border-color: rgba(216,38,51,0.18); box-shadow: 0 16px 36px -18px rgba(153,21,28,0.35); }
.inc-solid { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #d82633, #99151c); color: #fff; box-shadow: 0 8px 18px -6px rgba(216,38,51,0.55); }
.inc-solid svg { width: 22px; height: 22px; }
.inc-item strong { display: block; color: #111; font-size: 16px; font-weight: 800; margin: 2px 0 4px; }
.inc-item small { display: block; color: #6b7280; font-size: 13.5px; line-height: 1.55; }
[data-theme="dark"] .inc-item { background: var(--bg-card); border-color: var(--bd); }
[data-theme="dark"] .inc-item strong { color: var(--tx-1); }
[data-theme="dark"] .inc-item small { color: var(--tx-2); }
@media (max-width: 1023px) {
    .inc-wrap { grid-template-columns: 1fr; }
    .inc-panel { padding: 28px 24px 0; }
    .inc-panel-mascot .mascot { width: 180px; }
}
@media (max-width: 599px) {
    .inc-items { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .inc-item { padding: 18px; }
    .inc-panel-mascot .mascot { width: 150px; }
}
.sym-note { display: flex; align-items: flex-start; gap: 16px; max-width: 760px; margin: 28px auto 0; background: #fff; border: 1px solid #f0f0f0; border-left: 4px solid #d82633; border-radius: 18px; padding: 18px 22px; }
.sym-note p { color: #4b5563; font-size: 14.5px; line-height: 1.65; }
[data-theme="dark"] .sym-note { background: var(--bg-card); border-color: var(--bd); border-left-color: #d82633; }
[data-theme="dark"] .sym-note p { color: var(--tx-2); }

/* ─── Related links in the FAQ column ─── */
.fh-related { margin-top: 36px; padding-top: 24px; border-top: 1px solid #f0f0f0; }
.fh-related p { color: #9ca3af; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.fh-related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fh-related a { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #e5e7eb; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: #374151; transition: all 0.2s ease; }
.fh-related a:hover { border-color: #d82633; color: #d82633; }
[data-theme="dark"] .fh-related { border-color: var(--bd); }
[data-theme="dark"] .fh-related a { background: var(--bg-card); border-color: var(--bd-md); color: var(--tx-1); }
[data-theme="dark"] .fh-related a:hover { border-color: var(--brand); color: var(--brand); }

/* ═════════════════════════════════════════════════════════════
   INTERACTIVE TOOLS
═════════════════════════════════════════════════════════════ */

/* ─── Hero address check ─── */
.fh-check { max-width: 620px; }
.fh-check-bar { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 16px; padding: 6px 6px 6px 16px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color .2s, box-shadow .2s; }
.fh-check-bar:focus-within { border-color: #d82633; box-shadow: 0 0 0 4px rgba(216,38,51,0.18); }
.fh-check-pin { width: 18px; height: 18px; color: #d82633; flex-shrink: 0; }
.fh-check-bar input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font: inherit; font-size: 16px; padding: 12px 4px; }
.fh-check-bar input::placeholder { color: rgba(255,255,255,0.45); }
.fh-check-bar button { color: #fff; font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: 12px; border: 0; cursor: pointer; white-space: nowrap; }
.fh-check-bar button:disabled { opacity: 0.6; cursor: wait; }
@media (max-width: 479px) { .fh-check-bar button span { display: none; } .fh-check-bar button { padding: 13px 16px; } }
.fh-check-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 12px; color: rgba(255,255,255,0.55); font-size: 13.5px; }
.fh-check-hint a { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-weight: 600; }
.fh-check-hint a:hover { color: #d82633; }

.fh-check-result { display: flex; align-items: flex-start; gap: 14px; margin-top: 16px; border-radius: 18px; padding: 18px 20px; color: rgba(255,255,255,0.78); font-size: 14px; line-height: 1.55; border: 1px solid rgba(255,255,255,0.14); background: rgba(10,10,10,0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: fh-pop .35s cubic-bezier(.2,.8,.2,1); }
.fh-check-result > svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 1px; }
.fh-check-result.is-ok   { border-color: rgba(34,197,94,0.45); }
.fh-check-result.is-ok > svg { color: #4ade80; }
.fh-check-result.is-warn { border-color: rgba(251,191,36,0.40); }
.fh-check-result.is-warn > svg { color: #fbbf24; }
.fh-res-title { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.fh-res-title strong { color: #fff; }
.fh-res-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 12px; }
.fh-res-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #111; font-weight: 700; font-size: 13.5px; padding: 9px 16px; border-radius: 10px; transition: transform .2s; }
.fh-res-btn:hover { transform: translateY(-1px); }
.fh-res-btn svg { width: 15px; height: 15px; }
.fh-res-change { background: none; border: 0; color: rgba(255,255,255,0.6); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 0; }
.fh-res-change:hover { color: #fff; }
.fh-res-also { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,0.6); }
.fh-res-also a { color: #fff; text-decoration: underline; }
.fh-res-nets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
/* "These fibre networks do:" / "Other ways to get connected:" above each group of options */
.fh-res-sub { margin: 14px 0 0; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.55); }
.fh-res-sub + .fh-res-nets { margin-top: 8px; }
.fh-res-note { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.6); }
@media (max-width: 640px) {
    /* Phones: one option per row, name left, detail and arrow right */
    .fh-res-nets .fh-res-net { flex: 1 1 100%; }
    .fh-res-net strong { white-space: nowrap; }
    .fh-res-net span { margin-left: auto; text-align: right; }
}
.fh-res-net { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; padding: 8px 12px; font-size: 13px; color: rgba(255,255,255,0.65); transition: border-color .2s, background .2s; }
.fh-res-net strong { color: #fff; }
.fh-res-net svg { width: 14px; height: 14px; color: #d82633; }
.fh-res-net:hover { border-color: #d82633; background: rgba(216,38,51,0.15); }
.fh-spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.2); border-top-color: #d82633; animation: fh-spin .8s linear infinite; flex-shrink: 0; }
@keyframes fh-spin { to { transform: rotate(360deg); } }
@keyframes fh-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* "Packages for {address}" chip above the price toolbar */
.pkg-for { display: flex; align-items: center; gap: 10px; background: #ecfdf3; border: 1px solid #bbf7d0; color: #166534; border-radius: 14px; padding: 12px 16px; font-size: 14px; margin-bottom: 20px; }
.pkg-for svg { width: 18px; height: 18px; flex-shrink: 0; color: #16a34a; }
[data-theme="dark"] .pkg-for { background: rgba(34,197,94,0.10); border-color: rgba(34,197,94,0.30); color: #86efac; }

/* ─── Tool cards (speed test + calculator) ─── */
.tool-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 24px; padding: 26px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.tool-label { color: #111; font-weight: 800; font-size: 17px; }
.tool-note { color: #9ca3af; font-size: 12.5px; line-height: 1.55; margin-top: 14px; }
[data-theme="dark"] .tool-card { background: var(--bg-card); border-color: var(--bd); box-shadow: none; }
[data-theme="dark"] .tool-label { color: var(--tx-1); }

/* Speed test */

/* Download time calculator */
.dt-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.dt-tasks { display: flex; flex-wrap: wrap; gap: 6px; }
.dt-tasks button { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 12.5px; font-weight: 600; color: #64748b; background: #fff; border: 1.5px solid #e2e8f0; border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: all .2s; }
.dt-tasks button svg { width: 14px; height: 14px; }
.dt-tasks button:hover { border-color: #d82633; color: #d82633; }
.dt-tasks button[aria-pressed="true"] { background: #d82633; border-color: #d82633; color: #fff; }
.dt-desc { color: #6b7280; font-size: 13.5px; margin: 14px 0 12px; }
.dt-rows { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.dt-rows li { display: grid; grid-template-columns: 150px 1fr 118px; align-items: center; gap: 14px; padding: 7px 10px; border-radius: 12px; }
.dt-label strong { display: block; color: #111; font-size: 13.5px; font-weight: 700; }
.dt-label span { display: block; color: #9ca3af; font-size: 11.5px; }
.dt-bar { height: 10px; background: #f3f3f3; border-radius: 6px; overflow: hidden; }
.dt-bar i { display: block; height: 100%; width: 0; background: #cbd5e1; border-radius: 6px; transition: width .7s cubic-bezier(.2,.8,.2,1); }
.dt-time { color: #374151; font-weight: 700; font-size: 13.5px; text-align: right; white-space: nowrap; }
.dt-rows li.is-best { background: rgba(216,38,51,0.06); }
.dt-rows li.is-best .dt-bar i { background: linear-gradient(90deg, #99151c, #d82633); }
.dt-rows li.is-best .dt-time { color: #d82633; }
/* "Faster than yours" badge under each package's time */
.dt-rows li { min-height: 52px; }
/* Before testing: placeholder "Your connection" row */

@media (max-width: 559px) {
    .dt-rows li { grid-template-columns: 1fr auto; gap: 6px 12px; }
    .dt-bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .dt-bar i { transition: none; } }
[data-theme="dark"] .dt-tasks button { background: var(--bg-card); border-color: var(--bd-md); color: var(--tx-2); }
[data-theme="dark"] .dt-tasks button[aria-pressed="true"] { background: #d82633; border-color: #d82633; color: #fff; }
[data-theme="dark"] .dt-desc { color: var(--tx-2); }
[data-theme="dark"] .dt-label strong { color: var(--tx-1); }
[data-theme="dark"] .dt-time { color: var(--tx-1); }
[data-theme="dark"] .dt-bar { background: rgba(255,255,255,0.06); }
[data-theme="dark"] .dt-bar i { background: #4b5563; }

/* ─── Hero network card: what every package includes ─── */
.fh-net-checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fh-net-checks li { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: 12px; padding: 9px 12px; color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600; }
.fh-net-checks svg { width: 14px; height: 14px; color: #d82633; flex-shrink: 0; }

/* ─── Promotions filter tab ─── */
.ptab.ptab-promo { display: inline-flex; align-items: center; gap: 6px; }
.ptab.ptab-promo svg { width: 15px; height: 15px; color: #d82633; transition: color .2s; }
.ptab.ptab-promo.ptab-on svg { color: #fff; }

/* Card flash when the planner points at it */
@keyframes pkg-flash { 0%, 100% { box-shadow: 0 1px 2px rgba(0,0,0,0.04); } 30%, 70% { box-shadow: 0 0 0 4px rgba(216,38,51,0.45), 0 20px 48px rgba(216,38,51,0.25); } }
.pkg-card.pkg-flash { animation: pkg-flash 1.8s ease 0.4s 1; }

/* ─── Guide cards: photo header ─── */
.guide-card { padding: 12px 12px 22px; }
.guide-card > :not(.guide-img) { margin-left: 12px; margin-right: 12px; }
.guide-img { position: relative; height: 170px; border-radius: 16px; overflow: hidden; margin-bottom: 30px; }
.guide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.guide-card:hover .guide-img img { transform: scale(1.04); }
.guide-img .inc-icon { position: absolute; left: 16px; bottom: -1px; transform: translateY(50%); background: linear-gradient(135deg, #d82633, #99151c); color: #fff; box-shadow: 0 8px 20px rgba(216,38,51,0.35); margin: 0; }
.guide-card .guide-img { overflow: visible; }
.guide-card .guide-img img { border-radius: 16px; }

/* ─── Speed tools: tab switcher ─── */
.tool-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.tool-tabs [role="tab"] { display: flex; align-items: center; gap: 14px; text-align: left; font: inherit; cursor: pointer; background: #fff; border: 2px solid #f0f0f0; border-radius: 20px; padding: 16px 18px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.tool-tabs [role="tab"]:hover { border-color: rgba(216,38,51,0.35); transform: translateY(-2px); }
.tool-tabs [role="tab"][aria-selected="true"] { border-color: #d82633; box-shadow: 0 14px 34px rgba(216,38,51,0.15); }
.tool-tab-icon { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #f5f5f5; color: #6b7280; transition: all .2s; }
.tool-tab-icon svg { width: 21px; height: 21px; }
[aria-selected="true"] .tool-tab-icon { background: linear-gradient(135deg, #d82633, #99151c); color: #fff; box-shadow: 0 8px 20px rgba(216,38,51,0.3); }
.tool-tab-text strong { display: block; color: #111; font-size: 15.5px; font-weight: 800; }
.tool-tab-text small { display: block; color: #6b7280; font-size: 12.5px; margin-top: 2px; line-height: 1.35; }
.tool-panel.tool-in { animation: fh-pop .35s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 767px) {
    .tool-tabs { gap: 8px; }
    .tool-tabs [role="tab"] { flex-direction: column; text-align: center; gap: 8px; padding: 12px 8px; border-radius: 16px; }
    .tool-tab-icon { width: 38px; height: 38px; border-radius: 11px; }
    .tool-tab-text strong { font-size: 13px; }
    .tool-tab-text small { display: none; }
}
[data-theme="dark"] .tool-tabs [role="tab"] { background: var(--bg-card); border-color: var(--bd); }
[data-theme="dark"] .tool-tabs [role="tab"][aria-selected="true"] { border-color: #d82633; box-shadow: none; }
[data-theme="dark"] .tool-tab-icon { background: rgba(255,255,255,0.05); color: var(--tx-2); }
[data-theme="dark"] .tool-tab-text strong { color: var(--tx-1); }
[data-theme="dark"] .tool-tab-text small { color: var(--tx-2); }

/* ─── Speed planner ─── */
.planner { display: grid; grid-template-columns: 1fr 380px; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid #f0f0f0; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
@media (max-width: 1023px) { .planner { grid-template-columns: 1fr; } }
.planner-main { padding: 26px; }
.planner-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.planner-sub { color: #6b7280; font-size: 13.5px; margin-top: 4px; }
.planner-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.planner-presets span { color: #9ca3af; font-size: 12px; font-weight: 600; margin-right: 2px; }
.planner-presets button { font: inherit; font-size: 12.5px; font-weight: 600; color: #64748b; background: #fff; border: 1.5px solid #e2e8f0; border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: all .2s; }
.planner-presets button:hover { border-color: #d82633; color: #d82633; }
.planner-presets button.is-on { background: #111; border-color: #111; color: #fff; }
.planner-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 639px) { .planner-grid { grid-template-columns: 1fr; } }
.planner-item { display: flex; align-items: center; gap: 12px; border: 1.5px solid #f0f0f0; border-radius: 16px; padding: 10px 10px 10px 12px; transition: border-color .2s, background .2s; }
.planner-item.is-on { border-color: rgba(216,38,51,0.35); background: rgba(216,38,51,0.04); }
.planner-icon { width: 40px; height: 40px; border-radius: 12px; background: #f5f5f5; color: #6b7280; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .2s; }
.planner-icon svg { width: 19px; height: 19px; }
.planner-item.is-on .planner-icon { background: linear-gradient(135deg, #d82633, #99151c); color: #fff; }
.planner-text { flex: 1; min-width: 0; }
.planner-text strong { display: block; color: #111; font-size: 14px; font-weight: 700; }
.planner-text small { display: block; color: #9ca3af; font-size: 12px; }
.planner-stepper { display: flex; align-items: center; gap: 4px; }
.planner-stepper button { width: 30px; height: 30px; border-radius: 9px; border: 1.5px solid #e5e7eb; background: #fff; color: #374151; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s; }
.planner-stepper button svg { width: 14px; height: 14px; }
.planner-stepper button:hover:not(:disabled) { border-color: #d82633; color: #d82633; }
.planner-stepper button:disabled { opacity: 0.35; cursor: default; }
.planner-stepper output { min-width: 22px; text-align: center; color: #111; font-weight: 800; font-size: 15px; }

/* Result panel: brand-red panel (homepage "Most Popular" card style), white result card inside */
.planner-result { position: relative; overflow: hidden; color: #fff; background: linear-gradient(150deg, #d82633 0%, #99151c 100%); }
.planner-result::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
    background-image: radial-gradient(rgba(255,255,255,0.22) 1.2px, transparent 1.4px); background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 60%); mask-image: linear-gradient(200deg, #000 0%, transparent 60%); }
.planner-result::after { content: ''; position: absolute; top: -90px; right: -90px; width: 260px; height: 260px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 65%); }
.planner-result-body { position: relative; z-index: 2; padding: 28px 26px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.planner-eyebrow { color: rgba(255,255,255,0.85); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 10px; }
.planner-empty { color: rgba(255,255,255,0.9); font-size: 15px; line-height: 1.6; }
.planner-need { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.planner-need strong { display: block; color: #fff; font-size: 32px; font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.planner-need small { display: inline-flex; align-items: center; gap: 4px; color: rgba(255,255,255,0.8); font-size: 12px; font-weight: 600; margin-top: 6px; }
.planner-need small svg { width: 12px; height: 12px; color: #fff; }

.planner-pick { background: #fff; color: #111; border-radius: 18px; padding: 16px; box-shadow: 0 16px 40px rgba(60,0,8,0.28); animation: fh-pop .3s ease; }
.planner-tag { display: inline-block; background: rgba(216,38,51,0.10); color: #d82633; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 9px; border-radius: 999px; margin-bottom: 10px; }
.planner-pick-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.planner-pick-row strong { color: #111; font-size: 17px; font-weight: 800; }
.planner-pick-row span { color: #d82633; font-size: 22px; font-weight: 900; white-space: nowrap; }
.planner-pick-row small { color: #9ca3af; font-size: 12px; font-weight: 600; }
.planner-meter { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; margin-bottom: 7px; font-size: 12px; font-weight: 600; color: #6b7280; }
.planner-meter i { display: block; height: 7px; border-radius: 4px; background: #eceef1; overflow: hidden; }
.planner-meter b { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #22c55e, #4ade80); transition: width .5s ease; }
.planner-warn { color: #b45309; font-size: 12.5px; margin-top: 8px; }
/* Fibre hub planner: networks with a package that fits */
.planner-nets { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.planner-nets a { display: grid; grid-template-columns: minmax(0, 1fr) auto 14px; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: #f7f7f8; border: 1px solid #efefef; transition: border-color .18s, background .18s; }
.planner-nets a:hover { border-color: rgba(216,38,51,0.35); background: #fff5f6; }
.planner-nets strong { grid-column: 1; color: #111; font-size: 14px; font-weight: 800; }
.planner-nets span { grid-column: 1; grid-row: 2; color: #6b7280; font-size: 12px; }
.planner-nets em { grid-column: 2; grid-row: 1 / 3; font-style: normal; color: #d82633; font-size: 15px; font-weight: 900; white-space: nowrap; }
.planner-nets em small { color: #9ca3af; font-size: 11px; font-weight: 600; }
.planner-nets svg { grid-column: 3; grid-row: 1 / 3; width: 14px; height: 14px; color: #d82633; }
.planner-more { margin-top: 6px; color: #6b7280; font-size: 12px; font-weight: 600; }
.planner-note { margin-top: 10px; color: #6b7280; font-size: 12px; line-height: 1.5; }
.hub-planner .planner-signup { flex: 1; }
[data-theme="dark"] .planner-nets a { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .planner-nets strong { color: #fff; }
[data-theme="dark"] .planner-nets span, [data-theme="dark"] .planner-note, [data-theme="dark"] .planner-more { color: rgba(255,255,255,0.55); }
.planner-actions { display: flex; gap: 8px; margin-top: 14px; }
.planner-signup { flex: 1; justify-content: center; color: #fff; font-weight: 600; font-size: 14px; padding: 11px 14px; border-radius: 12px; }
.planner-signup svg { width: 15px; height: 15px; }
.planner-view { font: inherit; font-size: 14px; font-weight: 600; color: #111; background: #fff; border: 1.5px solid #e5e7eb; border-radius: 12px; padding: 10px 14px; cursor: pointer; transition: border-color .2s, color .2s; }
.planner-view:hover { border-color: #d82633; color: #d82633; }
.planner-roomy { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-top: 12px; font: inherit; font-size: 13px; color: rgba(255,255,255,0.85); background: transparent; border: 0; padding: 4px 2px; cursor: pointer; text-align: left; }
.planner-roomy strong { color: #fff; }
.planner-roomy svg { width: 14px; height: 14px; color: #fff; flex-shrink: 0; transition: transform .2s; }
.planner-roomy:hover { color: #fff; }
.planner-roomy:hover svg { transform: translateX(3px); }
[data-theme="dark"] .planner-pick { background: #16171d; color: #fff; box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
[data-theme="dark"] .planner-pick-row strong { color: #fff; }
[data-theme="dark"] .planner-tag { background: rgba(216,38,51,0.2); }
[data-theme="dark"] .planner-meter { color: rgba(255,255,255,0.6); }
[data-theme="dark"] .planner-meter i { background: rgba(255,255,255,0.1); }
[data-theme="dark"] .planner-view { background: transparent; color: #fff; border-color: rgba(255,255,255,0.25); }
[data-theme="dark"] .planner-warn { color: #fbbf24; }
[data-theme="dark"] .planner { background: var(--bg-card); border-color: var(--bd); box-shadow: none; }
[data-theme="dark"] .planner-sub { color: var(--tx-2); }
[data-theme="dark"] .planner-presets button { background: var(--bg-card); border-color: var(--bd-md); color: var(--tx-2); }
[data-theme="dark"] .planner-presets button.is-on { background: #d82633; border-color: #d82633; color: #fff; }
[data-theme="dark"] .planner-item { border-color: var(--bd); }
[data-theme="dark"] .planner-item.is-on { border-color: rgba(216,38,51,0.45); background: rgba(216,38,51,0.08); }
[data-theme="dark"] .planner-icon { background: rgba(255,255,255,0.05); color: var(--tx-2); }
[data-theme="dark"] .planner-text strong, [data-theme="dark"] .planner-stepper output { color: var(--tx-1); }
[data-theme="dark"] .planner-stepper button { background: transparent; border-color: var(--bd-md); color: var(--tx-1); }

/* ═════════════════════════════════════════════════════════════
   PHONES (≤ 767px)
   Shorter page on phones: slimmer header and spacing, swipeable
   price cards and guides, "Read more" on long paragraphs, compact
   planner, folding footer and a slim action bar. Desktop unchanged.
═════════════════════════════════════════════════════════════ */
.swipe-dots, .m-action-bar, .planner-mini { display: none; }

/* Contact shortcuts in the mobile menu (the top bar is hidden on phones) */

/* Short/long label pairs: long text on desktop; phones show the short one
   (the long one stays readable by screen readers and search engines) */
.l-short, .l-short-inline { display: none; }

/* "Read more" button for clamped paragraphs */
.fh-more { display: none; }

@media (max-width: 767px) {

    /* ── Tighter vertical rhythm ── */
    main > section.py-24 { padding-top: 56px !important; padding-bottom: 56px !important; }
    .section-hd { margin-bottom: 26px !important; }
    .section-hd p { font-size: 15.5px !important; }

    /* ── Long paragraphs: 3 lines + Read more (full text stays in the page) ── */
    .fh-clamp.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px !important; }
    .fh-more { display: inline-flex; align-items: center; gap: 4px; font: inherit; font-size: 13.5px; font-weight: 700; background: none; border: 0; padding: 4px 0; cursor: pointer; color: #d82633; }
    #fh-hero .fh-more { color: #fff; margin-bottom: 16px; }
    .fh-more svg { width: 14px; height: 14px; transition: transform .2s; }
    .fh-more[aria-expanded="true"] svg { transform: rotate(180deg); }

    /* ── Hero ── */
    #fh-hero { padding: 22px 0 34px; }
    #fh-hero .grid { gap: 22px; }
    .fh-crumbs ol { margin-bottom: 16px; }
    .slide-eyebrow { margin-bottom: 8px; font-size: 12px; }
    .slide-h1 { font-size: 36px; margin-bottom: 12px; }
    .slide-sub { font-size: 15.5px; margin-bottom: 14px; }
    .fh-check-hint { margin-top: 10px; }
    /* compact network card: small logo left, price right, no checklist */
    .fh-net-card { display: grid; grid-template-columns: 108px minmax(0, 1fr); align-items: center; column-gap: 16px; padding: 14px; border-radius: 20px; }
    .fh-net-logo { border-radius: 12px; }
    .fh-net-logo span { font-size: 17px; padding: 8px; }
    .fh-net-checks { display: none; }
    .fh-net-row { margin-top: 0; gap: 2px 8px; flex-wrap: wrap; }   /* "Up to" / "Networks" drops below the price if they don't fit side by side */
    .fh-net-max { margin-left: auto; }
    .fh-net-label { font-size: 11px; }
    .fh-net-label.mb-2 { margin-bottom: 4px; }
    .fh-net-from { font-size: 30px; }
    .fh-net-from small { font-size: 12px; }
    .fh-net-max strong { font-size: 17px; }
    .fh-net-foot { grid-column: 1 / -1; margin-top: 12px; padding-top: 10px; font-size: 12.5px; }

    /* ── Pricing ── */
    .fh-summary { font-size: 15px; }
    .fact-panel { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 4px; margin-bottom: 18px; border-radius: 18px; }
    .fact-panel li { flex-direction: column; justify-content: center; gap: 6px; padding: 12px 4px; text-align: center; }
    .fact-panel li:nth-child(3)::before { display: block; }
    .fact-icon { width: 30px; height: 30px; border-radius: 9px; }
    .fact-icon svg { width: 15px; height: 15px; }
    .fact-panel strong { font-size: 18px; }
    .fact-panel small { font-size: 10px; line-height: 1.25; margin-top: 3px; }
    .pkg-toolbar { gap: 12px; margin-bottom: 6px; }
    /* no wrapping: in a column a wrapping toolbar sizes its line to the widest item (the
       full chip row), which pushed the cards/table switch off screen */
    .pkg-toolbar { flex-wrap: nowrap; }
    .pkg-toolbar > * { min-width: 0; max-width: 100%; }

    /* price cards at carousel width */
    .pkg-card { padding: 0 18px 20px; }
    .pkg-card::before { margin: 0 -18px; }
    .pkg-badge { top: 22px; right: 18px; }
    .pkg-eyebrow { padding-right: 78px; letter-spacing: 0.08em; margin: 18px 0 12px; }
    .pkg-pricerow { min-height: 92px; padding: 12px 14px; gap: 8px; }
    .pkg-amt { font-size: 38px; }
    .pkg-r { font-size: 17px; margin-top: 4px; }
    .pkg-side-sub, .pkg-side-was { white-space: nowrap; font-size: 11px; }
    .pkg-side-save { font-size: 11px; padding: 3px 8px; }
    .pkg-side-value { font-size: 13px; }
    /* if the price and the promo/"Great for" side do not fit side by side, the side drops below instead of overlapping */
    .pkg-pricerow { flex-wrap: wrap; row-gap: 6px; }
    .pkg-side { min-width: auto; margin-left: auto; }
    .pkg-meters { margin-top: 14px; gap: 8px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .pkg-meter { padding: 10px 12px 12px; }
    .pkg-meter strong { font-size: 23px; }
    .pkg-list { margin: 14px 0 18px; gap: 9px 10px; }
    .pkg-list li { font-size: 12px; }
    /* two equal columns that can shrink, so a long item never pushes its neighbour out of the card */
    .pkg-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .pkg-list li { min-width: 0; }
    .has-tip { white-space: normal; }
    .has-tip::after { width: min(220px, calc(100vw - 140px)); }
    /* filters: one swipeable row of chips */
    .pkg-tabs { flex-wrap: wrap; justify-content: center !important; gap: 8px; }
    .pkg-tabs::-webkit-scrollbar { display: none; }
    .ptab { padding: 8px 13px; font-size: 12.5px; }

    /* ── Swipe rows: price cards and guide cards, one at a time with the next peeking in ── */
    .swipe-row {
        display: flex !important; flex-wrap: nowrap !important; justify-content: flex-start !important;
        gap: 14px !important; margin: 0 -24px !important; padding: 16px 24px 18px !important;
        overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 24px;
        overscroll-behavior-x: contain; scrollbar-width: none;
    }
    .swipe-row::-webkit-scrollbar { display: none; }
    .swipe-row > * { flex: 0 0 84% !important; max-width: 84%; scroll-snap-align: center; }
    .swipe-row > .is-hidden { display: none !important; }
    .swipe-row > *:hover { transform: none; }
    .swipe-dots { display: flex; justify-content: center; gap: 6px; margin: 2px 0 6px; }
    .swipe-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: #d4d4d8; cursor: pointer; transition: width .25s ease, background .25s ease; }
    .swipe-dots button.on { width: 22px; background: #d82633; }
    [data-theme="dark"] .swipe-dots button:not(.on) { background: rgba(255,255,255,0.2); }
    .pkg-views[data-view="table"] .swipe-dots { display: none; }

    /* ── "Every package includes": no photo, tight two-column list ── */
    .inc-banner { margin-top: 30px; border-radius: 22px; }
    .inc-banner-img { display: none; }
    .inc-banner-body { padding: 26px 20px 22px; }
    .inc-banner-eyebrow { margin-bottom: 8px; }
    .inc-banner-title { font-size: 22px; margin-bottom: 16px; }
    /* short, single-line labels in two tidy columns */
    .inc-banner-list { grid-template-columns: 1fr 1fr; gap: 10px 10px; margin-bottom: 22px; }
    .inc-banner-list li { align-items: flex-start; font-size: 13px; font-weight: 600; gap: 8px; min-width: 0; }
    .inc-banner-list li::before { width: 16px; height: 16px; margin-top: 1px; }
    .l-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .l-short { display: inline; }
    .l-long-inline { display: none; }
    .l-short-inline { display: inline; }
    /* two matching full-width buttons, then the link */
    .inc-banner-actions { flex-direction: column; align-items: stretch; gap: 10px; }
    .inc-banner-actions .btn-red { justify-content: center; padding-top: 14px; padding-bottom: 14px; white-space: nowrap; }
    .inc-banner-phone { justify-content: center; gap: 8px; padding: 12px 16px; border: 1.5px solid rgba(255,255,255,0.22); border-radius: 12px; }
    .inc-banner-phone-icon { width: auto; height: auto; background: none; border: 0; }
    .inc-banner-phone-icon svg { width: 16px; height: 16px; color: #fff; }
    .inc-banner-phone small { display: none; }
    .inc-banner-phone strong { font-size: 15px; }
    .inc-banner-link { display: flex; justify-content: center; margin-top: 16px; }

    /* ── Speed tools ── */
    .tool-tabs { margin-bottom: 14px; }
    .planner-main { padding: 18px; }
    .planner-head { margin-bottom: 14px; }
    .planner-presets { flex-wrap: wrap; gap: 6px; margin-top: 4px; }
    .planner-presets::-webkit-scrollbar { display: none; }

    .planner-presets > span { display: none; }   /* "Quick start:" label; the chips speak for themselves */
    .planner-grid { grid-template-columns: 1fr 1fr !important; gap: 8px; }
    .planner-item { display: grid; grid-template-columns: 32px 1fr; grid-template-areas: "icon text" "step step"; align-items: center; gap: 8px 10px; padding: 10px; }
    .planner-icon { grid-area: icon; width: 32px; height: 32px; border-radius: 10px; }
    .planner-icon svg { width: 16px; height: 16px; }
    .planner-text { grid-area: text; }
    .planner-text strong { font-size: 12.5px; line-height: 1.25; }
    .planner-text small { display: none; }
    .planner-stepper { grid-area: step; justify-content: space-between; }
    .planner-stepper button { width: 38px; height: 34px; }
    .planner-result-body { padding: 22px 18px; }
    .planner-need strong { font-size: 28px; }
    /* live mini summary pinned to the bottom of the screen while choosing activities */
    .planner-mini {
        display: flex; position: sticky; bottom: 10px; z-index: 5; margin-top: 14px;
        align-items: center; justify-content: space-between; gap: 10px;
        background: #111; color: #fff; border-radius: 14px; padding: 10px 10px 10px 14px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.25); font-size: 12.5px;
    }
    .planner-mini strong { display: block; font-size: 14px; font-weight: 800; }
    .planner-mini span { color: rgba(255,255,255,0.65); }
    .planner-mini em { font-style: normal; color: #fff; font-weight: 800; }
    .planner-mini button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; font: inherit; font-weight: 700; color: #fff; background: #d82633; border: 0; border-radius: 10px; padding: 9px 12px; cursor: pointer; }
    .planner-mini button svg { width: 14px; height: 14px; }
    .tool-card { padding: 20px; }

    /* ── Guides ── */
    .guide-img { height: 150px; margin-bottom: 26px; }

    .faq-question { font-size: 14.5px; }
    .faq-answer { padding-left: 20px !important; }

    /* ── Closing CTA ── */
    #large-cta { padding-top: 44px; padding-bottom: 44px; }

    /* ── Footer: columns fold into tap-to-open sections ── */
    #footer .pt-12 { padding-top: 32px; }
    #footer .grid { gap: 0 !important; padding-bottom: 18px; }
    #footer .grid > div:first-child { padding-bottom: 22px; }
    .ft-col { border-top: 1px solid rgba(255,255,255,0.08); }
    .ft-col .ft-head { display: flex; align-items: center; justify-content: space-between; margin: 0 !important; padding: 16px 0; cursor: pointer; }
    .ft-col .ft-head::after { content: ''; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid rgba(255,255,255,0.5); border-bottom: 2px solid rgba(255,255,255,0.5); transform: rotate(45deg); transition: transform .25s ease; }
    .ft-col.is-open .ft-head::after { transform: rotate(-135deg); }
    .ft-col > :not(.ft-head) { display: none !important; }
    .ft-col.is-open > :not(.ft-head) { display: flex !important; padding-bottom: 18px; }

    /* ── Slim action bar once the hero has scrolled away ── */
    .m-action-bar {
        display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 9990;
        align-items: center; justify-content: space-between; gap: 12px;
        padding: 9px 9px 9px 16px; border-radius: 18px;
        background: rgba(17,17,17,0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 14px 34px rgba(0,0,0,0.3);
        transform: translateY(150%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
    }
    .m-action-bar.is-on { transform: none; }
    .m-action-price small { display: block; color: rgba(255,255,255,0.6); font-size: 11px; font-weight: 600; }
    .m-action-price strong { color: #fff; font-size: 19px; font-weight: 900; line-height: 1.1; }
    .m-action-price strong span { color: rgba(255,255,255,0.5); font-size: 12px; font-weight: 600; margin-left: 2px; }
    .m-action-btn { color: #fff; font-weight: 700; font-size: 14px; padding: 12px 16px; border-radius: 12px; }
    .m-action-btn svg { width: 16px; height: 16px; }
    body.has-action-bar #chat-launcher { bottom: 84px; transition: bottom .35s ease; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .m-action-bar { transition: none; }
}

/* Smallest phones (320–359px): tighten the hero network card so nothing runs off the edge */
@media (max-width: 359px) {
    .fh-net-card { grid-template-columns: 84px minmax(0, 1fr); column-gap: 12px; padding: 12px; }
    .fh-net-from { font-size: 26px; }
    .fh-net-max strong { font-size: 15px; }
    .fh-net-row { gap: 2px 6px; flex-wrap: wrap; }
    .fh-net-max { margin-left: auto; }
    .fh-net-foot { gap: 8px; }
    .fh-net-foot a { white-space: nowrap; }
    .pkg-meter { padding: 9px 10px 11px; }
    .pkg-meter span { letter-spacing: 0.02em; font-size: 10.5px; gap: 3px; }
    .pkg-meter span svg { width: 12px; height: 12px; }
    .pkg-meter strong { font-size: 20px; }
    #large-cta .btn-outline { padding-left: 16px; padding-right: 16px; font-size: 15px; }
}

/* Narrow phones (under 375px): slightly wider swipe cards so the meters have room; the next card still peeks in */
@media (max-width: 374px) {
    .fact-panel strong { font-size: 14.5px; letter-spacing: -0.03em; }   /* "100Mbps" fits a quarter of a 320px screen */
    #pkg-grid.swipe-row > * { flex-basis: 90% !important; max-width: 90%; }
    #pkg-grid .pkg-card { padding-left: 16px; padding-right: 16px; }
}

/* Phones up to 419px: four facts in a row still fit "100Mbps" */
@media (min-width: 375px) and (max-width: 419px) { .fact-panel strong { font-size: 16px; letter-spacing: -0.03em; } }

/* Light mode: small grey labels darkened to #6b7280 for readable contrast (4.8:1 on white; was 2.5:1). Dark mode unchanged. Page audit, 3 Dec 2026 */
:root:not([data-theme="dark"]) .planner-presets span, :root:not([data-theme="dark"]) .planner-text small, :root:not([data-theme="dark"]) .planner-pick-row small, :root:not([data-theme="dark"]) .planner-nets em small, :root:not([data-theme="dark"]) .pkg-products .seg-label { color: #6b7280; }
