/* esimreisvergelijker.nl
   A rate list: navy shell, white table on cool grey, tabular figures, hairline rules.
   Tokens first, then base, shell, shared parts, the rate table, and page-specific parts. */

@font-face {
  font-family: "Public Sans";
  src: url("/static/fonts/public-sans-latin.woff2?v=1") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  src: url("/static/fonts/public-sans-latin-ext.woff2?v=1") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #0c2038;
  --navy-2: #173353;
  --navy-line: #35506f;
  --on-navy: #ffffff;
  --on-navy-2: #bccbde;

  --ground: #f1f4f8;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --ink: #0e1b2c;
  --ink-2: #45556a;
  --rule: #d5dce6;
  --edge: #74859c;

  --green: #08714d;
  --green-bg: #e1f2ea;
  --red: #b3261e;
  --link: #0e4db3;
  --focus: #2b7fff;
  --focus-on-navy: #8ec0ff;
  --code-bg: #e4e9f0;

  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 70rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 6px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1rem;
  scrollbar-color: var(--edge) var(--ground);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}
.page {
  padding-block: 1.75rem 4rem;
}

::selection {
  background: var(--navy);
  color: var(--on-navy);
}

h1,
h2,
h3,
p,
ul,
ol,
table {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nowrap {
  white-space: nowrap;
}
/* Words that only one of the two layouts needs. */
.narrow-only {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  font-weight: 600;
}
.skip:focus {
  top: 0.5rem;
}

.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.28em;
}

.num {
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

/* --- Shell: the navy band with navigation, title and search ------------------------------ */

.shell {
  background: var(--navy);
  color: var(--on-navy);
}
.shell a {
  color: inherit;
}
.shell :focus-visible {
  outline-color: var(--focus-on-navy);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.9rem;
  position: relative;
}
/* The rule under the bar is as wide as the content, not as the padded wrapper. */
.bar::after {
  content: "";
  position: absolute;
  inset-inline: var(--gutter);
  bottom: 0;
  height: 1px;
  background: var(--navy-line);
}

.brand {
  font-size: 1.125rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand span {
  color: var(--on-navy-2);
  font-weight: 500;
}

.bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  font-size: 0.9375rem;
}
.bar nav a {
  padding-block: 0.35rem;
  color: var(--on-navy-2);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.bar nav a:hover {
  color: var(--on-navy);
}
.bar nav a[aria-current="page"],
.bar nav a.is-section {
  color: var(--on-navy);
  border-bottom-color: var(--on-navy);
}

.mast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  align-items: end;
  gap: 1.5rem 3rem;
  padding-block: 2.25rem 2.5rem;
}
.mast h1 {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.25rem);
  font-weight: 750;
  letter-spacing: -0.025em;
}
.facts {
  margin-top: 0.6rem;
  color: var(--on-navy-2);
  font-variant-numeric: tabular-nums;
  max-width: 56ch;
  text-wrap: balance;
}
.facts a {
  color: var(--on-navy);
}
.first-time {
  display: block;
  width: fit-content;
}

.mast-home {
  grid-template-columns: minmax(0, 46rem);
  gap: 1.5rem;
  padding-block: 3rem 3.25rem;
}
.mast-home .facts {
  margin-top: 0;
}

/* --- Search ----------------------------------------------------------------------------- */

.search label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--on-navy-2);
}
.search-field {
  display: flex;
  border-radius: var(--radius);
  background: var(--surface);
}
.search input {
  flex: 1;
  min-width: 0;
  height: 2.875rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  background: transparent;
  color: var(--ink);
  font: inherit;
  caret-color: var(--navy);
}
.search input::placeholder {
  color: var(--ink-2);
  opacity: 1;
}
.search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.search input::-webkit-calendar-picker-indicator {
  display: none !important;
}
.search button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.25rem;
  padding: 0 0.95rem;
  border: 0;
  border-radius: 4px;
  background: var(--navy);
  color: var(--on-navy);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 0.15s var(--ease);
}
.search button:hover {
  background: var(--navy-2);
}
/* The ring goes around the whole white field, on the navy band, where it has contrast. */
.search-field:has(input:focus-visible) {
  outline: 3px solid var(--focus-on-navy);
  outline-offset: 2px;
}
.search input:focus-visible {
  outline: none;
}
.search button:focus-visible {
  outline-color: var(--focus);
  outline-offset: 1px;
}
.search-big label {
  font-size: 1.125rem;
  color: var(--on-navy);
}
.search-big input {
  height: 3.5rem;
  font-size: 1.125rem;
}
.search-big button {
  padding-inline: 1.25rem;
  font-size: 1.0625rem;
}

/* --- Shared parts ------------------------------------------------------------------------ */

.block {
  margin-top: 2.5rem;
}
.block:first-child {
  margin-top: 0.5rem;
}
.block > h2,
.list-head h2 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.block > h2 {
  margin-bottom: 0.9rem;
}

.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.15s var(--ease),
    border-color 0.15s var(--ease);
}
a.chip:hover {
  border-color: var(--navy);
  background: var(--surface-2);
}
.chip .n {
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.chip.is-on {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--on-navy);
}
.chip.is-on .n {
  color: var(--on-navy-2);
}
a.chip.is-on:hover {
  background: var(--navy-2);
}
.chip.is-empty {
  border-style: dashed;
  background: transparent;
  color: var(--ink-2);
  font-weight: 500;
}
.chip-short {
  display: none;
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel {
  padding: 1.5rem 1.5rem 1.6rem;
  border-top: 2px solid var(--navy);
  background: var(--surface);
}
.panel h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.panel p {
  margin-top: 0.6rem;
  max-width: 60ch;
}
.notice {
  margin-bottom: 1.75rem;
}
.notice p + p {
  color: var(--ink-2);
}
.empty {
  margin-top: 1.25rem;
}

/* --- Filters ----------------------------------------------------------------------------- */

.filters {
  display: grid;
  gap: 0.9rem;
}
.filter {
  display: grid;
  grid-template-columns: 17.5rem minmax(0, 1fr);
  align-items: start;
  gap: 0.4rem 1rem;
}
.filter-label {
  font-size: 0.9375rem;
  font-weight: 700;
}
.filter .filter-label {
  /* Sits on the first row of choices, also when the choices wrap to a second row. */
  padding-top: 0.55rem;
}
.filter ul,
.sort ul,
.wider ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.help {
  grid-column: 2;
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.4;
}

.list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  margin-top: 1.75rem;
  margin-bottom: 0.7rem;
}
.block > .list-head {
  margin-top: 0;
  align-items: baseline;
}
.order {
  color: var(--ink-2);
}
.order strong {
  color: var(--ink);
}
/* Above the plan list: the sentence, then the tools, always in that order. */
.list-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
}
.list-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}
.wider {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
}
.panel .wider {
  margin-top: 0.75rem;
}
.panel .wider p {
  margin-top: 0;
}
.touch-hint {
  display: none;
}
.stamp {
  color: var(--ink-2);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stamp strong {
  color: var(--ink);
  font-weight: 650;
}
.sort {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* --- The rate table ---------------------------------------------------------------------- */

.rates {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--navy);
  background: var(--surface);
  font-variant-numeric: tabular-nums;
}
.rates th,
.rates td {
  padding: 0.8rem 0.9rem;
  text-align: left;
  vertical-align: baseline;
  font-weight: 400;
}
.rates .num {
  text-align: right;
}
.rates thead th {
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 650;
  white-space: nowrap;
}
.rates tbody tr {
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.15s var(--ease);
}
.rates tbody tr:last-child {
  border-bottom: 0;
}
.rates-plans {
  view-transition-name: plan-list;
}
.rates tbody tr:hover {
  background: var(--surface-2);
}
.rates th:first-child,
.rates td:first-child {
  padding-left: 1.15rem;
}
.rates th:last-child,
.rates td:last-child {
  padding-right: 1.15rem;
}

.prov {
  display: block;
  font-weight: 650;
  color: var(--ink);
}
a.prov {
  text-decoration: none;
}
a.prov:hover {
  text-decoration: underline;
}
.note {
  display: block;
  margin-top: 0.1rem;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
}
.unit {
  color: var(--ink-2);
  font-size: 0.875rem;
}
.c-pergb .unit {
  display: none;
}
.c-pergb .unit-day {
  display: inline;
}
.c-pergb .unit-short {
  display: none;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.c-gap {
  font-weight: 550;
}
.rates-plans .c-days {
  white-space: nowrap;
}
.lowest {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--green-bg);
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 650;
}
.is-lowest .price {
  color: var(--green);
}
/* Sorted on price per GB: that figure is the one to read down, and the one that turns green. */
.by-gb .c-pergb .fig {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.by-gb .price {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}
.by-gb .is-lowest .price {
  color: inherit;
}
.by-gb .is-lowest .c-pergb .fig {
  color: var(--green);
}
.gap-word {
  display: none;
}

.move {
  display: inline-flex;
  margin-right: 0.15rem;
  vertical-align: 0.05em;
}
.move .icon {
  width: 1rem;
  height: 1rem;
}
.move-down {
  color: var(--green);
}
.move-up {
  color: var(--red);
}

.c-go {
  width: 1%;
  text-align: right;
  white-space: nowrap;
}
.go {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.375rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 650;
  text-decoration: none;
  transition:
    background-color 0.15s var(--ease),
    color 0.15s var(--ease);
}
.go:hover {
  background: var(--navy);
  color: var(--on-navy);
}
.go .icon {
  width: 1.05rem;
  height: 1.05rem;
}
.go-name {
  display: none;
}
.is-pick .go {
  background: var(--navy);
  color: var(--on-navy);
}
.is-pick .go:hover {
  background: var(--navy-2);
}

.more {
  margin-top: 1rem;
}

.after-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3.5rem;
  margin-top: 1.25rem;
}
.after-list .prose {
  margin-top: 0;
}
.after-col {
  display: grid;
  align-content: start;
  gap: 2rem;
}
.sellers h2 {
  margin-bottom: 0.4rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sellers p {
  max-width: 62ch;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.sellers dl {
  margin: 0.8rem 0;
  border-top: 1px solid var(--rule);
}
.sellers dl > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.15rem 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
}
.sellers dt {
  font-weight: 650;
}
.sellers dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.after-list > :only-child {
  margin-top: 1.75rem;
}
.legend {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.9375rem;
  max-width: 62ch;
}
.legend li + li {
  margin-top: 0.35rem;
}
.legend strong {
  color: var(--ink);
  font-weight: 650;
}

/* Country, provider and count tables share the look; these set their column behaviour. */
.rates-countries .c-prov {
  width: 100%;
}
.rates-countries .go {
  border-color: transparent;
  padding-inline: 0.4rem;
}
.rates-countries .go:hover {
  border-color: var(--navy);
}
/* A "from" price is a pointer to the list, lighter than the price of a plan. */
.rates-countries .price {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
}
.prov .icon {
  width: 0.95rem;
  height: 0.95rem;
  margin-left: 0.35rem;
  color: var(--ink-2);
}
.rates-providers .c-prov {
  width: 55%;
}
.rates-providers td {
  white-space: nowrap;
}

/* --- Prose ------------------------------------------------------------------------------- */

.prose {
  margin-top: 3.5rem;
  max-width: 46rem;
}
.prose h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.6rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.prose > h2:first-child,
.prose > div > h2:first-child {
  margin-top: 0;
}
.prose p,
.prose ul,
.prose ol {
  max-width: 60ch;
}
.prose p + p,
.prose ul + p,
.prose p + ul,
.prose ol + p,
.prose p + ol {
  margin-top: 0.75rem;
}
.prose ul,
.prose ol {
  padding-left: 1.2rem;
}
.prose li + li {
  margin-top: 0.3rem;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 0.05em 0.3em;
  border-radius: 3px;
  background: var(--code-bg);
  white-space: nowrap;
}
.prose-page {
  margin-top: 1rem;
}
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3.5rem;
  max-width: none;
}

/* --- Guide ------------------------------------------------------------------------------- */

/* The index and "Verder in de gids": each question with its short answer, as a rate list. */
.rates-guide .c-q {
  width: 27rem;
}
.rates-guide .c-a {
  color: var(--ink-2);
}

/* An article: a reading column. Where a paragraph rests on a source, the source stands beside
   it in the margin on a wide screen and under it on a narrow one. */
.mast-article h1 {
  max-width: 20ch;
  font-size: clamp(1.875rem, 1.2rem + 2.4vw, 2.75rem);
}
.prose.guide {
  margin-top: 0.5rem;
}
.guide-more {
  margin-top: 3rem;
}
.prose .rates {
  margin-block: 1rem 1.25rem;
}
.prose .rates th[scope="row"] {
  font-weight: 600;
}
.prose .noted + p,
.prose .noted + ul,
.prose .noted + .noted,
.prose p + .noted,
.prose ul + .noted,
.prose ol + .noted {
  margin-top: 0.75rem;
}
.margin-note {
  margin-top: 0.4rem;
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.45;
}
.prose .margin-note p {
  max-width: 60ch;
}
.margin-label {
  color: var(--ink);
  font-weight: 650;
}
.ext .icon {
  width: 0.95em;
  height: 0.95em;
  margin-left: 0.25em;
  vertical-align: -0.12em;
}
.prose .article-stamp {
  margin-top: 2.25rem;
}
.country-run {
  color: var(--ink-2);
}

@media (min-width: 72rem) {
  .noted {
    display: grid;
    grid-template-columns: minmax(0, 46rem) 17rem;
    align-items: start;
    column-gap: 4rem;
    width: 67rem;
  }
  .margin-note {
    margin-top: 0.3rem;
    padding-top: 0.55rem;
    border-top: 1px solid var(--rule);
  }
}

/* --- All countries ----------------------------------------------------------------------- */

.letters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}
.letters a {
  display: grid;
  place-items: center;
  min-width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}
.letters a:hover {
  border-color: var(--navy);
  background: var(--surface-2);
}
.az {
  columns: 3 18rem;
  column-gap: 2.5rem;
}
.az-group {
  break-inside: avoid;
  margin-bottom: 1.75rem;
  scroll-margin-top: 1rem;
}
.az-group h2 {
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--navy);
  font-size: 1.125rem;
}
.az-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.az-group li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--rule);
}
.az-group a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.az-group a:hover {
  color: var(--link);
  text-decoration: underline;
}
.az-group .num {
  color: var(--ink-2);
  font-size: 0.9375rem;
}

/* --- Footer ------------------------------------------------------------------------------ */

.foot {
  border-top: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 3rem;
  padding-block: 1.75rem 2.25rem;
}
.foot-note {
  max-width: 58ch;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  align-content: start;
}
.foot nav a {
  padding-block: 0.15rem;
  color: var(--ink);
}

/* --- Wide screens: room to name the provider in each row's link -------------------------- */

@media (min-width: 68rem) {
  .rates-plans .go-name {
    display: inline;
  }
}

/* --- Narrow screens ---------------------------------------------------------------------- */

@media (max-width: 48rem) {
  .page {
    padding-block: 1.25rem 3rem;
  }
  .narrow-only {
    display: inline;
  }
  .wide-only {
    display: none;
  }

  /* Everything that is tapped is at least 44px high. */
  .bar {
    padding-block: 0.3rem;
    gap: 0 1.5rem;
  }
  .brand {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }
  .bar nav a {
    padding-block: 0.6rem;
  }
  .foot nav {
    gap: 0 1.5rem;
  }
  .foot nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }
  .chip {
    align-items: center;
    min-height: 2.75rem;
  }

  .mast {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 1.25rem 1.5rem;
  }
  .mast-home {
    padding-block: 2rem 2.25rem;
  }
  .first-time {
    padding-block: 0.6rem;
    margin-block: -0.2rem -0.6rem;
  }
  /* Four menu items share one row down to a 360px screen. */
  .bar nav {
    gap: 0 1rem;
    font-size: 0.875rem;
  }
  .bar nav a {
    padding-block: 0.7rem;
  }
  /* The guide's list of questions: one question per block, the answer under it, and the whole
     block a link. */
  .rates-guide,
  .rates-guide tbody {
    display: block;
  }
  .rates-guide {
    margin-inline: calc(-1 * var(--gutter));
    width: auto;
  }
  .rates-guide thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .rates-guide tbody tr {
    position: relative;
    display: block;
    padding: 0.85rem var(--gutter) 0.95rem;
  }
  .rates-guide th,
  .rates-guide td,
  .rates-guide th:first-child,
  .rates-guide td:last-child {
    display: block;
    padding: 0;
  }
  .rates-guide .c-q {
    width: auto;
  }
  .rates-guide .c-a {
    margin-top: 0.2rem;
    font-size: 0.9375rem;
  }
  .rates-guide a.prov {
    display: inline;
  }
  .rates-guide a.prov::after {
    content: "";
    position: absolute;
    inset: 0;
  }
  .rates-guide a.prov:focus-visible {
    outline: none;
  }
  .rates-guide a.prov:focus-visible::after {
    outline: 3px solid var(--focus);
    outline-offset: -3px;
  }
  .stamp {
    white-space: normal;
  }
  .letters a {
    min-width: 2.75rem;
    height: 2.75rem;
  }
  .az-group li {
    padding: 0;
  }
  .az-group a {
    flex: 1;
    padding-block: 0.65rem;
  }
  .two-col,
  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* All choices stay in view: short labels, no counts, so a question takes one or two rows. */
  .filter {
    grid-template-columns: minmax(0, 1fr);
  }
  .filter .filter-label {
    padding-top: 0;
  }
  .filter ul {
    gap: 0.3rem;
  }
  /* The choices share the row, so seven day counts fit on a 360px screen. */
  .filter li {
    flex: 1 1 auto;
  }
  .filter .chip {
    display: flex;
    justify-content: center;
    min-width: 2.25rem;
    padding-inline: 0.4rem;
  }
  .filter .chip .n {
    display: none;
  }
  .chip-long {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .chip-short {
    display: inline;
  }
  .help {
    grid-column: auto;
  }
  .list-head {
    align-items: start;
    margin-top: 1.25rem;
  }
  .touch-hint {
    display: block;
    color: var(--ink-2);
    font-size: 0.875rem;
  }

  /* Less above the list on a phone: the band keeps the destination, the search lives on the
     home page and behind "Alle landen". */
  .mast:not(.mast-home) .search {
    display: none;
  }
  .after-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .sellers dl > div {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Each plan becomes two lines on one grid: who and price, then the plan and the difference.
     The whole row is the link to the provider. The table roles are set in the markup, so a
     row still reads as a table row to a screen reader. */
  .rates-plans,
  .rates-providers,
  .rates-countries {
    display: block;
    margin-inline: calc(-1 * var(--gutter));
    width: auto;
  }
  .rates-plans thead,
  .rates-providers thead,
  .rates-countries thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .rates-plans tbody,
  .rates-providers tbody,
  .rates-countries tbody {
    display: block;
  }
  .rates-plans tbody tr,
  .rates-providers tbody tr,
  .rates-countries tbody tr {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.5rem;
    row-gap: 0.15rem;
    padding: 0.8rem var(--gutter) 0.85rem;
  }
  .rates-plans tbody tr::before {
    content: "";
    flex-basis: 100%;
    height: 0;
    order: 4;
  }
  .rates-plans th,
  .rates-plans td,
  .rates-plans th:first-child,
  .rates-plans td:first-child,
  .rates-plans th:last-child,
  .rates-plans td:last-child,
  .rates-providers th,
  .rates-providers td,
  .rates-providers th:first-child,
  .rates-providers td:first-child,
  .rates-providers th:last-child,
  .rates-providers td:last-child,
  .rates-countries th,
  .rates-countries td,
  .rates-countries th:first-child,
  .rates-countries td:first-child,
  .rates-countries th:last-child,
  .rates-countries td:last-child {
    padding: 0;
  }
  .rates-plans .c-prov {
    order: 1;
    flex: 1 1 0;
    min-width: 0;
  }
  .rates-plans .c-prov .prov {
    display: inline;
  }
  .rates-plans .c-prov .prov::after {
    content: "";
    display: inline-block;
    width: 0.95rem;
    height: 0.95rem;
    margin-left: 0.4rem;
    vertical-align: -0.1em;
    background: var(--ink-2);
    mask: url("icon-out.svg") center / contain no-repeat;
  }
  .rates-plans .c-go {
    order: 2;
    width: 0;
  }
  .rates-plans .c-go .icon {
    display: none;
  }
  .rates-plans .c-price {
    order: 3;
  }
  .rates-plans .c-data,
  .rates-plans .c-days,
  .rates-plans .c-pergb,
  .rates-plans .c-gap {
    font-size: 0.9375rem;
  }
  .rates-plans .c-data {
    order: 5;
    font-weight: 600;
  }
  .rates-plans .c-days {
    order: 6;
  }
  .rates-plans .c-pergb {
    order: 7;
    text-align: left;
    color: var(--ink-2);
  }
  .rates-plans .c-pergb .unit-long {
    display: none;
  }
  .rates-plans .c-pergb .unit-short {
    display: inline;
  }
  .rates-plans .c-gap {
    order: 8;
    margin-left: auto;
  }
  /* Without the column heading, the difference says in words what it is. */
  .gap-word {
    display: inline;
    font-weight: 400;
  }
  /* Sorted on price per GB: that figure takes the place of the price on the first line. */
  .rates-plans.by-gb .c-pergb {
    order: 3;
    color: var(--ink);
  }
  .rates-plans.by-gb .c-price {
    order: 7;
    font-size: 0.9375rem;
  }
  .rates-plans.by-gb .price {
    font-size: inherit;
  }
  .rates-plans.by-gb .gap-word {
    display: none;
  }

  .rates-plans .go {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink-2);
  }
  .rates-plans .go:hover {
    background: transparent;
    color: var(--navy);
  }
  /* The link covers the row; its words stay available to screen readers. */
  .rates-plans .go::after {
    content: "";
    position: absolute;
    inset: 0;
  }
  .rates-plans .go-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .rates-plans .go:focus-visible {
    outline: none;
  }
  .rates-plans .go:focus-visible::after {
    outline: 3px solid var(--focus);
    outline-offset: -3px;
  }
  .rates-plans .go-name {
    display: inline;
  }

  /* The cheapest plan that fits the trip shows its action as a button on a third line. */
  .rates-plans .is-pick .c-go {
    order: 9;
    flex-basis: 100%;
    width: auto;
    margin-top: 0.55rem;
    text-align: left;
  }
  .rates-plans .is-pick .go,
  .rates-plans .is-pick .go:hover {
    min-height: 2.75rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--navy);
    background: var(--navy);
    color: var(--on-navy);
  }
  .rates-plans .is-pick .go-label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
  .rates-plans .is-pick .c-go .icon {
    display: inline;
  }
  .rates-plans .is-pick .c-prov .prov::after {
    content: none;
  }

  /* A provider becomes two lines as well: who it is, then how many plans and when checked. */
  .rates-providers .c-prov {
    flex-basis: 100%;
    width: auto;
  }
  .rates-providers .c-count,
  .rates-providers .c-checked {
    color: var(--ink-2);
    font-size: 0.9375rem;
    text-align: left;
    white-space: normal;
  }
  .rates-providers .c-count,
  .rates-providers .c-checked {
    flex-basis: 100%;
  }
  .rates-providers .c-cur,
  .rates-providers thead .c-cur {
    display: none;
  }
  /* The name is tapped: its area reaches into the row's padding without moving the text. */
  .rates-providers a.prov {
    display: inline-block;
    padding-block: 0.6rem;
    margin-block: -0.6rem;
  }

  /* A country is one line, the country and its lowest price, and one link as a whole. */
  .rates-countries .c-prov {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
  }
  .rates-countries a.prov {
    display: inline;
  }
  .rates-countries a.prov::after {
    content: "";
    position: absolute;
    inset: 0;
  }
  .rates-countries a.prov:focus-visible {
    outline: none;
  }
  .rates-countries a.prov:focus-visible::after {
    outline: 3px solid var(--focus);
    outline-offset: -3px;
  }
  .rates-countries .c-count,
  .rates-countries .c-go {
    display: none;
  }
}

/* --- Motion: the list settles in when a filter changes the page -------------------------- */

@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.18s;
  animation-timing-function: var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
  * {
    transition: none !important;
  }
}

@media print {
  .shell nav,
  .search,
  .filters,
  .c-go,
  .foot nav,
  .more {
    display: none !important;
  }
  .shell {
    background: none;
    color: #000;
  }
  .facts {
    color: #000;
  }
}
