/* Local Engager — design system
   Palette: deep forest (trust) + mint (payout) on warm sand paper. */

:root {
  --ink: #0B1A14;
  --ink-2: #33463E;
  --ink-3: #6B7F76;

  --forest: #123B2E;
  --forest-700: #0C2A20;
  --forest-300: #2F6E58;

  --mint: #5CE1A5;
  --mint-soft: #D7F7E8;

  --sand: #F6F2EA;
  --sand-2: #EFE9DD;
  --paper: #FFFFFF;

  --line: #E2DBCC;
  --line-soft: #EDE7DA;

  --danger: #B3261E;
  --danger-soft: #FCE9E7;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 26px;

  --shadow-s: 0 1px 2px rgba(11, 26, 20, .06), 0 2px 8px rgba(11, 26, 20, .04);
  --shadow-m: 0 2px 6px rgba(11, 26, 20, .06), 0 14px 34px rgba(11, 26, 20, .09);
  --shadow-l: 0 4px 10px rgba(11, 26, 20, .07), 0 30px 70px rgba(11, 26, 20, .14);

  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --body: "Public Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --maxw: 1120px;
  --gut: clamp(20px, 5vw, 40px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

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

img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}

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

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--forest); color: #fff; padding: 12px 18px; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--forest-300);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------------------------------------------------------------- header */

.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 242, 234, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.masthead.is-stuck { border-bottom-color: var(--line); }

.masthead__in {
  display: flex; align-items: center; gap: 16px;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand__mark {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  background: var(--forest); color: var(--mint);
  border-radius: 9px;
}
.brand__mark svg { width: 17px; height: 17px; }
.brand__name { font-family: var(--display); font-size: 19px; letter-spacing: -.02em; }

.masthead__spacer { flex: 1; }

.payout-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px 7px 9px;
  background: var(--mint-soft);
  border: 1px solid #B4EBD3;
  border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--forest-700);
  white-space: nowrap;
}
.payout-pill b { font-family: var(--display); font-size: 15px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: #12B981; flex: none;
  box-shadow: 0 0 0 0 rgba(18, 185, 129, .55);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(18, 185, 129, .5); }
  70%  { box-shadow: 0 0 0 9px rgba(18, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 185, 129, 0); }
}
@media (max-width: 640px) { .payout-pill { display: none; } }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--body); font-size: 16px; font-weight: 650;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary {
  background: var(--forest); color: #fff;
  box-shadow: var(--shadow-m);
}
.btn--primary:hover { background: var(--forest-700); transform: translateY(-1px); box-shadow: var(--shadow-l); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; color: var(--forest-700); border-color: var(--line);
}
.btn--ghost:hover { background: var(--sand-2); border-color: #D3C9B4; }
.btn--mint {
  background: var(--mint); color: var(--forest-700);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}
.btn--mint:hover { background: #7CEBB8; transform: translateY(-1px); }
.btn--mint:active { transform: translateY(0); }
.btn--sm { padding: 10px 17px; font-size: 15px; }
.btn--lg { padding: 18px 32px; font-size: 18px; font-weight: 700; }
.btn--lg svg { width: 19px; height: 19px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 84px) 0 clamp(40px, 6vw, 72px); }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 620px; z-index: 0;
  background:
    radial-gradient(46% 52% at 18% 34%, rgba(92, 225, 165, .30), transparent 65%),
    radial-gradient(40% 46% at 82% 12%, rgba(18, 59, 46, .12), transparent 68%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(36px, 5vw, 60px);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--forest-300);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

.hero h1 { font-size: clamp(36px, 4.9vw, 56px); text-wrap: pretty; }
.hero h1 .hl {
  background: linear-gradient(transparent 62%, var(--mint) 62%, var(--mint) 94%, transparent 94%);
  padding-inline: 2px;
}
.hero__lede { margin-top: 22px; font-size: clamp(17px, 1.9vw, 20px); color: var(--ink-2); max-width: 52ch; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__trust {
  margin-top: 26px; display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; color: var(--ink-3);
}
.hero__trust svg { width: 18px; height: 18px; color: var(--forest-300); flex: none; }

/* payout card visual */

.paycard {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  padding: 26px;
  transform: rotate(-1.4deg);
}
.paycard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.paycard__label { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  background: var(--mint-soft); color: #0A6B4A;
  font-size: 12.5px; font-weight: 700;
}
.paycard__amount {
  font-family: var(--display); font-size: clamp(56px, 8vw, 76px); line-height: 1;
  letter-spacing: -.04em; margin: 16px 0 4px;
}
.paycard__amount span { font-size: .46em; color: var(--ink-3); letter-spacing: 0; }
.paycard__sub { color: var(--ink-3); font-size: 15px; }

.paycard__rows { margin-top: 22px; border-top: 1px dashed var(--line); padding-top: 18px; display: grid; gap: 13px; }
.payrow { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.payrow__icon {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  display: grid; place-items: center; background: var(--sand); color: var(--forest);
}
.payrow__icon svg { width: 17px; height: 17px; }
.payrow b { font-weight: 650; }
.payrow small { display: block; color: var(--ink-3); font-size: 13.5px; }

.paycard__foot {
  margin-top: 20px; display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--ink-3);
}
.logo-chip {
  display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 8px;
  font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: -.01em;
  border: 1px solid var(--line); background: var(--sand);
}
.logo-chip--venmo { color: #008CFF; }
.logo-chip--zelle { color: #6D1ED4; }

/* ---------------------------------------------------------------- stats */

.stats { padding-bottom: clamp(30px, 5vw, 46px); }
.stats__grid {
  display: grid; gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 780px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--paper); padding: 22px 20px; }
.stat svg { width: 20px; height: 20px; color: var(--forest-300); margin-bottom: 12px; }
.stat__n { font-family: var(--display); font-size: 26px; letter-spacing: -.03em; }
.stat__l { font-size: 14px; color: var(--ink-3); margin-top: 2px; }

/* ---------------------------------------------------------------- sections */

.section { padding: clamp(52px, 7.5vw, 96px) 0; }
.section--paper { background: var(--paper); border-block: 1px solid var(--line-soft); }
.section--ink { background: var(--forest); color: #EAF3EF; }
.section--ink .kicker { color: var(--mint); }
.section--ink .lede { color: #B4CBC1; }

.head { max-width: 62ch; margin-bottom: clamp(30px, 4vw, 48px); }
.head--center { margin-inline: auto; text-align: center; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--forest-300); margin-bottom: 14px;
}
.head h2 { font-size: clamp(30px, 4.2vw, 44px); }
.lede { margin-top: 16px; font-size: 18px; color: var(--ink-2); }

/* steps */

.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; counter-increment: step;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-s);
  transition: transform .18s ease, box-shadow .22s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.step__n {
  font-family: var(--display); font-size: 14px; font-weight: 700;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--forest); color: var(--mint);
  margin-bottom: 18px;
}
.step__n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 16px; }

.section--ink .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
.section--ink .step p { color: #B4CBC1; }
.section--ink .step__n { background: var(--mint); color: var(--forest-700); }

/* requirements */

.reqs { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .reqs { grid-template-columns: 1fr; } }
.req {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px;
  background: var(--sand); border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.req__tick {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mint); color: var(--forest-700);
}
.req__tick svg { width: 15px; height: 15px; }
.req h3 { font-size: 18px; margin-bottom: 6px; }
.req p { font-size: 15px; color: var(--ink-2); }

/* Informational, not a call to action — mint is reserved for the CTA panels. */
.note {
  margin-top: 26px; display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 22px; border-radius: var(--radius);
  background: var(--sand); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 16px;
}
.note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--forest-300); }

/* Repeated call to action at the end of a section. A tinted panel, so it reads
   as a step to take rather than a stray link. */
.cta-row {
  margin-top: clamp(34px, 4.5vw, 56px);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
  padding: clamp(28px, 3.6vw, 40px) clamp(20px, 3vw, 36px);
  background: var(--mint-soft);
  border: 1px solid #A9E8CD;
  border-radius: var(--radius-l);
}
.cta-row__note { font-size: 15.5px; font-weight: 600; color: var(--forest-300); }

/* On the dark band the mint panel would fight the mint button. */
.section--ink .cta-row {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .18);
}
.section--ink .cta-row__note { color: #A9CBBE; }

/* ---------------------------------------------------------------- guide */

.howlist { counter-reset: how; display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.howlist--2col { grid-template-columns: 1fr 1fr; gap: 18px 34px; }
@media (max-width: 700px) { .howlist--2col { grid-template-columns: 1fr; } }
.howlist li {
  counter-increment: how;
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
  font-size: 16px; color: var(--ink-2);
}
.howlist li::before {
  content: counter(how);
  font-family: var(--display); font-size: 13px; font-weight: 700;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sand-2); color: var(--forest-700);
}
.howlist b { color: var(--ink); font-weight: 650; }

.subhead { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.subhead svg { width: 19px; height: 19px; color: var(--forest-300); }

.shots {
  display: grid; gap: clamp(18px, 2.6vw, 30px);
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}
@media (max-width: 900px) {
  .shots { grid-auto-flow: column; grid-auto-columns: 58%; grid-template-columns: none;
           overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px;
           margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut);
           align-items: start; }
  .shot { scroll-snap-align: center; }
}
@media (max-width: 560px) { .shots { grid-auto-columns: 76%; } }

.shot { display: grid; grid-template-rows: 1fr auto; gap: 14px; }
.phone {
  align-self: end;
  position: relative; border-radius: 26px; padding: 8px;
  background: linear-gradient(160deg, #223029, #0B1A14);
  box-shadow: var(--shadow-m);
}
.phone img { border-radius: 19px; width: 100%; height: auto; background: #fff; }
.shot--wide .phone { border-radius: 16px; padding: 7px; }
.shot--wide .phone img { border-radius: 10px; }
.shot__cap { font-size: 15px; color: var(--ink-2); display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; line-height: 1.5; }
.shot__cap i {
  font-style: normal; font-family: var(--display); font-size: 12.5px; font-weight: 700;
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--forest); color: var(--mint); margin-top: 1px;
}

.deskbox {
  margin-top: clamp(38px, 5vw, 60px);
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
}
.deskbox .subhead { margin-bottom: 22px; }

/* ---------------------------------------------------------------- form */

.apply { background: var(--sand-2); }
.apply__grid { display: grid; gap: clamp(30px, 4vw, 56px); grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
@media (max-width: 940px) { .apply__grid { grid-template-columns: 1fr; } }

.apply__aside .head { margin-bottom: 26px; }
.aside-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.aside-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.aside-list svg { width: 19px; height: 19px; color: var(--forest-300); flex: none; margin-top: 3px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  padding: clamp(24px, 3.4vw, 38px);
}

.field { margin-bottom: 20px; }
.field label, .legend { display: block; font-size: 14.5px; font-weight: 650; margin-bottom: 8px; }
.field .req-star { color: var(--danger); }
.hint { font-size: 13.5px; color: var(--ink-3); font-weight: 400; margin-top: 7px; }

.input {
  width: 100%; font: inherit; font-size: 16.5px; color: var(--ink);
  padding: 14px 16px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.input::placeholder { color: #9AA9A2; }
.input:hover { border-color: #D3C9B4; }
.input:focus {
  outline: none; background: var(--paper);
  border-color: var(--forest-300);
  box-shadow: 0 0 0 4px rgba(47, 110, 88, .14);
}
.input[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-soft); }

.row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }

fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segmented input { position: absolute; opacity: 0; width: 0; height: 0; }
.segmented label {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin: 0; padding: 15px 12px;
  border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--sand); cursor: pointer;
  font-size: 16px; font-weight: 650;
  transition: all .15s ease;
}
.segmented label:hover { border-color: #D3C9B4; }
.segmented input:checked + label {
  background: var(--forest); color: #fff; border-color: var(--forest);
  box-shadow: var(--shadow-s);
}
.segmented input:focus-visible + label { outline: 3px solid var(--forest-300); outline-offset: 3px; }

.err { display: none; font-size: 13.5px; color: var(--danger); margin-top: 7px; font-weight: 600; }
.err.is-on { display: block; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); text-align: center; }

.formmsg {
  display: none; margin-bottom: 22px; padding: 16px 18px; border-radius: var(--radius-s);
  font-size: 15px; font-weight: 600;
  background: var(--danger-soft); color: var(--danger); border: 1px solid #F3C9C5;
}
.formmsg.is-on { display: block; }

.success { display: none; text-align: center; padding: 12px 0 8px; }
.success.is-on { display: block; }
.success__mark {
  width: 66px; height: 66px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mint); color: var(--forest-700);
}
.success__mark svg { width: 30px; height: 30px; }
.success h3 { font-size: 27px; margin-bottom: 12px; }
.success p { color: var(--ink-2); max-width: 42ch; margin-inline: auto; }

.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: spin .7s linear infinite; display: none;
}
.is-sending .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- footer */

.footer { background: var(--forest); color: #A9C3B8; padding: 44px 0; font-size: 14.5px; }
.footer__in { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.footer .brand__name { color: #fff; }
.footer .brand__mark { background: rgba(255,255,255,.1); }

/* ---------------------------------------------------------------- mobile bar */

.mobar {
  position: fixed; inset: auto 0 0 0; z-index: 45;
  display: none; align-items: center; gap: 14px;
  padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.mobar__t { flex: 1; font-size: 14px; line-height: 1.3; }
.mobar__t b { font-family: var(--display); font-size: 17px; display: block; }
@media (max-width: 760px) {
  .mobar { display: flex; }
  body { padding-bottom: 86px; }
  .mobar.is-hidden { display: none; }
}

/* ---------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
