/* FlipForge homepage: Decision Challenge (v1), the opening of the existing price demo.
 * Same fictional card, prices and Max Buy as the rest of the homepage. Locked palette through the v10 tokens. */

.ff10-chal{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(16px,2vw,28px);margin-top:clamp(48px,6vw,88px);align-items:start}

/* ---------- The listing (white, like the price question) ---------- */
.ff10-chal-listing{display:grid;grid-template-columns:minmax(96px,150px) minmax(0,1fr);gap:clamp(18px,2vw,28px);align-items:center;
  padding:clamp(22px,2.6vw,36px);border:1px solid var(--line-l);border-radius:16px;background:var(--w)}
.ff10-chal-slab{margin:0}
@media(min-width:1101px){.ff10-chal-listing{position:sticky;top:120px}}
.ff10-chal-slab img{display:block;width:100%;height:auto;filter:drop-shadow(0 18px 26px rgba(0,0,0,.28))}
.ff10-chal-listing h3{margin:10px 0 0;font-size:clamp(20px,1.7vw,24px);font-weight:800;letter-spacing:-.02em;line-height:1.2;color:var(--k)}
.ff10-chal-listing h3 span{display:block;margin-top:4px;font-size:16px;font-weight:600;letter-spacing:0;color:var(--s-ink)}
.ff10-chal-terms{margin:18px 0 0;display:grid;gap:10px}
.ff10-chal-terms div{display:flex;justify-content:space-between;gap:16px;padding-top:10px;border-top:1px solid var(--line-l)}
.ff10-chal-terms dt{font-size:15px;color:var(--s-ink)}
.ff10-chal-terms dd{margin:0;white-space:nowrap;font-size:17px;font-weight:800;color:var(--k);font-variant-numeric:tabular-nums}
.ff10-chal-hook{margin-top:16px!important;font-size:16px;font-weight:700;color:var(--k)}

/* ---------- The investigation (black console, like the FlipForge question) ---------- */
.ff10-chal-console{position:relative;overflow:hidden;border-radius:16px;background:var(--k);color:var(--w);
  padding:clamp(24px,3vw,44px);box-shadow:0 30px 70px rgba(0,0,0,.22)}
.ff10-chal-console::after{content:"";position:absolute;right:-18%;top:-40%;width:70%;aspect-ratio:1;border-radius:50%;
  background:radial-gradient(closest-side,rgba(212,175,55,.2),rgba(212,175,55,0));pointer-events:none}
.ff10-chal-console>*{position:relative;z-index:1}
.ff10-chal-console .ff10-q-label{color:var(--g)}
.ff10-chal-step+.ff10-chal-step{margin-top:28px;padding-top:28px;border-top:1px solid var(--line-d)}
.ff10-chal-question{margin-top:10px!important;font-size:clamp(30px,3.3vw,54px);font-weight:800;letter-spacing:-.035em;line-height:1.02}
.ff10-chal-choices{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.ff10-chal-choices button{min-height:52px;padding:0 22px;border-radius:6px;border:1px solid rgba(255,255,255,.42);background:none;color:var(--w);
  font:inherit;font-weight:700;font-size:16px;cursor:pointer;transition:background-color .18s,color .18s,border-color .18s}
.ff10-chal-choices button:hover{border-color:var(--w)}
.ff10-chal-choices button[aria-pressed="true"]{background:var(--g);border-color:var(--g);color:var(--k)}
.ff10-chal-choices button:disabled{cursor:default}
.ff10-chal-choices button:disabled:not([aria-pressed="true"]){opacity:.45}

.ff10-chal-findings{list-style:none;margin:16px 0 0;padding:0}
.ff10-chal-findings li{display:grid;grid-template-columns:30px minmax(0,1fr) auto;column-gap:16px;align-items:start;padding:16px 0;border-top:1px solid var(--line-d)}
.ff10-chal-findings li:first-child{border-top:0;padding-top:4px}
.ff10-chal-n{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1px solid var(--g);color:var(--g);font-size:14px;font-weight:700}
.ff10-chal-findings strong{display:block;font-size:17px;font-weight:700;line-height:1.3}
.ff10-chal-findings p{margin-top:4px!important;font-size:15.5px;line-height:1.55;color:rgba(255,255,255,.72)}
.ff10-chal-tag{align-self:center;font-style:normal;font-size:12px;font-weight:700;padding:6px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.32);white-space:nowrap}
.ff10-chal-tag-gold{border-color:var(--g);color:var(--g)}
.ff10-chal-nav{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:20px}
.ff10-chal-nav span{font-size:14px;color:var(--s)}
.ff10-chal-console .ff10-text-btn{color:var(--w)}

.ff10-chal-decision{display:flex;align-items:center;gap:18px;margin-top:12px}
.ff10-light .ff10-chal-console .ff10-verdict[data-verdict-state]{flex:none;padding:8px 14px 10px;font-size:clamp(34px,3.4vw,50px);background:var(--w);border-color:var(--w);color:var(--k)}
.ff10-chal-decision p{font-size:17px;line-height:1.45;color:rgba(255,255,255,.86)}
.ff10-chal-terms-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ff10-chal-terms-row div{flex-direction:column;gap:4px;border-top-color:var(--line-d)}
.ff10-chal-terms-row dt{color:var(--s);font-size:13px}
.ff10-chal-terms-row dd{color:var(--w);font-size:18px}
.ff10-chal-terms-row div:nth-child(2) dd{color:var(--g)}
.ff10-chal-reveal{font-size:clamp(19px,1.6vw,23px);font-weight:600;letter-spacing:-.015em;line-height:1.4}
.ff10-chal-note{grid-column:1/-1}

/* Stages appear as the visitor moves through them. Without the script everything is shown. */
.ff10-chal-ready [data-chal-step][hidden],.ff10-chal-ready [data-chal-finding][hidden],.ff10-chal-ready [data-chal-next][hidden]{display:none}
.ff10-chal:not(.ff10-chal-ready) .ff10-chal-choices,.ff10-chal:not(.ff10-chal-ready) .ff10-chal-nav button{display:none}
.ff10-chal-ready .ff10-chal-in{animation:ff10-chal-in .45s cubic-bezier(.2,.7,.2,1) both}
@keyframes ff10-chal-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* "What would change this decision?" introduces the existing price meter. */
.ff10-demo-sub{margin-top:clamp(64px,8vw,112px);padding-top:clamp(40px,5vw,64px);border-top:1px solid var(--line-l)}
.ff10-demo-subtitle{margin:0;font-size:clamp(32px,3.6vw,56px);font-weight:800;letter-spacing:-.04em;line-height:1;text-transform:uppercase;color:var(--k)}

@media(max-width:1100px){
  .ff10-chal{grid-template-columns:1fr}
}
@media(max-width:760px){
  .ff10-chal-listing{grid-template-columns:96px minmax(0,1fr)}
  .ff10-chal-findings li{grid-template-columns:30px minmax(0,1fr)}
  .ff10-chal-tag{grid-column:2;justify-self:start;margin-top:10px}
  .ff10-chal-choices button{flex:1 1 100%}
  .ff10-chal-decision{align-items:flex-start;flex-direction:column}
  .ff10-chal-terms-row{grid-template-columns:1fr}
  .ff10-chal-nav .ff10-btn{flex:1 1 100%}
  .ff10-demo-sub{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .ff10-chal-ready .ff10-chal-in{animation:none}
}
