/* MealieShopper.nl: the marketing site's own layer on top of Fresh v1.0.
   assets/css/fresh/tokens.css and components.css are copied unchanged from Flux76HQ/App-Guidance
   (projects/mealieshopper/branding); refresh them with scripts/sync_assets.py, never edit them here.
   Every colour below is a Fresh token. What is new here is layout, a few marketing sizes and two derived values. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Variable.woff2") format("woff2");
  font-weight: 200 800;
  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: "Inter";
  src: url("../fonts/Inter-Variable.woff2") 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;
}

:root {
  /* Derived, not new colours: the lemon highlight under a word, and the plate behind a screenshot
     (the screenshots carry this light ground; like product photos, they stay light in every theme). */
  --highlight: var(--lemon);
  --shot-plate: #e9f0eb;
  --gutter: 16px;
  --section-y: 72px;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

:root[data-theme="dark"] {
  --highlight: color-mix(in srgb, var(--lemon) 38%, var(--bg));
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --section-y: 96px; }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-height) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body { min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; }
p { text-wrap: pretty; }
a:hover { color: var(--primary-strong); }
code, pre { font-family: var(--font-mono); }

.container { width: min(100% - 2 * var(--gutter), var(--shell-max)); margin-inline: auto; }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
}
.skip-link:focus-visible { transform: none; }

.icon { width: 20px; height: 20px; flex: none; fill: currentColor; }
.icon--24 { width: 24px; height: 24px; }

/* ---------- Type: display and eyebrow are Fresh styles; section titles sit between title-xl and display */
.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.display {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

@media (min-width: 640px) {
  .display { font-size: 44px; line-height: 46px; }
}

.highlight {
  padding: 0 0.04em;
  background: linear-gradient(transparent 62%, var(--highlight) 62%, var(--highlight) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.section-title { font-size: 26px; line-height: 32px; font-weight: 800; letter-spacing: -0.02em; }
@media (min-width: 900px) {
  .section-title { font-size: 32px; line-height: 38px; }
}

.lead { color: var(--muted); font-size: 17px; line-height: 1.6; }
@media (min-width: 640px) {
  .lead { font-size: 18px; }
}

/* ---------- Top bar: Fresh .topbar, sticky, with the site navigation */
.topbar { position: sticky; top: 0; z-index: 50; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar { background: var(--topbar-bg); }
}
@media (prefers-reduced-transparency: reduce) {
  .topbar { background: var(--topbar-bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.topbar__inner { position: relative; padding-inline: var(--gutter); }
.brand-link { min-height: var(--control-height); padding-right: 4px; }
.brand-mark--dark { display: none; }
[data-theme="dark"] .brand-mark--light { display: none; }
[data-theme="dark"] .brand-mark--dark { display: block; }

.site-nav { display: flex; align-items: center; gap: 2px; margin-left: 16px; }
.site-nav .tab { padding: 0 12px; }
.site-nav .tab[aria-current="true"] { background: var(--selection); color: var(--primary-strong); }

.topbar__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.topbar__actions .button { padding: 0 16px; }

.lang-link { gap: 8px; width: auto; padding: 0 10px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.lang-link .flag { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px var(--flag-ring); }

.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

.menu-toggle { display: none; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.site-nav__cta { display: none; }

@media (max-width: 1023px) {
  .topbar__actions .topbar__cta { display: none; }
}

@media (max-width: 899px) {
  .topbar__inner { flex-wrap: wrap; }
  /* Without script the links simply wrap under the logo; with script they fold into the menu. */
  .site-nav { order: 3; flex-wrap: wrap; width: 100%; margin: 0; }
  .js .menu-toggle { display: inline-flex; }
  .js .topbar__inner { flex-wrap: nowrap; }
  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px var(--gutter) 16px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-md);
  }
  .js .site-nav.is-open { display: flex; animation: menu-in 160ms var(--ease); }
  .js .site-nav .tab { width: 100%; font-size: 16px; }
  .js .site-nav__cta { display: inline-flex; margin-top: 8px; }
}

@media (max-width: 479px) {
  .brand-link .wordmark { font-size: 19px; }
  .brand-mark { width: 36px; height: 36px; }
  .lang-link span { display: none; }
  .lang-link { width: var(--control-height); padding: 0; }
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Sections */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-muted); }
.section__head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section__head .lead { margin-top: 12px; }
.section__head--left { margin-inline: 0; text-align: left; }

/* ---------- Hero */
.hero { position: relative; padding-block: 48px 24px; overflow-x: clip; }
@media (min-width: 768px) {
  .hero { padding-block: 72px 32px; }
}

.hero__text { max-width: 800px; margin-inline: auto; text-align: center; }
.hero__text .lead { max-width: 660px; margin: 20px auto 0; }

.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero__actions .button { min-height: 48px; padding: 0 22px; font-size: 16px; }

.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 24px;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts .icon { width: 18px; height: 18px; color: var(--primary); }

.hero__media { position: relative; isolation: isolate; max-width: 1080px; margin: 48px auto 0; }

/* The cover's blocks: basil, lemon, ink, tomato and mint, as quiet shapes behind the screenshot */
.blocks { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blocks span { position: absolute; border-radius: var(--radius-dialog); }
.blocks .b-mint { inset: 10% -4% -6% 8%; background: var(--mint); border-radius: 32px; }
.blocks .b-basil { top: -18px; left: -14px; width: 26%; height: 44%; background: var(--primary); }
.blocks .b-lemon { right: -12px; top: -16px; width: 14%; height: 22%; background: var(--lemon); }
.blocks .b-tomato { right: 6%; bottom: -22px; width: 11%; height: 16%; background: var(--tomato); }
.blocks .b-basil::after,
.blocks .b-tomato::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 64px;
  height: 14px;
  background: radial-gradient(circle 7px at 7px 7px, var(--bg) 6.5px, transparent 7px) 0 0 / 25px 14px repeat-x;
}
.blocks .b-tomato::after { width: 39px; }

/* A screenshot on its plate. The link opens the full size (in the lightbox when script runs). */
.shot {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--shot-plate);
  box-shadow: var(--shadow-md);
  color: inherit;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.15s var(--ease);
}
.shot img { width: 100%; aspect-ratio: 1376 / 700; object-fit: cover; }
.shot--hero { border-radius: var(--radius-dialog); box-shadow: var(--shadow-lg); }
.shot__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}
a.shot:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
a.shot:hover .shot__zoom,
a.shot:focus-visible .shot__zoom { opacity: 1; }
@media (hover: hover) {
  a.shot:hover { transform: translateY(-1px); }
}

.hero-shot--dark { display: none; }
[data-theme="dark"] .hero-shot--light { display: none; }
[data-theme="dark"] .hero-shot--dark { display: block; }

/* Real Fresh components as stickers on the hero: an offer card and a message. Decoration only (aria-hidden). */
.sticker { position: absolute; z-index: 2; box-shadow: var(--shadow-lg); }
.sticker--product { left: -28px; top: 54%; width: 300px; }
.sticker--message { right: -20px; top: 12%; max-width: 320px; font-weight: 600; }
.product-tile {
  display: grid;
  place-items: center;
  width: var(--thumb);
  height: var(--thumb);
  border-radius: var(--radius-sm);
  background: #ffffff;
  outline: 1px solid rgba(15, 35, 24, 0.08);
  outline-offset: -1px;
}
.product-tile i { width: 26px; height: 26px; border-radius: 50%; background: var(--tomato); }
.sticker .product-card__photo .offer-badge { top: -8px; left: -8px; }

@media (max-width: 899px) {
  .sticker { display: none; }
}

/* ---------- Stores */
.stores { padding-block: 40px 8px; text-align: center; }
.stores__rows { display: grid; gap: 14px; justify-items: center; }
.stores__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; list-style: none; }
.stores__label { margin-right: 4px; color: var(--muted); font-size: 14px; font-weight: 600; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  list-style: none;
}
.store .icon { width: 18px; height: 18px; color: var(--primary); }
.store--soft { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted); min-height: 36px; }
.stores__note { margin-top: 16px; color: var(--muted); font-size: 13px; }

/* ---------- Steps */
.steps { display: grid; gap: 16px; list-style: none; counter-reset: none; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
.step { display: grid; align-content: start; gap: 12px; max-width: none; }
.step h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.step p { color: var(--muted); }
.step .avatar { font-family: var(--font-heading); font-size: 18px; font-weight: 800; }

/* ---------- Feature rows */
.features { display: grid; gap: 64px; }
@media (min-width: 1024px) {
  .features { gap: 96px; }
}

.feature { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .feature--flip .feature__text { order: 2; }
}

.feature__icon,
.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: var(--radius-control);
  background: var(--selection);
  box-shadow: inset 0 0 0 1px var(--selection-border);
  color: var(--primary);
}
.feature__icon .icon,
.tile-icon .icon { width: 24px; height: 24px; }

.feature h3 { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.feature__text > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.feature .eyebrow { margin-bottom: 8px; }

.checks { display: grid; gap: 10px; margin-top: 20px; list-style: none; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  background: var(--selection);
  color: var(--primary-strong);
}

/* ---------- Small cards */
.cards { display: grid; gap: 16px; list-style: none; }
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
.card { max-width: none; }
.card h3 { font-size: 18px; }
.card p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ---------- Gallery: a row you swipe, with buttons beside it */
.gallery { position: relative; }
.gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(86%, 540px);
  gap: 16px;
  margin: 0;
  padding: 4px 4px 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.gallery__track:focus-visible { outline-offset: 4px; border-radius: var(--radius-card); }
.gallery__item { scroll-snap-align: start; }
.gallery__item figure { margin: 0; }
.gallery__item figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }
.gallery__controls { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 16px; }
.no-js .gallery__controls { display: none; }

/* ---------- Privacy band: one basil block, like the cover */
.band__inner {
  position: relative;
  overflow: hidden;
  padding: 40px 24px;
  border-radius: var(--radius-dialog);
  background: var(--primary);
  color: var(--on-primary);
}
@media (min-width: 768px) {
  .band__inner { padding: 56px; border-radius: 32px; }
}
.band__inner::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 28px;
  width: 132px;
  height: 20px;
  background: radial-gradient(circle 10px at 10px 10px, var(--bg) 9.5px, transparent 10px) 0 0 / 28px 20px repeat-x;
  opacity: 0.9;
}
.band .eyebrow,
.band a { color: var(--on-primary); }
.band :focus-visible { outline-color: var(--on-primary); }
.band h2 { max-width: 640px; }
.band__lead { max-width: 640px; margin-top: 12px; font-size: 18px; line-height: 1.6; }
.band__grid { display: grid; gap: 24px; margin-top: 36px; list-style: none; }
@media (min-width: 768px) {
  .band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
}
.band__grid li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.band__grid h3 { font-size: 18px; }
.band__grid p { margin-top: 4px; font-size: 15px; line-height: 1.55; }
.band__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--on-primary) 14%, transparent);
}
.band__icon .icon { width: 24px; height: 24px; }

/* ---------- Install */
.install { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) {
  .install { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; }
}
.install__main { min-width: 0; max-width: none; }
.install-panel { min-width: 0; }
.install .subtabs { margin-bottom: 20px; }
.install .subtab { gap: 8px; }
.install .subtab .icon { width: 18px; height: 18px; }
.install-panel h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.js .install-panel h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-js .install .subtabs { display: none; }
.no-js .install-panel + .install-panel { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
.install-panel[hidden] { display: none; }
.install-panel:focus-visible { outline-offset: 6px; border-radius: var(--radius-control); }

.howto { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; list-style: none; counter-reset: howto; }
.howto > li { position: relative; min-width: 0; padding-left: 40px; counter-increment: howto; }
.howto > li::before {
  content: counter(howto);
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--selection);
  box-shadow: inset 0 0 0 1px var(--selection-border);
  color: var(--primary-strong);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
}
.howto p + .codeblock,
.howto .codeblock + p { margin-top: 10px; }
.note { margin-top: 20px; color: var(--muted); font-size: 14px; }

.codeblock {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--surface-muted);
}
.codeblock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding-left: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.codeblock__bar .icon-button { width: 44px; min-height: 44px; border: 0; border-left: 1px solid var(--border); border-radius: 0; box-shadow: none; background: transparent; }
.codeblock__bar .icon-button .mdi,
.codeblock__bar .icon-button .icon { width: 20px; height: 20px; }
.codeblock__bar .icon-button.is-done { color: var(--primary); }
.codeblock pre {
  margin: 0;
  padding: 14px;
  overflow-x: auto;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  tab-size: 2;
}
.codeblock .prompt { color: var(--muted); user-select: none; -webkit-user-select: none; }
code.inline {
  padding: 1px 6px;
  border-radius: var(--radius-xs);
  background: var(--surface-muted);
  box-shadow: inset 0 0 0 1px var(--border);
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.needs { display: grid; gap: 16px; }
.needs .box { max-width: none; }
.needs h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.needs .checks { margin-top: 16px; }
.needs .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* ---------- FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details { max-width: none; padding: 0; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 20px 16px 24px;
  border-radius: var(--radius-card);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  list-style: none;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--selection); color: var(--primary-strong); }
.faq summary .icon { color: var(--muted); transition: transform 0.2s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }
.faq details > div p + p { margin-top: 10px; }

/* ---------- Support */
.support { max-width: 820px; margin-inline: auto; text-align: center; }
.support .box { max-width: none; padding: 40px 24px; }
.support .tile-icon { margin-inline: auto; background: var(--lemon); box-shadow: none; color: var(--on-lemon); }
.support p { max-width: 560px; margin: 12px auto 0; color: var(--muted); }
.support .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

/* ---------- Footer */
.footer { padding-block: 56px 40px; border-top: 1px solid var(--border); background: var(--surface); }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
}
.footer__brand p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.footer h2 { margin-bottom: 12px; color: var(--muted); font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.footer ul { display: grid; gap: 2px; list-style: none; }
.footer ul a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--text); text-decoration: none; }
.footer ul a:hover { color: var(--primary-strong); text-decoration: underline; }
.footer ul a .icon { width: 16px; height: 16px; color: var(--muted); }
.footer__bottom { display: grid; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.footer__bottom a { color: inherit; }

/* ---------- Lightbox */
.lightbox {
  width: min(100% - 24px, 1400px);
  max-width: none;
  max-height: calc(100vh - 24px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-dialog);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.lightbox::backdrop { background: rgba(var(--shadow-ink), 0.72); }
.lightbox[open] { animation: menu-in 160ms var(--ease); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; height: auto; background: var(--shot-plate); }
.lightbox figcaption { padding: 14px 72px 18px 20px; color: var(--muted); font-size: 14px; }
.lightbox .icon-button { position: absolute; top: 12px; right: 12px; }

/* ---------- 404 */
.notfound { display: grid; place-items: center; min-height: 60vh; padding-block: 64px; text-align: center; }
.notfound p { max-width: 520px; margin: 12px auto 0; color: var(--muted); }
.notfound .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .site-nav.is-open,
  .lightbox[open] { animation: none; }
  a.shot:hover { transform: none; }
}

@media print {
  .topbar, .blocks, .sticker, .gallery__controls, .codeblock__bar .icon-button, .support { display: none !important; }
  .band__inner { background: none; color: inherit; border: 1px solid; }
}

.icon-flip { transform: scaleX(-1); }

/* ---------- On a phone the GitHub link and then the language move from the bar into the menu */
.site-nav__extra { display: none; }
.site-nav__extra .mdi { width: 20px; height: 20px; }
@media (max-width: 639px) {
  .topbar__github { display: none; }
  .site-nav__extra--github { display: inline-flex; }
}
@media (max-width: 399px) {
  .lang-link { display: none; }
  .site-nav__extra--lang { display: inline-flex; }
}
