/**
 * Telecom Canarias — Layout 3
 * Standalone design system (geen premium/originele layout)
 */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Syne:wght@600;700;800&display=swap');

:root {
    --l3-bg: #f6f4ef;
    --l3-bg-2: #ebe8e0;
    --l3-ink: #0c0c0e;
    --l3-muted: #5c5c66;
    --l3-line: rgba(12, 12, 14, 0.1);
    --l3-accent: #ff2d55;
    --l3-accent-2: #7c3aed;
    --l3-ok-bg: rgba(124, 58, 237, 0.09);
    --l3-ok-border: rgba(124, 58, 237, 0.22);
    --l3-ok-accent: #7c3aed;
    --l3-surface: #ffffff;
    --l3-radius: 18px;
    --l3-radius-lg: 28px;
    --l3-font: 'IBM Plex Sans', system-ui, sans-serif;
    --l3-display: 'Syne', system-ui, sans-serif;
    --l3-price: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
    --l3-max: 1180px;
    --l3-gutter: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }

.l3-site {
    margin: 0;
    font-family: var(--l3-font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--l3-ink);
    background: var(--l3-bg);
    -webkit-font-smoothing: antialiased;
}

.l3-site ::selection {
    background: rgba(255, 45, 85, 0.18);
    color: var(--l3-ink);
}

.l3-site a:focus-visible,
.l3-site button:focus-visible {
    outline: 2px solid var(--l3-accent-2);
    outline-offset: 3px;
}

.l3-site .heading-serif,
.l3-site .l3-display {
    font-family: var(--l3-display);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

html {
    height: 100%;
    background: var(--l3-ink);
}

.l3-site {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--l3-bg);
}

.l3-ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.l3-app {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--l3-bg);
}

.l3-wrap {
    width: min(var(--l3-max), 100% - 2 * var(--l3-gutter));
    margin-inline: auto;
}

/* —— Header —— */
.l3-header {
    position: sticky;
    top: 0;
    z-index: 100;
    margin: 0;
    padding: 0.75rem var(--l3-gutter);
    background: color-mix(in srgb, var(--l3-bg) 88%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--l3-line);
}

.l3-header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: var(--l3-max);
    margin: 0 auto;
}

.l3-brand__img {
    display: block;
    height: 2.5rem;
    width: auto;
    max-width: min(200px, 52vw);
}

.l3-dock {
    display: none;
    flex: 1;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.35rem;
    background: var(--l3-surface);
    border: 1px solid var(--l3-line);
    border-radius: 999px;
    box-shadow: 0 8px 32px rgba(12, 12, 14, 0.06);
}

@media (min-width: 900px) { .l3-dock { display: flex; } }

.l3-dock__link {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--l3-muted);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.l3-dock__link:hover { color: var(--l3-ink); background: var(--l3-bg); }
.l3-dock__link.is-active {
    color: var(--l3-ink);
    background: var(--l3-ink);
    color: #fff;
}

.l3-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.l3-header__cta {
    display: none;
    padding: 0.6rem 1.15rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: var(--l3-ink);
    transition: transform 0.2s, background 0.2s;
}

@media (min-width: 640px) { .l3-header__cta { display: inline-flex; } }
.l3-header__cta:hover { background: var(--l3-accent); transform: translateY(-1px); }

.l3-menu-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--l3-line);
    border-radius: 12px;
    background: var(--l3-surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.l3-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--l3-ink);
    border-radius: 2px;
    transition: transform 0.2s;
}

.l3-menu-btn.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.l3-menu-btn.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (min-width: 900px) { .l3-menu-btn { display: none; } }

.l3-mobile {
    max-width: var(--l3-max);
    margin: 0.5rem auto 0;
    padding: 1rem;
    background: var(--l3-surface);
    border: 1px solid var(--l3-line);
    border-radius: var(--l3-radius);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.l3-mobile.hidden { display: none !important; }

.l3-mobile__link {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    color: var(--l3-ink);
    text-decoration: none;
}

.l3-mobile__link.is-active { background: var(--l3-bg-2); }
.l3-mobile__cta {
    margin-top: 0.5rem;
    padding: 0.85rem;
    text-align: center;
    font-weight: 700;
    border-radius: 12px;
    background: var(--l3-accent);
    color: #fff;
    text-decoration: none;
}

/* —— Buttons (legacy class names for JS/links) —— */
.l3-site .tc-btn-primary,
.l3-btn--solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    color: #fff !important;
    background: var(--l3-ink) !important;
    border: none;
    transition: transform 0.2s, background 0.2s;
}

.l3-site .tc-btn-primary:hover,
.l3-btn--solid:hover {
    background: var(--l3-accent) !important;
    transform: translateY(-2px);
}

.l3-site .tc-btn-secondary,
.l3-btn--ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    color: var(--l3-ink) !important;
    background: transparent !important;
    border: 2px solid var(--l3-line) !important;
}

.l3-site .tc-btn-outline {
    display: inline-flex;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    border: 2px solid var(--l3-line);
    color: var(--l3-ink);
    text-decoration: none;
}

.l3-site .tc-btn-outline:hover { border-color: var(--l3-ink); }

/* —— Homepage intro —— */
.l3-intro {
    display: grid;
    gap: 2.5rem;
    padding: clamp(2rem, 6vw, 4rem) var(--l3-gutter) 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.l3-intro__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--l3-accent);
    margin-bottom: 1.25rem;
}

.l3-intro__title {
    font-family: var(--l3-display);
    font-size: clamp(2.75rem, 8vw, 4.75rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin: 0 0 1.25rem;
    max-width: 14ch;
}

.l3-intro__lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--l3-muted);
    max-width: 38ch;
    margin: 0 0 2rem;
}

.l3-intro__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Full-width page hero — background photo ends at black ticker */
.l3-hero-bg {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    background-color: var(--l3-bg);
}

/* Adres-dropdown coverage: niet afknippen door hero overflow */
.l3-hero-bg:has(.l3-hero-bg__slot) {
    overflow: visible;
}

.l3-hero-bg:has(.l3-hero-bg__slot) .l3-hero-bg__inner {
    overflow: visible;
}

/* Full-bleed photo (3:2 assets); avoids Tailwind img { height:auto } gaps on tall heroes */
.l3-hero-bg--photo {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Hero → coverage results → ticker (homepage + fibra) */
.l3-hero-flow {
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
}

.l3-hero-flow > .l3-hero-bg {
    order: 1;
    position: relative;
    z-index: 2;
}

.l3-hero-flow > #tc-coverage-results,
.l3-hero-flow > .tc-coverage-results {
    order: 2;
    position: relative;
    z-index: 20;
}

.l3-hero-flow > .l3-ticker {
    order: 3;
    position: relative;
    z-index: 1;
}

.l3-hero-bg__img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
}

@media (min-width: 768px) {
    .l3-hero-bg--page .l3-hero-bg__img {
        object-position: center 42%;
    }
}

.l3-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        102deg,
        rgba(246, 244, 239, 0.94) 0%,
        rgba(246, 244, 239, 0.82) 38%,
        rgba(246, 244, 239, 0.5) 62%,
        rgba(246, 244, 239, 0.2) 100%
    );
    pointer-events: none;
}

.l3-hero-bg__inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Desktop: tekst links, zoekveld rechts (alleen pagina's met coverage-slot) */
@media (min-width: 900px) {
    .l3-hero-bg__inner:has(.l3-hero-bg__slot) {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
        align-items: start;
        gap: clamp(2rem, 4vw, 3rem);
    }

    .l3-hero-bg__inner:has(.l3-hero-bg__slot) .l3-hero-bg__slot {
        max-width: none;
        justify-self: end;
        width: 100%;
    }
}

.l3-hero-bg--home .l3-hero-bg__inner {
    padding: clamp(2rem, 6vw, 4rem) var(--l3-gutter) clamp(2.5rem, 5vw, 3.5rem);
}

.l3-hero-bg--page .l3-hero-bg__inner {
    padding: clamp(2rem, 5vw, 3.5rem) var(--l3-gutter);
}

.l3-hero-bg--page:has(.l3-hero-bg__slot) {
    min-height: clamp(320px, 50vw, 520px);
}

.l3-hero-bg--page:not(:has(.l3-hero-bg__slot)) {
    min-height: clamp(280px, 42vw, 440px);
}

@media (min-width: 768px) {
    .l3-hero-bg--page:has(.l3-hero-bg__slot) {
        min-height: clamp(360px, 38vw, 520px);
    }

    .l3-hero-bg--page:not(:has(.l3-hero-bg__slot)) {
        min-height: clamp(300px, 32vw, 480px);
    }

    .l3-hero-bg--photo.l3-hero-bg--page {
        background-position: center 42%;
    }
}

.l3-hero-bg__slot {
    min-width: 0;
    max-width: 640px;
}

.l3-hero-bg--home .l3-hero-bg__img {
    object-position: center 40%;
}

.l3-hero-bg .l3-tool-panel {
    padding: 0;
    max-width: 560px;
}

.l3-hero-bg__copy {
    min-width: 0;
    max-width: 100%;
}

.l3-hero-bg__copy .l3-intro__title,
.l3-hero-bg__copy h1 {
    text-shadow:
        0 0 1px rgba(246, 244, 239, 0.95),
        0 1px 24px rgba(246, 244, 239, 0.75);
}

.l3-hero-bg__copy .l3-intro__tag,
.l3-hero-bg__copy .l3-kicker,
.l3-hero-bg__copy .l3-page-top__meta,
.l3-hero-bg__copy .l3-intro__lead,
.l3-hero-bg__copy .l3-page-top__lead {
    text-shadow: 0 0 20px rgba(246, 244, 239, 0.85);
}

.l3-hero-bg__copy .l3-kicker {
    margin-bottom: 0;
}

.l3-hero-bg__copy .l3-page-top__meta {
    margin-bottom: 1.25rem;
}

.l3-hero-bg__copy .l3-intro__actions {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.l3-hero-bg__copy .l3-page-top__crumb {
    margin-bottom: 1rem;
}

.l3-hero-bg__copy h1 {
    font-family: var(--l3-display);
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    margin: 0 0 1rem;
    max-width: 16ch;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.l3-hero-bg__copy .l3-page-top__lead,
.l3-hero-bg__copy .l3-section__sub {
    font-size: 1.125rem;
    color: var(--l3-muted);
    max-width: 42ch;
}

.l3-intro__panel {
    position: relative;
    z-index: 2;
}

.l3-intro__panel .l3-coverage__card {
    box-shadow: 0 32px 72px rgba(12, 12, 14, 0.12);
}

/* Coverage results — tussen hero en ticker */
.l3-site #tc-coverage-results,
.l3-site .tc-coverage-results {
    position: relative;
    z-index: 20;
    background: var(--l3-bg);
    scroll-margin-top: 6rem;
}

.l3-site #tc-coverage-results:not(.hidden),
.l3-site .tc-coverage-results:not(.hidden) {
    padding: 2rem var(--l3-gutter) 2.5rem;
}

/* Ticker */
.l3-ticker {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-block: 1px solid var(--l3-line);
    background: var(--l3-ink);
    color: #fff;
    padding: 0.85rem 0;
}

.l3-ticker__track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: l3-ticker 32s linear infinite;
    position: relative;
    z-index: 0;
}

.l3-ticker__item {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.l3-ticker__item::before { content: '◆ '; opacity: 0.45; }

/* Compositor: coverage-panel boven ticker-animatie (alle schermformaten) */
.l3-hero-flow > #tc-coverage-results:not(.hidden),
.l3-hero-flow > .tc-coverage-results:not(.hidden) {
    transform: translateZ(0);
}

@keyframes l3-ticker {
    to { transform: translateX(-50%); }
}

/* Metrics row */
.l3-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--l3-line);
    border-radius: var(--l3-radius-lg);
    overflow: hidden;
    margin: 3rem auto;
    max-width: var(--l3-max);
    width: calc(100% - 2 * var(--l3-gutter));
}

@media (min-width: 768px) { .l3-metrics { grid-template-columns: repeat(4, 1fr); } }

.l3-metrics__cell {
    background: var(--l3-surface);
    padding: 1.75rem 1.25rem;
    text-align: center;
}

.l3-metrics__val {
    font-family: var(--l3-price);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--l3-ink);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}

.l3-metrics__label {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--l3-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Bento services */
.l3-section {
    padding: clamp(3rem, 8vw, 6rem) var(--l3-gutter);
}

.l3-section__head {
    max-width: 32rem;
    margin-bottom: 2.5rem;
}

.l3-kicker {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--l3-accent);
    margin-bottom: 0.75rem;
    display: block;
}

.l3-section__title {
    font-family: var(--l3-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin: 0 0 0.75rem;
}

.l3-section__sub { color: var(--l3-muted); margin: 0; }

.l3-bento {
    display: grid;
    gap: 1px;
    background: var(--l3-line);
    border-radius: var(--l3-radius-lg);
    overflow: hidden;
    max-width: var(--l3-max);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .l3-bento {
        grid-template-columns: 1.2fr 1fr;
        grid-template-rows: auto auto;
    }
}

.l3-bento__tile {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 240px;
    padding: 2rem;
    background: var(--l3-surface);
    border: 1px solid rgba(12, 12, 14, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.l3-bento__tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(12, 12, 14, 0.1);
}

.l3-bento__tile--lead {
    min-height: 320px;
}

@media (min-width: 768px) {
    .l3-bento__tile--lead { grid-row: span 2; min-height: 100%; }
}

.l3-bento__num {
    font-family: var(--l3-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--l3-accent);
    opacity: 0.18;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.l3-bento__tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--l3-accent);
    margin-bottom: 0.5rem;
}

.l3-bento__name {
    font-family: var(--l3-display);
    font-size: 1.75rem;
    margin: 0 0 0.5rem;
}

.l3-bento__desc {
    font-size: 0.9rem;
    color: var(--l3-muted);
    max-width: 28ch;
    margin: 0 0 1rem;
}

.l3-bento__go {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--l3-accent);
}

.l3-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Why — editorial list */
.l3-band {
    background: var(--l3-ink);
    color: #fff;
    padding: clamp(3rem, 8vw, 5rem) var(--l3-gutter);
}

.l3-band__grid {
    max-width: var(--l3-max);
    margin: 0 auto;
}

.l3-band .l3-kicker { color: #ff8fa8; }

.l3-band .l3-section__title { color: #fff; }

.l3-reasons {
    max-width: var(--l3-max);
    margin: 2.5rem auto 0;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.l3-reasons li {
    display: grid;
    gap: 0.5rem;
    padding: 1.75rem 0;
    border-top: 1px solid rgba(255,255,255,0.12);
}

@media (min-width: 768px) {
    .l3-reasons li {
        grid-template-columns: 12rem 1fr;
        gap: 2rem;
        align-items: start;
    }
}

.l3-reasons strong {
    font-family: var(--l3-display);
    font-size: 1.15rem;
}

.l3-reasons p { margin: 0; color: rgba(255,255,255,0.72); font-size: 0.95rem; }

.l3-band .l3-btn--ghost {
    margin-top: 2rem;
    border-color: rgba(255,255,255,0.35) !important;
    color: #fff !important;
}

/* Voices — stacked quotes */
.l3-voices {
    max-width: 52rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.l3-voice blockquote {
    margin: 0;
    font-family: var(--l3-display);
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.l3-voice footer {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--l3-muted);
}

.l3-voice footer strong { color: var(--l3-ink); display: block; }

.l3-stars { color: var(--l3-accent); letter-spacing: 0.15em; font-size: 0.8rem; margin-top: 0.5rem; }

/* CTA strip */
.l3-cta-strip {
    max-width: var(--l3-max);
    margin: 0 auto;
    padding: 3rem 2rem;
    border-radius: var(--l3-radius-lg);
    background: linear-gradient(120deg, var(--l3-accent) 0%, var(--l3-accent-2) 100%);
    color: #fff;
    text-align: center;
}

.l3-cta-strip h2 {
    font-family: var(--l3-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 0.75rem;
}

.l3-cta-strip p { margin: 0 auto 1.75rem; max-width: 36ch; opacity: 0.92; }

.l3-cta-strip .tc-btn-primary { background: #fff !important; color: var(--l3-ink) !important; }
.l3-cta-strip .tc-btn-secondary { border-color: rgba(255,255,255,0.5) !important; color: #fff !important; }

/* FAQ */
.l3-faq { max-width: 40rem; }

.l3-faq h2 {
    font-family: var(--l3-display);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.l3-faq-item {
    padding: 1.5rem 0;
    border-top: 1px solid var(--l3-line);
}

.l3-faq-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.l3-faq-item p { margin: 0; color: var(--l3-muted); font-size: 0.95rem; }

.l3-faq-more {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 700;
    color: var(--l3-accent);
    text-decoration: none;
}

/* Hub links */
.l3-site .tc-hub-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--l3-surface);
    border: 1px solid var(--l3-line);
    border-radius: var(--l3-radius);
    text-decoration: none;
    color: var(--l3-ink);
    font-weight: 600;
    transition: border-color 0.2s, transform 0.2s;
}

.l3-site .tc-hub-card:hover {
    border-color: var(--l3-ink);
    transform: translateX(4px);
}

.l3-site .tc-hub-card i { color: var(--l3-accent); width: 1.25rem; text-align: center; }

.l3-hub-grid {
    display: grid;
    gap: 0.75rem;
    max-width: var(--l3-max);
    margin: 0 auto;
}

@media (min-width: 640px) { .l3-hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .l3-hub-grid { grid-template-columns: repeat(3, 1fr); } }

/* Inner pages */
.l3-page-top {
    padding: 2.5rem var(--l3-gutter) 1.5rem;
    max-width: var(--l3-max);
    margin: 0 auto;
}

.l3-page-top h1 {
    font-family: var(--l3-display);
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    margin: 0 0 1rem;
    max-width: 16ch;
}

.l3-page-top__lead {
    font-size: 1.125rem;
    color: var(--l3-muted);
    max-width: 42ch;
    margin: 0 0 1.25rem;
}

.l3-page-top__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--l3-muted);
}

.l3-page-top__meta i { color: var(--l3-accent); margin-right: 0.35rem; }

.l3-page-top__crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--l3-muted);
}

.l3-page-top__crumb a {
    color: var(--l3-muted);
    text-decoration: none;
}

.l3-page-top__crumb a:hover {
    color: var(--l3-accent);
}

.l3-page-top__crumb-sep {
    opacity: 0.45;
}

.l3-tool-panel {
    padding: 0 var(--l3-gutter) 2rem;
    max-width: 560px;
}

.l3-block { padding: 3rem var(--l3-gutter); max-width: var(--l3-max); margin: 0 auto; }

.l3-block--narrow { max-width: 40rem; }

/* Benefits as list not cards */
.l3-benefit-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    border-top: 1px solid var(--l3-line);
}

.l3-benefit-list li {
    display: grid;
    gap: 0.35rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--l3-line);
}

@media (min-width: 640px) {
    .l3-benefit-list li { grid-template-columns: 10rem 1fr; gap: 2rem; }
}

.l3-benefit-list h3 { margin: 0; font-size: 1.05rem; }
.l3-benefit-list p { margin: 0; color: var(--l3-muted); font-size: 0.95rem; }

/* Coverage / catalog */
.l3-site #tc-coverage-results,
.l3-site .tc-coverage-results {
    max-width: var(--l3-max);
    margin: 0 auto;
}

.l3-site .tc-section-eyebrow,
.l3-site .l3-kicker { /* unified */ }

.l3-site .section-header {
    font-family: var(--l3-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--l3-ink);
    letter-spacing: -0.03em;
}

.l3-site .tc-section-intro { color: var(--l3-muted); }

.l3-site .tc-pricing-section {
    padding: 2rem var(--l3-gutter) 4rem;
    max-width: var(--l3-max);
    margin: 0 auto;
}

.l3-site .tc-catalog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.35rem;
    background: var(--l3-surface);
    border: 1px solid var(--l3-line);
    border-radius: 999px;
    margin-bottom: 2rem;
}

.l3-site .tc-catalog-tab {
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--l3-muted);
    border: none;
    background: transparent;
    cursor: pointer;
}

.l3-site .tc-catalog-tab.is-active {
    background: var(--l3-ink);
    color: #fff;
}

/* Footer — last block in page flow; nothing visible below */
.l3-foot {
    margin-top: auto;
    flex-shrink: 0;
    padding: 4rem var(--l3-gutter) 2rem;
    background: var(--l3-ink);
    color: rgba(255,255,255,0.7);
}

.l3-app > .l3-foot:last-child {
    margin-bottom: 0;
}

.l3-foot__grid {
    display: grid;
    gap: 2rem;
    max-width: var(--l3-max);
    margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
    .l3-foot__grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

.l3-foot__brand img {
    display: block;
    height: 2.5rem;
    width: auto;
    max-width: min(200px, 52vw);
}

.l3-foot__brand p { font-size: 0.9rem; margin-top: 1rem; max-width: 22rem; }

.l3-foot__label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1rem;
}

.l3-foot ul { list-style: none; padding: 0; margin: 0; }
.l3-foot li { margin-bottom: 0.5rem; }
.l3-foot a { color: inherit; text-decoration: none; }
.l3-foot a:hover { color: #fff; }

.l3-foot__bar {
    max-width: var(--l3-max);
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
}

/* Hide legacy layout patterns if any remain */
.l3-site .tc-visual-strip,
.l3-site .tc-trust-bar-wrap,
.l3-site .tc-cta-band,
.l3-site .tc-service-grid,
.l3-site .tc-stats-band,
.l3-site .tc-story-card,
.l3-site .tc-feature-grid,
.l3-site .l3-hero-shell,
.l3-site .tc-hero { display: none !important; }

.l3-site .l3-doc-panel a {
    color: var(--l3-accent);
    font-weight: 600;
    text-decoration: none;
}

.l3-site .l3-doc-panel a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.l3-site .l3-doc-panel {
    background: var(--l3-surface);
    border: 1px solid var(--l3-line);
    border-radius: var(--l3-radius-lg);
    padding: 2rem;
}

.l3-site .tc-prose { color: var(--l3-muted); }
.l3-site .tc-prose h2, .l3-site .tc-prose h3 { color: var(--l3-ink); }
.l3-site .tc-prose a { color: var(--l3-accent); }

/* SIM panel */
.l3-sim-panel {
    background: var(--l3-surface);
    border: 1px solid var(--l3-line);
    border-radius: var(--l3-radius-lg);
    padding: 2rem;
    max-width: var(--l3-max);
    margin: 0 auto;
}

.l3-sim-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) { .l3-sim-grid { grid-template-columns: 1fr 1fr; } }

.l3-sim-card {
    padding: 1.25rem;
    border-radius: var(--l3-radius);
    background: var(--l3-bg);
    border: 1px solid var(--l3-line);
}

.l3-sim-card strong { display: block; margin-bottom: 0.5rem; color: var(--l3-accent); }
.l3-sim-card p { margin: 0; font-size: 0.9rem; color: var(--l3-muted); }

.l3-sim-note {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--l3-radius);
    background: var(--l3-ink);
    color: rgba(255,255,255,0.85);
}

.l3-sim-note h3 { color: #fff; margin: 0 0 0.5rem; font-size: 1.1rem; }
.l3-sim-note a { color: #ff8fa8; font-weight: 600; }

/* Split panel (IPTV detail) */
.l3-split-panel {
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--l3-surface);
    border: 1px solid var(--l3-line);
    border-radius: var(--l3-radius-lg);
    max-width: var(--l3-max);
    margin: 0 auto;
}

@media (min-width: 768px) { .l3-split-panel { grid-template-columns: 1fr 1fr; } }

.l3-check-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.l3-check-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--l3-muted);
    font-size: 0.95rem;
}

.l3-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--l3-accent);
    font-weight: 700;
}

.l3-split-panel__aside {
    padding: 1.5rem;
    border-radius: var(--l3-radius);
    background: var(--l3-bg-2);
}

/* About stats */
.l3-stat-rows {
    list-style: none;
    padding: 0;
    margin: 2rem auto 0;
    max-width: var(--l3-max);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.l3-stat-row {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--l3-line);
}

.l3-stat-row__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.l3-stat-row__head strong { font-size: 1.1rem; }
.l3-stat-row__pct { font-size: 0.8rem; font-weight: 700; color: var(--l3-accent); }

.l3-stat-row__bar {
    height: 6px;
    background: var(--l3-bg-2);
    border-radius: 999px;
    overflow: hidden;
}

.l3-stat-row__bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--l3-accent), var(--l3-accent-2));
    border-radius: 999px;
}

.l3-stat-row p { margin: 0.75rem 0 0; font-size: 0.9rem; color: var(--l3-muted); }

.l3-about-grid {
    display: grid;
    gap: 1px;
    background: var(--l3-line);
    border-radius: var(--l3-radius-lg);
    overflow: hidden;
    max-width: var(--l3-max);
    margin: 2rem auto 0;
}

@media (min-width: 768px) { .l3-about-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .l3-about-grid { grid-template-columns: repeat(4, 1fr); } }

.l3-about-grid article {
    background: var(--l3-surface);
    padding: 1.75rem;
}

.l3-about-grid h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.l3-about-grid p { margin: 0; font-size: 0.875rem; color: var(--l3-muted); }

/* Contact */
.l3-contact-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 900px) { .l3-contact-grid { grid-template-columns: 1fr 1fr; } }

.l3-contact-email-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 0.875rem;
}

.l3-contact-label {
    color: var(--l3-muted);
    font-weight: 600;
    flex-shrink: 0;
}

.l3-contact-card {
    background: var(--l3-surface);
    border: 1px solid var(--l3-line);
    border-radius: var(--l3-radius-lg);
    padding: 2rem;
}

.l3-contact-card h2 {
    font-family: var(--l3-display);
    font-size: 1.35rem;
    margin: 0 0 1.25rem;
}

.l3-contact-form-wrap {
    grid-column: 1 / -1;
    max-width: 36rem;
    margin: 0 auto;
    width: 100%;
}

.l3-site .faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem 0;
    border: none;
    border-top: 1px solid var(--l3-line);
    background: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--l3-ink);
}

.l3-site .faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    color: var(--l3-muted);
    font-size: 0.95rem;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

.l3-site .faq-answer.is-open {
    max-height: 80rem;
    opacity: 1;
    padding: 0 0 1.25rem;
}

.l3-404 {
    text-align: center;
    padding: 5rem var(--l3-gutter);
    max-width: 28rem;
    margin: 0 auto;
}

.l3-404__code {
    font-family: var(--l3-display);
    font-size: clamp(5rem, 20vw, 8rem);
    line-height: 1;
    color: var(--l3-accent);
    margin: 0;
}

/* Links & alerts (contact, FAQ, legal) */
.l3-site .l3-link {
    color: var(--l3-accent);
    font-weight: 700;
    text-decoration: none;
}

.l3-site .l3-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.l3-site .l3-alert {
    padding: 2rem 1.5rem;
    border-radius: var(--l3-radius-lg);
    text-align: center;
}

.l3-site .l3-alert--ok {
    background: var(--l3-ok-bg);
    border: 1px solid var(--l3-ok-border);
    color: var(--l3-ink);
}

.l3-site .l3-alert--ok i { color: var(--l3-ok-accent); }

.l3-site .l3-alert--ok h3 {
    font-family: var(--l3-display);
    margin: 0.75rem 0 0;
    font-size: 1.25rem;
}

.l3-site .l3-alert--fail {
    background: rgba(255, 45, 85, 0.06);
    border: 1px solid rgba(255, 45, 85, 0.2);
    color: var(--l3-ink);
}

.l3-site .l3-alert--fail i { color: var(--l3-accent); }

.l3-site .l3-alert--fail h3 {
    font-family: var(--l3-display);
    margin: 0.75rem 0 0;
    font-size: 1.25rem;
}

/* FAQ accordion (legacy markup, layout3 skin) */
.l3-site #faq-accordion .faq-accordion {
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    margin: 0 !important;
}

.l3-site #faq-accordion .faq-question {
    padding: 1.25rem 0 !important;
    font-size: 1rem !important;
    color: var(--l3-ink) !important;
    background: none !important;
}

.l3-site #faq-accordion .faq-question:hover {
    background: none !important;
    color: var(--l3-accent) !important;
}

.l3-site #faq-accordion .faq-question i {
    color: var(--l3-muted) !important;
    font-size: 0.75rem !important;
    transition: transform 0.2s, color 0.2s;
}

.l3-site #faq-accordion .faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
    color: var(--l3-accent-2) !important;
}

.l3-site #faq-accordion .faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    color: var(--l3-muted) !important;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease !important;
}

.l3-site #faq-accordion .faq-answer.is-open {
    max-height: 80rem !important;
    opacity: 1 !important;
    padding: 0 0 1.25rem !important;
}

.l3-site #faq-accordion .faq-answer a {
    color: var(--l3-accent);
    font-weight: 700;
}

.l3-site #faq-accordion .faq-answer.is-open p {
    padding-top: 0.5rem !important;
    padding-bottom: 0 !important;
}

.l3-site .tc-contact-email-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--l3-line);
}

@media (min-width: 640px) {
    .l3-site .tc-contact-email-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
        gap: 1rem;
    }
}

.l3-site .tc-contact-email-row--last {
    border-bottom: none;
    padding-bottom: 0;
}

.l3-site .tc-contact-email-row a {
    word-break: break-all;
}

.l3-site .tc-recaptcha-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
}

.l3-site .tc-recaptcha-wrap .g-recaptcha {
    transform-origin: left top;
}

@media (max-width: 399px) {
    .l3-site .tc-recaptcha-wrap .g-recaptcha {
        transform: scale(0.88);
        margin-bottom: -6px;
    }
}

/* Contact form */
.l3-site .tc-contact-form input,
.l3-site .tc-contact-form textarea,
.l3-site .tc-contact-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 2px solid var(--l3-line);
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--l3-ink);
    background: var(--l3-bg);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.l3-site .tc-contact-form input:focus,
.l3-site .tc-contact-form textarea:focus,
.l3-site .tc-contact-form select:focus {
    outline: none;
    border-color: var(--l3-ink);
    background: var(--l3-surface);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.l3-site .tc-contact-form label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--l3-ink);
}

.l3-site .tc-contact-email-row a {
    color: var(--l3-accent);
    font-weight: 700;
    text-decoration: none;
}

.l3-site .tc-contact-email-row a:hover {
    text-decoration: underline;
}
