/* LeLoop Public Website. Tokens come from /assets/tokens.css (generated from the design tokens); nothing here touches the Business Console.
   Design: canvas v76 Public-* artboards (desktop 1440, mobile 390) + the Public V1 and V75 Earn handoffs.
   Breakpoints (V75 handoff G): desktop >= 1024px, tablet 768-1023px, mobile < 768px. No tablet artboard exists for the public site:
   tablet follows the handoff's responsive rules and the desktop composition reflowing; the header switches to the menu below 1024px. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  /* The header is sticky: in-page anchors (#section links, "On this page") land below it, not under it. */
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top));
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font: 400 16px/1.5 var(--font-body);
  overflow-wrap: anywhere;
}
h1,
h2,
h3 {
  margin: 0;
  overflow-wrap: anywhere;
}
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 500;
}
h3 {
  font-family: var(--font-body);
  font-weight: 600;
}
p,
dl,
dd,
ul,
ol,
figure {
  margin: 0;
}
a {
  color: var(--brand-strong);
}
:focus {
  outline: none;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
/* Native :focus-visible decides keyboard vs pointer. A container that is only focused by script (the dialog panel, a skip target) never shows a ring; its controls do. */
[tabindex='-1']:focus-visible,
.sheet-panel:focus-visible {
  outline: none;
}
a,
button,
summary,
label,
select,
[role='button'] {
  -webkit-tap-highlight-color: transparent;
}
.i {
  flex: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  padding: 12px 16px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
  top: 8px;
}
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.is-unwired {
  cursor: default;
}
.mobile-text {
  display: none;
}
.eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow-brand {
  color: var(--brand-strong);
  font-size: 13px;
}
.eyebrow-mint {
  color: var(--on-dark-accent);
  font-size: 13px;
}
.text-link,
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--brand-strong);
}
.text-link:hover,
.inline-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
button.text-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
button.text-link:disabled {
  color: var(--disabled-text);
  cursor: default;
}

/* ---- buttons: Public / Primary + Secondary (pill; the Console keeps its 12px radius) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}
.btn-block {
  display: flex;
  width: 100%;
  white-space: normal;
}
.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
}
.btn-primary:hover {
  background: var(--brand-strong);
  color: var(--on-brand);
}
.btn-secondary {
  background: transparent;
  border-color: var(--border-subtle-control);
  color: var(--text-primary);
  padding: 0 24px;
}
.btn-secondary.btn-sm {
  padding: 0 18px;
}
.btn-secondary:hover {
  background: var(--surface-hover);
}
.btn-on-dark {
  background: var(--brand-soft);
  color: var(--text-primary);
  font-weight: 700;
}
.btn-on-dark:hover {
  background: var(--surface);
  color: var(--text-primary);
}
.btn:disabled,
.btn[aria-disabled='true'] {
  cursor: default;
  background: var(--disabled-bg);
  border-color: transparent;
  color: var(--disabled-text);
}
.btn-quiet-dark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--on-dark-secondary);
  text-decoration: none;
}
.btn-quiet-dark:disabled {
  cursor: default;
}

/* ---- header / menu */
:root {
  --header-bar-h: 80px; /* the bar; 64px below 768px */
  --header-h: calc(var(--header-bar-h) + 1px); /* the bar + its 1px bottom border */
}
/* Sticky at every width: opaque, with a 1px bottom border; it stays in the flow, so nothing shifts or hides under it.
   z-index 50 keeps today's stacking: page content below it, the mobile bar (50, later in the DOM), filters (60) and dialogs (70+) above. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding-top: env(safe-area-inset-top);
}
.bar {
  min-height: var(--header-bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.bar-end {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.auth-login {
  padding: 0 12px;
}
.auth-actions [hidden],
[data-auth-in][hidden],
[data-auth-out][hidden] {
  display: none !important;
}
.auth-login-sheet {
  justify-content: center;
  min-height: 44px;
  font-weight: 600;
}
.sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.bar-start {
  display: flex;
  align-items: center;
  gap: 48px;
}
.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.logo-img {
  display: block;
  width: 126px;
  height: 25.6px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.bar .nav-link,
.bar .btn {
  white-space: nowrap;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--text-strong);
  font-weight: 500;
  text-decoration: none;
}
.nav-link:hover {
  color: var(--text-primary);
}
.nav-link[aria-current='page'] {
  color: var(--text-primary);
  font-weight: 600;
}
.menu-btn,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text-primary);
}
.menu-btn {
  display: none;
  margin-right: -8px;
}
.icon-btn {
  margin-right: -10px;
  color: var(--text-strong);
}
.sheet {
  display: none;
}

/* ---- footer */
.site-footer {
  border-top: 1px solid var(--border);
}
.footer-main {
  padding-top: 56px;
  padding-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 64px;
}
.footer-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 320px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid var(--border-subtle-control);
  background: transparent;
  color: var(--text-secondary);
}
.social-link:hover {
  background: var(--surface-hover);
  border-color: var(--border-control);
  color: var(--text-primary);
}
.footer-brand .logo {
  min-height: 0;
}
.footer-brand .logo-img {
  width: 108px;
  height: 22px;
}
.footer-brand p {
  font-size: 15px;
  color: var(--text-secondary);
}
.footer-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  font-size: 15px;
}
.footer-group h2 {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-group ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-group .nav-link {
  min-height: 36px;
  padding: 0;
  color: var(--text-secondary);
  font-weight: 400;
}
.footer-group .nav-link:hover {
  color: var(--text-primary);
}
.copyright {
  padding-bottom: 40px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- shared page pieces */
.page {
  padding-bottom: 96px;
}
.page.home,
.page.hiw {
  padding-bottom: 0;
}
.back-row {
  padding-top: 24px;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin-left: -6px;
  padding: 0 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-secondary);
}
.back::before {
  content: '';
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-secondary);
  text-wrap: pretty;
}
.cta-note {
  font-size: 14px;
  color: var(--text-muted);
}
/* The Forward Loop motif: desktop only, four dark panels (A featured card, B For businesses, C ACTIVE hero, D How It Works closing panel). */
.motif {
  position: absolute;
  height: auto;
  color: var(--brand-soft);
  opacity: 0.22;
  pointer-events: none;
}
.featured .motif-a {
  width: 300px;
  right: -40px;
  bottom: -22px;
}
.for-business .motif-b {
  width: 400px;
  right: 200px;
  bottom: -30px;
}
.hero-active .motif-c {
  width: 400px;
  right: -30px;
  bottom: -30px;
}
.closing-band .motif-d {
  width: 400px;
  right: 280px;
  bottom: -30px;
}
@media (max-width: 1023px) {
  .motif {
    display: none;
  }
}

/* Business / initial badge: a deterministic tint per business (render.ts `tintOf`); mint inside dark panels */
.badge-i {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
}
.badge-i.md {
  width: 48px;
  height: 48px;
  font-size: 22px;
}
.badge-i.lg {
  width: 56px;
  height: 56px;
  font-size: 26px;
}
.badge-i.ink {
  background: var(--text-primary);
  color: var(--on-dark-primary);
}
.badge-i.clay {
  background: var(--avatar-clay-bg);
  color: var(--avatar-clay-text);
}
.badge-i.olive {
  background: var(--avatar-olive-bg);
  color: var(--avatar-olive-text);
}
.badge-i.amber {
  background: var(--avatar-amber-bg);
  color: var(--avatar-amber-text);
}
.badge-i.stone {
  background: var(--neutral-soft);
  color: var(--text-secondary);
}
@media (max-width: 767px) {
  .badge-i.stone {
    color: var(--text-strong);
  }
}
.badge-i.mint {
  background: var(--brand-soft);
  color: var(--text-primary);
}

/* ---- catalog */
.catalog-title {
  padding-top: 64px;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.catalog .lead {
  margin-top: 14px;
  font-size: 19px;
}
.catalog-form {
  margin-top: 36px;
}
.search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.field-search {
  flex: 1 1 420px;
  min-width: 0;
}
.search-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 18px;
  border: 1px solid var(--border-control);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
}
.search-pill:focus-within {
  border-color: var(--brand);
  box-shadow: var(--ring-field-focus);
}
.search-pill input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 17px;
  color: var(--text-primary);
}
.search-pill input::placeholder {
  color: var(--text-placeholder);
}
/* The submit is for keyboards / no-JS: visually hidden until focused (Enter in the field submits, the selects apply on change). */
.search-btn:not(:focus-visible) {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.filters-row {
  display: none;
}
.filters-btn,
.filters-close {
  min-height: 44px;
}
.filters-close {
  min-width: 44px;
  min-height: 44px;
}
.field input,
.field select {
  min-height: 52px;
}
/* Desktop and tablet: the two selects sit inline in the search row as pills ("Category  All ▾"). */
.filters {
  display: contents;
}
.filters .scrim,
.filters .grab,
.filters-head,
.filters-actions {
  display: none;
}
.filters-panel,
.filters-fields {
  display: contents;
}
.field-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 44px 0 18px;
  border: 1px solid var(--border-control);
  border-radius: 999px;
  background: var(--surface);
}
.field-select:focus-within {
  border-color: var(--brand);
  box-shadow: var(--ring-field-focus);
}
.field-select::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6B68' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.field-select label {
  color: var(--text-muted);
  font-size: 16px;
}
.field-select select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  max-width: 220px;
}
.field-select select:focus-visible {
  outline: none;
}
/* Keyboard focus (PD-177): the site's 2px focus ring around the search pill and the filter pills, whose controls draw no outline of their
   own. A select's ring follows the browser's native :focus-visible, as every control's does; the text field keeps just its field border
   on touch devices, where a tap counts as focus-visible, so a tap looks as it did. */
.field-select:has(select:focus-visible) {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
@media (hover: hover), (pointer: fine) {
  .search-pill:has(input:focus-visible) {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
  }
}
.count {
  margin-top: 32px;
  font-size: 15px;
  color: var(--text-muted);
}
.cards {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.cards > li {
  display: flex;
  min-width: 0;
}
/* Business / Card */
.card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s;
}
.card:hover {
  border-color: var(--border-control);
}
.card-head {
  padding: 24px 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.card-id {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
}
.card-meta {
  font-size: 15px;
  color: var(--text-secondary);
}
.card-rewards {
  flex: 1;
  margin: 0 24px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-strong);
}
.card-reward {
  font-size: 16px;
}
.card-reward .amt {
  font-weight: 700;
  color: var(--brand-strong);
}
.card-norewards {
  color: var(--text-strong);
}
.card-noreward {
  font-size: 14px;
  color: var(--text-muted);
}
.card-foot {
  margin: 0 24px;
  padding: 6px 0 12px;
  border-top: 1px solid var(--divider);
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 600;
  font-size: 15px;
  color: var(--brand-strong);
}
/* "Don't see the business?" (in every catalog state; the last grid cell on the last page) */
.dont-see {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 28px 24px 18px;
  border: 1px dashed var(--brand-dashed);
  border-radius: 16px;
}
.dont-see h2 {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
}
.dont-see p {
  color: var(--text-secondary);
}
.dont-see p:last-child {
  margin-top: 12px;
}
.dont-see .dont-see-link {
  min-height: 44px;
  padding: 0;
  border: 0;
  gap: 6px;
  background: none;
  font-size: 15px;
  color: var(--brand-strong);
}
.dont-see .dont-see-link .i {
  width: 16px;
  height: 16px;
}
.dont-see .dont-see-link:hover {
  background: none;
  text-decoration: underline;
}
.page > .dont-see {
  margin-top: 24px;
}
.no-results-row {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.no-results {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.no-results h2 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.no-results p {
  color: var(--text-secondary);
}
.no-results p:last-child {
  margin-top: 12px;
}
.no-results .btn {
  font-size: 16px;
}
.pager {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pager-status {
  color: var(--text-muted);
  font-size: 15px;
}

/* ---- business pages */
.biz-id {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.biz-id-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.biz-id-name {
  font-weight: 700;
  font-size: 22px;
}
/* V2: the name is the H1 on the active page; it keeps the name line's look (not the display heading style). */
h1.biz-id-name {
  font-family: var(--font-body);
  line-height: inherit;
}
.biz-id-meta {
  font-size: 16px;
  color: var(--text-secondary);
}
.hero {
  flex-shrink: 0;
  position: relative;
}
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
/* Business / Hero / Active (dark panel; never shrinks below its content) */
.hero-active {
  overflow: hidden;
  margin-top: 16px;
  padding: 56px 64px 48px;
  border-radius: 28px;
  background: var(--text-primary);
  color: var(--on-dark-primary);
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.hero-active .biz-id-meta,
.hero-active .cta-note {
  color: var(--on-dark-secondary);
}
.hero-active .hero-copy {
  gap: 12px;
  max-width: 720px;
}
.hero-active .hero-reward {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero-active .hero-reward .amt {
  color: var(--on-dark-accent);
}
.reward-2 {
  font-size: 22px;
  color: var(--on-dark-secondary);
}
.hero-active .hero-actions {
  margin-top: 22px;
}
/* Business / Hero / No Active Program (light) */
.hero-light {
  margin-top: 24px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero-light > .pb-chip {
  align-self: flex-start;
}
.hero-light .hero-copy {
  gap: 14px;
  max-width: 760px;
}
.hero-light h1 {
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.name-rtl {
  display: block;
  text-align: left;
}
.hero-light .hero-actions {
  margin-top: 18px;
}
.status-line {
  font-size: 15px;
  color: var(--text-muted);
}
.reward-before-steps {
  display: none;
}
.reward-after-steps {
  margin-top: 16px;
  max-width: 640px;
}
.layout {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px 80px;
}
.hero-light + .layout {
  margin-top: 56px;
}
.main-col {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.main-col > .section + .section {
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.section h2 {
  font-size: 28px;
  line-height: 1.15;
}
.about {
  margin-top: 12px;
  max-width: 640px;
  font-size: 18px;
  color: var(--text-strong);
}
.section-lead {
  margin-top: 10px;
  font-size: 17px;
  color: var(--text-secondary);
}
.checklist {
  list-style: none;
  padding: 0;
  margin-top: 18px;
}
.checklist li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--divider);
  font-size: 17px;
}
.checklist li:last-child {
  border-bottom: 1px solid var(--divider);
}
.checklist .i,
.trust .i,
.earn-trust .i {
  margin-top: 4px;
  color: var(--brand);
}
.reward-rows {
  margin-top: 18px;
}
.reward-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--divider);
}
.reward-row:last-child {
  border-bottom: 1px solid var(--divider);
}
.reward-row h3 {
  font-size: 18px;
}
.reward-row p {
  margin-top: 2px;
  color: var(--text-secondary);
}
.reward-amount {
  flex: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}
.note {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-muted);
}
.side-col {
  flex: 1 1 300px;
  max-width: 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.details {
  margin-top: 10px;
  border-top: 1px solid var(--border);
}
.details > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
}
.details dt {
  font-size: 15px;
  color: var(--text-secondary);
}
.details dd {
  font-size: 16px;
  font-weight: 600;
  text-align: right;
}
.details dd a {
  color: var(--text-primary);
  text-underline-offset: 3px;
}
.panel-mint {
  padding: 28px;
  border-radius: 20px;
  background: var(--brand-soft);
}
.panel-mint h2 {
  font-size: 22px;
  line-height: 1.2;
}
.panel-mint p {
  margin-top: 8px;
  color: var(--text-strong);
}
.panel-mint .text-link {
  margin-top: 6px;
}
.closing {
  display: none;
}
/* "What happens next" numbered steps (also Home / How it works on mobile) */
.steps {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}
.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--divider);
}
.steps li:last-child {
  border-bottom: 1px solid var(--divider);
}
.step-n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--brand);
}
.steps h3 {
  font-size: 18px;
}
.steps p {
  margin-top: 2px;
  color: var(--text-secondary);
}
/* Invite (Know the owner?) and Claim (For the business owner) boxes */
.invite-box {
  padding: 20px;
  border-radius: 16px;
  background: var(--surface-subtle);
}
.invite-box h2,
.owner-box h2 {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
}
.invite-box p:not(.eyebrow),
.owner-box p:not(.eyebrow) {
  margin-top: 6px;
  font-size: 15px;
  color: var(--text-secondary);
}
.invite-box .text-link {
  margin-top: 6px;
}
.box-note {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}
.owner-box {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.owner-box .btn {
  margin-top: 14px;
}

/* ---- home */
.home-hero {
  padding-top: 88px;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 72px;
}
.home-hero-copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.home-hero h1 {
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.home-hero h1 .accent {
  color: var(--brand);
}
.home-hero .lead {
  max-width: 520px;
}
.home-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.home-hero-visual {
  flex: 1 1 420px;
  min-width: 0;
  max-width: 500px;
}
/* Home hero panel: animated "How LeLoop works" (ported from the approved reference leloop-home-hero-animation.html; pure CSS, 15s loop). */
@property --lla-n {
  syntax: '<integer>';
  inherits: false;
  initial-value: 80;
}
.lla {
  position: relative;
  overflow: hidden;
  margin: 0;
  box-sizing: border-box;
  padding: 28px 28px 24px;
  border-radius: 28px;
  background: #142c29;
  color: #faf9f6;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lla-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
}
.lla-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9fdcc6;
}
.lla-pause {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
}
.lla-pp {
  width: 44px;
  height: 44px;
  margin: -6px -10px -6px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #9fdcc6;
  cursor: pointer;
}
.lla-pp:hover {
  background: rgba(159, 220, 198, 0.12);
}
.lla:has(.lla-pause:focus-visible) .lla-pp {
  outline: 2px solid #9fdcc6;
  outline-offset: -2px;
}
.lla-pp .i-play {
  display: none;
}
.lla:has(.lla-pause:checked) .lla-pp .i-play {
  display: block;
}
.lla:has(.lla-pause:checked) .lla-pp .i-pause {
  display: none;
}
.lla:has(.lla-pause:checked) .lla-stage *,
.lla:has(.lla-pause:checked) .lla-steps * {
  animation-play-state: paused !important;
}
.lla-chat {
  position: relative;
  height: 392px;
  border-radius: 20px;
  background: #faf9f6;
  color: #142c29;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  line-height: 1.35;
}
.lla-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #ffffff;
  border-bottom: 1px solid #e6e3dc;
}
.lla-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e3f2ec;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.lla-av img {
  width: 19px;
  height: 18px;
  display: block;
}
.lla-head b {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  display: block;
}
.lla-head small {
  font-size: 12px;
  color: #5b6b68;
  display: block;
}
.lla-body {
  position: relative;
  flex: 1;
  min-height: 0;
}
.lla-me {
  position: absolute;
  right: 12px;
  top: 14px;
  max-width: 78%;
  padding: 9px 12px 7px;
  border-radius: 16px 16px 4px 16px;
  background: #e3f2ec;
  transform-origin: 100% 100%;
  animation: lla-me 15s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}
.lla-me i {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
  color: #087f6d;
}
.lla-typing {
  position: absolute;
  left: 12px;
  top: 72px;
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px 16px 16px 4px;
  background: #ffffff;
  border: 1px solid #e6e3dc;
  animation: lla-typing 15s linear infinite both;
}
.lla-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #928c81;
  animation: lla-dot 0.9s ease-in-out infinite;
}
.lla-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.lla-typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes lla-dot {
  0%,
  60%,
  100% {
    transform: none;
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
.lla-card {
  position: absolute;
  left: 12px;
  top: 72px;
  width: 252px;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 16px 16px 16px 4px;
  background: #ffffff;
  border: 1px solid #e6e3dc;
  box-shadow: 0 6px 18px rgba(20, 44, 41, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform-origin: 0 100%;
  animation: lla-card 15s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}
.lla-card-from {
  font-size: 12px;
  color: #5b6b68;
}
.lla-biz {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lla-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #087f6d;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.lla-biz .lla-nm b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}
.lla-biz .lla-nm span {
  display: block;
  font-size: 12.5px;
  color: #5b6b68;
}
.lla-earn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #e3f2ec;
  color: #06604f;
  font-size: 13.5px;
  font-weight: 600;
}
.lla-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  border-radius: 999px;
  background: #087f6d;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  animation: lla-btn 15s linear infinite both;
}
.lla-tap {
  position: absolute;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: #142c29;
  pointer-events: none;
}
.lla-tap1 {
  left: 50%;
  top: 50%;
  animation: lla-tap1 15s linear infinite both;
}
.lla-sent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  background: #e3f2ec;
  color: #06604f;
  font-size: 14px;
  font-weight: 600;
  animation: lla-sent 15s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}
.lla-plane {
  position: absolute;
  left: 120px;
  top: 250px;
  color: #087f6d;
  animation: lla-plane 15s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}
.lla-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #ffffff;
  border-top: 1px solid #e6e3dc;
}
.lla-field {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 36px;
  border-radius: 999px;
  background: #f3f1eb;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
}
.lla-ph {
  color: #928c81;
  animation: lla-ph 15s linear infinite both;
}
.lla-typed {
  position: absolute;
  left: 14px;
  top: 0;
  line-height: 36px;
  color: #142c29;
  animation: lla-type 15s linear infinite both;
}
.lla-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #087f6d;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  animation: lla-send 15s linear infinite both;
}
.lla-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 44, 41, 0.32);
  animation: lla-scrim 15s linear infinite both;
}
.lla-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 12px 14px;
  border-radius: 18px 18px 0 0;
  background: #ffffff;
  box-shadow: 0 -8px 24px rgba(20, 44, 41, 0.16);
  animation: lla-sheet 15s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}
.lla-grab {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #d9d5cc;
  margin: 0 auto 10px;
}
.lla-sheet-t {
  font-size: 13px;
  font-weight: 600;
  color: #5b6b68;
  padding: 0 6px 6px;
}
.lla-ct {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 8px;
  border-radius: 12px;
}
.lla-ct + .lla-ct {
  margin-top: 2px;
}
.lla-ct.lla-dana {
  animation: lla-row 15s linear infinite both;
}
.lla-ini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  flex: none;
}
.lla-ct b {
  flex: 1;
  font-weight: 600;
  font-size: 14.5px;
}
.lla-ct .lla-ok {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #087f6d;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: lla-check 15s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}
.lla-tap2 {
  left: 40px;
  top: 24px;
  animation: lla-tap2 15s linear infinite both;
}
.lla-reward {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #142c29;
  color: #faf9f6;
  box-shadow: 0 10px 26px rgba(20, 44, 41, 0.28);
  animation: lla-reward 15s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}
.lla-coin {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #9fdcc6;
  color: #142c29;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  animation: lla-coin 15s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}
.lla-amt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  color: #9fdcc6;
  counter-reset: lla var(--lla-n);
  animation: lla-count 15s linear infinite both;
}
.lla-amt::after {
  content: counter(lla);
}
.lla-rw {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.lla-rw b {
  font-size: 14.5px;
  font-weight: 600;
}
.lla-rw .lla-sub {
  font-size: 12.5px;
  color: #c9dcd6;
}
.lla-sp {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e3f2ec;
  animation: lla-spark 15s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}
.lla-ini-a {
  background: #e3f2ec;
  color: #06604f;
}
.lla-ini-b {
  background: #f3f1eb;
  color: #4a5d59;
}
.lla-sp1 {
  left: 22px;
  top: 6px;
}
.lla-sp2 {
  left: 58px;
  top: 10px;
  width: 6px;
  height: 6px;
}
.lla-sp3 {
  left: 10px;
  top: 46px;
  width: 5px;
  height: 5px;
}
.lla-sp4 {
  left: 120px;
  top: 8px;
  width: 6px;
  height: 6px;
}
.lla-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.lla-steps li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.lla-steps .lla-bar {
  position: relative;
  height: 3px;
  border-radius: 2px;
  background: rgba(227, 242, 236, 0.22);
  overflow: hidden;
}
.lla-steps .lla-bar i {
  position: absolute;
  inset: 0;
  background: #9fdcc6;
  transform-origin: 0 50%;
}
.lla-steps li:nth-child(1) .lla-bar i {
  animation: lla-bar1 15s linear infinite both;
}
.lla-steps li:nth-child(1) span {
  animation: lla-lab1 15s linear infinite both;
}
.lla-steps li:nth-child(2) .lla-bar i {
  animation: lla-bar2 15s linear infinite both;
}
.lla-steps li:nth-child(2) span {
  animation: lla-lab2 15s linear infinite both;
}
.lla-steps li:nth-child(3) .lla-bar i {
  animation: lla-bar3 15s linear infinite both;
}
.lla-steps li:nth-child(3) span {
  animation: lla-lab3 15s linear infinite both;
}
.lla-steps li:nth-child(4) .lla-bar i {
  animation: lla-bar4 15s linear infinite both;
}
.lla-steps li:nth-child(4) span {
  animation: lla-lab4 15s linear infinite both;
}

@media (prefers-reduced-motion: reduce) {
  .lla *,
  .lla *::after {
    animation: none !important;
  }
  /* Nothing moves, so there is nothing to pause: the control and its checkbox leave the page and the Tab order (PD-178). */
  .lla-pp,
  .lla-pause {
    display: none;
  }
  .lla-typing,
  .lla-scrim,
  .lla-plane,
  .lla-sp,
  .lla-typed,
  .lla-tap {
    opacity: 0;
  }
  .lla-sheet {
    transform: translateY(105%);
  }
  .lla-steps span {
    color: #faf9f6;
  }
}
@keyframes lla-ph {
  0.00% {
    opacity: 1;
  }
  3.33% {
    opacity: 1;
  }
  4.00% {
    opacity: 0;
  }
  14.00% {
    opacity: 0;
  }
  14.67% {
    opacity: 1;
  }
  100.00% {
    opacity: 1;
  }
}
@keyframes lla-type {
  0.00% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  4.00% {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
  }
  12.00% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
  13.67% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
  14.33% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
  }
  100.00% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
  }
}
@keyframes lla-send {
  0.00% {
    transform: scale(1);
    background: #087f6d;
  }
  12.33% {
    transform: scale(1);
  }
  13.20% {
    transform: scale(0.82);
    background: #06604f;
  }
  14.33% {
    transform: scale(1);
    background: #087f6d;
  }
  100.00% {
    transform: scale(1);
  }
}
@keyframes lla-me {
  0.00% {
    opacity: 0;
    transform: translateY(10px) scale(0.6);
  }
  14.00% {
    opacity: 0;
    transform: translateY(10px) scale(0.6);
  }
  15.47% {
    opacity: 1;
    transform: translateY(-2px) scale(1.04);
  }
  16.67% {
    opacity: 1;
    transform: none;
  }
  95.33% {
    opacity: 1;
    transform: none;
  }
  98.00% {
    opacity: 0;
    transform: none;
  }
  100.00% {
    opacity: 0;
    transform: none;
  }
}
@keyframes lla-typing {
  0.00% {
    opacity: 0;
  }
  18.00% {
    opacity: 0;
  }
  19.00% {
    opacity: 1;
  }
  25.33% {
    opacity: 1;
  }
  26.00% {
    opacity: 0;
  }
  100.00% {
    opacity: 0;
  }
}
@keyframes lla-card {
  0.00% {
    opacity: 0;
    transform: translateY(14px) scale(0.6);
  }
  26.00% {
    opacity: 0;
    transform: translateY(14px) scale(0.6);
  }
  27.47% {
    opacity: 1;
    transform: translateY(-2px) scale(1.04);
  }
  28.67% {
    opacity: 1;
    transform: none;
  }
  95.33% {
    opacity: 1;
    transform: none;
  }
  98.00% {
    opacity: 0;
    transform: none;
  }
  100.00% {
    opacity: 0;
    transform: none;
  }
}
@keyframes lla-btn {
  0.00% {
    background: #087f6d;
  }
  33.33% {
    background: #087f6d;
  }
  34.00% {
    background: #06604f;
    transform: scale(0.95);
  }
  36.00% {
    background: #087f6d;
    transform: none;
  }
  100.00% {
    background: #087f6d;
  }
}
@keyframes lla-tap1 {
  0.00% {
    opacity: 0;
    transform: scale(0.2);
  }
  33.33% {
    opacity: 0;
    transform: scale(0.2);
  }
  33.87% {
    opacity: 0.55;
    transform: scale(0.5);
  }
  36.67% {
    opacity: 0;
    transform: scale(1.6);
  }
  100.00% {
    opacity: 0;
    transform: scale(1.6);
  }
}
@keyframes lla-sheet {
  0.00% {
    transform: translateY(105%);
  }
  36.33% {
    transform: translateY(105%);
  }
  39.00% {
    transform: translateY(0);
  }
  52.00% {
    transform: translateY(0);
  }
  54.33% {
    transform: translateY(105%);
  }
  100.00% {
    transform: translateY(105%);
  }
}
@keyframes lla-scrim {
  0.00% {
    opacity: 0;
  }
  36.33% {
    opacity: 0;
  }
  39.00% {
    opacity: 1;
  }
  52.00% {
    opacity: 1;
  }
  54.33% {
    opacity: 0;
  }
  100.00% {
    opacity: 0;
  }
}
@keyframes lla-row {
  0.00% {
    background: transparent;
  }
  45.00% {
    background: transparent;
  }
  46.00% {
    background: #e3f2ec;
  }
  100.00% {
    background: #e3f2ec;
  }
}
@keyframes lla-tap2 {
  0.00% {
    opacity: 0;
    transform: scale(0.2);
  }
  44.67% {
    opacity: 0;
    transform: scale(0.2);
  }
  45.20% {
    opacity: 0.55;
    transform: scale(0.5);
  }
  48.00% {
    opacity: 0;
    transform: scale(1.6);
  }
  100.00% {
    opacity: 0;
    transform: scale(1.6);
  }
}
@keyframes lla-check {
  0.00% {
    opacity: 0;
    transform: scale(0.3);
  }
  46.33% {
    opacity: 0;
    transform: scale(0.3);
  }
  47.67% {
    opacity: 1;
    transform: scale(1.15);
  }
  48.67% {
    opacity: 1;
    transform: none;
  }
  100.00% {
    opacity: 1;
    transform: none;
  }
}
@keyframes lla-sent {
  0.00% {
    opacity: 0;
    transform: scale(0.9);
  }
  54.33% {
    opacity: 0;
    transform: scale(0.9);
  }
  56.00% {
    opacity: 1;
    transform: scale(1.04);
  }
  57.00% {
    opacity: 1;
    transform: none;
  }
  95.33% {
    opacity: 1;
    transform: none;
  }
  97.33% {
    opacity: 0;
  }
  100.00% {
    opacity: 0;
  }
}
@keyframes lla-plane {
  0.00% {
    opacity: 0;
    transform: translate(0, 0) rotate(0);
  }
  49.00% {
    opacity: 0;
    transform: translate(0, 0) rotate(0);
  }
  49.67% {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
  54.67% {
    opacity: 0;
    transform: translate(150px, -120px) rotate(-14deg);
  }
  100.00% {
    opacity: 0;
    transform: translate(150px, -120px) rotate(-14deg);
  }
}
@keyframes lla-reward {
  0.00% {
    opacity: 0;
    transform: translateY(-130%);
  }
  62.00% {
    opacity: 0;
    transform: translateY(-130%);
  }
  64.33% {
    opacity: 1;
    transform: translateY(6px);
  }
  65.67% {
    opacity: 1;
    transform: none;
  }
  94.00% {
    opacity: 1;
    transform: none;
  }
  96.67% {
    opacity: 0;
    transform: none;
  }
  100.00% {
    opacity: 0;
    transform: none;
  }
}
@keyframes lla-count {
  0.00% {
    --lla-n: 0;
  }
  64.67% {
    --lla-n: 0;
  }
  71.33% {
    --lla-n: 80;
  }
  100.00% {
    --lla-n: 80;
  }
}
@keyframes lla-coin {
  0.00% {
    transform: none;
  }
  64.67% {
    transform: rotateY(0);
  }
  68.67% {
    transform: rotateY(360deg);
  }
  100.00% {
    transform: rotateY(360deg);
  }
}
@keyframes lla-spark {
  0.00% {
    opacity: 0;
    transform: scale(0);
  }
  65.67% {
    opacity: 0;
    transform: scale(0);
  }
  67.33% {
    opacity: 1;
    transform: scale(1.1);
  }
  71.33% {
    opacity: 0;
    transform: scale(0.6) translateY(-8px);
  }
  100.00% {
    opacity: 0;
    transform: scale(0.6);
  }
}
@keyframes lla-bar1 {
  0.00% {
    transform: scaleX(0);
  }
  0.00% {
    transform: scaleX(0);
  }
  24.67% {
    transform: scaleX(1);
  }
  96.67% {
    transform: scaleX(1);
  }
  98.67% {
    transform: scaleX(0);
  }
  100.00% {
    transform: scaleX(0);
  }
}
@keyframes lla-lab1 {
  0.00% {
    color: rgba(250, 249, 246, 0.55);
  }
  0.00% {
    color: rgba(250, 249, 246, 0.55);
  }
  1.00% {
    color: #faf9f6;
  }
  24.67% {
    color: #faf9f6;
  }
  25.67% {
    color: rgba(250, 249, 246, 0.55);
  }
  100.00% {
    color: rgba(250, 249, 246, 0.55);
  }
}
@keyframes lla-bar2 {
  0.00% {
    transform: scaleX(0);
  }
  24.67% {
    transform: scaleX(0);
  }
  36.00% {
    transform: scaleX(1);
  }
  96.67% {
    transform: scaleX(1);
  }
  98.67% {
    transform: scaleX(0);
  }
  100.00% {
    transform: scaleX(0);
  }
}
@keyframes lla-lab2 {
  0.00% {
    color: rgba(250, 249, 246, 0.55);
  }
  24.60% {
    color: rgba(250, 249, 246, 0.55);
  }
  25.67% {
    color: #faf9f6;
  }
  36.00% {
    color: #faf9f6;
  }
  37.00% {
    color: rgba(250, 249, 246, 0.55);
  }
  100.00% {
    color: rgba(250, 249, 246, 0.55);
  }
}
@keyframes lla-bar3 {
  0.00% {
    transform: scaleX(0);
  }
  36.00% {
    transform: scaleX(0);
  }
  61.33% {
    transform: scaleX(1);
  }
  96.67% {
    transform: scaleX(1);
  }
  98.67% {
    transform: scaleX(0);
  }
  100.00% {
    transform: scaleX(0);
  }
}
@keyframes lla-lab3 {
  0.00% {
    color: rgba(250, 249, 246, 0.55);
  }
  35.93% {
    color: rgba(250, 249, 246, 0.55);
  }
  37.00% {
    color: #faf9f6;
  }
  61.33% {
    color: #faf9f6;
  }
  62.33% {
    color: rgba(250, 249, 246, 0.55);
  }
  100.00% {
    color: rgba(250, 249, 246, 0.55);
  }
}
@keyframes lla-bar4 {
  0.00% {
    transform: scaleX(0);
  }
  61.33% {
    transform: scaleX(0);
  }
  96.00% {
    transform: scaleX(1);
  }
  96.67% {
    transform: scaleX(1);
  }
  98.67% {
    transform: scaleX(0);
  }
  100.00% {
    transform: scaleX(0);
  }
}
@keyframes lla-lab4 {
  0.00% {
    color: rgba(250, 249, 246, 0.55);
  }
  61.27% {
    color: rgba(250, 249, 246, 0.55);
  }
  62.33% {
    color: #faf9f6;
  }
  96.00% {
    color: #faf9f6;
  }
  97.00% {
    color: rgba(250, 249, 246, 0.55);
  }
  100.00% {
    color: rgba(250, 249, 246, 0.55);
  }
}
@media (max-width: 1023px) {
  .lla {
    position: relative;
    overflow: hidden;
    margin: 0;
    box-sizing: border-box;
    padding: 20px 18px 18px;
    border-radius: 22px;
    background: #142c29;
    color: #faf9f6;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .lla-chat {
    position: relative;
    height: 404px;
    border-radius: 20px;
    background: #faf9f6;
    color: #142c29;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 1.35;
  }
  .lla-card {
    position: absolute;
    left: 12px;
    top: 72px;
    width: 240px;
    box-sizing: border-box;
    padding: 12px;
    border-radius: 16px 16px 16px 4px;
    background: #ffffff;
    border: 1px solid #e6e3dc;
    box-shadow: 0 6px 18px rgba(20, 44, 41, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform-origin: 0 100%;
    animation: lla-card 15s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
  }
  .lla-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .lla-steps li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
  }
}

.home-section {
  border-top: 1px solid var(--border);
}
.home-section > .wrap {
  padding-top: 80px;
  padding-bottom: 80px;
}
.home-section h2 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.steps-wide {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px 48px;
}
.steps-wide li,
.steps-wide li:last-child {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 0 0;
  border-top: 2px solid var(--text-primary);
  border-bottom: 0;
}
.steps-wide .step-n {
  font-size: 18px;
}
.steps-wide h3 {
  font-size: 20px;
}
.steps-wide p {
  margin-top: 10px;
  font-size: 16px;
}
.steps-four {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px 40px;
}
.steps-four li:last-child {
  border-top-color: var(--brand);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
}
.section-head > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.section-head p {
  font-size: 18px;
  color: var(--text-secondary);
}
.section-head p.eyebrow {
  font-size: 13px;
  color: var(--brand-strong);
}
.section-head .inline-link {
  font-size: 16px;
}
.home-businesses {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.featured-prompt {
  margin: 0;
  font-size: 15px;
  color: var(--on-dark-secondary);
}
.home-cards > .home-fill {
  display: flex;
}
/* Fewer than two other businesses: the catalog's "Don't see the business?" prompt as a quiet aside (no box), never a filler card. */
.home-cards > .home-fill .dont-see {
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 4px 8px 12px;
  border: 0;
  border-radius: 0;
}
.home-cards > .home-fill .dont-see h2 {
  font-size: 22px;
  line-height: 1.15;
}
.home-cards > .home-fill .dont-see p:last-child {
  margin-top: 4px;
}
.home-cards {
  margin: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
/* Business / Card / Active, Featured (dark) */
.featured {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  padding: 36px 40px 30px;
  border-radius: 24px;
  background: var(--text-primary);
  color: var(--on-dark-primary);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.feat-id {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.feat-id .badge-i.md {
  width: 44px;
  height: 44px;
  font-size: 20px;
}
.feat-name {
  font-weight: 700;
  font-size: 17px;
}
.feat-meta {
  font-size: 14px;
  color: var(--on-dark-secondary);
}
.feat-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.featured-reward {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.featured-reward .amt {
  color: var(--on-dark-accent);
}
.featured-reward-2 {
  font-size: 18px;
  color: var(--on-dark-secondary);
}
.feat-foot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  margin-top: -20px;
}
.featured-caption {
  font-size: 13px;
  color: var(--on-dark-secondary);
}
/* More ways to earn (V75) */
.section-head-copy {
  max-width: 640px;
  gap: 10px !important;
}
.earn-paths {
  position: relative;
  list-style: none;
  padding: 0;
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.earn-paths li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.earn-icon {
  position: relative;
  z-index: 1;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px var(--bg);
}
.earn-text h3 {
  margin-top: 8px;
  font-size: 20px;
}
.earn-text p {
  margin-top: 10px;
  max-width: 320px;
  color: var(--text-secondary);
}
.earn-trust {
  margin-top: 40px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-strong);
}
.earn-trust .i {
  margin-top: 3px;
}
.earn-cta {
  margin-top: 28px;
}
.earn-cta-mobile,
.mobile-browse {
  display: none;
}
/* For businesses (dark band) */
.for-business-wrap {
  padding: 0 48px 80px;
}
.for-business {
  position: relative;
  overflow: hidden;
  max-width: 1104px;
  margin: 0 auto;
  padding: 64px;
  border-radius: 28px;
  background: var(--text-primary);
  color: var(--on-dark-primary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 64px;
}

.for-business-copy {
  position: relative;
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.for-business h2 {
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.for-business-copy > p:last-child {
  max-width: 520px;
  font-size: 18px;
  color: var(--on-dark-secondary);
}
.for-business-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.for-business .btn-on-dark:disabled {
  background: var(--brand-soft);
  color: var(--text-primary);
  opacity: 0.72;
}
.closing-band {
  padding: 56px 64px;
  gap: 24px;
}
.closing-band h2 {
  position: relative;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: normal;
}
.closing-band .btn {
  position: relative;
}
/* Clear from the start (Public / Trust Item) */
.trust-split {
  padding-top: 72px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 72px;
}
.trust-split > h2 {
  flex: 1 1 260px;
  font-size: 32px;
  line-height: 1.15;
}
.trust-split > .trust {
  flex: 999 1 560px;
}
.trust {
  list-style: none;
  padding: 0;
}
.trust li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
}
.trust li:first-child {
  padding-top: 0;
}
.trust h3 {
  font-size: 18px;
}
.trust p {
  margin-top: 2px;
  color: var(--text-secondary);
}

/* ---- how it works (V75) */
.hiw-hero {
  padding-top: 88px;
  padding-bottom: 64px;
}
.hiw-hero h1 {
  margin-top: 12px;
  max-width: 820px;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hiw-hero .lead {
  margin-top: 20px;
  max-width: 640px;
}
.hiw-hero .home-actions {
  margin-top: 32px;
}
.grow,
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 72px;
}
.grow {
  align-items: center;
}
.grow-copy h2 {
  margin-top: 10px;
}
.grow-lead {
  margin: 14px 0 28px;
  font-size: 18px;
  color: var(--text-secondary);
}
.grow-item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.grow-item .earn-icon {
  width: 48px;
  height: 48px;
  box-shadow: none;
}
.grow-item h3 {
  font-size: 20px;
}
.grow-item p {
  margin-top: 4px;
  color: var(--text-secondary);
}
.net {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 40px 0 60px;
}
.net-inner {
  position: relative;
}
.net-ring {
  display: block;
  width: 100%;
  height: auto;
}
.net-circle {
  fill: none;
  stroke: var(--brand-dashed);
  stroke-width: 2;
  stroke-dasharray: 6 7;
}
.net-arrow {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.net-core {
  fill: var(--text-primary);
}
.net-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  fill: var(--on-dark-primary);
}
.net-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 150px;
  text-align: center;
}
.net-node .earn-icon {
  width: 52px;
  height: 52px;
  box-shadow: 0 0 0 6px var(--bg);
}
.n-top {
  left: 50%;
  top: 14.3%;
}
.n-right {
  left: 80.9%;
  top: 67.9%;
}
.n-left {
  left: 19.1%;
  top: 67.9%;
}
.net-label {
  padding: 2px 6px;
  border-radius: 8px;
  background: var(--bg);
  font-size: 14px;
  line-height: 1.3;
}
.net-label b {
  font-weight: 600;
}
.net-sub {
  color: var(--text-secondary);
}
.two-col .trust,
.faqs {
  margin-top: 28px;
}
.faq {
  border-top: 1px solid var(--border);
}
.faq summary {
  display: flex;
  align-items: center;
  min-height: 56px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
}
.faq p {
  margin: 0 0 18px;
  max-width: 680px;
  color: var(--text-secondary);
}

/* ---- content / legal pages */
.doc {
  padding-top: 64px;
}
.doc-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}
.toc-desktop {
  flex: 0 0 240px;
  position: sticky;
  top: calc(var(--header-h) + 32px); /* below the sticky header */
  padding-top: 140px;
}
.toc-title {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.toc-desktop ol,
.toc-mobile ol {
  list-style: none;
  padding: 0;
}
.toc-desktop ol {
  border-top: 1px solid var(--border);
  padding-top: 8px;
  max-height: calc(100vh - 220px - var(--header-h)); /* the TOC sticks below the header */
  overflow-y: auto;
}
.toc-desktop a,
.doc-body .toc-mobile a {
  display: flex;
  gap: 8px;
  align-items: baseline;
  min-height: 36px;
  padding: 6px 0;
  color: var(--text-strong);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
}
.toc-desktop a:hover,
.doc-body .toc-mobile a:hover {
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sn {
  flex: none;
  width: 24px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.toc-mobile {
  display: none;
}
.doc-body {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 680px;
  font-size: 17px;
  line-height: 1.7;
}
.doc-head {
  margin-bottom: 40px;
}
.doc-head .eyebrow {
  font-size: 13px;
}
.doc-head h1 {
  margin-top: 10px;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.doc-updated {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.doc-summary {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-strong);
}
.doc-body p,
.doc-intro p {
  margin: 0 0 16px;
}
.doc-section h2 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  scroll-margin-top: 24px;
}
.doc-section h3 {
  margin: 24px 0 8px;
  font-size: 18px;
  line-height: 1.4;
}
.doc-body a {
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}
.doc-body a:hover {
  text-decoration-thickness: 2px;
}
.doc-body strong {
  font-weight: 600;
}
.doc-body ul,
.doc-body ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.doc-body li {
  margin: 0 0 8px;
  padding-left: 4px;
}
.doc-body ol.clauses {
  list-style: none;
  padding: 0;
}
.doc-body ol.clauses li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  padding: 0;
  margin: 0 0 12px;
}
.clause-n {
  font-weight: 600;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}
.doc-body hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid var(--border);
}
.callout {
  margin: 8px 0 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--surface-subtle);
  color: var(--text-strong);
  font-size: 16px;
  line-height: 1.6;
}
.table-wrap {
  margin: 8px 0 20px;
  overflow-x: auto;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
}
.legal-table caption {
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding-bottom: 8px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--divider);
}
.legal-table thead th {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom-color: var(--border);
}
.legal-table tbody th {
  font-weight: 600;
}
.contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 16px;
  padding: 16px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.contact > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
}
.contact dt {
  font-weight: 600;
}
.not-found {
  padding-top: 64px;
}
.not-found h1 {
  font-size: 52px;
  line-height: 1.05;
  margin-bottom: 16px;
}
.invite-copy {
  max-width: 560px;
}
.invite-copy .eyebrow {
  margin-bottom: 10px;
}
.invite-copy .lead {
  margin-bottom: 24px;
}
.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  margin-bottom: 16px;
}
/* The lead already leaves its own space below it; the actions only add theirs after a body paragraph. */
.invite-copy .lead + .invite-actions {
  margin-top: 0;
}
.hero-prompt {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--on-dark-secondary);
}

/* ---- tablet + mobile header: wordmark + menu button; nav and Recommend move into the modal menu (no bottom navigation) */
@media (max-width: 1023px) {
  .main-nav,
  .desktop-only {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .sheet:target,
  .sheet.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 50;
  }
  .sheet-scrim {
    position: absolute;
    inset: 0;
    background: var(--overlay);
  }
  .sheet-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    overflow-y: auto;
    padding: 12px 20px 30px;
    background: var(--bg);
    display: flex;
    flex-direction: column;
  }
  .sheet-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 8px;
  }
  .sheet-list {
    list-style: none;
    padding: 0;
    border-top: 1px solid var(--divider);
  }
  .sheet-list .nav-link {
    display: flex;
    min-height: 52px;
    padding: 0 4px;
    border-bottom: 1px solid var(--divider);
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
  }
}

/* ---- tablet (768-1023): the desktop compositions reflow; V75 handoff G rules */
@media (max-width: 1023px) {
  .wrap,
  .home-section > .wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
  .for-business-wrap {
    padding: 0 32px 64px;
  }
  .home-hero h1 {
    font-size: 60px;
  }
  .hiw-hero h1,
  .hero-active .hero-reward,
  .hero-light h1 {
    font-size: 56px;
  }
  .hero-active {
    padding: 48px 40px 40px;
  }
  .for-business {
    padding: 48px 40px;
  }
  /* How it works: grids reflow to two columns; the diagram stacks under the text */
  .grow {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }
  .side-col {
    max-width: none;
  }
}
/* Earn paths: three columns while each is at least 220px; otherwise the mobile rail */
@media (max-width: 859px) {
  .earn-paths {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 22px;
  }
  .earn-paths li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
  }
  .earn-paths .earn-icon {
    width: 44px;
    height: 44px;
    box-shadow: none;
  }
  .earn-paths .earn-icon .i {
    width: 22px;
    height: 22px;
  }
  .earn-text {
    padding: 9px 0 22px;
  }
  .earn-paths li:last-child .earn-text {
    padding-bottom: 0;
  }
  .earn-text h3 {
    margin-top: 0;
    font-size: 17px;
  }
  .earn-text p {
    margin-top: 4px;
    font-size: 15px;
    max-width: none;
  }
}

/* ---- mobile (< 768px, reference 390): specific mobile compositions, not stacked desktop columns */
@media (max-width: 767px) {
  .wrap,
  .home-section > .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  :root {
    --header-bar-h: 64px; /* the logo and the 44px menu button centred in it, above the 1px border */
  }
  .bar .logo-img {
    width: 99px;
    height: 20.1px;
  }
  .desktop-text {
    display: none;
  }
  .mobile-text {
    display: inline;
  }
  .btn {
    min-height: 52px;
    width: 100%;
    white-space: normal;
  }
  .btn-sm {
    width: auto;
  }
  .page {
    padding-bottom: 36px;
  }
  .lead {
    font-size: 17px;
  }
  /* footer: brand block, then a two-column link grid */
  .footer-main {
    padding-top: 32px;
    padding-bottom: 20px;
    gap: 20px;
    flex-direction: column;
  }
  .footer-side {
    gap: 20px;
  }
  .footer-brand {
    gap: 6px;
  }
  .footer-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row dense;
    column-gap: 16px;
    row-gap: 0;
  }
  .footer-group:nth-child(-n + 2) li {
    grid-column: 1;
  }
  .footer-group:nth-child(3) li {
    grid-column: 2;
  }
  .footer-group:first-child li:last-child {
    order: 1;
  }
  .footer-group {
    display: contents;
  }
  .footer-group h2 {
    display: none;
  }
  .footer-group ul {
    display: contents;
  }
  .footer-group .nav-link {
    min-height: 44px;
  }
  .copyright {
    padding-bottom: 40px;
  }

  /* catalog */
  .catalog-title {
    padding-top: 28px;
    font-size: 38px;
  }
  .catalog .lead {
    margin-top: 10px;
    font-size: 17px;
  }
  .catalog-form {
    margin-top: 22px;
  }
  .search-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .field-search {
    flex: none;
  }
  .search-pill {
    height: 52px;
  }
  .search-pill input {
    font-size: 16px;
  }
  .filters-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--border-control);
    border-radius: 999px;
    background: var(--surface);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
  }
  .filters-btn .badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--brand);
    color: var(--on-brand);
    font-size: 12px;
    line-height: 20px;
    text-align: center;
  }
  .active-loc {
    min-width: 0;
    font-size: 14px;
    color: var(--text-muted);
    text-align: right;
  }
  /* Catalog / Filters (mobile): a bottom sheet over a scrim; works without JS as a #filters target */
  .filters {
    display: none;
  }
  .filters:target,
  .filters.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
  }
  .filters .scrim {
    display: block;
    position: absolute;
    inset: 0;
    background: var(--overlay);
  }
  .filters-panel {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 90vh;
    overflow-y: auto;
    flex-direction: column;
    gap: 18px;
    padding: 10px 16px 34px;
    border-radius: 22px 22px 0 0;
    background: var(--bg);
  }
  .filters .grab {
    display: block;
    align-self: center;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--border-subtle-control);
  }
  .filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .filters-head h2 {
    font-weight: 600;
    font-size: 24px;
    line-height: 1;
  }
  .filters-fields {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .field-select {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
  }
  .field-select:focus-within {
    box-shadow: none;
  }
  .field-select::after {
    top: auto;
    bottom: 18px;
    margin-top: 0;
  }
  .field-select label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-strong);
  }
  .field-select select {
    height: 52px;
    max-width: none;
    padding: 0 44px 0 16px;
    border: 1px solid var(--border-control);
    border-radius: 14px;
    background: var(--surface);
    overflow-wrap: anywhere;
  }
  .field-select select:focus-visible {
    border-color: var(--brand);
    box-shadow: var(--ring-field-focus);
    outline: 2px solid var(--focus-ring); /* the ring on the select itself here: the wrapper is only a label and the select */
    outline-offset: 2px;
  }
  .field-select:has(select:focus-visible) {
    outline: none;
  }
  .filters-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
  }
  .filters-actions .btn-secondary {
    flex: 0 0 auto;
    width: auto;
    padding: 0 22px;
  }
  .filters-actions .apply-btn {
    flex: 1;
  }
  html:not(.js) .js-only {
    display: none;
  }
  .count {
    margin-top: 22px;
    font-size: 14px;
  }
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalog .cards {
    margin-top: 12px;
    gap: 12px;
  }
  .card-head {
    padding: 18px 18px 14px;
    gap: 12px;
  }
  .badge-i.md {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  .card-name {
    font-size: 21px;
  }
  .card-meta {
    font-size: 14px;
  }
  .card-rewards {
    margin: 0 18px;
    padding: 14px 0;
    gap: 2px;
  }
  .card-foot {
    margin: 0 18px;
    padding: 2px 0 6px;
  }
  .dont-see {
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px 18px 10px;
  }
  .dont-see h2 {
    font-size: 21px;
  }
  .dont-see p {
    font-size: 15px;
  }
  .dont-see p:last-child {
    margin-top: 0;
  }
  .no-results-row {
    margin-top: 16px;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .no-results h2 {
    font-size: 26px;
  }
  .no-results {
    gap: 6px;
    padding: 24px 18px;
  }
  .no-results p:last-child {
    margin-top: 4px;
    align-self: stretch;
  }
  .no-results p {
    font-size: 15px;
  }
  .no-results .btn {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
  }
  .eyebrow-mint {
    font-size: 12px;
  }

  /* business pages: one ordered column */
  .back-row {
    padding-top: 8px;
  }
  .biz-id {
    gap: 12px;
  }
  .badge-i.lg {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  .biz-id-name {
    font-size: 18px;
  }
  .biz-id-meta {
    font-size: 14px;
  }
  .hero-active {
    margin-top: 8px;
    padding: 26px 22px 24px;
    border-radius: 22px;
    gap: 22px;
  }
  .hero-active .hero-copy {
    gap: 6px;
  }
  .hero-active .hero-reward {
    font-size: 40px;
    line-height: 1.02;
    letter-spacing: -0.025em;
  }
  .hero-active .reward-line {
    color: var(--on-dark-accent);
  }
  .rl-rest {
    display: block;
    margin-top: 0;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: normal;
    color: var(--on-dark-primary);
  }
  .reward-2 {
    margin-top: 10px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.05;
    color: var(--on-dark-primary);
  }
  .r2-rest {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--on-dark-secondary);
  }
  .section h2 {
    letter-spacing: -0.02em;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .hero-active .hero-actions {
    margin-top: 16px;
  }
  .hero-actions .cta-note {
    font-size: 13px;
    text-align: center;
  }
  .hero-light {
    position: relative;
    margin-top: 12px;
    padding-bottom: 32px;
    gap: 18px;
    border-bottom: 0;
  }
  .hero-light::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -16px;
    right: -16px;
    border-bottom: 1px solid var(--border);
  }
  .hero-light .hero-copy {
    gap: 18px;
  }
  .hero-light h1 {
    font-size: 38px;
    line-height: 1.02;
    letter-spacing: -0.025em;
  }
  .hero-light .hero-actions {
    margin-top: 0;
  }
  .reward-before-steps {
    display: block;
  }
  .reward-after-steps {
    display: none;
  }
  .layout,
  .hero-light + .layout {
    margin-top: 32px;
    gap: 28px;
  }
  .main-col > .section + .section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 0;
  }
  .side-col {
    gap: 28px;
  }
  .side-col > .side-block {
    padding-top: 24px;
    border-top: 0;
  }
  /* The approved mobile boards run these section dividers edge to edge, past the page gutter. */
  .main-col > .section + .section,
  .side-col > .side-block {
    position: relative;
  }
  .main-col > .section + .section::before,
  .side-col > .side-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -16px;
    right: -16px;
    border-top: 1px solid var(--border);
  }
  .section h2 {
    font-size: 24px;
    line-height: 1.1;
  }
  .about {
    margin-top: 8px;
    font-size: 16px;
  }
  .section-lead {
    margin-top: 6px;
    font-size: 15px;
  }
  .checklist {
    margin-top: 12px;
  }
  .checklist li {
    gap: 10px;
    padding: 12px 0;
    font-size: 16px;
  }
  .reward-rows {
    margin-top: 12px;
  }
  .reward-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    padding: 14px 0;
  }
  .reward-row > div {
    display: contents;
  }
  .reward-row h3 {
    grid-column: 1;
    grid-row: 1;
    font-size: 17px;
  }
  .reward-amount {
    grid-column: 2;
    grid-row: 1;
    font-size: 30px;
  }
  .reward-row p {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 15px;
  }
  .note {
    margin-top: 12px;
    font-size: 14px;
  }
  .details > div {
    padding: 12px 0;
  }
  .steps {
    margin-top: 14px;
  }
  .steps li {
    grid-template-columns: 28px 1fr;
    gap: 10px;
    padding: 14px 0;
  }
  .step-n {
    font-size: 19px;
  }
  .steps h3 {
    font-size: 17px;
  }
  .steps p {
    font-size: 15px;
  }
  .new-panel {
    display: none;
  }
  .closing {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 28px;
    padding: 20px;
    border-radius: 18px;
  }
  .closing h2 {
    font-size: 21px;
  }
  .closing p {
    margin-top: 0;
    font-size: 15px;
  }
  .closing .btn {
    margin-top: 10px;
  }
  .closing .text-link {
    align-self: center;
  }
  .invite-box {
    padding: 18px;
  }
  .owner-box {
    padding-top: 22px;
  }
  .owner-box .btn {
    margin-top: 8px;
    width: 100%;
    min-height: 48px;
  }

  /* home */
  .home-hero {
    padding-top: 32px;
    padding-bottom: 40px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .home-hero-copy {
    flex: none;
    gap: 16px;
  }
  .home-hero h1 {
    font-size: 44px;
    line-height: 1;
  }
  .home-actions {
    margin-top: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .home-hero .cta-note {
    text-align: center;
  }
  .home-hero-visual {
    flex: none;
    max-width: none;
    margin-top: 16px;
  }
  .home-section > .wrap {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .home-section h2 {
    font-size: 28px;
    line-height: 1.1;
  }
  .steps-wide,
  .steps-four {
    margin-top: 18px;
    display: block;
  }
  .steps-wide li,
  .steps-wide li:last-child {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    padding: 14px 0;
    border-top: 1px solid var(--divider);
  }
  .steps-wide li:last-child {
    border-bottom: 1px solid var(--divider);
  }
  .steps-wide .step-n {
    font-size: 19px;
  }
  .steps-wide h3 {
    font-size: 17px;
  }
  .steps-wide p {
    margin-top: 2px;
    font-size: 15px;
  }
  .section-head {
    gap: 4px;
  }
  .section-head > div {
    gap: 4px;
  }
  .section-head p {
    font-size: 16px;
  }
  .section-head > .inline-link,
  .earn-cta {
    display: none;
  }
  .home-businesses {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .featured {
    padding: 22px 22px 20px;
    border-radius: 20px;
    gap: 14px;
  }
  .feat-id {
    gap: 12px;
  }
  .feat-id .badge-i.md {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 17px;
  }
  .feat-name {
    font-size: 16px;
  }
  .feat-meta {
    font-size: 13px;
  }
  .featured-reward {
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: wrap;
  }
  .featured-prompt {
    display: none;
  }
  .featured-reward-2 {
    font-size: 15px;
  }
  .feat-foot {
    margin-top: 0;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--on-dark-border);
  }
  .feat-cta,
  .feat-cta:hover {
    width: auto;
    min-height: 28px;
    padding: 0;
    border: 0;
    gap: 4px;
    background: none;
    color: var(--on-dark-accent);
    font-size: 14px;
    font-weight: 600;
  }
  .feat-cta-name {
    display: none;
  }
  /* the remaining cards: a swipe row (scrolls inside itself, never the page) */
  .home-cards {
    display: flex;
    gap: 12px;
    margin: 0 -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    scrollbar-width: none;
  }
  .home-cards > li {
    flex: 0 0 300px;
    scroll-snap-align: start;
  }
  .home-cards > .home-fill,
  .home-cards.is-fill-only {
    display: none;
  }
  .mobile-browse {
    display: block;
    padding-top: 6px;
  }
  .earn-cta-mobile {
    display: flex;
    margin-top: 16px;
    min-height: 48px;
    font-size: 15px;
  }
  .earn-trust {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--surface-subtle);
    font-size: 14px;
  }
  .earn-trust .i {
    margin-top: 2px;
  }
  .for-business-wrap {
    padding: 0 16px 36px;
  }
  .for-business {
    padding: 28px 22px 24px;
    border-radius: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .for-business-copy {
    flex: none;
    gap: 12px;
  }
  .for-business h2 {
    font-size: 30px;
    line-height: 1.06;
    letter-spacing: -0.02em;
  }
  .for-business-copy > p:last-child {
    font-size: 16px;
  }
  .for-business-actions {
    margin-top: 8px;
    align-items: stretch;
  }
  .for-business-actions .btn-quiet-dark {
    align-self: center;
  }
  .closing-band h2 {
    font-size: 30px;
  }
  .trust-split {
    padding-top: 36px !important;
    padding-bottom: 40px !important;
    display: block;
  }
  .trust-split > h2 {
    font-size: 28px;
  }
  .trust {
    margin-top: 16px;
  }
  .trust li {
    gap: 12px;
    padding: 14px 0;
  }
  .trust h3 {
    font-size: 17px;
  }
  .trust p {
    font-size: 15px;
  }

  /* how it works: all stacked; diagram labels shortened to titles only */
  .hiw-hero {
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .hiw-hero h1 {
    font-size: 40px;
    line-height: 1.02;
  }
  .hiw-hero .lead {
    margin-top: 14px;
  }
  .hiw-hero .home-actions {
    margin-top: 22px;
  }
  .hiw-browse {
    display: none;
  }
  /* mobile: eyebrow, title, lead, then the diagram, then the two ways to grow */
  .grow {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .grow-copy {
    display: contents;
  }
  .grow-copy h2 {
    margin-top: 6px;
  }
  .net {
    order: 1;
  }
  .grow-item {
    order: 2;
    gap: 14px;
    padding: 18px 0;
  }
  .grow-lead {
    margin: 8px 0 0;
    font-size: 16px;
  }
  .eyebrow-brand,
  .section-head p.eyebrow {
    font-size: 12px;
  }
  .grow-item .earn-icon {
    width: 44px;
    height: 44px;
  }
  .grow-item h3 {
    font-size: 17px;
  }
  .grow-item p {
    font-size: 15px;
  }
  .net {
    max-width: 330px;
    padding: 40px 0 60px;
  }
  .net-sub {
    display: none;
  }
  .net-node {
    width: 110px;
  }
  .two-col {
    gap: 36px;
  }
  .faq summary {
    min-height: 52px;
    font-size: 16px;
  }
  .faq p {
    font-size: 15px;
  }

  /* legal: collapsible "On this page" under the header; tables become stacked labelled rows */
  .doc {
    padding-top: 28px;
  }
  .toc-desktop {
    display: none;
  }
  .toc-mobile {
    display: block;
    margin-top: 20px;
  }
  .toc-mobile summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
  }
  .toc-mobile summary::-webkit-details-marker {
    display: none;
  }
  .toc-mobile[open] summary .i {
    transform: rotate(180deg);
  }
  .toc-mobile ol {
    margin: 8px 0 0;
    padding: 0 16px;
  }
  .doc-body .toc-mobile a {
    min-height: 44px;
    padding: 8px 0;
  }
  .doc-body {
    font-size: 16px;
    line-height: 1.65;
  }
  .doc-head {
    margin-bottom: 28px;
  }
  .doc-head .eyebrow {
    font-size: 12px;
  }
  .doc-head h1 {
    margin-top: 8px;
    font-size: 36px;
  }
  .doc-updated {
    margin-top: 10px;
    font-size: 14px;
  }
  .doc-summary {
    margin-top: 16px;
    font-size: 17px;
  }
  .doc-section h2 {
    font-size: 22px;
  }
  .doc-section h3 {
    font-size: 17px;
  }
  .doc-body hr {
    margin: 32px 0;
  }
  .doc-body ol.clauses li {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .legal-table,
  .legal-table thead,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td,
  .legal-table caption {
    display: block;
    width: auto;
  }
  .legal-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .legal-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--divider);
  }
  .legal-table tbody th,
  .legal-table td {
    border: 0;
    padding: 2px 0;
  }
  .legal-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .not-found {
    padding-top: 28px;
  }
  .not-found h1 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    transition: border-color 0.15s;
  }
}

/* Header at the first desktop widths: the same items, tighter spacing, so nothing wraps (1024-1199). */
@media (min-width: 1024px) and (max-width: 1199px) {
  .bar {
    gap: 12px;
  }
  .bar-start {
    gap: 24px;
  }
  .main-nav {
    gap: 12px;
  }
  .bar-end {
    gap: 6px;
  }
  .auth-login {
    padding: 0 8px;
  }
  .bar .btn-sm {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* No focus ring on a script-driven focus (a heading or dialog panel focused by script is not a control). Everything else keeps the
   native :focus-visible ring, touch devices included: a tap shows none, a keyboard or switch on a phone or tablet does (PD-177, WCAG 2.4.7). */
[tabindex='-1']:focus-visible {
  outline: none;
}

/* ==== Public Business Page V2 (ADR-0057; canvas v89 "Business page V2") ======================================================== */
:root {
  /* The V2 error colour (6.6:1 on #FAF9F6): public layer only; the Console's --error-text is unchanged. */
  --public-error: #8a4b3a;
  --pb-kb: 0px;
}
.js-only {
  display: none !important;
}
.js .js-only {
  display: inline-flex !important;
}
.js .pb-yourself.js-only,
.js .btn-block.js-only {
  display: flex !important;
}
.js .pb-yourself.js-only {
  flex-direction: column;
  align-items: flex-start;
}
.btn-outline-dark {
  background: transparent;
  border-color: var(--on-dark-border);
  color: var(--on-dark-primary);
}
.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}
.pb-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #f3f1eb;
  color: var(--text-strong);
}
.pb-notice .i {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--text-secondary);
}
.pb-yourself h2 {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
}
.pb-yourself p {
  margin: 8px 0 14px;
  color: var(--text-secondary);
  font-size: 15px;
}
/* referred hero: the mint panel (the dark panel stays the recommender's) */
.pb-hero-referred {
  margin-top: 16px;
  padding: 56px 64px;
  border-radius: 28px;
  background: var(--brand-soft);
}
.pb-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 15px;
}
.pb-chip-avatar {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #efe7da;
  color: #6b5326;
  font-size: 13px;
  font-weight: 700;
}
.pb-chip-sm {
  padding: 4px 14px 4px 4px;
  background: var(--brand-soft);
  font-size: 14px;
}
.pb-chip-sm .pb-chip-avatar {
  width: 24px;
  height: 24px;
  font-size: 12px;
}
.pb-id {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}
.pb-logo {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--text-primary);
  color: var(--on-dark-primary);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
}
.pb-hero-referred h1 {
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.pb-id-meta {
  margin-top: 6px;
  color: var(--text-secondary);
}
.pb-desc {
  margin-top: 24px;
  max-width: 560px;
  font-size: 18px;
  color: var(--text-strong);
}
.pb-hero-cta {
  margin-top: 28px;
}
/* The referred hero's actions: Contact first, Recommend beside it (stacked on a phone). */
.pb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* Shown only without JavaScript (inside <noscript>): Contact needs it, and the page says so instead of hiding the action silently. */
.pb-nojs {
  margin-top: 12px;
  max-width: 420px;
  font-size: 13px;
  color: var(--text-secondary);
}
.pb-helper {
  margin-top: 12px;
  max-width: 320px;
  font-size: 13px;
  color: var(--text-secondary);
}
.pb-steps h3 {
  font-size: 15px;
}
.pb-steps p {
  font-size: 14px;
  color: var(--text-secondary);
}
.pb-recommend-card {
  margin-top: 32px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}
.pb-recommend-card h2 {
  font-size: 22px;
  line-height: 1.2;
}
.pb-recommend-card p {
  margin: 10px 0 16px;
  color: var(--text-secondary);
}
.pb-recommend-card .text-link {
  display: flex;
  margin-top: 8px;
}
/* sticky mobile bar: hidden on a desktop (`.js .js-only` would otherwise show it) */
.pb-bar,
.js .pb-bar.js-only {
  display: none !important;
}
/* ---- dialogs: share sheet (bottom sheet / 480px dialog) and the lead flow (full screen / 560px dialog) */
html.pb-modal-open {
  overflow: hidden;
}
.pb-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.pb-scrim {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}
.pb-dialog {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  outline: none;
}
.pb-dialog .pb-title {
  margin-top: 6px;
  font-size: 28px;
  line-height: 1.15;
}
.pb-sub {
  margin-top: 8px;
  color: var(--text-secondary);
}
.pb-share {
  left: 50%;
  top: 72px;
  width: 480px;
  max-height: calc(100vh - 96px);
  transform: translateX(-50%);
  overflow-y: auto;
  padding: 24px;
  border-radius: 22px;
}
.pb-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pb-sheet-head .pb-title {
  margin: 0;
  font-size: 24px;
}
.pb-handle {
  display: none;
}
.pb-strip {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--text-primary);
  color: var(--on-dark-primary);
}
.pb-strip-1 {
  font-family: var(--font-display);
  font-size: 22px;
}
.pb-strip-1 b {
  color: var(--on-dark-accent);
  font-weight: 500;
}
.pb-strip-2 {
  margin-top: 4px;
  color: var(--on-dark-secondary);
  font-size: 15px;
}
.pb-options {
  margin-top: 12px;
}
.pb-option {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--divider);
  background: none;
  color: var(--text-primary);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.pb-option > span:last-child {
  display: flex;
  flex-direction: column;
}
.pb-option span span {
  color: var(--text-secondary);
  font-size: 14px;
}
.pb-option-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.pb-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}
.pb-ok-quiet {
  min-height: 1.5em;
  font-size: 14px;
  color: var(--brand-strong);
}
.pb-linkbox {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.pb-link {
  margin-top: 4px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.pb-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.pb-center {
  display: flex;
  justify-content: center;
  margin: 8px auto 0;
}
.pb-sheet-foot {
  margin-top: 20px;
}
.pb-flow {
  left: 50%;
  top: 48px;
  width: 560px;
  max-height: calc(100vh - 96px);
  transform: translateX(-50%);
  border-radius: 22px;
  overflow: hidden;
}
.pb-flow-top {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 60px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
}
.pb-flow-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}
.pb-logo-sm {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 700;
}
.pb-spacer {
  width: 44px;
}
.pb-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 12px 16px 0;
}
.pb-progress[hidden] {
  display: none;
}
.pb-seg {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pb-seg-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
}
.pb-seg.is-done .pb-seg-bar {
  background: var(--brand);
}
.pb-seg-label {
  font-size: 12px;
  color: var(--text-secondary);
}
.pb-seg.is-current .pb-seg-label {
  color: var(--text-primary);
  font-weight: 600;
}
.pb-flow-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px 24px;
}
.pb-flow-body .pb-chip {
  margin-bottom: 16px;
}
.pb-flow-foot {
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}
/* an action right under the explanation of an end screen (e.g. “Continue on WhatsApp”) is set apart from the text */
.pb-sub + .btn-block {
  margin-top: 16px;
}
/* two actions in the footer (e.g. “Continue on WhatsApp” above “Back to …”): a clear gap, not touching */
.pb-flow-foot .btn + .btn {
  margin-top: 10px;
}
.pb-flow-foot[hidden] {
  display: none;
}
.pb-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.pb-choice {
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--border-subtle-control);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text-primary);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.pb-choice:hover,
.pb-choice.is-selected {
  border-color: var(--brand);
}
.pb-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 14px;
  border-bottom: 1px solid var(--divider);
}
.pb-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-secondary);
}
.pb-field {
  margin-top: 18px;
}
.pb-label-row {
  display: flex;
  justify-content: space-between;
}
.pb-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 15px;
}
.pb-tag {
  font-size: 13px;
  color: var(--text-secondary);
}
.pb-dialog .fld,
.pb-cc {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--border-control);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-primary);
  font: inherit;
  font-size: 16px;
}
.pb-dialog textarea.fld {
  padding: 12px 14px;
  min-height: 120px;
}
/* The country field shows only the flag and dialing code; the native select (names in its list) is transparent over that face (geo-phone-input.js). */
.lp-cc {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.lp-cc-face {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  pointer-events: none;
}
.lp-cc-face .i,
.lp-cc-face svg {
  flex: none;
  color: var(--text-secondary);
}
.lp-cc-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
}
.pb-dialog .fld:focus,
.pb-cc:focus-within {
  outline: 2px solid var(--brand);
  outline-offset: 0;
}
.pb-dialog .fld.is-error {
  border-color: var(--public-error);
}
.pb-phone {
  display: grid;
  grid-template-columns: minmax(0, 128px) 1fr;
  gap: 8px;
}
.pb-hint {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}
.pb-error {
  margin-top: 8px;
  font-size: 14px;
  color: var(--public-error);
}
.pb-ok {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 600;
  color: var(--brand-strong);
}
.pb-big {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 600;
}
.pb-change {
  min-height: 0;
}
.pb-otp {
  position: relative;
  margin-top: 20px;
}
.pb-otp-cells {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.pb-otp-cell {
  display: grid;
  place-items: center;
  height: 60px;
  border: 1px solid var(--border-control);
  border-radius: 12px;
  background: var(--surface);
  font-size: 24px;
  font-weight: 600;
}
.pb-otp-cell.is-active {
  border: 2px solid var(--brand);
}
.pb-otp-cell.is-error {
  border: 2px solid var(--public-error);
}
.pb-otp-cell.is-locked {
  background: #f0eee8;
  color: var(--text-secondary);
}
.pb-otp-input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  font-size: 16px;
  caret-color: transparent;
}
.pb-resend {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}
.pb-summary {
  margin-top: 18px;
  padding: 4px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.pb-summary-flat {
  padding: 0;
  border: 0;
  background: none;
}
.pb-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
}
.pb-row:last-child {
  border-bottom: 0;
}
.pb-row > span:first-child {
  color: var(--text-secondary);
}
.pb-row-val {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  text-align: right;
  min-width: 0;
}
.pb-pill {
  padding: 2px 10px;
  border-radius: 999px;
  background: #f0eee8;
  color: #3e524e;
  font-size: 13px;
  font-weight: 600;
}
.pb-pill.is-verified {
  background: #e3f2ec;
  color: #06604f;
}
.pb-verified-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pb-consent {
  margin-top: 16px;
}
.pb-consent-small {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}
.pb-done {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--on-dark-accent);
}
.pb-success-panel {
  margin-top: 24px;
  padding: 20px;
}
.pb-success-panel p {
  margin-bottom: 14px;
}
@media (max-width: 1023px) {
  .pb-hero-referred {
    padding: 40px;
  }
}
@media (max-width: 767px) {
  .pb-hero-referred {
    margin-top: 8px;
    padding: 20px;
    border-radius: 22px;
  }
  .pb-hero-referred h1 {
    font-size: 40px;
  }
  .pb-logo {
    width: 60px;
    height: 60px;
  }
  .pb-desc {
    font-size: 16px;
  }
  .pb-hero-cta .btn {
    width: 100%;
  }
  .pb-hero-actions {
    flex-direction: column;
  }
  .pb-helper {
    max-width: none;
    text-align: center;
  }
  .pb-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: rgba(250, 249, 246, 0.97);
  }
  .js .pb-bar.is-shown {
    display: flex !important;
  }
  .js .pb-bar.is-shown.is-suppressed,
  html.pb-modal-open .pb-bar {
    display: none !important;
  }
  .js .pb-bar.js-only:not(.is-shown) {
    display: none !important;
  }
  .pb-bar .btn {
    flex: 1;
  }
  .pb-bar .btn-secondary {
    background: var(--bg);
  }
  .pb-share {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    max-height: 92vh;
    transform: none;
    padding: 8px 20px calc(20px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
  }
  .pb-handle {
    display: block;
    position: absolute;
    top: 8px;
    left: 50%;
    width: 36px;
    height: 4px;
    margin-left: -18px;
    border-radius: 2px;
    background: var(--handle);
  }
  .pb-sheet-head {
    padding-top: 14px;
  }
  .pb-flow {
    inset: 0;
    top: 0;
    left: 0;
    width: auto;
    max-height: none;
    transform: none;
    border-radius: 0;
    padding-top: env(safe-area-inset-top);
  }
  .pb-flow-body {
    padding: 16px;
  }
  .pb-flow-foot {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    margin-bottom: var(--pb-kb);
  }
  .pb-otp-cell {
    height: 56px;
  }
  .pb-dialog .pb-title {
    font-size: 26px;
  }
}

/* ---- Recommend modal and /recommend page (PD-100): one card, a dialog on top of any page or the page's own content. The QR is desktop-only. */
.rec-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.rec-scrim {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}
.rec-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 100%;
  overflow-y: auto;
  padding: 36px 32px 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg);
  box-shadow: 0 20px 48px rgba(20, 44, 41, 0.22);
}
.rec-panel:focus-visible {
  outline: none;
}
.rec-x {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
}
.rec-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  text-align: center;
}
.rec-title {
  font-size: 28px;
  line-height: 1.2;
  color: var(--text-primary);
}
.rec-lead {
  margin: 0 0 8px;
  color: var(--text-secondary);
}
.rec-unavailable {
  margin: 0;
  color: var(--text-secondary);
}
.rec-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.rec-or {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}
.rec-or::before,
.rec-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--divider);
}
.rec-qr-code {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.rec-qr-code svg {
  display: block;
  width: 176px;
  height: 176px;
}
.rec-page {
  display: flex;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 96px;
}
.rec-page .rec-card {
  width: 100%;
  max-width: 440px;
  padding: 36px 32px 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}
@media (max-width: 767px) {
  .rec-qr {
    display: none;
  }
  .rec-modal {
    align-items: flex-end;
    padding: 0;
  }
  .rec-panel {
    max-width: none;
    padding: 36px 20px calc(24px + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 24px 24px 0 0;
  }
  .rec-page {
    padding-top: 32px;
    padding-bottom: 56px;
  }
  .rec-page .rec-card {
    padding: 28px 20px 24px;
  }
}

/* ==== For businesses page (PD-120): `.fb-*`. Tokens only; mobile = the 390 artboard (<=767px). ============================== */
.page.fb {
  padding-bottom: 0;
}
.fb-mob,
.fb-conn.fb-mob {
  display: none;
}
.fb-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.fb-sec {
  border-top: 1px solid var(--border);
}
.fb-sec > .wrap {
  padding-top: 80px;
  padding-bottom: 80px;
}
.fb-sec > .fb-stack-72 {
  padding-bottom: 72px;
}
.fb-warm {
  background: var(--surface-subtle);
}
.fb-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
}
.fb-head h2,
.fb-faq-h h2 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.fb-lead {
  font-size: 18px;
  color: var(--text-secondary);
}
.fb-note {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 300px;
}
.fb-control-l > .fb-note {
  max-width: none;
}

/* hero */
.fb-hero > .wrap {
  padding-top: 40px;
  padding-bottom: 80px;
}
.fb-hero-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 48px 64px;
  padding: 64px;
  border-radius: 28px;
  background: var(--text-primary);
  color: var(--on-dark-primary);
}
.fb-hero-panel a:focus-visible,
.for-business a:focus-visible {
  outline-color: var(--on-dark-accent);
}
.fb-hero-copy {
  flex: 1 1 480px;
  min-width: 0;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.fb-hero h1 {
  font-size: 64px;
  line-height: 1;
  letter-spacing: -1.92px;
  color: var(--on-dark-primary);
}
.fb-hero h1 span {
  color: var(--on-dark-accent);
}
.fb-hero-lead {
  max-width: 500px;
  font-size: 19px;
  color: var(--on-dark-secondary);
}
.fb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 22px;
}
.fb-hero-fig {
  flex: 1 1 400px;
  min-width: 0;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fb-journey,
.fb-journey-in {
  display: flex;
  flex-direction: column;
}
.fb-caption {
  font-size: 14px;
  color: var(--on-dark-secondary);
}
.fb-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 8px;
  border-radius: 18px;
}
.fb-pill p {
  font-size: 17px;
}
.fb-pill strong {
  font-weight: 600;
}
.fb-pill-ryan {
  align-self: flex-start;
  background: rgba(227, 242, 236, 0.08);
  border: 1px solid rgba(227, 242, 236, 0.2);
}
.fb-pill-ryan p {
  color: var(--on-dark-secondary);
}
.fb-pill-ryan strong {
  color: var(--on-dark-primary);
}
.fb-pill-emma {
  align-self: center;
  margin-left: -20px;
  background: var(--brand-soft);
}
.fb-pill-emma p {
  color: var(--text-strong);
}
.fb-pill-emma strong {
  color: var(--text-primary);
}
.fb-pill-check {
  color: var(--brand);
}
.fb-av {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 17px var(--font-display);
}
.fb-av-amber {
  background: #efe7da;
  color: #6b5326;
}
.fb-av-white {
  background: var(--surface);
  color: var(--brand-strong);
  font-size: 16px;
}
.fb-av-mint {
  width: 52px;
  height: 52px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 19px;
}
.fb-conn {
  display: block;
  width: 100%;
  height: 56px;
}
.fb-conn path {
  stroke: var(--on-dark-accent);
  stroke-width: 2.4px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.fb-conn circle {
  fill: var(--on-dark-accent);
}
.fb-flow {
  stroke-dasharray: 2 10;
  /* Three cycles (4.8 s), then still: under 5 s, so no pause control is needed (PD-177, WCAG 2.2.2). -24 is two dash periods, so it stops seamlessly. */
  animation: fb-flow 1.6s linear 3;
}
@keyframes fb-flow {
  to {
    stroke-dashoffset: -24;
  }
}
.fb-lead-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 22px;
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: 0 0 0 6px rgba(159, 220, 198, 0.16);
  animation: fb-in 3.2s ease-out 1 both;
}
@keyframes fb-in {
  0%,
  40% {
    opacity: 0.35;
    transform: translateY(6px);
  }
  70%,
  100% {
    opacity: 1;
    transform: none;
  }
}
.fb-lc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fb-lc-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.fb-new {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 14px;
  font-weight: 600;
}
.fb-lc-id {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fb-lc-title {
  font: 500 28px/1.05 var(--font-display);
}
.fb-lc-name {
  font-size: 16px;
  color: var(--text-secondary);
}
.fb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
}
.fb-chip svg {
  color: var(--brand);
}

/* how it works */
.fb-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px 40px;
}
.fb-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 22px;
  border-top: 2px solid var(--text-primary);
}
.fb-step:last-child {
  border-top-color: var(--brand);
}
.fb-step > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fb-step-n {
  font: 600 20px var(--font-display);
  color: var(--brand);
}
.fb-step h3 {
  font-size: 20px;
  line-height: 1.4;
}
.fb-step p,
.fb-why p,
.fb-ctl p {
  color: var(--text-secondary);
}

/* see it in action */
.fb-ex-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
}
.fb-ex-head .fb-head {
  max-width: 640px;
}
.fb-ex {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.fb-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}
.fb-card-dark {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: var(--on-dark-primary);
}
.fb-ex-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
}
.fb-ex-n {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font: 700 15px/1 var(--font-display);
}
.fb-card-dark .fb-ex-n {
  background: var(--brand-soft);
  color: var(--text-primary);
}
.fb-accent {
  color: var(--on-dark-accent);
}
.fb-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--divider);
  border-radius: 16px;
  background: var(--bg);
}
.fb-card-dark .fb-mini {
  background: rgba(227, 242, 236, 0.08);
  border-color: var(--on-dark-border);
}
.fb-mini-rows {
  gap: 0;
  padding: 4px 14px;
}
.fb-mini-id {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fb-between {
  justify-content: space-between;
}
.fb-grow {
  flex: 1;
}
.fb-sq {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--text-primary);
  color: var(--on-dark-primary);
  font: 700 13px var(--font-display);
}
.fb-av-s {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font: 700 12px var(--font-display);
}
.fb-mini-name {
  font-size: 14px;
  font-weight: 600;
}
.fb-mini-sub {
  font-size: 13px;
  color: var(--text-muted);
}
.fb-earn {
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 14px;
  font-weight: 600;
}
.fb-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
}
.fb-row > span {
  color: var(--text-secondary);
}
.fb-card-dark .fb-row > span,
.fb-card-dark .fb-cap {
  color: var(--on-dark-secondary);
}
.fb-row b {
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.fb-row-top {
  padding-top: 10px;
  border-top: 1px solid var(--divider);
}
.fb-card-dark .fb-row-top {
  border-top-color: var(--on-dark-border);
}
.fb-mini-rows .fb-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--divider);
}
.fb-mini-rows .fb-row-ok {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  border-bottom: 0;
  font-weight: 600;
  color: var(--brand-strong);
}
.fb-status {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 600;
}
.fb-status-won {
  color: var(--text-primary);
  font-weight: 700;
}
.fb-cap {
  font-size: 15px;
  color: var(--text-secondary);
}
.fb-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.fb-strip-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-secondary);
}
.fb-strip-title {
  font: 500 26px/1.15 var(--font-display);
  color: var(--text-primary);
}
.fb-strip-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
.fb-tlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-strong);
  text-decoration: none;
}
.fb-tlink:hover {
  color: var(--text-primary);
}

/* why LeLoop */
.fb-whys {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px 48px;
}
.fb-why {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fb-why h3,
.fb-ctl h3 {
  font-size: 18px;
  line-height: 1.4;
}
.fb-ico {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

/* business control */
.fb-control {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px 72px;
}
.fb-control-l {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.fb-mock {
  padding: 24px 24px 8px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}
.fb-mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.fb-mock-top p {
  font: 500 22px var(--font-display);
}
.fb-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 600;
}
.fb-active i {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--brand);
}
.fb-mock-eyebrow {
  padding: 16px 0 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.fb-mock-amt {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
}
.fb-mock-amt b {
  font-size: 15px;
  font-weight: 600;
}
.fb-mock-amt em {
  font-style: normal;
  font-weight: 400;
  color: var(--text-muted);
}
.fb-mock-amt p {
  font-size: 14px;
  color: var(--text-muted);
}
.fb-mock-amt > span {
  font: 500 24px var(--font-display);
}
.fb-mock-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 15px;
}
.fb-mock-row span {
  color: var(--text-secondary);
}
.fb-mock-row b {
  font-weight: 600;
}
.fb-mock > :last-child,
.fb-mock > :last-child .fb-mock-row {
  border-bottom: 0;
}
.fb-ctls {
  flex: 1 1 460px;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-subtle-control);
}
.fb-ctl {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle-control);
}
.fb-ctl-check {
  margin-top: 4px;
  color: var(--brand);
}
.fb-disc {
  margin-top: 6px;
}
.fb-disc summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-strong);
}
.fb-disc summary::-webkit-details-marker,
.fb .faq summary::-webkit-details-marker {
  display: none;
}
.fb-disc p {
  padding: 4px 0;
  font-size: 15px;
}
.fb details[open] > summary > svg {
  transform: rotate(180deg);
}

/* join or claim */
.fb-jc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}
.fb-jcard,
.fb-ccard {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 36px;
  border-radius: 24px;
}
.fb-jcard {
  border: 1px solid var(--border);
  background: var(--surface);
}
.fb-ccard {
  background: var(--brand-soft);
}
.fb-tile {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fb-tile-brand {
  background: var(--brand);
  color: var(--on-brand);
}
.fb-tile-white {
  background: var(--surface);
  color: var(--brand-strong);
}
.fb-jt {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fb-jt h3 {
  font: 500 30px/1.1 var(--font-display);
}
.fb-jt p {
  color: var(--text-secondary);
}
.fb-ccard .fb-jt p {
  color: var(--text-strong);
}
.fb-jsteps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.fb-jsteps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  padding: 12px 0;
  border-top: 1px solid var(--divider);
}
.fb-jsteps li:last-child {
  border-bottom: 1px solid var(--divider);
}
.fb-jn {
  font: 600 17px var(--font-display);
  color: var(--brand);
}
.fb-cl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fb-cl li {
  display: grid;
  grid-template-columns: 26px 1fr;
}
.fb-cl svg {
  margin-top: 3px;
  color: var(--brand-strong);
}
.fb-jaction {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.fb-jaction .btn {
  align-self: flex-start;
}
.fb-jaction p {
  font-size: 14px;
  color: var(--text-strong);
}
.fb-claim-btn,
.fb-claim-btn:hover {
  background: var(--surface);
  border-color: var(--surface);
}
.fb-golive {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.fb-golive svg {
  flex: none;
  margin-top: 2px;
  color: var(--brand-strong);
}
.fb-golive p {
  max-width: 820px;
  color: var(--text-secondary);
}
.fb-golive strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* FAQ (the How it works `.faq` details, with a chevron) */
.fb-faq-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 80px;
}
.fb-faq-h {
  flex: 1 1 280px;
  max-width: 340px;
}
.fb-faqs {
  flex: 999 1 560px;
  min-width: 0;
}
.fb .faq summary {
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 18px 0;
  list-style: none;
}
.fb .faq:last-child {
  border-bottom: 1px solid var(--border);
}
.fb .faq p {
  max-width: none;
  margin: 0;
  padding: 0 40px 22px 0;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .fb-desk,
  .fb-conn.fb-desk {
    display: none;
  }
  .fb-mob,
  .fb-conn.fb-mob {
    display: block;
  }
  .fb-stack {
    gap: 28px;
  }
  .fb-sec > .wrap {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .fb-sec > .fb-stack-72 {
    padding-bottom: 36px;
  }
  .fb-head h2,
  .fb-faq-h h2 {
    font-size: 28px;
    letter-spacing: -0.02em;
  }
  .fb-lead {
    font-size: 16px;
  }
  .fb-hero > .wrap {
    padding-top: 16px;
    padding-bottom: 36px;
  }
  .fb-hero-panel {
    gap: 16px;
    padding: 28px 20px 22px;
    border-radius: 22px;
  }
  .fb-hero h1 {
    font-size: 40px;
    line-height: 1.02;
    letter-spacing: -1px;
  }
  .fb-hero-lead {
    font-size: 16px;
  }
  .fb-hero-actions {
    margin-top: 6px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .fb-hero-actions .btn-quiet-dark {
    justify-content: center;
  }
  .fb-hero-fig {
    flex-basis: auto;
    width: 100%;
  }
  .fb-av {
    width: 38px;
    height: 38px;
  }
  .fb-pill {
    padding: 6px 16px 6px 6px;
    border-radius: 999px;
  }
  .fb-pill p {
    font-size: 16px;
  }
  .fb-conn {
    height: 44px;
  }
  .fb-lead-card {
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
  }
  .fb-lc-title {
    font-size: 24px;
  }
  .fb-av-mint {
    width: 46px;
    height: 46px;
  }
  .fb-chips {
    flex-direction: column;
    align-items: flex-start;
  }
  .fb-caption {
    font-size: 13px;
  }
  .fb-steps {
    gap: 0;
  }
  .fb-step {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0;
    padding: 16px 0;
    border-top: 1px solid var(--border);
  }
  .fb-step:last-child {
    border-top-color: var(--border);
  }
  .fb-step h3 {
    font-size: 18px;
  }
  .fb-note {
    max-width: none;
  }
  .fb-card {
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
  }
  .fb-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .fb-strip-title {
    font-size: 23px;
  }
  .fb-strip-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .fb-whys {
    gap: 22px;
  }
  .fb-why {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
  }
  .fb-ico {
    width: 40px;
    height: 40px;
  }
  .fb-control {
    gap: 28px;
  }
  .fb-mock {
    padding: 18px 18px 4px;
    border-radius: 18px;
  }
  .fb-jc {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .fb-jcard,
  .fb-ccard {
    padding: 22px;
    border-radius: 20px;
  }
  .fb-jt h3 {
    font-size: 26px;
  }
  .fb-jaction .btn {
    align-self: stretch;
  }
  .fb-claim-btn {
    min-height: 48px;
  }
  .fb-faq-wrap {
    gap: 16px;
  }
  .fb-faq-h {
    flex-basis: auto;
    max-width: none;
  }
  .fb .faq summary {
    min-height: 56px;
    font-size: 16px;
  }
  .fb .faq p {
    padding-right: 28px;
    font-size: 15px;
  }
  .fb-faqs {
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fb-flow,
  .fb-lead-card {
    animation: none;
  }
}
