/* Vuke main site. One stylesheet, mobile first, no framework.
   Colours are the Vuke palette from the apps (vuke_customer/src/theme/colors.js). */

:root {
  --brown: #3b2418;
  --brown-deep: #2a1911;
  --sand: #f5ebdd;
  --sand-deep: #ead9c1;
  --pin: #edd3a9;
  --green: #2e6b4f;
  --green-press: #24553f;
  --water: #159a9c;
  --muted: #7a6558;
  --line: #e4d6c3;
  --white: #ffffff;

  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --wrap: 1680px;
  --gutter: clamp(20px, 4.5vw, 88px);
}

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

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

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

body {
  margin: 0;
  background: var(--sand);
  color: var(--brown);
  font: 400 18px/1.6 var(--body);
}

img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--white);
  color: var(--brown);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 10;
}
.skip:focus {
  left: 8px;
}

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

/* ── Header ─────────────────────────────────────────────────────────────── */
/* Solid frosted brown on inner pages; on the home page it starts transparent over the photo and
   turns solid once the page scrolls (assets/js/site.js). */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--sand);
  background: rgba(42, 25, 17, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(237, 211, 169, 0.12);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.header--overlay {
  position: fixed;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(20, 12, 8, 0.55), rgba(20, 12, 8, 0));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  /* No border at all over the photo (a transparent one still drew a hairline). */
  border-bottom: 0;
}
.header--overlay.is-solid,
.header.menu-open {
  background: rgba(42, 25, 17, 0.92);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 1px 0 rgba(237, 211, 169, 0.12), 0 12px 34px rgba(20, 12, 8, 0.28);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
@media (min-width: 960px) {
  .header-bar {
    min-height: 84px;
  }
}

/* Brand lockup: the official mark on its sand tile, the name, a quiet line under it. */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  margin-right: auto;
}
.brand-tile {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--sand);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset, 0 6px 16px rgba(20, 12, 8, 0.3);
  transition: transform 0.2s ease;
}
.brand:hover .brand-tile {
  transform: rotate(-4deg) scale(1.04);
}
.brand-tile img {
  width: 36px;
  height: 36px;
}
.brand-text {
  display: grid;
  line-height: 1;
}
.brand-name {
  font: 800 28px/1 var(--display);
  letter-spacing: -0.01em;
  padding-top: 4px;
}
.brand-sub {
  margin-top: 3px;
  font: 800 10.5px/1 var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pin);
  opacity: 0.85;
}
@media (max-width: 479px) {
  .brand {
    gap: 8px;
  }
  .brand-tile {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .brand-tile img {
    width: 31px;
    height: 31px;
  }
  .brand-name {
    font-size: 24px;
  }
  .brand-sub {
    width: 74px;
    font-size: 7.5px;
    line-height: 1.2;
    letter-spacing: 0.07em;
  }
  .header-bar {
    gap: 8px;
  }
}

/* Main nav: links in a glass pill; the section being read is lit. */
.nav {
  display: none;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(245, 235, 221, 0.07);
  border: 1px solid rgba(245, 235, 221, 0.14);
}
.nav a {
  position: relative;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--sand);
  text-decoration: none;
  font: 800 15px/1 var(--body);
  opacity: 0.82;
  transition: background-color 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}
.nav a:hover {
  opacity: 1;
  background: rgba(245, 235, 221, 0.1);
}
.nav a.is-current {
  opacity: 1;
  color: var(--brown);
  background: var(--pin);
}
@media (min-width: 960px) {
  .nav {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.live-pill {
  display: none;
  align-items: center;
  gap: 8px;
  font: 800 13px/1 var(--body);
  color: var(--pin);
  white-space: nowrap;
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4fae7d;
  animation: live 2s ease-out infinite;
}
@media (min-width: 1240px) {
  .header-actions .live-pill {
    display: inline-flex;
  }
  /* Over the home photo the hero already says it; the badge joins once the page scrolls. */
  .header--overlay:not(.is-solid) .header-actions .live-pill {
    display: none;
  }
}

.btn-cta {
  white-space: nowrap;
  min-height: 46px;
  padding: 0 14px 0 20px;
  font-size: 16px;
  gap: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 8px 22px rgba(46, 107, 79, 0.45);
}
.btn-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.btn-cta:hover svg {
  transform: translateX(3px);
}
@media (max-width: 420px) {
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn-cta {
    min-height: 40px;
    padding: 0 10px 0 14px;
    font-size: 15px;
    gap: 5px;
  }
  .header-actions .btn-cta svg {
    width: 15px;
    height: 15px;
  }
  .header-actions .menu-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
}

/* Menu button: two bars that turn into an X. Phones and small tablets only. */
.menu-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(245, 235, 221, 0.22);
  background: rgba(245, 235, 221, 0.08);
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
}
.menu-btn span {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--sand);
  transition: transform 0.25s ease;
}
.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}
@media (min-width: 960px) {
  .menu-btn {
    display: none;
  }
}

/* Phone menu: full width under the bar, big targets, the download at the bottom. */
.menu {
  border-top: 1px solid rgba(237, 211, 169, 0.12);
  max-height: calc(100svh - 72px);
  overflow-y: auto;
  animation: menu-in 0.25s ease both;
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
.menu-inner {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  padding-bottom: 24px;
}
.menu-inner > a {
  display: grid;
  gap: 4px;
  padding: 16px 4px;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(237, 211, 169, 0.1);
}
.menu-inner > a span {
  font: 800 28px/1.1 var(--display);
}
.menu-inner > a small {
  font-size: 15px;
  color: var(--pin);
  opacity: 0.85;
}
.menu-foot {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.menu-foot .live-pill {
  display: inline-flex;
}
.no-scroll {
  overflow: hidden;
}

/* Anchors land below the fixed header. */
[id] {
  scroll-margin-top: 96px;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font: 800 19px/1 var(--body);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover {
  background: var(--green-press);
}
.btn:active {
  transform: scale(0.98);
}
.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 16px;
}
.btn-lg {
  min-height: 64px;
  padding: 0 34px;
  font-size: 21px;
}
.btn-block {
  width: 100%;
}
.btn[aria-disabled="true"] {
  background: var(--muted);
  pointer-events: none;
}

/* ── Hero: full-bleed photo of a border town, the road and a truck ──────── */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--brown);
  color: var(--sand);
  min-height: min(92svh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-slides,
.slide,
.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* One photo at a time; the next fades in over it. */
.slide {
  opacity: 0;
  transition: opacity 1.4s ease;
}
.slide.is-active {
  opacity: 1;
}
.slide img {
  object-fit: cover;
  object-position: 50% 45%;
}
.slide.is-active img {
  animation: drift 14s ease-out both;
}
@keyframes drift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.1) translateX(-1.5%);
  }
}
/* Brand-brown shade: text always readable, the photo still shows through. */
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(42, 25, 17, 0.97) 0%, rgba(42, 25, 17, 0.82) 38%, rgba(42, 25, 17, 0.25) 75%, rgba(42, 25, 17, 0.45) 100%),
    linear-gradient(to right, rgba(42, 25, 17, 0.55), rgba(42, 25, 17, 0) 60%);
}
.hero-inner {
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pin);
  background: rgba(42, 25, 17, 0.55);
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4fae7d;
  animation: live 2s ease-out infinite;
}
@keyframes live {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 174, 125, 0.7);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(79, 174, 125, 0);
  }
}
.hero-title {
  font-size: clamp(46px, 9.4vw, 132px);
  font-weight: 800;
  margin-top: 18px;
  color: var(--white);
  max-width: 13ch;
  line-height: 1;
  text-shadow: 0 2px 24px rgba(20, 12, 8, 0.35);
}
.hero-title .accent {
  color: var(--pin);
}
/* Words rise in, one after another. */
.hero-title .w {
  display: inline-block;
  animation: rise 0.7s cubic-bezier(0.23, 1, 0.32, 1) both;
  animation-delay: calc(0.12s + var(--i) * 0.09s);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.45em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-lead,
.hero-cta {
  animation: rise 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.7s both;
}
.hero-lead {
  font-size: clamp(19px, 2vw, 25px);
  max-width: 38ch;
  margin-top: 22px;
  color: var(--sand);
}
.hero-cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.hero-note {
  font-size: 15px;
  font-weight: 700;
  color: var(--pin);
}

/* The road: lane lines sliding past, a truck driving through. */
.road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  background: linear-gradient(#2a1911, #1d110c);
  border-top: 4px solid #4a2e20;
}
.road-lines {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  background: repeating-linear-gradient(90deg, rgba(237, 211, 169, 0.55) 0 46px, transparent 46px 92px);
  animation: lanes 1.6s linear infinite;
}
@keyframes lanes {
  to {
    background-position: -92px 0;
  }
}
.truck {
  position: absolute;
  bottom: 14px;
  left: 0;
  width: 190px;
  height: auto;
  animation: drive 16s linear infinite;
}
@keyframes drive {
  from {
    transform: translateX(-220px);
  }
  to {
    transform: translateX(calc(100vw + 40px));
  }
}
.truck .wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Crossing names moving past under the hero. */
.ribbon {
  background: var(--green);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
}
.ribbon-track {
  display: inline-flex;
  animation: ribbon 38s linear infinite;
}
.ribbon span {
  font: 800 clamp(18px, 2.2vw, 26px)/1 var(--display);
  padding: 18px 0 14px;
  display: inline-flex;
  align-items: center;
}
.ribbon span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pin);
  margin: 0 clamp(20px, 3vw, 40px);
  opacity: 0.7;
}
.ribbon span.live {
  color: var(--pin);
}
@keyframes ribbon {
  to {
    transform: translateX(-50%);
  }
}

/* ── Photo band: a real One Stop Border Post ─────────────────────────────── */

.band {
  position: relative;
  overflow: hidden;
  color: var(--sand);
  background: var(--brown);
  min-height: min(92svh, 900px);
  display: flex;
  align-items: flex-start;
}
.band-photo,
.band-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.band-photo img {
  object-fit: cover;
  object-position: 50% 0%;
}
.band-shade {
  position: absolute;
  inset: 0;
  /* Text sits in the sky; the trucks at the bottom stay clear. */
  background:
    linear-gradient(to right, rgba(42, 25, 17, 0.7) 0%, rgba(42, 25, 17, 0.35) 45%, rgba(42, 25, 17, 0) 70%),
    linear-gradient(to bottom, rgba(42, 25, 17, 0.9) 0%, rgba(42, 25, 17, 0.7) 40%, rgba(42, 25, 17, 0.05) 75%, rgba(42, 25, 17, 0) 100%);
}
.band-inner {
  position: relative;
  width: 100%;
  padding-top: clamp(56px, 7vw, 110px);
  padding-bottom: 300px;
}
.band .kicker {
  color: var(--pin);
}
.band h2 {
  color: var(--white);
  font-size: clamp(38px, 6vw, 84px);
  font-weight: 800;
  margin-top: 8px;
  max-width: 16ch;
}
.band .story {
  color: var(--sand);
}
.band-caption {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 22px;
  margin: 0;
  text-align: right;
  text-shadow: 0 1px 8px rgba(20, 12, 8, 0.8);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 235, 221, 0.9);
}

/* ── Sections ───────────────────────────────────────────────────────────── */

.section {
  padding: clamp(64px, 8vw, 120px) 0;
}
.section-alt {
  background: var(--white);
}
.section-dark {
  background: var(--brown);
  color: var(--sand);
}
.kicker {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.section-dark .kicker {
  color: var(--pin);
}
.section h2 {
  font-size: clamp(34px, 5.4vw, 72px);
  font-weight: 800;
  margin-top: 8px;
  max-width: 20ch;
}
.section-dark h2 {
  color: var(--white);
}
.intro {
  font-size: 19px;
  max-width: 46ch;
  margin-top: 16px;
  color: var(--muted);
}
.section-dark .intro {
  color: var(--sand);
}

/* People cards */
.people {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}
@media (min-width: 760px) {
  .people {
    grid-template-columns: repeat(3, 1fr);
  }
}
.person {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.person-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--brown);
  color: var(--pin);
  display: grid;
  place-items: center;
}
.person-icon svg {
  width: 30px;
  height: 30px;
}
.person .who {
  margin-top: 18px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.person h3 {
  font-size: 27px;
  font-weight: 800;
  margin-top: 4px;
}
.person p {
  margin-top: 8px;
  color: var(--muted);
}

.corridor {
  position: relative;
}
.corridor > img {
  width: 100%;
  height: auto;
}
.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--muted);
  color: var(--muted);
  display: grid;
  place-items: center;
  font: 800 12px/1 var(--body);
}
.pin.live {
  width: 22px;
  height: 22px;
  border: 0;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(46, 107, 79, 0.28), 0 0 0 13px rgba(46, 107, 79, 0.12);
}
.pin-label {
  position: absolute;
  transform: translate(-50%, 0);
  margin-top: 22px;
  background: var(--brown);
  color: var(--white);
  font: 800 13px/1.2 var(--body);
  padding: 6px 10px;
  border-radius: 10px;
  white-space: nowrap;
  text-align: center;
}
.pin-label small {
  display: block;
  font-weight: 700;
  font-size: 11px;
  color: var(--pin);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.country {
  position: absolute;
  transform: translate(-50%, -50%);
  font: 800 11px/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.8;
  pointer-events: none;
}
/* A label at the map's edge starts there instead of centring on it, so none of it is cut. */
.country-edge {
  transform: translate(0, -50%);
}
@media (max-width: 600px) {
  .country {
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }
  /* Phones: lift Tanzania clear of the small Africa map in the corner. */
  .country-tz {
    top: 48% !important;
  }
}
.place .num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  color: var(--muted);
  display: grid;
  place-items: center;
  font: 800 12px/1 var(--body);
  flex: none;
}

/* Two halves side by side on wide screens (text | list). */
.split {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 120px);
    align-items: end;
  }
}

/* Community story */
.story {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  max-width: 62ch;
  font-size: 20px;
}

/* ── How it works: three little Vuke screens joined by dotted arrows ─────── */

.how {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(46, 107, 79, 0.08), rgba(46, 107, 79, 0) 70%),
    var(--sand);
}
.steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  gap: 70px;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(40px, 5vw, 96px);
  }
}
.step {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}
.step-text {
  position: relative;
  margin-top: 34px;
  max-width: 34ch;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 10px;
  font: 800 15px/1 var(--body);
  color: var(--white);
  background: var(--green);
  box-shadow: 0 8px 18px rgba(46, 107, 79, 0.3);
}
.step h3 {
  position: relative;
  font-size: 34px;
  font-weight: 800;
}
.step p {
  position: relative;
  margin-top: 6px;
  color: var(--muted);
}

/* The phone: the real device frame on top, the Vuke screen showing through its opening. */
.phone {
  position: relative;
  width: 230px;
  aspect-ratio: 828 / 1531;
  filter: drop-shadow(0 30px 40px rgba(59, 36, 24, 0.3));
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.phone::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: url("/assets/img/device-frame-520.webp") center / 100% 100% no-repeat;
}
.step-find .phone {
  transform: rotate(-4deg);
}
.step-receive .phone {
  transform: rotate(4deg);
}
.step:hover .phone {
  transform: rotate(0) translateY(-6px);
}
/* A little larger than the opening; the frame's bezel hides the edges and rounds the corners. */
.screen {
  position: absolute;
  left: 6.9%;
  right: 6.8%;
  top: 2.7%;
  bottom: 2.8%;
  overflow: hidden;
  border-radius: 14% / 6.6%;
  background: var(--white);
  padding: 26px 12px 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scr-title {
  font: 800 16px/1 var(--display);
  color: var(--brown);
  padding: 6px 2px 2px;
}
.screen b {
  display: block;
  font: 800 12px/1.2 var(--body);
  color: var(--brown);
}
.screen i {
  display: block;
  font: 400 11px/1.3 var(--body);
  font-style: normal;
  color: var(--muted);
}

/* Find: rows light up one after another. */
.row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 7px;
  border-radius: 12px;
  border: 1px solid var(--line);
  animation: pick 8s infinite;
}
.row:nth-of-type(2) { animation-delay: 2s; }
.row:nth-of-type(3) { animation-delay: 4s; }
.row:nth-of-type(4) { animation-delay: 6s; }
@keyframes pick {
  0%, 25% { background: rgba(46, 107, 79, 0.1); border-color: var(--green); }
  30%, 100% { background: var(--white); border-color: var(--line); }
}
.row img,
.thumb {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--sand);
}
.row em {
  font: 800 9px/1 var(--body);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  background: rgba(46, 107, 79, 0.12);
  padding: 4px 6px;
  border-radius: 99px;
}
.bar {
  height: 8px;
  border-radius: 8px;
  background: var(--line);
  margin: 3px 0;
}
i.bar { background: #efe5d6; }
.w40 { width: 40%; }
.w50 { width: 50%; }
.w60 { width: 60%; }
.w70 { width: 70%; }

/* Order: a map, a pin dropping onto it, the pay button. */
.mini-map {
  position: relative;
  flex: 1;
  margin: -26px -12px 0;
  background: #efe3cf;
  overflow: hidden;
}
.street {
  position: absolute;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 0 0 2px #e6d6bd;
}
.block {
  position: absolute;
  border-radius: 8px;
  background: #e6d8c0;
}
.b1 { left: 8%; top: 8%; width: 30%; height: 22%; }
.b2 { right: 6%; top: 66%; width: 36%; height: 24%; background: rgba(46, 107, 79, 0.16); }
.b3 { left: 6%; top: 70%; width: 22%; height: 18%; }
.r1 { left: -10%; right: -10%; top: 58%; height: 12px; transform: rotate(-12deg); }
.r2 { top: -10%; bottom: -10%; left: 30%; width: 9px; transform: rotate(14deg); }
.r3 { top: 30%; left: 40%; width: 80%; height: 8px; transform: rotate(24deg); }
.drop-pin {
  position: absolute;
  left: 50%;
  top: 34%;
  width: 40px;
  margin-left: -20px;
  fill: var(--green);
  stroke: var(--white);
  stroke-width: 1.4;
  animation: drop 3.2s cubic-bezier(0.3, 1.4, 0.5, 1) infinite;
  z-index: 1;
}
.drop-pin circle { fill: var(--white); stroke: none; }
.pin-shadow {
  position: absolute;
  left: 50%;
  top: calc(34% + 46px);
  width: 22px;
  height: 7px;
  margin-left: -11px;
  border-radius: 50%;
  background: rgba(59, 36, 24, 0.25);
  animation: shadow 3.2s cubic-bezier(0.3, 1.4, 0.5, 1) infinite;
}
@keyframes drop {
  0% { transform: translateY(-80px); opacity: 0; }
  25%, 85% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(0); opacity: 0; }
}
@keyframes shadow {
  0% { transform: scale(0.3); opacity: 0; }
  25%, 85% { transform: scale(1); opacity: 1; }
  100% { opacity: 0; }
}
.sheet {
  display: grid;
  gap: 8px;
  margin: 0 -12px -14px;
  padding: 12px 12px 18px;
  background: var(--white);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 20px rgba(59, 36, 24, 0.1);
  position: relative;
}
.sheet-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 8px;
  align-items: center;
}
.sheet-item img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--sand);
}
.pay {
  display: block;
  text-align: center;
  font: 800 13px/1 var(--body);
  color: var(--white);
  background: var(--green);
  border-radius: 99px;
  padding: 11px;
  animation: press 3.2s ease-in-out infinite;
}
@keyframes press {
  0%, 55%, 70%, 100% { transform: scale(1); }
  62% { transform: scale(0.94); background: var(--green-press); }
}

/* Receive: the rider follows the dotted route to your pin. */
.track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.track #trk {
  fill: none;
  stroke: var(--brown);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0.1 8;
  vector-effect: non-scaling-stroke;
  opacity: 0.6;
}
.track .spot-from {
  fill: var(--brown);
  stroke: var(--white);
  stroke-width: 4;
}
.track .spot-to {
  fill: var(--green);
  stroke: var(--white);
  stroke-width: 3;
  stroke-dasharray: none;
  opacity: 1;
}
.track .rider {
  fill: var(--pin);
  stroke: var(--brown);
  stroke-width: 4;
  stroke-dasharray: none;
  opacity: 1;
}
.progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
.progress span {
  height: 6px;
  border-radius: 6px;
  background: var(--line);
}
.progress .done { background: var(--green); }
.progress .now {
  background: linear-gradient(90deg, var(--green) 50%, var(--line) 50%);
  background-size: 200% 100%;
  animation: fill 5s ease-in-out infinite;
}
@keyframes fill {
  from { background-position: 100% 0; }
  80%, to { background-position: 0 0; }
}
.eta b { display: inline; font-size: 11px; color: var(--green); }

/* Dotted arrows from one step to the next. */
.hop {
  position: absolute;
  width: 120px;
  fill: none;
  stroke: var(--brown);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.45;
}
.hop path:first-child {
  stroke-dasharray: 0.1 9;
  animation: march 0.9s linear infinite;
}
@media (min-width: 900px) {
  .hop {
    top: 70px;
    right: calc(-60px - clamp(20px, 2.5vw, 48px));
  }
}
@media (max-width: 899px) {
  .hop {
    width: 90px;
    bottom: -66px;
    left: 50%;
    margin-left: -45px;
    transform: rotate(90deg);
  }
}

/* ── Plates: what Vuke delivers ─────────────────────────────────────────── */

/* Hero: a plate resting at the bottom right, floating a little. Wider screens only. */
/* Phones: the plate sits under the words, on the right, above the road. */
.hero-plate {
  position: relative;
  z-index: 1;
  order: 1;
  align-self: flex-end;
  width: min(66vw, 340px);
  margin: -6px var(--gutter) 104px 0;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
.hero-plate > picture:first-child img {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 22px 26px rgba(10, 6, 4, 0.55));
}
.hero-fanta img {
  position: absolute;
  z-index: 0;
  width: 50%;
  left: 50%;
  bottom: 64%;
  transform-origin: 50% 80%;
  animation: splash 5s ease-in-out infinite;
}
@media (max-width: 759px) {
  .hero-inner {
    padding-top: 120px;
    padding-bottom: 0;
  }
  .hero-plate .plate-tag {
    font-size: 12px;
    padding: 8px 11px;
    left: auto;
    right: 6%;
    bottom: -2%;
  }
}
@media (min-width: 760px) {
  .hero-plate {
    position: absolute;
    margin: 0;
    right: clamp(-40px, 2vw, 60px);
    bottom: 84px;
    width: clamp(280px, 30vw, 540px);
    z-index: 1;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
  }
  .hero-inner {
    z-index: 2;
  }
}
@keyframes splash {
  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }
  50% {
    transform: rotate(4deg) translateY(14px);
  }
}
.plate-tag {
  position: absolute;
  z-index: 2;
  left: 4%;
  bottom: 4%;
  background: var(--white);
  color: var(--brown);
  font: 800 14px/1 var(--body);
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(10, 6, 4, 0.3);
  white-space: nowrap;
}
.plate-tag::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9962b;
  margin-right: 8px;
  vertical-align: 1px;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(-1.5deg);
  }
}

/* Food delivery: three promises, and two plates on a warm glow. */
.promises {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  max-width: 520px;
}
.promises li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}
.promises svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(237, 211, 169, 0.12);
  color: var(--pin);
}
.promises strong {
  display: block;
  font: 800 21px/1.2 var(--display);
  color: var(--white);
  padding-top: 2px;
}
.promises span {
  display: block;
  color: var(--sand);
  opacity: 0.85;
  font-size: 17px;
  margin-top: 2px;
}
/* Delivery scene: plates travel from a local hotel to you along dotted routes. */
.plates {
  position: relative;
}
.delivery {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.delivery .route {
  fill: none;
  stroke: var(--pin);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 0.1 14;
  opacity: 0.7;
  animation: march 0.9s linear infinite;
}
@keyframes march {
  to {
    stroke-dashoffset: -14.1;
  }
}
.delivery .chevrons use {
  fill: none;
  stroke: var(--pin);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.delivery .dot {
  fill: var(--pin);
}
.delivery .stop-to .dot {
  fill: #4fae7d;
}
.delivery .halo {
  fill: rgba(237, 211, 169, 0.14);
}
.delivery .pulse {
  fill: #4fae7d;
  transform-box: fill-box;
  transform-origin: center;
  animation: ring 2s ease-out infinite;
}
@keyframes ring {
  from {
    transform: scale(1);
    opacity: 0.55;
  }
  to {
    transform: scale(1.9);
    opacity: 0;
  }
}
.delivery .icon {
  fill: none;
  stroke: var(--brown);
  stroke-width: 2.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.delivery .stop-to .icon {
  stroke: var(--white);
}
.delivery .where-label {
  font: 800 24px/1 var(--display);
  fill: var(--white);
}
.delivery .where-sub,
.delivery .where-sub-phone {
  font: 700 15px/1 var(--body);
  fill: var(--pin);
}
.delivery .where-sub-phone {
  display: none;
  font-size: 22px;
}
.delivery image {
  filter: drop-shadow(0 18px 20px rgba(10, 6, 4, 0.55));
}
.delivery .tag {
  fill: var(--white);
  filter: drop-shadow(0 8px 14px rgba(10, 6, 4, 0.35));
}
.delivery .tag-text {
  font: 800 15px/1 var(--body);
  fill: var(--brown);
}
@media (min-width: 900px) {
  .plates {
    margin-right: -2vw;
  }
}
/* Phones: the scene is drawn small, so the words grow to stay readable. */
@media (max-width: 899px) {
  .delivery .where-label {
    font-size: 36px;
  }
  .delivery .stop-from .where-label {
    transform: translateY(-12px);
  }
  .delivery .where-sub {
    display: none;
  }
  .delivery .where-sub-phone {
    display: block;
  }
  .delivery .tag-g {
    transform-box: fill-box;
    transform-origin: 50% 0;
    transform: scale(1.4);
  }
}

/* Who it's for: heading beside the partner postcard. */
.people-head {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .people-head {
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 120px);
  }
}

/* ── Partner hotel: a taped postcard, a stamp, a plate from its kitchen ─────── */

.partner {
  position: relative;
  margin: 10px 18px 30px 6px;
}
.postcard {
  position: relative;
  background: var(--white);
  padding: 12px 12px 0;
  border-radius: 6px;
  transform: rotate(-2.5deg);
  box-shadow: 0 2px 4px rgba(59, 36, 24, 0.12), 0 24px 50px rgba(59, 36, 24, 0.22);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.partner:hover .postcard {
  transform: rotate(-1deg) translateY(-4px);
}
.postcard img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 2px;
}
.postcard figcaption {
  display: grid;
  gap: 2px;
  /* Room on the right for the plate that sits over the corner. */
  padding: 14px clamp(120px, 36%, 300px) 16px 6px;
}
.partner-label {
  font: 800 12px/1 var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}
.postcard strong {
  font: 800 clamp(20px, 2vw, 26px)/1.15 var(--display);
  color: var(--brown);
}
.postcard strong span {
  display: block;
  color: var(--green);
}
.tape {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 120px;
  height: 30px;
  transform: translateX(-50%) rotate(3deg);
  background: rgba(237, 211, 169, 0.85);
  box-shadow: 0 2px 6px rgba(59, 36, 24, 0.15);
  z-index: 2;
}
.stamp {
  position: absolute;
  width: clamp(92px, 9vw, 128px);
  left: -18px;
  top: -30px;
  z-index: 3;
  filter: drop-shadow(0 10px 18px rgba(20, 12, 8, 0.35));
  animation: spin-slow 22s linear infinite;
}
.stamp-ring {
  font: 800 11.5px/1 var(--body);
  letter-spacing: 0.22em;
  fill: var(--pin);
}
@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}
.partner-plate {
  position: absolute;
  width: clamp(170px, 18vw, 280px);
  right: -30px;
  bottom: -44px;
  z-index: 3;
  filter: drop-shadow(0 18px 24px rgba(20, 12, 8, 0.4));
  animation: float 7s ease-in-out infinite;
}

/* ── Where we are: a route map on the dark earth ──────────────────────────── */

.where {
  background: radial-gradient(1200px 600px at 85% 20%, #4a2e20 0%, var(--brown) 55%, var(--brown-deep) 100%);
  color: var(--sand);
  overflow: hidden;
}
.where .kicker {
  color: var(--pin);
}
.where h2 {
  color: var(--white);
}
.where .intro {
  color: var(--sand);
  opacity: 0.9;
}
.where-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 960px) {
  .where-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(48px, 6vw, 110px);
    align-items: center;
  }
}

/* The route: one line, stops along it. */
.route {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 4px;
  max-width: 560px;
}
.route::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(to bottom, #4fae7d 0%, #4fae7d 4%, rgba(237, 211, 169, 0.25) 10%);
}
.stop {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 10px 14px 10px 0;
  border-radius: 14px;
}
.stop .node {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 13px/1 var(--body);
  color: var(--pin);
  background: var(--brown);
  border: 2px solid rgba(237, 211, 169, 0.45);
}
.stop.live .node {
  background: #4fae7d;
  border: 0;
  animation: live 2s ease-out infinite;
}
.stop.live .node::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
}
.stop strong {
  display: block;
  font: 800 21px/1.2 var(--display);
  color: var(--white);
  padding-top: 3px;
}
.stop:not(.live) strong {
  color: rgba(255, 255, 255, 0.78);
}
.stop span {
  display: block;
  font-size: 14px;
  color: var(--pin);
  opacity: 0.8;
}
.stop em {
  font: 800 12px/1 var(--body);
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(237, 211, 169, 0.3);
  color: var(--pin);
}
.stop.live em {
  background: #4fae7d;
  border-color: #4fae7d;
  color: var(--white);
}
.stop.live {
  background: rgba(79, 174, 125, 0.1);
}

/* The map: sand land on the dark page, the road drawn in moving dashes. */
.where-map {
  position: relative;
}
.where .corridor {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(10, 6, 4, 0.45);
}
.route-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.route-line polyline {
  fill: none;
  stroke: var(--brown);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2 9;
  vector-effect: non-scaling-stroke;
  animation: road 1.2s linear infinite;
  opacity: 0.55;
}
@keyframes road {
  to {
    stroke-dashoffset: -11;
  }
}
.inset {
  position: absolute;
  right: -20px;
  bottom: -26px;
  width: clamp(120px, 14vw, 190px);
  padding: 12px 12px 8px;
  border-radius: 18px;
  background: var(--brown-deep);
  border: 1px solid rgba(237, 211, 169, 0.18);
  box-shadow: 0 16px 34px rgba(10, 6, 4, 0.45);
  text-align: center;
}
.inset span {
  white-space: nowrap;
  font: 800 11px/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pin);
}
@media (max-width: 600px) {
  .inset {
    right: 8px;
    bottom: 8px;
    width: 104px;
  }
}

/* ── Get Vuke: forest green, plates floating, scan-to-download card ─────────── */

.getvuke {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, #2e6b4f 0%, #24553f 60%, #1b4331 100%);
  padding: clamp(80px, 9vw, 140px) 0;
}
.getvuke .kicker {
  color: var(--pin);
}
.getvuke h2 {
  font: 800 clamp(48px, 8vw, 120px)/0.95 var(--display);
  color: var(--white);
  margin-top: 10px;
}
.getvuke h2 span {
  display: block;
  color: var(--pin);
}
.getvuke .intro {
  color: var(--sand);
  margin-top: 20px;
}
.gv-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .gv-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 100px);
  }
}
.gv-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 30px;
}
.btn-light {
  white-space: nowrap;
  background: var(--white);
  color: var(--green);
  box-shadow: 0 14px 30px rgba(10, 30, 20, 0.35);
}
.btn-light:hover {
  background: var(--sand);
}
.gv-note {
  font-weight: 700;
  color: var(--pin);
}
.getvuke .fineprint {
  margin-top: 18px;
  color: var(--sand);
  opacity: 0.75;
}
.gv-card {
  width: min(100%, 320px);
  background: var(--white);
  color: var(--brown);
  border-radius: 26px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(10, 30, 20, 0.4);
}
.gv-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.gv-card-top strong {
  display: block;
  font: 800 24px/1 var(--display);
  padding-top: 3px;
}
.gv-card-top span:not(.brand-tile) {
  display: block;
  font-size: 14px;
  color: var(--muted);
}
.gv-qr {
  margin: 18px auto 0;
  padding: 14px;
  border-radius: 18px;
  border: 2px dashed var(--line);
  width: fit-content;
}
.gv-qr img {
  width: 180px;
  height: 180px;
}
.gv-scan {
  margin-top: 14px;
  font-weight: 700;
  font-size: 16px;
}
.gv-url {
  margin-top: 4px;
  font: 800 14px/1 var(--body);
  letter-spacing: 0.04em;
  color: var(--green);
}
/* Phones: the download button is the way; the scan card is for computers. */
@media (max-width: 959px) {
  .gv-stage .gv-card {
    position: relative;
    z-index: 2;
    margin: -30px auto 0;
    width: min(100%, 260px);
    padding: 18px;
    transform: rotate(-2deg);
  }
  .gv-stage .gv-qr img {
    width: 150px;
    height: 150px;
  }
}
/* The stage: a meal with a cold Coke, a Fanta bursting in behind, the scan card on the corner. */
.gv-stage {
  position: relative;
  max-width: 680px;
  justify-self: center;
  width: 100%;
}
.gv-combo {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 26px 30px rgba(10, 30, 20, 0.45));
  animation: float 8s ease-in-out infinite;
}
@media (min-width: 960px) {
  .gv-stage {
    margin: 60px 0 140px;
  }
  .gv-stage .gv-card {
    position: absolute;
    z-index: 2;
    right: -2%;
    bottom: -30%;
    width: 210px;
    padding: 16px;
    transform: rotate(4deg);
  }
  .gv-stage .gv-qr {
    margin-top: 12px;
    padding: 10px;
  }
  .gv-stage .gv-qr img {
    width: 130px;
    height: 130px;
  }
  .gv-stage .gv-card-top strong {
    font-size: 20px;
  }
  .gv-stage .gv-scan {
    font-size: 14px;
  }
}
@media (max-width: 959px) {
  .gv-stage {
    margin: 30px 0 -40px;
  }
}

/* ── Download page ──────────────────────────────────────────────────────── */

/* Hero: forest green, the download card on the left, a phone installing Vuke on the right. */
.get-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(800px 480px at 85% 30%, rgba(237, 211, 169, 0.16), rgba(237, 211, 169, 0) 65%),
    linear-gradient(135deg, #2e6b4f 0%, #24553f 60%, #1b4331 100%);
  padding: clamp(40px, 6vw, 90px) 0 clamp(60px, 7vw, 110px);
}
.get-hero .kicker {
  color: var(--pin);
}
.get-hero h1 {
  font: 800 clamp(56px, 10vw, 128px)/0.95 var(--display);
  color: var(--white);
  margin-top: 8px;
}
.get-hero h1 span {
  color: var(--pin);
}
.get-lead {
  margin-top: 16px;
  font-size: clamp(19px, 1.6vw, 22px);
  color: var(--sand);
  max-width: 34ch;
}
.get-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 50px;
  align-items: center;
}
@media (min-width: 900px) {
  .get-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
/* The download card: an app ticket with a perforated tear line. */
.download-box {
  position: relative;
  margin-top: 32px;
  background: var(--white);
  color: var(--brown);
  border-radius: 30px;
  padding: 24px;
  max-width: 520px;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.6) inset, 0 34px 70px rgba(10, 30, 20, 0.4);
}
.dl-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.app-icon {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fbf3e6, var(--sand));
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 22px rgba(59, 36, 24, 0.18);
}
.app-icon img {
  width: 58px;
  height: 58px;
}
.dl-title strong {
  display: block;
  font: 800 34px/1 var(--display);
  padding-top: 4px;
}
.dl-title span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 16px;
}
.dl-facts {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.dl-facts li {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 2px 6px;
}
.dl-facts li + li {
  border-left: 1px solid var(--line);
}
.dl-facts b {
  font: 800 20px/1.1 var(--display);
  color: var(--brown);
  padding-top: 3px;
}
.dl-facts li:last-child b {
  color: var(--green);
}
.dl-facts span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.25;
}
/* Ticket tear: dashed line with a notch bitten out of each side. */
.dl-tear {
  position: relative;
  margin: 20px -24px;
  border-top: 2px dashed var(--line);
}
.dl-tear::before,
.dl-tear::after {
  content: "";
  position: absolute;
  top: -14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #275a42;
}
.dl-tear::before {
  left: -13px;
}
.dl-tear::after {
  right: -13px;
}

/* The button: icon disc, two lines, a light that sweeps across. */
.dl-btn {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 22px 12px 12px;
  border-radius: 22px;
  background: linear-gradient(135deg, #37805e 0%, var(--green) 45%, #1f5a40 100%);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(46, 107, 79, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(46, 107, 79, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.dl-btn:active {
  transform: scale(0.98);
}
.dl-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine {
  0%, 60% { left: -40%; }
  100% { left: 130%; }
}
.dl-btn-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--white);
  color: var(--green);
}
.dl-btn-icon svg {
  width: 26px;
  height: 26px;
  animation: nudge 1.8s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}
.dl-btn-text b {
  display: block;
  font: 800 20px/1.15 var(--body);
}
.dl-btn-text small {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
}
/* Not ready yet: moving "preparing" stripes, no shine, not clickable. */
.dl-btn[aria-disabled="true"] {
  pointer-events: none;
  background: repeating-linear-gradient(-45deg, #8b786b 0 14px, #7a6558 14px 28px);
  background-size: 200% 100%;
  box-shadow: none;
  animation: stripes 2.4s linear infinite;
}
.dl-btn[aria-disabled="true"]::after {
  display: none;
}
.dl-btn[aria-disabled="true"] .dl-btn-icon {
  color: var(--muted);
}
.dl-btn[aria-disabled="true"] .dl-btn-icon svg {
  animation: none;
}
@keyframes stripes {
  to { background-position: -79px 0; }
}
@media (max-width: 400px) {
  .download-box { padding: 20px; }
  .dl-tear { margin-inline: -20px; }
  .dl-btn { padding-right: 14px; gap: 12px; }
  .dl-btn-icon { width: 46px; height: 46px; }
  .dl-btn-text b { font-size: 17px; }
  .dl-title strong { font-size: 30px; }
}
.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.dl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 7px 10px;
  border-radius: 99px;
  background: var(--sand);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
}
.dl-chip svg {
  width: 16px;
  height: 16px;
}
.dl-safe {
  background: rgba(46, 107, 79, 0.1);
  color: var(--green);
}
.download-missing {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff4e3;
  color: #6b4a1f;
  font-size: 15px;
  line-height: 1.45;
}
.download-missing[hidden] {
  display: none;
}
.download-missing svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: #d9962b;
}
.download-missing a {
  color: #6b4a1f;
  font-weight: 800;
}

/* The phone on the right. */
.get-visual {
  position: relative;
  display: grid;
  justify-items: center;
}
.install-phone {
  width: clamp(230px, 22vw, 300px);
  transform: rotate(5deg);
}
/* The phone's shape matches the real screenshot, so the app shows whole, nothing cut. */
.install-phone {
  aspect-ratio: 0.5061;
}
.install-screen {
  padding: 0;
  display: block;
  background: var(--white);
  container-type: inline-size;
  font-family: var(--body);
}
.install-screen > * {
  position: absolute;
}

/* 1. Browser */
.sc-browser {
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #f4f4f4;
}
.sb-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3.4cqw 7cqw 0 9cqw;
  height: 9cqw;
  font: 700 4.4cqw/1 var(--body);
  color: #222;
}
.sb-status i {
  width: 12cqw;
  height: 3cqw;
  border-radius: 2cqw;
  background: linear-gradient(90deg, #222 0 30%, transparent 30% 40%, #222 40% 100%);
  opacity: 0.8;
}
.sb-url {
  margin: 2cqw 4cqw;
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  padding: 3cqw 4cqw;
  border-radius: 99px;
  background: #e6e6e6;
  font: 700 4.4cqw/1 var(--body);
  color: #333;
}
.sb-lock {
  width: 3cqw;
  height: 3.4cqw;
  border-radius: 0.8cqw;
  background: #555;
}
.sb-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.6cqw;
  padding: 8cqw 6cqw;
  background: linear-gradient(160deg, #2e6b4f, #1b4331);
}
.sb-page b {
  font: 800 13cqw/1 var(--display);
  color: var(--white);
}
.sb-line {
  height: 2.6cqw;
  width: 80%;
  border-radius: 2cqw;
  background: rgba(245, 235, 221, 0.35);
}
.sb-line.short {
  width: 50%;
}
.sb-btn {
  margin: 3cqw 0;
  padding: 4.4cqw;
  border-radius: 99px;
  background: var(--white);
  color: var(--green);
  font: 800 4.6cqw/1 var(--body);
  text-align: center;
  animation: tap-a 12s ease-in-out infinite;
}
.sb-sheet {
  position: absolute;
  left: 3cqw;
  right: 3cqw;
  bottom: 4cqw;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3cqw;
  align-items: center;
  padding: 4cqw;
  border-radius: 5cqw;
  background: var(--white);
  box-shadow: 0 2cqw 8cqw rgba(0, 0, 0, 0.25);
  animation: sheet 12s ease-in-out infinite;
}
.sb-file {
  width: 9cqw;
  height: 9cqw;
  border-radius: 2.4cqw;
  background: #3ddc84;
}
.sb-sheet b {
  display: block;
  font: 800 4.4cqw/1.2 var(--body);
  color: #222;
}
.sb-sheet i {
  display: block;
  font: 400 3.8cqw/1.2 var(--body);
  font-style: normal;
  color: #666;
}
.sb-open {
  font: 800 4.4cqw/1 var(--body);
  color: #1a73e8;
  padding: 2.4cqw 3cqw;
  border-radius: 99px;
  animation: tap-b 12s ease-in-out infinite;
}

/* 2. Android installer */
.sc-scrim {
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  animation: scrim 12s ease-in-out infinite;
}
.sc-dialog {
  left: 5cqw;
  right: 5cqw;
  top: 50%;
  translate: 0 -50%;
  padding: 7cqw 6cqw 5cqw;
  border-radius: 7cqw;
  background: #fbfbfb;
  box-shadow: 0 4cqw 14cqw rgba(0, 0, 0, 0.35);
  animation: dialog 12s ease-in-out infinite;
}
.dlg-app {
  display: flex;
  align-items: center;
  gap: 3.4cqw;
}
.dlg-app img {
  width: 12cqw;
  height: 12cqw;
  border-radius: 3.4cqw;
  background: var(--sand);
  padding: 1.4cqw;
}
.dlg-app b {
  font: 800 6cqw/1 var(--body);
  color: #1f1f1f;
}
.dlg-states {
  display: grid;
  margin-top: 5cqw;
}
.dlg-state {
  grid-area: 1 / 1;
}
.dlg-state p {
  font: 400 4.6cqw/1.35 var(--body);
  color: #333;
  min-height: 12.5cqw;
}
.dlg-btns {
  display: flex;
  justify-content: flex-end;
  gap: 2cqw;
  margin-top: 3cqw;
}
.dlg-btns span {
  font: 800 4.4cqw/1 var(--body);
  color: #1a73e8;
  padding: 3cqw 4cqw;
  border-radius: 99px;
}
.dlg-progress {
  margin-top: 5cqw;
  height: 1.6cqw;
  border-radius: 2cqw;
  background: #dfe6f3;
  overflow: hidden;
}
.dlg-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: #1a73e8;
  border-radius: 2cqw;
  animation: progress 12s linear infinite;
}
.st-ask { animation: st-ask 12s ease-in-out infinite; }
.st-busy { animation: st-busy 12s ease-in-out infinite; }
.st-done { animation: st-done 12s ease-in-out infinite; }
.tap-install { animation: tap-c 12s ease-in-out infinite; }
.tap-open { animation: tap-d 12s ease-in-out infinite; }

/* 3. Vuke, opened: the real screen, whole. */
.app-shot {
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: fill;
  transform-origin: 70% 62%;
  animation: open-app 12s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

/* One 12-second story. Without motion only the open app shows. */
@keyframes tap-a { 0%, 3%, 7%, 100% { background: var(--white); scale: 1; } 5% { background: var(--sand); scale: 0.94; } }
@keyframes sheet { 0%, 7% { translate: 0 140%; } 10%, 100% { translate: 0 0; } }
@keyframes tap-b { 0%, 15%, 19%, 100% { background: transparent; } 17% { background: #dbe7fb; } }
@keyframes scrim { 0%, 20% { opacity: 0; } 23%, 100% { opacity: 1; } }
@keyframes dialog { 0%, 20% { opacity: 0; scale: 0.92; } 23%, 100% { opacity: 1; scale: 1; } }
@keyframes st-ask { 0%, 36% { opacity: 1; } 38%, 100% { opacity: 0; } }
@keyframes tap-c { 0%, 31%, 35%, 100% { background: transparent; } 33% { background: #dbe7fb; } }
@keyframes st-busy { 0%, 37% { opacity: 0; } 39%, 55% { opacity: 1; } 57%, 100% { opacity: 0; } }
@keyframes progress { 0%, 39% { width: 0; } 55%, 100% { width: 100%; } }
@keyframes st-done { 0%, 56% { opacity: 0; } 58%, 100% { opacity: 1; } }
@keyframes tap-d { 0%, 62%, 66%, 100% { background: transparent; } 64% { background: #dbe7fb; } }
@keyframes open-app {
  0%, 67% { opacity: 0; transform: scale(0.2); }
  72%, 96% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}
.get-plate {
  position: absolute;
  width: clamp(200px, 22vw, 360px);
  right: 34%;
  bottom: -70px;
  filter: drop-shadow(0 26px 30px rgba(10, 30, 20, 0.45));
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}
@media (max-width: 899px) {
  .get-plate {
    width: 180px;
    right: auto;
    left: -36px;
    bottom: -30px;
  }
  .install-phone {
    width: 230px;
  }
}

/* Steps: a dotted timeline, the safety card beside it. */
.get-steps-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 960px) {
  .get-steps-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(48px, 6vw, 110px);
    align-items: start;
  }
}
.install {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 660px;
}
.install li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding-bottom: 30px;
}
.install li:not(.last)::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: 4px;
  border-left: 3px dotted rgba(59, 36, 24, 0.3);
}
.install .n {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  border: 3px solid var(--green);
  display: grid;
  place-items: center;
  font: 800 24px/1 var(--display);
  padding-top: 3px;
}
.install li.last .n {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 0 0 8px rgba(46, 107, 79, 0.15);
}
.install strong {
  display: block;
  font: 800 22px/1.25 var(--display);
  padding-top: 12px;
}
.install span {
  display: block;
  color: var(--muted);
  font-size: 17px;
  margin-top: 4px;
}
.notice {
  position: relative;
  background: var(--brown);
  color: var(--sand);
  border-radius: 28px;
  padding: 30px 28px 28px;
  box-shadow: 0 30px 60px rgba(59, 36, 24, 0.25);
}
@media (min-width: 960px) {
  .notice {
    position: sticky;
    top: 110px;
    margin-top: 40px;
    transform: rotate(1.5deg);
  }
}
.notice-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #d9962b;
  color: var(--white);
  margin-bottom: 16px;
}
.notice-icon svg {
  width: 30px;
  height: 30px;
}
.notice h2 {
  font-size: 28px;
  color: var(--white);
}
.notice p {
  margin-top: 10px;
  font-size: 17px;
}
.notice strong {
  color: var(--pin);
}
.notice a {
  color: var(--pin);
}
.notice-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 99px;
  background: var(--sand);
  color: var(--brown) !important;
  font-weight: 800;
  text-decoration: none;
}
.notice-call svg {
  width: 20px;
  height: 20px;
}

.prose {
  max-width: 64ch;
}
.prose h1 {
  font-size: clamp(36px, 8vw, 54px);
  font-weight: 800;
}
.prose p {
  margin-top: 16px;
}

/* ── Footer: the road, a giant wordmark, everything you need ─────────────── */

.footer {
  position: relative;
  overflow: hidden;
  background: var(--brown-deep);
  color: var(--sand);
  padding: 0 0 0;
}
.footer-road {
  position: relative;
  height: 74px;
  background: linear-gradient(#1d110c, #2a1911);
  border-bottom: 3px solid #4a2e20;
}
.footer-road .truck {
  bottom: 8px;
  width: 150px;
  animation-duration: 20s;
}
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(44px, 5vw, 70px) 0 clamp(36px, 4vw, 56px);
  border-bottom: 1px solid rgba(245, 235, 221, 0.12);
}
.footer-cta-title {
  font: 800 clamp(32px, 4.4vw, 60px)/1 var(--display);
  color: var(--white);
  max-width: 18ch;
}
.footer-cta-title span {
  color: var(--pin);
}
.footer .btn-light {
  color: var(--brown);
}
.footer-grid {
  display: grid;
  gap: 34px 28px;
  padding-top: 40px;
  grid-template-columns: 1fr 1fr;
}
.footer-brand {
  grid-column: 1 / -1;
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
}
.footer .brand-name {
  color: var(--white);
}
.footer .tagline {
  margin-top: 14px;
  font: 800 22px/1.25 var(--display);
  color: var(--white);
  max-width: 22ch;
}
.footer-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 12px;
  border-radius: 99px;
  background: rgba(79, 174, 125, 0.14);
  color: #8fd6ae;
  font-weight: 800;
  font-size: 14px;
}
.footer h3 {
  font: 800 13px/1 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pin);
}
.footer ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer a {
  color: var(--sand);
  text-decoration: none;
}
.footer ul a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-phone {
  white-space: nowrap;
  font-weight: 800;
  color: var(--white) !important;
}
/* The corridor as a little route: live countries lit up. */
.footer-route {
  position: relative;
  gap: 10px !important;
}
.footer-route::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  border-left: 2px dotted rgba(237, 211, 169, 0.35);
}
.footer-route li {
  position: relative;
  padding-left: 22px;
  color: rgba(245, 235, 221, 0.7);
}
.footer-route li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--brown-deep);
  border: 2px solid rgba(237, 211, 169, 0.5);
}
.footer-route li.is-live {
  color: var(--white);
  font-weight: 700;
}
.footer-route li.is-live::before {
  background: #4fae7d;
  border-color: #4fae7d;
}
.footer-base {
  position: relative;
  z-index: 1;
  margin-top: 44px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(245, 235, 221, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 15px;
  color: rgba(245, 235, 221, 0.7);
}
.footer-base nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
}
/* The giant wordmark, cut off by the bottom of the page. */
.footer-word {
  font: 800 clamp(120px, 27vw, 440px)/0.72 var(--display);
  text-align: center;
  letter-spacing: -0.02em;
  color: transparent;
  background: linear-gradient(180deg, rgba(237, 211, 169, 0.22), rgba(237, 211, 169, 0.02) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  margin: -10px 0 0;
  height: 0.62em;
  overflow: hidden;
  user-select: none;
}

@media (max-width: 600px) {
  .postcard figcaption {
    padding-right: 96px;
  }
  .partner-plate {
    width: 130px;
    right: -14px;
    bottom: -34px;
  }
  .inset span {
    letter-spacing: 0.08em;
    font-size: 10px;
  }
}
@media (max-width: 400px) {
  .btn-light.btn-lg {
    padding-inline: 20px;
    font-size: 17px;
  }
}
@media (max-width: 360px) {
  .btn-light.btn-lg {
    padding-inline: 16px;
    font-size: 16px;
    gap: 8px;
  }
}
@media (min-width: 960px) and (max-width: 1279px) {
  .gv-stage .gv-card {
    width: 172px;
    padding: 12px;
    bottom: -38%;
  }
  .gv-stage .gv-qr img {
    width: 104px;
    height: 104px;
  }
  .gv-stage .gv-card-top span:not(.brand-tile) {
    font-size: 12px;
  }
  .gv-stage .gv-card-top strong {
    font-size: 18px;
  }
}

/* ── Cookie choice (consent.js): a bar along the bottom of the screen ───────── */

.consent {
  position: fixed;
  z-index: 60;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom));
  background: var(--white);
  color: var(--brown);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(42, 25, 17, 0.1);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.consent.is-in {
  opacity: 1;
  transform: none;
}
.consent-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px 32px;
}
.consent-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.consent-title,
.consent-row-title {
  font-weight: 800;
  font-size: 16px;
  margin: 0;
}
.consent-text {
  margin: 4px 0 0;
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--muted);
}
.consent-text a {
  color: var(--brown);
  text-underline-offset: 3px;
}
.consent-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.consent-dialog .consent-actions {
  margin-top: 18px;
}
.consent-btn {
  min-height: 46px;
  min-width: 120px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid var(--brown);
  background: var(--white);
  color: var(--brown);
  font: 800 15px/1 var(--body);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.consent-btn:hover {
  background: var(--sand);
}
.consent-btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.consent-btn-primary:hover {
  background: var(--green-press);
  border-color: var(--green-press);
}
.consent-link {
  min-height: 46px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--muted);
  font: 700 14.5px/1 var(--body);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.consent-link:hover {
  color: var(--brown);
}
.consent-btn:focus-visible,
.consent-link:focus-visible,
.consent-switch:focus-visible,
.footer-base button:focus-visible {
  outline: 3px solid var(--water);
  outline-offset: 2px;
}
.consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(42, 25, 17, 0.42);
}
.consent-dialog {
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 24px;
  border-radius: 18px;
  background: var(--white);
  color: var(--brown);
}
.consent-dialog h2 {
  font: 800 24px/1.2 var(--display);
  margin: 0;
}
.consent-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  cursor: pointer;
}
.consent-row + .consent-row {
  margin-top: 0;
}
.consent-always {
  flex: none;
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
  padding-top: 2px;
}
.consent-note {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 4px;
}
.consent-switch {
  flex: none;
  appearance: none;
  width: 44px;
  height: 26px;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--line);
  position: relative;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.consent-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(42, 25, 17, 0.25);
  transition: transform 0.15s ease;
}
.consent-switch:checked {
  background: var(--green);
}
.consent-switch:checked::after {
  transform: translateX(18px);
}
.consent-switch:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.footer-base button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.footer-base button:hover {
  color: var(--sand);
}
@media (max-width: 860px) {
  .consent-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .consent-actions .consent-link {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 34px;
  }
  .consent-btn {
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .consent,
  .consent-switch,
  .consent-switch::after {
    transition: none;
  }
}

/* ── Terms and Privacy Policy (built by scripts/build-legal.mjs) ─────────── */

.legal {
  max-width: 72ch;
}
.legal h1 {
  font-size: clamp(34px, 7vw, 50px);
  font-weight: 800;
  margin-top: 6px;
}
.legal-meta {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}
.legal-draft {
  margin-top: 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--pin);
  background: var(--sand);
  font-size: 15px;
}
.legal p,
.legal li,
.legal dd {
  font-weight: 400;
  line-height: 1.7;
}
.legal p {
  margin-top: 14px;
}
.legal-lead {
  font-size: 18px;
}
.legal-summary {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--sand);
}
.legal-summary h2 {
  font-size: 19px;
  margin: 0;
}
.legal-toc {
  margin-top: 28px;
  padding: 0;
  list-style: none;
  columns: 2 260px;
  column-gap: 32px;
  font-size: 15px;
}
.legal-toc li {
  break-inside: avoid;
  padding: 3px 0;
}
.legal-toc a,
.legal a {
  color: var(--brown);
  text-underline-offset: 3px;
}
.legal section {
  margin-top: 40px;
  padding-top: 8px;
}
.legal h2 {
  font: 800 24px/1.25 var(--display);
}
.legal h2 .legal-num {
  color: var(--muted);
  margin-right: 8px;
}
.legal h3 {
  margin-top: 22px;
  font-size: 17px;
}
.legal ul,
.legal ol {
  margin-top: 12px;
  padding-left: 22px;
}
.legal li + li {
  margin-top: 6px;
}
.legal dl {
  margin-top: 12px;
}
.legal dt {
  margin-top: 12px;
  font-weight: 800;
}
.legal dd {
  margin: 2px 0 0;
}
.legal-table {
  margin-top: 14px;
  overflow-x: auto;
}
.legal table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 14.5px;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  line-height: 1.5;
}
.legal th {
  font-weight: 800;
  background: var(--sand);
}
.legal-end {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
