/* Funnel-only light, step-by-step chrome. Opt in with body.funnel or body.funnel-home.
   Does not change /geo/ workbench or other pages that do not load this file. */

body.funnel,
body.funnel-home {
  background: #fafafa;
  color: #171717;
}

/* ── Shared header softening (funnel pages only) ── */
body.funnel .site-header,
body.funnel-home .site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #e5e5e5;
}
body.funnel .lang-switch,
body.funnel-home .lang-switch {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}
body.funnel .lang-switch button,
body.funnel-home .lang-switch button {
  background: #fff;
  color: #525252;
}
body.funnel .lang-switch button.is-active,
body.funnel .lang-switch button[aria-pressed="true"],
body.funnel-home .lang-switch button.is-active,
body.funnel-home .lang-switch button[aria-pressed="true"] {
  background: #171717;
  color: #fff;
}

/* ── Buttons ── */
body.funnel .button {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
body.funnel .button-mint,
body.funnel .button-dark,
body.funnel .button-mint.button-large {
  background: #171717;
  color: #fff;
  border-color: #171717;
}
body.funnel .button-mint:hover,
body.funnel .button-dark:hover {
  background: #262626;
}
body.funnel .button-outline {
  background: #fff;
  color: #171717;
  border-color: #e5e5e5;
}
body.funnel .button-outline:hover {
  border-color: #d4d4d4;
  background: #fafafa;
}

/* ── Auth cards (override the dark auth-card in home.css) ── */
body.funnel .auth-shell {
  max-width: 420px;
  margin: 48px auto 80px;
}
body.funnel .auth-shell.funnel-shell-wide {
  max-width: 560px;
}
body.funnel .auth-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
  color: #171717;
}
body.funnel .auth-card h1 {
  font-size: 1.35rem;
  margin: 0 0 8px;
  color: #171717;
  letter-spacing: -0.02em;
}
body.funnel .auth-card .lead {
  color: #525252;
  font-size: 0.92rem;
  margin: 0 0 22px;
  line-height: 1.55;
}
body.funnel .auth-card label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #525252;
  margin: 0 0 6px;
}
body.funnel .auth-card input,
body.funnel .auth-card input[type="text"],
body.funnel .auth-card input[type="email"],
body.funnel .auth-card input[type="password"],
body.funnel .auth-card input[type="number"] {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  padding: 12px 14px;
  color: #171717;
  font-size: 1rem;
  margin-bottom: 14px;
}
body.funnel .auth-card input:focus {
  outline: none;
  border-color: #171717;
}
body.funnel .auth-card .err,
body.funnel .auth-card .oauth-err {
  color: #b42318;
}
body.funnel .auth-card .ok {
  color: #0d6b4c;
}
body.funnel .auth-card .meta,
body.funnel .auth-card .meta a {
  color: #737373;
}
body.funnel .auth-card .meta a {
  color: #171717;
  font-weight: 600;
}
body.funnel .oauth-divider {
  color: #a3a3a3;
}
body.funnel .oauth-divider::before,
body.funnel .oauth-divider::after {
  background: #e5e5e5;
}
body.funnel .auth-card .gate-banner,
body.funnel .gate-banner {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  color: #171717;
}
body.funnel .auth-card .gate-banner a,
body.funnel .gate-banner a {
  color: #171717;
  font-weight: 600;
}
body.funnel .auth-amt {
  gap: 10px;
  margin: 8px 0 12px;
}
body.funnel .auth-amt button {
  background: #fff;
  border: 1.5px solid #e5e5e5;
  color: #171717;
  border-radius: 10px;
  padding: 14px 12px;
  font-weight: 700;
}
body.funnel .auth-amt button.is-sel {
  border-color: #171717;
  background: #171717;
  color: #fff;
}

/* ── Hub ── */
body.funnel .biz-shell {
  margin: 32px auto 80px;
}
body.funnel .biz-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
  color: #171717;
}
body.funnel .biz-card h1 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
body.funnel .app-progress {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fafafa;
}
body.funnel .app-progress li + li {
  border-top-color: #e5e5e5;
}
body.funnel .biz-feature-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #737373;
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}
body.funnel .biz-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 22px;
}
@media (max-width: 640px) {
  body.funnel .biz-feature-grid {
    grid-template-columns: 1fr;
  }
}
body.funnel .biz-feature {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 16px 16px 14px;
  min-height: 112px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
body.funnel .biz-feature:hover {
  border-color: #d4d4d4;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
body.funnel .biz-feature h2 {
  font-size: 1rem;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
body.funnel .biz-feature p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #525252;
}
body.funnel .oauth-providers {
  border-top: 1px solid #e5e5e5;
}

/* ── Recharge steps ── */
body.funnel .funnel-stepbar {
  display: flex;
  gap: 8px;
  margin: 0 0 22px;
}
body.funnel .funnel-step {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: #e5e5e5;
}
body.funnel .funnel-step.is-active,
body.funnel .funnel-step.is-done {
  background: #171717;
}
body.funnel .funnel-step-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #737373;
  margin: 0 0 8px;
}
body.funnel .funnel-step-label span.is-active {
  color: #171717;
  font-weight: 700;
}
body.funnel .funnel-done {
  text-align: center;
  padding: 28px 8px 8px;
}
body.funnel .funnel-done h2 {
  font-size: 1.25rem;
  margin: 0 0 8px;
}
body.funnel .funnel-done .lead {
  margin: 0 0 18px;
}
body.funnel .funnel-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #737373;
  margin: 0 0 8px;
  font-weight: 700;
}

/* ── Order / business flow ── */
body.funnel .flow-hero {
  padding: 40px 0 24px;
}
body.funnel .flow-step a {
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
body.funnel .flow-step a:hover {
  background: #fff;
  border-color: #d4d4d4;
}
body.funnel .flow-num {
  border: 0;
  background: #171717;
  color: #fff;
  border-radius: 99px;
}
body.funnel .scenario-template-card,
body.funnel .order-card,
body.funnel .order-mode-btn {
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fff;
}
body.funnel .order-mode-btn {
  border-radius: 10px;
}
body.funnel .order-mode-btn.is-active {
  background: #171717;
  color: #fff;
  border-color: #171717;
}
body.funnel .order-field input,
body.funnel .order-field select,
body.funnel .order-field textarea {
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
}
body.funnel .section-head .eyebrow {
  letter-spacing: 0.1em;
  color: #737373;
}

/* ── Homepage: later sections only; do not restyle Hero copy or typography ── */
body.funnel-home #demo,
body.funnel-home #geo-demo,
body.funnel-home #plans,
body.funnel-home #faq,
body.funnel-home #business-flow,
body.funnel-home #research-inquire {
  /* keep existing padding; only soften cards below the hero */
}
body.funnel-home #tethys-beta-v2 a.beta-card,
body.funnel-home .scenario,
body.funnel-home #demo .demo-sim-badge,
body.funnel-home #plans .plan-card,
body.funnel-home .faq-item,
body.funnel-home #research-inquire .quote-card,
body.funnel-home #geo-demo {
  border-radius: 12px;
}
body.funnel-home #tethys-beta-v2 a.beta-card,
body.funnel-home .scenario {
  border-color: #e5e5e5;
}
body.funnel-home #demo,
body.funnel-home #geo-demo {
  border-top-color: #e5e5e5;
  border-bottom-color: #e5e5e5;
}
