/* Design tokens (design/claude-design-brief.md §2, §6). Starting values until the
   Claude Design drafts are approved. */
:root {
  --green-800: #34511d;
  --green-700: #426525;
  --green-600: #537c29;
  --green-500: #5a8c29;
  --green-50: #ecf2e4;
  --orange-500: #ff6818;
  --ink-900: #1c2319;
  --ink-600: #5b6457;
  --ink-400: #9aa196;
  --sage-50: #f4f6f0;
  --line-200: #e3e7de;
  --white: #ffffff;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --text-h1: clamp(2.125rem, 1.45rem + 2.9vw, 3.75rem);
  --text-h2: clamp(1.625rem, 1.25rem + 1.6vw, 2.5rem);
  --text-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  --text-body: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --text-small: 0.875rem;

  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 12px 32px rgba(28, 35, 25, 0.12);

  --container: 1200px;
  --narrow: 760px;
  --gutter: 20px;
  --section: 56px;
  --header-h: 60px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --section: 64px;
    --header-h: 68px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

/* No pinch or double-tap zoom on phones and tablets (PLAN §9). */
.os-ios,
.os-android {
  touch-action: pan-x pan-y;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-900);
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: 1.55;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
  /* Whole words move to the next line (no hyphenation); only a word wider than the line breaks. */
  overflow-wrap: break-word;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p,
ul,
ol {
  margin: 0 0 1em;
}

a {
  color: var(--green-700);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--green-800);
}

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

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

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

.narrow {
  max-width: calc(var(--narrow) + 2 * var(--gutter));
}

.section {
  padding: var(--section) 0;
}

.section--tight {
  padding: calc(var(--section) / 2) 0;
}

.section--alt {
  background: var(--sage-50);
}

.small {
  color: var(--ink-600);
  font-size: var(--text-small);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink-900);
  color: var(--white);
}

.skip-link:focus {
  top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--green-700);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-800);
  color: var(--white);
}

.btn--secondary {
  border-color: var(--green-700);
  background: var(--white);
  color: var(--green-700);
}

.btn--secondary:hover {
  background: var(--sage-50);
}

.btn--small {
  min-height: 40px;
  padding: 8px 16px;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.more-link {
  font-weight: 600;
  transition: color 0.15s ease;
}

.more-link__arrow {
  display: inline-block;
  margin-left: 0.25em;
  transition: transform 0.15s ease;
  transform-origin: left center;
}

/* Mouse hover: lighter text and a bigger arrow. green-600 keeps AA contrast on white and
   sage; green-500 would not at this text size. */
@media (hover: hover) {
  .more-link:hover {
    color: var(--green-600);
  }

  .more-link:hover .more-link__arrow {
    transform: scale(1.3);
  }
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
}

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-200);
  background: var(--white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-900);
  font-weight: 700;
  text-decoration: none;
}

.logo img {
  border-radius: 8px;
}

/* Icon only; the label is visually hidden. The negative margin lines the icon, not the
   44 px tap area, up with the page edge. */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -11px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-900);
  cursor: pointer;
}

/* Hamburger that morphs into an X: the outer bars meet in the middle, then rotate
   (and the reverse on close). The middle bar hides while they overlap it. */
.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  content: "";
}

.menu-toggle__icon {
  position: relative;
  transition: background-color 0s 0.15s;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  position: absolute;
  left: 0;
  transition: top 0.15s ease 0.15s, transform 0.15s ease;
}

.menu-toggle__icon::before {
  top: -6px;
}

.menu-toggle__icon::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
  background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before,
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  top: 0;
  transition: top 0.15s ease, transform 0.15s ease 0.15s;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  transform: rotate(-45deg);
}

/* Phones: a full-screen menu that fades in and out (main.js toggles .is-open). */
.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px var(--gutter) 32px;
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}

.site-header.is-open .site-nav,
.no-js .site-nav {
  opacity: 1;
  visibility: visible;
}

.no-js .site-nav {
  position: static;
}

/* On <html> while the phone menu is open: the page behind it can't scroll (the menu
   still can). The gutter keeps the header from shifting where scrollbars take space. */
.menu-open {
  overflow: hidden;
  scrollbar-gutter: stable;
}

.no-js .menu-toggle {
  display: none;
}

.site-nav__list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.site-nav__item > a,
.features-menu > summary {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-200);
  color: var(--ink-900);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.features-menu > summary::marker {
  content: "";
}

/* Light chevron: the bottom-right corner of a small square, rotated. */
.features-menu > summary::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border: solid var(--ink-400);
  border-width: 0 2px 2px 0;
  vertical-align: middle;
  transform: translateY(-3px) rotate(45deg);
  content: "";
}

.features-menu__panel {
  padding: 8px 0 16px;
}

.features-menu__group + .features-menu__group {
  margin-top: 24px;
}

.features-menu__group ul {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.features-menu__title {
  margin: 12px 0 4px;
  color: var(--green-700);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Phone menu: a trailing arrow on each feature (removed in the desktop dropdown). */
.features-menu__group a {
  position: relative;
  display: block;
  padding: 8px 32px 8px 0;
  color: var(--ink-900);
  text-decoration: none;
}

.features-menu__group a::after {
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--ink-600);
  content: "→";
  transform: translateY(-50%);
}

.features-menu__name {
  display: block;
  font-weight: 600;
}

.features-menu__oneliner {
  display: block;
  color: var(--ink-600);
  font-size: var(--text-small);
}

.site-nav__cta {
  width: 100%;
}

.nav-backdrop {
  display: none;
}

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }

  .site-nav,
  .no-js .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 24px;
    overflow: visible;
    padding: 0;
    opacity: 1;
    visibility: visible;
  }

  /* The phone menu isn't shown here, e.g. after rotating a tablet with it open. */
  .menu-open {
    overflow: visible;
    scrollbar-gutter: auto;
  }

  .site-nav__list {
    display: flex;
    gap: 24px;
    margin: 0;
  }

  /* The dropdown is positioned against the header, not the Features item. */
  .site-header__inner {
    position: relative;
  }

  .site-nav__item > a,
  .features-menu > summary {
    padding: 8px 0;
    border: 0;
  }

  .features-menu__panel {
    position: absolute;
    top: calc(100% - 4px);
    right: var(--gutter);
    display: grid;
    grid-template-columns: repeat(4, minmax(170px, 1fr));
    gap: 8px 24px;
    width: min(880px, 90vw);
    padding: 24px;
    border: 1px solid var(--line-200);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .features-menu__group + .features-menu__group {
    margin-top: 0;
  }

  /* The negative margin keeps the text in line with the titles; the hover background
     extends past it. */
  .features-menu__group a {
    margin: 0 -12px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: background-color 0.15s ease;
  }

  .features-menu__group a:hover {
    background: var(--green-50);
  }

  .features-menu__group a::after {
    content: none;
  }

  .site-nav__cta {
    width: auto;
  }

  /* Dims the page under the Features dropdown, header excluded (main.js sets .is-visible). */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 49;
    display: block;
    background: rgba(28, 35, 25, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* clicks reach the page as soon as it starts fading out */
    transition: opacity 0.2s ease, visibility 0.2s;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* ---------- Heroes ---------- */
.hero,
.page-hero {
  padding: 40px 0 var(--section);
  background: linear-gradient(180deg, var(--sage-50), var(--white));
}

.hero__inner,
.page-hero__inner {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero__sub,
.page-hero__intro {
  color: var(--ink-600);
  font-size: 1.125em;
}

.page-hero--simple,
.page-hero--center {
  padding-bottom: calc(var(--section) / 2);
}

.page-hero--center {
  text-align: center;
}

.page-hero--center .store-ctas__badges {
  justify-content: center;
}

.page-hero--center .qr-block {
  margin-inline: auto;
  text-align: left;
}

.rating-line {
  margin: 16px 0 8px;
  font-weight: 600;
}

@media (min-width: 900px) {
  .hero__inner,
  .page-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  margin-bottom: 12px;
  color: var(--ink-600);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Store CTAs ---------- */
.store-ctas {
  margin: 24px 0 8px;
}

.store-ctas__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--white);
  text-decoration: none;
}

/* Placeholder until the official badge artwork is added. */
.store-badge__text {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #000;
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 0.15s ease;
}

/* Mouse hover turns the placeholder green (darker on the green CTA band, so it stays
   visible). The official badge artwork mustn't be recoloured, so this won't touch it. */
@media (hover: hover) {
  .store-badge:hover .store-badge__text {
    background: var(--green-700);
  }

  .cta-band .store-badge:hover .store-badge__text {
    background: var(--green-800);
  }
}

.only-ios,
.only-android {
  display: none !important;
}

.os-ios .store-badge--android,
.os-android .store-badge--ios {
  display: none;
}

.os-ios .only-ios,
.os-android .only-android {
  display: inline-flex !important;
}

/* A white card. The code's own white quiet zone pads its side, so the card needs little there. */
.qr-block {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 420px;
  margin-top: 20px;
  padding: 8px 20px 8px 8px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-200);
  color: var(--ink-900);
}

.os-ios .qr-block,
.os-android .qr-block {
  display: none;
}

.qr-block__code {
  display: grid;
  flex: none;
  place-items: center;
  width: 132px;
  height: 132px;
}

.qr-block__code img {
  display: block;
  width: 132px;
  height: 132px;
}

.qr-block__placeholder {
  color: var(--ink-600);
  font-weight: 700;
}

.qr-block__copy p {
  margin: 0;
  font-size: var(--text-small);
}

.qr-block__title {
  font-weight: 700;
}

/* ---------- Screenshot placeholder ---------- */
.phone {
  justify-self: center;
  width: min(242px, 66vw);
  margin: 0;
}

@media (min-width: 900px) {
  .phone {
    width: 286px;
  }
}

.phone__screen {
  display: grid;
  place-items: center;
  aspect-ratio: 9 / 19.5;
  border: 10px solid var(--ink-900);
  border-radius: 36px;
  background: repeating-linear-gradient(45deg, var(--sage-50) 0 12px, var(--white) 12px 24px);
  box-shadow: var(--shadow);
}

/* Real screenshots already include the device frame: no CSS frame, natural proportions. */
.phone__shot {
  display: block;
  width: 100%;
  height: auto;
}

.phone__label {
  padding: 0 16px;
  color: var(--ink-600);
  font-size: var(--text-small);
  text-align: center;
}

.phone--hero {
  width: min(260px, 70vw);
}

@media (min-width: 900px) {
  .phone--hero {
    width: 300px;
  }
}

/* ---------- Feature blocks & sections ---------- */
.feature-block,
.feature-section {
  padding: var(--section) 0;
}

.feature-block--alt,
.feature-section--alt {
  background: var(--sage-50);
}

.feature-block__inner,
.feature-section__inner {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .feature-block__inner,
  .feature-section__inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }

  /* Blocks and sections start with the screenshot on the left, below a hero that has it on the right. */
  .feature-block:not(.feature-block--alt) .phone,
  .feature-section:not(.feature-section--alt) .phone {
    order: 2;
  }
}

.checklist {
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 28px;
}

.checklist li::before {
  position: absolute;
  left: 0;
  color: var(--green-700);
  font-weight: 700;
  content: "✓";
}

.note,
.disclaimer {
  color: var(--ink-600);
  font-size: var(--text-small);
}

.disclaimer {
  margin: 32px auto 0;
}

.draft-notice {
  padding: 12px 16px;
  border-left: 4px solid var(--orange-500);
  border-radius: 4px;
  background: #fff4ec;
  font-size: var(--text-small);
}

/* ---------- Legal texts (privacy, terms) ---------- */
.legal-text {
  padding-top: 0;
}

.legal-text h2 {
  margin-top: 1.75em;
  font-size: var(--text-h3);
}

.legal-text h3 {
  margin-top: 1.5em;
  font-size: 1.0625rem;
}

/* Long URLs written out in the text. */
.legal-text a {
  overflow-wrap: anywhere;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.legal-table th,
.legal-table td {
  padding: 10px;
  border: 1px solid var(--line-200);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--sage-50);
}

/* ---------- Grids & cards ---------- */
.more-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.more-grid__item > a,
.more-grid__item > div,
.feature-card a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-200);
  color: var(--ink-900);
  text-decoration: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.more-grid__item > a:hover,
.feature-card a:hover {
  background: var(--green-50);
  box-shadow: inset 0 0 0 2px var(--green-700);
}

.more-grid__name,
.feature-card__name {
  font-weight: 700;
}

.more-grid__text,
.feature-card__text {
  color: var(--ink-600);
  font-size: var(--text-small);
}

/* ---------- Reviews ---------- */
.reviews {
  text-align: center;
}

/* Heading, count and stars between two laurels. The images are decorative: the h2 carries the rating. */
.reviews__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 32px);
}

.reviews__laurel {
  flex: none;
  width: auto;
  height: clamp(96px, 60px + 8vw, 169px);
}

.reviews__sub {
  margin-bottom: 12px;
  color: var(--ink-600);
}

.reviews__stars {
  display: block;
  width: clamp(150px, 110px + 8vw, 220px);
  margin: 0 auto;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.review {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--sage-50);
}

.section--alt .review {
  background: var(--white);
}

.review__stars {
  color: var(--orange-500);
}

.review blockquote {
  margin: 0;
}

.review__by {
  color: var(--ink-600);
  font-size: var(--text-small);
}

/* ---------- Comparison table ---------- */
/* No overflow on the wrapper: an overflow container would capture the sticky header.
   A fixed layout keeps the table inside its column; long words wrap instead. */
.table-wrap {
  margin: 24px 0;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

.compare th,
.compare td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line-200);
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  position: sticky;
  top: var(--header-h);
  background: var(--white);
  color: var(--green-700);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  overflow-wrap: normal;
}

.compare thead th:first-child {
  width: 40%;
}

.compare td,
.compare thead th:not(:first-child) {
  text-align: center;
}

.compare tbody th {
  font-weight: 600;
}

/* Long German/Italian values ("Unbegrenzt") break at a hyphen in the narrow columns. */
.compare td {
  hyphens: auto;
}

.compare .col-premium {
  background: #fff7f1;
}

.compare thead .col-premium {
  box-shadow: inset 0 3px 0 var(--orange-500);
}

.compare .yes {
  color: var(--green-700);
  font-weight: 700;
}

.compare .no {
  color: var(--ink-600);
}

/* ---------- FAQ ---------- */
.faq-list {
  border-top: 1px solid var(--line-200);
}

.faq-item {
  border-bottom: 1px solid var(--line-200);
}

.faq-item summary {
  position: relative;
  padding: 16px 40px 16px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  position: absolute;
  top: 12px;
  right: 4px;
  color: var(--green-700);
  font-size: 1.5rem;
  line-height: 1;
  content: "+";
}

/* .is-closing: main.js keeps [open] until the collapse animation ends. */
.faq-item[open]:not(.is-closing) summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--ink-600);
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: var(--section) 0;
  background: var(--green-700);
  color: var(--white);
  text-align: center;
}

.cta-band a {
  color: var(--white);
}

.cta-band .store-ctas__badges {
  justify-content: center;
}

.cta-band .qr-block {
  margin-inline: auto;
  text-align: left;
}

/* ---------- Boxes ---------- */
.info-box {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-200);
}

.info-box > :last-child {
  margin-bottom: 0;
}

.app-icon {
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.big-code {
  margin: 0;
  color: var(--green-700);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 0 calc(32px + env(safe-area-inset-bottom));
  background: var(--ink-900);
  color: #d9dfd4;
  font-size: 0.9375rem;
}

.site-footer a,
.site-footer .link-button {
  color: var(--white);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.site-footer ul {
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.footer-title {
  margin-bottom: 12px;
  color: var(--white);
  font-weight: 700;
}

/* A title further down a column (Contact) gets the same gap above it as a stacked column's
   title: the list's 1em margin plus the grid's 32px gap. */
.footer-title:not(:first-child) {
  margin-top: calc(1em + 32px);
}

.en-hint {
  color: #a9b3a3;
  font-size: var(--text-small);
}

.lang-picker [aria-current] {
  font-weight: 700;
  text-decoration: none;
}

.lang-picker [aria-current]::before {
  content: "✓ ";
}

.site-footer__legal {
  margin: 32px 0 0;
  color: #a9b3a3;
  font-size: var(--text-small);
}

.site-footer--minimal {
  padding: 24px 0;
}

.site-footer--minimal .site-footer__legal {
  margin: 0;
}

/* ---------- Sticky install bar (phones) ---------- */
.sticky-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-200);
  background: var(--white);
  box-shadow: 0 -8px 24px rgba(28, 35, 25, 0.1);
}

.sticky-bar[hidden] {
  display: none;
}

.sticky-bar__icon {
  border-radius: 10px;
}

.sticky-bar__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0;
  font-size: var(--text-small);
  line-height: 1.3;
}

/* Compact, so "Get the app" leaves the name and store line room; never wraps. */
.sticky-bar .btn {
  flex: none;
  padding: 8px 12px;
  font-size: var(--text-small);
  white-space: nowrap;
}

/* The negative margin lines the ×, not its 44 px tap area, up with the page edge. */
.sticky-bar__close {
  flex: none;
  width: 44px;
  height: 44px;
  margin-right: -14px;
  border: 0;
  background: none;
  color: var(--ink-600);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- Consent banner ---------- */
.consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-200);
  background: var(--white);
  box-shadow: 0 -8px 24px rgba(28, 35, 25, 0.12);
  font-size: 0.9375rem;
}

.consent[hidden] {
  display: none;
}

.consent__inner {
  display: grid;
  gap: 12px;
}

.consent__inner p {
  margin: 0;
}

.consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .consent__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .consent__actions {
    display: flex;
  }
}
