:root {
  --us-navy: #0b2340;
  --us-navy-2: #14395f;
  --us-blue: #1261e8;
  --us-red: #ea3342;
  --us-red-dark: #bd1f30;
  --us-gold: #c99a2e;
  --us-gold-soft: #fff5d8;
  --us-ink: #102943;
  --us-slate: #53677e;
  --us-line: #dce6ef;
  --us-powder: #f2f7fd;
}

body.us-funnel {
  --bg: #f7faff;
  --text: var(--us-ink);
  --muted: var(--us-slate);
  --card: #fff;
  --border: var(--us-line);
  --primary: var(--us-red);
  --primary2: var(--us-gold);
  --cfg-bg: #f7faff;
  --cfg-bg2: var(--us-powder);
  --cfg-surface: #fff;
  --cfg-surface-2: #f7faff;
  --cfg-border: rgba(11, 35, 64, .11);
  --cfg-border-strong: rgba(234, 51, 66, .36);
  --cfg-text: var(--us-ink);
  --cfg-muted: var(--us-slate);
  --cfg-accent: var(--us-red);
  --cfg-accent2: var(--us-gold);
  --cfg-shadow: 0 22px 60px rgba(11, 35, 64, .11);
  --bb-bg: #f7faff;
  --bb-bg2: var(--us-powder);
  --bb-surface: #fff;
  --bb-surface-2: #f7faff;
  --bb-border: rgba(11, 35, 64, .11);
  --bb-border-strong: rgba(234, 51, 66, .36);
  --bb-accent: var(--us-red);
  --bb-accent2: var(--us-gold);
  --bb-text: var(--us-ink);
  --bb-muted: var(--us-slate);
  --bb-shadow: 0 22px 60px rgba(11, 35, 64, .11);
  min-height: 100%;
  background:
    radial-gradient(circle at 9% 8%, rgba(18, 97, 232, .07), transparent 28rem),
    linear-gradient(180deg, #fff 0, #f7faff 34rem, #fff 100%);
  color: var(--us-ink);
  font-family: Manrope, Arial, sans-serif;
}

body.us-funnel::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 3px;
  background: var(--us-red);
  content: "";
}

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

.us-funnel h1,
.us-funnel h2,
.us-funnel h3,
.us-funnel h4,
.us-funnel button,
.us-funnel input,
.us-funnel textarea,
.us-funnel select {
  font-family: Manrope, Arial, sans-serif;
}

.us-funnel-header {
  position: sticky;
  top: 3px;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  min-height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(220, 230, 239, .96);
  box-shadow: 0 9px 30px rgba(11, 35, 64, .06);
  backdrop-filter: blur(16px);
}

.us-funnel-brand {
  justify-self: start;
  color: var(--us-navy);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1;
}

.us-funnel-brand span { color: var(--us-red); letter-spacing: 0; }

.us-funnel-home {
  justify-self: end;
  color: var(--us-navy);
  font-size: 12px;
  font-weight: 800;
}

.us-funnel-home:hover { color: var(--us-red); }

.us-funnel-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 420px;
}

.us-funnel-progress span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8a9caf;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.us-funnel-progress b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #cdd9e4;
  border-radius: 50%;
  background: #fff;
  font-style: normal;
}

.us-funnel-progress em { font-style: normal; }

.us-funnel-progress i {
  width: clamp(30px, 5vw, 74px);
  height: 1px;
  margin: 0 12px;
  background: #d9e3ec;
}

.us-funnel-progress .is-current { color: var(--us-navy); }
.us-funnel-progress .is-current b {
  color: #fff;
  background: var(--us-red);
  border-color: var(--us-red);
  box-shadow: 0 7px 18px rgba(234, 51, 66, .23);
}

.us-funnel-progress .is-done { color: var(--us-navy); }
.us-funnel-progress .is-done b {
  color: #fff;
  background: var(--us-navy);
  border-color: var(--us-navy);
}

.us-funnel-progress .is-done b::before { content: "✓"; }
.us-funnel-progress .is-done b { font-size: 0; }
.us-funnel-progress .is-done b::before { font-size: 12px; }

.us-funnel main.container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.us-funnel .page-wrap,
.us-funnel .insc-wrap {
  width: min(1180px, calc(100% - 28px));
  margin-top: 24px;
}

.us-funnel .cfg-glow.g1,
.us-funnel .insc-glow.g1 { background: rgba(18, 97, 232, .09); }
.us-funnel .cfg-glow.g2,
.us-funnel .insc-glow.g2 { background: rgba(201, 154, 46, .08); }

.us-funnel .hero {
  position: relative;
  border-color: rgba(11, 35, 64, .11);
  background:
    linear-gradient(105deg, rgba(242, 247, 253, .98), rgba(255, 255, 255, .98)),
    #fff;
  box-shadow: 0 24px 70px rgba(11, 35, 64, .12);
}

.us-funnel .hero::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 19%;
  height: 5px;
  background: var(--us-red);
  content: "";
}

.us-funnel .hero::after {
  position: absolute;
  inset: 0 auto auto 19%;
  width: 11%;
  height: 5px;
  background: var(--us-navy);
  content: "";
}

.us-funnel .hero-eyebrow {
  color: var(--us-red);
  background: #fff;
  border-color: rgba(234, 51, 66, .25);
}

.us-funnel .hero-eyebrow::before { background: var(--us-gold); }

.us-funnel .hero-title { color: var(--us-navy); }
.us-funnel .hero-title em {
  color: var(--us-red);
  background: linear-gradient(135deg, var(--us-red), #f0524f 68%, var(--us-gold));
  -webkit-background-clip: text;
  background-clip: text;
}

.us-funnel .top-pill,
.us-funnel .pill,
.us-funnel .kpi,
.us-funnel .trust-badge {
  background: #fff;
  border-color: var(--us-line);
}

.us-funnel .proof-banner {
  background: linear-gradient(120deg, var(--us-navy), var(--us-navy-2));
  border-color: var(--us-navy);
  box-shadow: 0 18px 42px rgba(11, 35, 64, .14);
}

.us-funnel .proof-avatar {
  color: #fff;
  background: var(--us-red);
  border: 2px solid rgba(255, 255, 255, .28);
}

.us-funnel .proof-text strong,
.us-funnel .proof-text p { color: #fff; }
.us-funnel .proof-text p { opacity: .78; }
.us-funnel .proof-chip {
  color: var(--us-navy);
  background: var(--us-gold-soft);
  border-color: rgba(201, 154, 46, .7);
}

.us-funnel .card {
  background: #fff;
  border-color: rgba(11, 35, 64, .1);
  box-shadow: 0 18px 50px rgba(11, 35, 64, .08);
}

.us-funnel .card h2,
.us-funnel .config-title h3,
.us-funnel .whatyouget h3 { color: var(--us-navy); }

.us-funnel .avatar-card {
  background: #fff;
  border-color: rgba(11, 35, 64, .11);
  box-shadow: 0 8px 20px rgba(11, 35, 64, .05);
}

.us-funnel .avatar-card:hover { border-color: rgba(234, 51, 66, .66); }
.us-funnel .avatar-card.selected {
  background: rgba(234, 51, 66, .055);
  border-color: var(--us-red);
  box-shadow: 0 0 0 3px rgba(234, 51, 66, .1), 0 12px 26px rgba(11, 35, 64, .08);
}

.us-funnel .field input,
.us-funnel .field textarea,
.us-funnel .field select {
  background: #fff;
  border-color: #cad8e5;
  color: var(--us-ink);
}

.us-funnel .field input:focus,
.us-funnel .field textarea:focus,
.us-funnel .field select:focus {
  background: #fff;
  border-color: var(--us-blue);
  box-shadow: 0 0 0 4px rgba(18, 97, 232, .1);
}

.us-funnel .mini-block,
.us-funnel .recap-right,
.us-funnel .preview-chat,
.us-funnel .whatyouget,
.us-funnel .config-box,
.us-funnel .bot-preview,
.us-funnel .lead-list li,
.us-funnel .config-tag,
.us-funnel .small-proof {
  color: var(--us-ink);
  background: var(--us-powder);
  border-color: rgba(11, 35, 64, .1);
}

.us-funnel .selected-metier-label strong { color: var(--us-red); }
.us-funnel .check { color: #fff; background: var(--us-navy); border-color: var(--us-navy); }
.us-funnel .promo-badge { background: var(--us-gold-soft); border-color: rgba(201, 154, 46, .42); }
.us-funnel .promo-badge .tag { color: #fff; background: var(--us-navy); border-color: var(--us-navy); }
.us-funnel .preview-bubble,
.us-funnel .bot-bubble { background: var(--us-red); box-shadow: 0 10px 24px rgba(234, 51, 66, .18); }

.us-funnel .btn.primary,
.us-funnel .btn.primary.big {
  color: #fff;
  background: linear-gradient(135deg, var(--us-red), #f0524f);
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(234, 51, 66, .23);
}

.us-funnel .btn.primary:hover,
.us-funnel .btn.primary.big:hover {
  background: linear-gradient(135deg, var(--us-red-dark), var(--us-red));
  box-shadow: 0 18px 38px rgba(234, 51, 66, .3);
}

.us-funnel .color-swatch.active {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(234, 51, 66, .19), 0 7px 18px rgba(11, 35, 64, .11);
}

.us-funnel .joystick {
  background:
    linear-gradient(transparent 49%, rgba(11, 35, 64, .08) 50%, transparent 51%),
    linear-gradient(90deg, transparent 49%, rgba(11, 35, 64, .08) 50%, transparent 51%),
    radial-gradient(circle at center, rgba(18, 97, 232, .12), #edf4fb);
}

.us-funnel .thumb { border-color: var(--us-red); }
.us-funnel .recap-dot { border-color: rgba(11, 35, 64, .18); }

.us-funnel-footer {
  opacity: 1 !important;
  color: var(--us-slate);
  border-top: 1px solid var(--us-line);
  background: #fff;
}

.us-funnel-footer a { color: var(--us-navy) !important; font-weight: 700; }

.us-recap {
  width: min(980px, calc(100% - 28px));
  margin: 42px auto;
}

.us-recap-hero {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 22px;
  align-items: center;
  padding: 28px;
  color: #fff;
  background: linear-gradient(125deg, var(--us-navy), var(--us-navy-2));
  border-radius: 22px 22px 0 0;
  border-top: 5px solid var(--us-red);
}

.us-recap-hero img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, .74);
  border-radius: 18px;
}

.us-recap-hero h1 { margin: 0 0 7px; color: #fff; font-size: clamp(27px, 4vw, 40px); text-align: left; }
.us-recap-hero p { margin: 0; color: rgba(255, 255, 255, .76); }

.us-recap-body {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--us-line);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 24px 70px rgba(11, 35, 64, .12);
}

.us-recap-title { margin: 0 0 16px; color: var(--us-navy); font-size: 18px; text-align: left; }
.us-recap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.us-recap-item { padding: 13px 0; border-bottom: 1px solid #edf2f7; }
.us-recap-item strong { display: block; margin-bottom: 4px; color: var(--us-slate); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.us-recap-item span,
.us-recap-item code { color: var(--us-ink); font-size: 14px; word-break: break-word; }
.us-recap-item code { padding: 3px 7px; background: var(--us-powder); border-radius: 6px; }
.us-recap-divider { height: 1px; margin: 28px 0; background: var(--us-line); }
.us-recap-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.us-recap-link { color: var(--us-blue); font-size: 13px; text-decoration: underline; word-break: break-all; }
.us-recap-code { width: 100%; min-height: 120px; margin-top: 12px; padding: 16px; color: #eaf1f8; background: var(--us-navy); border: 0; border-radius: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.55; resize: vertical; }

.us-pending {
  width: min(660px, calc(100% - 28px));
  margin: 80px auto;
  padding: 36px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--us-line);
  border-top: 5px solid var(--us-red);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(11, 35, 64, .12);
}
.us-pending-mark { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 18px; color: #fff; background: var(--us-navy); border-radius: 50%; font-size: 22px; }
.us-pending h1 { margin: 0 0 10px; color: var(--us-navy); font-size: 28px; }
.us-pending p { color: var(--us-slate); line-height: 1.6; }

@media (max-width: 760px) {
  .us-funnel-header {
    grid-template-columns: auto 1fr;
    min-height: 68px;
    padding: 0 16px;
  }
  .us-funnel-brand { font-size: 17px; }
  .us-funnel-home { display: none; }
  .us-funnel-progress { justify-self: end; min-width: 0; }
  .us-funnel-progress em { display: none; }
  .us-funnel-progress i { width: 18px; margin: 0 6px; }
  .us-funnel-progress b { width: 25px; height: 25px; }
  .us-funnel .page-wrap,
  .us-funnel .insc-wrap { width: min(100% - 18px, 1180px); margin-top: 12px; }
  .us-recap { width: min(100% - 18px, 980px); margin: 18px auto 30px; }
  .us-recap-hero { grid-template-columns: 76px 1fr; gap: 15px; padding: 21px 17px; }
  .us-recap-hero img { width: 76px; height: 76px; border-radius: 14px; }
  .us-recap-hero h1 { font-size: 25px; }
  .us-recap-body { padding: 21px 17px; }
  .us-recap-grid { grid-template-columns: 1fr; gap: 0; }
  .us-pending { margin: 34px auto; padding: 28px 20px; }
}
