/* =========================================================================
   Micro Jobs Africa — homepage
   Mobile-first. Small screens get the richer treatment; the desktop rules
   from ≥1024px restore the approved reference layout.
   ====================================================================== */

/* ================================================================== HERO */

.hero {
  position: relative;
  padding-top: 26px;
  padding-bottom: 90px;
  background: var(--c-surface);
  overflow: hidden;
}

.hero__decor { position: absolute; inset: 0; pointer-events: none; }

.hero__glow { opacity: .55; }
.hero__glow--gold {
  width: 320px; height: 320px;
  right: -110px; top: 180px;
  background: radial-gradient(circle, rgba(252,180,54,.55), transparent 68%);
}
.hero__glow--green {
  width: 300px; height: 300px;
  left: -130px; top: 40px;
  background: radial-gradient(circle, rgba(31,163,71,.28), transparent 70%);
}

.hero__ring { display: none; }

.hero__dots {
  width: 108px; height: 96px;
  right: 12px; top: 90px;
  opacity: .5;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.hero__title {
  display: flex;
  flex-direction: column;
  font-size: clamp(1.95rem, 10vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

/* The reference headline runs a green → gold gradient across lines 1 and 2 */
.hero__line--1,
.hero__line--2 {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero__line--1 { background-image: var(--grad-headline-1); }
.hero__line--2 { background-image: var(--grad-headline-2); }
.hero__line--3 { color: var(--c-heading-soft); }

.hero__lede {
  max-width: 34ch;
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.hero__actions .btn { flex: 1 1 auto; min-width: 160px; }

.hero__proof {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}

.hero__proof-text { display: flex; flex-direction: column; text-align: left; }
.hero__proof-text strong {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--c-green);
  letter-spacing: -0.02em;
}
.hero__proof-text span { font-size: .85rem; line-height: 1.3; }

.hero__media {
  position: relative;
  display: grid;
  place-items: center;
}

.hero__media img {
  width: min(100%, 560px);
  height: auto;
  animation: float-soft 7s ease-in-out infinite;
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 62px;
}

/* ================================================================= ABOUT */

.about {
  position: relative;
  background: var(--c-surface-soft);
}

.about__inner {
  position: relative;
  display: grid;
  gap: 34px;
  padding-bottom: 96px;
}

.about__media { position: relative; display: grid; place-items: center; }
.about__media img { width: min(100%, 540px); height: auto; }

/*
 * The logo stands in for the old About artwork. On its own a 256px mark
 * floats in the middle of a big column, so it sits on a soft green disc with
 * a ring around it — the mark stays the brand gold and the panel does the
 * work of filling the space.
 */
/* Down from 300px (owner, 2026-09-26): beside two short paragraphs it read as
   a splash screen rather than a mark. */
.about__logo {
  display: grid;
  place-items: center;
  width: min(52vw, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(150deg, var(--c-chip) 0%, #D8EEDD 100%);
  box-shadow:
    0 24px 60px rgba(11, 59, 38, .16),
    inset 0 0 0 1px rgba(255, 255, 255, .8),
    inset 0 0 0 14px rgba(255, 255, 255, .45);
}

.about__logo img {
  width: 46%;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(11, 59, 38, .22));
}

.about__copy { display: flex; flex-direction: column; gap: 16px; }

.about__title { font-size: clamp(1.45rem, 5.4vw, 2.4rem); }
.about__text  { line-height: 1.85; max-width: 52ch; }

/* The line under the heading: the section's one-sentence summary. */
.about__lead {
  max-width: 34ch;
  font-size: clamp(.98rem, 3vw, 1.3rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-green-deep);
}

/*
 * The four headed blocks below the picture. They are a lot of words — this
 * is the copy Korapay and Google Ads read — so they are set in columns at a
 * comfortable measure rather than one long ribbon across the page.
 */
.about__more {
  display: grid;
  gap: 22px;
  padding-bottom: 96px;
}

/* The two-column block above already pads its own bottom; without this the
   gap between the picture and these blocks is nearly a screen deep. */
.about__inner:has(+ .about__more) { padding-bottom: 48px; }

.about__block {
  padding: 22px 22px 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .72);
}

.about__block-title {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--c-heading);
}

.about__block-text {
  margin: 0 0 10px;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--c-ink);
}
.about__block-text:last-child { margin-bottom: 0; }

.about__features {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 132, 42, .09);
  border-radius: var(--r-md);
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -26px rgba(11, 59, 38, .5);
}

.feature .disc { margin-top: 2px; }
.feature .disc:not(.disc--gold):not(.disc--solid) {
  background: transparent;
  border: 1.6px solid var(--c-green);
}

.feature__title {
  font-size: .96rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.feature__text { font-size: .88rem; line-height: 1.6; }

.about__dots {
  width: 90px; height: 110px;
  right: 8px; top: 40px;
  opacity: .55;
}

.about__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 56px;
}

/* ============================================================== SERVICES */

.services {
  position: relative;
  background: var(--c-surface);
  overflow: hidden;
}

.services .section__inner { padding-bottom: 108px; }

/* Lifted above the decorative dot grid, which the opaque cards would show */
.services__viewport { position: relative; z-index: 1; margin-top: 34px; }

/* Mobile: the cards ride a snapping, auto-advancing track */
.services__list {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 70%;
  gap: 12px;
  padding: 4px 2px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.services__list::-webkit-scrollbar { display: none; }

/* Every screen: icon stacked above the copy, cards sitting side by side */
.service {
  position: relative;
  scroll-snap-align: start;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  gap: 12px;
  padding: 24px 18px 26px;
  background: var(--c-surface-soft);
  border: 1px solid rgba(0, 132, 42, .09);
  border-radius: var(--r-lg);
}

.service__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 62%, rgba(31,163,71,.14), transparent 68%),
    var(--c-surface);
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}

.service:hover .service__icon { transform: translateY(-4px) scale(1.04); }

.service__icon img {
  width: 116%;
  max-width: none;
  height: auto;
}

.service__title {
  font-size: 1.04rem;
  font-weight: 700;
}

.service__text {
  font-size: .9rem;
  line-height: 1.62;
  max-width: min(26ch, 100%);
}

.services__dotnav { justify-content: center; margin-top: 16px; }

.services__dots {
  width: 84px; height: 130px;
  right: 6px; top: 46%;
  opacity: .45;
}

.services__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 64px;
}

/* =============================================================== HOW PAY */

.pay {
  position: relative;
  background: var(--grad-forest);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
}

.pay .section__inner { padding-bottom: 104px; }

.pay__inner {
  position: relative;
  display: grid;
  gap: 34px;
}

.pay__media { display: grid; place-items: center; }
.pay__media img { width: min(100%, 460px); height: auto; }

.pay__body { display: grid; gap: 30px; }

.pay__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.pay__title {
  color: #fff;
  font-size: clamp(1.55rem, 6.6vw, 2.6rem);
}

.pay__steps {
  display: grid;
  gap: 4px;
  counter-reset: step;
}

/* Mobile: numbered vertical timeline */
.step {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  grid-template-areas:
    "icon no"
    "icon title"
    "icon text";
  align-items: start;
  column-gap: 16px;
  padding-bottom: 26px;
}

.step::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 68px;
  bottom: 4px;
  border-left: 2px dashed rgba(190, 226, 120, .38);
}

.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }

.step__icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  /* Neutral, not green: each icon now brings its own colour and a green disc
     behind a blue or violet object muddied both. */
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 70%);
}

.step__icon img { width: 130%; max-width: none; height: auto; }

/* The drawn step art (home_step_svg()). It fills the disc and is allowed to
   break out of it, so the raised parts read as standing above the circle. */
.step__icon .ht--step {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.step__glyph {
  width: 30px;
  height: 30px;
  color: #fff;
}

.step__no {
  grid-area: no;
  font-size: .88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .85);
  letter-spacing: .04em;
}

.step__no--gold { color: var(--c-gold); }

.step__title {
  grid-area: title;
  margin: 4px 0 5px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
}

.step__text {
  grid-area: text;
  font-size: .89rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, .72);
  max-width: 30ch;
}

.pay__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 56px;
}

/* ========================================================== TESTIMONIALS */

.testimonials {
  position: relative;
  background: var(--c-surface-tint);
  overflow: hidden;
}

.testimonials__dots {
  width: 90px; height: 200px;
  left: 6px; top: 90px;
  opacity: .5;
}

.testimonials__decor { display: none; }

.testimonials__viewport { margin-top: 34px; }

.testimonials__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 14px;
  padding: 6px 4px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.testimonials__track::-webkit-scrollbar { display: none; }

.quote {
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 20px;
}

.quote__mark { display: block; width: 26px; height: 26px; color: var(--c-green); }

.quote__text {
  flex: 1 1 auto;
  font-size: .96rem;
  line-height: 1.68;
  color: var(--c-muted);
}

.quote__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line-soft);
}

.quote__author .avatars__item { margin-right: 0; }

.quote__name {
  font-size: .92rem;
  font-weight: 700;
  color: var(--c-heading);
}

.quote__place { font-size: .82rem; color: var(--c-muted-soft); }

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.nav-round {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: var(--c-chip);
  color: var(--c-green);
  transition: background-color .22s ease, transform .22s ease, color .22s ease;
}

.nav-round svg { width: 18px; height: 18px; }

.nav-round:hover { background: var(--c-green); color: #fff; transform: translateY(-2px); }
.nav-round[disabled] { opacity: .38; cursor: not-allowed; transform: none; }

/* Shared by every carousel on the page (testimonials, services) */
.reaction {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 30px -16px rgba(11, 59, 38, .45);
  font-size: 1.5rem;
  line-height: 1;
}

/* ======================================================== FAQ + CONTACT */

.connect { background: var(--c-surface-tint); }

/* minmax(0, …) columns, never bare auto/1fr: an auto column grows to its
   widest content (the newsletter's email field and button, a long FAQ
   question with large phone text), which pushed both the FAQ and the contact
   side past the right edge of a phone (owner, 2026-09-19). */
.connect__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 34px 70px -46px rgba(11, 59, 38, .55);
}

/* ------------------------------------------------------------------ FAQ */

.faq {
  position: relative;
  padding: 34px 22px 40px;
  background: var(--grad-forest);
  overflow: hidden;
}

.faq__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.faq__title {
  color: #fff;
  font-size: clamp(1.35rem, 5.8vw, 2.15rem);
}

.faq__art {
  position: absolute;
  left: -26px;
  bottom: -30px;
  width: 190px;
  opacity: .5;
  pointer-events: none;
}

.faq__list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.faq__item {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .06);
  transition: background-color .25s ease, border-color .25s ease;
}

.faq__item:hover { background: rgba(255, 255, 255, .1); }

.faq__item.is-open {
  background: rgba(255, 255, 255, .11);
  border-color: rgba(252, 180, 54, .4);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 15px 16px;
  background: none;
  border: 0;
  text-align: left;
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
}

.faq__sign {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  color: var(--c-gold);
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.faq__sign svg { width: 100%; height: 100%; }

.faq__item.is-open .faq__sign { transform: rotate(135deg); }

.faq__a { padding: 0 16px 16px; }
.faq__a p {
  font-size: .89rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .76);
}

.faq__a[hidden] { display: none; }

/* -------------------------------------------------------------- contact */

.connect__right {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  padding: 34px 22px 40px;
  background: var(--c-surface);
}

.contact { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

.contact__title { font-size: clamp(1.35rem, 5.8vw, 2.05rem); }
.contact__text  { line-height: 1.7; }

.contact__rows {
  display: grid;
  gap: 2px;
  width: 100%;
  margin-top: 8px;
}

.contact__rows li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--c-line-soft);
  font-size: .94rem;
  color: var(--c-heading);
}

.contact__rows li:last-child { border-bottom: 0; }
.contact__rows a { transition: color .2s ease; }
.contact__rows a:hover { color: var(--c-green); }

/* ----------------------------------------------------------- newsletter */

.newsletter { position: relative; }

.newsletter__plane {
  position: absolute;
  top: -14px; right: 0;
  width: 46px; height: 46px;
  color: var(--c-green-bright);
  transform: rotate(-16deg);
  animation: plane-drift 5.5s ease-in-out infinite;
}
.newsletter__plane svg { width: 100%; height: 100%; }

@keyframes plane-drift {
  0%, 100% { transform: rotate(-16deg) translate(0, 0); }
  50%      { transform: rotate(-12deg) translate(-6px, -8px); }
}

.newsletter__trail {
  position: absolute;
  top: 6px; right: 42px;
  width: 130px;
  color: rgba(31, 163, 71, .45);
}

.newsletter__title { font-size: clamp(1.1rem, 4.5vw, 1.5rem); }

.newsletter__text {
  margin-top: 10px;
  line-height: 1.7;
  max-width: 32ch;
}

.newsletter__form { margin-top: 18px; container-type: inline-size; }

/* The email box and the button share one pill while there is room for both.
   On a small phone, or with large phone text, there is not — the button
   pushed past the edge — so below 19rem of form (it scales with the text)
   they stack: the box on top, the button full width under it. */
@container (max-width: 19rem) {
  .newsletter__form .field {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 6px;
    border-radius: 22px;
  }

  .newsletter__form .field__input { padding: 12px 14px; }
  .newsletter__form .field .btn { width: 100%; justify-content: center; }
}

.newsletter__note {
  min-height: 20px;
  margin-top: 9px;
  padding-left: 4px;
  font-size: .82rem;
  color: var(--c-green);
}
.newsletter__note.is-error { color: #C4342B; }

.newsletter__proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  font-size: .9rem;
}

/* =========================================================================
   ≥ 640px
   ====================================================================== */

@media (min-width: 640px) {
  .about__features { grid-template-columns: repeat(2, 1fr); }

  .services__list { grid-auto-columns: 44%; gap: 14px; }

  .testimonials__track { grid-auto-columns: 60%; }

  .hero__actions .btn { flex: 0 0 auto; }
}

/* =========================================================================
   ≥ 900px — steps go two-up before the full desktop layout lands
   ====================================================================== */

@media (min-width: 900px) {
  /* Two across in the middle range; the fifth sits alone, so it spans. */
  .pay__steps { grid-template-columns: repeat(2, 1fr); gap: 8px 26px; }
  .step:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .step::before { display: none; }

  .services__list { grid-auto-columns: 32%; }
}

/* =========================================================================
   ≥ 1024px — the approved reference layout
   ====================================================================== */

@media (min-width: 1024px) {

  /* ---------------------------------------------------------- hero */
  .hero { padding-top: 54px; padding-bottom: 130px; }

  .hero__inner {
    grid-template-columns: 1fr 1.06fr;
    display: grid;
    align-items: center;
    gap: 40px;
  }

  .hero__copy {
    align-items: flex-start;
    text-align: left;
    gap: 22px;
  }

  .hero__title { font-size: 3.75rem; }
  .hero__lede  { font-size: 1.06rem; max-width: 42ch; }
  .hero__actions { width: auto; }

  .hero__ring {
    display: block;
    position: absolute;
    right: 6%;
    top: 34px;
    width: 430px; height: 430px;
    border: 1.5px solid rgba(0, 132, 42, .16);
    border-radius: 50%;
  }

  .hero__dots {
    width: 130px; height: 118px;
    right: 40px; top: 66px;
  }

  .hero__glow--gold { width: 460px; height: 460px; right: -80px; top: 120px; }
  .hero__glow--green { width: 420px; height: 420px; left: -180px; top: 0; }

  .hero__media img { width: 100%; }
  .hero__wave { height: 96px; }

  /* --------------------------------------------------------- about */
  .about__inner {
    grid-template-columns: 1fr 1.08fr;
    align-items: center;
    gap: 56px;
    padding-bottom: 132px;
  }

  .about__title { font-size: 2.4rem; }

  .about__more {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-bottom: 132px;
  }
  .about__inner:has(+ .about__more) { padding-bottom: 64px; }

  /* An odd number of blocks leaves the last one alone in its row, which reads
     as a gap rather than a column. Let it run the full width instead. */
  .about__block:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .about__features {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 14px;
  }

  .feature {
    flex-direction: column;
    gap: 10px;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .feature:hover { transform: none; box-shadow: none; }

  .about__dots { width: 120px; height: 140px; right: 20px; top: 30px; }
  .about__wave { height: 78px; }

  /* ------------------------------------------------------ services */
  .services .section__inner { padding-bottom: 150px; }

  .services__viewport { margin-top: 52px; }

  /* Wide enough for all five at once — the track becomes a plain grid */
  .services__list {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    padding: 0;
    overflow: visible;
  }

  .service {
    gap: 14px;
    padding: 0;
    background: none;
    border: 0;
  }

  .services__dotnav { display: none; }

  /* Dashed arc + arrowhead linking each icon to the next */
  .service::after {
    content: "";
    position: absolute;
    top: 34px;
    left: 62%;
    width: 76%;
    height: 34px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' preserveAspectRatio='none'%3E%3Cpath d='M2 24 C24 2 74 2 95 17' fill='none' stroke='%2300842A' stroke-width='2.2' stroke-dasharray='4 7' stroke-linecap='round' opacity='.45'/%3E%3Cpath d='M87 9 l9 8 -11 4' fill='none' stroke='%2300842A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' opacity='.55'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    pointer-events: none;
  }

  .service:last-child::after { display: none; }

  .service__icon {
    width: 132px;
    height: 132px;
    border-radius: 30px;
    background: none;
  }

  .service__icon img { width: 148%; }

  .service__text { max-width: 20ch; }

  .services__dots { width: 110px; height: 160px; right: 14px; top: 40%; }
  .services__wave { height: 92px; }

  /* ------------------------------------------------------- how pay */
  .pay .section__inner { padding-bottom: 150px; }

  /*
   * Two columns on the first row — picture, then the heading — and the steps
   * spanning both underneath. They used to sit in the right column, which
   * gave five of them about half a screen between them.
   */
  .pay__inner {
    grid-template-columns: .82fr 1.55fr;
    align-items: center;
    gap: 30px 44px;
  }

  .pay__media img { width: 100%; }

  .pay__body { grid-template-columns: 1fr; align-items: start; }

  .pay__steps { grid-column: 1 / -1; }

  .pay__head { padding-top: 30px; }
  .pay__title { font-size: 2.3rem; }

  /*
   * Five steps, not four. The count was hardcoded, so the fifth wrapped onto
   * its own row and left a hole beside it.
   */
  .pay__steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 0 14px;
  }

  /* The two-column breakpoint makes an odd last step span the row so it does
     not sit alone. With five columns there is a column for it, and leaving
     that rule on pushed it onto a second row a whole screen wide. */
  .step:last-child:nth-child(odd) { grid-column: auto; }

  /*
   * Each step is its own grid, so its icon, number, title and text found their
   * own heights and the four columns came out ragged — "Explore More" wraps to
   * two lines and shoved everything above it up. The rows are declared on the
   * parent and inherited, so the five line up across the whole row whatever
   * length the words are.
   */
  .pay__steps { grid-template-rows: auto auto auto auto; }

  .step {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "no"
      "title"
      "text";
    padding-bottom: 0;
  }

  /* Safari before 16 has no subgrid: fall back to fixed rows, which lines the
     four bands up just as well as long as nothing runs past three lines. */
  @supports not (grid-template-rows: subgrid) {
    .step { grid-row: auto; grid-template-rows: 94px 24px 52px auto; }
  }

  .step::before { display: none; }

  /* Dashed connector between step icons */
  .step::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 74%;
    width: 62%;
    height: 26px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' preserveAspectRatio='none'%3E%3Cpath d='M2 22 C24 2 74 2 95 15' fill='none' stroke='%23BEE278' stroke-width='2.4' stroke-dasharray='4 7' stroke-linecap='round' opacity='.7'/%3E%3Cpath d='M87 7 l9 8 -11 4' fill='none' stroke='%23BEE278' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' opacity='.85'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    pointer-events: none;
  }

  .step:last-child::after { display: none; }

  .step__icon { width: 72px; height: 72px; margin-bottom: 16px; }
  .step__no { font-size: .92rem; }
  .step__title { font-size: 1rem; }
  /* No ch cap at five across: the column is already narrow, and a cap on top
     of it produced the one-word-per-line text in the first render. */
  .step__text { max-width: none; font-size: .86rem; }

  .pay__wave { height: 78px; }

  /* -------------------------------------------------- testimonials */
  .testimonials__decor {
    display: block;
    position: absolute;
    left: 0;
    top: 88px;
    width: 200px;
    height: 220px;
  }

  .reaction--love {
    width: 62px; height: 62px;
    left: 30px; top: 0;
    animation: float-soft 6s ease-in-out infinite;
  }

  .reaction--heart {
    width: 46px; height: 46px;
    left: 108px; top: 66px;
    background: var(--c-green);
    color: #fff;
  }
  .reaction--heart svg { width: 22px; height: 22px; }

  .reaction--thumb {
    width: 54px; height: 54px;
    left: 44px; top: 108px;
    animation: float-soft 7.5s ease-in-out infinite;
  }

  .testimonials__track {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    overflow: visible;
    padding: 0;
    margin-top: 46px;
  }

  .quote { padding: 26px 24px; }

  .testimonials__controls { justify-content: flex-start; margin-top: 30px; }
  .testimonials__dotnav { display: none; }

  .testimonials__dots { width: 110px; height: 240px; left: 10px; top: 120px; }

  /* -------------------------------------------------- faq + contact */
  .connect__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); }

  .faq { padding: 46px 44px 52px; }
  .faq__title { font-size: 2.05rem; }

  .faq__art { width: 240px; left: -34px; bottom: -34px; opacity: .95; }

  .faq__list {
    margin-top: 0;
    margin-left: 0;
  }

  /* Heading sits left of the question list on wide screens */
  .faq {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 26px;
  }

  .connect__right {
    grid-template-columns: .84fr 1fr;
    gap: 40px;
    padding: 46px 44px 52px;
  }

  .contact { border-right: 1px solid var(--c-line); padding-right: 36px; }
  .contact__title { font-size: 2.05rem; }

  .newsletter__plane { width: 60px; height: 60px; top: -22px; right: 6px; }
  .newsletter__trail { width: 168px; right: 56px; top: 10px; }
}

/* =========================================================================
   ≥ 1200px — final polish to match the reference proportions
   ====================================================================== */

@media (min-width: 1200px) {
  .hero__title { font-size: 4.05rem; }
  .service__icon { width: 150px; height: 150px; }
}

/* =========================================================================
   Marketplace block (owner, 2026-09-23).

   The one homepage section that leaves the page. It carries no prices —
   marketplace.php does not show them either — so this is a doorway, not a
   shop front.
   ====================================================================== */

.home-mkt { background: var(--c-surface-soft); }

.home-mkt__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .home-mkt__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}

.home-mkt__text {
  margin: 14px 0 26px;
  max-width: 48ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--c-muted);
}

.home-mkt__tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-mkt__tile {
  padding: 22px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  transition: transform .2s ease, border-color .2s ease;
}
.home-mkt__tile:hover { transform: translateY(-3px); border-color: var(--c-green); }

/*
 * The drawn tiles (includes/home-tiles.php) are objects, not glyphs, so they
 * are given room and no coloured plate behind them — a 3D box inside a tinted
 * square reads as a sticker. They carry their own shadow instead.
 */
.home-mkt__tile-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
}
.home-mkt__tile-icon .ht {
  width: 100%;
  height: 100%;
  overflow: visible;
  transition: transform .25s cubic-bezier(.2, .8, .3, 1);
}
.home-mkt__tile:hover .home-mkt__tile-icon .ht { transform: translateY(-4px) scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .home-mkt__tile-icon .ht { transition: none; }
  .home-mkt__tile:hover .home-mkt__tile-icon .ht { transform: none; }
}

.home-mkt__tile-title {
  margin: 14px 0 5px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-heading);
}

.home-mkt__tile-text { margin: 0; font-size: .87rem; line-height: 1.55; color: var(--c-muted); }
