/* Calmaboard coming-soon page: "the panel above your seat". The world is the cabin's
   overhead passenger panel: moulded warm-grey plastic, softly lit pill lamps, small placards.
   Light = cabin by day, dark = cabin at night; the reading-light button switches them.
   Lamps: teal = most likely smooth, amber = bumps possible, unlit = not covered.
   Logical properties only (inline-start/end) so an Arabic version can flip with dir="rtl". */

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

:root {
  --bg: #e4e1db;
  --bg-deep: #d8d4cc;
  --panel: #f3f1ec;
  --ink: #1d2226;
  --muted: #4f565b;
  --line: #cbc6bd;
  --teal: #0f6b66;
  --teal-ink: #ffffff;
  --lamp-smooth: #43b3a7;
  --lamp-smooth-glow: rgb(67 179 167 / 0.45);
  --lamp-bump: #eea33a;
  --lamp-bump-glow: rgb(238 163 58 / 0.55);
  --lamp-off: #cdc8bf;
  --bump-ink: #8a4f00;
  --mould:
    inset 0 1px 0 rgb(255 255 255 / 0.85), inset 0 -2px 0 rgb(0 0 0 / 0.05),
    0 1px 2px rgb(40 34 26 / 0.08), 0 14px 34px -10px rgb(40 34 26 / 0.22);
  --socket: inset 0 1px 2px rgb(0 0 0 / 0.18), 0 1px 0 rgb(255 255 255 / 0.7);
  --max: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14171a;
    --bg-deep: #0e1012;
    --panel: #1f2428;
    --ink: #ece8e1;
    --muted: #a9a6a0;
    --line: #2f353a;
    --teal: #5cc4ba;
    --teal-ink: #0e1012;
    --lamp-smooth: #5cc4ba;
    --lamp-smooth-glow: rgb(92 196 186 / 0.5);
    --lamp-bump: #f2b84b;
    --lamp-bump-glow: rgb(242 184 75 / 0.6);
    --lamp-off: #343a3f;
    --bump-ink: #f2b84b;
    --mould:
      inset 0 1px 0 rgb(255 255 255 / 0.06), inset 0 -2px 0 rgb(0 0 0 / 0.35),
      0 1px 2px rgb(0 0 0 / 0.4), 0 18px 40px -12px rgb(0 0 0 / 0.6);
    --socket: inset 0 1px 3px rgb(0 0 0 / 0.6), 0 1px 0 rgb(255 255 255 / 0.04);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #14171a;
  --bg-deep: #0e1012;
  --panel: #1f2428;
  --ink: #ece8e1;
  --muted: #a9a6a0;
  --line: #2f353a;
  --teal: #5cc4ba;
  --teal-ink: #0e1012;
  --lamp-smooth: #5cc4ba;
  --lamp-smooth-glow: rgb(92 196 186 / 0.5);
  --lamp-bump: #f2b84b;
  --lamp-bump-glow: rgb(242 184 75 / 0.6);
  --lamp-off: #343a3f;
  --bump-ink: #f2b84b;
  --mould:
    inset 0 1px 0 rgb(255 255 255 / 0.06), inset 0 -2px 0 rgb(0 0 0 / 0.35),
    0 1px 2px rgb(0 0 0 / 0.4), 0 18px 40px -12px rgb(0 0 0 / 0.6);
  --socket: inset 0 1px 3px rgb(0 0 0 / 0.6), 0 1px 0 rgb(255 255 255 / 0.04);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Archivo",
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition:
    background-color 0.5s var(--ease),
    color 0.5s var(--ease);
}

h1,
h2,
h3 {
  text-wrap: balance;
  font-stretch: 112%;
}

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

img {
  max-width: 100%;
  height: auto;
}

picture {
  display: contents;
}

/* With display: contents on <picture>, <source> would otherwise take a grid cell */
picture source {
  display: none;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--teal);
}

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

[id] {
  scroll-margin-top: 88px;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 28px;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 20;
  background: var(--panel);
  padding: 8px 14px;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

/* Placard: the small printed label on a cabin panel */
.placard {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  font-stretch: 125%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-stretch: 112%;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
  font-size: 0.9375rem;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav + .header-tools {
  margin-inline-start: 8px;
}

.header-tools:first-child,
.brand + .header-tools {
  margin-inline-start: auto;
}

.lang {
  font-size: 0.9375rem;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
}

/* Reading-light button: switches cabin day / night */
.reading-light {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--panel);
  box-shadow: var(--mould);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}

.reading-light:active {
  transform: scale(0.94);
}

.reading-light .bulb {
  fill: var(--lamp-off);
  transition:
    fill 0.3s var(--ease),
    filter 0.3s var(--ease);
}

.reading-light[data-lit="true"] .bulb {
  fill: var(--lamp-bump);
  filter: drop-shadow(0 0 4px var(--lamp-bump-glow));
}

/* Hero */
.hero {
  padding-block: 48px 104px;
  overflow: clip;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 760;
  max-width: 13ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.lead {
  margin: 0 0 36px;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 36ch;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--teal-ink);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.18),
    0 10px 24px -10px color-mix(in srgb, var(--teal) 70%, transparent);
  transition:
    transform 0.2s var(--ease),
    filter 0.2s;
}

.button:hover {
  color: var(--teal-ink);
  filter: brightness(1.08);
}

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button svg {
  transition: transform 0.25s var(--ease);
}

.button:hover svg {
  transform: translateY(2px);
}

/* "Coming soon" store plates: not links, the apps are not in the stores yet */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: var(--panel);
  box-shadow: var(--mould);
  font-weight: 600;
  line-height: 1.15;
}

.store small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 650;
  font-stretch: 125%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.store svg {
  flex: none;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  margin: 0;
  padding-block-end: 72px;
}

.hero-photo {
  display: block;
  width: 94%;
  margin-inline-start: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: 0 30px 60px -24px rgb(30 26 20 / 0.45);
}

.hero-visual .panel {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: min(440px, 92%);
}

/* The forecast panel: lamps in a moulded strip */
.panel {
  background: var(--panel);
  color: var(--ink);
  border-radius: 26px;
  box-shadow: var(--mould);
  padding: 20px 22px 18px;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.panel-route {
  margin: 0;
  font-weight: 650;
  font-size: 0.9375rem;
}

.panel-overall {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.panel-overall span {
  display: block;
  margin-top: 2px;
  font-size: 0.9375rem;
  font-weight: 400;
  font-stretch: 100%;
  color: var(--muted);
  letter-spacing: 0;
}

.lamps {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.lamp-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 5px;
  padding: 6px;
  border-radius: 999px;
  background: var(--bg-deep);
  box-shadow: var(--socket);
}

.lamp {
  height: 12px;
  border-radius: 999px;
  background: var(--lamp-smooth);
  box-shadow: 0 0 10px -1px var(--lamp-smooth-glow);
}

.lamp.is-bump {
  background: var(--lamp-bump);
  box-shadow: 0 0 14px 0 var(--lamp-bump-glow);
}

.lamp.is-off {
  background: var(--lamp-off);
  box-shadow: none;
}

.lamps .cap {
  font-size: 0.6875rem;
  font-weight: 650;
  font-stretch: 125%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.timeline {
  list-style: none;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.timeline li {
  margin: 0 0 4px;
}

.timeline .sub {
  padding-inline-start: 18px;
  color: var(--bump-ink);
  font-weight: 600;
}

.notices {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}

.notices p {
  margin: 0;
}

/* Power-on: the lamps light one after the other, once, when the page opens */
@media (prefers-reduced-motion: no-preference) {
  .hero .lamp {
    animation: power-on 0.9s var(--ease) both;
    animation-delay: calc(0.35s + var(--i, 0) * 0.07s);
  }

  .hero .lamp.is-bump {
    animation-name: power-on-bump;
    animation-duration: 1.6s;
  }
}

@keyframes power-on {
  from {
    background: var(--lamp-off);
    box-shadow: none;
  }
}

@keyframes power-on-bump {
  0% {
    background: var(--lamp-off);
    box-shadow: none;
  }
  45% {
    background: var(--lamp-bump);
    box-shadow: 0 0 22px 4px var(--lamp-bump-glow);
  }
}

/* Sections */
section {
  padding-block: 104px;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 740;
  max-width: 18ch;
}

.section-intro {
  margin: 0;
  font-size: 1.1875rem;
  color: var(--muted);
  max-width: 52ch;
}

/* The worry: the man at the gate */
.worry {
  padding-block: 0;
}

.worry .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 64px;
  align-items: center;
}

.worry-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 70% 50%;
  border-radius: 36px;
}

.worry p {
  margin: 0 0 16px;
  font-size: 1.1875rem;
  color: var(--muted);
  max-width: 40ch;
}

.worry p strong {
  color: var(--ink);
  font-weight: 650;
}

/* How it works: three stops on one lit line */
.how h2 {
  margin-bottom: 56px;
}

.stops {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stops::before {
  content: "";
  position: absolute;
  inset-inline: 10px 10px;
  top: 9px;
  height: 4px;
  border-radius: 999px;
  background: var(--lamp-off);
  box-shadow: var(--socket);
}

.stop {
  position: relative;
}

.stop::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: var(--lamp-smooth);
  box-shadow:
    0 0 0 6px var(--bg),
    0 0 16px 2px var(--lamp-smooth-glow);
}

.stop .placard {
  margin-bottom: 8px;
}

.stop h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.stop p {
  margin: 0;
  color: var(--muted);
  max-width: 34ch;
}

/* Example: the phone and the full forecast text, on a deep teal band */
.example {
  --band: #0f5f5a;
  background:
    radial-gradient(
      90% 120% at 0% 100%,
      rgb(255 255 255 / 0.08),
      transparent 60%
    ),
    var(--band);
  color: #f4f1ea;
}

:root[data-theme="dark"] .example {
  --band: #0c3533;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .example {
    --band: #0c3533;
  }
}

.example h2 {
  color: #ffffff;
}

.example .section-intro,
.example-note {
  color: #cfe3e0;
}

.example .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.example-phone {
  display: block;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 800 / 1024;
  object-fit: cover;
  border-radius: 36px;
  justify-self: center;
}

.example .panel {
  margin-top: 36px;
  max-width: 520px;
  padding: 26px 28px 22px;
}

.example .panel-overall {
  font-size: 1.5rem;
}

.example-note {
  margin: 14px 0 0;
  font-size: 0.875rem;
}

/* Proof: one row per test, what we compared and what came out */
.proof-rows {
  display: grid;
  gap: 14px;
  margin: 48px 0 0;
  padding: 28px;
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--mould);
}

.proof-row {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.proof-row + .proof-row {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.proof-row .said {
  margin: 0;
  font-weight: 650;
  line-height: 1.3;
}

.proof-row .said span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.proof-row .how,
.proof-row .result {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.proof-row .result strong {
  color: var(--ink);
  font-weight: 700;
}

/* Questions */
.faq .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--mould);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 650;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  border-radius: 22px;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--lamp-off);
  box-shadow: var(--socket);
  transition:
    background-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.faq summary:hover::after {
  background: color-mix(in srgb, var(--lamp-smooth) 45%, var(--lamp-off));
}

.faq details[open] summary::after {
  background: var(--lamp-smooth);
  box-shadow: 0 0 10px var(--lamp-smooth-glow);
}

.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  max-width: 60ch;
}

/* Closing call: the cabin at night, whatever the theme */
.close {
  padding-block: 0 104px;
}

.close-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 56px;
  border-radius: 40px;
  background:
    radial-gradient(
      120% 140% at 100% 0%,
      rgb(92 196 186 / 0.16),
      transparent 55%
    ),
    #171b1e;
  color: #ece8e1;
  box-shadow: 0 30px 60px -28px rgb(0 0 0 / 0.55);
}

.close-panel h2 {
  margin-bottom: 12px;
}

.close-panel p {
  margin: 0;
  color: #b4b0a9;
  max-width: 44ch;
}

.close-panel p a:hover {
  color: #5cc4ba;
}

.close-panel .store {
  background: #23292d;
  color: #ece8e1;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.06),
    0 1px 2px rgb(0 0 0 / 0.4);
}

.close-panel .store small {
  color: #a9a6a0;
}

.close-panel .store svg {
  color: #ece8e1;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 36px 52px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: grid;
  gap: 20px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.credit {
  max-width: 100ch;
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* Legal page */
.legal {
  padding-block: 48px 96px;
}

.legal .wrap {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  font-stretch: 112%;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 32px;
}

.legal h2 {
  font-size: 1.375rem;
  margin: 40px 0 12px;
}

.legal dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 8px 24px;
  margin: 0;
}

.legal dt {
  color: var(--muted);
}

.legal dd {
  margin: 0;
}

.legal p {
  max-width: 65ch;
}

/* Tablets */
@media (max-width: 1023px) {
  .site-nav {
    display: none;
  }

  .proof-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .proof-row .said {
    grid-column: 1 / -1;
  }
}

/* Phones */
@media (max-width: 767px) {
  .wrap {
    padding-inline: 20px;
  }

  section {
    padding-block: 72px;
  }

  .hero {
    padding-block: 20px 72px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .lead {
    font-size: 1.125rem;
    margin-bottom: 28px;
  }

  .store {
    min-height: 48px;
    padding: 0 14px 0 11px;
    gap: 8px;
  }

  .hero .wrap,
  .worry .wrap,
  .example .wrap,
  .faq .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    padding-block-end: 0;
  }

  .hero-photo {
    width: 100%;
    aspect-ratio: 5 / 4;
    border-radius: 28px;
  }

  .hero-visual .panel {
    position: relative;
    width: auto;
    margin: -64px 12px 0;
  }

  .lamps {
    grid-template-columns: 1fr 1fr;
    row-gap: 6px;
  }

  .lamps .lamp-row {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 4px;
  }

  .lamps .cap:last-child {
    text-align: end;
  }

  .worry-photo {
    border-radius: 28px;
  }

  .stops {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-inline-start: 44px;
  }

  .stops::before {
    inset-inline: auto;
    inset-inline-start: 9px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    height: auto;
  }

  .stop::before {
    position: absolute;
    inset-inline-start: -44px;
    top: 0;
    margin: 0;
  }

  .example-phone {
    max-width: 340px;
  }

  .proof-rows {
    padding: 20px;
  }

  .proof-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .close-panel {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    border-radius: 30px;
  }

  .legal dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .legal dd {
    margin-bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Legal pages and 404: the language link sits alone at the end of the header */
.brand + .lang {
  margin-inline-start: auto;
}
