/*
 * FAST-on-Broadcast service page. FAST green (#9AE08F) is the service accent: kickers,
 * chart marks and the map scale only, never a section fill.
 * Mobile first (320 px), widened at 576 / 768 / 992 / 1200. Motion runs only under
 * html.amtecco-motion (set by amtecco-site.js, off for prefers-reduced-motion) and
 * animates transform and opacity only; every chart is complete without it.
 */

.fob-page {
    --fob-accent: var(--amtecco-fast, #9ae08f);
    --fob-card: var(--amtecco-graphite, #1a1d20);
    --fob-card-2: var(--amtecco-graphite-2, #22262a);
    --fob-radius: 6px;
    /* Sequential map scale, one hue from low to high (validated against the carbon panel). */
    --fob-c0: #2a2f33;
    --fob-c1: #2f4a33;
    --fob-c2: #3f6a45;
    --fob-c3: #568f5b;
    --fob-c4: #76ba74;
    --fob-c5: #9ae08f;
    --amtecco-mark: var(--amtecco-steel);
}

.sf-site .fob-page .amtecco-kicker {
    color: var(--fob-accent) !important;
}

.sf-site .fob-page .amtecco-section {
    padding-block: clamp(3.5rem, 7vw, 6rem);
}

/* ---------- Section heads ---------- */

.fob-head {
    max-width: 46rem;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.sf-site .fob-head h2,
.sf-site .fob-faq h2 {
    max-width: 22ch;
    margin: 0;
    font-size: clamp(1.875rem, 4.4vw, 3.25rem);
    font-weight: 560;
    letter-spacing: -0.03em;
    line-height: 1.06;
    text-wrap: balance;
}

.sf-site .fob-answer {
    max-width: 44rem;
    margin: 1.25rem 0 0;
    color: var(--amtecco-paper-soft);
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
    line-height: 1.55;
}

@media (min-width: 992px) {
    .fob-head--split {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: clamp(2.5rem, 5vw, 5rem);
        align-items: end;
        max-width: none;
    }

    .fob-head--split .amtecco-kicker {
        grid-column: 1;
    }

    .fob-head--split h2 {
        grid-column: 1;
    }

    .sf-site .fob-head--split .fob-answer {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: end;
        margin: 0;
    }
}

/* ---------- Hero TV additions (autostart, counted) ---------- */

.sf-site .fob-page .amtecco-tv__zap {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    color: var(--amtecco-paper);
    font-family: var(--amtecco-mono);
    font-size: 0.625rem;
    letter-spacing: 0.06em;
}

.sf-site .fob-page .amtecco-tv__start {
    flex: none;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--fob-accent);
}

.sf-site .fob-page .amtecco-tv__counted {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    padding: 0.05rem 0.35rem;
    border: 1px solid rgba(154, 224, 143, 0.6);
    border-radius: 2px;
    color: var(--fob-accent);
    font-family: var(--amtecco-mono);
    font-size: 0.5625rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---------- Scale: one satellite position against a TV maker's FAST service ---------- */

.sf-site .fob-scale__stat {
    display: grid;
    gap: 0.5rem;
    max-width: 52rem;
    margin: 0 0 clamp(2rem, 5vw, 3rem);
}

.fob-scale__stat strong {
    color: var(--fob-accent);
    font-family: var(--amtecco-display);
    font-size: clamp(4rem, 2.5rem + 8vw, 9rem);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 0.9;
}

.fob-scale__stat span {
    max-width: 40rem;
    color: var(--amtecco-paper);
    font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem);
    line-height: 1.45;
}

.fob-scale__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 3.5rem);
}

.sf-site .fob-scale__copy h2 {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(1.875rem, 4.4vw, 3.25rem);
    font-weight: 560;
    letter-spacing: -0.03em;
    line-height: 1.06;
    text-wrap: balance;
}

.sf-site .fob-scale__copy .fob-scale__stat {
    margin: clamp(1.5rem, 4vw, 2.25rem) 0 0;
}

@media (min-width: 1100px) {
    .fob-scale__grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        align-items: center;
    }

    .fob-scale__grid .fob-units__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem;
    }

    .fob-scale__grid .fob-scale__stat strong {
        font-size: clamp(4rem, 1rem + 6vw, 7.5rem);
    }
}

/* Zap in versus open an app */
.fob-zap {
    margin-top: clamp(2.5rem, 6vw, 4rem);
}

.sf-site .fob-zap__title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
    font-weight: 600;
    line-height: 1.2;
}

.fob-zap__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.fob-zap__path {
    display: grid;
    align-content: start;
    gap: 1rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--amtecco-line);
    border-radius: var(--fob-radius);
    background: var(--amtecco-carbon);
}

.fob-zap__path--ours {
    border-color: rgba(154, 224, 143, 0.55);
    background:
        radial-gradient(30rem 14rem at 0% 0%, rgba(154, 224, 143, 0.09), transparent 70%),
        var(--fob-card);
}

.sf-site .fob-zap__label {
    margin: 0;
    color: var(--amtecco-steel);
    font-family: var(--amtecco-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fob-zap__path--ours .fob-zap__label {
    color: var(--fob-accent);
}

.fob-zap__steps {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fob-zap__steps li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: var(--amtecco-paper);
    font-size: 1rem;
    line-height: 1.4;
}

.fob-zap__path--ours .fob-zap__steps li {
    font-family: var(--amtecco-display);
    font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
    font-weight: 600;
    line-height: 1.25;
}

.fob-zap__key {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border: 1px solid rgba(154, 224, 143, 0.6);
    border-radius: 50%;
    background: var(--amtecco-carbon-deep);
    color: var(--fob-accent);
    font-family: var(--amtecco-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.fob-zap__steps--many li {
    position: relative;
    padding-bottom: 0.25rem;
    color: var(--amtecco-paper-soft);
}

.fob-zap__n {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid var(--amtecco-line-strong);
    border-radius: 50%;
    color: var(--amtecco-steel);
    font-family: var(--amtecco-mono);
    font-size: 0.75rem;
}

.sf-site .fob-zap__result {
    margin: 0;
    color: var(--amtecco-paper-soft);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.fob-zap__path--ours .fob-zap__result {
    color: var(--amtecco-paper);
}

.fob-zap__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fob-zap__chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3rem 0.7rem;
    border: 1px solid rgba(154, 224, 143, 0.4);
    border-radius: 4px;
    color: var(--amtecco-paper);
    font-size: 0.875rem;
}

.fob-zap__chips .amtecco-icon {
    color: var(--fob-accent);
}

@media (min-width: 768px) {
    .fob-zap__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }
}

/* ---------- Choice: analytics, FAST, or both ---------- */

.fob-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.fob-option {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: 0.75rem;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border: 1px solid var(--amtecco-line);
    border-radius: var(--fob-radius);
    background: var(--fob-card);
}

.fob-option--both {
    border-color: rgba(154, 224, 143, 0.55);
    background:
        radial-gradient(28rem 12rem at 100% 0%, rgba(154, 224, 143, 0.08), transparent 70%),
        var(--fob-card);
}

.sf-site .fob-option__label {
    margin: 0.5rem 0 0;
    color: var(--fob-accent);
    font-family: var(--amtecco-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sf-site .fob-option h3 {
    margin: 0;
    font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.25;
}

.fob-option__gets {
    display: grid;
    align-content: start;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fob-option__gets li {
    display: grid;
    grid-template-columns: 1.125rem minmax(0, 1fr);
    gap: 0.5rem;
    color: var(--amtecco-paper-soft);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.fob-option__gets .amtecco-icon {
    margin-top: 0.2rem;
    color: var(--fob-accent);
}

.fob-option .amtecco-text-link {
    margin-top: 0.25rem;
}

.fob-screen__count {
    position: absolute;
    top: 8%;
    left: 5%;
    padding: 0.1rem 0.4rem;
    border: 1px solid rgba(154, 224, 143, 0.6);
    border-radius: 2px;
    color: var(--fob-accent);
    font-family: var(--amtecco-mono);
    font-size: 0.625rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fob-screen__chart {
    position: absolute;
    right: 6%;
    bottom: 10%;
    left: 6%;
    display: flex;
    align-items: end;
    gap: 6%;
    height: 45%;
}

.fob-screen__chart i {
    flex: 1;
    height: 100%;
    border-radius: 2px 2px 0 0;
    background: var(--fob-accent);
    transform: scaleY(var(--v));
    transform-origin: center bottom;
}

/* Unit chart: five dots tall, one column per five million. */
.fob-units {
    --dot: clamp(0.5rem, 0.25rem + 0.75vw, 1.125rem);
    --gap: clamp(2px, 0.1rem + 0.15vw, 4px);
    display: grid;
    gap: 0.875rem;
    margin: 0;
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid var(--amtecco-line);
    border-radius: var(--fob-radius);
    background: var(--amtecco-carbon);
}

.sf-site .fob-units__group {
    max-width: none;
    margin: 0.75rem 0 0;
    padding-top: 0.875rem;
    border-top: 1px solid var(--amtecco-line);
    color: var(--amtecco-paper-soft);
    font-size: 0.875rem;
    font-weight: 600;
}

.fob-units__list {
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.25rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.fob-units__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.625rem;
}

.fob-units__label {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.75rem;
}

.fob-units__label strong {
    color: var(--amtecco-paper);
    font-size: 1rem;
    font-weight: 600;
}

.fob-units__value {
    color: var(--amtecco-paper);
    font-family: var(--amtecco-mono);
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.fob-units__row.is-satellite .fob-units__value {
    color: var(--fob-accent);
}

.fob-units__unit {
    flex-basis: 100%;
    color: var(--amtecco-steel);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.fob-units__dots {
    display: grid;
    grid-auto-columns: var(--dot);
    grid-auto-flow: column;
    grid-template-rows: repeat(5, var(--dot));
    gap: var(--gap);
    justify-content: start;
}

.fob-units__dots i {
    border-radius: 50%;
    background: var(--amtecco-steel-dark);
}

.fob-units__row.is-satellite .fob-units__dots i {
    background: var(--fob-accent);
}

.sf-site .fob-units__none {
    color: var(--amtecco-steel);
    font-size: 0.875rem;
    font-style: italic;
}

.amtecco-motion .fob-units[data-motion-diagram] .fob-units__dots i {
    transition: opacity var(--amtecco-motion-reveal) var(--amtecco-ease-out), transform var(--amtecco-motion-reveal) var(--amtecco-ease-out);
    transition-delay: calc(var(--c) * 12ms);
}

.amtecco-motion .fob-units[data-motion-diagram]:not(.is-diagram-visible) .fob-units__dots i {
    opacity: 0;
    transform: scale(0.4);
}

@media (min-width: 768px) {
    .fob-units__row {
        grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
        align-items: center;
        gap: 1.5rem;
    }
}

/* Most-watched programmes (needs the programme guide) */
.fob-panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.fob-panel__tag {
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(154, 224, 143, 0.5);
    border-radius: 3px;
    color: var(--fob-accent);
    font-family: var(--amtecco-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
}

.fob-epg {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.fob-epg :is(th, td) {
    padding: 0.55rem 0.75rem 0.55rem 0;
    border-bottom: 1px solid var(--amtecco-line);
    text-align: right;
    vertical-align: middle;
}

.fob-epg thead th {
    color: var(--amtecco-steel);
    font-family: var(--amtecco-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fob-epg :is(thead th:first-child, tbody th) {
    text-align: left;
}

.fob-epg tbody th {
    display: grid;
    grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    color: var(--amtecco-paper);
    font-weight: 500;
}

.fob-epg tbody tr:first-child th span:first-child {
    color: var(--fob-accent);
}

.fob-epg__bar {
    position: relative;
    height: 0.5rem;
    overflow: hidden;
}

.fob-epg__bar i {
    position: absolute;
    inset: 0;
    border-radius: 0 3px 3px 0;
    background: var(--fob-accent);
    transform: scaleX(var(--v, 0));
    transform-origin: left center;
}

.fob-epg td {
    color: var(--amtecco-paper-soft);
    font-family: var(--amtecco-mono);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.amtecco-motion [data-motion-diagram]:not(.is-diagram-visible) .fob-epg__bar i {
    transform: scaleX(0);
}

.amtecco-motion .fob-epg__bar i {
    transition: transform var(--amtecco-motion-diagram) var(--amtecco-ease-out);
}

/* On phones the programme table keeps the title and watch hours; the bar and the extra columns drop. */
@media (max-width: 575.98px) {
    .fob-epg tbody th {
        grid-template-columns: minmax(0, 1fr);
    }

    .fob-epg__bar {
        display: none;
    }

    .fob-epg :is(th, td):nth-child(n+3) {
        display: none;
    }
}

/* ---------- Demo dashboard ---------- */

.fob-dash {
    position: relative;
    display: grid;
    gap: clamp(0.75rem, 1.6vw, 1rem);
    margin: 0;
    padding: clamp(0.75rem, 2vw, 1.25rem);
    border: 1px solid var(--fob-card-2);
    border-radius: 10px;
    background: var(--amtecco-carbon-deep);
    box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
}

.fob-dash__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: clamp(0.75rem, 1.6vw, 1rem);
    border-bottom: 1px solid var(--amtecco-line);
}

.sf-site .fob-dash__title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin: 0;
    color: var(--amtecco-paper);
    font-family: var(--amtecco-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fob-dash__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.fob-dash__periods {
    display: inline-flex;
    padding: 2px;
    border: 1px solid var(--amtecco-line);
    border-radius: 6px;
}

.fob-dash__periods:not([hidden]) + .fob-dash__period {
    display: none;
}

.fob-dash__periods button {
    min-height: 44px;
    padding: 0 0.875rem;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--amtecco-steel);
    font: 500 0.875rem/1 var(--amtecco-sans);
    cursor: pointer;
    transition: background-color var(--amtecco-motion-ui) var(--amtecco-ease-standard), color var(--amtecco-motion-ui) var(--amtecco-ease-standard);
}

.fob-dash__periods button[aria-pressed="true"] {
    background: var(--fob-card-2);
    color: var(--amtecco-paper);
}

.fob-dash__periods button:focus-visible {
    outline: 2px solid var(--fob-accent);
    outline-offset: 2px;
}

.fob-dash__period {
    color: var(--amtecco-steel);
    font-size: 0.875rem;
}

.fob-stamp {
    padding: 0.3rem 0.55rem;
    border-radius: 3px;
    background: var(--fob-accent);
    color: #08160c;
    font-family: var(--amtecco-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Headline numbers */
.fob-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.5rem, 1.2vw, 0.75rem);
    margin: 0;
}

.fob-tile {
    display: grid;
    align-content: start;
    gap: 0.35rem;
    min-width: 0;
    padding: clamp(0.75rem, 2vw, 1.125rem);
    border: 1px solid var(--amtecco-line);
    border-radius: var(--fob-radius);
    background: var(--amtecco-carbon);
}

.fob-tile dt {
    color: var(--amtecco-steel);
    font-family: var(--amtecco-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.fob-tile dd {
    display: grid;
    gap: 0.2rem;
    margin: 0;
}

.fob-tile strong {
    color: var(--amtecco-paper);
    font-family: var(--amtecco-display);
    font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.375rem);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.05;
    overflow-wrap: anywhere;
    transition: opacity var(--amtecco-motion-ui) var(--amtecco-ease-standard);
}

.fob-tile dd span {
    color: var(--amtecco-steel);
    font-size: 0.8125rem;
    line-height: 1.35;
}

.fob-tile:first-child strong {
    color: var(--fob-accent);
}

@media (min-width: 768px) {
    .fob-tiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Panels: the map leads; the smaller charts share the row beneath it. */
.fob-dash__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "map" "top" "brands" "hours" "epg";
    gap: clamp(0.5rem, 1.2vw, 0.75rem);
}

.fob-panel {
    display: grid;
    align-content: start;
    gap: 0.875rem;
    min-width: 0;
    padding: clamp(0.875rem, 2vw, 1.25rem);
    border: 1px solid var(--amtecco-line);
    border-radius: var(--fob-radius);
    background: var(--amtecco-carbon);
}

.fob-panel--map { grid-area: map; }
.fob-panel--top { grid-area: top; }
.fob-panel--brands { grid-area: brands; }
.fob-panel--hours { grid-area: hours; }
.fob-panel--epg { grid-area: epg; }

.sf-site .fob-panel__title {
    margin: 0;
    color: var(--amtecco-steel);
    font-family: var(--amtecco-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.sf-site .fob-panel__title--next {
    margin-top: 0.5rem;
}

.fob-panel--top {
    grid-template-rows: auto 1fr;
}

.fob-panel--top .fob-rank {
    align-content: space-between;
}

.fob-panel--hours {
    grid-template-rows: auto 1fr auto;
}

@media (min-width: 768px) {
    .fob-dash__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "map map" "top brands" "hours hours" "epg epg";
    }
}

@media (min-width: 992px) {
    .fob-dash__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-areas: "map map top" "brands hours hours" "epg epg epg";
    }
}

/* Map */
.fob-panel--map {
    display: flex;
    flex-direction: column;
}

.fob-map {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
}

.fob-map svg {
    display: block;
    width: 100%;
    height: auto;
}

.fob-map__land path {
    fill: var(--fob-c0);
    stroke: var(--amtecco-carbon);
    stroke-width: 0.8;
    stroke-linejoin: round;
    transition: fill var(--amtecco-motion-reveal) var(--amtecco-ease-standard), opacity var(--amtecco-motion-reveal) var(--amtecco-ease-standard);
}

.fob-map__land .fob-map__c1 { fill: var(--fob-c1); }
.fob-map__land .fob-map__c2 { fill: var(--fob-c2); }
.fob-map__land .fob-map__c3 { fill: var(--fob-c3); }
.fob-map__land .fob-map__c4 { fill: var(--fob-c4); }
.fob-map__land .fob-map__c5 { fill: var(--fob-c5); }

.fob-map__land path[data-country]:not(.fob-map__c0) {
    cursor: pointer;
}

.fob-map.is-pointing .fob-map__land path[data-country]:not(.is-hot) {
    opacity: 0.55;
}

.fob-map__land path.is-hot {
    stroke: var(--amtecco-paper);
    stroke-width: 1.4;
}

.sf-site .fob-map__tip {
    position: absolute;
    z-index: 2;
    margin: 0;
    padding: 0.45rem 0.625rem;
    border: 1px solid var(--amtecco-line-strong);
    border-radius: 4px;
    background: rgba(9, 11, 13, 0.94);
    color: var(--amtecco-paper);
    font-size: 0.8125rem;
    line-height: 1.35;
    white-space: nowrap;
    pointer-events: none;
    transform: translate(-50%, calc(-100% - 12px));
}

.fob-map__tip strong {
    display: block;
    font-family: var(--amtecco-mono);
    font-variant-numeric: tabular-nums;
}

.sf-site .fob-map__legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
    margin: 0;
    color: var(--amtecco-steel);
    font-size: 0.75rem;
}

.fob-map__legend span:first-child { margin-right: 0.375rem; }
.fob-map__legend span:last-child { margin-left: 0.375rem; }

.fob-map__legend i {
    width: 1.5rem;
    height: 0.5rem;
    border-radius: 1px;
}

.fob-map__legend .fob-map__c1 { background: var(--fob-c1); }
.fob-map__legend .fob-map__c2 { background: var(--fob-c2); }
.fob-map__legend .fob-map__c3 { background: var(--fob-c3); }
.fob-map__legend .fob-map__c4 { background: var(--fob-c4); }
.fob-map__legend .fob-map__c5 { background: var(--fob-c5); }

/* Top countries */
.fob-rank {
    display: grid;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: rank;
}

.fob-rank li {
    display: grid;
    grid-template-columns: 1.5rem minmax(6rem, 10rem) minmax(2rem, 1fr) auto;
    align-items: center;
    gap: 0.625rem;
    min-height: 2rem;
    padding: 0 0.375rem;
    border-radius: 3px;
    font-size: 0.875rem;
    counter-increment: rank;
}

.fob-rank li::before {
    color: var(--amtecco-steel-dark);
    font-family: var(--amtecco-mono);
    font-size: 0.75rem;
    content: counter(rank, decimal-leading-zero);
}

.fob-rank li.is-hot {
    background: var(--fob-card);
}

.fob-rank__name {
    overflow: hidden;
    color: var(--amtecco-paper);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fob-rank__bar,
.fob-hbars__track {
    position: relative;
    height: 0.5rem;
    overflow: hidden;
}

.fob-rank__bar i,
.fob-hbars__track i {
    position: absolute;
    inset: 0;
    border-radius: 0 3px 3px 0;
    background: var(--fob-accent);
    transform: scaleX(var(--v, 0));
    transform-origin: left center;
}

.fob-rank__value,
.fob-hbars__value {
    color: var(--amtecco-paper-soft);
    font-family: var(--amtecco-mono);
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

/* Horizontal bars (TV brands, reach) */
.fob-hbars {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fob-hbars li {
    display: grid;
    grid-template-columns: minmax(0, 6.5rem) minmax(0, 1fr) 3.25rem;
    align-items: center;
    gap: 0.75rem;
    color: var(--amtecco-paper);
    font-size: 0.875rem;
}

.fob-hbars li > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* HbbTV version split */
.fob-split {
    display: flex;
    gap: 2px;
    height: 0.875rem;
    overflow: hidden;
    border-radius: 3px;
}

.fob-split__part {
    flex: var(--v) 1 0;
    transition: flex-grow var(--amtecco-motion-reveal) var(--amtecco-ease-standard);
}

.fob-split__part--0,
.fob-split__key--0 { background: var(--fob-accent); }
.fob-split__part--1,
.fob-split__key--1 { background: var(--fob-c2); }

.fob-split__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem 1.25rem;
    margin: 0;
    padding: 0;
    color: var(--amtecco-paper-soft);
    font-size: 0.875rem;
    list-style: none;
}

.fob-split__legend li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.fob-split__legend strong {
    color: var(--amtecco-paper);
    font-family: var(--amtecco-mono);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.fob-split__key {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 2px;
}

/* Viewers by hour */
.fob-hours {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    align-items: end;
    gap: 2px;
    min-height: 7rem;
    border-bottom: 1px solid var(--amtecco-line-strong);
}

.fob-hours i {
    height: 100%;
    border-radius: 2px 2px 0 0;
    background: var(--fob-c3);
    transform: scaleY(var(--v, 0));
    transform-origin: center bottom;
}

.fob-hours i.is-peak {
    background: var(--fob-accent);
}

.sf-site .fob-hours__axis {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 2px;
    margin: -0.375rem 0 0;
    color: var(--amtecco-steel);
    font-family: var(--amtecco-mono);
    font-size: 0.6875rem;
}

.fob-hours__axis span {
    justify-self: center;
    white-space: nowrap;
}

/* Caption and table view */
.sf-site .fob-dash__caption {
    max-width: 60rem;
    margin: 0;
    color: var(--amtecco-steel);
    font-size: 0.875rem;
    line-height: 1.5;
}

.fob-table {
    border-top: 1px solid var(--amtecco-line);
    padding-top: 0.5rem;
}

.fob-table summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--amtecco-paper-soft);
    font-size: 0.875rem;
    cursor: pointer;
}

.fob-table summary:focus-visible {
    outline: 2px solid var(--fob-accent);
    outline-offset: 2px;
}

.fob-table__scroll {
    max-height: 22rem;
    overflow: auto;
}

.fob-table table {
    width: 100%;
    max-width: 36rem;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.fob-table :is(th, td) {
    padding: 0.45rem 0.75rem 0.45rem 0;
    border-bottom: 1px solid var(--amtecco-line);
    color: var(--amtecco-paper-soft);
    font-weight: 400;
    text-align: left;
}

.fob-table thead th {
    color: var(--amtecco-steel);
    font-family: var(--amtecco-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fob-table td {
    font-family: var(--amtecco-mono);
    font-variant-numeric: tabular-nums;
}

/* Chart motion: bars grow once when the dashboard scrolls into view, then follow the period switch. */
.amtecco-motion [data-motion-diagram]:not(.is-diagram-visible) :is(.fob-rank__bar i, .fob-hbars__track i) {
    transform: scaleX(0);
}

.amtecco-motion [data-motion-diagram]:not(.is-diagram-visible) .fob-hours i {
    transform: scaleY(0);
}

.amtecco-motion [data-motion-diagram]:not(.is-diagram-visible) .fob-map__land path[data-country] {
    opacity: 0.35;
}

.amtecco-motion :is(.fob-rank__bar i, .fob-hbars__track i, .fob-hours i) {
    transition: transform var(--amtecco-motion-diagram) var(--amtecco-ease-out);
}

.amtecco-motion .fob-hours i {
    transition-delay: calc(var(--i, 0) * 10ms);
}

.fob-dash.is-switching .fob-tile strong {
    opacity: 0.35;
}

/* ---------- Launch ---------- */

.fob-launch__steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(0.75rem, 2vw, 1rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.fob-launch__steps li {
    position: relative;
    display: grid;
    align-content: start;
    gap: 0.5rem;
    padding: 1.25rem 1.25rem 1.375rem;
    border: 1px solid var(--amtecco-line);
    border-top: 2px solid var(--fob-accent);
    border-radius: var(--fob-radius);
    background: var(--fob-card);
}

.fob-launch__n {
    color: var(--fob-accent);
    font-family: var(--amtecco-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.sf-site .fob-launch__steps h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
}

.sf-site .fob-launch__steps p {
    margin: 0;
    color: var(--amtecco-paper-soft);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.amtecco-motion .fob-launch__steps[data-motion-diagram] li {
    transition: opacity var(--amtecco-motion-reveal) var(--amtecco-ease-out), transform var(--amtecco-motion-reveal) var(--amtecco-ease-out);
    transition-delay: calc(var(--step) * 60ms);
}

.amtecco-motion .fob-launch__steps[data-motion-diagram]:not(.is-diagram-visible) li {
    opacity: 0;
    transform: translateY(14px);
}

.fob-launch__auto {
    display: grid;
    gap: 0.875rem;
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.sf-site .fob-launch__auto h3 {
    margin: 0;
    color: var(--amtecco-steel);
    font-family: var(--amtecco-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fob-launch__auto ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fob-launch__auto li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.5rem;
    padding: 0.375rem 0.875rem;
    border: 1px solid var(--amtecco-line);
    border-radius: 4px;
    color: var(--amtecco-paper);
    font-size: 0.9375rem;
}

.fob-launch__auto .amtecco-icon {
    flex: none;
    color: var(--fob-accent);
}

@media (min-width: 576px) {
    .fob-launch__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .fob-launch__steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Drawn TV screens (choice cards) ---------- */

.fob-screen {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 6px solid var(--fob-card-2);
    border-radius: var(--fob-radius);
    background: #111c15;
}

.fob-screen__picture {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 55%, rgba(9, 11, 13, 0.55)),
        linear-gradient(135deg, #24382b, #111c15 70%);
}

.fob-screen b {
    color: #08160c;
    font-family: var(--amtecco-mono);
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fob-screen__break {
    position: absolute;
    right: 6%;
    bottom: 8%;
    left: 6%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
}

.fob-screen__break b {
    flex: 0 0 100%;
    margin-bottom: 0.25rem;
    color: var(--fob-accent);
}

.fob-screen__break i {
    flex: 1 1 0;
    height: 5px;
    border-radius: 1px;
    background: rgba(244, 241, 234, 0.25);
}

.fob-screen__break i.is-ad {
    background: var(--fob-accent);
}

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

/* ---------- Reach (engineer layer) ---------- */

.fob-reach__chart {
    display: grid;
    align-content: start;
    gap: 1rem;
    margin: 0;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border: 1px solid var(--amtecco-line);
    border-radius: var(--fob-radius);
    background: var(--amtecco-carbon);
}

.sf-site .fob-reach__intro {
    max-width: 60ch;
    margin: 0.5rem 0 1.25rem;
    color: var(--amtecco-paper-soft);
}

.fob-hbars--reach li {
    grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) 6.75rem;
}

.sf-site .fob-source {
    margin: 0;
    color: var(--amtecco-steel);
    font-size: 0.8125rem;
    line-height: 1.5;
}


/* ---------- Engineers: spec and terms ---------- */

.fob-spec,
.fob-terms {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    margin: 1.25rem 0 0;
    overflow: hidden;
    border: 1px solid var(--amtecco-line);
    border-radius: var(--fob-radius);
    background: var(--amtecco-line);
}

.fob-spec > div,
.fob-terms > div {
    display: grid;
    gap: 0.25rem;
    padding: 0.9rem 1rem;
    background: var(--amtecco-carbon);
}

.fob-spec dt,
.fob-terms dt {
    color: var(--fob-accent);
    font-family: var(--amtecco-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fob-terms dfn {
    font-style: normal;
}

.fob-spec dd,
.fob-terms dd {
    margin: 0;
    color: var(--amtecco-paper-soft);
    font-size: 0.9375rem;
    line-height: 1.45;
}

@media (min-width: 768px) {
    .fob-spec,
    .fob-terms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Questions and closing action ---------- */

.sf-site .fob-faq h2 {
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.fob-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
}

.fob-faq__list {
    display: grid;
    border-top: 1px solid var(--amtecco-line);
}

.fob-faq__item {
    border-bottom: 1px solid var(--amtecco-line);
}

.fob-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.5rem;
    padding: 0.875rem 0;
    color: var(--amtecco-paper);
    font-family: var(--amtecco-display);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

.fob-faq__item summary::-webkit-details-marker {
    display: none;
}

.fob-faq__item summary::after {
    flex: none;
    width: 0.625rem;
    height: 0.625rem;
    border-right: 1.5px solid var(--fob-accent);
    border-bottom: 1.5px solid var(--fob-accent);
    content: "";
    transform: rotate(45deg) translateY(-25%);
    transition: transform var(--amtecco-motion-ui) var(--amtecco-ease-standard);
}

.fob-faq__item[open] summary::after {
    transform: rotate(-135deg);
}

.fob-faq__item summary:focus-visible {
    outline: 2px solid var(--fob-accent);
    outline-offset: 2px;
}

.sf-site .fob-faq__item p {
    max-width: 62ch;
    margin: 0 0 1.25rem;
    color: var(--amtecco-paper-soft);
    font-size: 0.9875rem;
    line-height: 1.6;
}

@media (min-width: 992px) {
    .fob-faq__grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        align-items: start;
    }
}

.fob-cta {
    padding-block: 0 clamp(4rem, 9vw, 7rem);
}

.fob-cta__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 1.25rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--fob-card-2);
    border-top: 2px solid var(--fob-accent);
    border-radius: var(--fob-radius);
    background: var(--fob-card);
}

.sf-site .fob-cta__panel h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 560;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-wrap: balance;
}

.sf-site .fob-cta__panel p {
    margin: 0.5rem 0 0;
    color: var(--amtecco-paper-soft);
}

@media (min-width: 768px) {
    .fob-cta__panel {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

/* ---------- Small phones ---------- */

@media (max-width: 380px) {
    .fob-rank li {
        grid-template-columns: 1.25rem minmax(0, 1fr) auto;
    }

    .fob-rank__bar {
        display: none;
    }

    .fob-hbars li,
    .fob-hbars--reach li {
        grid-template-columns: minmax(0, 5.5rem) minmax(0, 1fr) auto;
        gap: 0.5rem;
    }

    .fob-dash__periods button {
        padding: 0 0.625rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fob-page *,
    .fob-page *::before,
    .fob-page *::after {
        transition: none !important;
    }
}
