/* Perfect Streamer site. Brand values come from the old pstreamer.tv: see docs/brand.md. */
@font-face { font-family: "Roboto"; font-weight: 300; font-display: swap;
  src: url("../fonts/roboto-latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Regular 400 for body text (owner #1015, task #482): without it the browser took the 500 file for all body text. */
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap;
  src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap;
  src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-weight: 300; font-display: swap;
  src: url("../fonts/roboto-cyrillic-300-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap;
  src: url("../fonts/roboto-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap;
  src: url("../fonts/roboto-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap;
  src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap;
  src: url("../fonts/roboto-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  /* Brand */
  --blue: #2a21db;        /* primary: links, buttons, blue bands */
  --blue-dark: #1d16a8;   /* hover */
  --red: #ff392b;         /* accent: rules, markers, the current language (not for body text) */
  --red-text: #c4170b;    /* red that carries text: 5.9:1 on white */
  --ink: #000; --muted: #3f4254; --line: #ccc; --bg: #fff; --bg-soft: #f5f5fb;
  --radius: 24px; --pill: 30px; --wrap: 72rem;
  /* Brand gradient (brand book 01/1, 01/7): blue to red, diagonal. Where it carries white
     text it ends at #d6344d, a stop of the logo's own gradient: white stays >= 4.7:1 (AA). */
  --grad: linear-gradient(135deg, #2a21db 0%, #6427ab 45%, #d6344d 100%);
  /* Decorative thin lines (brand book 01/12), white, low opacity. */
  --lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' fill='none' stroke='%23fff' stroke-opacity='.18' stroke-width='1.5'%3E%3Cpath d='M380 60 C460 0 520 140 600 80'/%3E%3Cpath d='M300 380 L420 260'/%3E%3Cpath d='M470 340 L560 250'/%3E%3Cpath d='M520 40 L580 -20'/%3E%3Cpath d='M250 400 C330 300 420 380 520 300 S600 240 640 260'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; font: 400 1rem/1.55 "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
       color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3 { font-weight: 500; line-height: 1.25; overflow-wrap: break-word; }
h1 { font-weight: 300; font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.5rem 0 1rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
strong { font-weight: 700; }  /* a real Roboto 700, so bold shows (owner #256) */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--bg); padding: 0.5rem 1rem; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.nav-box > summary, .lang-box > summary { line-height: 1.2; }
.logo { display: flex; margin-right: auto; min-width: 0; flex-shrink: 1; }
.logo { padding: 0.5rem 0; }  /* clear space: 1.5 letter modules (brand book 01/10) */
.logo img { display: block; width: 175px; max-width: 100%; height: auto; }
.nav-box > summary, .lang-box > summary { cursor: pointer; list-style: none; padding: 0.4rem 0.8rem;
  border: 1px solid var(--line); border-radius: var(--pill); }
.nav-box > summary::-webkit-details-marker, .lang-box > summary::-webkit-details-marker { display: none; }
.lang-box > summary { color: var(--red-text); font-weight: 500; text-transform: uppercase; }
.nav-box nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem;
  max-height: calc(100vh - 4rem); max-height: calc(100dvh - 4rem); overflow-y: auto; overscroll-behavior: contain; }
.nav { list-style: none; margin: 0 0 1rem; padding: 0; }
.nav a { display: flex; align-items: center; min-height: 2.75rem; padding: 0.25rem 0; color: var(--ink); text-decoration: none; }
/* The menu stays at 500, as it looked while no 400 file was loaded (task #482); body text is 400. */
.nav a, .nav-box > summary, .sub-box > summary { font-weight: 500; }
.nav a[aria-current] { color: var(--blue); }
.nav a[aria-current] { font-weight: 500; }
.lang-box { position: relative; }
.lang-box ul { position: absolute; right: 0; top: 115%; list-style: none; margin: 0; padding: 0.5rem 0;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; min-width: 10rem; }
.lang-box a { display: block; padding: 0.35rem 1rem; color: var(--ink); text-decoration: none; }
.lang-box a[aria-current] { color: var(--red-text); font-weight: 500; }
/* «Company» drop-down: a <details> whose summary carries a visible triangle. In the narrow menu the list opens
   in place, indented; in the wide bar it drops below like the language box. */
.sub-box > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 0.4rem;
  min-height: 2.75rem; color: var(--ink); }
.sub-box > summary::-webkit-details-marker { display: none; }
.sub-box > summary::after { content: ""; flex: none; width: 0; height: 0; border-style: solid;
  border-width: 0.36rem 0.3rem 0; border-color: currentColor transparent transparent; transition: transform 0.15s; }
.sub-box[open] > summary::after { transform: rotate(180deg); }
.sub-box > summary.current { color: var(--blue); }
.sub-box > summary.current { font-weight: 500; }
.sub-box ul { list-style: none; margin: 0; padding: 0 0 0 1rem; }
.nav-wide { display: none; }
@media (min-width: 62rem) {
  .nav-wide .sub-box { position: relative; }
  .nav-wide .sub-box > summary { min-height: 0; line-height: 1.2; white-space: nowrap; }
  .nav-wide .sub-box ul { position: absolute; left: -1rem; top: 160%; padding: 0.5rem 0; background: var(--bg);
    border: 1px solid var(--line); border-radius: 12px; min-width: 11rem; }
  .nav-wide .nav .sub-box a { display: block; padding: 0.35rem 1rem; line-height: 1.4; }
  .nav-box { display: none; }
  .nav-wide { display: flex; align-items: center; gap: 1.5rem; }
  .nav-wide .nav { display: flex; align-items: center; gap: 1.25rem; margin: 0; }
  .nav-wide .nav li { display: flex; align-items: center; }
  .nav-wide .nav a { padding: 0; line-height: 1.2; }
  .nav-wide .nav a, .nav-wide .btn { white-space: nowrap; }
  /* With «Pricing» every menu has seven items or more (eight in Russian, with «Видеоуроки»; owner #998, task #481):
     tighter gaps at every width, and below 74rem the menu stays behind the button, as on a phone. In the bar the
     longer menus (German, Russian) would otherwise squeeze the logo to nothing at 62-74rem. */
  .nav-wide:has(.nav > li:nth-child(7)) { gap: 1rem; }
  .nav-wide .nav:has(> li:nth-child(7)) { gap: 0.75rem; }
  @media (max-width: 73.99rem) {
    .top-in:has(.nav-wide .nav > li:nth-child(7)) .nav-wide { display: none; }
    .top-in:has(.nav-wide .nav > li:nth-child(7)) .nav-box { display: block; }
  }
}

/* Buttons: pills with uppercase labels, as on the old site. White on the brand red
   is only 3.4:1, so text-bearing buttons are blue (8.9:1); red stays an accent. */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: var(--pill); background: var(--blue); color: #fff;
       font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; font-size: 0.95rem; text-decoration: none;
       border: 1px solid var(--blue); }
.btn-alt { background: transparent; color: var(--blue); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.alt-cta { margin: -0.5rem 0 1rem; }
.cards + .alt-cta { margin-top: 1rem; }
.hero .alt-cta a { font-weight: 500; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }

/* Sections */
.hero { background: var(--lines) right bottom / min(60rem, 100%) auto no-repeat, var(--grad); color: #fff; padding: 3.5rem 0 3rem; }
.hero .lead { font-size: 1.2rem; color: #fff; max-width: 46rem; }
.hero a:not(.btn) { color: #fff; }
.hero .eyebrow { color: #fff; opacity: 0.92; }
.hero .proof li { border-left-color: rgba(255, 255, 255, 0.7); color: #fff; }
.hero .proof strong { color: #fff; }
.hero .btn { background: #fff; color: var(--blue); border-color: #fff; }
.hero .btn-alt { background: transparent; color: #fff; border-color: #fff; }
.section { padding: 1rem 0 2rem; }
.section ul, .section ol { max-width: 60rem; }
.lead { font-size: 1.1rem; color: var(--muted); }
.eyebrow { color: var(--red-text); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin: 0 0 0.5rem; }
/* The eyebrow of a child page is a breadcrumb (owner #958): the section links to its index.
   The padding gives the link a 44 px tap target; the negative margin keeps the H1 where it was. */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; }
.crumbs li:not(:last-child)::after { content: "·"; padding: 0 0.3em; }
.crumbs a { display: inline-block; padding: 0.75rem 0.25rem; margin: -0.75rem -0.25rem;
            text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
.crumbs a:focus-visible { text-decoration-thickness: 2px; }
.proof { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.proof li { border-left: 3px solid var(--red); padding-left: 0.75rem; color: var(--muted); font-size: 0.95rem; }
.proof strong { display: block; color: var(--blue); font-size: 1.6rem; font-weight: 500; }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 1rem 0; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--bg);
        transition: border-color 0.2s; }
.card h3 { margin-top: 0; }
.card h3 a { text-decoration: none; }
/* A card with exactly one link (class added at build, eleventy.config.js) is tapped as a whole: the link
   stretches over the card, and the focus ring goes round the card. */
.card-link { position: relative; }
.card-link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link a:focus-visible { outline: none; }
.card-link:has(a:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.card-link:active { border-color: var(--blue); }
.card p:last-child { margin-bottom: 0; }
/* Pricing (task #462): the figure big and blue above its unit; the cards' button rows line up at the bottom. */
.prices .card { display: flex; flex-direction: column; }
.prices .card p:last-child { margin-top: auto; }
.prices .card ul { padding-left: 1.25rem; }
.price { color: var(--muted); margin: 0 0 0.5rem; }
.price strong { display: block; color: var(--blue); font-size: 2.4rem; font-weight: 500; line-height: 1.2; }
.fn-ref { font-size: 0.55em; vertical-align: super; line-height: 0; margin-left: 0.1em; text-decoration: none; }
.fn { font-size: 0.9rem; color: var(--muted); scroll-margin-top: 5rem; }
.fn:focus { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
/* Video lessons (owner #967): one card per lesson; the player keeps 16:9 before its metadata loads. The lesson
   frame has white margins of its own, so the player gets a border to show where it ends. */
.lessons { max-width: 60rem; }
.lesson h2 { margin-top: 0; font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
.lesson video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0 0 1rem;
                border: 1px solid var(--line); border-radius: 8px; background: var(--bg-soft); }
@media (max-width: 40rem) { .lesson { padding: 1rem; } }
/* Per-lesson links (CASE-42): copy the video URL, download it, link to the card; wraps on a phone. */
.lesson-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; margin: 0 0 1rem; }
.lesson-share a, .lesson-copy { display: inline-flex; align-items: center; min-height: 2.75rem; }
.lesson-copy { font: inherit; color: var(--blue); background: none; border: 0; padding: 0; cursor: pointer;
               text-decoration: underline; text-underline-offset: 0.15em; }
.lesson-copy[hidden] { display: none; }
.lesson-copied { color: var(--muted); font-size: 0.9rem; }
.lesson { scroll-margin-top: 5rem; }
.lesson .chapters { margin: 0 0 1rem; }
.lesson .chapters summary { cursor: pointer; color: var(--blue); }
.lesson .chapters ol { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.lesson .chapters .t { display: inline-block; min-width: 3.2em; color: var(--muted); font-variant-numeric: tabular-nums; }
.credits p { max-width: 60rem; font-size: 0.875rem; color: var(--muted); }
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 52rem) { .split { grid-template-columns: 1fr 1fr; } }
.shot { margin: 1rem 0; }
.shot img { border-radius: 12px; display: block; box-shadow: 0 6px 24px rgba(50, 50, 93, 0.18); }
.shot-phone img { border-radius: 18px; }
.shot-wide img { width: 100%; }
.shot-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; margin: 1rem 0; }
.shot-row .shot { margin: 0; flex: 0 1 240px; }
.shot figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
/* Drawn diagrams inlined as SVG (#662): portrait, so the labels keep their size on a phone. */
.diagram { margin: 2rem auto 0; max-width: 30rem; }
.diagram svg { display: block; width: 100%; height: auto; }
.band { background: var(--lines) right center / min(48rem, 100%) auto no-repeat, var(--grad); color: #fff; padding: 2.5rem 0; margin-top: 2rem; }
.band h2 { margin-top: 0; color: #fff; }
.band .btn { background: #fff; color: var(--blue); border-color: #fff; }
.band .btn-alt { background: transparent; color: #fff; border-color: #fff; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 0.95rem; }
th, td { border: 1px solid var(--line); padding: 0.5rem 0.65rem; text-align: left; vertical-align: top; }
th { background: var(--bg-soft); font-weight: 500; }
.table-wrap { overflow-x: auto;
  background: linear-gradient(to right, var(--bg) 30%, rgba(255, 255, 255, 0)) left / 2rem 100% no-repeat local,
    linear-gradient(to left, var(--bg) 30%, rgba(255, 255, 255, 0)) right / 2rem 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) left / 0.75rem 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) right / 0.75rem 100% no-repeat scroll; }
/* Regional Access Program note under the pricing cards (rap.js unhides one) and the geolocation credit. */
.rap .note { margin: 1rem 0 0.5rem; }
.foot .geo-credit { font-size: 0.8rem; margin: 0.25rem auto 0; }
/* Industry membership badges above the copyright line (#991). */
.foot .members { list-style: none; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-items: center; margin: 1.5rem auto 0; padding: 1rem 1rem 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.foot .members li { margin: 0; }
.foot .members a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; color: var(--muted); }
.foot .members img { display: block; width: auto; height: 48px; }
.foot .geo-credit a { color: var(--muted); }
.note { border-left: 3px solid var(--blue); background: var(--bg-soft); padding: 0.75rem 1rem; border-radius: 0 12px 12px 0; }
.prose { max-width: 48rem; }

/* Footer */
.foot { border-top: 1px solid var(--line); margin-top: 3rem; padding: 2rem 0 1rem; background: var(--bg-soft); font-size: 0.95rem; }
.foot-in { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.foot h2 { font-size: 1rem; margin: 0 0 0.5rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0.3rem 0; }
/* Blue without hover: on touch screens a black link reads as plain text. */
.foot a { color: var(--blue); text-decoration: none; }
.seller a { color: var(--blue); font-size: 1.1rem; }
/* The country name never breaks across lines (#627). */
.nw { white-space: nowrap; }
.copy { color: var(--muted); font-size: 0.875rem; margin-top: 1.5rem; }

/* Legal facts (Company page) */
.legal { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1rem; margin: 1rem 0; }
.legal dt { color: var(--muted); font-weight: 500; }
.legal dd { margin: 0; }
@media (max-width: 40rem) { .legal { grid-template-columns: 1fr; } .legal dd { margin-bottom: 0.5rem; } }

/* News (task #255): the home panel has a fixed height per breakpoint, so the page does not jump when the list
   arrives; news.js shows as many titles as fit whole. Titles are clamped to two lines. */
.news-panel { height: 9.75rem; overflow: hidden; }
.news-list { list-style: none; margin: 0; padding: 0; height: 100%; overflow: hidden; display: grid; gap: 0.75rem;
  align-content: start; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.news-list li { border-left: 3px solid var(--red); padding-left: 0.75rem; }
.news-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-weight: 500; line-height: 1.35; }
.news-list time, .news-item time, .news-article time { display: block; color: var(--muted); font-size: 0.875rem; }
.news-note { color: var(--muted); }
.news-all, .news-rss { margin-top: 0.5rem; }
.news-item { border-bottom: 1px solid var(--line); padding: 1rem 0; max-width: 48rem; }
.news-item h2 { margin: 0 0 0.25rem; font-size: 1.25rem; }
/* A home panel entry (title + date) is tapped as a whole: the title link covers the entry. */
.news-list li { position: relative; }
.news-list .news-title::after { content: ""; position: absolute; inset: 0; }
.news-article { max-width: 48rem; }
.news-article h2 { margin-top: 0; }
.news-article h3 { font-size: 1.125rem; margin: 1.5rem 0 0.5rem; }
.news-figure { margin: 1rem 0; }
.news-figure img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.news-pages { display: flex; gap: 1.5rem; align-items: baseline; flex-wrap: wrap; margin: 1.5rem 0; }
@media (max-width: 40rem) { .news-panel { height: 16rem; } }

/* Test reports (task #912): the list reuses the news styles; a report body may hold tables and code blocks, which
   scroll sideways on their own on a narrow screen instead of widening the page. */
.report-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; align-items: baseline; color: var(--muted);
  font-size: 0.875rem; margin: 0 0 0.5rem; }
.report-meta time { display: inline; }
.report-version { font-weight: 500; color: var(--ink); }
.report-channel { border: 1px solid var(--line); border-radius: 999px; padding: 0 0.5rem; }
.report-article, .report-excerpt { max-width: 48rem; }
.report-body h2 { font-size: 1.25rem; margin: 1.75rem 0 0.5rem; }
.report-body h3 { font-size: 1.125rem; margin: 1.5rem 0 0.5rem; }
.report-table { overflow-x: auto; margin: 1rem 0; }
.report-table table { margin: 0; width: auto; min-width: 100%; }
.report-table .align-left { text-align: left; }
.report-table .align-center { text-align: center; }
.report-table .align-right { text-align: right; }
.report-body code, .report-excerpt code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875em; background: var(--bg-soft); border-radius: 4px; padding: 0.05rem 0.3rem; }
.report-code { overflow-x: auto; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.75rem 1rem; margin: 1rem 0; line-height: 1.45; }
.report-code code { background: none; padding: 0; white-space: pre; }

/* Hover looks only where there is a hover (F13): on a touch screen they stuck after a tap. */
@media (hover: hover) {
  a:hover { color: var(--blue-dark); }
  .nav a:hover, .lang-box a:not([aria-current]):hover, .sub-box > summary:hover { color: var(--blue); }
  .btn:hover { background: #fff; color: var(--blue); }
  .btn-alt:hover { background: var(--blue); color: #fff; }
  .hero .btn:hover, .band .btn:hover { background: transparent; color: #fff; }
  .hero .btn-alt:hover, .band .btn-alt:hover { background: #fff; color: var(--blue); }
  .crumbs a:hover { text-decoration-thickness: 2px; }
  .card-link:hover { border-color: var(--blue); }
  .foot a:hover { color: var(--blue-dark); text-decoration: underline; }
}
/* Tap feedback. Not a transform: it would make the button the box of a card's stretched link mid-tap. */
.btn:active { opacity: 0.85; }

/* Touch screens: every control at least 44 px high (owner #960). A mouse keeps the compact look. */
@media (pointer: coarse) {
  .nav-box > summary, .lang-box > summary { display: flex; align-items: center; min-height: 2.75rem; }
  .lang-box a { padding: 0.6rem 1rem; }
  .btn-sm { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .foot li { margin: 0; }
  .foot li a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .card a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  main .link-line > a, .legal a, .news-all a, .news-rss a, .news-pages a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .news-item h2 a { display: inline-block; padding: 0.6rem 0; margin: -0.6rem 0; }
}
