:root {
  --cx-ink: #14213d;
  --cx-muted: #60708a;
  --cx-line: #dce5f0;
  --cx-soft: #f4f7fb;
  --cx-blue: #244fe0;
  --cx-blue-strong: #173cbf;
  --cx-teal: #0ba99a;
  --cx-coral: #ff6b5f;
  --cx-white: #ffffff;
  --cx-shadow: 0 22px 60px rgba(40, 62, 105, 0.12);
  --cx-radius: 24px;
}

html { scroll-behavior: smooth; background: var(--cx-white); }
body.cx-revamp {
  margin: 0;
  color: var(--cx-ink);
  background: var(--cx-white);
  font-family: "Flama", Inter, system-ui, sans-serif;
}
body.cx-revamp::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 420px;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 8%, rgba(36, 79, 224, 0.12), transparent 34%),
    radial-gradient(circle at 82% 5%, rgba(11, 169, 154, 0.12), transparent 30%),
    linear-gradient(180deg, #f7f9ff, #fff);
}
[x-cloak] { display: none !important; }
.cx-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.cx-main { min-height: 60vh; padding-top: 82px; }

.cx-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 229, 240, 0.8);
  backdrop-filter: blur(18px);
}
.cx-nav-inner { width: min(1240px, calc(100% - 36px)); height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cx-brand { display: inline-flex; align-items: center; text-decoration: none; }
.cx-brand img { width: 150px; height: 58px; object-fit: contain; object-position: left center; }
.cx-nav-links { display: flex; align-items: center; gap: 8px; }
.cx-nav-link { color: #42526b; text-decoration: none; font-weight: 650; padding: 10px 12px; border-radius: 12px; transition: 180ms ease; }
.cx-nav-link:hover, .cx-nav-link.is-active { color: var(--cx-blue); background: #eef2ff; }
.cx-nav-cta, .cx-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cx-blue), #6177ef);
  color: #fff !important;
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(36, 79, 224, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.cx-nav-cta:hover, .cx-button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(36, 79, 224, 0.28); }
.cx-button.is-secondary { color: var(--cx-ink) !important; background: #fff; border-color: var(--cx-line); box-shadow: 0 8px 22px rgba(40, 62, 105, 0.08); }
.cx-button.is-ghost { color: var(--cx-blue) !important; background: #eef2ff; box-shadow: none; }
.cx-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--cx-line); border-radius: 13px; color: var(--cx-ink); background: #fff; }
.cx-mobile-menu { display: none; padding: 0 18px 18px; background: #fff; border-top: 1px solid var(--cx-line); }
.cx-mobile-menu a { display: block; padding: 12px; border-radius: 12px; color: var(--cx-ink); text-decoration: none; font-weight: 650; }

.cx-eyebrow { color: var(--cx-teal); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.cx-display { margin: 14px 0 18px; color: var(--cx-ink); font-size: clamp(2.7rem, 6vw, 5.6rem); line-height: 0.98; letter-spacing: -0.055em; font-weight: 800; }
.cx-display span { color: var(--cx-blue); }
.cx-lead { color: var(--cx-muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.65; }
.cx-section { padding: 88px 0; }
.cx-section.is-soft { background: var(--cx-soft); }
.cx-section-head { max-width: 700px; margin-bottom: 32px; }
.cx-section-head h2 { margin: 9px 0 12px; color: var(--cx-ink); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.04em; }
.cx-section-head p { margin: 0; color: var(--cx-muted); font-size: 1.03rem; line-height: 1.65; }

.cx-hero { padding: 76px 0 58px; overflow: hidden; }
.cx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr); align-items: center; gap: 56px; }
.cx-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cx-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--cx-muted); font-size: 0.88rem; }
.cx-proof span { display: inline-flex; align-items: center; gap: 7px; }
.cx-proof i { color: var(--cx-teal); }
.cx-journey-card { position: relative; padding: 30px; border: 1px solid var(--cx-line); border-radius: 30px; background: rgba(255,255,255,.86); box-shadow: var(--cx-shadow); }
.cx-journey-card::before { content: ""; position: absolute; width: 180px; height: 180px; right: -50px; top: -60px; border-radius: 50%; background: rgba(11,169,154,.12); }
.cx-journey-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cx-journey-head strong { font-size: 1.1rem; }
.cx-status { padding: 7px 10px; border-radius: 999px; color: #08766d; background: #e5faf6; font-size: .74rem; font-weight: 800; }
.cx-journey-step { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 13px 0; }
.cx-journey-step:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 47px; bottom: -9px; width: 2px; background: #dfe6f2; }
.cx-step-dot { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--cx-blue); font-weight: 800; }
.cx-journey-step:nth-child(n+4) .cx-step-dot { color: #718096; background: #eef2f7; }
.cx-journey-step strong { display: block; font-size: .94rem; }
.cx-journey-step small { color: var(--cx-muted); }

.cx-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cx-card { padding: 24px; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); background: #fff; box-shadow: 0 12px 36px rgba(40, 62, 105, 0.07); transition: transform 220ms ease, box-shadow 220ms ease; }
.cx-card:hover { transform: translateY(-5px); box-shadow: var(--cx-shadow); }
.cx-card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--cx-blue); background: #eef2ff; font-size: 1.1rem; }
.cx-card h3 { margin: 18px 0 8px; color: var(--cx-ink); font-size: 1.16rem; }
.cx-card p { margin: 0; color: var(--cx-muted); line-height: 1.55; }
.cx-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cx-process-item { padding: 21px; border-radius: 19px; background: #fff; border: 1px solid var(--cx-line); }
.cx-process-item b { color: var(--cx-blue); font-size: .78rem; }
.cx-process-item h3 { margin: 10px 0 7px; color: var(--cx-ink); }
.cx-process-item p { margin: 0; color: var(--cx-muted); font-size: .9rem; line-height: 1.5; }
.cx-cta-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 34px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #173cbf, #244fe0 55%, #0ba99a); box-shadow: 0 22px 55px rgba(36,79,224,.25); }
.cx-cta-band h2 { margin: 0 0 8px; color: #fff; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.cx-cta-band p { margin: 0; color: rgba(255,255,255,.82); }
.cx-cta-band .cx-button { color: var(--cx-ink) !important; background: #fff; box-shadow: none; }

.cx-onboarding-wrap { padding: 55px 0 90px; }
.cx-onboarding { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; scroll-margin-top: 100px; }
.cx-onboarding-rail, .cx-form-panel { border: 1px solid var(--cx-line); border-radius: 26px; background: #fff; box-shadow: 0 18px 50px rgba(40,62,105,.09); }
.cx-onboarding-rail { position: sticky; top: 106px; padding: 22px; }
.cx-onboarding-rail h3 { margin: 4px 0 18px; font-size: 1.05rem; }
.cx-wizard-step { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; padding: 10px 0; color: var(--cx-muted); }
.cx-wizard-step span:first-child { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--cx-line); border-radius: 11px; background: #fff; font-size: .78rem; font-weight: 800; }
.cx-wizard-step.is-active { color: var(--cx-ink); font-weight: 750; }
.cx-wizard-step.is-active span:first-child { color: #fff; border-color: var(--cx-blue); background: var(--cx-blue); box-shadow: 0 8px 20px rgba(36,79,224,.22); }
.cx-form-panel { padding: 30px; }
.cx-form-panel h1 { margin: 7px 0 10px; color: var(--cx-ink); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; }
.cx-form-panel > p { color: var(--cx-muted); }
.cx-form-help { color: var(--cx-muted); font-size: .8rem; line-height: 1.45; }
.cx-onboarding-rail > .cx-form-help { display: flex; align-items: center; gap: 7px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--cx-line); }
.cx-form-error-summary { display: flex; gap: 10px; margin-bottom: 22px; padding: 13px 15px; border: 1px solid #f4c7c3; border-radius: 13px; color: #8f2018; background: #fff3f2; }
.cx-form-error-summary p { margin: 0; }
.cx-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.cx-field { display: flex; flex-direction: column; gap: 7px; }
.cx-field.is-full { grid-column: 1 / -1; }
.cx-field label { color: #34425b; font-size: .82rem; font-weight: 750; }
.cx-input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #cfd9e7; border-radius: 13px; color: var(--cx-ink); background: #fff; outline: none; transition: border-color 150ms ease, box-shadow 150ms ease; }
.cx-input:focus { border-color: #7890f3; box-shadow: 0 0 0 4px rgba(36,79,224,.09); }
.cx-textarea { min-height: 125px; resize: vertical; }
.cx-choice-grid ul, .cx-choice-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.cx-choice-grid label { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 10px 12px; border: 1px solid var(--cx-line); border-radius: 13px; background: #fbfcfe; cursor: pointer; }
.cx-choice-grid input { accent-color: var(--cx-blue); }
.cx-form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--cx-line); }
.cx-form-step[hidden] { display: none; }
.cx-error { margin-top: 6px; color: #b42318; font-size: .78rem; }
.cx-review { display: grid; gap: 10px; margin-top: 22px; }
.cx-review-row { display: flex; justify-content: space-between; gap: 20px; padding: 13px 14px; border: 1px solid var(--cx-line); border-radius: 13px; background: #fafbfd; }
.cx-review-row span:first-child { color: var(--cx-muted); }
.cx-review-row strong { text-align: right; }
.cx-turnstile { margin-top: 20px; }
.cx-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; color: var(--cx-muted); font-size: .86rem; cursor: pointer; }
.cx-consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--cx-blue); }
.cx-consent a { color: var(--cx-blue); font-weight: 700; }
.cx-contact-note { display: flex; align-items: center; gap: 10px; margin-top: 15px; padding: 12px 14px; border-radius: 13px; color: #176b63; background: #eaf9f6; font-size: .84rem; }
.cx-contact-note i { color: var(--cx-teal); }
.cx-form-actions .cx-button { cursor: pointer; }
.cx-form-actions .cx-button:disabled { opacity: .7; cursor: wait; transform: none; }

/* Guided project journey */
.cx-container.is-wide { width: min(1360px, calc(100% - 36px)); }
.cx-onboarding.is-journey { grid-template-columns: 245px minmax(0, 1fr); }
.cx-onboarding.is-journey .cx-onboarding-rail { padding: 20px; }
.cx-onboarding.is-journey .cx-onboarding-rail h3 { margin-bottom: 12px; }
.cx-wizard-step > span:last-child { display: grid; gap: 2px; }
.cx-wizard-step strong { color: inherit; font-size: .87rem; }
.cx-wizard-step small { color: #8290a5; font-size: .72rem; font-weight: 500; }
.cx-wizard-step.is-complete span:first-child { color: transparent; border-color: var(--cx-teal); background: var(--cx-teal); }
.cx-wizard-step.is-complete span:first-child::after {
  content: "";
  width: 10px;
  height: 6px;
  margin-top: -2px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.cx-journey-form { min-height: 590px; padding: 24px; overflow: hidden; }
.cx-step-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding-bottom: 17px; border-bottom: 1px solid var(--cx-line); }
.cx-step-header h1 { margin: 4px 0 5px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.cx-step-header p { max-width: 690px; margin: 0; color: var(--cx-muted); line-height: 1.5; }
.cx-step-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; min-width: max-content; }
.cx-step-actions small { flex-basis: 100%; color: var(--cx-muted); text-align: right; }
.cx-step-actions .cx-button { min-height: 42px; padding-inline: 16px; cursor: pointer; }
.cx-journey-panel { padding: 18px; border: 1px solid var(--cx-line); border-radius: 19px; background: linear-gradient(145deg, #fff, #fbfcff); box-shadow: 0 9px 28px rgba(40,62,105,.055); }
.cx-journey-panel .cx-field + .cx-field { margin-top: 14px; }
.cx-meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 16px; }
.cx-journey-panel .cx-form-grid > .cx-field + .cx-field,
.cx-journey-panel .cx-meta-grid > .cx-field + .cx-field { margin-top: 0; }
.cx-field small { color: var(--cx-muted); font-size: .75rem; line-height: 1.35; }
.cx-card-choice > div, .cx-card-choice ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin: 0; padding: 0; list-style: none; }
.cx-card-choice > div > div, .cx-card-choice li { min-width: 0; }
.cx-card-choice label { display: flex; align-items: center; gap: 10px; min-height: 55px; padding: 11px 14px; border: 1px solid var(--cx-line); border-radius: 14px; background: #fbfcff; font-weight: 750; cursor: pointer; transition: 160ms ease; }
.cx-card-choice label:hover, .cx-card-choice label:has(input:checked) { color: var(--cx-blue); border-color: #aab8fa; background: #f1f4ff; transform: translateY(-1px); }
.cx-card-choice input, .cx-pill-choice input { accent-color: var(--cx-blue); }
.cx-choice-grid > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cx-step-split { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(275px, .72fr); gap: 14px; align-items: start; }
.cx-step-split.is-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cx-step-split.is-contact { grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr); }
.cx-journey-side { display: grid; gap: 12px; }
.cx-panel-title { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.cx-panel-title > i { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: var(--cx-blue); background: #edf1ff; }
.cx-panel-title div { display: grid; gap: 2px; }
.cx-panel-title strong { font-size: .89rem; }
.cx-panel-title small { color: var(--cx-muted); font-size: .7rem; }
.cx-upload-zone { position: relative; min-height: 104px; display: grid; place-items: center; align-content: center; gap: 5px; padding: 14px; border: 1px dashed #aebde0; border-radius: 14px; color: var(--cx-muted); background: #f8faff; text-align: center; cursor: pointer; transition: 170ms ease; }
.cx-upload-zone:hover { color: var(--cx-blue); border-color: var(--cx-blue); background: #f2f5ff; transform: translateY(-2px); }
.cx-upload-zone > i { color: var(--cx-blue); font-size: 1.35rem; }
.cx-upload-zone strong { color: var(--cx-ink); font-size: .84rem; }
.cx-upload-zone span { font-size: .7rem; }
.cx-upload-zone input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.cx-file-summary { margin-top: 8px; color: var(--cx-muted); font-size: .72rem; overflow-wrap: anywhere; }
.cx-autosave-note { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 13px; color: #176b63; background: #eaf9f6; font-size: .75rem; line-height: 1.4; }
.cx-field-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cx-voice-button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border: 1px solid #ccd6f2; border-radius: 10px; color: var(--cx-blue); background: #f4f6ff; font: inherit; font-size: .73rem; font-weight: 750; cursor: pointer; transition: 160ms ease; }
.cx-voice-button:hover { background: #e9edff; transform: translateY(-1px); }
.cx-voice-button.is-listening { color: #a92820; border-color: #f1b5b0; background: #fff1f0; animation: cx-pulse 1.1s ease infinite; }
.cx-voice-status { min-height: 18px; margin: 10px 0 0; color: var(--cx-teal); font-size: .76rem; }
.cx-textarea.is-compact { min-height: 82px; }
.cx-plan-banner { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; padding: 12px 16px; border-radius: 16px; color: #fff; background: linear-gradient(115deg, var(--cx-blue-strong), var(--cx-blue) 65%, var(--cx-teal)); box-shadow: 0 12px 30px rgba(36,79,224,.17); }
.cx-plan-banner > i { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; background: rgba(255,255,255,.15); }
.cx-plan-banner div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; }
.cx-plan-banner span { color: rgba(255,255,255,.72); font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.cx-plan-banner strong { font-size: .98rem; }
.cx-plan-banner p { grid-column: 1 / -1; margin: 3px 0 0; color: rgba(255,255,255,.82); font-size: .78rem; }
.cx-pill-choice > div, .cx-pill-choice ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.cx-pill-choice label { display: inline-flex; align-items: center; gap: 6px; min-height: 35px; padding: 7px 9px; border: 1px solid var(--cx-line); border-radius: 11px; background: #fbfcff; font-size: .75rem; font-weight: 700; cursor: pointer; }
.cx-pill-choice label:has(input:checked) { color: var(--cx-blue); border-color: #aab8fa; background: #eef2ff; }
.cx-form-grid.is-compact { gap: 12px; margin-top: 15px; }
.cx-final-review { position: sticky; top: 105px; }
.cx-final-review .cx-review { gap: 6px; margin-top: 0; }
.cx-final-review .cx-review-row { padding: 9px 10px; font-size: .75rem; }
.cx-final-review .cx-review-row strong { max-width: 62%; overflow-wrap: anywhere; }

.cx-welcome-stage { min-height: calc(100vh - 82px); display: grid; align-items: center; padding: 46px 0 70px; }
.cx-welcome-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, .7fr); gap: 22px 50px; padding: clamp(25px, 4vw, 48px); border: 1px solid var(--cx-line); border-radius: 32px; background: rgba(255,255,255,.92); box-shadow: var(--cx-shadow); overflow: hidden; animation: cx-rise .55s ease both; }
.cx-welcome-user { width: fit-content; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 7px 11px; border-radius: 999px; color: #08766d; background: #e6faf6; font-size: .8rem; font-weight: 800; }
.cx-welcome-copy h1 { max-width: 650px; margin: 8px 0 13px; font-size: clamp(2.45rem, 5vw, 4.8rem); line-height: .98; letter-spacing: -.055em; }
.cx-welcome-copy h1 span { color: var(--cx-blue); }
.cx-welcome-copy > p { max-width: 620px; margin: 0; color: var(--cx-muted); font-size: 1rem; line-height: 1.6; }
.cx-portal-ready { display: flex; align-items: flex-start; gap: 11px; max-width: 650px; margin-top: 16px; padding: 12px 13px; border: 1px solid rgba(36,79,224,.22); border-radius: 15px; color: #dce5f5; background: rgba(36,79,224,.12); }
.cx-portal-ready > i { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: #a8efe5; background: rgba(18,155,138,.17); }
.cx-portal-ready > div { display: grid; gap: 3px; }
.cx-portal-ready strong { font-size: .84rem; }
.cx-portal-ready span { color: #aebbd0; font-size: .73rem; line-height: 1.5; }
.cx-welcome-visual { position: relative; min-height: 275px; display: grid; place-items: center; border-radius: 24px; background: linear-gradient(145deg, #fff8ef, #eef8ff); overflow: hidden; }
.cx-welcome-visual::before { content: ""; position: absolute; inset: 15% 12%; border-radius: 50%; background: rgba(36,79,224,.08); filter: blur(30px); }
.cx-welcome-visual img { position: relative; z-index: 1; width: 100%; height: 260px; object-fit: contain; animation: cx-float 4s ease-in-out infinite; }
.cx-welcome-visual span { position: absolute; z-index: 2; right: 14px; bottom: 12px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; color: #176b63; background: rgba(255,255,255,.87); box-shadow: 0 8px 20px rgba(40,62,105,.1); font-size: .7rem; font-weight: 800; backdrop-filter: blur(10px); }
.cx-welcome-visual span i { color: var(--cx-teal); font-size: .5rem; }
.cx-welcome-journey { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 4px; }
.cx-welcome-journey article { position: relative; display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 11px; border: 1px solid var(--cx-line); border-radius: 16px; background: #fbfcff; transition: 220ms ease; }
.cx-welcome-journey article::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; border-radius: 0 0 16px 16px; background: var(--cx-blue); transition: right 350ms ease; }
.cx-welcome-journey article.is-active { border-color: #aebcfb; background: #f0f3ff; transform: translateY(-4px); box-shadow: 0 12px 25px rgba(36,79,224,.12); }
.cx-welcome-journey article.is-active::after { right: 0; }
.cx-welcome-journey article > i { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: var(--cx-blue); background: #e9edff; }
.cx-welcome-journey article div { display: grid; gap: 2px; }
.cx-welcome-journey strong { font-size: .79rem; }
.cx-welcome-journey small { color: var(--cx-muted); font-size: .67rem; }

@keyframes cx-pulse { 50% { box-shadow: 0 0 0 6px rgba(255,107,95,.12); } }
@keyframes cx-float { 50% { transform: translateY(-7px); } }

/* Light-mode bridge for the remaining content-managed templates. */
.cx-main .bg-dark-bg,
.cx-main .bg-dark-surface,
.cx-main .from-dark-bg,
.cx-main .to-dark-surface { background-color: var(--cx-white) !important; }
.cx-main .bg-gradient-to-br.from-dark-bg,
.cx-main .bg-gradient-to-br.from-dark-surface { background-image: linear-gradient(135deg, #f4f7ff, #edf9f7) !important; }
.cx-main section.bg-dark-surface { background: var(--cx-soft) !important; }
.cx-main .glass {
  border: 1px solid var(--cx-line) !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 12px 36px rgba(40,62,105,.07);
}
.cx-main h1.text-white,
.cx-main h2.text-white,
.cx-main h3.text-white,
.cx-main h4.text-white { color: var(--cx-ink) !important; }
.cx-main p.text-gray-300,
.cx-main p.text-gray-400,
.cx-main p.text-gray-500,
.cx-main div.text-gray-400,
.cx-main div.text-gray-500,
.cx-main li.text-gray-400,
.cx-main li.text-gray-500 { color: var(--cx-muted) !important; }
.cx-main input.bg-gray-800,
.cx-main textarea.bg-gray-800,
.cx-main select.bg-gray-800 { color: var(--cx-ink) !important; border-color: #cfd9e7 !important; background: #fff !important; }
.cx-main .placeholder-gray-400::placeholder { color: #8a98ad !important; }

.cx-footer { margin-top: 70px; border-top: 1px solid var(--cx-line); background: #f7f9fc; }
.cx-footer-grid { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 46px 0 28px; display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 40px; }
.cx-footer img { width: 150px; height: 58px; object-fit: contain; object-position: left; }
.cx-footer p, .cx-footer a { color: var(--cx-muted); }
.cx-footer a { display: block; margin: 8px 0; text-decoration: none; }
.cx-footer a:hover { color: var(--cx-blue); }
.cx-footer h3 { margin: 8px 0 14px; font-size: .9rem; }
.cx-footer-bottom { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 18px 0 28px; border-top: 1px solid var(--cx-line); color: var(--cx-muted); font-size: .84rem; }

@keyframes cx-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cx-hero-copy, .cx-journey-card, .cx-card, .cx-form-panel { animation: cx-rise .58s ease both; }
.cx-journey-card { animation-delay: .09s; }

@media (max-width: 900px) {
  .cx-nav-links { display: none; }
  .cx-menu-toggle { display: grid; place-items: center; }
  .cx-mobile-menu { display: block; }
  .cx-hero-grid, .cx-onboarding, .cx-onboarding.is-journey { grid-template-columns: 1fr; }
  .cx-journey-card { max-width: 650px; }
  .cx-onboarding-rail { position: static; display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
  .cx-onboarding-rail h3 { grid-column: 1/-1; }
  .cx-wizard-step { grid-template-columns: 30px 1fr; font-size: .8rem; }
  .cx-grid-3 { grid-template-columns: 1fr 1fr; }
  .cx-process { grid-template-columns: 1fr 1fr; }
  .cx-footer-grid { grid-template-columns: 1fr 1fr; }
  .cx-footer-grid > div:first-child { grid-column: 1/-1; }
  .cx-step-header { align-items: center; }
  .cx-step-split, .cx-step-split.is-contact { grid-template-columns: 1fr; }
  .cx-final-review { position: static; }
  .cx-welcome-card { grid-template-columns: 1fr; }
  .cx-welcome-visual { min-height: 240px; }
}

@media (max-width: 620px) {
  .cx-container { width: min(100% - 28px, 1180px); }
  .cx-nav-inner { width: calc(100% - 24px); height: 72px; }
  .cx-brand img { width: 128px; height: 50px; }
  .cx-main { padding-top: 72px; }
  .cx-hero { padding-top: 50px; }
  .cx-hero-grid { gap: 32px; }
  .cx-display { font-size: clamp(2.5rem, 14vw, 4rem); }
  .cx-grid-3, .cx-process, .cx-form-grid, .cx-choice-grid ul, .cx-choice-grid { grid-template-columns: 1fr; }
  .cx-section { padding: 62px 0; }
  .cx-onboarding-rail { grid-template-columns: 1fr; }
  .cx-wizard-step { display: none; }
  .cx-wizard-step.is-active { display: grid; }
  .cx-form-panel, .cx-journey-form { min-height: 0; padding: 19px 15px; }
  .cx-step-header { display: grid; gap: 13px; }
  .cx-step-header p { font-size: .88rem; }
  .cx-step-actions { width: 100%; min-width: 0; justify-content: flex-start; }
  .cx-step-actions .cx-button { flex: 1; min-width: 132px; padding-inline: 10px; }
  .cx-step-actions small { text-align: left; }
  .cx-meta-grid, .cx-card-choice > div, .cx-card-choice ul, .cx-choice-grid > div, .cx-step-split.is-even { grid-template-columns: 1fr; }
  .cx-journey-panel { padding: 14px; }
  .cx-plan-banner { align-items: flex-start; }
  .cx-plan-banner div { display: block; }
  .cx-plan-banner span, .cx-plan-banner strong { display: block; }
  .cx-welcome-stage { min-height: auto; padding: 28px 0 50px; }
  .cx-welcome-card { gap: 23px; padding: 22px 17px; border-radius: 23px; }
  .cx-welcome-visual { min-height: 205px; }
  .cx-welcome-visual img { height: 210px; }
  .cx-welcome-journey { grid-template-columns: 1fr 1fr; }
  .cx-form-actions { position: sticky; bottom: 0; margin-inline: -17px; padding: 13px 17px; background: rgba(255,255,255,.96); }
  .cx-cta-band { grid-template-columns: 1fr; padding: 25px; }
  .cx-footer-grid { grid-template-columns: 1fr; }
  .cx-footer-grid > div:first-child { grid-column: auto; }
}

/* v2 onboarding composition */
body:has(.cx-onboarding-wrap) .cx-footer { display: none; }
.cx-onboarding-wrap {
  --cx-v2-brand: #5d73e8;
  --cx-v2-brand-2: #16a89a;
  position: relative;
  min-height: calc(100vh - 82px);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 18%, rgba(93,115,232,.08), transparent 27%),
    radial-gradient(circle at 78% 72%, rgba(22,168,154,.07), transparent 25%),
    linear-gradient(145deg, #fff 0%, #fbfcff 52%, #f8fcfb 100%);
}
.cx-onboarding-wrap::before,
.cx-onboarding-wrap::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}
.cx-onboarding-wrap::before {
  width: 260px;
  height: 260px;
  left: 5%;
  top: 12%;
  background: radial-gradient(circle, rgba(112,132,238,.13), rgba(112,132,238,0) 70%);
  animation: cx-v2-orb-a 10s ease-in-out infinite;
}
.cx-onboarding-wrap::after {
  width: 330px;
  height: 330px;
  right: 12%;
  bottom: -12%;
  background: radial-gradient(circle, rgba(22,168,154,.11), rgba(22,168,154,0) 70%);
  animation: cx-v2-orb-b 12s ease-in-out infinite;
}
.cx-onboarding.is-journey {
  width: 100%;
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 258px;
  gap: 0;
  align-items: start;
}
.cx-onboarding.is-journey .cx-journey-form {
  width: 100%;
  max-width: 1180px;
  min-height: 0;
  margin: 0 auto;
  padding: 22px 32px 44px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.cx-onboarding.is-journey .cx-onboarding-rail {
  position: sticky;
  top: 82px;
  height: calc(100vh - 82px);
  padding: 24px 18px;
  overflow: auto;
  border: 0;
  border-left: 1px solid rgba(219,227,237,.78);
  border-radius: 0;
  background: rgba(251,252,254,.74);
  box-shadow: none;
  backdrop-filter: blur(16px);
}
.cx-onboarding.is-journey .cx-onboarding-rail h3 {
  margin: 5px 0 18px;
  color: var(--cx-muted);
  font-size: .82rem;
  line-height: 1.4;
}
.cx-onboarding.is-journey .cx-wizard-step {
  position: relative;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  min-width: 0;
  padding: 0 0 20px;
  color: var(--cx-muted);
  opacity: .48;
  transition: opacity .28s ease, transform .28s cubic-bezier(.2,.8,.2,1);
}
.cx-onboarding.is-journey .cx-wizard-step::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 30px;
  bottom: 0;
  width: 2px;
  background: #dfe6ef;
}
.cx-onboarding.is-journey .cx-wizard-step[data-step-marker="4"]::after { display: none; }
.cx-onboarding.is-journey .cx-wizard-step > span:first-child {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: .75rem;
}
.cx-onboarding.is-journey .cx-wizard-step strong { font-size: .86rem; }
.cx-onboarding.is-journey .cx-wizard-step small { font-size: .72rem; line-height: 1.3; }
.cx-onboarding.is-journey .cx-wizard-step.is-active,
.cx-onboarding.is-journey .cx-wizard-step.is-complete { color: var(--cx-ink); opacity: 1; }
.cx-onboarding.is-journey .cx-wizard-step.is-active { transform: translateX(-5px) scale(1.015); }
.cx-onboarding.is-journey .cx-wizard-step.is-active > span:first-child {
  border-color: var(--cx-v2-brand);
  background: var(--cx-v2-brand);
  box-shadow: 0 0 0 7px rgba(93,115,232,.1), 0 0 24px rgba(93,115,232,.25);
}
.cx-onboarding.is-journey .cx-wizard-step.is-complete > span:first-child { border-color: #159a79; background: #159a79; }
.cx-onboarding.is-journey .cx-onboarding-rail > .cx-form-help { margin-top: 3px; }
.cx-onboarding.is-journey .cx-step-header {
  position: relative;
  margin-bottom: 15px;
  padding: 0 0 0 17px;
  border: 0;
}
.cx-onboarding.is-journey .cx-step-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--cx-v2-brand), var(--cx-v2-brand-2));
  transform-origin: top;
  animation: cx-v2-line-grow .65s cubic-bezier(.2,.8,.2,1) both;
}
.cx-onboarding.is-journey .cx-step-header h1 {
  margin: 6px 0 7px;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.cx-onboarding.is-journey .cx-step-header p { font-size: .91rem; line-height: 1.45; }
.cx-onboarding.is-journey .cx-step-actions { padding-top: 8px; }
.cx-onboarding.is-journey .cx-step-actions .cx-button {
  min-height: 43px;
  border-radius: 14px;
}
.cx-onboarding.is-journey .cx-step-actions .cx-button:not(.is-secondary) {
  background: linear-gradient(135deg, var(--cx-v2-brand), #7386f0);
  box-shadow: 0 12px 28px rgba(93,115,232,.22);
}
.cx-onboarding.is-journey .cx-journey-panel {
  padding: 18px;
  border: 1px solid rgba(210,220,232,.92);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(31,45,68,.085);
  transition: border-color .25s ease, box-shadow .3s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.cx-onboarding.is-journey .cx-journey-panel:hover {
  border-color: rgba(93,115,232,.25);
  box-shadow: 0 20px 48px rgba(31,45,68,.105);
}
.cx-onboarding.is-journey .cx-form-step:not([hidden]) .cx-journey-panel { animation: cx-v2-panel-in .48s cubic-bezier(.2,.8,.2,1) both; }
.cx-onboarding.is-journey .cx-form-step:not([hidden]) .cx-journey-side .cx-journey-panel:nth-child(2) { animation-delay: .06s; }
.cx-onboarding.is-journey .cx-input {
  border-color: rgba(193,204,219,.78);
  border-radius: 12px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 6px 18px rgba(31,45,68,.035);
}
.cx-onboarding.is-journey .cx-input:focus {
  border-color: var(--cx-v2-brand);
  box-shadow: 0 10px 25px rgba(93,115,232,.1), 0 0 0 4px rgba(93,115,232,.08);
  transform: translateY(-1px);
}
.cx-onboarding.is-journey .cx-textarea { min-height: 112px; }
.cx-onboarding.is-journey .cx-textarea.is-compact { min-height: 76px; }
.cx-onboarding.is-journey .cx-form-grid.is-compact .cx-input { padding-inline: 10px; font-size: .82rem; }
.cx-v2-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.cx-v2-choice-card {
  position: relative;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px 14px 13px 62px;
  overflow: hidden;
  border: 1px solid rgba(218,226,236,.95);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(31,45,68,.045);
  cursor: pointer;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .2s ease, box-shadow .3s ease, background .2s ease;
}
.cx-v2-choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.cx-v2-choice-card:hover { transform: translateY(-4px) scale(1.006); border-color: rgba(93,115,232,.3); box-shadow: 0 18px 38px rgba(70,87,150,.11); }
.cx-v2-choice-card:has(input:checked) {
  border-color: rgba(93,115,232,.5);
  background: linear-gradient(135deg, rgba(244,246,255,.98), rgba(239,251,248,.94));
  box-shadow: 0 15px 36px rgba(93,115,232,.11), 0 0 0 4px rgba(93,115,232,.045);
}
.cx-v2-choice-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe5ff;
  border-radius: 11px;
  color: #4057cb;
  background: linear-gradient(145deg,#edf1ff,#f7f9ff);
  box-shadow: 0 8px 18px rgba(64,87,203,.09);
  transform: translateY(-50%);
  animation: cx-v2-icon-float 4s ease-in-out infinite;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.cx-v2-choice-card:nth-child(2) .cx-v2-choice-icon { color: #078877; border-color: #c8eee6; background: #ecfbf7; animation-delay: -1.7s; }
.cx-v2-choice-card:hover .cx-v2-choice-icon { transform: translateY(-50%) rotate(-6deg) scale(1.08); }
.cx-v2-choice-card strong { margin-bottom: 3px; font-size: .93rem; }
.cx-v2-choice-card small { color: var(--cx-muted); font-size: .78rem; line-height: 1.4; }
.cx-onboarding.is-journey .cx-meta-grid { margin-top: 18px; }
.cx-onboarding.is-journey .cx-voice-button {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
  border-color: rgba(93,115,232,.35);
  background: linear-gradient(135deg,rgba(93,115,232,.14),rgba(22,168,154,.1));
}
.cx-onboarding.is-journey .cx-voice-button span { display: none; }
.cx-onboarding.is-journey .cx-upload-zone { background: #fbfcff; }
.cx-onboarding.is-journey .cx-autosave-note,
.cx-onboarding.is-journey .cx-plan-banner {
  border: 0;
  color: #176b63;
  background: linear-gradient(120deg, rgba(236,251,247,.94), rgba(242,245,255,.96));
  box-shadow: 0 10px 28px rgba(31,45,68,.06);
}
.cx-onboarding.is-journey .cx-plan-banner > i { color: #4057cb; background: #fff; }
.cx-onboarding.is-journey .cx-plan-banner span { color: #66758b; }
.cx-onboarding.is-journey .cx-plan-banner strong { color: var(--cx-ink); }
.cx-onboarding.is-journey .cx-plan-banner p { color: var(--cx-muted); }
.cx-onboarding.is-journey .cx-pill-choice label,
.cx-onboarding.is-journey .cx-choice-grid label { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.cx-onboarding.is-journey .cx-pill-choice label:hover,
.cx-onboarding.is-journey .cx-choice-grid label:hover { transform: translateY(-2px); border-color: #bcc7f7; }

@keyframes cx-v2-orb-a { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(60px,30px,0) scale(1.14); } }
@keyframes cx-v2-orb-b { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-70px,-35px,0) scale(.9); } }
@keyframes cx-v2-line-grow { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes cx-v2-panel-in { from { opacity: 0; transform: translateY(12px) scale(.988); } to { opacity: 1; transform: none; } }
@keyframes cx-v2-icon-float { 0%,100% { margin-top: 0; } 50% { margin-top: -4px; } }

@media (max-width: 900px) {
  .cx-onboarding.is-journey { min-height: auto; display: flex; flex-direction: column; }
  .cx-onboarding.is-journey .cx-onboarding-rail {
    position: relative;
    top: auto;
    order: -1;
    width: 100%;
    height: auto;
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    overflow-x: auto;
    border-left: 0;
    border-bottom: 1px solid rgba(219,227,237,.78);
  }
  .cx-onboarding.is-journey .cx-onboarding-rail > .cx-eyebrow,
  .cx-onboarding.is-journey .cx-onboarding-rail > h3,
  .cx-onboarding.is-journey .cx-onboarding-rail > .cx-form-help { display: none; }
  .cx-onboarding.is-journey .cx-wizard-step { min-width: 190px; display: grid; padding: 0; }
  .cx-onboarding.is-journey .cx-wizard-step::after { display: none; }
  .cx-onboarding.is-journey .cx-wizard-step.is-active { transform: none; }
  .cx-onboarding.is-journey .cx-journey-form { padding: 18px 16px 80px; }
}

@media (max-width: 620px) {
  .cx-onboarding.is-journey .cx-step-header { display: flex; flex-direction: column; gap: 9px; }
  .cx-onboarding.is-journey .cx-step-actions { width: 100%; justify-content: flex-start; padding-top: 0; }
  .cx-onboarding.is-journey .cx-step-actions .cx-button { flex: 1; }
  .cx-onboarding.is-journey .cx-step-actions small { text-align: left; }
  .cx-v2-choice-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .cx-v2-choice-card { min-height: 112px; justify-content: flex-start; padding: 54px 10px 10px; }
  .cx-v2-choice-icon { left: 10px; top: 10px; transform: none; }
  .cx-v2-choice-card:hover .cx-v2-choice-icon { transform: rotate(-6deg) scale(1.06); }
  .cx-v2-choice-card small { font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Dark onboarding and consultation result */
body.cx-onboarding-page,
body:has(.cx-onboarding-wrap),
body:has(.cx-welcome-stage) {
  --cx-ink: #f4f7ff;
  --cx-muted: #9ba9be;
  --cx-line: rgba(151, 169, 197, .2);
  --cx-soft: #0d1422;
  --cx-white: #070b14;
  color: var(--cx-ink);
  background: #070b14;
}
body.cx-onboarding-page::before,
body:has(.cx-onboarding-wrap)::before,
body:has(.cx-welcome-stage)::before {
  background:
    radial-gradient(circle at 12% 8%, rgba(14,165,233,.16), transparent 34%),
    radial-gradient(circle at 82% 5%, rgba(217,70,239,.1), transparent 30%),
    #0b0f1a;
}
body.cx-onboarding-page .cx-nav,
body:has(.cx-onboarding-wrap) .cx-nav,
body:has(.cx-welcome-stage) .cx-nav {
  border-color: rgba(151,169,197,.16);
  background: rgba(7,11,20,.86);
}
body.cx-onboarding-page .cx-nav-link,
body:has(.cx-onboarding-wrap) .cx-nav-link,
body:has(.cx-welcome-stage) .cx-nav-link { color: #b7c2d4; }
body.cx-onboarding-page .cx-nav-link:hover,
body.cx-onboarding-page .cx-nav-link.is-active,
body:has(.cx-onboarding-wrap) .cx-nav-link:hover,
body:has(.cx-onboarding-wrap) .cx-nav-link.is-active,
body:has(.cx-welcome-stage) .cx-nav-link:hover,
body:has(.cx-welcome-stage) .cx-nav-link.is-active { color: #fff; background: rgba(14,165,233,.14); }
body.cx-onboarding-page .cx-brand,
body:has(.cx-onboarding-wrap) .cx-brand,
body:has(.cx-welcome-stage) .cx-brand { padding: 3px 9px; border-radius: 12px; background: rgba(255,255,255,.94); }
body.cx-onboarding-page .cx-menu-toggle,
body:has(.cx-onboarding-wrap) .cx-menu-toggle,
body:has(.cx-welcome-stage) .cx-menu-toggle { color: #e9edff; border-color: rgba(151,169,197,.22); background: #111827; }
body.cx-onboarding-page .cx-mobile-menu,
body:has(.cx-onboarding-wrap) .cx-mobile-menu,
body:has(.cx-welcome-stage) .cx-mobile-menu { border-color: rgba(151,169,197,.18); background: #0b111d; }
body.cx-onboarding-page .cx-mobile-menu a,
body:has(.cx-onboarding-wrap) .cx-mobile-menu a,
body:has(.cx-welcome-stage) .cx-mobile-menu a { color: #d6deeb; }

.cx-onboarding-wrap {
  --cx-v2-brand: #0ea5e9;
  --cx-v2-brand-2: #d946ef;
  background:
    radial-gradient(circle at 10% 16%, rgba(14,165,233,.13), transparent 28%),
    radial-gradient(circle at 76% 72%, rgba(217,70,239,.08), transparent 26%),
    linear-gradient(145deg, #0b0f1a, #0e1422 56%, #0a121e);
}
.cx-onboarding.is-journey .cx-onboarding-rail {
  border-color: rgba(151,169,197,.16);
  background: rgba(10,16,28,.82);
}
.cx-onboarding.is-journey .cx-wizard-step::after { background: rgba(151,169,197,.19); }
.cx-onboarding.is-journey .cx-wizard-step.is-active > span:first-child {
  box-shadow: 0 0 0 7px rgba(14,165,233,.12), 0 0 25px rgba(14,165,233,.3);
}
.cx-onboarding.is-journey .cx-wizard-step.is-complete > span:first-child { border-color: #1daf96; background: #1daf96; }
.cx-onboarding.is-journey .cx-journey-panel {
  border-color: rgba(151,169,197,.2);
  background: linear-gradient(145deg, rgba(19,28,44,.97), rgba(13,21,35,.98));
  box-shadow: 0 18px 45px rgba(0,0,0,.25);
}
.cx-onboarding.is-journey .cx-journey-panel:hover {
  border-color: rgba(14,165,233,.4);
  box-shadow: 0 22px 52px rgba(0,0,0,.32);
}
.cx-onboarding.is-journey .cx-field label { color: #dbe3f1; }
.cx-onboarding.is-journey .cx-input {
  color: #f7f9ff;
  border-color: rgba(151,169,197,.27);
  background: rgba(6,11,20,.72);
  box-shadow: 0 7px 20px rgba(0,0,0,.13);
  color-scheme: dark;
}
.cx-onboarding.is-journey .cx-input::placeholder { color: #718097; }
.cx-onboarding.is-journey .cx-input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 10px 25px rgba(0,0,0,.2), 0 0 0 4px rgba(14,165,233,.13);
}
.cx-onboarding.is-journey .cx-input option { color: #f4f7ff; background: #101827; }
.cx-v2-choice-card {
  border-color: rgba(151,169,197,.2);
  background: rgba(16,24,39,.92);
  box-shadow: 0 9px 24px rgba(0,0,0,.18);
}
.cx-v2-choice-card:has(input:checked) {
  border-color: rgba(14,165,233,.62);
  background: linear-gradient(135deg, rgba(12,62,89,.95), rgba(65,24,75,.9));
  box-shadow: 0 15px 36px rgba(0,0,0,.24), 0 0 0 4px rgba(14,165,233,.07);
}
.cx-v2-choice-icon {
  color: #66c9f3;
  border-color: rgba(14,165,233,.28);
  background: rgba(14,165,233,.12);
}
.cx-v2-choice-card:nth-child(2) .cx-v2-choice-icon { color: #e789f4; border-color: rgba(217,70,239,.25); background: rgba(217,70,239,.1); }
.cx-onboarding.is-journey .cx-upload-zone {
  color: #9ba9be;
  border-color: rgba(14,165,233,.46);
  background: rgba(6,11,20,.46);
}
.cx-onboarding.is-journey .cx-upload-zone strong { color: #eef2ff; }
.cx-onboarding.is-journey .cx-autosave-note,
.cx-onboarding.is-journey .cx-plan-banner {
  color: #99f3e6;
  background: linear-gradient(120deg, rgba(24,66,63,.76), rgba(38,48,91,.82));
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.cx-onboarding.is-journey .cx-plan-banner > i { color: #b8c2ff; background: rgba(255,255,255,.08); }
.cx-onboarding.is-journey .cx-plan-banner span { color: #93dfd5; }
.cx-onboarding.is-journey .cx-plan-banner strong { color: #f7f9ff; }
.cx-onboarding.is-journey .cx-plan-banner p { color: #b8c3d4; }
.cx-onboarding.is-journey .cx-pill-choice label,
.cx-onboarding.is-journey .cx-choice-grid label {
  color: #cbd5e4;
  border-color: rgba(151,169,197,.2);
  background: rgba(7,12,22,.58);
}
.cx-onboarding.is-journey .cx-pill-choice label:hover,
.cx-onboarding.is-journey .cx-choice-grid label:hover,
.cx-onboarding.is-journey .cx-pill-choice label:has(input:checked),
.cx-onboarding.is-journey .cx-choice-grid label:has(input:checked) {
  color: #dfe4ff;
  border-color: rgba(112,130,244,.7);
  background: rgba(66,81,154,.24);
}
.cx-onboarding.is-journey .cx-review-row {
  color: #e8edf7;
  border-color: rgba(151,169,197,.18);
  background: rgba(6,11,20,.5);
}
.cx-onboarding.is-journey .cx-contact-note { color: #9be7dd; background: rgba(25,89,81,.36); }
.cx-onboarding.is-journey .cx-consent { color: #9ba9be; }
.cx-onboarding.is-journey .cx-consent a { color: #9dacf9; }
.cx-onboarding.is-journey .cx-button.is-secondary {
  color: #e8edf8 !important;
  border-color: rgba(151,169,197,.24);
  background: #121b2b;
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
}

.cx-price-book-note {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid rgba(36,201,183,.24);
  border-radius: 13px;
  color: #baf3eb;
  background: rgba(25,89,81,.22);
}
.cx-price-book-note > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(36,201,183,.12); }
.cx-price-book-note div { display: grid; gap: 2px; }
.cx-price-book-note small { color: #8ea0b8; font-size: .7rem; }
.cx-price-book-note strong { font-size: .84rem; }
.cx-pricing-input-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; align-items: start; }
.cx-three-fields { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cx-three-fields .cx-field:last-child { grid-column: 1 / -1; }
.cx-friendly-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cx-friendly-needs { display: grid; gap: 9px; }
.cx-friendly-question {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(151,169,197,.18);
  border-radius: 13px;
  background: rgba(7,12,22,.45);
}
.cx-friendly-question > i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #62caf4;
  background: rgba(14,165,233,.12);
}
.cx-friendly-question:nth-child(even) > i { color: #e88cf5; background: rgba(217,70,239,.1); }
.cx-friendly-question .cx-field { gap: 5px; }
.cx-friendly-question .cx-input { min-height: 43px; padding-block: 9px; font-size: .78rem; }
.cx-onboarding.is-journey .cx-panel-title > i { color: #62caf4; background: rgba(14,165,233,.12); }
.cx-score-group { margin-top: 13px; border-top: 1px solid rgba(151,169,197,.16); }
.cx-score-group summary { display: flex; align-items: center; gap: 8px; padding: 12px 1px 4px; color: #e2e8f3; font-size: .8rem; font-weight: 750; cursor: pointer; list-style: none; }
.cx-score-group summary::-webkit-details-marker { display: none; }
.cx-score-group summary::after { content: "+"; margin-left: auto; color: #92a2b9; font-size: 1rem; }
.cx-score-group[open] summary::after { content: "−"; }
.cx-score-group summary > i { width: 22px; color: #8fa0ff; text-align: center; }
.cx-score-group summary span { color: #7f8da3; font-size: .68rem; font-weight: 600; }
.cx-score-options { padding-top: 8px; }
.cx-score-options > div,
.cx-score-options ul { gap: 6px; }
.cx-score-options label { min-height: 32px !important; padding: 6px 8px !important; font-size: .68rem !important; }
.cx-scoring-note { display: flex; align-items: center; gap: 8px; margin: 11px 2px 0; color: #8291a8; font-size: .72rem; }
.cx-scoring-note i { color: #24c9b7; }

.cx-welcome-stage {
  background:
    radial-gradient(circle at 17% 18%, rgba(112,130,244,.13), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(36,201,183,.08), transparent 24%),
    #070b14;
}
.cx-welcome-card {
  border-color: rgba(151,169,197,.2);
  background: rgba(14,22,36,.94);
  box-shadow: 0 28px 80px rgba(0,0,0,.38);
}
.cx-welcome-user { color: #a8efe5; background: rgba(27,117,105,.28); }
.cx-welcome-copy h1 { color: #f4f7ff; }
.cx-welcome-copy h1 span { color: #8292f6; }
.cx-welcome-visual { background: linear-gradient(145deg, #111a2a, #0c2022); }
.cx-welcome-visual span { color: #a8efe5; border-color: rgba(151,169,197,.2); background: rgba(10,17,28,.82); }
.cx-welcome-journey article { border-color: rgba(151,169,197,.18); background: rgba(7,12,22,.5); }
.cx-welcome-journey article.is-active { border-color: rgba(112,130,244,.58); background: rgba(60,73,139,.25); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.cx-welcome-journey article > i { color: #a7b2fb; background: rgba(112,130,244,.13); }
.cx-consultation-result {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 16px;
  border: 1px solid rgba(112,130,244,.32);
  border-radius: 20px;
  background: linear-gradient(125deg, rgba(51,64,124,.28), rgba(19,83,77,.22));
}
.cx-result-score { width: 76px; height: 76px; display: grid; place-items: center; align-content: center; border: 1px solid rgba(112,130,244,.38); border-radius: 19px; background: rgba(8,13,24,.56); text-align: center; }
.cx-result-score strong { color: #fff; font-size: 1.65rem; line-height: 1; }
.cx-result-score span { margin-top: 3px; color: #8fa0b7; font-size: .56rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .08em; }
.cx-result-main h2 { margin: 3px 0; color: #f5f7ff; font-size: 1.2rem; }
.cx-result-main p { margin: 0; color: #aab6c8; font-size: .83rem; }
.cx-result-status { display: inline-flex; align-items: center; gap: 7px; padding: 9px 11px; border-radius: 999px; color: #8ce7d9; background: rgba(20,111,99,.3); font-size: .73rem; font-weight: 750; }
.cx-result-status.needs-review { color: #ffd39b; background: rgba(145,86,19,.28); }
.cx-result-ai { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(151,169,197,.15); color: #aab6c8; }
.cx-result-ai > i { color: #93a2fa; margin-top: 2px; }
.cx-result-ai p { display: grid; gap: 3px; margin: 0; font-size: .8rem; }
.cx-result-ai strong { color: #edf1fb; }
.cx-result-ai small { color: #74839b; }

/* Font Awesome is globally forced to inline-block. Framed icons need their
   own layout restored so the glyph sits in the exact center of the frame. */
.cx-panel-title > i,
.cx-plan-banner > i,
.cx-price-book-note > i,
.cx-friendly-question > i,
.cx-welcome-journey article > i {
  display: grid !important;
  place-items: center !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  text-align: center !important;
  line-height: 1 !important;
}
.cx-panel-title > i::before,
.cx-plan-banner > i::before,
.cx-price-book-note > i::before,
.cx-friendly-question > i::before,
.cx-welcome-journey article > i::before,
.cx-v2-choice-icon > i::before {
  display: block;
  margin: 0 !important;
  line-height: 1 !important;
  transform: none !important;
}

@media (max-width: 900px) {
  .cx-onboarding.is-journey .cx-onboarding-rail { border-color: rgba(151,169,197,.18); background: rgba(10,16,28,.92); }
  .cx-pricing-input-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .cx-three-fields { grid-template-columns: 1fr; }
  .cx-three-fields .cx-field:last-child { grid-column: auto; }
  .cx-friendly-grid { grid-template-columns: 1fr; }
  .cx-friendly-grid .cx-field.is-full { grid-column: auto; }
  .cx-consultation-result { grid-template-columns: auto 1fr; }
  .cx-result-status { grid-column: 1 / -1; width: fit-content; }
  .cx-score-group summary span { display: none; }
}
