/* One continuous challenge configurator, framed by real marble slabs. */
#buy.challenge-stone-section {
  padding: 90px 0 150px;
  background: radial-gradient(ellipse at 50% 50%, #163426 0, #0a1710 45%, #080d0a 74%);
  overflow: clip;
  isolation: isolate;
}
#buy .wrap { width: 100%; max-width: 1192px; padding-inline: 48px; }
#buy .section-heading { margin: 0 auto 115px; text-align: center; }
#buy .section-heading h2 { font-size: clamp(38px, 4.4vw, 62px); font-weight: 550; line-height: 1.12; letter-spacing: -.045em; }
#buy .section-heading h2 em { font-style: normal; color: #c2ecd0; }
#buy .section-heading p { font-size: 17px; line-height: 1.6; margin-top: 22px; }
.challenge-stone-stage { position: relative; isolation: isolate; }
.challenge-stone-stage::before {
  content: ''; position: absolute; inset: -30px; z-index: -1;
  background: #c7cbc8 url('assets/challenge-marble-v30.webp') center / 145% 145% no-repeat;
  border: 1px solid #e5e8e3; border-radius: 9px;
  clip-path: polygon(14px 0, calc(100% - 19px) 0, 100% 15px, 100% calc(100% - 18px), calc(100% - 14px) 100%, 17px 100%, 0 calc(100% - 15px), 0 17px);
  box-shadow: inset 2px 2px 2px #ffffffb3, inset -3px -4px 4px #263c2b80;
  pointer-events: none;
}
.challenge-stone-backdrop {
  position: absolute; inset: -72px -66px -70px; z-index: -2;
  width: calc(100% + 132px); height: calc(100% + 142px); max-width: none;
  object-fit: fill; pointer-events: none; filter: drop-shadow(0 24px 30px #0006);
}
#buy .challenge-builder {
  padding: 30px; border: 1px solid #536b5c; border-radius: 22px;
  background: #0e1913; box-shadow: 0 16px 45px #0006, inset 0 1px 0 #ffffff0d;
  color: #fff; position: relative;
}
.challenge-main { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 30px; align-items: stretch; }
.challenge-settings { min-width: 0; padding: 4px 0; }
#buy .challenge-field { border: 0; min-width: 0; padding: 0 0 24px; margin: 0 0 24px; border-bottom: 1px solid #334239; }
#buy .challenge-field legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; color: #fff; font-size: 14px; font-weight: 550; line-height: 1.5; }
#buy .challenge-field legend + * { clear: both; }
#buy .challenge-field legend span { float: right; color: #c0d3c6; font-size: 11px; font-weight: 400; padding-top: 3px; }
.challenge-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
#buy .challenge-platforms button {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; min-width: 0; padding: 12px 22px 12px 12px;
  border: 1px solid #657b6e; border-radius: 8px; background: #fff; color: #112019;
  font-size: 17px; font-weight: 550; transition: border-color .18s, box-shadow .18s;
}
#buy .challenge-platforms button[aria-pressed=true] { border-color: #b5e7c8; box-shadow: inset 0 0 0 2px #91bea2; }
#buy .challenge-platforms img { width: 136px; height: auto; max-width: 100%; object-fit: contain; }
#buy .challenge-platforms .ctrader-icon { width: 25px; height: 25px; }
#buy .choice-tick { width: 15px; height: 15px; position: absolute; right: 9px; top: 9px; color: #bfe8ce; opacity: 0; }
#buy [aria-pressed=true] > .choice-tick { opacity: 1; }
#buy .challenge-platforms .choice-tick { width: 13px; height: 13px; color: #1b6840; }
.challenge-models { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#buy .challenge-models button {
  position: relative; display: flex; flex-direction: column; gap: 5px; align-items: flex-start;
  border: 1px solid #46594d; background: #17271e; color: #fff; padding: 14px 15px;
  border-radius: 8px; line-height: 1.3; transition: border-color .18s, background .18s;
}
#buy .challenge-models button > span { font-size: 16px; font-weight: 550; }
#buy .challenge-models button small { font-size: 11px; color: #cbdbd0; }
#buy .challenge-models button[aria-pressed=true] { background: #2c4837; border-color: #c2ecd0; }
#buy .challenge-models button[aria-pressed=true] small { color: #ebf8ef; }
.challenge-sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
#buy .challenge-sizes button { padding: 12px 2px; min-height: 46px; border: 1px solid #46594d; border-radius: 7px; background: #17271e; color: #fff; font-size: 14px; font-weight: 550; transition: background .18s, border-color .18s; }
#buy .challenge-sizes button[aria-pressed=true] { background: #c1e9ce; color: #10291b; border-color: #d3f5dd; }
#buy :is(.challenge-models, .challenge-sizes) button:hover { border-color: #c2ecd0; }
#buy :is(button, input, summary):focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.challenge-objective-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
#buy .challenge-objective-heading h3 { color: #fff; font-size: 14px; font-weight: 550; margin: 0; letter-spacing: 0; }
#buy #show-amounts { display: flex; align-items: center; gap: 7px; padding: 0; background: none; border: 0; color: #d1e1d6; font-size: 11px; white-space: nowrap; }
#buy #show-amounts > span { position: relative; display: block; width: 29px; height: 17px; background: #53685a; border: 0; border-radius: 20px; flex-shrink: 0; }
#buy #show-amounts > span::before { content: ''; position: absolute; width: 11px; height: 11px; top: 3px; left: 3px; background: #fff; border-radius: 50%; transition: transform .18s; }
#buy #show-amounts > span::after { display: none; }
#buy #show-amounts[aria-checked=true] > span { background: #bfe8cc; }
#buy #show-amounts[aria-checked=true] > span::before { background: #123220; transform: translateX(12px); }
#challenge-key-rules { display: grid; gap: 6px; margin: 0; }
#challenge-key-rules > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 15px; background: #192a20; border-radius: 7px; }
#challenge-key-rules dt { font-size: 13px; line-height: 1.4; color: #f3faf5; }
#challenge-key-rules dd { margin: 0; color: #c1edcf; font-size: 18px; line-height: 1.3; font-weight: 550; font-variant-numeric: tabular-nums; }
#buy .challenge-summary { display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding: 28px; background: #edf4ee; border: 1px solid #fff; border-radius: 14px; color: #14291c; }
#buy .challenge-summary :is(p,h3,small,label) { color: #14291c !important; }
.challenge-summary-top { display: flex; gap: 9px; align-items: center; font-size: 10px; letter-spacing: .08em; font-weight: 600; }
.challenge-summary-top > svg { width: 28px; height: 28px; color: #193c27; }
.challenge-demo-tag { margin-left: auto; padding: 4px 7px; border: 1px solid #a5bbac; border-radius: 4px; font-size: 10px; letter-spacing: 0; font-weight: 450; }
.challenge-account-title { padding: 32px 0 22px; }
#buy #summary-size { margin: 0 0 7px; font-size: clamp(32px, 3.6vw, 50px); font-weight: 550; line-height: 1; letter-spacing: -.055em; }
#buy #summary-model { font-size: 18px; font-weight: 500; line-height: 1.35; margin: 0 0 12px; }
#summary-platform { display: inline-flex; padding: 5px 9px; border: 1px solid #acbeb0; border-radius: 5px; font-size: 11px; }
.challenge-summary-facts { display: grid; gap: 9px; padding-bottom: 22px; border-bottom: 1px solid #bccdc0; font-size: 12px; }
.challenge-summary-facts > span { display: flex; align-items: center; gap: 7px; }
.challenge-summary-facts svg { width: 17px; height: 17px; color: #285b3d; }
.challenge-summary-facts strong { font-weight: 600; margin-right: -3px; }
.challenge-fee { padding: 23px 0; margin-top: auto; }
.challenge-fee > span { display: block; font-size: 12px; margin-bottom: 7px; }
#buy #summary-price { display: flex; align-items: baseline; gap: 12px; color: #102719; line-height: 1.1; font-variant-numeric: tabular-nums; }
#buy #summary-price strong { font-size: clamp(48px, 4.6vw, 65px); font-weight: 550; letter-spacing: -.065em; }
#buy #summary-price del { font-size: 24px; color: #526958; font-weight: 400; letter-spacing: -.04em; }
.challenge-fee small { display: block; margin-top: 10px; font-size: 11px; }
#buy .challenge-builder .button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; padding: 14px 19px; border: 1px solid #d3f3dd; border-radius: 7px; background: #c1e9ce; color: #14291c; box-shadow: inset 0 1px 0 #fff8; font-size: 14px; font-weight: 550; text-transform: none; letter-spacing: -.01em; }
#buy .challenge-builder .button::before, #buy .challenge-builder .button::after { display: none; }
#buy .challenge-builder .button svg { display: block; width: 18px; height: 18px; }
#buy .challenge-summary .button { color: #fff; background: #153b27; border-color: #153b27; box-shadow: inset 0 1px 0 #ffffff18; }
#buy .challenge-summary .button:hover { background: #235b3c; }
#buy .challenge-no-payment { margin: 10px 0 0; text-align: center; font-size: 10px; line-height: 1.4; }
.challenge-promo { margin-top: 25px; padding-top: 18px; border-top: 1px solid #bccdc0; }
.challenge-promo label { display: block; margin-bottom: 8px; font-size: 11px; }
.challenge-promo > div { display: flex; gap: 6px; }
#buy #promo-code { width: 0; flex: 1; min-width: 0; height: 38px; padding: 9px 11px; border: 1px solid #afc2b4; border-radius: 5px; background: #fff9; color: #193c27; font-size: 12px; }
#buy #promo-code::placeholder { color: #526958; opacity: 1; }
#buy #apply-code { padding: 8px 14px; border: 1px solid #afc2b4; border-radius: 5px; background: #e1ebe3; color: #173321; font-size: 12px; font-weight: 550; }
#buy #promo-status { margin: 7px 0 0; min-height: 14px; font-size: 10px; line-height: 1.4; }
#buy .challenge-summary :is(button,input):focus-visible { outline-color: #185a36; }
#buy .challenge-included { margin-top: 30px; padding: 27px 0 25px; border-top: 1px solid #3f5346; background: transparent; }
.challenge-included-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
#buy .challenge-included h3 { margin: 0; font-size: 21px; letter-spacing: -.025em; font-weight: 500; color: #fff; }
.challenge-included-heading > span { font-size: 12px; color: #c7d9cd; }
#buy #included-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 25px; padding: 0; }
#buy #included-list .included-item { display: flex; align-items: flex-start; gap: 10px; min-width: 0; font-size: 13px; line-height: 1.4; color: #f6fff9; }
#buy #included-list svg { width: 20px; height: 20px; padding: 4px; border-radius: 5px; background: #294333; color: #cdf6d9; flex-shrink: 0; }
.challenge-phase-details { margin: 0; border: 1px solid #3f5346; border-radius: 8px; overflow: hidden; }
#buy .challenge-phase-details > summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 17px 19px; font-size: 13px; font-weight: 500; color: #e5f4e9; cursor: pointer; list-style: none; }
#buy .challenge-phase-details > summary::-webkit-details-marker { display: none; }
.challenge-phase-details > summary > span { font-size: 21px; font-weight: 400; line-height: .7; }
.challenge-phase-details[open] > summary > span { transform: rotate(45deg); }
#buy .challenge-phase-details .rules-wrap { overflow: auto; padding: 0 18px 10px; }
#buy .challenge-phase-details .rules-table { width: 100%; min-width: 0; table-layout: fixed; font-size: 12px; border-collapse: collapse; }
#buy .challenge-phase-details .rules-table :is(th,td) { padding: 12px 7px; font-size: 12px; text-align: center; border-color: #35493d; }
#buy .challenge-phase-details .rules-table tr > :first-child { width: 31%; text-align: left; font-weight: 400; }
#buy .challenge-phase-details .rules-table thead th { font-size: 10px; font-weight: 500; letter-spacing: .03em; }
#buy .challenge-phase-details .rules-table small { display: block; font-size: 10px; margin-top: 4px; }
.challenge-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 0; border-bottom: 1px solid #3f5346; }
.challenge-bottom > div { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 10px; }
.challenge-bottom > div > span { width: 100%; font-size: 11px; margin-bottom: 6px; color: #d6e8dc; }
#buy #footer-price { font-size: 32px; letter-spacing: -.04em; font-weight: 550; line-height: 1.1; color: #fff; }
.challenge-bottom small { font-size: 10px; color: #d6e8dc; }
.challenge-bottom .button { min-width: 280px; }
.challenge-assurances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 23px 0 0; }
.challenge-assurances > div { display: flex; gap: 10px; align-items: center; }
.challenge-assurances svg { width: 23px; height: 23px; color: #b4dfc3; flex-shrink: 0; }
.challenge-assurances span { display: flex; flex-direction: column; gap: 5px; font-size: 10px; color: #cbded2; line-height: 1.4; }
.challenge-assurances strong { color: #f0faf3; font-size: 12px; font-weight: 500; }
#buy .challenge-demo-note { margin: 22px 0 0; font-size: 10px; line-height: 1.5; text-align: center; color: #c9dbcf !important; }
@media(min-width: 1440px) { #buy .wrap { max-width: 1228px; } }
@media(max-width: 1050px) {
  #buy .wrap { padding-inline: 46px; }
  #buy .challenge-builder { padding: 24px; }
  .challenge-main { gap: 22px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  #buy .challenge-summary { padding: 23px; }
  #buy .challenge-models button small { font-size: 10px; }
  #buy .challenge-platforms img { width: 116px; }
  #buy .challenge-platforms button { font-size: 15px; }
}
@media(max-width: 780px) {
  #buy.challenge-stone-section { padding: 64px 0 90px; }
  #buy .wrap { padding-inline: 26px; }
  #buy .section-heading { margin-bottom: 67px; }
  #buy .section-heading h2 { font-size: 40px; }
  #buy .section-heading p { font-size: 14px; margin-top: 15px; }
  .challenge-stone-backdrop { inset: -42px -24px -42px; width: calc(100% + 48px); height: calc(100% + 84px); }
  .challenge-stone-stage::before { inset: -16px; }
  #buy .challenge-builder { padding: 20px; border-radius: 16px; }
  .challenge-main { grid-template-columns: 1fr; gap: 23px; }
  .challenge-settings { padding: 0; }
  #buy .challenge-field { padding-bottom: 18px; margin-bottom: 18px; }
  #buy .challenge-platforms img { width: 136px; }
  #buy .challenge-platforms button { font-size: 16px; }
  #buy .challenge-models button small { font-size: 11px; }
  #buy .challenge-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; padding: 22px; }
  .challenge-summary-top { grid-column: 1 / -1; }
  .challenge-account-title { padding: 24px 0 18px; }
  #buy #summary-size { font-size: 37px; }
  #buy #summary-model { font-size: 15px; }
  .challenge-summary-facts { grid-column: 1 / -1; grid-row: 3; display: flex; justify-content: space-between; gap: 10px; padding: 0 0 19px; margin-bottom: 18px; font-size: 11px; }
  .challenge-fee { margin: 0; padding: 24px 0 18px; align-self: start; text-align: right; }
  #buy #summary-price { justify-content: flex-end; flex-wrap: wrap; gap: 4px 9px; }
  #buy #summary-price strong { font-size: 44px; }
  #buy #summary-price del { font-size: 18px; }
  .challenge-fee small { font-size: 10px; line-height: 1.45; }
  .challenge-review, .challenge-no-payment, .challenge-promo { grid-column: 1 / -1; }
  .challenge-promo { margin-top: 18px; padding-top: 15px; }
  .challenge-included { margin-top: 24px; padding: 22px 0; }
  #buy .challenge-included h3 { font-size: 19px; }
  .challenge-included-heading > span { display: none; }
  #buy #included-list { gap: 13px 16px; }
  .challenge-bottom .button { min-width: 230px; }
}
@media(max-width: 480px) {
  #buy .wrap { padding-inline: 18px; }
  #buy .section-heading h2 { font-size: 34px; max-width: 310px; margin-inline: auto; }
  #buy .section-heading p { max-width: 275px; }
  .challenge-stone-backdrop { left: -17px; right: -17px; width: calc(100% + 34px); }
  .challenge-stone-stage::before { inset: -12px; }
  #buy .challenge-builder { padding: 16px; }
  #buy .challenge-field legend { font-size: 13px; }
  #buy .challenge-field legend span { font-size: 9px; }
  #buy .challenge-platforms button { height: 48px; font-size: 14px; padding: 10px 19px 10px 8px; gap: 6px; }
  #buy .challenge-platforms img { width: 117px; }
  #buy .challenge-platforms .ctrader-icon { width: 22px; height: 22px; }
  #buy .challenge-platforms .choice-tick { right: 5px; top: 5px; width: 11px; height: 11px; }
  #buy .challenge-models button { padding: 12px; }
  #buy .challenge-models button > span { font-size: 14px; }
  #buy .challenge-models button small { font-size: 9px; }
  .challenge-sizes { gap: 5px; }
  #buy .challenge-sizes button { font-size: 12px; min-height: 43px; }
  #buy .challenge-objective-heading h3 { font-size: 13px; }
  #buy #show-amounts { font-size: 10px; }
  #challenge-key-rules > div { padding: 10px 12px; }
  #challenge-key-rules dt { font-size: 12px; }
  #challenge-key-rules dd { font-size: 16px; }
  #buy .challenge-summary { padding: 18px 15px; column-gap: 12px; border-radius: 10px; }
  .challenge-summary-top { font-size: 9px; gap: 7px; }
  .challenge-summary-top > svg { width: 23px; height: 23px; }
  #buy #summary-size { font-size: 30px; }
  #buy #summary-model { font-size: 12px; }
  #summary-platform { font-size: 10px; }
  #buy #summary-price strong { font-size: 39px; }
  .challenge-fee > span { font-size: 11px; }
  .challenge-fee small { max-width: 110px; margin-left: auto; }
  .challenge-summary-facts { font-size: 9px; gap: 5px; }
  .challenge-summary-facts svg { width: 14px; height: 14px; }
  #buy .challenge-builder .button { min-height: 48px; font-size: 13px; padding: 13px 15px; }
  #buy .challenge-included h3 { font-size: 18px; }
  #buy #included-list { gap: 12px 12px; }
  #buy #included-list .included-item { font-size: 11px; gap: 7px; }
  #buy #included-list svg { width: 16px; height: 16px; padding: 3px; border-radius: 4px; }
  #buy .challenge-phase-details > summary { font-size: 12px; padding: 16px 12px; }
  #buy .challenge-phase-details .rules-wrap { padding: 0 5px 6px; }
  #buy .challenge-phase-details .rules-table :is(th,td) { font-size: 10px; padding: 11px 3px; }
  #buy .challenge-phase-details .rules-table thead th { font-size: 8px; letter-spacing: 0; }
  #buy .challenge-phase-details .rules-table small { font-size: 8px; }
  .challenge-bottom { flex-wrap: wrap; gap: 15px; padding: 22px 0; }
  .challenge-bottom > div { flex-wrap: nowrap; width: 100%; }
  .challenge-bottom > div > span { width: auto; margin: 0 auto 0 0; font-size: 11px; }
  .challenge-bottom small { display: none; }
  #buy #footer-price { font-size: 29px; }
  .challenge-bottom .button { width: 100%; min-width: 0; }
  .challenge-assurances { gap: 10px; padding-top: 20px; }
  .challenge-assurances > div { flex-direction: column; gap: 9px; align-items: flex-start; }
  .challenge-assurances strong { font-size: 10px; }
  .challenge-assurances span { font-size: 9px; gap: 5px; }
  .challenge-assurances svg { width: 20px; height: 20px; }
  #buy .challenge-demo-note { font-size: 9px; margin-top: 20px; text-align: left; }
}
@media(prefers-reduced-motion: reduce) {
  #buy :is(button, #show-amounts > span::before) { transition: none; }
}
@media(max-width: 370px) {
  #buy .challenge-summary { grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); column-gap: 8px; }
  #buy #summary-size { font-size: 25px; }
  #buy #summary-price strong { font-size: 33px; }
  #buy .challenge-summary-facts { font-size: 8px; }
  #buy .challenge-summary-facts > span { gap: 4px; }
  #buy .challenge-summary-top { font-size: 8px; letter-spacing: .03em; }
  #buy .challenge-builder .button { gap: 10px; }
}
