/* DealReveal scorecard: full-screen, one question at a time */
.page-scorecard { background: var(--ink); }
.page-scorecard .nav, .page-scorecard .footer, .page-scorecard .menu { display: none !important; }
.tf { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; }
.tf__bar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 1rem;
  padding: calc(0.8rem + env(safe-area-inset-top, 0px)) var(--gutter) 0.8rem; background: var(--ink);
}
.tf__bar .brand__mark { width: 28px; height: 28px; }
.tf__chapter { flex: 1; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tf__exit { font-size: 0.88rem; color: var(--on-dark-2); text-decoration: none; padding: 0.5rem 0.25rem; }
.tf__exit:hover { color: var(--on-dark); }
.tf__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line-dark); }
.tf__progress i { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); transition: transform 0.6s var(--ease); }

.tf__stage { display: flex; padding: clamp(1.5rem, 6vh, 4rem) var(--gutter) 2rem; }
.tf__stage > * { margin: auto; width: 100%; }
.tf__stage.is-in .tf__q { animation: tfIn 0.55s var(--ease); }
@keyframes tfIn { from { opacity: 0; transform: translateY(24px); } }
.tf__q { max-width: 40rem; }
.tf__q--wide { max-width: 46rem; }
.shake { animation: shake 0.35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.tf__num { font-family: var(--mono); font-size: 0.85rem; color: var(--lime); margin-bottom: 0.75rem; }
.tf__num span { opacity: 0.6; }
.tf__title { font-size: clamp(1.65rem, 5.2vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.12; }
.tf__title--xl { font-size: clamp(2rem, 6.5vw, 3.4rem); line-height: 1.02; letter-spacing: -0.045em; }
.tf__help { margin-top: 0.9rem; color: var(--on-dark-2); font-size: 1.05rem; max-width: 34em; }
.tf__tip { margin-top: 1.5rem; padding: 0.85rem 1rem; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line-dark); font-size: 0.92rem; color: var(--on-dark-2); }
.tf__tip span { color: var(--lime); margin-right: 0.3rem; font-size: 0.75rem; }
.tf__tip a { color: var(--lime); }
.tf__fine { margin-top: 2rem; font-size: 0.8rem; color: var(--on-dark-2); }
.tf__err { margin-top: 1rem; color: #ff9b8f; font-weight: 500; }

/* inputs: big, underlined, typeform-like */
.tf__fields { display: grid; gap: 1.5rem; margin-top: 2rem; }
.tf__fields--grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
.tf__field { display: grid; gap: 0.3rem; }
.tf__label { font-size: 0.88rem; color: var(--on-dark-2); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.tf__inputwrap { position: relative; display: flex; align-items: center; }
.tf input:not([type=checkbox]):not([type=file]), .tf select {
  width: 100%; font: inherit; font-size: clamp(1.3rem, 4.5vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em;
  color: var(--on-dark); background: transparent; border: 0; border-bottom: 2px solid var(--line-dark);
  padding: 0.45rem 0; border-radius: 0; transition: border-color 0.25s;
}
.tf__fields--grid input:not([type=checkbox]) { font-size: 1.2rem; }
.tf input::placeholder { color: rgba(var(--paper-rgb), 0.25); }
.tf input:focus, .tf select:focus { outline: none; border-bottom-color: var(--lime); }
.tf .tf__inputwrap:has(.tf__suffix) > input:not([type=checkbox]) { padding-right: 1.6rem; }
.tf__suffix { position: absolute; right: 0; color: var(--on-dark-2); font-size: 1.1rem; pointer-events: none; }
.tf__badge { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(124, 238, 99, 0.16); color: var(--lime); padding: 0.15rem 0.45rem; border-radius: 999px; }
.tf__live { margin-top: 1.25rem; min-height: 1.5em; color: var(--on-dark-2); }
.tf__live b { color: var(--lime); font-family: var(--mono); font-weight: 500; }

/* choices */
.tf__choices { display: grid; gap: 0.6rem; margin-top: 2rem; }
.tf__choices--grid { grid-template-columns: 1fr 1fr; }
.tf__choice {
  display: flex; align-items: center; gap: 0.85rem; text-align: left; cursor: pointer;
  min-height: 56px; padding: 0.7rem 1rem; border-radius: 12px;
  background: var(--ink-2); border: 1px solid var(--line-dark); font-size: 1.02rem; font-weight: 500;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}
.tf__choice:hover { border-color: rgba(124, 238, 99, 0.6); }
.tf__choice:active { transform: scale(0.99); }
.tf__choice kbd { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--line-dark); font-family: var(--mono); font-size: 0.75rem; }
.tf__choice small { display: block; font-size: 0.82rem; color: var(--on-dark-2); font-weight: 400; margin-top: 0.1rem; }
.tf__choice[aria-checked="true"] { background: rgba(124, 238, 99, 0.12); border-color: var(--lime); }
.tf__choice[aria-checked="true"] kbd { background: var(--lime); color: var(--ink); border-color: var(--lime); }

/* channel mix + manufacturing */
.tf__mix { display: grid; gap: 1rem; margin-top: 2rem; }
.tf__mixrow { display: grid; grid-template-columns: 1fr 6.5rem; gap: 0.25rem 1rem; align-items: end; }
.tf__mixrow > span:first-child { font-size: 1rem; padding-bottom: 0.55rem; }
.tf__mixrow input:not([type=checkbox]) { font-size: 1.3rem; text-align: right; }
.tf__mixbar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--line-dark); position: relative; overflow: hidden; }
.tf__mixbar::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform-origin: left; transform: scaleX(var(--v)); transition: transform 0.4s var(--ease); }
.tf__total { margin-top: 1.5rem; display: flex; align-items: baseline; gap: 0.75rem; padding: 0.9rem 1rem; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line-dark); }
.tf__total b { font-family: var(--mono); font-size: 1.25rem; }
.tf__total em { margin-left: auto; font-style: normal; font-size: 0.88rem; color: var(--on-dark-2); }
.tf__total.is-ok { border-color: rgba(124, 238, 99, 0.6); }
.tf__total.is-ok em { color: var(--lime); }
.tf__total.is-warn em { color: #f5c451; }
.tf__mfg { display: grid; gap: 0.75rem; margin-top: 2rem; }
.tf__mfgrow { display: grid; grid-template-columns: 1fr 5.5rem 44px; gap: 0.75rem; align-items: end; }
.tf select { font-size: 1.15rem; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23f4f2ec' stroke-width='2'/%3E%3C/svg%3E") right center/18px no-repeat; padding-right: 1.5rem; }
.tf select option { color: var(--ink); }
.tf__mfgrow input:not([type=checkbox]) { font-size: 1.15rem; text-align: right; }
.tf__x, .tf__add, .tf__skip { background: none; border: 1px solid var(--line-dark); border-radius: 999px; cursor: pointer; color: var(--on-dark-2); }
.tf__x { width: 44px; height: 44px; font-size: 1.2rem; }
.tf__add { margin-top: 1rem; padding: 0.65rem 1.1rem; }
.tf__skip { margin-top: 1.5rem; padding: 0.7rem 1.2rem; font-size: 0.95rem; }
.tf__x:hover, .tf__add:hover, .tf__skip:hover { color: var(--on-dark); border-color: var(--on-dark-2); }

/* welcome */
.tf__welcome .eyebrow { color: var(--on-dark-2); }
.tf__paths { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.tf__paths--cards { display: grid; }
.tf__path {
  text-align: left; cursor: pointer; padding: 1.25rem 1.25rem 1.25rem 3.75rem; border-radius: var(--radius); position: relative;
  background: var(--ink-2); border: 1px solid var(--line-dark); transition: border-color 0.2s, transform 0.3s var(--ease);
}
.tf__path::before { content: ""; position: absolute; left: 1.2rem; top: 1.35rem; width: 1.6rem; height: 1.6rem; border-radius: 8px; background: var(--ink-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%237cee63' stroke-width='2'/%3E%3C/svg%3E") center/16px no-repeat; }
.tf__path--hot::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M5 20h14' fill='none' stroke='%230b0d0c' stroke-width='2'/%3E%3C/svg%3E"); }
.tf__path:hover { border-color: var(--lime); transform: translateY(-2px); }
.tf__path b { display: block; font-size: 1.15rem; letter-spacing: -0.02em; }
.tf__path span { display: block; margin-top: 0.25rem; color: var(--on-dark-2); font-size: 0.93rem; }
.tf__resume { margin-top: 2rem; padding: 1.25rem; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); }
.tf__resume .tf__paths { margin-top: 1rem; }
@media (min-width: 700px) { .tf__paths--cards { grid-template-columns: 1fr 1fr; } }

/* upload */
.drop {
  margin-top: 2rem; display: grid; justify-items: center; gap: 0.4rem; text-align: center; cursor: pointer;
  padding: clamp(2rem, 7vw, 3.5rem) 1.25rem; border-radius: var(--radius-lg);
  border: 2px dashed rgba(124, 238, 99, 0.45); background: rgba(124, 238, 99, 0.04); transition: background-color 0.2s, border-color 0.2s;
}
.drop:hover, .drop.is-over { background: rgba(124, 238, 99, 0.1); border-color: var(--lime); }
.drop b { font-size: 1.15rem; }
.drop span { color: var(--on-dark-2); font-size: 0.92rem; }
.drop__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M5 20h14' fill='none' stroke='%230b0d0c' stroke-width='2'/%3E%3C/svg%3E") center/24px no-repeat; margin-bottom: 0.5rem; }
.up { margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); }
.up--busy { display: flex; align-items: center; gap: 0.75rem; }
.up--ok { border-color: rgba(124, 238, 99, 0.6); }
.up--err { border-color: rgba(255, 155, 143, 0.6); }
.up--err p { color: #ffb4ab; }
.up ul { list-style: none; padding: 0; margin: 0.75rem 0 1.25rem; display: grid; gap: 0.1rem; }
.up li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line-dark); font-size: 0.92rem; }
.up li span { color: var(--on-dark-2); }
.up__more { font-size: 0.85rem; color: var(--on-dark-2); margin: -0.5rem 0 1rem; }
.up li b { font-family: var(--mono); font-weight: 500; }
.up .up__warn, .up .up__notes { margin: 0 0 1rem; gap: 0.35rem; }
.up .up__warn li, .up .up__notes li { display: block; padding: 0 0 0 1.4rem; border: 0; position: relative; font-size: 0.85rem; line-height: 1.45; }
.up .up__warn li { color: #f5c451; }
.up .up__notes li { color: var(--on-dark-2); }
.up .up__warn li::before, .up .up__notes li::before { position: absolute; left: 0; }
.up .up__warn li::before { content: "▲"; font-size: 0.7rem; top: 0.15rem; }
.up .up__notes li::before { content: "✓"; color: var(--lime); }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-dark); border-top-color: var(--lime); animation: spin 0.8s linear infinite; flex: none; }
.spin--lg { width: 44px; height: 44px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.tf__busy { display: grid; justify-items: center; gap: 1.25rem; text-align: center; color: var(--on-dark-2); }

/* review */
.rv { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line-dark); }
.rv button { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; text-align: left; padding: 0.85rem 0; background: none; border: 0; border-bottom: 1px solid var(--line-dark); cursor: pointer; }
.rv__q { font-size: 0.82rem; color: var(--on-dark-2); }
.rv__a { grid-column: 1; font-weight: 500; overflow-wrap: anywhere; }
.rv__e { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 0.85rem; color: var(--lime); }
.rv button:hover .rv__a { color: var(--lime); }
.tf__terms { display: flex; gap: 0.75rem; align-items: flex-start; margin-top: 1.75rem; font-size: 0.88rem; color: var(--on-dark-2); cursor: pointer; }
.tf__terms input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--lime); }
.tf__terms a { color: var(--on-dark); }

/* result */
.res__top { display: grid; gap: 1.5rem; align-items: center; margin: 1rem 0 2rem; }
.ring { position: relative; width: 160px; height: 160px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--line-dark); stroke-width: 9; }
.ring .ring__v { stroke: var(--lime); stroke-linecap: round; animation: ringIn 1.4s var(--ease); }
.ring--warn .ring__v { stroke: #f5c451; }
.ring--low .ring__v { stroke: #ff9b8f; }
@keyframes ringIn { from { stroke-dashoffset: 327; } }
.ring span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring b { font-size: 3rem; letter-spacing: -0.05em; line-height: 1; }
.ring small { color: var(--on-dark-2); }
.res__level { font-weight: 600; font-size: 1.1rem; }
.res__level--ok { color: var(--lime); }
.res__level--warn { color: #f5c451; }
.res__level--low { color: #ff9b8f; }
.res__val { font-size: clamp(2rem, 7vw, 3rem); font-weight: 600; letter-spacing: -0.045em; margin-top: 0.5rem; line-height: 1.05; }
.res__basis { color: var(--on-dark-2); font-size: 0.88rem; }
.res__bars { margin-bottom: 2rem; }
.res__flags { margin: 0 0 1.5rem; padding-left: 1.2rem; display: grid; gap: 0.35rem; color: #f5c451; font-size: 0.92rem; }
.res__locked { padding: 1.25rem; border-radius: var(--radius); border: 1px dashed var(--line-dark); }
.res__sub { font-weight: 600; margin-bottom: 0.6rem; }
.res__locked ol { margin: 0 0 1rem; padding-left: 1.2rem; display: grid; gap: 0.4rem; color: var(--on-dark-2); }
.blur { filter: blur(5px); user-select: none; }
.res__ctas { display: grid; gap: 0.6rem; margin-top: 1.25rem; }
@media (min-width: 640px) { .res__top { grid-template-columns: auto 1fr; gap: 2.5rem; } .res__ctas { grid-template-columns: 1fr 1fr; } .res__ctas .tf__err, .res__ctas .res__secure { grid-column: 1 / -1; } }
.res__secure { text-align: center; font-size: 0.8rem; color: var(--on-dark-2); }
.res__trust { margin-top: 1.5rem; display: grid; gap: 1rem; }
.res__proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.res__proof li { background: var(--ink); padding: 0.85rem 1rem; display: grid; gap: 0.15rem; }
.res__proof b { color: var(--lime); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.res__proof span { font-size: 0.8rem; color: var(--on-dark-2); }
@media (min-width: 640px) { .res__proof { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.res__quote { margin: 0; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); }
.res__quote blockquote { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--on-dark); }
.res__quote figcaption { display: flex; align-items: center; gap: 0.65rem; margin-top: 0.75rem; font-size: 0.8rem; color: var(--on-dark-2); }
.res__quote figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.res__quote figcaption b { display: block; color: var(--on-dark); font-weight: 600; }

/* footer controls */
.tf__foot {
  position: sticky; bottom: 0; display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(transparent, var(--ink) 30%);
}
.tf__back { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--ink-2); border: 1px solid var(--line-dark); cursor: pointer; font-size: 1.15rem; }
.tf__back:hover { border-color: var(--on-dark-2); }
.tf__hint { display: none; margin-left: auto; font-size: 0.82rem; color: var(--on-dark-2); }
.tf__hint kbd { font-family: var(--mono); border: 1px solid var(--line-dark); border-radius: 6px; padding: 0.1rem 0.4rem; }
.tf__next { flex: 1; }
@media (min-width: 700px) {
  .tf__foot { max-width: 46rem; width: 100%; margin-inline: auto; }
  .tf__hint { display: inline; }
  .tf__next { flex: none; min-width: 9rem; }
}
@media (pointer: coarse) { .tf__hint { display: none !important; } }

/* paid report ($499): book the strategy call inline */
.res__call { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line-dark, rgba(var(--paper-rgb), 0.14)); display: grid; gap: 0.6rem; }
.res__callh { font-size: clamp(1.4rem, 3.5vw, 2rem); letter-spacing: -0.03em; line-height: 1.15; }
.res__cal { width: 100%; height: 720px; border: 0; border-radius: 18px; background: #fff; margin-top: 0.5rem; }
@media (max-width: 640px) { .res__cal { height: 1000px; } }

/* the two paid tiers on the result screen, with what each report contains */
.res__tiers { display: grid; gap: 1rem; margin-top: 1.5rem; }
.res__tier { position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.3rem 1.3rem; border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line-dark); }
.res__tier--hot { border-color: rgba(124, 238, 99, 0.7); box-shadow: 0 0 0 4px rgba(124, 238, 99, 0.08); }
.res__tierbadge { position: absolute; top: -0.7rem; left: 1.3rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--lime); color: var(--ink); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; }
.res__tiername { font-weight: 600; font-size: 1.05rem; }
.res__tieramt { font-size: 2.2rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; margin: 0.2rem 0 0; }
.res__tier .checks { margin: 1rem 0 1.4rem; gap: 0.5rem; font-size: 0.9rem; }
.res__tier .btn { margin-top: auto; }
.res__ctas--note { margin-top: 0.75rem; }
@media (min-width: 640px) { .res__tiers { grid-template-columns: 1fr 1fr; } }
