/* The Fox IPTV: the price sheet. Libre Caslon Text + Archivo (SIL OFL 1.1, licences in /assets/fonts/), self-hosted. */
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/libre-caslon-text-400.woff2") format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/libre-caslon-text-700.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/archivo-400.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/archivo-700.woff2") format("woff2"); }
/* metric-matched fallbacks: the swap to the web font moves no lines (CLS) */
@font-face { font-family: "Caslon fallback"; font-weight: 400; src: local("Georgia");
  size-adjust: 107.70%; ascent-override: 90.06%; descent-override: 24.14%; line-gap-override: 0%; }
@font-face { font-family: "Caslon fallback"; font-weight: 700; src: local("Georgia Bold"), local("Georgia-Bold");
  size-adjust: 118.25%; ascent-override: 82.03%; descent-override: 21.99%; line-gap-override: 0%; }
@font-face { font-family: "Caslon fallback A"; font-weight: 400; src: local("Noto Serif"), local("NotoSerif");
  size-adjust: 98.73%; ascent-override: 98.24%; descent-override: 26.33%; line-gap-override: 0%; }
@font-face { font-family: "Archivo fallback"; font-weight: 400; src: local("Arial"), local("ArialMT");
  size-adjust: 98.62%; ascent-override: 89.03%; descent-override: 21.29%; line-gap-override: 0%; }
@font-face { font-family: "Archivo fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 106.21%; ascent-override: 82.67%; descent-override: 19.77%; line-gap-override: 0%; }
@font-face { font-family: "Archivo fallback A"; font-weight: 400; src: local("Roboto");
  size-adjust: 98.10%; ascent-override: 89.50%; descent-override: 21.41%; line-gap-override: 0%; }

:root {
  --paper: #F4F5F2; --ink: #17212B; --petrol: #0B5260; --petrol-deep: #083F4A; --russet: #A23E12;
  --russet-deep: #86330F; --muted: #56606A; --tint: #E8ECEA; --rule: #C3CCCA;
  --serif: "Libre Caslon Text", "Caslon fallback", "Caslon fallback A", Georgia, serif;
  --sans: "Archivo", "Archivo fallback", "Archivo fallback A", Arial, sans-serif;
  --measure: 40rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.62 var(--serif);
  font-kerning: normal; }
::selection { background: var(--petrol); color: #fff; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--russet); outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: -4rem; padding: .6rem 1rem; background: #fff; color: var(--ink);
  font: 700 1rem/1 var(--sans); z-index: 10; }
.skip:focus { top: 1rem; }

/* masthead: a thin petrol bar, wordmark and four plain labels, no hero */
.mast { background: var(--petrol); color: #fff; }
.mast-in { max-width: 66rem; margin: 0 auto; padding: .75rem 1rem; display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: .25rem 1.5rem; }
.mark { color: #fff; text-decoration: none; font: 400 1.5rem/1.2 var(--serif); letter-spacing: -.005em; }
.mast-nav { display: flex; gap: 1.25rem; font: 400 1rem/1 var(--sans); }
.mast-nav a { color: #fff; text-decoration: none; padding: .5rem 0; }
.mast-nav a:hover, .mast-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
.mast :focus-visible { outline-color: #fff; }

.crumbs { max-width: 66rem; margin: 0 auto; padding: 1rem 1rem 0; font: 400 .875rem/1.4 var(--sans); color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.crumbs li + li::before { content: "\203A"; margin-right: .3rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

main { max-width: 66rem; margin: 0 auto; padding: 0 1rem 3rem; }

/* headings: contrast from size, set at regular weight */
h1 { font: 400 clamp(2.125rem, 1.55rem + 2.6vw, 3.25rem)/1.08 var(--serif); letter-spacing: -.012em; margin: 1.25rem 0 1rem;
  max-width: 22ch; text-wrap: balance; }
h2 { font: 400 clamp(1.5rem, 1.3rem + .9vw, 1.875rem)/1.18 var(--serif); margin: 2.5rem 0 .75rem; text-wrap: balance; }
h3 { font: 700 1.125rem/1.3 var(--sans); margin: 1.75rem 0 .5rem; }
p, ul, ol { margin: 0 0 1rem; }
strong { font-weight: 700; }
.content { max-width: var(--measure); }
.content > p:first-child { font-size: 1.25rem; line-height: 1.55; }
.content li { margin-bottom: .35rem; }
.content li > h3 { margin-top: .5rem; }

/* tables: Archivo, tabular figures, a petrol rule under the header, tinted alternate rows */
table { border-collapse: collapse; width: 100%; font: 400 1rem/1.4 var(--sans); font-variant-numeric: tabular-nums lining-nums; }
caption { caption-side: top; text-align: left; font: 400 .9375rem/1.4 var(--sans); color: var(--muted); padding-bottom: .5rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .75rem .55rem 0; border-bottom: 1px solid var(--rule); }
thead th { font-weight: 700; border-bottom: 2px solid var(--petrol); }
tbody tr:nth-child(even) { background: var(--tint); }
tbody tr:nth-child(even) > :first-child { padding-left: .5rem; }
tbody tr:nth-child(odd) > :first-child, thead th:first-child { padding-left: .5rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1.25rem; }

/* the plan matrix: terms as rows (longest first), devices as columns, every figure a whole-pound total */
.matrix { margin: 2rem 0 2.5rem; padding-top: 1.25rem; border-top: 2px solid var(--ink); max-width: none; }
.matrix h2 { margin-top: 0; }
.plan-matrix { font-size: .9375rem; }
.plan-matrix th, .plan-matrix td { padding: .6rem .35rem; }
.plan-matrix td { font-weight: 700; font-size: 1.125rem; text-align: right; }
.plan-matrix thead th { vertical-align: bottom; line-height: 1.2; }
.plan-matrix thead th:not(:first-child) { text-align: right; }
.plan-matrix tbody th { font-weight: 400; white-space: nowrap; }
.matrix-terms { font: 400 1rem/1.5 var(--sans); color: var(--ink); max-width: 40rem; }
.matrix-act { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }

.cta { display: inline-flex; align-items: center; min-height: 2.875rem; padding: .7rem 1.25rem; background: var(--russet);
  color: #fff; font: 700 1rem/1 var(--sans); text-decoration: none; border-radius: 2px; }
.cta:hover { background: var(--russet-deep); }
.cta:focus-visible { outline-color: var(--ink); }
.aside-link { font: 400 1rem/1.4 var(--sans); }

/* articles: one reading column with a price rail beside it on wide screens */
.sheet-head h1 { max-width: 24ch; }
.byline { display: flex; align-items: center; gap: .75rem; font: 400 .9375rem/1.45 var(--sans); color: var(--muted);
  margin: 0 0 1.75rem; max-width: var(--measure); }
.byline a { color: var(--ink); }
.mono { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--petrol); color: #fff; font: 400 1rem/1 var(--serif); letter-spacing: .02em; }
.toc { margin: 1.5rem 0 2rem; padding: 1rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font: 400 1rem/1.45 var(--sans); }
.toc-title { font-weight: 700; margin: 0 0 .5rem; }
.toc ol { margin: 0; padding-left: 1.25rem; }
.toc li { margin: .2rem 0; }
.related { margin-top: 2.5rem; max-width: var(--measure); }
.related h2 { font-size: 1.375rem; }
.related ul { padding-left: 1.1rem; }

aside.offer { margin-top: 2.5rem; padding: 1rem 0 0; border-top: 2px solid var(--ink);
  font-family: var(--sans); max-width: 26rem; }
aside.offer h2 { font: 400 1.5rem/1.2 var(--serif); margin: 0 0 .75rem; }
.glance { font-size: 1rem; margin-bottom: .75rem; }
.glance caption { font-size: .875rem; }
.glance td { text-align: right; font-weight: 700; padding-right: .5rem; }
.glance tbody tr:nth-child(even) { background: var(--tint); }
.offer-terms { font-size: .9375rem; line-height: 1.5; color: var(--ink); }
aside.offer p:last-child { margin-bottom: 0; }

/* homepage index: two plain link lists */
.front h1 { max-width: 20ch; margin-top: 2rem; }
.front-index { display: grid; gap: 0 3rem; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-family: var(--sans); }
.front-index h2 { font-size: 1.5rem; margin-top: 1rem; }
.front-index ul { list-style: none; padding: 0; }
.front-index li { padding: .5rem 0; border-bottom: 1px solid var(--rule); }
.front-index time { display: block; color: var(--muted); font-size: .875rem; }

.plain .content { max-width: var(--measure); }
.hub-list { list-style: none; padding: 0; font-family: var(--sans); }
.hub-list li { padding: .6rem 0; border-bottom: 1px solid var(--rule); }
.hub-list time { display: block; color: var(--muted); font-size: .875rem; }
.pager { display: flex; gap: 1.5rem; font-family: var(--sans); }
.disclosure { background: var(--tint); padding: 1rem 1.25rem; margin: 1.5rem 0; font: 400 1rem/1.5 var(--sans); }
.disclosure p { margin: 0; }
.fixtures { margin: 2rem 0; }
.fixtures ul { padding-left: 1.1rem; font-family: var(--sans); }
.small { font: 400 .875rem/1.5 var(--sans); color: var(--muted); }

.foot { border-top: 1px solid var(--rule); background: #EBEEEC; font: 400 .9375rem/1.5 var(--sans); }
.foot-in { max-width: 66rem; margin: 0 auto; padding: 2rem 1rem 2.5rem; }
.foot-mark { font: 400 1.25rem/1.2 var(--serif); margin: 0 0 .75rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-bottom: 1rem; }
.foot nav a { color: var(--ink); padding: .25rem 0; }
.foot-note { color: var(--muted); margin: 0; }

@media (min-width: 48rem) {
  body { font-size: 1.1875rem; }
  .front-index { grid-template-columns: 1fr 1fr; }
  .plan-matrix th, .plan-matrix td { padding: .75rem 1rem .75rem .5rem; }
  .plan-matrix td { font-size: 1.5rem; }
  .plan-matrix { font-size: 1.0625rem; }
}
@media (min-width: 64rem) {
  .sheet { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; column-gap: 4rem; align-items: start; }
  .sheet-head, .sheet-body { grid-column: 1; }
  aside.offer { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 1.5rem; margin-top: 2rem; }
  .front .content { max-width: none; }
  .front .content > :not(.matrix) { max-width: 46rem; }
  .matrix { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; column-gap: 3rem; align-items: start; }
  .matrix > h2, .matrix > .table-wrap { grid-column: 1; }
  .matrix-side { grid-column: 2; grid-row: 2; padding-top: 2.4rem; }
  .matrix-act { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.na { font-weight: 400; font-size: .8125rem; color: var(--muted); white-space: normal; }
.compare { min-width: 60rem; }
.compare tbody tr { background: var(--paper); }
.compare tbody tr:nth-child(even) { background: var(--tint); }
.compare th:first-child, .compare td:first-child { position: sticky; left: 0; background: inherit; min-width: 8rem; }
.compare thead th:first-child { background: var(--paper); }
