/* financial-fitness.css — fitness wizard. Uses global.css tokens. */

.ff { max-width: 600px; margin: 0 auto; }
.ff-progress { height: 5px; background: var(--bg); border-radius: 100px; margin-bottom: 1.75rem; overflow: hidden; }
.ff-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--gold)); border-radius: 100px; transition: width .35s ease; }

.ff-step { animation: ff-fade .3s ease; }
@keyframes ff-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ff-step-title { font-size: 1.4rem; margin-bottom: 1.25rem; }

.ff-field { margin-bottom: 1.1rem; }
.ff-field label { display: block; font-weight: 600; margin-bottom: .4rem; }
.ff-help { font-weight: 400; color: var(--muted); font-size: .82rem; }
.ff-field input, .ff-field select {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--border); border-radius: 10px;
  font: inherit; font-size: 1rem; background: var(--surface); color: var(--ink);
}
.ff-field input:focus, .ff-field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,123,110,.12); }

.ff-toggle { display: inline-flex; border: 1.5px solid var(--border); border-radius: 100px; overflow: hidden; }
.ff-toggle button { border: 0; background: var(--surface); padding: .55rem 1.4rem; font: inherit; cursor: pointer; color: var(--muted); }
.ff-toggle button.active { background: var(--teal); color: #fff; font-weight: 600; }

.ff-nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.75rem; }
.ff-nav .btn:only-child { margin-left: auto; }
.ff-nav [data-ff-next], .ff-nav [data-ff-submit] { margin-left: auto; }

/* ---- Result ---- */
.ff-result { animation: ff-fade .35s ease; text-align: center; }
.ff-gauge { position: relative; display: inline-block; margin: .5rem auto; }
.ff-gauge-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ff-gauge-num b { font-family: var(--ff-mono); font-size: 2.4rem; font-weight: 700; color: var(--ink); line-height: 1; }
.ff-gauge-num span { font-size: .8rem; color: var(--muted); }
.ff-band { font-size: 1.6rem; margin: .25rem 0; }
.ff-band-sub { max-width: 420px; margin: 0 auto 1.5rem; }

.ff-break-title { font-size: 1.1rem; text-align: left; margin: 1.5rem 0 .75rem; }
.ff-breakdown { text-align: left; display: grid; gap: .7rem; }
.ff-dim-top { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: .25rem; }
.ff-dim-top b { font-family: var(--ff-mono); }
.ff-dim-bar { height: 8px; background: var(--bg); border-radius: 100px; overflow: hidden; }
.ff-dim-bar span { display: block; height: 100%; border-radius: 100px; }
.ff-good .ff-dim-bar span { background: var(--green); }
.ff-ok   .ff-dim-bar span { background: var(--gold); }
.ff-weak .ff-dim-bar span { background: var(--red); }
.ff-good .ff-dim-top b { color: var(--green); }
.ff-weak .ff-dim-top b { color: var(--red); }

.ff-tips { text-align: left; margin-top: 1.25rem; }
.ff-tip { display: flex; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.ff-tip-num { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.ff-tip strong { display: block; }
.ff-tip p { margin: .15rem 0 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.ff-allgood { text-align: center; color: var(--green); font-weight: 600; padding: 1rem 0; }

.ff-cta { text-align: left; padding: 1.5rem; margin-top: 1.75rem; }
.ff-cta h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.ff-lead { margin-top: 1rem; display: grid; gap: .75rem; }
.ff-lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.ff-lead input[type=text]:not([name=website]), .ff-lead input[type=tel] { width: 100%; padding: .7rem .9rem; border: 1px solid var(--border); border-radius: 8px; font: inherit; }
@media (max-width: 520px) { .ff-lead-row { grid-template-columns: 1fr; } }
