/* for-business.css — the offer page. Tokens from theme.css. */

.fb-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--bm-navy-800); color: #fff;
  padding: clamp(56px, 8vw, 100px) var(--bm-pad);
  text-align: center;
}
.fb-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23C79A1E' stroke-width='1'%3E%3Ccircle cx='0' cy='0' r='44'/%3E%3Ccircle cx='88' cy='0' r='44'/%3E%3Ccircle cx='0' cy='88' r='44'/%3E%3Ccircle cx='88' cy='88' r='44'/%3E%3Ccircle cx='44' cy='44' r='44'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 88px 88px; opacity: .12;
}
.fb-hero-inner { max-width: 780px; margin: 0 auto; }
.fb-hero h1 { color: #fff; font-size: var(--bm-text-3xl); margin: 0 0 var(--bm-4); line-height: 1.12; }
.fb-sub { color: rgba(255,255,255,.85); font-size: var(--bm-text-md); line-height: 1.7; max-width: 62ch; margin: 0 auto var(--bm-8); }
.fb-hero-ctas { display: flex; gap: var(--bm-3); justify-content: center; flex-wrap: wrap; }
.fb-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.fb-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: #fff; }

.fb-section { max-width: var(--bm-container); margin: 0 auto; padding: clamp(44px, 6vw, 72px) var(--bm-pad); }
.fb-section-tint { max-width: none; background: var(--bm-surface-3); border-block: 1px solid var(--bm-line); }
.fb-section-tint > * { max-width: var(--bm-container); margin-inline: auto; }

/* Steps */
.fb-steps { display: grid; gap: var(--bm-5); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.fb-step {
  background: var(--bm-surface); border: 1px solid var(--bm-line);
  border-radius: var(--bm-r-lg); padding: var(--bm-6); box-shadow: var(--bm-shadow-xs);
}
.fb-step span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bm-gold-050); color: var(--bm-gold-700);
  font-family: var(--bm-font-display); font-weight: 700; font-size: 1.05rem;
  border: 1px solid #EBD9A6; margin-bottom: var(--bm-3);
}
.fb-step h3 { margin: 0 0 var(--bm-2); font-size: var(--bm-text-lg); }
.fb-step p { margin: 0; color: var(--bm-ink-soft); font-size: var(--bm-text-base); line-height: 1.65; }

/* Plans */
.fb-plans { display: grid; gap: var(--bm-5); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.fb-plan {
  position: relative; background: var(--bm-surface); border: 1px solid var(--bm-line);
  border-radius: var(--bm-r-lg); padding: var(--bm-6); box-shadow: var(--bm-shadow-xs);
  display: flex; flex-direction: column;
}
.fb-plan--featured {
  border-color: var(--bm-gold-500); box-shadow: var(--bm-shadow-lg);
  background: linear-gradient(180deg, #FFFDF7 0%, var(--bm-surface) 30%);
}
.fb-plan-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--bm-gold-500); color: var(--bm-navy-900);
  font-size: var(--bm-text-xs); font-weight: 800; letter-spacing: .04em;
  padding: 4px 14px; border-radius: var(--bm-r-pill); white-space: nowrap;
}
.fb-plan-for { margin: 0 0 4px; font-size: var(--bm-text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bm-teal-600); }
.fb-plan h3 { margin: 0 0 var(--bm-3); font-size: var(--bm-text-xl); }
.fb-plan-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.fb-plan-price b { font-family: var(--bm-font-display); font-size: 2.1rem; color: var(--bm-navy-900); font-variant-numeric: tabular-nums; }
.fb-plan-price span { color: var(--bm-muted); font-size: var(--bm-text-sm); }
.fb-plan-plus { margin: 2px 0 var(--bm-3); color: var(--bm-gold-700); font-weight: 600; font-size: var(--bm-text-sm); }
.fb-plan-tag { margin: 0 0 var(--bm-4); color: var(--bm-ink-soft); font-size: var(--bm-text-base); line-height: 1.6; }
.fb-plan ul { list-style: none; margin: 0 0 var(--bm-5); padding: 0; display: grid; gap: 9px; }
.fb-plan li {
  position: relative; padding-left: 26px; font-size: var(--bm-text-base); color: var(--bm-ink-soft);
}
.fb-plan li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--bm-teal-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.fb-plan-cta { width: 100%; margin-top: auto; }
.fb-fineprint { margin: var(--bm-6) 0 0; font-size: var(--bm-text-sm); color: var(--bm-muted); max-width: 80ch; }

/* Why */
.fb-why { display: grid; gap: var(--bm-5); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.fb-why h3 { margin: 0 0 var(--bm-2); font-size: var(--bm-text-lg); }
.fb-why p { margin: 0; color: var(--bm-ink-soft); font-size: var(--bm-text-base); line-height: 1.65; }

/* ===== Funnel v2: business picker + plan variants ===== */
.fb-pickcard {
  max-width: 720px; margin: 0 auto; background: var(--bm-surface);
  border: 1px solid var(--bm-line); border-radius: var(--bm-r-lg);
  padding: var(--bm-6); box-shadow: var(--bm-shadow);
  position: relative; overflow: visible;
}
.fb-pickcard h2 { margin: 0 0 var(--bm-2); font-size: var(--bm-text-xl); }
.fb-pick-sub { margin: 0 0 var(--bm-4); color: var(--bm-muted); font-size: var(--bm-text-base); }
.fb-search input {
  width: 100%; padding: 13px 16px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-sm);
  font: inherit; font-size: var(--bm-text-md); background: var(--bm-surface);
  transition: border-color var(--bm-fast), box-shadow var(--bm-fast);
}
.fb-search input:focus { outline: none; border-color: var(--bm-teal-500); box-shadow: 0 0 0 3px rgba(18,125,145,.13); }
.fb-results { margin-top: var(--bm-2); border: 1px solid var(--bm-line); border-radius: var(--bm-r); overflow: hidden; box-shadow: var(--bm-shadow-sm); }
.fb-result {
  display: flex; align-items: center; gap: var(--bm-3); width: 100%;
  padding: 10px 12px; border: 0; border-bottom: 1px solid var(--bm-line-soft);
  background: var(--bm-surface); cursor: pointer; text-align: left; font: inherit;
}
.fb-result:last-child { border-bottom: 0; }
.fb-result:hover { background: var(--bm-teal-050); }
.fb-result img { width: 52px; height: 40px; object-fit: cover; border-radius: 7px; flex: none; }
.fb-result b { display: block; font-size: var(--bm-text-base); color: var(--bm-ink); }
.fb-result small { display: block; color: var(--bm-muted); font-size: var(--bm-text-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 480px; }
.fb-pick-alt { margin: var(--bm-4) 0 0; font-size: var(--bm-text-sm); color: var(--bm-muted); }
.fb-selected-row { display: flex; align-items: center; gap: var(--bm-4); }
.fb-selected-row img { width: 72px; height: 54px; object-fit: cover; border-radius: var(--bm-r-sm); flex: none; }
.fb-sel-text { flex: 1; min-width: 0; }
.fb-sel-text b { display: block; font-family: var(--bm-font-display); font-size: var(--bm-text-lg); color: var(--bm-navy-900); }
.fb-sel-text span { color: var(--bm-muted); font-size: var(--bm-text-sm); }
.fb-msg { margin: var(--bm-3) 0 0; min-height: 1.2em; font-size: var(--bm-text-base); color: var(--bm-muted); }
.fb-msg.err { color: var(--bm-danger); font-weight: 600; }
.fb-msg.ok { color: var(--bm-success); font-weight: 600; }

.fb-alt-cta {
  width: 100%; margin-top: 8px; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: var(--bm-text-sm); font-weight: 600; color: var(--bm-teal-700);
  text-decoration: underline; text-underline-offset: 3px; padding: 4px;
}
.fb-alt-cta:hover { color: var(--bm-teal-600); }
.fb-plan--partner { border-color: var(--bm-navy-600); background: linear-gradient(180deg, var(--bm-navy-050) 0%, var(--bm-surface) 32%); }
.fb-plan--soon { opacity: .92; border-style: dashed; }
.fb-plans--wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* ---- Step 2: prove ownership (verify-first) ------------------------------- */
.fb-verify h2 { margin-bottom: var(--bm-2); }
.fb-dest {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  background: var(--bm-surface-3); border: 1px solid var(--bm-line); border-radius: var(--bm-r);
  padding: 12px 16px; margin: var(--bm-4) 0;
}
.fb-dest-label { font-size: var(--bm-text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bm-muted); }
.fb-dest b { font-family: var(--bm-font-display); font-size: 1.15rem; color: var(--bm-navy-900); font-variant-numeric: tabular-nums; }
.fb-codebox { margin-top: var(--bm-4); display: grid; gap: var(--bm-3); max-width: 420px; }
.fb-field > span { display: block; font-size: var(--bm-text-xs); font-weight: 700; color: var(--bm-ink-soft); margin: 0 0 5px; }
.fb-field input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--bm-line); border-radius: var(--bm-r-sm);
  font: inherit; font-size: 1.4rem; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums;
}
.fb-field input:focus { outline: none; border-color: var(--bm-teal-500); box-shadow: 0 0 0 3px rgba(18,125,145,.13); }
.fb-codebox-actions { display: flex; gap: var(--bm-2); flex-wrap: wrap; }
.fb-verified { margin: var(--bm-4) 0 0; padding: 12px 16px; border-radius: var(--bm-r); background: var(--bm-success-bg); color: var(--bm-success); font-weight: 600; }
.fb-blocked { margin: var(--bm-4) 0 0; padding: 12px 16px; border-radius: var(--bm-r); background: var(--bm-danger-bg); color: var(--bm-danger); }
.fb-plans-note { max-width: var(--bm-container); margin: 0 auto var(--bm-5); color: var(--bm-teal-700); font-weight: 600; }
.fb-plan.is-locked { opacity: .55; }
.fb-plan.is-locked .fb-plan-cta, .fb-plan.is-locked .fb-alt-cta { cursor: not-allowed; }
