/* ===== Tokens (Spoffi — 1 page website — Bleu) ===== */
:root {
  --orange: #f5a623;
  --green: #7ee35f;
  --charcoal: #0f4a53;
  --cream: #f7f4ee;      /* hero / three-steps / join section backgrounds */
  --soft-white: #fffdfa;  /* two-sides / steps-card / side-card icon backgrounds */
  --ink: #0f4a53;         /* dark line-icon stroke color used throughout */
  --teal-support: #265b63;
  --border-soft: #d9d6d0; /* header pill border */
  --border-card: #e4e0da; /* steps-card / why-card borders */
  --divider: #ded9d3;
  --text-muted: #5c7478;
  --font-head: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--soft-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { line-height: 1.55; color: var(--text-muted); margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.08;
  margin: 0;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.text-orange { color: var(--orange); }
.text-green { color: var(--green); }

.icon { width: 20px; height: 20px; flex: none; }
.icon-arrow-sm { width: 16px; height: 16px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0 24px;
  height: 58px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: var(--charcoal); }
.btn-outline { background: #eeefed; color: var(--charcoal); border-color: var(--charcoal); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark .icon { color: var(--green); }
.btn-white { background: #fff; color: var(--charcoal); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 0.85rem; }

/* ===== Header ===== */
.site-header { padding-top: 22px; position: sticky; top: 0; z-index: 50; }
.header-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 27px;
  background: var(--soft-white);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
}
.logo { flex: none; }
.logo img { height: 56px; width: auto; }
.main-nav {
  display: flex;
  gap: 40px;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-left: auto;
  margin-right: 32px;
}
.main-nav a:hover { color: var(--orange); }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none;                 /* shown under 780px */
  flex: none;
  width: 44px; height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--charcoal);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding-bottom: 72px;
  margin-top: -94px;
  padding-top: 94px;
}
.hero-decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-decor .dot {
  position: absolute;
  top: 263px;
  left: 12.639%;   /* 182/1440 */
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
}
/* Ring geometry taken from the source PDF (1440pt design width). Sizes are
   centreline diameter + stroke, since box-sizing is border-box; offsets are
   the centreline bbox shifted by half the stroke. */
.hero-decor .ring { position: absolute; border-radius: 50%; }
.hero-decor .ring-left {
  width: 608px; height: 608px;      /* 604 centreline + 4 stroke */
  top: 235px; left: -408px;
  border: 4px solid rgba(245, 166, 35, 0.22);
}
.hero-decor .ring-right {
  width: 722px; height: 722px;      /* 650 centreline + 72 stroke */
  top: 464px; right: -241px;
  border: 72px solid rgba(126, 227, 95, 0.22);
}
.hero-inner { position: relative; text-align: center; max-width: 900px; padding-top: 146px; }
.hero h1 {
  font-size: 112px;
  line-height: 0.964;        /* 108/112 line spacing */
  letter-spacing: -0.0464em; /* PDF tracks tighter than Google-Fonts Poppins */
}
.hero-sub {
  max-width: 700px;
  margin: 20px auto 78px;
  font-size: 20px;
  line-height: 1.35;   /* 27/20 */
}
.hero-actions {
  display: flex;
  gap: 27px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-actions .btn { height: 62px; }

/* ===== Page hero (vendors.html / shoppers.html) ===== */
.page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 76px 0 88px;
}
.page-hero--orange { background: var(--orange); }
.page-hero--green { background: var(--green); }
.page-hero-ring {
  position: absolute;
  top: -160px;
  right: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.page-hero .wrap { position: relative; max-width: 640px; }
.page-hero .eyebrow { display: block; margin-bottom: 18px; }
.page-hero--orange .eyebrow { color: var(--charcoal); opacity: 0.7; }
.page-hero--green .eyebrow { color: #fff; opacity: 0.85; }
.page-hero h1 { font-size: 56px; line-height: 1.05; margin-bottom: 22px; }
.page-hero--green h1 { color: #fff; }
.page-hero .lede { max-width: 500px; margin: 0 auto 34px; font-size: 1.05rem; }
.page-hero--orange .lede { color: rgba(15, 74, 83, 0.72); }
.page-hero--green .lede { color: rgba(255, 255, 255, 0.85); }

/* ===== Benefits grid (vendors.html / shoppers.html) ===== */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: var(--soft-white);
  border: 1px solid var(--border-card);
  border-radius: 28px;
  padding: 36px;
}
.benefit-card .why-icon { margin-bottom: 24px; }
.benefit-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.benefit-card p { margin: 0; font-size: 0.92rem; }

/* ===== Sections ===== */
.section { padding: 90px 0; background: var(--soft-white); }
.section--cream { background: var(--cream); }
.section-title { font-size: 46px; }
.section-title.center { text-align: center; margin-bottom: 56px; }
.eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}
.eyebrow--orange { color: var(--orange); }

/* ===== Two sides ===== */
.side-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.side-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 42px;
  display: flex;
  flex-direction: column;
}
.side-card--orange { background: var(--charcoal); }
.side-card--green { background: var(--green); }
.side-card-ring {
  position: absolute;
  right: -150px;
  bottom: -127px;
  width: 318px;                     /* 264 centreline + 54 stroke */
  height: 318px;
  border-radius: 50%;
  border: 54px solid rgba(255, 255, 255, 0.145);
  pointer-events: none;
}
.side-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 68px;
}
.side-card .eyebrow { color: rgba(0, 0, 0, 0.7); }
.side-card--orange .eyebrow { color: var(--green); }
.side-card--green .eyebrow { color: rgba(15, 74, 83, 0.7); }
.side-card-icon { width: 44px; height: 44px; flex: none; }
.side-card--orange .side-card-icon { color: var(--orange); }
.side-card--green .side-card-icon { color: var(--ink); }
.side-card h3 { font-size: 60px; line-height: 1.05; margin-bottom: 30px; }
.side-card--orange h3 { color: #fff; }
.side-card--green h3 { color: var(--charcoal); }
.checklist { margin-bottom: 44px; position: relative; z-index: 1; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  font-weight: 600;
}
.side-card--orange .checklist li { color: #fff; border-bottom-color: rgba(255, 253, 250, 0.18); }
.side-card--green .checklist li { color: var(--charcoal); border-bottom-color: rgba(15, 74, 83, 0.18); }
.checklist li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: currentColor;
}
.side-card--orange .checklist li::before { background: #fff; }
.side-card--green .checklist li::before { background: var(--charcoal); }
.side-card .btn { position: relative; z-index: 1; align-self: flex-start; height: 58px; }

/* ===== Three steps ===== */
.steps-card {
  background: var(--soft-white);
  border: 1px solid var(--border-card);
  border-radius: 32px;
  padding: 50px 56px;
  display: grid;
  /* equal 1fr step columns + centered content means each icon sits at its
     column's true center, so the auto arrow columns land exactly between
     icon centers automatically. */
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 20px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step-label,
.step h3,
.step p {
  max-width: 230px;
}
.step .step-label {
  font-size: 0.8125rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 0 0 36px;
}
.step-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}
.step-icon .icon { width: 30px; height: 30px; }
.step-icon--orange { background: var(--orange); color: var(--ink); }
.step-icon--dark { background: var(--charcoal); color: var(--green); }
.step-icon--outline { background: none; border: 1.5px solid var(--green); color: var(--ink); }
.step h3 { font-family: var(--font-head); font-size: 25px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 0.9rem; }
.step-arrow {
  align-self: start;
  justify-self: center;
  margin-top: 67px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-arrow .icon { width: 16px; height: 16px; }

/* ===== Why it matters ===== */
.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.why-copy h2 { margin-bottom: 20px; font-size: 42px; }
.why-copy p { max-width: 300px; font-size: 1rem; }
.why-card {
  background: var(--cream);
  border: 1px solid var(--border-card);
  border-radius: 32px;
  padding: 12px 40px;
}
.why-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--divider);
}
.why-row:last-child { border-bottom: none; }
.why-icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon .icon { width: 24px; height: 24px; }
.why-icon--orange { background: var(--orange); color: #fff; }
.why-icon--dark { background: var(--charcoal); color: var(--green); }
.why-icon--outline { background: none; border: 1.5px solid var(--green); color: var(--ink); }
.why-row h4 {
  font-size: 1.3rem;
  flex: 0 0 200px;
}
.why-row p { margin: 0; font-size: 0.92rem; flex: 1; }

/* ===== Join ===== */
.join-card {
  background: var(--charcoal);
  border-radius: 40px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.join-copy h2 { color: #fff; font-size: 46px; line-height: 1; }
.join-copy .eyebrow { margin-bottom: 20px; }
.join-panel {
  background: var(--teal-support);
  border-radius: 32px;
  padding: 36px;
}
.role-toggle {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 24px;
  height: 60px;
}
.role-btn {
  flex: 1;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}
.role-btn.is-active { background: var(--orange); color: var(--charcoal); }
.join-fields {
  display: flex;
  flex-direction: column;   /* email, then optional phone, then the button */
  gap: 10px;
}
.join-fields input {
  width: 100%;
  height: 58px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;   /* below 16px iOS zooms the page on focus */
}
.join-fields input::placeholder { color: #8a8a85; }
.join-fields .btn { width: 100%; justify-content: center; }
.join-status {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--green);
  min-height: 1.2em;
}
.join-status.is-error { color: #ffb4a2; }
/* honeypot: hidden from people, catches bots that fill every field */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.join-fields .btn[disabled] { opacity: 0.65; cursor: default; }

/* ===== Footer ===== */
.site-footer { background: var(--charcoal); color: rgba(255, 255, 255, 0.7); padding-top: 64px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer-logo { height: 96px; width: auto; }
.footer-brand p {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.footer-cols { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; font-weight: 700; }
.footer-col a { padding: 13px 0; }   /* 18px text + padding = 44px tap target */
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px;
  font-size: 0.78rem;
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.5); }

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1060px) {
  /* keep the header pill from overflowing before the nav collapses */
  .main-nav { gap: 22px; margin-right: 16px; }
}
@media (max-width: 960px) {
  .hero h1 { font-size: 54px; }
  .hero-inner { padding-top: 96px; }
  .hero-sub { font-size: 18px; margin: 20px auto 44px; }
  .page-hero h1 { font-size: 42px; }
  .section { padding: 72px 0; }
  .section-title { font-size: 38px; }
  .section-title.center { margin-bottom: 44px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .side-cards { grid-template-columns: 1fr; }
  .side-card h3 { font-size: 44px; }
  .side-card-head { margin-bottom: 44px; }
  .steps-card { grid-template-columns: 1fr; padding: 40px; gap: 36px; }
  .step-arrow { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-copy h2 { font-size: 36px; }
  .why-copy p { max-width: 520px; }
  .why-row { flex-wrap: wrap; }
  .why-row h4 { flex-basis: 100%; }
  .join-card { grid-template-columns: 1fr; padding: 32px; }
  .join-copy h2 { font-size: 38px; }
}
@media (max-width: 780px) {
  /* nav links collide with the logo/CTA below ~780px, so collapse them
     into a toggleable dropdown instead of hiding them outright */
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    z-index: 60;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px;
    background: var(--cream);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
  }
  .main-nav a:hover { background: rgba(0, 0, 0, 0.05); color: var(--charcoal); }
  .nav-cta-mobile {
    display: block;
    margin-top: 4px;
    text-align: center;
    background: var(--orange);
    color: var(--charcoal);
  }
  .nav-cta-mobile:hover { background: var(--orange); }
}
@media (max-width: 640px) {
  .header-pill { padding: 0 12px 0 16px; height: 64px; }
  .logo img { height: 44px; }
  .hero { padding-bottom: 56px; }
  .hero-inner { padding-top: 56px; }
  .hero-decor .dot { display: none; }  /* collides with the copy at this width */
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 0.95rem; margin: 20px auto 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .page-hero { padding: 56px 0 64px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero .btn { width: 100%; justify-content: center; }
  .section { padding: 56px 0; }
  .section-title { font-size: 30px; }
  .section-title.center { margin-bottom: 32px; }
  .side-card { padding: 28px; border-radius: 24px; }
  .side-card h3 { font-size: 32px; margin-bottom: 22px; }
  .side-card-head { margin-bottom: 32px; }
  .side-card-icon { width: 34px; height: 34px; }
  .checklist { margin-bottom: 32px; }
  .checklist li { margin-bottom: 16px; font-size: 0.9rem; }
  .side-card .btn { align-self: stretch; justify-content: center; }
  .steps-card { padding: 32px 24px; border-radius: 24px; }
  .step .step-label { margin-bottom: 22px; }
  .step-icon { margin-bottom: 22px; }
  .benefit-card { padding: 28px; }
  .why-copy h2 { font-size: 30px; }
  .why-card { padding: 8px 22px; border-radius: 24px; }
  .why-row { gap: 18px; padding: 22px 0; }
  .join-card { padding: 28px 22px; border-radius: 28px; }
  .join-copy h2 { font-size: 30px; }
  .join-panel { padding: 22px; border-radius: 24px; }
  .join-fields input { flex: 0 0 auto; width: 100%; }
  .eyebrow { font-size: 0.75rem; }
  .join-fields .btn { width: 100%; justify-content: center; }
  .footer-logo { height: 72px; }
  .footer-cols { gap: 32px; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  /* logo + CTA + toggle stop fitting the pill, so the CTA moves into the menu */
  .header-pill { gap: 10px; padding: 0 10px 0 14px; }
  .header-pill > .btn { display: none; }
}
