/* ============================================================
   GET STARTED — full-bleed landing page
   ============================================================ */

.cp-gs-hero-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 0 120px;
  width: 100%;
}

.cp-gs-rails-center {
  justify-content: center;
}

.cp-gs-title-xl {
  font-size: clamp(42px, 5.6vw, 72px) !important;
  max-width: 20ch;
  margin-top: 30px !important;
}

.cp-gs-lede-center {
  max-width: 62ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 17px !important;
}

.cp-gs-hero-cta-center {
  justify-content: center;
}

.cp-gs-btn-grad,
a.cp-gs-btn-grad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #fff !important;
  text-decoration: none !important;
  background: var(--gs-grad-btn, linear-gradient(90deg, #f5863a, #e84c8a 55%, #9b5de5));
  box-shadow: 0 0 34px rgba(232, 76, 138, 0.35), 0 8px 28px -10px rgba(155, 93, 229, 0.5);
  transition: transform 0.15s, box-shadow 0.15s;
}

.cp-gs-btn-grad:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 44px rgba(232, 76, 138, 0.45), 0 12px 34px -10px rgba(155, 93, 229, 0.6);
}

.cp-gs-btn-grad-arrow {
  font-size: 18px;
  line-height: 1;
}

.cp-gs-hero-disabled-note {
  font-size: 13px;
  color: var(--gs-t-mut);
  max-width: 40ch;
  text-align: left;
}

.cp-gs-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 44px;
  margin-top: 38px;
}

.cp-gs-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.cp-gs-stat b {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--gs-t-hi);
  letter-spacing: -0.5px;
}

.cp-gs-stat span {
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gs-t-faint);
}

.cp-gs-flow-hero {
  width: 100%;
  max-width: 980px;
  margin-top: 46px;
}

.cp-gs-flow-hero .cp-gs-flow {
  margin-top: 0;
}

.cp-gs-flow-hero .cp-gs-flow iframe,
.cp-gs-flow-hero .cp-gs-flow-svg {
  height: 300px;
}

.cp-gs-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 980px;
  margin-top: 22px;
}

@media (max-width: 820px) {
  .cp-gs-pillars { grid-template-columns: 1fr; }
}

.cp-gs-pillar {
  text-align: left;
  border: 1px solid var(--gs-line);
  border-radius: 16px;
  padding: 20px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.cp-gs-pillar-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gs-t-faint);
}

.cp-gs-pillar-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--gs-t-hi);
  margin: 8px 0 6px;
}

.cp-gs-pillar-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gs-t-mut);
  margin: 0;
}

/* ============================================================
   ONBOARDING — full-page dark wizard
   ============================================================ */

.cp-onb-stage {
  min-height: 100vh;
}

.cp-onb-full {
  padding-bottom: 90px;
}

.cp-onb-wizard {
  --onb-orange: #f5863a;
  --onb-violet: #9b5de5;
  color: var(--gs-t);
}

.cp-onb-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 26px;
}

.cp-onb-page-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--onb-orange);
  font-weight: 700;
  margin-bottom: 8px;
}

.cp-onb-brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -1px;
  color: #fff;
  margin: 0;
}

.cp-onb-brand-sub {
  font-size: 14px;
  color: var(--gs-t-mut);
  margin: 8px 0 0;
  max-width: 60ch;
}

.cp-onb-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-bottom: 6px;
}

.cp-onb-region-pill {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
}

.cp-onb-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

@media (max-width: 900px) {
  .cp-onb-layout { grid-template-columns: 1fr; }
  .cp-onb-rail { position: static; }
}

.cp-onb-rail {
  position: sticky;
  top: 20px;
  border: 1px solid var(--gs-line);
  border-radius: 16px;
  padding: 16px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(6px);
}

.cp-onb-rail-head {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gs-t-faint);
  padding: 8px 8px 12px;
}

.cp-onb-rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cp-onb-rail-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 8px;
  border-radius: 10px;
  color: var(--gs-t-mut);
}

.cp-onb-rail-active {
  color: var(--gs-t-hi);
  background: rgba(245, 134, 58, 0.09);
}

.cp-onb-rail-done { color: var(--gs-t); }

.cp-onb-rail-num {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 999px;
  border: 1.5px solid var(--gs-line);
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 700;
}

.cp-onb-rail-active .cp-onb-rail-num {
  border-color: var(--onb-orange);
  background: var(--onb-orange);
  color: #fff;
  box-shadow: 0 0 16px rgba(245, 134, 58, 0.4);
}

.cp-onb-rail-done .cp-onb-rail-num {
  border-color: #3ec98a;
  background: #3ec98a;
  color: #fff;
}

.cp-onb-rail-lbl { font-size: 13px; font-weight: 600; padding-top: 2px; }

/* Main step panel — dark glass card */
.cp-onb-panel-wrap {
  min-width: 0;
  border: 1px solid var(--gs-line);
  border-radius: 20px;
  padding: 30px 34px 26px;
  background: linear-gradient(180deg, rgba(18, 16, 24, 0.72), rgba(11, 9, 18, 0.85));
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 4px rgba(8, 8, 16, 0.45), 0 40px 80px -30px rgba(155, 93, 229, 0.16);
}

.cp-onb-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--onb-orange);
  font-weight: 700;
  margin-bottom: 8px;
}

.cp-onb-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 0 0 8px;
}

.cp-onb-title-spaced { margin-top: 30px; }

.cp-onb-sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gs-t-mut);
  margin: 0 0 22px;
  max-width: 68ch;
}

/* Market grid */
.cp-onb-market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.cp-onb-market-card {
  border: 1px solid var(--gs-line);
  border-radius: 14px;
  padding: 13px 15px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.cp-onb-market-card:hover {
  border-color: var(--gs-line-2);
  transform: translateY(-1px);
}

.cp-onb-market-card-selected {
  border-color: var(--onb-orange);
  box-shadow: 0 0 0 2px rgba(245, 134, 58, 0.2), 0 0 24px rgba(245, 134, 58, 0.12);
}

.cp-onb-market-card-waitlist { border-style: dashed; }

.cp-onb-market-flag { font-size: 24px; line-height: 1; }

.cp-onb-market-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cp-onb-market-name {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--gs-t-hi);
}

.cp-onb-market-meta {
  font-size: 11px;
  color: var(--gs-t-faint);
  margin-top: 3px;
  line-height: 1.4;
}

/* Company / individual cards */
.cp-onb-track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .cp-onb-track-grid { grid-template-columns: 1fr; }
}

.cp-onb-track-card {
  border: 1px solid var(--gs-line);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.cp-onb-track-card:hover {
  border-color: var(--gs-line-2);
  transform: translateY(-1px);
}

.cp-onb-track-card-selected {
  border-color: var(--onb-orange);
  background: rgba(245, 134, 58, 0.07);
  box-shadow: 0 0 24px rgba(245, 134, 58, 0.1);
}

.cp-onb-track-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.cp-onb-track-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gs-t-hi);
  margin: 0 0 5px;
}

.cp-onb-track-desc {
  font-size: 13px;
  color: var(--gs-t-mut);
  margin: 0;
  line-height: 1.5;
}

.cp-onb-waitlist-box {
  border: 1px solid var(--gs-line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.cp-onb-waitlist-title {
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 10px;
  color: var(--gs-t-hi);
}

.cp-onb-field-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gs-t-hi);
  margin: 16px 0 10px;
}

.cp-onb-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--gs-line);
}

.cp-onb-btn-primary {
  background: var(--gs-grad-btn, linear-gradient(90deg, #f5863a, #e84c8a 55%, #9b5de5)) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 0 24px rgba(245, 134, 58, 0.28);
}

.cp-onb-btn-ghost {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--gs-line) !important;
  color: var(--gs-t-hi) !important;
}

/* Docs */
.cp-onb-doc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--gs-line);
}

.cp-onb-doc-label { font-size: 13.5px; font-weight: 600; color: var(--gs-t-hi); }
.cp-onb-doc-sub { font-size: 12px; color: var(--gs-t-faint); }
.cp-onb-doc-filename { font-size: 11.5px; color: var(--onb-orange); margin-left: 8px; }

/* Owners */
.cp-onb-owner-card {
  border: 1px solid var(--gs-line);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.cp-onb-owner-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: var(--gs-t-hi);
}

.cp-onb-add-btn {
  width: 100%;
  border-style: dashed !important;
}

.cp-onb-upload {
  border: 1px dashed var(--gs-line);
  border-radius: 10px;
  padding: 12px;
  margin-top: 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s;
}

.cp-onb-upload:hover { border-color: var(--onb-orange); }

/* Review */
.cp-onb-rev-sec {
  border: 1px solid var(--gs-line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.cp-onb-rev-sec-title {
  margin: 0;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  border-bottom: 1px solid var(--gs-line);
  color: var(--gs-t-hi);
}

.cp-onb-rev-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 14px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cp-onb-rev-k { color: var(--gs-t-mut); flex: 0 0 44%; }
.cp-onb-rev-v { font-weight: 600; text-align: right; word-break: break-word; color: var(--gs-t-hi); }

/* Success */
.cp-onb-success { text-align: center; padding: 20px 0; }

.cp-onb-success-ring {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: rgba(62, 201, 138, 0.15);
  color: #3ec98a;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 30px;
  box-shadow: 0 0 36px rgba(62, 201, 138, 0.25);
}

.cp-onb-success-title { text-align: center; }
.cp-onb-success-sub { text-align: center; margin-left: auto; margin-right: auto; }

.cp-onb-ref-row { font-size: 13.5px; margin: 7px 0; }
.cp-onb-mono { font-family: 'Space Mono', monospace; color: var(--onb-orange); }
.cp-onb-muted { color: var(--gs-t-mut); }

.cp-onb-status-flow {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 16px 0 20px;
}

.cp-onb-status-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--gs-t-mut);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gs-line);
  padding: 6px 13px;
  border-radius: 999px;
}

.cp-onb-status-hot {
  background: var(--onb-orange);
  color: #fff;
  border-color: var(--onb-orange);
}

.cp-onb-keys-box {
  text-align: left;
  background: #0b0912;
  border: 1px solid var(--gs-line);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 16px auto;
  max-width: 560px;
}

.cp-onb-keys-head {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gs-t-faint);
  margin-bottom: 10px;
}

.cp-onb-keys-box > div {
  font-family: 'Space Mono', monospace;
  font-size: 12.5px;
  line-height: 2;
  color: var(--gs-t);
}

.cp-onb-key-pk { color: #7fd1a8; }
.cp-onb-key-sk { color: #f2b879; }
.cp-onb-key-ipn { color: #9fc1ec; }

/* Shared platform sandbox pack (shown with merchant keys after registration) */
.cp-sandbox-card,
.cp-onb-sandbox-card {
  width: 100%;
  max-width: 560px;
  margin: 16px auto;
  text-align: left;
  background: rgba(20, 28, 24, 0.92);
  border: 1px solid rgba(120, 200, 140, 0.28);
  border-radius: 16px;
  padding: 22px 22px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.cp-sandbox-card-title,
.cp-sandbox-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #d8f5df;
  font-family: "Times New Roman", Times, Georgia, serif;
}

.cp-sandbox-card-sub,
.cp-sandbox-card > p {
  margin: 0 0 12px;
  color: #b7cbbd;
  font-size: 13px;
  line-height: 1.4;
}

.cp-sandbox-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 13px;
}

.cp-sandbox-row span { color: #9bb0a4; }

.cp-sandbox-row code {
  color: #9ef0b0;
  word-break: break-all;
  text-align: right;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 12.5px;
  background: transparent;
}

.cp-sandbox-links {
  margin-top: 10px;
}

.cp-sandbox-links a {
  display: inline-block;
  margin: 4px 10px 0 0;
  color: #f0a06a;
  font-size: 13px;
  text-decoration: none;
}

.cp-sandbox-links a:hover { text-decoration: underline; color: #ffc08a; }

.cp-onb-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none !important;
  margin-top: 20px;
  font-weight: 700;
}

.cp-onb-disabled {
  text-align: center;
  padding: 60px 0;
}

.cp-onb-disabled-note {
  display: inline-block;
  border: 1px solid var(--gs-line);
  border-radius: 12px;
  padding: 14px 20px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--gs-t-mut);
  background: rgba(255, 255, 255, 0.02);
}

/* Progress bar in rail */
.cp-onb-progress { margin: 0 6px 8px; }

/* ============================================================
   Mantine dark overrides scoped to the onboarding wizard
   ============================================================ */

.cp-onb-wizard .mantine-TextInput-input,
.cp-onb-wizard .mantine-PasswordInput-input,
.cp-onb-wizard .mantine-Select-input,
.cp-onb-wizard .mantine-NumberInput-input,
.cp-onb-wizard .mantine-Textarea-input {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: var(--gs-line) !important;
  color: var(--gs-t-hi) !important;
}

.cp-onb-wizard .mantine-TextInput-input:focus,
.cp-onb-wizard .mantine-PasswordInput-input:focus-within,
.cp-onb-wizard .mantine-Select-input:focus,
.cp-onb-wizard .mantine-NumberInput-input:focus,
.cp-onb-wizard .mantine-Textarea-input:focus {
  border-color: var(--onb-orange) !important;
  box-shadow: 0 0 0 3px rgba(245, 134, 58, 0.15) !important;
}

.cp-onb-wizard .mantine-Input-label,
.cp-onb-wizard .mantine-InputWrapper-label,
.cp-onb-wizard .mantine-Radio-label,
.cp-onb-wizard .mantine-Checkbox-label {
  color: var(--gs-t) !important;
}

.cp-onb-wizard .mantine-Radio-radio:checked,
.cp-onb-wizard .mantine-Checkbox-input:checked {
  background: var(--onb-orange) !important;
  border-color: var(--onb-orange) !important;
}

.cp-onb-wizard .mantine-Progress-section {
  background: var(--gs-grad, linear-gradient(90deg, #f5863a, #e84c8a 55%, #9b5de5)) !important;
}

/* ============================================================
   Select / Combobox dropdowns render in a portal outside the
   wizard root, so these selectors must be global. Options are
   white on a dark panel per PSP UI rules.
   ============================================================ */

.mantine-Select-dropdown,
.mantine-MultiSelect-dropdown,
.mantine-Combobox-dropdown,
.mantine-Popover-dropdown {
  background: #17131f !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.mantine-Select-option,
.mantine-MultiSelect-option,
.mantine-Combobox-option {
  color: #ffffff !important;
}

.mantine-Select-option:hover,
.mantine-MultiSelect-option:hover,
.mantine-Combobox-option:hover,
.mantine-Select-option[data-combobox-active],
.mantine-Combobox-option[data-combobox-active],
.mantine-Select-option[data-combobox-selected],
.mantine-Combobox-option[data-combobox-selected] {
  background: rgba(245, 134, 58, 0.22) !important;
  color: #ffffff !important;
}

/* Plugin download box on the success screen */
.cp-onb-plugin-note { font-size: 13px; line-height: 1.55; margin: 6px 0 12px; }

.cp-onb-btn-secondary {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(245, 134, 58, 0.55);
  color: var(--onb-orange);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.cp-onb-btn-secondary:hover {
  background: rgba(245, 134, 58, 0.14);
  color: var(--onb-orange);
}
