/* Shared styles: tokens, frame, header, footer, typography and components. Mobile first. */

@font-face {
  font-family: "Archivo Wide";
  src: url("../fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --sage: #93a3a2;
  --sage-2: #a6b4b3;
  --ink: #0b1011;
  --panel: #121919;
  --panel-2: #1c2526;
  --glass: rgba(255, 255, 255, .07);
  --glass-line: rgba(255, 255, 255, .14);
  --lime: #d4fa5a;
  --lime-2: #a3cc3a;
  --lime-soft: #f1fbd2;
  --card: #eaeff0;
  --card-hot: #bdc8c9;
  --line: #d3dbdb;
  --muted: #566060;
  --muted-dark: #a9b3b3;
  --white: #fff;
  --display: "Archivo Wide", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --text: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-shell: 24px;
  --r-panel: 24px;
  --r-card: 22px;
  --r-inner: 16px;
  --gutter: 16px;
  --wrap: 1180px;
  --col: 800px;
}

@media (min-width: 640px) {
  :root { --r-shell: 32px; --r-panel: 30px; --r-card: 26px; --gutter: 28px; }
}
@media (min-width: 1280px) {
  :root { --r-shell: 40px; --r-panel: 34px; --r-card: 28px; --gutter: 40px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--sage);
  background-image:
    radial-gradient(1200px 600px at 10% -10%, var(--sage-2), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 140px);
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 700; }
abbr[title] { text-decoration: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 13px; height: 13px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 50;
  background: var(--lime); color: var(--ink); font-weight: 700;
  padding: 12px 18px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- frame ---------- */
.shell {
  width: min(1440px, 100% - 16px);
  margin: 8px auto;
  background: var(--white);
  border-radius: var(--r-shell);
  padding: 8px;
  overflow: clip;
  position: relative; z-index: 0;
}
@media (min-width: 640px) { .shell { width: min(1440px, 100% - 40px); margin: 20px auto; padding: 12px; } }
@media (min-width: 1280px) { .shell { width: min(1440px, 100% - 64px); margin: 32px auto; padding: 14px; } }

/* ---------- header (top of the dark panel) ---------- */
.site-header {
  position: relative;
  z-index: 5;
  background: var(--panel);
  color: var(--white);
  border-radius: var(--r-panel) var(--r-panel) 0 0;
}
.header-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  padding: 18px var(--gutter) 10px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name {
  font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  font-size: 15px; line-height: 1; letter-spacing: -.005em; max-width: 17ch;
}
.nav { order: 3; width: 100%; }
.nav__list { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px; font-size: 15px; color: #e7ecec;
  text-decoration: none; cursor: pointer; list-style: none;
}
.nav__link::-webkit-details-marker { display: none; }
.nav__link:hover, .nav__drop details[open] > .nav__link { background: var(--glass); color: var(--white); }
.nav__link[aria-current="page"] { color: var(--lime); }
.nav__drop details { position: relative; }
.nav__drop details[open] .icon { transform: rotate(180deg); }
.nav__menu {
  list-style: none; position: absolute; left: 0; top: calc(100% + 8px); z-index: 20;
  width: min(300px, 80vw); padding: 8px; background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: 20px;
}
.nav__menu a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-size: 15px; }
.nav__menu a:hover { background: var(--card); }
.nav__menu a[aria-current="page"] { background: var(--lime); }
.site-header :focus-visible { outline-color: var(--lime); }
.nav__menu :focus-visible { outline-color: var(--ink); }

.nav-tab {
  order: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--ink); font-weight: 700; font-size: 15px;
  padding: 10px 18px; border-radius: 999px; text-decoration: none;
}
.nav-tab:hover { background: var(--lime); }
.nav-tab[aria-current="page"] { background: var(--lime); }

@media (min-width: 960px) {
  .header-bar { flex-wrap: nowrap; padding: 26px var(--gutter) 14px; gap: 28px; }
  .brand { margin-right: 0; }
  .brand__name { font-size: 17px; }
  .nav { order: 0; width: auto; margin-right: auto; }
  /* White notch tab hanging from the frame, as in the reference header. */
  .nav-tab {
    position: absolute; top: 0; right: clamp(40px, 8vw, 120px);
    padding: 14px 30px 16px; border-radius: 0 0 22px 22px; font-size: 16px;
  }
  .nav-tab::before, .nav-tab::after {
    content: ""; position: absolute; top: 0; width: 22px; height: 22px;
    background: radial-gradient(circle at 0 100%, transparent 21px, var(--white) 22px);
  }
  .nav-tab::before { left: -22px; background: radial-gradient(circle at 0 100%, transparent 21.5px, var(--white) 22px); }
  .nav-tab::after { right: -22px; background: radial-gradient(circle at 100% 100%, transparent 21.5px, var(--white) 22px); }
  .nav-tab:hover, .nav-tab[aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: inset 0 -4px 0 var(--lime); }
}

/* ---------- dark panel continuation (hero / page head) ---------- */
.main { position: relative; z-index: 0; }
.hero-wrap, .page-head { position: relative; }
.hero-wrap > *, .page-head > * { position: relative; z-index: 1; }
/* Lime underglow sits behind the panel (negative layer of .main's stacking context). */
.hero-wrap::after, .page-head::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 3%; right: 3%; bottom: -20px; height: 64px;
  background: linear-gradient(90deg, var(--lime) 0%, var(--lime-2) 55%, var(--lime) 100%);
  border-radius: 0 0 60% 40% / 0 0 100% 100%;
  transform: rotate(-.5deg);
}

/* ---------- typography ---------- */
.h1 {
  font-family: var(--display); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; line-height: .98; letter-spacing: -.012em;
  margin: 0;
}
.h2 {
  font-family: var(--display); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; line-height: 1; letter-spacing: -.012em;
  font-size: clamp(25px, 3.5vw, 48px);
  margin: 0 0 28px; max-width: 24ch; text-wrap: balance;
}
main { counter-reset: sec; }
/* Spaced section index above each H2, the reference's "T r e n d i n g" line. Hidden from assistive tech. */
.block > .h2::before, .callout > .h2::before, .answer .h2::before, .related > .h2::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  content: counter(sec, decimal-leading-zero) / "";
  display: block; margin-bottom: 14px;
  font-family: var(--text); font-weight: 300; font-size: 15px; letter-spacing: .3em;
  color: #8a9595;
}
h3 { margin: 0 0 8px; line-height: 1.25; }

/* ---------- blocks ---------- */
.main { padding-bottom: 24px; }
.block { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 0 auto; padding: 56px 0 0; }
@media (min-width: 960px) { .block { padding-top: 88px; } }
.block > p, .block > ul:not([class]), .block > ol:not([class]) { max-width: var(--col); }
.block > p { font-size: 17px; }
.block > p + .table-scroll, .block > .h2 + .table-scroll { margin-top: 24px; }
.block > .table-scroll + .h2, .block > .scroll-hint + .h2 { margin-top: 72px; }

/* answer: direct answer under the H1 */
.answer {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border-radius: var(--r-card);
  padding: 24px; font-size: 18px; line-height: 1.55;
}
.answer__icon { width: 30px; height: 30px; color: var(--ink); background: var(--lime); border-radius: 50%; padding: 5px; flex: none; }
@media (min-width: 960px) { .answer { padding: 36px 40px; font-size: 20px; } }

/* callout: dark band with lime accent */
.callout {
  position: relative; background: var(--panel); color: #e9eeee;
  border-radius: var(--r-card); padding: 28px 24px;
  font-size: 17px; overflow: hidden; isolation: isolate;
}
.callout::before {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 420px; height: 420px; z-index: -1;
  background: repeating-radial-gradient(circle, rgba(212, 250, 90, .10) 0 1px, transparent 1px 22px);
  border-radius: 50%;
}
.callout > .h2 { color: var(--white); font-size: clamp(22px, 2.6vw, 34px); max-width: 28ch; }
.callout > .h2::before { color: var(--lime); }
.callout p { max-width: 72ch; }
.callout a { color: var(--lime); }
.callout :focus-visible { outline-color: var(--lime); }
@media (min-width: 960px) { .callout { padding: 48px 56px; } }

/* points: icon circles, as the reference's round category buttons */
.points { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 720px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.point {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border-radius: var(--r-card); padding: 20px;
}
.point p { margin: 0; }
.point h3 { font-family: var(--display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 17px; letter-spacing: .01em; }
.point__icon {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: var(--panel-2); color: var(--lime);
}
.points--h3 { margin: 28px 0; }
@media (min-width: 1100px) { .points--h3 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .points--h3 .point { flex-direction: column; } }

/* steps */
.steps { list-style: none; display: grid; gap: 14px; margin: 24px 0; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.step {
  position: relative; background: var(--card); border-radius: var(--r-card);
  padding: 22px 20px 24px; font-size: 15.5px;
}
.step__n {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px;
  border-radius: 50%; background: var(--ink); color: var(--lime);
  font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 18px;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -14px; width: 2px; height: 14px; background: var(--ink);
}
@media (min-width: 720px) {
  .step:not(:last-child)::after { left: auto; right: -14px; top: 45px; bottom: auto; width: 14px; height: 2px; }
}

/* tiles */
.tiles { display: grid; gap: 14px; margin: 24px 0; }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.tile {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--r-card); padding: 22px 22px 20px; font-size: 15px;
  transition: background-color .2s ease, transform .2s ease;
}
.tile h3 { font-family: var(--display); font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: 19px; line-height: 1.05; margin-bottom: 12px; padding-right: 48px; }
.tile p { margin-bottom: 12px; }
.tile__meta { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.tile--link:hover { background: var(--card-hot); }
.tiles--links .tile h3 { font-size: 17px; padding-right: 54px; overflow-wrap: anywhere; }
.tile__go {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--ink); display: grid; place-items: center; transition: background-color .2s ease;
}
.tile--link:hover .tile__go { background: var(--lime); border-color: var(--lime); }
.stretched { font-weight: 600; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.tile--link a:not(.stretched) { position: relative; z-index: 2; }
@media (prefers-reduced-motion: no-preference) { .tile--link:hover { transform: translateY(-3px); } }

/* tables */
.table-scroll { position: relative; overflow-x: auto; border-radius: var(--r-card); background: var(--card); }
.table-wrap { border-radius: var(--r-card); background: var(--card); }
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; line-height: 1.5; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 16px; }
.data-table thead th {
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: #e0e6e7; padding-top: 15px; padding-bottom: 15px;
}
.data-table thead th:first-child { border-top-left-radius: var(--r-card); }
.data-table thead th:last-child { border-top-right-radius: var(--r-card); }
.data-table tbody tr + tr > * { border-top: 1px solid var(--line); }
.data-table tbody th { font-weight: 700; }
.data-table tbody th a { text-decoration: none; }
.data-table tbody th a:hover { text-decoration: underline; }
.data-table .sticky { box-shadow: inset -1px 0 0 var(--line); }
.store-th { display: flex; align-items: center; gap: 10px; }
.store-th .rank--sm { margin: 0; }
.cv { display: block; }
.cv__m { white-space: nowrap; }
.table-note { display: flex; align-items: flex-start; gap: 8px; margin: 22px 0 12px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.table-note .icon { margin-top: 1px; }
.table-note .icon--xs { display: inline; vertical-align: -1px; margin: 0 1px; }
.block > p + .table-note, .block > .h2 + .table-note { margin-top: 24px; }
.block > .table-wrap + .h2, .block > .table-scroll + .h2 { margin-top: 72px; }

/* Wide screens: the whole table is visible, no sideways scrolling. */
@media (min-width: 1100px) {
  .stack tbody th { width: 168px; }
  .t-terms td:nth-child(5), .t-delivery td:nth-child(3), .t-delivery td:nth-child(5) { width: 21%; }
  .stack tbody tr:hover > * { background: #e3e9ea; }
}
/* Narrower screens: one card per store, label above or beside each value. */
@media (max-width: 1099.98px) {
  .table-wrap { background: none; border-radius: 0; }
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .stack, .stack tbody, .stack tr, .stack th, .stack td { display: block; }
  .stack tbody { display: grid; gap: 12px; }
  .stack tr { background: var(--card); border-radius: 20px; padding: 4px 18px 8px; }
  .stack tbody tr + tr > * { border-top: 0; }
  .stack tbody th, .stack .sticky { padding: 16px 0 12px; font-size: 17px; box-shadow: none; }
  .stack td { padding: 11px 0; border-top: 1px solid var(--line) !important; }
  .stack td:empty { display: none; }
  .stack td::before {
    content: attr(data-label); display: block; margin-bottom: 3px;
    font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  }
  .compare-table tbody th { font-size: 16px; }
}
@media (min-width: 560px) and (max-width: 1099.98px) {
  .stack td { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
  .stack td::before { margin: 2px 0 0; }
}
@media (min-width: 900px) and (max-width: 1099.98px) {
  .t-delivery tbody, .t-terms tbody, .t-country tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-delivery td, .t-terms td, .t-country td { grid-template-columns: 120px minmax(0, 1fr); }
}

/* coverage matrix: small enough to fit at 320px */
.matrix { font-size: 14px; }
.matrix th, .matrix td { padding: 12px 8px; }
.matrix tbody th { padding-left: 16px; }
.matrix thead th:first-child { padding-left: 16px; }
.matrix thead th abbr { display: block; margin-top: 4px; }
.flag { display: inline-block; width: 24px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(11, 16, 17, .12); object-fit: cover; }
.flag--th { width: 26px; height: 19.5px; }
@media (max-width: 639px) {
  .matrix thead th abbr { font-size: 9.5px; letter-spacing: .02em; }
  .matrix .rank--sm { display: none; }
  .matrix th, .matrix td { padding: 10px 4px; }
}

.rank {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--lime);
  font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 17px; line-height: 1;
}
.rank--sm { width: 26px; height: 26px; font-size: 12px; margin-right: 10px; vertical-align: -7px; }
.claim {
  display: inline-block; margin-left: 6px; padding: 0 7px; line-height: 18px; border-radius: 999px; vertical-align: 1px;
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  background: var(--lime-soft); color: #3a470e; border: 1px solid var(--lime-2);
}
.score { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 18px; }
.score small { font-size: 12px; font-weight: 700; color: var(--muted); }
.src {
  display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 4px; vertical-align: -5px;
  border-radius: 50%; color: var(--muted); text-decoration: none; transition: background-color .15s ease, color .15s ease;
}
.src--dated { display: inline-flex; width: auto; gap: 4px; padding: 0 8px 0 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.src:hover { background: var(--lime); color: var(--ink); }
.src .icon--xs { width: 13px; height: 13px; }
.mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; vertical-align: middle; }
.mark--yes { background: var(--lime); color: var(--ink); }
.mark--no { border: 1.5px solid #8f9a9a; color: #5d6868; }
.status { display: inline-flex; gap: 10px; align-items: flex-start; }
.status .mark { flex: none; }

/* FAQ accordion */
.faq { max-width: 920px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
.faq__toggle {
  width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink);
  display: grid; place-items: center; transition: transform .25s ease, background-color .2s ease;
}
.faq__item[open] .faq__toggle { transform: rotate(45deg); background: var(--lime); border-color: var(--lime); }
.faq__item summary:hover .faq__q { text-decoration: underline; text-underline-offset: .2em; }
.faq__a { padding: 0 64px 22px 0; color: #2a3333; font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .faq__toggle { transition: none; } }

/* sources line */
.sources {
  display: flex; gap: 16px; align-items: flex-start; max-width: 920px;
  background: var(--card); border-radius: var(--r-card); padding: 22px 24px; font-size: 14.5px; color: #2a3333;
}
.sources__icon { color: var(--ink); }
.sources a { overflow-wrap: anywhere; }

/* entries (forwarders, alternatives) */
.entries { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 680px) { .entries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .entries { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.entry { background: var(--card); border-radius: var(--r-card); padding: 22px; font-size: 15px; }
.entry h3 { font-family: var(--display); font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: 18px; line-height: 1.1; margin-bottom: 10px; }
.entry h3 a { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.entry h3 a:hover { text-decoration: underline; }

/* chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); color: var(--white); font-size: 15px; }
.chip__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #283233; color: var(--lime); }

/* byline + breadcrumbs (on the dark panel) */
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--muted-dark); margin: 0; }
.byline a { color: var(--white); }
.byline .icon { color: var(--lime); }
.byline__sep { color: #5d6a6a; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted-dark); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--lime); }
.crumbs a { color: var(--white); }

/* ribbons: crossing black and lime bands */
.ribbon { position: relative; height: 124px; margin: 56px calc(-1 * 8px) 0; overflow: hidden; }
@media (min-width: 960px) { .ribbon { height: 150px; margin-top: 88px; } }
.ribbon__band {
  position: absolute; left: -5%; right: -5%; top: 50%; overflow: hidden; white-space: nowrap;
  font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(15px, 1.8vw, 24px); letter-spacing: .01em; line-height: 1; padding: 11px 0;
}
.ribbon__band--dark { background: var(--ink); color: var(--white); transform: translateY(-150%) rotate(-1.4deg); }
.ribbon__band--lime { background: var(--lime); color: var(--ink); transform: translateY(12%) rotate(1deg); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.ribbon__track { display: inline-flex; align-items: center; gap: 22px; padding-left: 22px; }
.ribbon__track i { display: inline-block; width: 3px; height: .9em; background: currentColor; opacity: .7; }
@media (prefers-reduced-motion: no-preference) {
  .ribbon__track { animation: ribbon 60s linear infinite; }
  .ribbon__band--lime .ribbon__track { animation-direction: reverse; }
}
@keyframes ribbon { to { transform: translateX(-50%); } }

/* button */
.button {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; overflow-wrap: anywhere;
}
.button:hover { background: var(--lime); color: var(--ink); }

/* ---------- footer ---------- */
.site-footer {
  position: relative; margin-top: 88px;
  background: #000; color: #c9d0d0; border-radius: var(--r-panel);
  padding: 44px var(--gutter) 96px;
}
.site-footer::before {
  content: ""; position: absolute; z-index: -1; left: 3%; right: 3%; top: -12px; height: 40px;
  background: linear-gradient(90deg, var(--lime-2), var(--lime) 50%, var(--lime-2));
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: rotate(.4deg);
}
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; } .footer-brand { grid-column: auto; } }
.footer-title { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; color: var(--white); font-size: clamp(26px, 3vw, 40px); line-height: .98; margin-bottom: 20px; max-width: 12ch; }
.footer-mail { display: flex; gap: 10px; align-items: center; font-size: 15px; overflow-wrap: anywhere; }
.footer-mail .icon { color: var(--lime); }
.footer-mail a { color: var(--white); }
.footer-h { font-family: var(--display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; color: var(--white); font-size: 18px; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col a { display: block; padding: 11px 0; border-bottom: 1px solid #222828; text-decoration: none; font-size: 15px; color: #b9c1c1; }
.footer-col a:hover { color: var(--white); border-bottom-color: var(--white); }
.footer-col a[aria-current="page"] { color: var(--white); font-weight: 700; border-bottom-color: var(--white); }
.site-footer :focus-visible { outline-color: var(--lime); }
.footer-bottom { margin-top: 40px; font-size: 13px; color: #8e9898; }
.to-top {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 14px 30px 12px; border-radius: 26px 26px 0 0;
}
.to-top::before, .to-top::after { content: ""; position: absolute; bottom: 0; width: 26px; height: 26px; }
.to-top::before { left: -26px; background: radial-gradient(circle at 0 0, transparent 25.5px, var(--white) 26px); }
.to-top::after { right: -26px; background: radial-gradient(circle at 100% 0, transparent 25.5px, var(--white) 26px); }
.to-top:hover { color: #000; box-shadow: inset 0 4px 0 var(--lime); }
.to-top:focus-visible { outline-color: var(--ink); }

/* photo credit line (CC BY-SA attribution) */
.photo-credit {
  position: absolute; z-index: 3; right: 14px; bottom: 10px;
  font-size: 11px; line-height: 1.3; color: rgba(255, 255, 255, .78); text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}

/* market tiles with flags */
.tile__country { display: flex; align-items: center; gap: 10px; }
.tile__country .flag { width: 30px; height: 22.5px; flex: none; }
.tiles--links .tile__country { flex-direction: column; align-items: flex-start; gap: 14px; overflow-wrap: normal; }
.tiles--links .tile__country .flag { width: 40px; height: 30px; border-radius: 5px; }
@media (max-width: 380px) { .photo-credit { font-size: 10px; } }
