/* ==========================================================================
   Afrijula website — plain CSS.
   Brand: orange #F99B1C · red #D82027 · green #9CCB3B (see afrijula-app/docs/brand).
   ========================================================================== */

:root {
  --orange: #f99b1c;
  --orange-deep: #e07e0c;
  --orange-ink: #b9620c;
  --orange-50: #fef6e9;
  --orange-100: #fde9c7;
  --red: #d82027;
  --red-50: #fdecec;
  --green: #9ccb3b;
  --green-deep: #5e8722;
  --green-50: #f5fae8;

  --cream: #fbf9f6;
  --sand: #f5f0e9;
  --line: #ebe3d8;
  --ink: #141414;
  --ink-2: #3d3d3d;
  --muted: #6f6f6f;
  --white: #fff;

  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Base ───────────────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 0.45em;
}

h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 800;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange-deep);
  margin-bottom: 1em;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--green));
}

.eyebrow-light {
  color: var(--orange);
}

.section-head {
  margin-bottom: 48px;
  max-width: 760px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font: 600 1rem/1 var(--body);
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background-color 0.2s,
    box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn svg {
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-lg {
  min-height: 60px;
  padding: 0 30px;
  font-size: 1.05rem;
}

.btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.95rem;
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.22);
}

.btn-dark:hover {
  background: #000;
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--cream);
}

.btn-orange {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(249, 155, 28, 0.35);
}

.btn-orange:hover {
  background: #ffa01c;
}

/* ── Navigation — a floating glass pill ──────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  pointer-events: none; /* only the pill (and the open menu) take clicks */
}

.nav-shell {
  width: 100%;
}

.nav-bar {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 72px;
  /* Contents line up with the page's 1200px container, whatever the screen. */
  padding: 0 max(20px, calc((100vw - var(--container)) / 2 + 20px));
  background: rgba(251, 249, 246, 0.78);
  backdrop-filter: saturate(1.8) blur(18px);
  -webkit-backdrop-filter: saturate(1.8) blur(18px);
  border-bottom: 1px solid transparent;
  overflow: hidden;
  transition:
    height 0.4s var(--ease),
    background-color 0.4s,
    box-shadow 0.4s var(--ease);
}

/* Tightens once you scroll, and gains an edge. */
.site-header.scrolled .nav-bar {
  height: 62px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(60, 30, 0, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
}

.brand img {
  height: 46px;
  width: auto;
  transition: transform 0.3s var(--ease);
}

.site-header.scrolled .brand img {
  height: 40px;
}

.brand:hover img {
  transform: rotate(-2deg) scale(1.03);
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.nav-links a {
  position: relative;
  z-index: 1;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink-2);
  transition: color 0.25s;
}

.nav-links a:hover,
.nav-links a.is-active,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

/* The highlight that glides between links (positioned by js/main.js). */
.nav-indicator {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 0;
  height: 38px;
  width: 0;
  border-radius: 999px;
  background: rgba(249, 155, 28, 0.2);
  box-shadow: inset 0 0 0 1px rgba(224, 126, 12, 0.28);
  opacity: 0;
  transform: translate(var(--x, 0), -50%);
  transition:
    transform 0.45s var(--ease),
    width 0.45s var(--ease),
    opacity 0.3s;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-wa {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #1faa52;
  background: #e8f8ee;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s;
}

.nav-wa:hover {
  transform: scale(1.08) rotate(-6deg);
  background: #d7f3e1;
}

/* "Get the app" with a slow orange → red → green border that turns. */
.btn-cta {
  position: relative;
  display: inline-grid;
  place-items: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--white);
  transition: transform 0.3s var(--ease);
}

.btn-cta::before {
  content: "";
  position: absolute;
  inset: -60%;
  z-index: -2;
  background: conic-gradient(
    var(--orange),
    var(--red),
    var(--green),
    var(--orange)
  );
  animation: spin 5s linear infinite;
}

.btn-cta::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 999px;
  background: var(--ink);
  transition: background-color 0.3s;
}

.btn-cta:hover {
  transform: translateY(-1px);
}

.btn-cta:hover::after {
  background: #000;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

/* Reading progress, along the bottom edge of the pill. */
.nav-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--green));
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease);
}

.nav-toggle span:first-child {
  top: 19px;
}

.nav-toggle span:last-child {
  top: 26px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Phone menu — full screen, headline-sized links. */
.menu {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 28px 36px;
  background:
    radial-gradient(
      70% 50% at 100% 0%,
      rgba(249, 155, 28, 0.25),
      transparent 60%
    ),
    radial-gradient(
      60% 40% at 0% 100%,
      rgba(156, 203, 59, 0.2),
      transparent 60%
    ),
    var(--cream);
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s;
}

.menu.open {
  opacity: 1;
  visibility: visible;
}

.menu-links {
  display: flex;
  flex-direction: column;
}

.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.menu-links a span {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange-deep);
  letter-spacing: 0.05em;
}

.menu.open .menu-links a {
  opacity: 1;
  transform: none;
}

.menu.open .menu-links a:nth-child(1) {
  transition-delay: 0.08s;
}
.menu.open .menu-links a:nth-child(2) {
  transition-delay: 0.14s;
}
.menu.open .menu-links a:nth-child(3) {
  transition-delay: 0.2s;
}
.menu.open .menu-links a:nth-child(4) {
  transition-delay: 0.26s;
}

.menu-foot {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.menu-mail {
  font-weight: 600;
  color: var(--muted);
}

.btn-wa {
  background: #25d366;
  color: #0b3d1e;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}

.btn-wa:hover {
  background: #2fe073;
}

/* ── Floating WhatsApp button ───────────────────────────────────────────── */

.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45);
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s;
  animation: fabIn 0.6s 1.6s var(--ease) both;
}

.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: fabPulse 2.6s 2.4s infinite;
}

.wa-fab:hover {
  transform: scale(1.08);
}

.wa-fab-tip {
  position: absolute;
  right: 74px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition:
    opacity 0.25s,
    transform 0.25s var(--ease);
  pointer-events: none;
}

.wa-fab:hover .wa-fab-tip {
  opacity: 1;
  transform: none;
}

.menu-open .wa-fab {
  opacity: 0;
  pointer-events: none;
}

@keyframes fabIn {
  from {
    opacity: 0;
    transform: scale(0.4) translateY(20px);
  }
}

@keyframes fabPulse {
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero-wrap {
  padding: 92px 0 40px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 24px;
  min-height: 640px;
  padding: 72px 64px 0;
  border-radius: 40px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 85% 15%, #ffbd5c 0%, transparent 55%),
    linear-gradient(145deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: var(--ink);
}

.hero-burst {
  position: absolute;
  z-index: -1;
  width: 760px;
  right: -140px;
  top: -120px;
  opacity: 0.9;
  animation: drift 22s ease-in-out infinite alternate;
}

.b-red {
  fill: var(--red);
  opacity: 0.55;
}

.b-green {
  fill: var(--green);
  opacity: 0.6;
}

.b-cream {
  fill: #fff4e0;
  opacity: 0.35;
}

@keyframes drift {
  to {
    transform: rotate(10deg) translate(-20px, 20px);
  }
}

.hero-copy {
  padding-bottom: 72px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 6px 18px rgba(120, 60, 0, 0.12);
  transition:
    box-shadow 0.3s var(--ease),
    background-color 0.3s;
}

.pill:hover {
  background: var(--white);
  box-shadow: 0 10px 26px rgba(120, 60, 0, 0.2);
}

/* "New" — green, the brand's go colour, with a soft pulse to catch the eye once. */
.pill-new {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 0 0 0 rgba(156, 203, 59, 0.7);
  animation: ping 2.4s 1.5s infinite;
}

.pill-arrow {
  transition: transform 0.3s var(--ease);
}

.pill:hover .pill-arrow {
  transform: translateX(3px);
}

@keyframes ping {
  70% {
    box-shadow: 0 0 0 10px rgba(156, 203, 59, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(156, 203, 59, 0);
  }
}

.hero-title {
  font-size: clamp(2.9rem, 6.6vw, 5.6rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 26px 0 24px;
  color: var(--ink);
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(105%);
  transition:
    transform 0.9s var(--ease),
    opacity 0.9s var(--ease);
}

.is-loaded .hero-word {
  opacity: 1;
  transform: none;
}

/* The punchline gets a hand-drawn green underline that draws itself. */
.hero-mark {
  position: relative;
  color: var(--white);
}

.hero-mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.14em;
  border-radius: 0.1em;
  background: var(--green);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s 1.1s var(--ease);
}

.is-loaded .hero-mark::after {
  transform: scaleX(1);
}

.hero-lead {
  max-width: 32em;
  font-size: 1.15rem;
  color: #2a1a05;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  align-self: end;
  height: 100%;
  min-height: 560px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  perspective: 1200px;
}

.hero-glow {
  position: absolute;
  bottom: 40px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.55),
    transparent 65%
  );
  filter: blur(10px);
}

.hero-phone {
  position: relative;
  width: min(340px, 82%);
  margin-bottom: -150px;
  filter: drop-shadow(0 40px 60px rgba(90, 40, 0, 0.35));
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)) translateY(40px);
  opacity: 0;
  transition:
    transform 0.6s var(--ease),
    opacity 1s var(--ease);
  will-change: transform;
}

.is-loaded .hero-phone {
  opacity: 1;
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)) translateY(0);
}

/* Floating cards */
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--white);
  box-shadow:
    0 18px 40px rgba(90, 40, 0, 0.22),
    0 2px 6px rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
  line-height: 1.25;
  opacity: 0;
  translate: 0 20px;
  transition:
    opacity 0.7s var(--ease),
    translate 0.7s var(--ease);
}

.is-loaded .float-card {
  opacity: 1;
  translate: 0 0;
}

.float-card strong {
  display: block;
  font-weight: 700;
}

.float-card small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.fc-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: none;
}

.fc-green {
  background: var(--green);
  color: var(--white);
}

.fc-pickup {
  top: 22%;
  left: -6%;
  transition-delay: 1s;
  animation: bob 6s ease-in-out 1.8s infinite;
}

.fc-chat {
  top: 46%;
  right: -4%;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 12px;
  transition-delay: 1.25s;
  animation: bob 7s ease-in-out 2.2s infinite reverse;
}

.fc-bubble {
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.82rem;
  max-width: 190px;
}

.fc-them {
  background: var(--sand);
  border-bottom-left-radius: 4px;
}

.fc-me {
  align-self: flex-end;
  background: var(--orange);
  color: var(--white);
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

.fc-paid {
  bottom: 18%;
  left: 2%;
  transition-delay: 1.5s;
  animation: bob 6.5s ease-in-out 2.6s infinite;
}

.fc-paid img {
  border-radius: 10px;
}

@keyframes bob {
  50% {
    transform: translateY(-10px);
  }
}

/* ── Ticker ─────────────────────────────────────────────────────────────── */

.ticker {
  overflow: hidden;
  padding: 26px 0;
  background: var(--ink);
  color: var(--white);
  transform: rotate(-1.2deg);
  margin: 24px -10px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll 38s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticker li {
  display: flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
  padding: 0 28px;
}

/* A brand dot between items, cycling orange → red → green. */
.ticker li::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-left: 56px;
  background: var(--orange);
}

.ticker li:nth-child(3n + 2)::after {
  background: var(--red);
}

.ticker li:nth-child(3n)::after {
  background: var(--green);
}

@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ── Statement ──────────────────────────────────────────────────────────── */

.statement {
  padding: 140px 0 110px;
}

.statement-text {
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  font-weight: 700;
  line-height: 1.08;
  max-width: 18em;
}

.hl {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}

.hl::before {
  content: "";
  position: absolute;
  inset: 0.05em -0.12em 0.02em;
  border-radius: 0.2em;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}

.reveal.visible .hl::before {
  transform: scaleX(1);
}

.reveal.visible .hl:nth-child(2)::before {
  transition-delay: 0.25s;
}

.reveal.visible .hl:nth-child(3)::before {
  transition-delay: 0.5s;
}

.hl-orange::before {
  background: var(--orange-100);
}

.hl-green::before {
  background: #e3f1c4;
}

.hl-red::before {
  background: #f9d3d4;
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}

.duo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 32px;
  border-radius: 32px;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.duo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(20, 20, 20, 0.12);
}

.duo-card h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  max-width: 12em;
  margin-top: 40px;
}

.duo-shop {
  background: var(--green);
  color: var(--ink);
}

.duo-sell {
  background: var(--ink);
  color: var(--white);
}

.duo-tag {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
}

.duo-sell .duo-tag {
  background: var(--orange);
}

.duo-link {
  font-weight: 600;
}

.duo-link span {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.duo-card:hover .duo-link span {
  transform: translateX(6px);
}

/* ── Shoppers bento ─────────────────────────────────────────────────────── */

.shoppers {
  padding: 60px 0 120px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border-radius: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(20, 20, 20, 0.08);
}

.tile-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
}

.tile-wide .tile-copy {
  flex: 1;
}

.tile-wide .mock {
  flex: 1.1;
}

.tile-copy p {
  color: var(--muted);
  margin: 0;
}

.mock {
  border-radius: 22px;
  background: var(--cream);
  padding: 18px;
}

/* search mock */
.m-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--white);
  border: 2px solid var(--orange);
  box-shadow: 0 0 0 5px var(--orange-50);
  color: var(--muted);
  font-weight: 500;
}

.m-search svg {
  color: var(--orange-deep);
  flex: none;
}

.m-typed {
  color: var(--ink);
  white-space: nowrap;
}

.m-caret {
  width: 2px;
  height: 1.2em;
  background: var(--orange-deep);
  margin-left: -6px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.m-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
}

.chip-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* pay mock */
.mock-pay {
  display: grid;
  gap: 8px;
}

.pay-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--white);
  border: 1.5px solid var(--line);
  font-weight: 600;
  font-size: 0.92rem;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.pay-opt img {
  border-radius: 50%;
}

.pay-opt .radio {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  transition: border 0.3s;
}

.pay-on {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-50);
}

.pay-on .radio {
  border: 6px solid var(--orange);
}

.cash {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
}

/* chat mock */
.mock-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.9rem;
}

.b-me {
  align-self: flex-end;
  background: var(--orange);
  color: var(--white);
  font-weight: 500;
  border-bottom-right-radius: 5px;
}

.b-them {
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}

.b-typing {
  display: flex;
  gap: 4px;
  padding: 14px;
  width: max-content;
}

.b-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bdb3a5;
  animation: typing 1.2s infinite;
}

.b-typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.b-typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

/* timeline mock */
.mock-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  padding: 24px 18px;
}

.mock-timeline::before,
.mock-timeline::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 30px;
  height: 3px;
  border-radius: 3px;
}

.mock-timeline::before {
  right: 30px;
  background: var(--line);
}

/* The progress bar fills when the tile scrolls in. */
.mock-timeline::after {
  width: 0;
  background: var(--green);
  transition: width 1.4s 0.3s var(--ease);
}

.reveal.visible .mock-timeline::after {
  width: calc(66% - 20px);
}

.t-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.t-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--line);
}

.t-step.done .t-dot {
  background: var(--green);
  border-color: var(--green);
}

.t-step.now .t-dot {
  background: var(--orange);
  border-color: var(--orange-100);
  box-shadow: 0 0 0 0 rgba(249, 155, 28, 0.6);
  animation: pingOrange 1.8s infinite;
}

@keyframes pingOrange {
  70% {
    box-shadow: 0 0 0 12px rgba(249, 155, 28, 0);
  }
}

.t-step strong {
  display: block;
  font-size: 0.85rem;
  line-height: 1.2;
}

.t-step small {
  color: var(--muted);
  font-size: 0.75rem;
}

/* ── Sellers ────────────────────────────────────────────────────────────── */

.sellers {
  position: relative;
  padding: 130px 0;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.sellers::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  right: -200px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(249, 155, 28, 0.35),
    transparent 60%
  );
}

.sellers::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  left: -260px;
  bottom: -300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(156, 203, 59, 0.22),
    transparent 60%
  );
}

.sellers-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sellers-copy > p {
  color: #c9c3bb;
  font-size: 1.1rem;
  max-width: 30em;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.feature-list li {
  display: flex;
  gap: 14px;
}

.feature-list strong {
  display: block;
  font-weight: 600;
}

.feature-list small {
  color: #a8a29a;
  font-size: 0.88rem;
}

.fl-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
}

.fl-orange {
  background: rgba(249, 155, 28, 0.16);
  color: var(--orange);
}

.fl-green {
  background: rgba(156, 203, 59, 0.16);
  color: var(--green);
}

.fl-red {
  background: rgba(216, 32, 39, 0.18);
  color: #ff5a60;
}

/* dashboard mock */
.dash {
  padding: 28px;
  border-radius: 32px;
  background: linear-gradient(160deg, #222 0%, #1a1a1a 100%);
  border: 1px solid #2e2e2e;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(-2deg);
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.dash-top small {
  color: #a8a29a;
}

.dash-amount {
  display: block;
  font-family: var(--display);
  font-size: 2.6rem;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.dash-up {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(156, 203, 59, 0.18);
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
  margin: 26px 0;
}

.bars span {
  flex: 1;
  height: 0;
  border-radius: 10px 10px 4px 4px;
  background: #3a3a3a;
  transition: height 1s var(--ease);
}

.bars span:nth-child(2) {
  transition-delay: 0.08s;
}
.bars span:nth-child(3) {
  transition-delay: 0.16s;
}
.bars span:nth-child(4) {
  transition-delay: 0.24s;
}
.bars span:nth-child(5) {
  transition-delay: 0.32s;
}
.bars span:nth-child(6) {
  transition-delay: 0.4s;
}
.bars span:nth-child(7) {
  transition-delay: 0.48s;
}

.reveal.visible .bars span {
  height: var(--h);
}

.bars .bar-now {
  background: linear-gradient(180deg, #ffbd5c, var(--orange));
}

.dash-rows {
  display: grid;
  gap: 8px;
}

.dash-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #262626;
  font-size: 0.9rem;
}

.dash-row em {
  margin-left: auto;
  font-style: normal;
  font-weight: 600;
  color: var(--green);
  font-size: 0.82rem;
}

.dash-row em.low {
  color: #ff5a60;
}

.dr-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dr-green {
  background: var(--green);
}
.dr-orange {
  background: var(--orange);
}
.dr-red {
  background: var(--red);
}

/* ── How it works ───────────────────────────────────────────────────────── */

.how {
  padding: 130px 0 110px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px 28px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  transition:
    transform 0.4s var(--ease),
    background-color 0.4s;
}

.step:hover {
  transform: translateY(-6px);
  background: var(--orange-50);
}

.step-num {
  display: block;
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 26px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step:nth-child(even) .step-num {
  background-image: linear-gradient(135deg, var(--green), var(--orange));
}

.step p {
  color: var(--muted);
  margin: 0;
}

/* ── Download CTA ───────────────────────────────────────────────────────── */

.download {
  padding: 20px 0 110px;
}

.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 90px 24px;
  border-radius: 40px;
  background:
    radial-gradient(80% 120% at 10% 0%, #ffbd5c 0%, transparent 50%),
    linear-gradient(145deg, var(--orange) 0%, var(--orange-deep) 100%);
}

.cta-burst {
  position: absolute;
  z-index: -1;
  width: 640px;
  left: -180px;
  bottom: -260px;
  transform: rotate(160deg);
}

.cta-mark {
  margin: 0 auto 26px;
  padding: 12px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(120, 60, 0, 0.25);
  animation: bob 5s ease-in-out infinite;
}

.cta h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--ink);
}

.cta p {
  font-size: 1.1rem;
  color: #2a1a05;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 12px 24px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  text-align: left;
  line-height: 1.15;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.store:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20, 20, 20, 0.3);
}

.store small {
  display: block;
  font-size: 0.72rem;
  opacity: 0.75;
}

.store strong {
  font-size: 1.15rem;
  font-weight: 600;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  padding: 60px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand img {
  height: 44px;
  width: auto;
}

.footer-brand p {
  color: var(--muted);
  margin-top: 14px;
}

.footer-cols {
  display: flex;
  gap: 72px;
}

.footer-cols h4 {
  font-family: var(--body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-cols a {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-cols a:hover {
  color: var(--orange-deep);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.tricolour {
  display: flex;
  gap: 6px;
}

.tricolour i {
  width: 28px;
  height: 6px;
  border-radius: 6px;
  background: var(--red);
}

.tricolour i:nth-child(2) {
  background: var(--orange);
}

.tricolour i:nth-child(3) {
  background: var(--green);
}

/* ── Scroll reveal (js/main.js adds .visible) ───────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

[data-delay="1"] {
  --d: 1;
}
[data-delay="2"] {
  --d: 2;
}
[data-delay="3"] {
  --d: 3;
}
[data-delay="4"] {
  --d: 4;
}
[data-delay="5"] {
  --d: 5;
}

/* ── Tablet ─────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 56px 36px 0;
    text-align: left;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    min-height: 520px;
  }

  .sellers-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Phone ──────────────────────────────────────────────────────────────── */

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .br-desk {
    display: none;
  }

  .nav-links,
  .btn-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-bar {
    height: 64px;
    padding: 0 12px 0 18px;
    justify-content: space-between;
  }

  .site-header.scrolled .nav-bar {
    height: 58px;
  }

  .brand img {
    height: 42px;
  }

  .site-header.scrolled .brand img {
    height: 38px;
  }

  .menu-open .nav-bar {
    background: rgba(255, 255, 255, 0.95);
  }

  .hero-wrap {
    padding-top: 80px;
  }

  .wa-fab {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  .wa-fab-tip {
    display: none;
  }

  .hero {
    padding: 40px 22px 0;
    border-radius: 32px;
    min-height: 0;
  }

  /* One line on a phone: a wrapped pill reads as a paragraph, not a badge. */
  .pill {
    gap: 8px;
    padding: 5px 12px 5px 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    max-width: 100%;
  }

  .pill-new {
    padding: 3px 8px;
    font-size: 0.64rem;
  }

  /* Softer on phones, where the shapes sit behind the paragraph. */
  .hero-burst {
    width: 520px;
    right: -240px;
    top: -60px;
    opacity: 0.45;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-phone {
    width: 250px;
    margin-bottom: -120px;
  }

  .fc-pickup {
    left: -2%;
    top: 12%;
  }

  .fc-chat {
    right: -2%;
    top: 40%;
  }

  .fc-paid {
    left: 0;
    bottom: 14%;
  }

  .float-card {
    font-size: 0.8rem;
    padding: 10px 12px;
  }

  .fc-bubble {
    max-width: 150px;
  }

  .statement {
    padding: 96px 0 72px;
  }

  .duo {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .tile-wide {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .tile {
    padding: 24px;
    border-radius: 28px;
  }

  .mock-timeline {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }

  .mock-timeline::before,
  .mock-timeline::after {
    display: none;
  }

  .sellers {
    padding: 96px 0;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .dash {
    transform: none;
  }

  .how {
    padding: 96px 0 80px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 64px 20px;
    border-radius: 32px;
  }

  .footer-cols {
    gap: 48px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.c-hero {
  padding: 150px 0 56px;
}

.c-title {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}

/* "real person." sits on a hand-drawn orange swipe. */
.c-mark {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}

.c-mark::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.06em;
  height: 0.36em;
  border-radius: 0.12em;
  background: var(--orange);
  z-index: -1;
  transform: scaleX(0) skewX(-8deg);
  transform-origin: left;
  transition: transform 0.9s 0.35s var(--ease);
}

.reveal.visible .c-mark::after {
  transform: scaleX(1) skewX(-8deg);
}

.c-lead {
  max-width: 34em;
  font-size: 1.2rem;
  color: var(--ink-2);
}

.c-reach {
  padding: 0 0 110px;
}

.c-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* The big WhatsApp card */
.c-wa {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  min-height: 460px;
  padding: 32px;
  border-radius: 36px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(
      90% 70% at 100% 0%,
      rgba(37, 211, 102, 0.45),
      transparent 60%
    ),
    radial-gradient(
      70% 60% at 0% 100%,
      rgba(249, 155, 28, 0.35),
      transparent 60%
    ),
    #0f1a12;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.c-wa:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(15, 26, 18, 0.35);
}

.c-wa-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.c-wa-logo {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.c-wa-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  font-weight: 600;
}

.c-wa-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: fabPulse 2s infinite;
}

.c-wa-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-bubble {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: 20px;
  font-size: 0.98rem;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

.reveal.visible .c-bubble {
  opacity: 1;
  transform: none;
}

.c-bubble-me {
  align-self: flex-end;
  background: #25d366;
  color: #0b3d1e;
  font-weight: 600;
  border-bottom-right-radius: 6px;
  transition-delay: 0.3s;
}

.c-bubble-them {
  background: rgba(255, 255, 255, 0.12);
  border-bottom-left-radius: 6px;
  transition-delay: 0.9s;
}

.c-wa-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.c-wa-foot h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 6px;
}

.c-wa-number {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

.c-wa-go {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  transition: transform 0.4s var(--ease);
}

.c-wa:hover .c-wa-go {
  transform: rotate(-45deg) scale(1.05);
}

/* Topic rows + email */
.c-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c-side-label {
  margin: 4px 0 4px 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.c-topic,
.c-mail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s;
}

.c-topic:hover,
.c-mail:hover {
  transform: translateX(6px);
  border-color: var(--orange-100);
  box-shadow: 0 16px 36px rgba(60, 30, 0, 0.08);
}

.c-mail {
  margin-top: auto;
  background: var(--sand);
}

.c-topic-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.t-orange {
  background: var(--orange-50);
  color: var(--orange-deep);
}

.t-green {
  background: var(--green-50);
  color: var(--green-deep);
}

.t-red {
  background: var(--red-50);
  color: var(--red);
}

.t-ink {
  background: var(--ink);
  color: var(--white);
}

.c-topic-text {
  flex: 1;
  min-width: 0;
}

.c-topic-text strong {
  display: block;
  font-size: 1.05rem;
}

.c-topic-text small {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.c-topic-arrow {
  color: var(--muted);
  transition:
    transform 0.35s var(--ease),
    color 0.35s;
}

.c-topic:hover .c-topic-arrow,
.c-mail:hover .c-topic-arrow {
  transform: translateX(4px);
  color: var(--orange-deep);
}

/* FAQ */
.faq {
  padding: 40px 0 120px;
}

.faq-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 110px;
}

.faq-head p:not(.eyebrow) {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.faq-item[open] {
  border-color: var(--orange-100);
  box-shadow: 0 14px 34px rgba(60, 30, 0, 0.06);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
}

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

/* A plus that turns into a minus. */
.faq-plus {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange-50);
  transition: background-color 0.3s;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange-deep);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease);
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-plus {
  background: var(--orange);
}

.faq-item[open] .faq-plus::before,
.faq-item[open] .faq-plus::after {
  background: var(--white);
}

.faq-item[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-2);
  animation: faqIn 0.4s var(--ease);
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* Footer WhatsApp line */
.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-weight: 600;
  color: #1faa52;
}

.footer-wa:hover {
  color: #128c3e;
}

@media (max-width: 900px) {
  .c-grid,
  .faq-inner {
    grid-template-columns: 1fr;
  }

  .faq-inner {
    gap: 28px;
  }

  .faq-head {
    position: static;
  }
}

@media (max-width: 760px) {
  .c-hero {
    padding: 120px 0 40px;
  }

  .c-wa {
    min-height: 400px;
    padding: 24px;
    border-radius: 30px;
  }

  .c-topic,
  .c-mail {
    padding: 16px;
  }

  .faq {
    padding: 24px 0 96px;
  }
}

/* ==========================================================================
   404
   ========================================================================== */

.nf {
  padding: 130px 0 100px;
}

.nf-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 72px 40px;
  border-radius: 40px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
}

/* A giant 404 in the brand gradient, sitting behind the words. */
.nf-code {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -54%);
  z-index: -1;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(9rem, 30vw, 22rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--red), var(--orange), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.14;
}

.nf-card h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.nf-lead {
  max-width: 28em;
  margin: 0 auto 32px;
  color: var(--ink-2);
  font-size: 1.1rem;
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 760px) {
  .nf {
    padding: 100px 0 72px;
  }

  .nf-card {
    padding: 56px 20px;
    border-radius: 32px;
  }

  .nf-actions .btn {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   Legal pages (privacy, terms, refunds)
   ========================================================================== */

.legal-hero {
  padding: 140px 0 48px;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(249, 155, 28, 0.16), transparent 60%),
    radial-gradient(50% 100% at 0% 100%, rgba(156, 203, 59, 0.12), transparent 60%);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

.legal-meta {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.legal-body {
  padding: 56px 0 72px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

/* Table of contents — follows you down the page on desktop. */
.legal-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 28px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
}

.legal-toc,
.legal-others {
  display: grid;
  gap: 2px;
}

.legal-toc p,
.legal-others p {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.legal-toc a {
  position: relative;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--ink-2);
  transition:
    background-color 0.25s,
    color 0.25s;
}

.legal-toc a:hover {
  background: var(--sand);
  color: var(--ink);
}

/* The section you're reading (set by js/main.js). */
.legal-toc a.is-current {
  background: rgba(249, 155, 28, 0.16);
  color: var(--ink);
  font-weight: 600;
}

.legal-toc a.is-current::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: var(--orange);
}

.legal-others a {
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange-deep);
}

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

/* The text itself — sized for reading, not scanning. */
.legal-content {
  max-width: 72ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-2);
}

.legal-content h2 {
  scroll-margin-top: 96px;
  margin: 2.4em 0 0.7em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-content h3 {
  scroll-margin-top: 96px;
  margin: 1.8em 0 0.5em;
  font-family: var(--body);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.legal-content p {
  margin: 0 0 1.1em;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}

.legal-content li {
  margin-bottom: 0.45em;
}

.legal-content li::marker {
  color: var(--orange-deep);
}

.legal-content strong {
  color: var(--ink);
}

.legal-content a {
  color: var(--orange-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  word-break: break-word;
}

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

/* "Questions about this policy?" */
.legal-help {
  padding: 0 0 110px;
}

.legal-help-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: 32px;
  background: var(--ink);
  color: var(--white);
}

.legal-help-card h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 6px;
}

.legal-help-card p {
  margin: 0;
  color: #c9c3bb;
}

.legal-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 960px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* On smaller screens the contents sit above the text, folded into a card. */
  .legal-aside {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 20px;
    border-radius: 22px;
    background: var(--white);
    border: 1px solid var(--line);
  }

  .legal-toc a.is-current::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .legal-hero {
    padding: 112px 0 36px;
  }

  .legal-body {
    padding: 32px 0 56px;
  }

  .legal-help-card {
    padding: 26px;
    border-radius: 28px;
  }

  .legal-help-actions .btn {
    flex: 1 1 100%;
  }
}

/* ── Reduced motion ─────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .hero-word,
  .hero-phone,
  .float-card,
  .c-bubble,
  .menu-links a {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
  }

  .hero-mark::after,
  .hl::before,
  .c-mark::after {
    transform: none !important;
  }

  .bars span {
    height: var(--h) !important;
  }
}
