/* Zero Touch Studio: interactive tools (builder, advisor, ROI, compare, systems).
   Uses the design tokens from /styles.css only. All classes are prefixed t-.
   Surfaces: .t-surface = Midnight panel, .t-dark = raised Midnight-2 card inside it, Bone cards for prices. */

.t-builder, .t-adv, .t-roi, .t-compare, .t-sys {
  --t-panel: var(--radius-panel, 32px); --t-card: var(--radius-card, 22px);
  --t-row: 18px; --t-hi: inset 0 1px 0 rgba(241, 238, 229, .06);
  --t-edge: rgba(241, 238, 229, .1); --t-edge-2: rgba(241, 238, 229, .22);
  --t-fill: rgba(241, 238, 229, .035);
  color: var(--ink); font-family: var(--font);
}
.t-builder *, .t-adv *, .t-roi *, .t-compare *, .t-sys * { box-sizing: border-box; }
.t-builder [hidden], .t-adv [hidden], .t-roi [hidden], .t-sys [hidden], .t-compare [hidden] { display: none !important; }
.t-offscreen { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; left: -9999px; }

/* ---------- Surfaces ---------- */
.t-surface { background: var(--midnight); color: var(--on-dark); border-radius: var(--t-panel); padding: clamp(22px, 4vw, 48px);
  box-shadow: var(--t-hi), 0 0 0 1px rgba(21, 28, 41, .06), 0 40px 80px -48px rgba(21, 28, 41, .55); position: relative; }
.t-dark { background: var(--midnight-2); color: var(--on-dark); border-radius: var(--t-card); box-shadow: var(--t-hi), 0 0 0 1px var(--t-edge); }

/* Panel heading (matches the refs: orange caps, big bold title, bold italic accent) */
.t-head { margin: 0 0 clamp(28px, 4vw, 44px); max-width: 640px; }
.t-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.t-title { margin: 0; font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; color: var(--on-dark); text-wrap: balance; }
.t-title em, .t-adv__q em { font-style: italic; font-weight: 800; color: var(--orange); }
.t-lede { margin: 14px 0 0; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.55; color: var(--muted-dark); max-width: 52ch; }

/* ---------- Shared bits ---------- */
.t-link { color: var(--orange-ink); text-decoration: underline; text-underline-offset: 3px; }
.t-surface .t-link, .t-dark .t-link { color: var(--on-dark); text-decoration-color: var(--orange); }
.t-form .t-link { color: var(--orange-ink); text-decoration-color: currentColor; }
.t-linkbtn { background: none; border: 0; padding: 10px 4px; min-height: 44px; font: 500 15px/1.3 var(--font); color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--t-edge-2); cursor: pointer; }
.t-linkbtn:hover { text-decoration-color: currentColor; }
.t-block { width: 100%; }

.t-builder :focus-visible, .t-adv :focus-visible, .t-roi :focus-visible, .t-sys :focus-visible, .t-compare :focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.t-opt--card :focus-visible, .t-form :focus-visible, .t-rec :focus-visible { outline-color: var(--orange-ink); }
[data-focus]:focus, .t-summary__title:focus { outline: none; }
[data-focus]:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; border-radius: 6px; }

/* Buttons inside the tools: pills on Midnight */
.t-surface .btn { border-radius: 999px; min-height: 52px; padding: 0 26px; font-weight: 700; gap: 10px; }
.t-surface .btn svg { flex: none; transition: transform .2s var(--ease, ease); }
.t-surface .btn:hover svg { transform: translateX(3px); }
.t-surface .btn--ghost { color: var(--on-dark); border: 1px solid var(--t-edge-2); background: transparent; box-shadow: none; }
.t-surface .btn--ghost:hover { border-color: var(--on-dark); background: var(--t-fill); transform: none; }
.t-surface .btn--primary:disabled { opacity: .6; cursor: default; transform: none; }

/* Icon tile: dark rounded square with an orange outline icon (Bone cards and dark cards alike) */
.t-tile { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--midnight); box-shadow: var(--t-hi); }
.t-dark .t-tile, .t-surface .t-opt:not(.t-opt--card) .t-tile { background: rgba(241, 238, 229, .07); }
.t-ico { width: 26px; height: 26px; background: var(--orange); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

/* Price column: big figure, unit line, setup line */
.t-pc { display: grid; justify-items: end; text-align: right; flex: none; line-height: 1.15; }
.t-pc strong { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-pc small { font-size: 13.5px; color: var(--muted-dark); margin-top: 4px; white-space: nowrap; }
.t-pc .t-pc__setup { margin-top: 2px; }

.t-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: rgba(255, 98, 22, .1); color: #FF7A3A; font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1.3; }
.t-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.t-badge--quiet { background: var(--t-fill); color: var(--muted-dark); box-shadow: inset 0 0 0 1px var(--t-edge); }
.t-badge--quiet::before { display: none; }

/* Custom radio / checkbox: real inputs, restyled (dark context by default) */
.t-check { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border: 1.5px solid var(--t-edge-2); border-radius: 7px; background: transparent;
  display: grid; place-items: center; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.t-check--radio { border-radius: 50%; }
.t-check::after { content: ""; width: 10px; height: 6px; border-left: 2.2px solid var(--midnight); border-bottom: 2.2px solid var(--midnight); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.t-check--radio::after { width: 9px; height: 9px; border: 0; border-radius: 50%; background: var(--midnight); transform: none; }
.t-check:checked { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 98, 22, .18); }
.t-check:checked::after { opacity: 1; }
.t-check:disabled { cursor: default; }
.t-check:disabled:checked { background: var(--on-dark); border-color: var(--on-dark); box-shadow: none; }
.t-opt--card .t-check { border-color: rgba(21, 28, 41, .3); }
.t-opt--card .t-check:disabled:checked { background: var(--midnight); border-color: var(--midnight); }
.t-opt--card .t-check:disabled:checked::after { border-color: var(--on-dark); }

/* Fields (dark) */
.t-field { display: grid; gap: 8px; margin-top: 14px; }
.t-field label { font-size: 15px; font-weight: 600; }
.t-field input, .t-field textarea, .t-money input, .t-num input {
  font: 500 16px/1.4 var(--font); color: var(--on-dark); background: rgba(241, 238, 229, .05); border: 1px solid var(--t-edge-2); border-radius: 14px;
  padding: 12px 14px; min-height: 50px; width: 100%; transition: border-color .15s ease, background-color .15s ease; }
.t-field textarea { resize: vertical; min-height: 120px; }
.t-field input:hover, .t-field textarea:hover, .t-num input:hover, .t-money input:hover { border-color: rgba(241, 238, 229, .4); }
.t-field input::placeholder, .t-field textarea::placeholder, .t-money input::placeholder { color: var(--muted-dark); }
.t-field input[aria-invalid="true"] { border-color: var(--orange); }
.t-field__err { color: var(--orange); font-size: 14px; margin: 0; }
.t-field__err:empty { display: none; }
.t-field__hint { color: var(--muted-dark); font-size: 14px; margin: 0; }
.t-field--spend { margin-top: 18px; padding: 18px; border-radius: var(--t-row); background: var(--t-fill); box-shadow: inset 0 0 0 1px var(--t-edge); max-width: 520px; }
.t-money { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.t-money input { max-width: 180px; font-variant-numeric: tabular-nums; }
.t-money span:last-child { color: var(--muted-dark); font-weight: 500; }

/* Switch */
.t-switch { display: flex; align-items: center; gap: 16px; cursor: pointer; min-height: 64px; padding: 14px 18px; font-weight: 600; position: relative; border-radius: var(--t-row);
  background: var(--t-fill); box-shadow: inset 0 0 0 1px var(--t-edge); transition: box-shadow .2s ease; }
.t-switch:hover { box-shadow: inset 0 0 0 1px var(--t-edge-2); }
.t-switch:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--orange); background: rgba(255, 98, 22, .07); }
.t-switch input { position: absolute; inset: 0; z-index: 1; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.t-switch__ui { flex: none; width: 48px; height: 28px; border-radius: 99px; background: rgba(241, 238, 229, .14); position: relative; transition: background-color .2s ease; }
.t-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--on-dark); box-shadow: 0 2px 6px rgba(0, 0, 0, .35); transition: transform .2s var(--ease, ease); }
.t-switch input:checked + .t-switch__ui { background: var(--orange); }
.t-switch input:checked + .t-switch__ui::after { transform: translateX(20px); }
.t-switch:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Builder ---------- */
.t-builder__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .t-builder__grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 384px); gap: 48px; align-items: start; }
  .t-summary { position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
.t-builder__main { display: grid; gap: 0; min-width: 0; }
.t-step { border: 0; margin: 0; padding: 0 0 36px; min-width: 0; }
.t-step + .t-step { padding-top: 36px; border-top: 1px solid var(--t-edge); }
.t-step:last-child { padding-bottom: 0; }
.t-step__title { float: left; width: 100%; display: flex; align-items: baseline; gap: 14px; padding: 0; font-size: clamp(19px, 2vw, 22px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; color: var(--on-dark); }
.t-step__title + * { clear: both; }
.t-step__n { font-size: 14px; font-weight: 700; color: var(--orange); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.t-step__hint { color: var(--muted-dark); font-size: 15px; line-height: 1.5; margin: 0 0 20px; max-width: 60ch; }
.t-opts { display: grid; gap: 10px; align-items: start; }
.t-opts--cards { gap: 14px; }

/* Option rows (dark): check left, name and line, price right */
.t-opt { position: relative; background: var(--t-fill); border-radius: var(--t-row); box-shadow: inset 0 0 0 1px var(--t-edge); transition: box-shadow .2s ease, background-color .2s ease; display: flex; flex-direction: column; min-width: 0; }
.t-opt:hover { box-shadow: inset 0 0 0 1px var(--t-edge-2); background: rgba(241, 238, 229, .05); }
.t-opt.is-on { box-shadow: inset 0 0 0 1.5px var(--orange), 0 12px 28px -18px rgba(255, 98, 22, .55); background: rgba(255, 98, 22, .07); }
.t-opt.is-locked { box-shadow: inset 0 0 0 1px var(--t-edge); background: transparent; }
.t-opt__main { display: flex; gap: 16px; align-items: center; padding: 18px 20px; cursor: pointer; flex: 1; min-height: 64px; }
.t-opt.is-locked .t-opt__main { cursor: default; }
.t-opt__body { display: grid; gap: 3px; min-width: 0; flex: 1; }
.t-opt__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.t-opt__name { font-weight: 700; font-size: 17px; letter-spacing: -0.015em; line-height: 1.3; }
.t-opt__sub { color: var(--muted-dark); font-size: 14.5px; line-height: 1.45; }
.t-opt__state:empty { display: none; }
.t-opt__state { font-size: 13.5px; font-weight: 700; color: var(--orange); }
.t-opt--none .t-opt__main { min-height: 60px; }
.t-opt .t-pc { padding-left: 8px; }
.t-opts--core .t-opt__name { font-size: 19px; }
.t-opts--core .t-pc strong { font-size: 24px; }

.t-opt__more { border-top: 1px solid var(--t-edge); margin: 0 20px; }
.t-opt__more summary { cursor: pointer; padding: 10px 0; min-height: 44px; display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; list-style: none; color: var(--muted-dark); }
.t-opt__more summary:hover { color: var(--on-dark); }
.t-opt__more summary::-webkit-details-marker { display: none; }
.t-opt__more summary::after { content: ""; width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; transition: transform .2s ease; }
.t-opt__more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.t-opt__more ul { margin: 0; padding: 0 0 16px; list-style: none; display: grid; gap: 8px; font-size: 14.5px; color: var(--muted-dark); }
.t-opt__more li { padding-left: 22px; position: relative; }
.t-opt__more li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 9px; height: 5px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }

/* Ad cards: Bone on Midnight (refs 1, 4, 9) */
.t-opt--card { background: var(--bone); color: var(--ink); border-radius: var(--t-card); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 1px 0 rgba(0, 0, 0, .2); }
.t-opt--card:hover { background: var(--paper); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 14px 30px -18px rgba(0, 0, 0, .7); }
.t-opt--card.is-on { background: var(--paper); box-shadow: 0 0 0 2px var(--orange), 0 18px 36px -18px rgba(255, 98, 22, .6); }
.t-opt--card.is-locked { background: var(--bone-2, #E8E3D6); box-shadow: none; }
.t-opt--card .t-opt__main { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
.t-opt__row { display: flex; align-items: flex-start; gap: 14px; padding: 20px 20px 18px; }
.t-opt--card .t-opt__body { padding-top: 2px; }
.t-opt--card .t-opt__name { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.t-opt--card .t-opt__sub, .t-opt--card .t-pc small { color: var(--muted); }
.t-opt--card .t-pc strong { font-size: 26px; }
.t-opt__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 20px; padding: 12px 0 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); min-height: 56px; }
.t-opt__pick { display: inline-flex; align-items: center; gap: 10px; }
.t-opt--card .t-opt__state { color: var(--orange-ink); }
.t-opt--card .t-opt__more { border-top-color: var(--line); }
.t-opt--card .t-opt__more summary { color: var(--muted); }
.t-opt--card .t-opt__more summary:hover { color: var(--ink); }
.t-opt--card .t-opt__more ul { color: var(--muted); }
.t-opt--card .t-opt__more li::before { border-color: var(--orange-ink); }

/* Summary (refs 6-7) */
.t-summary { padding: 28px 26px; }
.t-summary__title { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 6px; color: var(--muted-dark); }
.t-summary__empty { color: var(--muted-dark); margin: 10px 0 22px; font-size: 15.5px; line-height: 1.5; }
.t-summary__h { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-dark); margin: 24px 0 6px; }
.t-lines, .t-minor { list-style: none; margin: 0; padding: 0; }
.t-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--t-edge); font-size: 15px; }
.t-lines li:last-child { border-bottom: 0; }
.t-lines__v { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.t-lines__v small { display: block; color: var(--muted-dark); font-size: 13px; font-weight: 400; }
.t-lines__save { color: var(--orange); }
.t-lines__save small { color: var(--orange) !important; }
.t-minor li { font-size: 14.5px; padding: 4px 0; }
.t-minor span { color: var(--muted-dark); }

.t-totals { margin: 0; display: grid; }
.t-totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 7px 0; }
.t-totals dt { color: var(--muted-dark); font-size: 15px; }
.t-totals dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-totals dd small { color: var(--muted-dark); font-weight: 500; }
.t-totals__hero { display: block !important; padding: 0 0 12px !important; }
.t-totals__hero dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.t-totals__hero dd { font-size: clamp(46px, 5vw, 60px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: var(--on-dark); white-space: normal; }
.t-totals__hero dd small { font-size: 18px; letter-spacing: -0.01em; margin-left: 6px; }
.t-totals div > dd { margin-left: auto; }
.t-totals div { flex-wrap: wrap; row-gap: 2px; }
.t-totals__key .t-from { display: inline; font-size: 13px; margin: 0 4px 0 0; letter-spacing: 0; }
.t-from { display: block; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--muted-dark); margin-bottom: 6px; }
.t-totals__save dt, .t-totals__save dd { color: var(--orange); }
.t-totals__key { margin-top: 10px; padding-top: 18px !important; border-top: 1px solid var(--t-edge); }
.t-totals__key dt { color: var(--on-dark); font-weight: 600; font-size: 16px; }
.t-totals__key dd { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.t-totals__key + div dt, .t-totals__key + div dd { font-size: 14px; }
.t-summary__ad { font-size: 14.5px; margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--t-fill); box-shadow: inset 0 0 0 1px var(--t-edge); color: var(--on-dark); line-height: 1.5; }
.t-summary__flag { font-size: 14.5px; margin: 12px 0 0; padding-left: 14px; border-left: 2px solid var(--orange); line-height: 1.5; }
.t-summary__note { font-size: 13px; line-height: 1.55; color: var(--muted-dark); margin: 16px 0 0; }
.t-summary__actions { display: grid; gap: 10px; margin-top: 22px; }
.t-summary__fine { margin: 0 0 6px; text-align: center; font-size: 13.5px; color: var(--muted-dark); }
.t-summary__actions .t-linkbtn { justify-self: center; color: var(--muted-dark); }
.t-summary__status { margin: 0; font-size: 14px; color: var(--muted-dark); min-height: 1.4em; text-align: center; }
.t-summary__status:empty { min-height: 0; }
.t-summary [data-form] { margin-top: 8px; }
.t-summary [data-detail]:not(:empty) { margin-top: 10px; padding-top: 4px; border-top: 1px solid var(--t-edge); }

/* Request form: light card on Midnight */
.t-form { background: var(--paper); color: var(--ink); border-radius: var(--t-card); padding: 24px 22px; display: grid; gap: 2px; box-shadow: inset 0 1px 0 #fff; }
.t-form__title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.t-form__title:focus { outline: none; }
.t-form__intro { color: var(--muted); font-size: 14.5px; margin: 4px 0 4px; line-height: 1.5; }
.t-form .t-field input, .t-form .t-field textarea { color: var(--ink); background: #fff; border-color: rgba(21, 28, 41, .22); }
.t-form .t-field input:hover, .t-form .t-field textarea:hover { border-color: rgba(21, 28, 41, .45); }
.t-form .t-field input[aria-invalid="true"] { border-color: var(--orange-ink); }
.t-form .t-field__err, .t-form__status[data-kind="error"] { color: var(--orange-ink); }
.t-form .btn { margin-top: 16px; }
.t-form__status { margin: 10px 0 0; font-size: 14.5px; }
.t-form__status:empty { display: none; }
.t-form--done h3 { font-size: 19px; font-weight: 800; margin: 0 0 6px; }
.t-form--done p { margin: 0; color: var(--muted); }
.t-form--done:focus { outline: none; }
.t-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Phone bar */
.t-bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 20px; border-radius: 999px; background: rgba(21, 28, 41, .94); color: var(--on-dark);
  box-shadow: inset 0 1px 0 rgba(241, 238, 229, .08), 0 0 0 1px var(--t-edge), 0 18px 40px -12px rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.t-bar[hidden] { display: none; }
.t-bar p { margin: 0; display: grid; line-height: 1.2; }
.t-bar span { font-size: 12.5px; color: var(--muted-dark); }
.t-bar strong { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.t-bar .btn { min-height: 46px; padding: 0 20px; border-radius: 999px; }
@media (min-width: 1024px) { .t-bar { display: none !important; } }
@media (max-width: 1023px) { .t-builder { margin-bottom: 84px; } }

/* ---------- Growth Advisor (ref 8) ---------- */
.t-adv { max-width: 760px; margin: 0 auto; }
.t-adv__head { display: flex; gap: 18px; align-items: center; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--t-edge); }
.t-adv__avatar { flex: none; width: 68px; height: 68px; border-radius: 20px; background: linear-gradient(160deg, #2A3550, var(--midnight-2)); box-shadow: var(--t-hi), 0 0 0 1px var(--t-edge); display: grid; place-items: center; overflow: hidden; }
.t-adv__zero { width: 100%; height: 100%; object-fit: cover; }
.t-adv__zero.is-flat { width: 40px; height: 40px; object-fit: contain; }
.t-adv__name { margin: 0; font-weight: 800; font-size: clamp(18px, 2.2vw, 21px); letter-spacing: -0.02em; color: var(--on-dark); }
.t-adv__sub { margin: 4px 0 0; font-size: 14.5px; color: var(--muted-dark); line-height: 1.45; }
.t-progress { margin-bottom: 30px; }
.t-progress__label { margin: 0 0 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.t-progress__sec { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.t-progress__n { font-size: 14px; font-weight: 700; color: var(--on-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-progress__track { height: 6px; border-radius: 99px; background: rgba(241, 238, 229, .1); overflow: hidden; }
.t-progress__track span { display: block; height: 100%; background: var(--orange); border-radius: inherit; transition: width .45s var(--ease, ease); box-shadow: 0 0 12px rgba(255, 98, 22, .5); }
.t-adv__q { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 10px; text-wrap: balance; color: var(--on-dark); }
.t-adv__hint { color: var(--muted-dark); margin: 0; font-size: 16px; }
.t-choices { display: grid; gap: 10px; margin-top: 24px; }
.t-choice { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 62px; padding: 14px 18px 14px 22px; text-align: left;
  font: 600 16.5px/1.35 var(--font); letter-spacing: -0.01em; color: var(--on-dark); background: var(--t-fill); border: 0; border-radius: var(--t-row); box-shadow: inset 0 0 0 1px var(--t-edge);
  cursor: pointer; transition: box-shadow .15s ease, background-color .15s ease, transform .15s ease; }
.t-choice:hover { box-shadow: inset 0 0 0 1px var(--t-edge-2); background: rgba(241, 238, 229, .06); }
.t-choice:active { transform: scale(.995); }
.t-choice[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--orange); background: rgba(255, 98, 22, .08); }
.t-choice__mark { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(241, 238, 229, .12); box-shadow: inset 0 0 0 1.5px rgba(241, 238, 229, .28); display: grid; place-items: center; transition: background-color .15s ease, box-shadow .15s ease; }
.t-choice--multi .t-choice__mark { border-radius: 7px; }
.t-choice[aria-pressed="true"] .t-choice__mark { background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 98, 22, .2); }
.t-choice[aria-pressed="true"] .t-choice__mark::after { content: ""; width: 10px; height: 5.5px; border-left: 2.2px solid var(--midnight); border-bottom: 2.2px solid var(--midnight); transform: rotate(-45deg) translate(1px, -1px); }
.t-adv__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; }
.t-adv__nav .t-linkbtn { color: var(--muted-dark); }

.t-res__eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.t-res__title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 22px; text-wrap: balance; color: var(--on-dark); }
.t-res__block { margin: 22px 0; }
.t-res__block h3, .t-res__h, .t-estimate h3 { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-dark); margin: 0 0 12px; }
.t-res__h { margin-top: 32px; }
.t-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.t-ticks li { padding-left: 28px; position: relative; line-height: 1.5; }
.t-ticks li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 10px; height: 5.5px; border-left: 2.2px solid var(--orange); border-bottom: 2.2px solid var(--orange); transform: rotate(-45deg); }
.t-callout { margin: 22px 0; padding: 18px 20px; border-radius: var(--t-row); background: rgba(255, 98, 22, .08); box-shadow: inset 0 0 0 1px rgba(255, 98, 22, .35); line-height: 1.5; }
.t-callout p { margin: 0; }
.t-res__keep { margin: 18px 0 0; padding-left: 14px; border-left: 2px solid var(--orange); font-weight: 600; }
.t-recs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.t-rec { border-radius: var(--t-card); padding: 20px; background: var(--bone); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); }
.t-rec:first-child { box-shadow: 0 0 0 2px var(--orange), 0 18px 36px -20px rgba(255, 98, 22, .6); background: var(--paper); }
.t-rec__head { display: flex; align-items: flex-start; gap: 14px; }
.t-rec__id { flex: 1; min-width: 0; }
.t-rec__phase { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 4px; }
.t-rec h4 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.t-rec__sub { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); }
.t-rec .t-pc small { color: var(--muted); }
.t-rec ul { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.t-res__phasenote { color: var(--muted-dark); font-size: 14.5px; margin: 14px 0 0; line-height: 1.5; }
.t-estimate { padding: 24px 24px 22px; margin-top: 24px; }
.t-res__notes { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted-dark); }
.t-res__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; align-items: center; }
.t-res__actions .t-linkbtn { color: var(--muted-dark); }
.t-res [data-form] { margin-top: 16px; }

/* ---------- ROI ---------- */
.t-roi { display: grid; gap: 28px; }
@media (min-width: 900px) { .t-roi { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.t-roi__in { display: grid; gap: 26px; }
.t-roi__in .t-eyebrow { margin: 0 0 -6px; }
.t-roi__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 4px; }
.t-roi__label { font-size: 16px; font-weight: 600; color: var(--on-dark); }
.t-num { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex: none; color: var(--muted-dark); font-weight: 600; }
.t-num input { width: 104px; min-height: 44px; padding: 8px 12px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.t-range { display: block; width: 100%; height: 36px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
.t-range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(to right, var(--orange) var(--fill, 0%), rgba(241, 238, 229, .12) 0); }
.t-range::-moz-range-track { height: 6px; border-radius: 99px; background: rgba(241, 238, 229, .12); }
.t-range::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--orange); }
.t-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--on-dark); border: 0; box-shadow: 0 0 0 5px rgba(255, 98, 22, .35), 0 4px 10px rgba(0, 0, 0, .45); transition: box-shadow .15s ease; }
.t-range:hover::-webkit-slider-thumb { box-shadow: 0 0 0 7px rgba(255, 98, 22, .35), 0 4px 10px rgba(0, 0, 0, .45); }
.t-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--on-dark); border: 0; box-shadow: 0 0 0 5px rgba(255, 98, 22, .35); }
.t-range:focus-visible { outline-offset: 2px; border-radius: 8px; }
.t-roi__out { padding: clamp(24px, 3vw, 34px); }
@media (min-width: 900px) { .t-roi__out { position: sticky; top: 96px; } }
.t-roi__k { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.t-roi__big { margin: 12px 0 22px; font-size: clamp(48px, 6vw, 68px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--on-dark); overflow-wrap: anywhere; }
.t-roi__big small { display: block; margin-top: 8px; font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--muted-dark); }
.t-roi__stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--t-edge); border-bottom: 1px solid var(--t-edge); }
.t-roi__stats dt { font-size: 13.5px; color: var(--muted-dark); }
.t-roi__stats dd { margin: 4px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.t-roi__formula { margin: 16px 0 0; font-size: 14px; color: var(--muted-dark); line-height: 1.6; }
.t-roi__note { margin: 16px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--on-dark); padding: 12px 14px; border-radius: 14px; background: var(--t-fill); box-shadow: inset 0 0 0 1px var(--t-edge); }

/* ---------- Before / after compare: browser-window frame ---------- */
.t-compare { margin: 0; }
.t-compare__win { border-radius: 16px; overflow: hidden; background: var(--midnight); box-shadow: 0 0 0 1px rgba(21, 28, 41, .1), 0 2px 4px rgba(21, 28, 41, .06), 0 30px 60px -30px rgba(21, 28, 41, .5); }
.t-compare__bar { display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: var(--midnight); }
.t-compare__dots { display: flex; gap: 6px; }
.t-compare__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(241, 238, 229, .2); }
.t-compare__dots i:first-child { background: var(--orange); }
.t-compare__url { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 14px; border-radius: 99px; background: rgba(241, 238, 229, .08); color: var(--muted-dark); font-size: 12.5px; font-weight: 500; text-align: center; }
.t-compare__stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bone-2, #E8E3D6); user-select: none; -webkit-user-select: none; }
.t-compare__img, .t-compare__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.t-compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.t-compare__ph { display: grid; place-items: center; padding: 16px; text-align: center; color: var(--muted); font-weight: 600; background: var(--bone-2, #E8E3D6); }
.t-compare__before .t-compare__ph { background: var(--paper); place-items: center start; padding: 16px 56% 16px 5%; text-align: left; }
.t-compare__stage > .t-compare__ph { place-items: center end; padding: 16px 5% 16px 56%; text-align: right; }
.t-compare__ph { font-size: clamp(13px, 1.6vw, 16px); line-height: 1.35; }
.t-compare__tag { position: absolute; top: 12px; padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.t-compare__tag--before { left: 12px; background: rgba(250, 248, 243, .94); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.t-compare__tag--after { right: 12px; background: rgba(21, 28, 41, .92); color: var(--on-dark); }
.t-compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--paper); box-shadow: 0 0 0 1px rgba(21, 28, 41, .18), 0 0 16px rgba(21, 28, 41, .25); pointer-events: none; }
.t-compare__handle > span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--orange); color: var(--midnight); display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .12), 0 0 0 4px rgba(250, 248, 243, .9), 0 10px 24px -6px rgba(21, 28, 41, .55); transition: transform .2s var(--ease, ease); }
.t-compare__stage:hover .t-compare__handle > span { transform: scale(1.06); }
.t-compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; appearance: none; -webkit-appearance: none; touch-action: pan-y; }
.t-compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 52px; height: 100vh; }
.t-compare__win:has(.t-compare__range:focus-visible) { outline: 3px solid var(--orange-ink); outline-offset: 4px; }
.t-compare__cap { margin-top: 12px; font-size: 14.5px; font-weight: 500; color: var(--muted); }

/* ---------- System demonstrations (ref 5) ---------- */
.t-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 20px; margin: 0 -2px; scrollbar-width: none; }
.t-tabs::-webkit-scrollbar { display: none; }
.t-tab { flex: none; min-height: 44px; padding: 10px 18px; border-radius: 99px; border: 0; background: var(--t-fill); box-shadow: inset 0 0 0 1px var(--t-edge); color: var(--muted-dark); font: 600 15px/1.2 var(--font); cursor: pointer; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.t-tab:hover { color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--t-edge-2); }
.t-tab[aria-selected="true"] { background: var(--on-dark); color: var(--midnight); box-shadow: none; }
.t-panel { display: grid; gap: 14px; }
.t-panel:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: var(--t-card); }
@media (min-width: 860px) { .t-panel { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 18px; align-items: stretch; } }
.t-panel h3 { margin: 0; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-dark); }
.t-panel__before { align-self: start; border-radius: var(--t-card); padding: 24px; box-shadow: inset 0 0 0 1px var(--t-edge); }
.t-panel__before ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--muted-dark); line-height: 1.5; }
.t-panel__before li { padding-left: 24px; position: relative; }
.t-panel__before li::before, .t-panel__before li::after { content: ""; position: absolute; left: 4px; top: .72em; width: 11px; height: 1.8px; background: rgba(241, 238, 229, .45); border-radius: 2px; transform: rotate(45deg); }
.t-panel__before li::after { transform: rotate(-45deg); }
.t-panel__after { padding: 24px; min-width: 0; display: flex; flex-direction: column; }
.t-panel__title { display: flex; align-items: center; gap: 10px; color: var(--on-dark) !important; font-size: 17px !important; font-weight: 800 !important; letter-spacing: -0.015em !important; text-transform: none !important; }
.t-panel__title svg { color: var(--orange); }
.t-flow { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; gap: 8px; }
.t-flow__item { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; border-radius: var(--t-row); transition: background-color .3s ease; }
.t-flow__tile { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(241, 238, 229, .06); color: var(--muted-dark); transition: background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.t-flow__body { display: grid; gap: 2px; min-width: 0; flex: 1; }
.t-flow__t { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: rgba(241, 238, 229, .6); transition: color .3s ease; }
.t-flow__s { font-size: 14px; color: var(--muted-dark); line-height: 1.45; }
.t-flow__tick { flex: none; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(241, 238, 229, .16); position: relative; transition: background-color .3s ease, box-shadow .3s ease; }
.t-flow__item.is-active { background: rgba(241, 238, 229, .04); }
.t-flow__item.is-active .t-flow__tile { color: var(--orange); box-shadow: inset 0 0 0 1px rgba(255, 98, 22, .5); }
.t-flow__item.is-active .t-flow__t { color: var(--on-dark); }
.t-flow__item.is-active .t-flow__tick { box-shadow: inset 0 0 0 2px var(--orange); animation: t-pulse 1s ease-in-out infinite; }
.t-flow__item.is-done { animation: t-in .35s var(--ease, ease) both; }
.t-flow__item.is-done .t-flow__tile { background: rgba(255, 98, 22, .14); color: var(--orange); }
.t-flow__item.is-done .t-flow__t { color: var(--on-dark); }
.t-flow__item.is-done .t-flow__s { color: var(--on-dark); opacity: .82; }
.t-flow__item.is-done .t-flow__tick { background: var(--orange); box-shadow: none; }
.t-flow__item.is-done .t-flow__tick::after { content: ""; position: absolute; left: 8px; top: 8px; width: 10px; height: 5.5px; border-left: 2.2px solid var(--midnight); border-bottom: 2.2px solid var(--midnight); transform: rotate(-45deg); }
.t-panel__after .btn { margin-top: auto; }
.t-sys__note { margin: 20px 0 0; font-size: 14px; color: var(--muted-dark); }
@keyframes t-in { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes t-pulse { 50% { box-shadow: inset 0 0 0 2px var(--orange), 0 0 0 6px rgba(255, 98, 22, .15); } }
.t-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.t-board__col { background: rgba(241, 238, 229, .04); border-radius: 14px; padding: 10px 8px; min-width: 0; }
.t-board__col h4 { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-dark); }
.t-board__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.t-board__card { background: var(--bone); color: var(--ink); border-radius: 10px; padding: 8px 9px; font-size: 12.5px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.t-board__card span { display: block; font-weight: 500; color: var(--muted); }
.t-board__card.is-moving { box-shadow: 0 0 0 2px var(--orange); animation: t-in .35s ease both; }
@media (max-width: 520px) {
  .t-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phones */
@media (max-width: 600px) {
  .t-surface { border-radius: 26px; }
  .t-summary { padding: 24px 20px; }
  .t-opt__main { padding: 16px; gap: 14px; }
  .t-opt__row { padding: 18px 16px 16px; gap: 12px; }
  .t-opt__foot, .t-opt__more { margin: 0 16px; }
  .t-opt .t-pc strong, .t-opts--core .t-pc strong { font-size: 20px; }
  .t-opt--card .t-pc strong { font-size: 22px; }
  .t-tile { width: 46px; height: 46px; border-radius: 13px; }
  .t-ico { width: 23px; height: 23px; }
  .t-adv__head { gap: 14px; padding-bottom: 22px; margin-bottom: 24px; }
  .t-adv__avatar { width: 56px; height: 56px; border-radius: 16px; }
  .t-res__actions .btn { width: 100%; }
  .t-panel__before, .t-panel__after { padding: 20px 18px; }
  .t-flow__item { padding: 8px 6px; gap: 12px; }
  .t-flow__tile { width: 42px; height: 42px; }
  .t-rec { padding: 18px 16px; }
  .t-rec__head { flex-wrap: wrap; }
  .t-rec__head .t-pc { width: 100%; justify-items: start; text-align: left; padding-left: 60px; }
  .t-num input { width: 92px; }
}
/* Narrow phones: price drops under the name in option rows */
@media (max-width: 420px) {
  .t-opt:not(.t-opt--card) .t-opt__main { flex-wrap: wrap; }
  .t-opt:not(.t-opt--card) .t-opt__body { flex: 1 1 calc(100% - 40px); }
  .t-opt:not(.t-opt--card) .t-pc { width: 100%; padding-left: 38px; justify-items: start; text-align: left; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 8px; }
  .t-opt:not(.t-opt--card) .t-pc small { margin-top: 0; }
  .t-opt--card .t-opt__row { flex-wrap: wrap; }
  .t-opt--card .t-opt__body { flex: 1 1 calc(100% - 60px); }
  .t-opt--card .t-pc { width: 100%; padding-left: 58px; justify-items: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .t-builder *, .t-adv *, .t-roi *, .t-compare *, .t-sys * { transition: none !important; animation: none !important; }
}

/* Launch sprint: end-of-demo CTAs + Advisor nav with a disabled Continue */
.t-sys__cta { margin-top: 16px; padding: 18px; border-radius: 18px; background: rgba(255,98,22,.1); box-shadow: inset 0 0 0 1px rgba(255,98,22,.35); display: grid; gap: 12px; }
.t-sys__cta p { color: var(--on-dark); font-weight: 700; }
.t-sys__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.t-sys__ctas .btn--ghost { color: var(--on-dark); border-color: var(--line-dark); }
@media (max-width: 560px) { .t-sys__ctas .btn { width: 100%; } }
.t-adv__navr { display: inline-flex; align-items: center; gap: 14px; margin-left: auto; }
.t-adv .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
