/* RAD Intel Checkout — ported from checkout.radintel.ai origin/production */

@font-face { font-family: "Aptos"; font-weight: 400; font-style: normal; font-display: swap; src: url("/checkout/assets/fonts/Aptos.ttf") format("truetype"); }
@font-face { font-family: "Aptos"; font-weight: 600; font-style: normal; font-display: swap; src: url("/checkout/assets/fonts/Aptos-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Aptos"; font-weight: 700; font-style: normal; font-display: swap; src: url("/checkout/assets/fonts/Aptos-Bold.ttf") format("truetype"); }
@font-face { font-family: "Aptos"; font-weight: 800; font-style: normal; font-display: swap; src: url("/checkout/assets/fonts/Aptos-ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "Aptos"; font-weight: 900; font-style: normal; font-display: swap; src: url("/checkout/assets/fonts/Aptos-Black.ttf") format("truetype"); }

#rad-checkout-root.checkout-page {
  /* Brand palette */
  --rad-white: #eee9e2;
  --rad-blue: #70cddc;
  --rad-medium-blue: #00667f;
  --rad-dark-blue: #193d5b;
  --rad-grey: #4c4c4c;
  --rad-gauge-yellow: #c6f26b;

  /* Applied theme */
  --inv-primary: var(--rad-medium-blue);
  --inv-primary-hover: var(--rad-dark-blue);
  --inv-primary-light: #e6f4f7;
  --inv-primary-lighter: #f0f9fa;
  --inv-primary-border: var(--rad-blue);

  --inv-bg-page: var(--rad-white);
  --inv-bg-card: #ffffff;

  --inv-text-dark: var(--rad-dark-blue);
  --inv-text: #1a1a1a;
  --inv-text-medium: var(--rad-grey);
  /* --inv-text-muted: #888; */
  --inv-text-muted: #636363;
  --inv-text-faint: #aaa;

  --inv-border: #d4d0c9;
  --inv-border-light: #e0e0e0;

  --inv-disabled: #b8b4ae;

  /* Step 1 (profile) — teal primary, matches --inv-primary in prod investment-flow.css.
     The Tailwind border-[#c96b4b] in the TSX is overridden by the BEM rule in prod. */
  --s1-primary: var(--inv-primary);          /* #00667f teal */
  --s1-primary-hover: var(--inv-primary-hover); /* #193d5b dark navy */
  --s1-primary-light: var(--inv-primary-light); /* #e6f4f7 light cyan */
  --s1-accent: #c96b4b;                      /* terracotta, used ONLY for SMS checkbox accent-color */

  /* Step 2 (amount) — James design */
  --s2-bg-card: #faf9f5;
  --s2-border-card: #00667f;
  --s2-shadow: 0 2px 16px rgba(0,102,127,.10);
  --s2-navy: #193d5b;
  --s2-teal: #00667f;
  --s2-teal-hover: #005568;
  --s2-teal-selected: rgba(112,205,220,.18);
  --s2-teal-border: rgba(0,102,127,.28);
  --s2-lime: #d5ee57;

  font-family: "Aptos", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;    /* lock em baseline — Webflow may set html font-size differently */
  text-transform: none;       /* defeat Webflow body rules that uppercase headings */
  letter-spacing: normal;
  text-align: left;
  color: var(--inv-text);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;

  min-height: 600px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1px 2px 2px;
  background: var(--inv-bg-page);
  border-radius: 1em;
}

@media (min-width: 768px) {
  #rad-checkout-root.checkout-page { padding: 0; }
}

#rad-checkout-root *, #rad-checkout-root *::before, #rad-checkout-root *::after { box-sizing: border-box; }
#rad-checkout-root, #rad-checkout-root h1, #rad-checkout-root h2, #rad-checkout-root h3, #rad-checkout-root h4, #rad-checkout-root h5, #rad-checkout-root h6, #rad-checkout-root p, #rad-checkout-root div, #rad-checkout-root label, #rad-checkout-root input, #rad-checkout-root button, #rad-checkout-root select, #rad-checkout-root textarea {
  font-family: inherit;
  text-transform: none;
  letter-spacing: inherit;
}

.checkout-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

/* ============================== CARD 1: PROFILE ============================== */
.step1-card {
  background: var(--inv-bg-card);
  border: 1px solid var(--s1-primary);
  border-radius: 12px;
  padding: 18px 24px;
  cursor: pointer;
  transition: border-width 120ms;
}
/*@media (min-width: 768px) { .step1-card { padding: 2em; } }*/
.step1-card[data-open="true"] { border-width: 2px; padding: calc(1.5em - 1px); }
@media (min-width: 768px) { .step1-card[data-open="true"] { padding: calc(2em - 1px); } }

.step1-header { display: flex; align-items: center; gap: 0.75em; }
.step1-idx {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--s2-navy);
  color: #fff;
  font-size: 15px; font-weight: 800;
  flex-shrink: 0;
}
.step1-title {
  flex: 1;
  margin: 0;
  font-size: 24px;   /* text-xl */
  font-weight: 700;
  color: var(--inv-text);
}
@media (min-width: 768px) { .step1-title { font-size: 24px; } /* matches prod computed (1.5rem at 17px html base) */ }

.step1-body {
  margin-top: 1.5em;
  cursor: default;
}
.step1-card[data-open="false"] .step1-body { display: none; }

.step1-fields { display: flex; flex-direction: column; gap: 0.75em; }
.step1-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75em; }

.step1-input {
  width: 100%;
  padding: 0.75em 1em;
  font-size: 0.9375em;
  border: 1px solid var(--inv-border-light);
  border-radius: 8px;
  background: #fff;
  color: var(--inv-text);
  outline: none;
  font-family: inherit;
  transition: border-color 150ms, box-shadow 150ms;
}
.step1-input:focus {
  border-color: var(--s1-primary);
  box-shadow: 0 0 0 2px rgba(0,102,127,0.15);
}
.step1-input--error { border-color: #f87171; }

.step1-err-text {
  color: #ef4444;
  font-size: 0.75em;
  margin: 0.25em 0 0;
}
.step1-err-text--block {
  font-size: 0.875em;
  margin: 0.75em 0 0;
}

.step1-accredited-label {
  display: block;
  font-size: 0.875em;
  color: #666;
  margin-bottom: 0.375em;
}
.step1-accredited {
  text-align: left;
  cursor: pointer;
  font-weight: 400;
}
.step1-accredited[data-yes="true"] {
  font-weight: 700;
  border-color: var(--inv-primary);
  background: var(--inv-primary-light);
}

.step1-sms-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.625em;
  cursor: pointer;
}
.step1-sms-consent input[type="checkbox"] {
  margin-top: 0.125em;
  width: 16px; height: 16px;
  accent-color: var(--s1-accent);
}
.step1-sms-consent span {
  font-size: 0.75em;
  color: #999;
  line-height: 1.5;
}

.step1-continue {
  width: 100%;
  margin-top: 1.25em;
  padding: 0.75em;
  border: none;
  border-radius: 8px;
  background: var(--s1-primary);
  color: #fff;
  font-size: 0.9375em;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 150ms;
}
.step1-continue:hover:not(:disabled) { background: var(--s1-primary-hover); }
.step1-continue:disabled { background: #ccc; cursor: not-allowed; }

/* ============================== CARD 2: AMOUNT ============================== */
.step2-card {
  background: var(--s2-bg-card);
  border: 1.5px solid var(--s2-border-card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--s2-shadow);
  cursor: pointer;
}

.step2-header {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--s2-teal-border);
}
.step2-idx {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--s2-navy);
  color: #fff;
  font-size: 15px; font-weight: 800;
  flex-shrink: 0;
}
.step2-header__titles { flex: 1; min-width: 0; }
.step2-title {
  margin: 0;
  font-size: 22px;
  height: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--s2-navy);
}
.step2-subtitle {
  margin: 1px 0 0;
  font-size: 14px;
  color: var(--inv-text-muted);
}
.step2-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--inv-text-muted);
  background: var(--rad-white);
  border: 1px solid var(--s2-teal-border);
  border-radius: 9999px;
  flex-shrink: 0;
}
.step2-status__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #f59e0b;
}
.step2-status__dot[data-complete="true"] { background: #22c55e; }

.step2-body {
  padding: 22px 24px;
  cursor: default;
}

@media (max-width: 480px) {
  .step2-header {
    gap: 10px;
    padding: 14px 16px;
    flex-wrap: wrap;
  }
  .step2-idx {
    width: 28px; height: 28px;
    font-size: 13px;
  }
  .step2-header__titles {
    flex: 1 1 auto;
    min-width: 0;
  }
  .step2-title {
    font-size: 17px;
    height: auto;
    line-height: 1.2;
  }
  .step2-subtitle {
    font-size: 12px;
    margin-top: 2px;
  }
  .step2-status {
    padding: 4px 9px;
    font-size: 10.5px;
    gap: 5px;
    margin-left: auto;
  }
}


.step2-card[data-open="false"] .step2-body { display: none; }

/* Meta (price bar) — from James v3 mockup */
.step2-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(0,102,127,.07) 0%, rgba(112,205,220,.10) 100%);
  border: 1px dashed rgba(0,102,127,.35);
  border-radius: 13px;
}
.step2-meta__item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.step2-meta__icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0,102,127,.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--s2-teal);
}
.step2-meta__divider {
  width: 1px;
  height: 32px;
  background: rgba(0,102,127,.2);
  flex-shrink: 0;
}
/* Prefix #rad-checkout-root to beat the "text-transform: none / letter-spacing: inherit"
   reset rule at the top of this file, which has specificity 101 from its ID+element selectors. */
#rad-checkout-root .step2-meta__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--s2-teal);
  margin-bottom: 1px;
}
#rad-checkout-root .step2-meta__value {
  font-size: 15px;
  font-weight: 800;
  color: var(--s2-navy);
  letter-spacing: -0.3px;
}
@media (max-width: 480px) {
  .step2-meta { min-height: 58px; padding: 0 14px; }
}

/* Footer: shares breakdown + total — from James v3 mockup (.total-block) */
.step2-footer {
  border-top: 1px solid var(--s2-teal-border);
  padding-top: 14px;
}
.step2-footer__rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}
.step2-footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: var(--inv-text-muted);
  font-weight: 500;
}
#rad-checkout-root .step2-footer__val {
  font-weight: 700;
  color: var(--inv-text);
  letter-spacing: normal;
}
#rad-checkout-root .step2-footer__row--bonus .step2-footer__val {
  color: var(--s2-teal);
}
.step2-footer__divider {
  height: 1px;
  background: var(--s2-teal-border);
  margin-bottom: 10px;
}
.step2-footer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--inv-text);
  font-weight: 700;
}
#rad-checkout-root .step2-footer__total-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--s2-navy);
  letter-spacing: -0.4px;
}

/* Presets */
.step2-presets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.step2-preset {
  position: relative;
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--s2-teal-border);
  border-radius: 13px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 150ms, background-color 150ms, box-shadow 150ms;
}
.step2-preset:hover:not(.step2-preset--selected) {
  border-color: var(--s2-teal);
  background: rgba(112,205,220,0.08);
}
.step2-preset--popular { margin-top: 2px; }
.step2-preset--selected {
  background: var(--s2-teal-selected);
  border-color: var(--s2-teal);
  box-shadow: 0 0 0 3px rgba(0,102,127,0.12);
}
.step2-preset__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 12px;
  background: var(--s2-teal);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  white-space: nowrap;
  z-index: 1;
}
.step2-preset__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.step2-preset__left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.step2-radio {
  width: 20px; height: 20px;
  border: 2px solid var(--s2-teal-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step2-radio--selected { border-color: var(--s2-teal); }
.step2-radio__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--s2-teal);
  display: none;
}
.step2-radio--selected .step2-radio__dot { display: block; }
.step2-preset__amount {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--s2-navy);
}
.step2-preset__shares {
  font-size: 14px;
  font-weight: 500;
  margin-top: 1px;
  color: var(--inv-text-muted);
}
.step2-preset__bonus {
  display: flex;
  align-items: center;
  background: var(--s2-lime);
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.step2-preset__bonus-left {
  padding: 7px 13px 7px 15px;
  color: var(--s2-navy);
  letter-spacing: -0.01em;
  line-height: 11px;
}
@media (min-width: 800px) {
  .option-no-1 .step2-preset__bonus-right { padding-left: 15px; }
  .option-no-2 .step2-preset__bonus-right { padding-left: 20px; }
  .option-no-3 .step2-preset__bonus-right { padding-left: 25px; }
  .option-no-4 .step2-preset__bonus-right { padding-left: 30px; }
  .option-no-5 .step2-preset__bonus-right { padding-left: 35px; }
  /* .option-no-1 .step2-preset__bonus-left { padding-left: 24px; }
  .option-no-2 .step2-preset__bonus-left { padding-left: 48px; }
  .option-no-3 .step2-preset__bonus-left { padding-left: 68px; }
  .option-no-4 .step2-preset__bonus-left { padding-left: 88px; }
  .option-no-5 .step2-preset__bonus-left { padding-left: 108px; } */
}

@media (max-width: 480px) {
  .step2-preset__bonus-left { text-align: right; }
  .step2-preset__bonus-right { text-align: center; }
  .step2-preset__bonus .line-2 { display: block; font-size: 11px; }
  .step2-body {
    padding: 22px 12px;
  }
}



.step2-preset__bonus-right {
      font-size: 15px;
  padding: 7px 13px;
  background: var(--s2-teal);
  color: #fff;
  border-radius: 9999px;
  letter-spacing: -0.01em;
}

/* Amount entry */
.step2-entry {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--s2-teal);
  border-radius: 13px;
  overflow: hidden;
/*  margin: 0 30px 30px 30px;*/
  margin: 0 0px 30px 0px;
}
.step2-entry__prefix {
  height: 50px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--inv-text-muted);
  background: var(--s2-bg-card);
  border-right: 1px solid var(--s2-teal-border);
  white-space: nowrap;
}
.step2-entry__input {
  flex: 1;
  height: 50px;
  padding: 0 16px;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  color: var(--s2-navy);
  background: #fff;
  border: none;
  letter-spacing: -0.01em;
  outline: none;
  min-width: 0;
}
.step2-entry__buttons {
  display: flex;
  border-left: 1px solid var(--s2-teal-border);
}
.step2-entry__btn {
  width: 46px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: var(--s2-bg-card);
  color: var(--s2-teal);
  font-size: 22px;
  font-weight: 500;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: background-color 150ms;
}
.step2-entry__btn + .step2-entry__btn { border-left: 1px solid var(--s2-teal-border); }
.step2-entry__btn:hover { background: rgba(112,205,220,0.18); }

.step2-err-text {
  color: #ef4444;
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 8px;
}
.step2-err-text--block {
  font-size: 14px;
  margin: 12px 0;
}

.step2-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 13px;
  border-top: 1px solid var(--s2-teal-border);
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
}
.step2-total__value {
  font-size: 17px;
  font-weight: 800;
  color: var(--s2-navy);
  letter-spacing: -0.01em;
}

.step2-continue {
  width: 100%;
  height: 52px;
  margin-top: 20px;
  border: none;
  border-radius: 13px;
  background: var(--s2-teal);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 150ms, background-color 150ms;
}
.step2-continue:hover:not(:disabled) {
  background: var(--s2-teal-hover);
  transform: translateY(-1px);
}
.step2-continue:active:not(:disabled) { transform: translateY(0); }
.step2-continue:disabled { background: var(--inv-disabled); cursor: not-allowed; }

/* ----------------------------------------------------------------------------
   Webflow-shell overrides: invest-radintel-2026.shared.min.css kills vertical
   rhythm on mobile for `.checkout_details_content_wrap_2` cards. Restore it.
     - @media (max-width:991px): sets `.is-top-margin { margin-top: 0 }`
     - @media (max-width:479px): shrinks card padding to 1rem
   We keep mobile a touch tighter than desktop, but not zero.
   ---------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .checkout_details_content_wrap_2.is-top-margin { margin-top: 1rem; }
  .checkout_details_content_wrap_2 + .checkout_details_content_wrap_2 { margin-top: 1rem; }
}
@media (max-width: 479px) {
  .checkout_details_content_wrap_2 { padding: 1.25rem; }
  .checkout_details_content_wrap_2.is-top-margin,
  .checkout_details_content_wrap_2 + .checkout_details_content_wrap_2 { margin-top: 0.75rem; }
}


/* overwrite existing so on mobile we have padding on right and left */
@media screen and (max-width: 479px) {
    .embeddable_checkout_wrapper_2 {
        width: calc(100% + 0rem);
        margin-left: 0rem;
    }
}

.iti.iti--allow-dropdown.iti--separate-dial-code {
  width: 100%;
}

.black-1 {
  color: #333;
}