/* ============================================================
   Help center: document checklist, timeline, tips
   Built 2026-11-05 from Taylor's checklist.html, ported into the
   TUME design system. Loaded only on pages containing tw-help-root.
   ============================================================ */

.tw-help { --hl-line: rgba(13, 27, 42, 0.12); --hl-gate: #b4761c; }

/* ---------- Facts band ---------- */
.hl-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.hl-facts li { padding: 4px 28px; border-left: 1px solid var(--hl-line); display: grid; gap: 4px; }
.hl-facts li:first-child { border-left: 0; padding-left: 0; }
.hl-facts b { font-family: var(--font-display); font-size: 26px; font-weight: 590; line-height: 1.15; }
.hl-facts span { color: var(--ink-600); font-size: 15px; line-height: 1.5; }

/* ---------- Starter four ---------- */
.hl-start { background: var(--white); border: 1px solid var(--hl-line); border-radius: var(--radius);
	padding: 30px clamp(20px, 3vw, 36px); box-shadow: var(--shadow-md); }
.hl-start h3 { margin: 0 0 18px; font-size: clamp(20px, 2vw, 25px); }
.hl-start ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; margin: 0; padding-left: 22px; }
.hl-start li { color: var(--ink-600); font-size: 16px; line-height: 1.55; }
.hl-start li::marker { color: var(--blue-600, #1a69ed); font-variant-numeric: tabular-nums; }

/* ---------- Picker ---------- */
.hl-picker { display: grid; gap: 26px; }
.hl-row { display: grid; gap: 12px; }
.hl-row > legend, .hl-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
	text-transform: uppercase; color: var(--ink-600); padding: 0; }
.hl-fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }

.hl-seg { display: inline-flex; background: rgba(13, 27, 42, 0.05); border: 1px solid var(--hl-line);
	border-radius: 999px; padding: 4px; gap: 4px; }
.hl-seg input { position: absolute; opacity: 0; pointer-events: none; }
.hl-seg label { cursor: pointer; padding: 9px 22px; border-radius: 999px; font-size: 15px; font-weight: 500;
	color: var(--ink-600); transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out); }
.hl-seg input:checked + label { background: var(--navy-900); color: var(--white); }
.hl-seg input:focus-visible + label { outline: 2px solid var(--blue-600, #1a69ed); outline-offset: 2px; }

.hl-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.hl-chip { cursor: pointer; font-family: var(--font-ui); font-size: 14.5px; line-height: 1.2; padding: 10px 17px;
	border-radius: 999px; border: 1px solid var(--hl-line); background: var(--white); color: var(--ink-600);
	transition: border-color 0.18s var(--ease-out), background 0.18s var(--ease-out), color 0.18s var(--ease-out); }
.hl-chip:hover { border-color: rgba(13, 27, 42, 0.3); color: var(--ink-900); }
.hl-chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.hl-chip:focus-visible { outline: 2px solid var(--blue-600, #1a69ed); outline-offset: 2px; }

/* ---------- Progress ---------- */
.hl-progress { display: grid; gap: 12px; }
.hl-progress-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; justify-content: space-between; }
.hl-count { font-family: var(--font-mono); font-size: 15px; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.hl-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hl-acts button { cursor: pointer; font-family: var(--font-ui); font-size: 14px; padding: 8px 15px; border-radius: 999px;
	border: 1px solid var(--hl-line); background: transparent; color: var(--ink-600); }
.hl-acts button:hover { border-color: rgba(13, 27, 42, 0.3); color: var(--ink-900); }
.hl-acts button:focus-visible { outline: 2px solid var(--blue-600, #1a69ed); outline-offset: 2px; }
.hl-copied { font-size: 14px; color: var(--blue-600, #1a69ed); min-width: 1px; }
.hl-bar { height: 6px; border-radius: 999px; background: rgba(13, 27, 42, 0.08); overflow: hidden; }
.hl-bar i { display: block; height: 100%; width: 0; border-radius: 999px;
	background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); transition: width 0.35s var(--ease-out); }
.hl-note { font-size: 14px; color: var(--ink-600); margin: 0; }

/* ---------- Generated lists ---------- */
/* align-items: start so each card is its own height. Stretched to the tallest in the row, a short
   group like "Everyone" sat in a mostly empty box next to a seven-item one. */
.hl-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; align-items: start; }
.hl-group { background: var(--white); border: 1px solid var(--hl-line); border-radius: var(--radius-sm);
	padding: 24px 26px; box-shadow: var(--shadow-md); }
.hl-group h3 { font-size: 20px; margin: 0 0 4px; }
.hl-group .hl-gnote { color: var(--ink-600); font-size: 14px; margin: 0 0 14px; }
.hl-group ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.hl-item { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer;
	padding: 9px 0; border-top: 1px solid var(--hl-line); }
.hl-group li:first-child .hl-item { border-top: 0; }
.hl-item input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--blue-500); cursor: pointer; }
.hl-item span { font-size: 15.5px; line-height: 1.5; display: grid; gap: 2px; }
.hl-item small { color: var(--ink-600); font-size: 13.5px; line-height: 1.45; }
.hl-item .hl-later { font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
	text-transform: uppercase; color: var(--hl-gate); }
.hl-item input:checked ~ span { color: var(--ink-600); }
.hl-item input:checked ~ span > :first-child { text-decoration: line-through; text-decoration-color: rgba(13, 27, 42, 0.35); }

/* ---------- Timeline ---------- */
.hl-timeline { list-style: none; margin: 0; padding: 0; position: relative;
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.hl-phase { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--hl-line); }
.hl-phase .hl-when { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--blue-600, #1a69ed); }
.hl-phase.hl-gate { border-top-color: var(--hl-gate); }
.hl-phase.hl-gate .hl-when { color: var(--hl-gate); }
.hl-phase h3 { font-size: 20px; margin: 0; }
.hl-lane { display: grid; gap: 2px; font-size: 15px; line-height: 1.5; color: var(--ink-600); }
.hl-lane b { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--blue-600, #1a69ed); font-weight: 500; }
.hl-phase.hl-gate .hl-lane b { color: var(--hl-gate); }
.hl-timeline[data-mode="purchase"] .hl-r-only, .hl-timeline[data-mode="refi"] .hl-p-only { display: none; }
.hl-tl-foot { margin: 24px 0 0; color: var(--ink-600); max-width: 76ch; font-size: 15px; }

/* ---------- Tips ---------- */
.hl-tips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; list-style: none; margin: 0; padding: 0; }
.hl-tips li { padding: 18px 0; border-top: 1px solid var(--hl-line); display: grid; gap: 4px; }
.hl-tips b { font-weight: 600; font-size: 16.5px; }
.hl-tips span { color: var(--ink-600); font-size: 15px; line-height: 1.55; }

/* ---------- Contact strip ---------- */
.hl-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin: 0; padding: 0; }
.hl-contact div { display: grid; gap: 5px; align-content: start; }
.hl-contact dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--mist-300); }
.hl-contact dd { margin: 0; font-size: 17px; font-weight: 500; color: var(--white); }
.hl-contact dd a { color: var(--sky-300); text-decoration: none; }
.hl-contact dd a:hover { text-decoration: underline; }

/* ---------- Page legal ---------- */
.hl-legal { display: grid; gap: 12px; max-width: 92ch; font-size: 14px; line-height: 1.6; color: var(--ink-600);
	border-top: 1px solid var(--hl-line); padding-top: 26px; }
.hl-legal strong { color: var(--ink-900); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.hl-timeline { grid-template-columns: 1fr; gap: 0; padding-left: 26px; }
	.hl-timeline::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px;
		background: var(--hl-line); }
	.hl-phase { border-top: 0; padding: 14px 0 20px; position: relative; }
	.hl-phase::before { content: ""; position: absolute; left: -26px; top: 20px; width: 12px; height: 12px;
		border-radius: 50%; background: var(--blue-500); }
	.hl-phase.hl-gate::before { background: var(--hl-gate); }
}
@media (max-width: 760px) {
	.hl-facts { grid-template-columns: 1fr; }
	.hl-facts li { border-left: 0; padding: 16px 0; border-top: 1px solid var(--hl-line); }
	.hl-facts li:first-child { border-top: 0; padding-top: 0; }
	.hl-start ol, .hl-tips { grid-template-columns: 1fr; }
	.hl-lists { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.hl-bar i { transition: none; }
}
