/* Hemong website. Plain CSS, no build step. Brand: turquoise #40E0D0, deep teal #0F766E, ink #0E1F23. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --brand: #40e0d0;
  --brand-soft: #8ff0e6;
  --brand-deep: #0f766e;
  --mint: #ddf8f5;
  --mint-2: #f0fcfa;
  --ink: #0e1f23;
  --ink-2: #1c3a40;
  --muted: #4a5f66;
  --line: #d4e6e4;
  --paper: #ffffff;
  --sun: #ffbf66;
  --coral: #ff7a59;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(14, 31, 35, 0.05), 0 12px 32px -12px rgba(14, 31, 35, 0.18);
  --shadow-lg: 0 24px 60px -24px rgba(14, 31, 35, 0.35);
  --wrap: 1180px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Behind the page. The footer is dark, so anything that shows past the end of the page (overscroll, tall windows) must be
     dark too, or a white strip appears under it. */
  background: var(--ink);
  /* No sideways movement at all: nothing can be dragged or bounced to reveal a gap at the left or right edge. */
  overflow-x: clip;
  overscroll-behavior: none;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brand-deep);
  text-underline-offset: 3px;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
}
h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}
h3 {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

main {
  flex: 1 0 auto;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
}
.skip:focus {
  left: 12px;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(14, 31, 35, 0.06);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand img {
  display: block;
  height: 46px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav > a {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
}
.nav > a:hover,
.nav > a[aria-current="page"] {
  background: var(--mint);
  color: var(--brand-deep);
}

/* Header on the home page: the same turquoise as the hero, so the two read as one block. */
.site-header-brand {
  background: var(--brand);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
.site-header-brand .brand img {
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease;
}
/* Once the hero has scrolled out of view the header turns translucent, like on every other page. */
.site-header-brand.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: rgba(14, 31, 35, 0.06);
}
.site-header-brand.is-scrolled .brand img {
  filter: none;
}
/* Over the turquoise hero the links use the deep teal, the app's secondary colour. They go back to dark once the header turns translucent. */
.site-header-brand .nav > a {
  color: var(--brand-deep);
  transition: color 0.35s ease, background-color 0.2s ease;
}
.site-header-brand .nav > a:hover,
.site-header-brand .nav > a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.4);
  color: var(--brand-deep);
}
.site-header-brand .menu-btn {
  background: rgba(255, 255, 255, 0.4);
}
.site-header-brand .menu-btn span {
  background: var(--brand-deep);
}
.site-header-brand.is-scrolled .nav > a {
  color: var(--ink);
}
.site-header-brand.is-scrolled .menu-btn span {
  background: var(--ink);
}
.site-header-brand.is-scrolled .nav > a:hover,
.site-header-brand.is-scrolled .nav > a[aria-current="page"] {
  background: var(--mint);
  color: var(--brand-deep);
}
.site-header-brand.is-scrolled .menu-btn {
  background: var(--mint);
}
.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--mint);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn span {
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Buttons */
.btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s, color 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--brand);
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(15, 118, 110, 0.7);
}
.btn-primary:hover {
  background: var(--brand-soft);
  color: var(--ink);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--ink-2);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--brand-deep);
  color: var(--brand-deep);
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-link {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--brand-deep);
}
.btn-link:hover {
  transform: none;
  color: var(--ink);
}
.btn-link .arrow {
  transition: transform 0.15s;
}
.btn-link:hover .arrow {
  transform: translateX(4px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

/* Store buttons */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  min-width: 168px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  transition: transform 0.15s, background-color 0.15s;
}
.store:hover {
  transform: translateY(-2px);
  color: #fff;
  background: var(--ink-2);
}
.store span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.store small {
  font-size: 0.68rem;
  opacity: 0.8;
}
.store strong {
  font-size: 1.04rem;
}
.stores-light .store {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.stores-light .store:hover {
  color: var(--ink);
  background: var(--mint);
}
.store-soon {
  opacity: 0.94;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(64, 224, 208, 0.35), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(255, 191, 102, 0.22), transparent 60%),
    var(--mint-2);
}
.hero h1 .mark {
  position: relative;
  white-space: nowrap;
  color: var(--brand-deep);
}
.hero h1 .mark::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.04em;
  height: 0.28em;
  z-index: -1;
  background: var(--brand);
  opacity: 0.55;
  border-radius: 8px;
}
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  color: var(--muted);
  max-width: 34em;
}

/* Home hero: turquoise stage with white service cards and cut-out food, in the spirit of the big food apps. */
.hero-brand {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  color: var(--ink);
}
.hero-food {
  position: absolute;
  z-index: 0;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 18px 24px rgba(14, 31, 35, 0.22));
}
.hero-food-l {
  left: -130px;
  top: 6px;
  width: clamp(300px, 27vw, 420px);
  transform: rotate(-7deg);
}
.hero-food-r {
  right: 34px;
  top: 26px;
  width: clamp(120px, 11vw, 170px);
  transform: rotate(8deg);
}
.hero-stage {
  position: relative;
  z-index: 1;
  padding-top: clamp(28px, 5vw, 56px);
  padding-bottom: clamp(48px, 7vw, 88px);
  text-align: center;
}
.hero-brand h1 {
  max-width: 13em;
  margin: 0 auto 16px;
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  line-height: 1.04;
}
.hero-brand h1 .mark {
  color: var(--ink);
}
.hero-brand h1 .mark::after {
  background: #fff;
  opacity: 0.7;
}
.hero-brand .lead {
  max-width: 36em;
  margin: 0 auto;
  color: #12383f;
}
.hero-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  margin: clamp(32px, 5vw, 56px) auto 0;
  max-width: 1040px;
  text-align: left;
}
.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: clamp(380px, 36vw, 470px);
  padding: clamp(22px, 3vw, 34px);
  border-radius: 34px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 2px 0 rgba(14, 31, 35, 0.04), 0 28px 50px -28px rgba(14, 31, 35, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-card:hover {
  color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 2px 0 rgba(14, 31, 35, 0.04), 0 36px 60px -28px rgba(14, 31, 35, 0.55);
}
.hero-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}
.hero-card p {
  margin: 4px 0 0;
  max-width: 14em;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--muted);
  font-weight: 500;
}
.hero-go {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transition: background-color 0.2s, gap 0.2s;
}
.hero-card:hover .hero-go {
  background: var(--brand-deep);
  gap: 14px;
}
.hero-card-art {
  position: absolute;
  height: auto;
  pointer-events: none;
}
.hero-card-food {
  right: -3%;
  bottom: -4%;
  width: 58%;
  filter: drop-shadow(0 16px 20px rgba(14, 31, 35, 0.28));
}
.hero-card-ride {
  position: static;
  align-self: center;
  width: min(88%, 400px);
  margin: auto 0 14px;
  filter: drop-shadow(0 14px 14px rgba(14, 31, 35, 0.28));
}
.hero-card-with-car .hero-go {
  margin-top: 0;
}
/* The same verified look as in the app: a turquoise ring round the photo and the seal at the bottom right. */
.verified-avatar {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  margin-top: 18px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #1fc9b8;
}
.verified-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.verified-seal {
  position: absolute;
  right: -9px;
  bottom: -9px;
  width: 26px;
  height: 26px;
}

/* Sections */
.section {
  padding-block: clamp(56px, 8vw, 104px);
}
.section-tight {
  padding-block: clamp(40px, 5vw, 64px);
}
.section-mint {
  background: var(--mint-2);
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head p {
  color: var(--muted);
  font-size: 1.15rem;
}

.grid {
  display: grid;
  gap: 22px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
a.card {
  color: inherit;
  text-decoration: none;
}
a.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.card .art {
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  margin-bottom: 18px;
}
.card .btn-link {
  margin-top: auto;
  align-self: flex-start;
}
.card-mint {
  background: var(--mint);
  border-color: transparent;
}

/* Service tiles on the home page */
.service {
  /* No fill, just a border in the secondary colour. */
  background: transparent;
  border: 1.5px solid var(--brand-deep);
  padding: 32px;
}
.service .illo {
  /* Cards are flex columns that stretch their children sideways. Keep the picture at its own proportions. */
  align-self: center;
  width: auto;
  max-width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 22px;
  transition: transform 0.3s;
}
a.service:hover .illo {
  transform: translateY(-4px) rotate(-3deg);
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.step {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}
.step .art {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
}
.step p {
  color: var(--muted);
  margin: 0;
}

/* Feature split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
}
.split.reverse .split-media {
  order: -1;
}
.split-media {
  position: relative;
}
.split-media .illo {
  display: block;
  width: min(100%, 540px);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}
.split-media .photo {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.split-media .badge {
  position: absolute;
  right: 18px;
  bottom: -22px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 700;
  line-height: 1.25;
}
.split-media .badge img {
  width: 48px;
  height: 48px;
}
.split-media .badge small {
  display: block;
  color: var(--muted);
  font-weight: 500;
}
.ticks {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.ticks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}
.ticks .tick {
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  width: 26px;
  height: 26px;
}

/* Band */
.band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
}
.band-photo {
  position: absolute;
  inset: 0;
}
.band-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.band-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 31, 35, 0.96) 0%, rgba(14, 31, 35, 0.82) 38%, rgba(14, 31, 35, 0.15) 100%);
}
.band-teal .band-photo::after {
  background: linear-gradient(90deg, rgba(10, 77, 72, 0.96) 0%, rgba(15, 118, 110, 0.8) 40%, rgba(15, 118, 110, 0.1) 100%);
}
.band-in {
  position: relative;
  padding: clamp(36px, 6vw, 80px);
  max-width: 660px;
}
.band h2 {
  color: #fff;
}
.band p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.15rem;
}
.band-teal {
  background: linear-gradient(135deg, var(--brand-deep), #0a4d48);
}

/* Page hero for inner pages */
.page-hero {
  padding-block: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 52px);
  background: linear-gradient(180deg, var(--mint-2), #fff);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.page-hero-art .illo {
  display: block;
  object-fit: contain;
  width: min(100%, 380px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 24px 30px rgba(15, 118, 110, 0.14));
}
.page-hero-art .art {
  width: min(100%, 300px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 24px 30px rgba(15, 118, 110, 0.18));
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  max-width: 17em;
}
.page-hero .lead {
  margin-bottom: 0;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-size: 0.9rem;
  color: var(--muted);
}
.crumbs li + li::before {
  content: "/";
  margin-right: 4px;
  opacity: 0.5;
}
.crumbs a {
  color: var(--muted);
}

/* FAQ: joined rows, rounded outer corners, one open at a time */
.faq-block {
  max-width: 768px;
  margin-inline: auto;
}
.faq-head {
  margin-bottom: 28px;
}
.faq-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}
.faq-head p {
  margin-top: 8px;
  max-width: 640px;
  color: var(--muted);
}
.faq {
  max-width: 768px;
  margin-inline: auto;
  background: #fff;
  border-radius: 12px;
}
.faq details {
  position: relative;
  border: 1px solid var(--line);
  border-top-width: 0;
  margin: 0;
}
.faq details:first-child {
  border-top-width: 1px;
  border-radius: 12px 12px 0 0;
}
.faq details:last-child {
  border-radius: 0 0 12px 12px;
}
.faq details:only-child {
  border-radius: 12px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 600;
  border-radius: inherit;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: currentColor;
  opacity: 0.6;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease-out;
}
.faq details[open] summary::after {
  transform: rotate(180deg);
}
.faq summary:hover {
  background: var(--mint-2);
}
.faq summary:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: -2px;
}
.faq-a {
  padding: 0 16px 16px;
  font-size: 0.95rem;
  color: var(--muted);
  animation: faq-open 0.2s ease-out;
}
@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.faq-foot {
  margin-top: 20px;
  color: var(--muted);
}
.faq-foot a {
  color: var(--brand-deep);
  font-weight: 600;
}
.faq-foot a:hover {
  text-decoration: underline;
}
@media (prefers-reduced-motion: reduce) {
  .faq-a {
    animation: none;
  }
}

/* Forms */
.form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-weight: 700;
  font-size: 0.95rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--mint-2);
  font: inherit;
  color: var(--ink);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-deep);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.25);
}
.hint {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}
.form-note {
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--ink-2);
  font-size: 0.95rem;
  margin: 0;
}

/* Legal and long text */
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-block: 24px clamp(56px, 8vw, 104px);
}
.toc {
  position: sticky;
  top: 96px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--mint-2);
  font-size: 0.93rem;
}
.toc strong {
  display: block;
  margin-bottom: 10px;
}
.toc ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.toc a {
  color: var(--ink-2);
  text-decoration: none;
}
.toc a:hover {
  color: var(--brand-deep);
  text-decoration: underline;
}
.prose {
  max-width: 760px;
}
.prose h2 {
  font-size: 1.6rem;
  margin-top: 2.2em;
  scroll-margin-top: 96px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: 1.6em;
  font-size: 1.15rem;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1.2em;
}
.prose li {
  margin-bottom: 0.45em;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0 1.8em;
  font-size: 0.97rem;
}
.prose th,
.prose td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--mint-2);
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 18px;
}
.notice {
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--mint);
  border-left: 5px solid var(--brand-deep);
  margin: 0 0 1.6em;
}
.todo {
  background: #fff1c2;
  border-radius: 6px;
  padding: 0 5px;
  font-weight: 600;
}

/* Small stats and chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.95rem;
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.fact {
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.fact b {
  display: block;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--brand-deep);
}
.fact span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Download page */
.download-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--mint);
}
.download-card .art-xl {
  width: min(100%, 300px);
  margin-inline: auto;
}

/* Photo gallery: the photo you hover opens wide */
.acc {
  display: flex;
  gap: 12px;
  height: clamp(400px, 46vw, 580px);
}
.acc-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 26px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: flex-grow 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.acc-item.is-active {
  flex-grow: var(--grow, 4);
}
.acc-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.acc-item.is-active img {
  transform: scale(1);
}
.acc-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 31, 35, 0) 40%, rgba(14, 31, 35, 0.82) 100%);
}
.acc-cap {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.acc-cap strong {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.acc-cap small {
  max-width: 22em;
  font-size: 0.92rem;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.4s 0.15s, max-height 0.4s;
  color: rgba(255, 255, 255, 0.86);
}
.acc-cap .arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s 0.15s, transform 0.4s 0.15s;
}
.acc-item.is-active .acc-cap small {
  opacity: 1;
  max-height: 3em;
}
.acc-item.is-active .acc-cap .arrow {
  opacity: 1;
  transform: none;
}
/* A narrow photo shows its title running up the side instead of being cut off. */
.acc-item:not(.is-active) .acc-cap {
  left: 50%;
  right: auto;
  bottom: 22px;
  transform: translateX(-50%);
}
.acc-item:not(.is-active) .acc-cap strong {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Dark sections, like the Earn and apps rows on the home page */
.dark-section {
  background: var(--ink);
  color: #fff;
}
.dark-section .section-head h2 {
  color: #fff;
}
.dark-section .section-head p {
  color: rgba(255, 255, 255, 0.82);
}
.earn {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.earn-card {
  display: flex;
  flex-direction: column;
  color: #fff;
  text-decoration: none;
}
.earn-card .photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 18px;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s;
}
.earn-card:hover .photo {
  transform: translateY(-4px);
  box-shadow: 0 0 0 3px var(--brand);
}
.earn-card h3 {
  color: #fff;
  margin-bottom: 8px;
}
.earn-card p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}
.pill {
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}
.earn-card:hover .pill {
  background: var(--brand);
}
.qr-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.qr-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
}
.qr-card img {
  flex: none;
  width: 128px;
  height: 128px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
}
.qr-card h3 {
  color: #fff;
  margin-bottom: 2px;
}
.qr-card p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}
.qr-card .stores {
  gap: 10px;
}
.qr-card .store {
  min-width: 0;
  padding: 7px 12px 7px 10px;
}
.qr-card .store strong {
  font-size: 0.92rem;
}
.qr-card .store small {
  font-size: 0.62rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: 0;
  overflow: hidden;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
}
.foot-col h3 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}
.foot-col a {
  font-size: 0.94rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
}
.foot-col a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.foot-mark {
  display: block;
  margin: clamp(24px, 4vw, 48px) auto 0;
  max-width: 640px;
}
.foot-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}
.foot-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px 24px;
  margin-top: 8px;
  padding-block: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}
.foot-bottom p {
  margin: 0;
}
.foot-links {
  justify-self: end;
  display: flex;
  gap: 20px;
}
.social {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.social a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* The footer rises in, staggered, as it comes into view. */
.js .rise {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(8px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.7s ease;
}
.js .rise.in {
  opacity: 1;
  transform: none;
  filter: none;
}
.js .foot-col:nth-child(2).rise { transition-delay: 0.08s; }
.js .foot-col:nth-child(3).rise { transition-delay: 0.16s; }
.js .foot-col:nth-child(4).rise { transition-delay: 0.24s; }
.js .foot-mark.rise { transition-delay: 0.2s; }

/* Reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

.photo {
  display: block;
}
.art {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .rise {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Tablet and below */
@media (max-width: 1020px) {
  .earn {
    grid-template-columns: 1fr;
  }
  .qr-cards {
    grid-template-columns: 1fr;
  }
  .grid-4,
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .menu-btn {
    display: flex;
  }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(14, 31, 35, 0.3);
    display: none;
  }
  .nav.open {
    display: flex;
  }
  .nav > a {
    padding: 14px 12px;
    font-size: 1.08rem;
    border-radius: 14px;
  }
  .site-header-brand .nav {
    background: var(--brand);
  }
  .site-header-brand.is-scrolled .nav {
    background: #fff;
  }
}

@media (max-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }
  .page-hero-art {
    display: none;
  }
  .split,
  .download-card,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .split.reverse .split-media {
    order: 0;
  }
  .toc {
    position: static;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .acc {
    flex-direction: column;
    height: 560px;
    gap: 8px;
  }
  .acc-item {
    border-radius: 20px;
  }
  .acc-item:not(.is-active) .acc-cap {
    left: 20px;
    right: 20px;
    bottom: 50%;
    transform: translateY(50%);
  }
  .acc-item:not(.is-active) .acc-cap strong {
    writing-mode: horizontal-tb;
    transform: none;
  }
}

@media (max-width: 620px) {
  .qr-card {
    flex-direction: column;
    align-items: flex-start;
  }
  body {
    font-size: 1rem;
  }
  .grid-4,
  .facts,
  .form-row {
    grid-template-columns: 1fr;
  }
  .foot-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .foot-links {
    justify-self: start;
  }
  .service {
    min-height: 280px;
  }
  .store {
    min-width: 0;
    flex: 1 1 100%;
  }
}

/* Links that sit on dark photos stay white on hover (the global link hover colour is dark). */
.acc-item:hover,
.acc-item:focus-visible,
.earn-card:hover,
.earn-card:focus-visible {
  color: #fff;
}

@media (max-width: 1100px) {
  .hero-food-l {
    left: -170px;
    top: 24px;
    opacity: 0.9;
  }
  .hero-food-r {
    display: none;
  }
}
@media (max-width: 800px) {
  .hero-cards {
    grid-template-columns: 1fr;
  }
  .hero-food-l {
    display: none;
  }
  .hero-card {
    min-height: 330px;
  }
}

/* Parallax photo wall */
.plx-section {
  padding-bottom: 0;
  overflow: hidden;
}
.plx {
  overflow: hidden;
}
.plx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 40px;
  max-width: 1024px;
  margin-inline: auto;
  padding: 120px 40px 200px;
}
.plx-col {
  display: grid;
  gap: 40px;
  will-change: transform;
}
.plx-item img {
  display: block;
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 40px -24px rgba(14, 31, 35, 0.45);
}
@media (max-width: 1023px) {
  .plx-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .plx-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 56px 20px 120px;
  }
  .plx-col {
    gap: 24px;
  }
  .plx-item:nth-child(n + 4) {
    display: none;
  }
  .plx-item img {
    height: 15rem;
  }
}
