/* ======================================================================
   METAL look for the public website (Oct 23). Matches portal/metal.css: brushed-steel plates with a bevel,
   chrome headlines, buttons that sit on a ledge and press down, recessed inputs, a steel header and footer.
   Loaded after styles.css on every public page (index, join, how-it-works, start, terms, partner-terms).
   ====================================================================== */
:root {
  --plate: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, .22)),
           repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 2px, rgba(0, 0, 0, .05) 2px 3px, transparent 3px 5px),
           linear-gradient(180deg, #1c1524, #140e1b);
  --bevel: inset 0 1px 0 rgba(255, 255, 255, .13), inset 0 -2px 0 rgba(0, 0, 0, .5), inset 1px 0 0 rgba(255, 255, 255, .04), inset -1px 0 0 rgba(0, 0, 0, .35);
  --chrome: linear-gradient(180deg, #ffffff 0%, #f1edf6 38%, #a59eb2 50%, #d9d4e1 62%, #ffffff 100%);
  --gold: linear-gradient(180deg, #fdffc4 0%, #f0ff2e 42%, #a9b400 52%, #e9f560 70%, #fbff9e 100%);
  --pinkmetal: linear-gradient(180deg, #ffd1ef 0%, #ff4fc4 40%, #b80083 52%, #ff47c0 72%, #ffc2ea 100%);
}
body { background: radial-gradient(1400px 700px at 50% -10%, rgba(155, 77, 255, .12), transparent 60%), #0b0610; }

/* ---------- chrome headlines (colored words get pink / gold metal) ---------- */
h1, h2, .amt, .cmp-price {
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .65));
}
:is(h1, h2) .pink { background: var(--pinkmetal); -webkit-background-clip: text; background-clip: text; color: transparent; }
:is(h1, h2) .yellow, .amt, .cmp-price { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cmp-price small { -webkit-text-fill-color: #b9abc8; }
.legal h1, .legal h2 { filter: none; }

/* ---------- plates ---------- */
:is(.steps li, .price-card, .coach, .loop a, .need-grid p, .wt-list button, .toc, .join-form, .join-done, .card-x) {
  background: var(--plate); border: 1px solid rgba(255, 255, 255, .1); border-top-color: rgba(255, 255, 255, .22); border-bottom-color: rgba(0, 0, 0, .6);
  box-shadow: var(--bevel);
}
.price-card.featured {
  background: linear-gradient(180deg, rgba(255, 31, 174, .1), transparent 40%) padding-box, var(--plate) padding-box,
              linear-gradient(135deg, #ff8ad6, var(--pink) 30%, var(--violet) 60%, var(--orange)) border-box;
  border: 2px solid transparent; box-shadow: var(--bevel), 0 0 60px rgba(255, 31, 174, .22);
}
.coach-photo { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 6px 16px rgba(0, 0, 0, .5); }
.step-num, .loop .step-num {
  background: linear-gradient(180deg, #fdffc4, #f0ff2e 45%, #b8c400 55%, #f0ff2e); color: #12001a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -2px 0 rgba(0, 0, 0, .25), 0 3px 0 rgba(0, 0, 0, .6);
}
.compare-wrap { background: var(--plate); box-shadow: var(--bevel); border: 1px solid rgba(255, 255, 255, .1); }
.compare thead th { background: linear-gradient(180deg, #2a2232, #17111d); }
.compare td.hl, .compare .hl { background: rgba(255, 31, 174, .08); }

/* ---------- sections: brushed bands with a machined edge ---------- */
:is(.why, .coaches, .final) {
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .15)), repeating-linear-gradient(0deg, rgba(255, 255, 255, .015) 0 1px, transparent 1px 3px), #130d19;
  border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(0, 0, 0, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

/* ---------- buttons: a polished sheen over each color, sitting on a ledge ---------- */
:root .btn:not(.btn-ghost) {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, .1) 44%, rgba(0, 0, 0, .14) 52%, rgba(255, 255, 255, .08) 100%);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .7)) drop-shadow(0 8px 12px rgba(0, 0, 0, .4));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(0, 0, 0, .25);
  transition: transform .08s ease, filter .08s ease;
}
:root .btn:not(.btn-ghost):hover { transform: translateY(-1px); }
:root .btn:not(.btn-ghost):active { transform: translateY(3px); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .7)) brightness(.95); }
.btn-ghost, .wt-ctrl .ctl {
  color: #ece7f2; background: linear-gradient(180deg, #3b3346 0%, #282030 48%, #1d1724 52%, #2b2334 100%);
  border: 1px solid rgba(255, 255, 255, .16) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(0, 0, 0, .55);
  filter: drop-shadow(0 3px 0 #08050b);
  transition: transform .08s ease, filter .08s ease;
}
.btn-ghost:hover { color: var(--yellow); }
.btn-ghost:active, .wt-ctrl .ctl:active { transform: translateY(2px) !important; filter: drop-shadow(0 1px 0 #08050b); }

/* ---------- header, menu, footer ---------- */
.site-header { background: linear-gradient(180deg, rgba(36, 28, 45, .96), rgba(17, 12, 22, .96)); border-bottom: 1px solid rgba(0, 0, 0, .7); box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 8px 22px rgba(0, 0, 0, .45); }
.site-footer { background: linear-gradient(180deg, #17111d, #0b0610); border-top: 1px solid rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
@media (max-width: 860px) {
  .nav { background: var(--plate); box-shadow: var(--bevel), 0 18px 40px rgba(0, 0, 0, .6); }
}

/* ---------- FAQ: each question is a steel row ---------- */
.faq details { background: var(--plate); border: 1px solid rgba(255, 255, 255, .08); border-bottom-color: rgba(0, 0, 0, .6); box-shadow: var(--bevel); margin-bottom: 8px; padding: 0 16px; }
.faq summary::after { color: var(--yellow); }

/* ---------- join form: recessed fields, plan choices as steel keys ---------- */
:is(.join-form input[type=text], .join-form input[type=email], input[type=email], input[type=text], select, textarea) {
  background: linear-gradient(180deg, #08050b, #110b16); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .06);
}
:is(.interval label, .who label) {
  background: linear-gradient(180deg, #2b2334, #1a1421); border-color: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 3px 0 rgba(0, 0, 0, .55);
}
:is(.interval, .who) label:has(input:checked) {
  background: linear-gradient(180deg, rgba(255, 31, 174, .28), rgba(255, 31, 174, .12)), linear-gradient(180deg, #2b2334, #1a1421);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(255, 31, 174, .6), 0 1px 0 rgba(0, 0, 0, .55); transform: translateY(2px);
}

/* ---------- /start: a steel phone in the player ---------- */
.phone {
  background: linear-gradient(160deg, #6d6577 0%, #2c2534 18%, #17111d 50%, #3a3244 82%, #8d8598 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .45), inset 0 -1px 1px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .7), 0 24px 60px rgba(0, 0, 0, .6), 0 0 60px rgba(255, 31, 174, .18);
}
.wt-bars button { background: linear-gradient(180deg, #08050b, #1a1421); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7); }
.wt-bars button i { background: var(--gold); }

@media (prefers-reduced-motion: reduce) { :root .btn:not(.btn-ghost), .btn-ghost { transition: none; } }
