/* ==========================================================================
   How-to layout (data-sol-layout="howto")
   Setup-guide page: at-a-glance card, requirements checklist, step walkthrough
   with "you should see" checks, keep-alive settings, troubleshooting, next paths.
   Loaded after solutions.css.
   ========================================================================== */

/* Hero: at-a-glance card instead of a phone mock-up */
.ht-glance { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 26px; color: var(--dark-text, #c9d6ea); backdrop-filter: blur(6px); }
.ht-glance h2 { color: #fff; font-size: 1.05rem; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.ht-glance h2 .i { color: #9cc3f7; }
.ht-glance dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 18px; }
.ht-glance dt { font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #9cc3f7; padding-top: 3px; }
.ht-glance dd { margin: 0; color: #fff; font-size: .96rem; line-height: 1.5; }
.ht-glance dd small { display: block; color: var(--dark-text, #c9d6ea); font-size: .84rem; }
.ht-glance-foot { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; }
.ht-glance-foot a { color: #9cc3f7; font-weight: 700; }

/* Requirements */
.ht-req { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; max-width: 1080px; margin: 0 auto; }
.ht-req-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.ht-req-card h3 { margin: 0 0 4px; font-size: 1.08rem; }
.ht-req-card > p { margin: 0 0 16px; color: var(--muted); font-size: .92rem; }
.ht-req-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ht-req-list label { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.ht-req-list input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #12a150; }
.ht-req-list b { display: block; color: var(--ink); font-size: .96rem; }
.ht-req-list span { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.ht-req-list label:has(input:checked) { border-color: #c4efd5; background: #f1fbf5; }
.ht-req-prog { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: .86rem; font-weight: 700; color: var(--muted); }
.ht-req-bar { flex: 1; height: 8px; border-radius: 8px; background: var(--soft); overflow: hidden; }
.ht-req-bar i { display: block; height: 100%; width: 0; background: #12a150; transition: width .3s; }
.ht-req-not { background: var(--soft); border: 1px dashed #c9d6ea; border-radius: 20px; padding: 24px; }
.ht-req-not h3 { margin: 0 0 12px; font-size: 1.02rem; }
.ht-req-not ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ht-req-not li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .92rem; color: var(--body); line-height: 1.5; }
.ht-req-not .i { color: #e05a4f; width: 18px; height: 18px; margin-top: 2px; stroke-width: 3; }
@media (max-width: 860px) { .ht-req { grid-template-columns: 1fr; } }

/* Walkthrough */
.ht-walk { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; max-width: 1120px; margin: 0 auto; align-items: start; }
.ht-nav { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.ht-nav b { display: block; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 6px; }
.ht-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: htn; }
.ht-nav a { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: center; padding: 8px 6px; border-radius: 10px; color: var(--body); font-size: .88rem; font-weight: 600; line-height: 1.3; text-decoration: none; counter-increment: htn; }
.ht-nav a::before { content: counter(htn); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .74rem; font-weight: 800; background: var(--soft); color: var(--muted); }
.ht-nav a.is-active { background: var(--brand-soft); color: var(--brand); }
.ht-nav a.is-active::before { background: var(--brand); color: #fff; }
.ht-nav a.is-done::before { content: "\2713"; background: #12a150; color: #fff; }
.ht-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.ht-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 26px 22px 88px; scroll-margin-top: 100px; }
.ht-step::after { content: ""; position: absolute; left: 47px; top: 76px; bottom: -23px; width: 2px; background: var(--line); }
.ht-step:last-child::after { display: none; }
.ht-step-n { position: absolute; left: 26px; top: 24px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.1rem; box-shadow: 0 6px 16px rgba(21,101,216,.28); }
.ht-step.is-done .ht-step-n { background: #12a150; box-shadow: 0 6px 16px rgba(18,161,80,.28); }
.ht-step h3 { margin: 0 0 8px; font-size: 1.16rem; padding-top: 8px; }
.ht-step > p { margin: 0 0 12px; color: var(--body); line-height: 1.65; }
.ht-step ul { margin: 0 0 14px; padding-left: 20px; color: var(--body); line-height: 1.65; list-style: disc; }
.ht-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.ht-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.5; }
.ht-check .i { width: 18px; height: 18px; margin-top: 2px; }
.ht-check b { display: block; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 2px; }
.ht-check--see { background: #f1fbf5; border: 1px solid #c4efd5; color: var(--ink); }
.ht-check--see .i, .ht-check--see b { color: #12a150; }
.ht-check--miss { background: #fff7e8; border: 1px solid #fbe0ad; color: var(--ink); }
.ht-check--miss .i, .ht-check--miss b { color: #b45309; }
.ht-done { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .84rem; color: var(--body); cursor: pointer; }
.ht-done .i { width: 15px; height: 15px; }
.ht-step.is-done .ht-done { background: #ecfbf2; border-color: #c4efd5; color: #12a150; }
.ht-src { margin-top: 18px; font-size: .86rem; color: var(--muted); }
@media (max-width: 960px) { .ht-walk { grid-template-columns: 1fr; } .ht-nav { display: none; } }
@media (max-width: 640px) { .ht-step { padding: 22px 18px 18px; } .ht-step-n { position: static; margin-bottom: 10px; } .ht-step::after { display: none; } .ht-step h3 { padding-top: 0; } .ht-checks { grid-template-columns: 1fr; } }

/* Keep it online */
.ht-alive { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1080px; margin: 0 auto; }
.ht-alive-col { border-radius: 20px; padding: 24px; border: 1px solid var(--line); background: #fff; }
.ht-alive-col--gen { background: var(--soft); }
.ht-alive-col h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 1.05rem; }
.ht-alive-col > p { margin: 0 0 14px; font-size: .88rem; color: var(--muted); }
.ht-alive-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ht-alive-col li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; font-size: .93rem; line-height: 1.55; color: var(--body); }
.ht-alive-col li .icon-badge { margin: 0; width: 36px; height: 36px; }
.ht-alive-col li .icon-badge .i { width: 17px; height: 17px; }
.ht-alive-col li b { display: block; color: var(--ink); }
@media (max-width: 860px) { .ht-alive { grid-template-columns: 1fr; } }

/* Troubleshooting table */
.ht-trouble { max-width: 1080px; margin: 0 auto 34px; }
.ht-trouble td:first-child { font-weight: 700; color: var(--ink); }
.ht-trouble .table th, .ht-trouble .table td { white-space: normal; vertical-align: top; }

/* Scale */
.ht-scale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin: 0 auto; }
.ht-plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-align: center; }
.ht-plan b { display: block; font-family: var(--display); font-size: 2rem; color: var(--ink); line-height: 1.1; }
.ht-plan span { display: block; color: var(--muted); font-size: .88rem; margin-top: 4px; }
.ht-plan small { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: .8rem; }
.ht-scale-notes { max-width: 1080px; margin: 22px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ht-scale-notes div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; font-size: .92rem; line-height: 1.55; color: var(--body); }
.ht-scale-notes b { display: block; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 760px) { .ht-scale, .ht-scale-notes { grid-template-columns: 1fr; } }

/* Next paths */
.ht-next { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1120px; margin: 0 auto; }
.ht-path { display: flex; flex-direction: column; gap: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--dark-line, rgba(255,255,255,.12)); border-radius: 18px; padding: 22px; color: var(--dark-text, #c9d6ea); text-decoration: none; transition: transform .2s, border-color .2s; }
.ht-path:hover { transform: translateY(-3px); border-color: #9cc3f7; }
.ht-path .icon-badge { margin: 0 0 6px; }
.ht-path h3 { color: #fff; font-size: 1.02rem; margin: 0; }
.ht-path p { margin: 0; font-size: .9rem; line-height: 1.55; flex: 1; }
.ht-path span { color: #9cc3f7; font-weight: 700; font-size: .86rem; }
@media (max-width: 960px) { .ht-next { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ht-next { grid-template-columns: 1fr; } }
.ht-glance { text-align: left; }
.ht-req-not { align-self: start; }

/* Inline code in steps, checks, tables and notes (API field names, slot values) */
.ht-step code, .ht-check code, .ht-table code, .ht-scale-notes code, .ht-alive-col code, .ht-trouble code, .ht-src code, .sol-rule code, .faq-a code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; background: #eef3fa; color: #0b3f86; padding: .12em .4em; border-radius: 6px; white-space: nowrap;
}

/* Reference table for custom sections (layouts/howto.py table()) */
.ht-table { max-width: 1080px; margin: 0 auto; }
.ht-table .table th, .ht-table .table td { white-space: normal; vertical-align: top; }
.ht-table td:first-child { font-weight: 700; color: var(--ink); }
.ht-table + .ht-src, .sol-rules + .ht-src { max-width: 1080px; margin-left: auto; margin-right: auto; }
.ht-plan small:empty { display: none; }
.sol-page[data-sol-layout="howto"] .sec-head code, .ht-glance code, .sol-answer code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; padding: .1em .35em; border-radius: 6px; background: rgba(21,101,216,.08); }
.ht-glance code { background: rgba(255,255,255,.12); color: #fff; }

/* ==========================================================================
   How-to design variants (.hx wrapper, set when a page has PAGE["design"]).
   Catalog: tools/sol/layouts/howto_design.py
   ========================================================================== */

/* ---------- Themes ---------- */
.hx { --t-deep: var(--dark); --t-deep-2: #0a3d8f; --t-tint: var(--soft); --t-on-deep: #5fd3ff; --t-deep-text: var(--dark-text); --t-glow: rgba(0,188,212,.25); }
.hx-theme--teal { --brand: #0f766e; --brand-600: #115e59; --brand-2: #2dd4bf; --brand-soft: #e2f6f4; --t-deep: #062724; --t-deep-2: #134e4a; --t-tint: #f3faf9; --t-on-deep: #5eead4; --t-deep-text: #bfdcd8; --t-glow: rgba(45,212,191,.25); }
.hx-theme--indigo { --brand: #4f46e5; --brand-600: #4338ca; --brand-2: #818cf8; --brand-soft: #eef0ff; --t-deep: #14123a; --t-deep-2: #312e81; --t-tint: #f6f6ff; --t-on-deep: #a5b4fc; --t-deep-text: #c9cdf0; --t-glow: rgba(99,102,241,.38); }
.hx-theme--amber { --brand: #b45309; --brand-600: #92400e; --brand-2: #f59e0b; --brand-soft: #fff3dc; --t-deep: #1f1206; --t-deep-2: #78350f; --t-tint: #fffaf2; --t-on-deep: #fcd34d; --t-deep-text: #e6d6c1; --t-glow: rgba(245,158,11,.28); }
.hx-theme--violet { --brand: #6d28d9; --brand-600: #5b21b6; --brand-2: #a78bfa; --brand-soft: #f3edff; --t-deep: #1a0f33; --t-deep-2: #4c1d95; --t-tint: #faf7ff; --t-on-deep: #c4b5fd; --t-deep-text: #d6cbef; --t-glow: rgba(139,92,246,.3); }
.hx-theme--slate { --brand: #334155; --brand-600: #1e293b; --brand-2: #94a3b8; --brand-soft: #eef2f6; --t-deep: #0f172a; --t-deep-2: #1e293b; --t-tint: #f6f8fa; --t-on-deep: #cbd5e1; --t-deep-text: #b6c2d2; --t-glow: rgba(148,163,184,.25); }
.hx .btn--primary { background: linear-gradient(135deg, var(--brand), var(--brand-600)); box-shadow: 0 10px 26px color-mix(in srgb, var(--brand) 35%, transparent); }
.hx .callout--tip { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 22%, #fff); }
.hx .callout--tip > .i { color: var(--brand); }
.hx .ht-step-n { background: var(--brand); box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 30%, transparent); }
.hx .ht-nav a.is-active { background: var(--brand-soft); color: var(--brand); }
.hx .ht-nav a.is-active::before { background: var(--brand); }
.hx .sol-jump a:hover { border-color: var(--brand); color: var(--brand); }
.hx-jn { font-weight: 800; color: var(--brand); margin-right: 6px; font-size: .78rem; }
.hx:not(.hx-hero-is-glance) .sol-benefits { margin-top: 0; padding: 40px 0 8px; }

/* ---------- Bands ---------- */
.hx-band--white { background: #fff; }
.hx-band--soft { background: var(--t-tint); }
.hx-band--accent { background: var(--brand-soft); }
.hx-band--deep, .hx-band--dark, .hx-band--fill { color: var(--t-deep-text); position: relative; overflow: hidden; }
.hx-band--deep { background: radial-gradient(900px 420px at 88% 0%, var(--t-glow), transparent 62%), var(--t-deep); }
.hx-band--dark { background: var(--dark); }
.hx-band--fill { background: radial-gradient(800px 400px at 90% 0%, rgba(255,255,255,.14), transparent 60%), linear-gradient(135deg, var(--brand-600), var(--t-deep-2) 55%, var(--t-deep)); }
.hx-band--deep .sec-head h2, .hx-band--dark .sec-head h2, .hx-band--fill .sec-head h2, .hx-band--deep .sol-scn-story h2, .hx-band--dark .sol-scn-story h2 { color: #fff; }
.hx-band--deep .eyebrow, .hx-band--dark .eyebrow, .hx-band--fill .eyebrow { color: var(--t-on-deep); }
.hx-band--deep .sec-head p, .hx-band--dark .sec-head p, .hx-band--fill .sec-head p, .hx-band--deep .sol-scn-story p, .hx-band--dark .sol-scn-story p { color: var(--t-deep-text); }
.hx-band--deep a:not(.btn):not(.sol-rel):not(.ht-path), .hx-band--dark a:not(.btn):not(.ht-path), .hx-band--fill a:not(.btn) { color: var(--t-on-deep); }
.hx-band--deep .ht-src, .hx-band--dark .ht-src, .hx-band--fill .ht-src { color: var(--t-deep-text); }
.hx-band--deep .sol-scn-label, .hx-band--dark .sol-scn-label { background: rgba(255,255,255,.08); color: var(--t-deep-text); }
.hx-band--deep .table-wrap, .hx-band--dark .table-wrap, .hx-band--fill .table-wrap { background: #fff; color: var(--body); border-radius: 16px; }
.hx-band--deep .sol-rule, .hx-band--dark .sol-rule { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--t-deep-text); }
.hx-band--deep .sol-rule h3, .hx-band--dark .sol-rule h3 { color: #fff; }
.hx-band--deep .sol-rule p, .hx-band--dark .sol-rule p { color: var(--t-deep-text); }
.hx-band--deep .ht-plan, .hx-band--dark .ht-plan, .hx-band--deep .ht-scale-notes div, .hx-band--dark .ht-scale-notes div { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--t-deep-text); }
.hx-band--deep .ht-plan b, .hx-band--dark .ht-plan b, .hx-band--deep .ht-scale-notes b, .hx-band--dark .ht-scale-notes b { color: #fff; }
.hx-band--dark .ht-plan small { background: rgba(255,255,255,.1); color: #fff; }
.hx-band--deep .sol-limit, .hx-band--dark .sol-limit { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--t-deep-text); }

/* ---------- Section heads ---------- */
.hx-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; text-align: left; margin: 0 0 44px; padding-bottom: 26px; border-bottom: 2px solid color-mix(in srgb, var(--brand) 22%, transparent); }
.hx-head--split h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.hx-head--split p { margin: 0; font-size: 1.04rem; }
.hx-band--deep .hx-head--split, .hx-band--dark .hx-head--split { border-color: rgba(255,255,255,.14); }
.hx-head--index { max-width: 1080px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 26px; align-items: start; text-align: left; margin: 0 auto 40px; }
.hx-head--index .hx-ix { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--brand); }
.hx-band--deep .hx-ix, .hx-band--dark .hx-ix, .hx-band--fill .hx-ix { -webkit-text-stroke-color: var(--t-on-deep); }
.hx-head--index h2 { margin: 4px 0 8px; }
.hx-head--index p { margin: 0; }
.hx-ch { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 56px; align-items: start; }
.hx-ch-side { position: sticky; top: 104px; }
.hx-head--chapter { text-align: left; margin: 0; max-width: none; padding-left: 18px; border-left: 3px solid var(--brand-2); }
.hx-head--chapter h2 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); }
.hx-ch-n { display: block; font-family: var(--display); font-weight: 800; font-size: 3.6rem; line-height: 1; letter-spacing: -.04em; color: var(--brand); margin-bottom: 10px; }
.hx-band--deep .hx-ch-n, .hx-band--dark .hx-ch-n { color: var(--t-on-deep); }
.hx-ch-main > * { max-width: none !important; }
.hx-ch-main .ht-req, .hx-ch-main .ht-alive, .hx-ch-main .sol-rules { grid-template-columns: 1fr; }
@media (max-width: 960px) { .hx-ch { grid-template-columns: minmax(0, 1fr); gap: 28px; } .hx-ch-side { position: static; } .hx-ch-n { font-size: 2.6rem; } }
@media (max-width: 760px) { .hx-head--split { grid-template-columns: 1fr; } .hx-head--index { grid-template-columns: 1fr; } }
.hx-heads--chapter .sol-jump, .hx-heads--split .sol-jump { justify-content: flex-start; max-width: 1080px; margin-left: auto; margin-right: auto; }

/* ---------- Heroes ---------- */
.hx-hero { position: relative; overflow: hidden; padding: 150px 0 96px; background: radial-gradient(1000px 500px at 80% -20%, color-mix(in srgb, var(--brand) 45%, transparent), transparent 60%), var(--t-deep); color: var(--t-deep-text); }
.hx-hero .wrap { position: relative; }
.hx-hero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 18px; }
.hx-hero-sub { font-size: 1.12rem; line-height: 1.65; max-width: 600px; margin-bottom: 30px; }
.hx-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hx-hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.hx-hero .crumbs { justify-content: flex-start; flex-wrap: wrap; margin-bottom: 18px; }
.hx-hero .crumbs [aria-current] { color: #fff; }
.hx-hero .sol-hero-badges .badge .i { width: 14px; height: 14px; }
.hx-hero code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; padding: .1em .35em; border-radius: 6px; background: rgba(255,255,255,.12); color: #fff; }
.hx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hx-hero-grid--flip { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.hx-hero-foot { margin: 34px 0 0; font-size: .9rem; line-height: 1.5; }
.hx-hero-foot .i { width: 16px; height: 16px; color: var(--t-on-deep); vertical-align: -3px; margin-right: 6px; }
.hx-hero-foot a { color: var(--t-on-deep); font-weight: 700; }
@media (max-width: 960px) {
  .hx-hero { padding: 124px 0 72px; }
  .hx-hero-grid, .hx-hero-grid--flip { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hx-hero-grid--flip .hx-tray { order: 2; }
}

/* device: CSS phone with the pairing screen */
.hx-dev { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 26px; align-items: center; }
.hx-dev-phone { position: relative; width: 230px; height: 440px; border-radius: 38px; background: #0b0f17; padding: 12px; box-shadow: 0 30px 70px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.12); transform: rotate(-4deg); }
.hx-dev-notch { position: absolute; top: 18px; left: 50%; width: 70px; height: 16px; margin-left: -35px; border-radius: 10px; background: #000; z-index: 2; }
.hx-dev-screen { height: 100%; border-radius: 28px; background: linear-gradient(180deg, #fff, var(--t-tint)); display: flex; flex-direction: column; align-items: center; padding: 46px 18px 18px; gap: 14px; color: var(--ink); }
.hx-dev-app { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: .8rem; color: var(--brand); }
.hx-dev-app .i { width: 15px; height: 15px; }
.hx-dev-qr { position: relative; padding: 10px; background: #fff; border-radius: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.1); border: 2px solid var(--brand); }
.hx-qr { display: grid; grid-template-columns: repeat(12, 10px); grid-auto-rows: 10px; gap: 1px; }
.hx-qr i { background: var(--ink); border-radius: 1px; } .hx-qr b { background: transparent; }
.hx-dev-scan { position: absolute; left: 6px; right: 6px; top: 10px; height: 3px; border-radius: 3px; background: var(--brand-2); box-shadow: 0 0 12px var(--brand-2); animation: hxScan 2.4s ease-in-out infinite alternate; }
@keyframes hxScan { to { top: calc(100% - 13px); } }
.hx-dev-label { font-size: .78rem; font-weight: 700; color: var(--muted); }
.hx-dev-svc { margin-top: auto; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 700; }
.hx-dev-toggle { width: 34px; height: 20px; border-radius: 20px; background: var(--brand); position: relative; }
.hx-dev-toggle::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.hx-dev-spec { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 20px; }
.hx-dev-spec h2 { color: #fff; font-size: 1rem; margin: 0 0 12px; display: flex; gap: 8px; align-items: center; }
.hx-dev-spec h2 .i { color: var(--t-on-deep); width: 18px; height: 18px; }
.hx-dev-spec dl { margin: 0; display: grid; gap: 10px; }
.hx-dev-spec dl > div { padding-bottom: 10px; border-bottom: 1px dashed rgba(255,255,255,.14); }
.hx-dev-spec dl > div:last-child { border: 0; padding: 0; }
.hx-dev-spec dt { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--t-on-deep); }
.hx-dev-spec dd { margin: 2px 0 0; color: #fff; font-weight: 700; font-size: .95rem; }
.hx-dev-spec dd small { display: block; font-weight: 400; color: var(--t-deep-text); font-size: .8rem; line-height: 1.45; }
@media (max-width: 640px) { .hx-dev { grid-template-columns: 1fr; justify-items: center; } .hx-dev-phone { transform: none; width: 210px; height: 400px; } .hx-qr { grid-template-columns: repeat(12, 8px); grid-auto-rows: 8px; } .hx-dev-spec { width: 100%; } }

/* rack: centred copy + a rack of phones */
.hx-hero-copy--center { text-align: center; max-width: 820px; margin: 0 auto; }
.hx-hero-copy--center .crumbs, .hx-hero-copy--center .sol-hero-badges, .hx-hero-copy--center .hero-actions { justify-content: center; }
.hx-hero-copy--center .hx-hero-sub { margin-left: auto; margin-right: auto; }
.hx-rack { margin: 48px auto 0; max-width: 1080px; border-radius: 26px; padding: 22px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); }
.hx-rack-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; color: #fff; }
.hx-rack-head b { display: flex; align-items: center; gap: 8px; font-family: var(--display); }
.hx-rack-head b .i { color: var(--t-on-deep); width: 18px; height: 18px; }
.hx-rack-head span { font-size: .82rem; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.08); }
.hx-rack-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.hx-rack-grid li { position: relative; aspect-ratio: 9 / 17; border-radius: 14px; background: #0b0f17; border: 1px solid rgba(255,255,255,.16); padding: 18px 6px 8px; display: flex; }
.hx-rack-scr { flex: 1; border-radius: 8px; background: linear-gradient(180deg, var(--brand), var(--brand-600)); display: flex; flex-direction: column; justify-content: flex-end; padding: 6px 4px; text-align: center; }
.hx-rack-scr b { color: #fff; font-size: .7rem; font-family: var(--display); }
.hx-rack-scr small { color: rgba(255,255,255,.8); font-size: .6rem; }
.hx-rack-led { position: absolute; top: 7px; left: 50%; margin-left: -4px; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.hx-rack-grid li.is-off .hx-rack-scr { background: #2a2f3a; }
.hx-rack-grid li.is-off .hx-rack-led { background: #f87171; box-shadow: 0 0 8px #f87171; animation: hxBlink 1.2s steps(2) infinite; }
@keyframes hxBlink { 50% { opacity: .2; } }
.hx-rack-stats { margin: 18px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.hx-rack-stats > div { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.hx-rack-stats dt { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--t-on-deep); }
.hx-rack-stats dd { margin: 4px 0 0; color: #fff; font-weight: 700; font-size: .92rem; line-height: 1.3; }
.hx-rack-stats dd small { display: block; color: var(--t-deep-text); font-weight: 400; font-size: .78rem; margin-top: 4px; }
.hx-rack-note { margin: 12px 0 0; font-size: .76rem; display: flex; align-items: center; gap: 6px; opacity: .85; }
.hx-rack-note .i { width: 13px; height: 13px; }
@media (max-width: 960px) { .hx-rack-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .hx-rack-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hx-rack { padding: 14px; } .hx-rack-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hx-rack-stats { grid-template-columns: 1fr; } }

/* tags: light hero with hanging label tags */
.hx-hero--light { background: radial-gradient(700px 380px at 92% 10%, color-mix(in srgb, var(--brand-2) 30%, transparent), transparent 65%), linear-gradient(180deg, var(--t-tint), #fff 90%); color: var(--body); }
.hx-hero--light::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--brand) 16%, transparent) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.hx-hero--light h1 { color: var(--ink); }
.hx-hero--light .crumbs { color: var(--muted); }
.hx-hero--light .crumbs a { color: var(--body) !important; }
.hx-hero--light .crumbs [aria-current] { color: var(--ink); }
.hx-hero--light .badge--dark { background: #fff; color: var(--ink); border-color: var(--line); }
.hx-hero--light .btn--ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.hx-hero--light .btn--ghost:hover { color: var(--brand); border-color: var(--brand); }
.hx-hero--light code { background: var(--brand-soft); color: var(--brand-600); }
.hx-hero--light .hx-hero-foot .i, .hx-hero--light .hx-hero-foot a { color: var(--brand); }
body:has(.hx-hero--light) .site-header:not(.is-scrolled):not(.menu-open) .brand-logo img { filter: none; }
body:has(.hx-hero--light) .site-header:not(.is-scrolled):not(.menu-open) .nav a { color: var(--body); }
body:has(.hx-hero--light) .site-header:not(.is-scrolled):not(.menu-open) .header-cta .login,
body:has(.hx-hero--light) .site-header:not(.is-scrolled):not(.menu-open) .lang { color: var(--ink); }
body:has(.hx-hero--light) .site-header:not(.is-scrolled):not(.menu-open) .menu-btn { color: var(--ink); border-color: var(--line); }
.hx-tags h2 { font-size: 1rem; margin: 0 0 18px; display: flex; gap: 8px; align-items: center; color: var(--ink); }
.hx-tags h2 .i { color: var(--brand); width: 18px; height: 18px; }
.hx-tag-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.hx-tag-list li { position: relative; transform: rotate(var(--r)); background: #fff; border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); border-left: 0; border-radius: 6px 16px 16px 6px; padding: 14px 16px 14px 34px; box-shadow: 0 14px 30px rgba(11,27,51,.1); clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%); }
.hx-tag-list li:nth-child(odd) { background: #fffdf7; }
.hx-tag-list li:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 70%; justify-self: center; }
.hx-tag-hole { position: absolute; left: 16px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--t-tint); border: 2px solid color-mix(in srgb, var(--brand) 45%, #fff); }
.hx-tag-list small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.hx-tag-list b { display: block; color: var(--ink); font-family: var(--display); font-size: 1.02rem; margin: 2px 0 4px; }
.hx-tag-list span:not(.hx-tag-hole) { display: block; font-size: .8rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 560px) { .hx-tag-list { grid-template-columns: 1fr; } .hx-tag-list li:last-child:nth-child(odd) { max-width: none; } }

/* slots: SIM tray with two SIM cards */
.hx-tray { background: linear-gradient(160deg, #2b2f38, #14171d); border-radius: 28px; padding: 22px; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 70px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.12); }
.hx-tray-head b { display: flex; align-items: center; gap: 8px; color: #fff; font-family: var(--display); margin-bottom: 16px; }
.hx-tray-head .i { width: 18px; height: 18px; color: var(--t-on-deep); }
.hx-tray-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px; border-radius: 20px; background: #0c0e12; box-shadow: inset 0 6px 18px rgba(0,0,0,.6); }
.hx-sim { position: relative; padding: 16px 16px 16px; border-radius: 10px 30px 10px 10px; background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: rgba(255,255,255,.88); min-height: 190px; display: flex; flex-direction: column; }
.hx-sim--2 { background: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.hx-sim-chip { width: 54px; height: 42px; border-radius: 8px; background: linear-gradient(135deg, #f7dc8b, #c9a13b); display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 5px; margin-bottom: 14px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.hx-sim-chip i { border-radius: 2px; background: rgba(120,88,20,.35); }
.hx-sim small { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hx-sim b { color: #fff; font-family: var(--display); font-size: 1.5rem; line-height: 1.1; margin: 2px 0 6px; }
.hx-sim span { font-size: .78rem; line-height: 1.45; margin-top: auto; }
.hx-sim code { background: rgba(0,0,0,.2); }
.hx-tray-chips { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.hx-tray-chips li { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.05); color: #fff; font-size: .9rem; }
.hx-tray-chips b { color: var(--t-on-deep); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; min-width: 56px; }
.hx-tray-chips small { flex-basis: 100%; color: var(--t-deep-text); font-size: .78rem; padding-left: 64px; }
@media (max-width: 520px) { .hx-tray { padding: 14px; } .hx-tray-body { grid-template-columns: 1fr; } .hx-sim { min-height: 0; } .hx-tray-chips small { padding-left: 0; } }

/* ---------- Steps: progress ---------- */
.hx-prog { display: flex; align-items: center; gap: 12px; max-width: 1080px; margin: 0 auto 26px; font-size: .86rem; font-weight: 700; color: var(--muted); }
.hx-prog-bar { flex: 1; height: 8px; border-radius: 8px; background: color-mix(in srgb, var(--brand) 12%, #fff); overflow: hidden; }
.hx-prog-bar i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .3s; }
.hx-prog.is-complete span { color: #12a150; }
.hx-prog--nav { margin: 14px 6px 4px; flex-direction: column; align-items: stretch; gap: 6px; font-size: .78rem; }
.hx-prog--nav .hx-prog-bar { flex: none; height: 6px; }
.hx .ht-step.is-done .ht-step-n { background: #12a150; }

/* timeline: zigzag along a centre line */
.hx-tl { list-style: none; margin: 0 auto; padding: 0; max-width: 1120px; position: relative; display: grid; gap: 8px; }
.hx-tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: linear-gradient(var(--brand), color-mix(in srgb, var(--brand) 15%, #fff)); border-radius: 3px; }
.hx-tl .ht-step { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: start; background: none; border: 0; padding: 0; border-radius: 0; }
.hx-tl .ht-step::after { display: none; }
.hx-tl .ht-step-n { position: relative; left: auto; top: 18px; grid-column: 2; grid-row: 1; justify-self: center; width: 52px; height: 52px; border-radius: 50%; font-size: 1.2rem; border: 4px solid #fff; z-index: 1; }
.hx-tl-card { grid-row: 1; grid-column: 1; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; box-shadow: var(--shadow); position: relative; }
.hx-tl .ht-step:nth-child(even) .hx-tl-card { grid-column: 3; }
.hx-tl-card::after { content: ""; position: absolute; top: 34px; right: -9px; width: 16px; height: 16px; background: #fff; border: solid var(--line); border-width: 1px 1px 0 0; transform: rotate(45deg); }
.hx-tl .ht-step:nth-child(even) .hx-tl-card::after { right: auto; left: -9px; transform: rotate(-135deg); }
.hx-tl .ht-step h3 { padding-top: 0; }
.hx-tl .ht-checks { grid-template-columns: 1fr; }
.hx-tl .ht-step.is-done .hx-tl-card { border-color: #c4efd5; }
@media (max-width: 860px) {
  .hx-tl::before { left: 24px; }
  .hx-tl .ht-step { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .hx-tl .ht-step-n { grid-column: 1; top: 10px; width: 48px; height: 48px; }
  .hx-tl-card, .hx-tl .ht-step:nth-child(even) .hx-tl-card { grid-column: 2; padding: 18px; }
  .hx-tl-card::after { display: none; }
}

/* cards: numbered card grid */
.hx-cards { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hx-cards .ht-step { padding: 24px; border-radius: 22px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.hx-cards .ht-step::after { display: none; }
.hx-cards .ht-step::before { content: attr(id); display: none; }
.hx-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hx-cards .ht-step-n { position: static; width: auto; height: auto; padding: 0; background: none !important; box-shadow: none !important; color: color-mix(in srgb, var(--brand) 28%, #fff); font-size: 3.2rem; line-height: 1; letter-spacing: -.04em; }
.hx-cards .ht-step.is-done .ht-step-n { color: #12a150; }
.hx-card-of { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; }
.hx-cards .ht-step h3 { padding-top: 0; }
.hx-cards .ht-checks { grid-template-columns: 1fr; margin-top: auto; }
.hx-cards .ht-done { align-self: flex-start; }
.hx-cards .ht-step.is-done { border-color: #c4efd5; box-shadow: inset 0 4px 0 #12a150; }
@media (max-width: 860px) { .hx-cards { grid-template-columns: 1fr; } }

/* accordion */
.hx-acc-tools { max-width: 960px; margin: 0 auto 12px; display: flex; justify-content: flex-end; }
.hx-acc-all { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: .84rem; color: var(--body); cursor: pointer; }
.hx-acc-all:hover { border-color: var(--brand); color: var(--brand); }
.hx-accs { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; display: grid; gap: 10px; }
.hx-accs .ht-step { padding: 0; border-radius: 18px; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.hx-accs .ht-step::after { display: none; }
.hx-acc summary { list-style: none; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 24px; gap: 14px; align-items: center; padding: 16px 20px; cursor: pointer; }
.hx-acc summary::-webkit-details-marker { display: none; }
.hx-acc summary:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; border-radius: 18px; }
.hx-accs .ht-step-n { position: static; width: 44px; height: 44px; }
.hx-acc-t { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1.06rem; line-height: 1.3; }
.hx-acc-state::after { content: "To do"; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 3px 9px; border-radius: 999px; background: var(--soft); }
.hx-accs .ht-step.is-done .hx-acc-state::after { content: "Done"; color: #12a150; background: #ecfbf2; }
.hx-acc .pm { position: relative; width: 20px; height: 20px; }
.hx-acc .pm::before, .hx-acc .pm::after { content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; background: var(--brand); border-radius: 2px; transition: transform .2s; }
.hx-acc .pm::after { transform: rotate(90deg); }
.hx-acc[open] .pm::after { transform: rotate(0); }
.hx-acc[open] summary { border-bottom: 1px solid var(--line); background: var(--t-tint); }
.hx-acc-body { padding: 18px 22px 22px 78px; }
.hx-acc-body > p { margin: 0 0 12px; color: var(--body); line-height: 1.65; }
.hx-acc-body ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; line-height: 1.65; }
@media (max-width: 640px) { .hx-acc summary { grid-template-columns: 38px minmax(0, 1fr) 20px; padding: 14px; } .hx-acc-state { display: none; } .hx-accs .ht-step-n { width: 38px; height: 38px; } .hx-acc-body { padding: 16px; } }

/* stepper: tabs + panels */
.hx-stepper { max-width: 1120px; margin: 0 auto; }
.hx-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 6px; padding: 6px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 18px; position: relative; }
.hx-tabs button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 0; border-radius: 14px; background: none; cursor: pointer; color: var(--muted); font: inherit; font-size: .76rem; font-weight: 700; line-height: 1.25; text-align: center; }
.hx-tab-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--muted); font-weight: 800; font-size: .86rem; }
.hx-tabs button:hover { color: var(--ink); }
.hx-tabs button[aria-selected="true"] { background: var(--brand-soft); color: var(--brand-600); }
.hx-tabs button[aria-selected="true"] .hx-tab-n { background: var(--brand); color: #fff; }
.hx-tabs button.is-done .hx-tab-n { background: #12a150; color: #fff; }
.hx-tabs button:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.hx-panels .ht-step { padding: 30px 32px 26px; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 8px; }
.hx-panels .ht-step > * { grid-column: 2; }
.hx-panels .ht-step-n { grid-column: 1; grid-row: 1 / span 4; position: static; width: 60px; height: 60px; font-size: 1.5rem; border-radius: 18px; }
.hx-panels .ht-step::after { display: none; }
.hx-panels .ht-step h3 { padding-top: 0; font-size: 1.35rem; }
.hx-panels .ht-step + .ht-step { margin-top: 18px; }
.hx-stepper.is-live .hx-panels .ht-step + .ht-step { margin-top: 0; }
.hx-stepper.is-live .hx-panels .ht-step[hidden] { display: none; }
.hx-stepper:not(.is-live) .hx-tabs, .hx-stepper:not(.is-live) .hx-next { display: none; }
.hx-panel-act { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hx-next { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 0; background: var(--brand); color: #fff; font-weight: 700; font-size: .86rem; cursor: pointer; }
.hx-next .i { width: 15px; height: 15px; }
@media (max-width: 860px) {
  .hx-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .hx-tabs button { flex: 0 0 96px; scroll-snap-align: start; }
  .hx-panels .ht-step { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
  .hx-panels .ht-step > *, .hx-panels .ht-step-n { grid-column: 1; grid-row: auto; }
  .hx-panels .ht-step-n { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 10px; }
}
.hx-steps .ht-checks code, .hx-acc-body code, .hx-tl-card code, .hx-panels code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; background: #eef3fa; color: #0b3f86; padding: .12em .4em; border-radius: 6px; }

/* ---------- Need: tiles ---------- */
.hx-tiles-box { max-width: 1180px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.hx-tiles-head { display: flex; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; align-items: end; margin-bottom: 18px; }
.hx-tiles-head h3 { margin: 0 0 4px; font-size: 1.1rem; }
.hx-tiles-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.hx-tiles-head .ht-req-prog { margin: 0; min-width: 260px; }
.hx-tiles-head .ht-req-bar i { background: var(--brand); }
.hx-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.hx-tiles label { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; border-radius: 16px; border: 1.5px dashed color-mix(in srgb, var(--brand) 30%, var(--line)); background: var(--t-tint); cursor: pointer; transition: background .2s, border-color .2s; }
.hx-tiles input { position: absolute; right: 14px; top: 14px; width: 20px; height: 20px; accent-color: var(--brand); }
.hx-tile-n { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--brand); line-height: 1; }
.hx-tiles b { color: var(--ink); font-size: .96rem; padding-right: 22px; }
.hx-tiles span:not(.hx-tile-n) { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.hx-tiles label:has(input:checked) { border-style: solid; border-color: #9fe0bb; background: #f1fbf5; }
.hx-not { max-width: 1180px; margin: 18px auto 0; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.hx-not > b { font-family: var(--display); color: var(--ink); margin-right: 6px; }
.hx-not ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hx-not li { display: flex; gap: 8px; align-items: flex-start; padding: 8px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .86rem; line-height: 1.45; color: var(--body); max-width: 520px; }
.hx-not .i { width: 14px; height: 14px; color: #e05a4f; flex: none; margin-top: 3px; stroke-width: 3; }

/* ---------- Online: rows ---------- */
.hx-rows-group { max-width: 1080px; margin: 0 auto 22px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 26px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.hx-rows-group--gen { background: var(--t-tint); border-style: dashed; }
.hx-rows-head h3 { display: flex; gap: 10px; align-items: center; margin: 0 0 6px; font-size: 1.1rem; }
.hx-rows-head h3 .i { color: var(--brand); width: 20px; height: 20px; }
.hx-rows-head p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.hx-rows { list-style: none; margin: 0; padding: 0; }
.hx-rows li { display: grid; grid-template-columns: 34px 200px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; line-height: 1.55; color: var(--body); }
.hx-rows li:last-child { border-bottom: 0; }
.hx-row-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.hx-row-ic .i { width: 16px; height: 16px; }
.hx-rows b { color: var(--ink); padding-top: 6px; }
.hx-rows span:not(.hx-row-ic) { padding-top: 6px; }
.hx-rows code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; background: #eef3fa; color: #0b3f86; padding: .12em .4em; border-radius: 6px; }
@media (max-width: 860px) { .hx-rows-group { grid-template-columns: 1fr; padding: 18px; } .hx-rows li { grid-template-columns: 34px minmax(0, 1fr); } .hx-rows li span:not(.hx-row-ic) { grid-column: 2; padding-top: 0; } }

/* ---------- Troubleshoot: cards ---------- */
.hx-ts { list-style: none; margin: 0 auto 34px; padding: 0; max-width: 1120px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.hx-ts li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 20px 18px; border-top: 4px solid #e05a4f; }
.hx-ts-n { position: absolute; right: 16px; top: 12px; font-family: var(--display); font-weight: 800; color: var(--line); font-size: 1.6rem; }
.hx-ts h3 { margin: 0 0 10px; font-size: 1rem; padding-right: 40px; line-height: 1.35; }
.hx-ts p { margin: 0 0 8px; font-size: .88rem; line-height: 1.55; color: var(--body); }
.hx-ts p b { display: block; font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.hx-ts .hx-ts-fix { margin: 0; padding: 10px 12px; border-radius: 12px; background: #f1fbf5; }
.hx-ts .hx-ts-fix b { color: #12a150; }

/* ---------- Next: list ---------- */
.hx-nx { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; border-top: 1px solid var(--line); }
.hx-nx a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--body); transition: background .2s, padding .2s; }
.hx-nx a:hover { background: var(--brand-soft); padding-left: 16px; }
.hx-nx-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.hx-nx-ic .i { width: 22px; height: 22px; }
.hx-nx-t b { display: block; color: var(--ink); font-family: var(--display); font-size: 1.08rem; }
.hx-nx-t span { font-size: .9rem; line-height: 1.5; }
.hx-nx-l { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; font-size: .86rem; white-space: nowrap; }
.hx-nx-l .i { width: 15px; height: 15px; }
@media (max-width: 640px) { .hx-nx a { grid-template-columns: 40px minmax(0, 1fr); } .hx-nx-ic { width: 40px; height: 40px; } .hx-nx-l { grid-column: 2; } }

/* ---------- FAQ / CTA ---------- */
.hx-faq--columns { max-width: 1120px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; align-items: start; }
@media (max-width: 860px) { .hx-faq--columns { grid-template-columns: 1fr; } }
.hx-cta--band { padding: 0; background: radial-gradient(800px 400px at 85% 0%, var(--t-glow), transparent 60%), linear-gradient(135deg, var(--t-deep), var(--t-deep-2)); }
.hx .cta-band.hx-cta--band .cta-box { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 96px 0 40px; }
.hx-cta--band .sol-updated { margin: 0; padding-bottom: 32px; color: var(--t-deep-text); }
.hx-cta--band .btn--white { color: var(--brand-600); }
@media (max-width: 760px) { .hx .cta-band.hx-cta--band .cta-box { padding: 64px 0 28px; } }
.hx .cta-band.hx-cta--light .cta-box { background: var(--brand-soft); }
.hx-cta--light .cta-box { background: var(--brand-soft); border: 2px solid color-mix(in srgb, var(--brand) 25%, #fff); color: var(--body); box-shadow: none; }
.hx-cta--light .cta-box h2 { color: var(--ink); }
.hx-cta--light .cta-box p { color: var(--body); }
.hx-cta--light .btn--white { background: var(--brand); color: #fff; }
.hx-cta--light .btn--ghost { color: var(--ink); border-color: color-mix(in srgb, var(--brand) 35%, #fff); }

@media (prefers-reduced-motion: reduce) {
  .hx-dev-scan, .hx-rack-grid li.is-off .hx-rack-led { animation: none; }
  .hx-nx a, .hx-prog-bar i { transition: none; }
}
.hx-band--deep .table th, .hx-band--deep .table td, .hx-band--dark .table th, .hx-band--dark .table td, .hx-band--fill .table th, .hx-band--fill .table td { color: var(--body); }
.hx-band--deep .table thead th, .hx-band--dark .table thead th, .hx-band--fill .table thead th, .hx-band--deep .table td:first-child, .hx-band--dark .table td:first-child { color: var(--ink); }
.hx-band--deep .table thead th, .hx-band--dark .table thead th, .hx-band--fill .table thead th { background: var(--soft); }
.hx-band--deep .table th, .hx-band--deep .table td, .hx-band--dark .table th, .hx-band--dark .table td, .hx-band--fill .table th, .hx-band--fill .table td { border-bottom-color: var(--line); }
.hx-band--deep .table strong, .hx-band--dark .table strong, .hx-band--fill .table strong { color: var(--ink); }

/* ==========================================================================
   Day 2 how-to variants: themes emerald / rose / ocean; heroes battery, linkqr,
   countdown, numbers, migrate; steps ticket, screens, split, phases.
   ========================================================================== */
.hx-theme--emerald { --brand: #0f7a3d; --brand-600: #0b5e2f; --brand-2: #34d399; --brand-soft: #e3f6ea; --t-deep: #04200f; --t-deep-2: #0b4a26; --t-tint: #f2faf5; --t-on-deep: #6ee7b7; --t-deep-text: #bfdccb; --t-glow: rgba(52,211,153,.28); }
.hx-theme--rose { --brand: #be123c; --brand-600: #9f1239; --brand-2: #fb7185; --brand-soft: #ffe8ed; --t-deep: #24060f; --t-deep-2: #6b0f2a; --t-tint: #fff6f8; --t-on-deep: #fda4af; --t-deep-text: #e8c9d0; --t-glow: rgba(251,113,133,.28); }
.hx-theme--ocean { --brand: #0369a1; --brand-600: #075985; --brand-2: #38bdf8; --brand-soft: #e0f2fe; --t-deep: #04182a; --t-deep-2: #0c4a6e; --t-tint: #f3f9fd; --t-on-deep: #7dd3fc; --t-deep-text: #bcd6e8; --t-glow: rgba(56,189,248,.28); }

/* battery: phone status panel */
.hx-bat { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 22px; align-items: start; }
.hx-bat-panel { background: #0b0f17; border-radius: 30px; padding: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.12); color: var(--ink); display: grid; gap: 10px; }
.hx-bat-panel > * { background: #fff; border-radius: 16px; padding: 12px 14px; }
.hx-bat-status { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; font-weight: 800; color: var(--muted); background: var(--t-tint) !important; }
.hx-bat-cell { display: inline-flex; align-items: center; gap: 6px; }
.hx-bat-cell i { position: relative; width: 30px; height: 14px; border: 2px solid var(--brand); border-radius: 4px; background: linear-gradient(90deg, var(--brand) 100%, transparent 0); background-clip: content-box; padding: 1px; }
.hx-bat-cell i::after { content: ""; position: absolute; right: -5px; top: 3px; width: 3px; height: 5px; border-radius: 0 2px 2px 0; background: var(--brand); }
.hx-bat-cell em { font-style: normal; color: var(--brand); }
.hx-bat-app b { display: block; font-family: var(--display); font-size: .98rem; }
.hx-bat-app span { font-size: .74rem; color: var(--muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hx-bat-opts { list-style: none; margin: 0; display: grid; gap: 4px; padding: 8px 10px !important; }
.hx-bat-opts li { display: grid; grid-template-columns: 18px 1fr; gap: 0 8px; padding: 6px 4px; border-radius: 10px; }
.hx-bat-opts li.is-on { background: var(--brand-soft); }
.hx-bat-radio { grid-row: span 2; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); margin-top: 2px; }
.hx-bat-opts li.is-on .hx-bat-radio { border: 5px solid var(--brand); }
.hx-bat-opts b { font-size: .84rem; }
.hx-bat-opts small { font-size: .7rem; color: var(--muted); line-height: 1.35; }
.hx-bat-up span { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hx-bat-bars { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; height: 26px; }
.hx-bat-bars i { border-radius: 2px; background: var(--brand-2); }
.hx-bat-bars i.is-gap { background: #f1b4b4; }
.hx-bat-up small { display: block; margin-top: 6px; font-size: .7rem; color: var(--muted); line-height: 1.35; }
.hx-bat-spec { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 20px; }
.hx-bat-spec h2 { color: #fff; font-size: 1rem; margin: 0 0 12px; display: flex; gap: 8px; align-items: center; }
.hx-bat-spec h2 .i { color: var(--t-on-deep); width: 18px; height: 18px; }
.hx-bat-spec dl { margin: 0; display: grid; gap: 10px; }
.hx-bat-spec dl > div { padding-bottom: 10px; border-bottom: 1px dashed rgba(255,255,255,.14); }
.hx-bat-spec dl > div:last-child { border: 0; padding: 0; }
.hx-bat-spec dt { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--t-on-deep); }
.hx-bat-spec dd { margin: 2px 0 0; color: #fff; font-weight: 700; font-size: .95rem; }
.hx-bat-spec dd small { display: block; font-weight: 400; color: var(--t-deep-text); font-size: .8rem; line-height: 1.45; }
.hx-bat-note { grid-column: 1 / -1; margin: 0; font-size: .8rem; }
.hx-bat-note .i { width: 14px; height: 14px; vertical-align: -2px; color: var(--t-on-deep); }
@media (max-width: 640px) { .hx-bat { grid-template-columns: minmax(0, 1fr); } .hx-bat-panel { max-width: 300px; } }

/* linkqr: dashboard QR window + phone Linked devices list */
.hx-lq-stage { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 200px); gap: 10px; align-items: center; }
.hx-lq-win { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 26px 60px rgba(0,0,0,.4); color: var(--ink); text-align: center; }
.hx-lq-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: var(--t-tint); border-bottom: 1px solid var(--line); font-size: .74rem; font-weight: 800; color: var(--muted); }
.hx-lq-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d4dbe6; }
.hx-lq-bar span { margin-left: 8px; }
.hx-lq-qr { display: inline-block; margin: 18px auto 8px; padding: 10px; border-radius: 12px; border: 2px solid var(--brand); }
.hx-lq-win p { margin: 0 0 16px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.hx-lq-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-2); color: var(--t-deep); }
.hx-lq-arrow .i { width: 16px; height: 16px; transform: rotate(180deg); }
.hx-lq-phone { background: #0b0f17; border-radius: 26px; padding: 12px; box-shadow: 0 26px 60px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.12); }
.hx-lq-top { background: var(--brand); color: #fff; font-weight: 800; font-size: .82rem; padding: 26px 12px 10px; border-radius: 16px 16px 4px 4px; }
.hx-lq-btn { display: block; margin: 8px 0; padding: 8px; border-radius: 999px; background: #fff; color: var(--brand); font-size: .76rem; font-weight: 800; text-align: center; }
.hx-lq-phone ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hx-lq-phone li { display: grid; grid-template-columns: 26px 1fr; gap: 0 8px; align-items: center; background: #fff; border-radius: 10px; padding: 8px; }
.hx-lq-dev { grid-row: span 2; width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.hx-lq-dev .i { width: 14px; height: 14px; }
.hx-lq-phone b { font-size: .74rem; color: var(--ink); line-height: 1.2; }
.hx-lq-phone small { font-size: .66rem; color: var(--muted); }
.hx-lq-note { margin: 14px 0 0; font-size: .8rem; }
.hx-lq-note .i { width: 14px; height: 14px; vertical-align: -2px; color: var(--t-on-deep); }
.hx-lq-strip { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.hx-lq-strip li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #fff; font-size: .9rem; }
.hx-lq-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-2); color: var(--t-deep); font-weight: 800; font-size: .85rem; }
.hx-lq-strip b { color: var(--t-on-deep); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; display: block; }
.hx-lq-strip small { display: block; color: var(--t-deep-text); font-size: .8rem; line-height: 1.45; margin-top: 2px; }
@media (max-width: 560px) { .hx-lq-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; } .hx-lq-win, .hx-lq-phone { width: 100%; max-width: 280px; } .hx-lq-arrow .i { transform: rotate(-90deg); } }

/* countdown: 14-day strip */
.hx-cd { margin: 48px auto 0; max-width: 1080px; border-radius: 26px; padding: 22px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); }
.hx-cd-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; color: #fff; }
.hx-cd-head b { display: flex; align-items: center; gap: 8px; font-family: var(--display); }
.hx-cd-head b .i { width: 18px; height: 18px; color: var(--t-on-deep); }
.hx-cd-key { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; font-size: .76rem; }
.hx-cd-key li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: currentColor; }
.hx-cd-key .is-open { color: var(--brand-2); } .hx-cd-key .is-idle { color: rgba(255,255,255,.35); } .hx-cd-key .is-warn { color: #fbbf24; }
.hx-cd-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; }
.hx-cd-days li { border-radius: 12px; padding: 10px 4px; text-align: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); min-height: 74px; display: flex; flex-direction: column; justify-content: space-between; }
.hx-cd-days b { color: #fff; font-family: var(--display); font-size: .95rem; }
.hx-cd-days span { font-size: .58rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--t-deep-text); }
.hx-cd-days .is-open { background: color-mix(in srgb, var(--brand-2) 30%, transparent); border-color: var(--brand-2); }
.hx-cd-days .is-today { box-shadow: inset 0 0 0 2px #fff; }
.hx-cd-days .is-warn { background: rgba(251,191,36,.2); border-color: #fbbf24; }
.hx-cd-days .is-warn span { color: #fde68a; }
.hx-cd-stats { margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.hx-cd-stats div { padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,.18); }
.hx-cd-stats dt { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--t-on-deep); }
.hx-cd-stats dd { margin: 2px 0 0; color: #fff; font-weight: 700; }
.hx-cd-stats dd small { display: block; font-weight: 400; color: var(--t-deep-text); font-size: .8rem; line-height: 1.45; }
.hx-cd-note { margin: 12px 0 0; font-size: .8rem; }
.hx-cd-note .i { width: 14px; height: 14px; vertical-align: -2px; color: var(--t-on-deep); }
@media (max-width: 760px) { .hx-cd-days { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

/* numbers: stack of linked WhatsApp numbers */
.hx-num { background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); border-radius: 26px; padding: 20px; }
.hx-num-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; color: #fff; }
.hx-num-head b { display: flex; align-items: center; gap: 8px; font-family: var(--display); }
.hx-num-head b .i { width: 18px; height: 18px; color: var(--t-on-deep); }
.hx-num-head span { font-size: .8rem; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.08); }
.hx-num-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hx-num-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: #fff; color: var(--ink); }
.hx-num-av { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; }
.hx-num-t b { display: block; font-size: .9rem; line-height: 1.2; }
.hx-num-t small { font-size: .76rem; color: var(--muted); }
.hx-num-st { font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.hx-num-st--ok { background: #ecfbf2; color: #0f7a3d; }
.hx-num-st--warm { background: #fff3dc; color: #92400e; }
.hx-num-bar { grid-column: 2 / -1; height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.hx-num-bar i { display: block; height: 100%; width: var(--w); background: var(--brand-2); border-radius: 6px; }
@media (max-width: 960px) { .hx-hero-grid--flip .hx-num { order: 2; } }

/* migrate: before / after board (light hero) */
.hx-mg { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 24px 60px rgba(11,27,51,.1); }
.hx-mg h2 { font-size: 1rem; margin: 0 0 14px; display: flex; gap: 8px; align-items: center; color: var(--ink); }
.hx-mg h2 .i { color: var(--brand); width: 18px; height: 18px; }
.hx-mg-board { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); gap: 10px; align-items: center; }
.hx-mg-col { border-radius: 16px; padding: 14px; height: 100%; }
.hx-mg-col h3 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.hx-mg-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; line-height: 1.4; }
.hx-mg-col li { padding-left: 16px; position: relative; }
.hx-mg-col li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 2px; }
.hx-mg-col--before { background: var(--soft); color: var(--muted); }
.hx-mg-col--before h3 { color: var(--muted); }
.hx-mg-col--before li::before { background: #c9d2df; }
.hx-mg-col--after { background: var(--brand-soft); color: var(--ink); }
.hx-mg-col--after h3 { color: var(--brand); }
.hx-mg-col--after li::before { background: var(--brand); }
.hx-mg-arrow { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.hx-mg-arrow .i { width: 16px; height: 16px; }
.hx-mg-rows { margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hx-mg-rows div { border-top: 2px solid var(--brand-soft); padding-top: 8px; }
.hx-mg-rows dt { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.hx-mg-rows dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); font-size: .92rem; }
.hx-mg-rows dd small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; line-height: 1.4; }
@media (max-width: 560px) { .hx-mg-board { grid-template-columns: minmax(0, 1fr); } .hx-mg-arrow { transform: rotate(90deg); justify-self: center; } .hx-mg-rows { grid-template-columns: 1fr; } }

/* steps: ticket (one pre-flight card) */
.hx-tk { max-width: 1000px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.hx-tk-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; padding: 16px 24px; background: var(--brand); color: #fff; }
.hx-tk-head b { font-family: var(--display); letter-spacing: .02em; }
.hx-tk-head span { font-size: .82rem; opacity: .85; }
.hx-tk-list { list-style: none; margin: 0; padding: 0; }
.hx-tk .ht-step { display: grid; grid-template-columns: 64px minmax(0, 1fr) 150px; gap: 18px; padding: 24px; border: 0; border-radius: 0; border-top: 2px dashed var(--line); background: none; }
.hx-tk .ht-step:first-child { border-top: 0; }
.hx-tk .ht-step::after { display: none; }
.hx-tk .ht-step-n { position: static; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft) !important; color: var(--brand); box-shadow: none !important; font-size: 1.15rem; }
.hx-tk .ht-step.is-done .ht-step-n { background: #12a150 !important; color: #fff; }
.hx-tk .ht-step h3 { padding-top: 0; }
.hx-tk-body > p { margin: 0 0 12px; color: var(--body); line-height: 1.65; }
.hx-tk-body ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; line-height: 1.65; }
.hx-tk .ht-checks { grid-template-columns: 1fr 1fr; }
.hx-tk .ht-check { border-radius: 10px; border-style: dashed; }
.hx-tk-act { display: flex; align-items: flex-start; justify-content: flex-end; }
.hx-tk .ht-done { margin: 0; }
.hx-tk .ht-step.is-done { background: #f7fdf9; }
@media (max-width: 760px) { .hx-tk .ht-step { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px 16px; } .hx-tk-act { justify-content: flex-start; } .hx-tk .ht-checks { grid-template-columns: 1fr; } }

/* steps: screens (window cards) */
.hx-sc { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hx-sc .ht-step { padding: 0; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow); }
.hx-sc .ht-step::after { display: none; }
.hx-sc-bar { display: flex; align-items: center; gap: 5px; padding: 9px 14px; background: var(--t-deep); color: var(--t-on-deep); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hx-sc-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.hx-sc-bar span { margin-left: 8px; }
.hx-sc-in { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.hx-sc .ht-step-n { position: static; width: 38px; height: 38px; border-radius: 10px; font-size: 1rem; margin-bottom: 10px; }
.hx-sc .ht-step h3 { padding-top: 0; font-size: 1.06rem; }
.hx-sc-in > p { margin: 0 0 10px; color: var(--body); line-height: 1.6; font-size: .95rem; }
.hx-sc-in ul { margin: 0 0 12px; padding-left: 18px; list-style: disc; line-height: 1.6; font-size: .95rem; }
.hx-sc .ht-checks { grid-template-columns: 1fr; margin-top: auto; }
.hx-sc .ht-done { align-self: flex-start; }
.hx-sc .ht-step.is-done .hx-sc-bar { background: #12a150; color: #fff; }
@media (max-width: 1000px) { .hx-sc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .hx-sc { grid-template-columns: minmax(0, 1fr); } }

/* steps: split rows */
.hx-sp { list-style: none; margin: 0 auto; padding: 0; max-width: 1120px; }
.hx-sp .ht-step { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; padding: 34px 0; border: 0; border-radius: 0; border-top: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line)); background: none; }
.hx-sp .ht-step::after { display: none; }
.hx-sp .ht-step-n { position: static; width: auto; height: auto; background: none !important; box-shadow: none !important; color: var(--brand); font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; display: block; margin-bottom: 8px; }
.hx-sp .ht-step.is-done .ht-step-n { color: #12a150; }
.hx-sp .ht-step h3 { padding-top: 0; font-size: 1.3rem; margin-bottom: 14px; }
.hx-sp-main > p { margin: 0 0 12px; color: var(--body); line-height: 1.7; }
.hx-sp-main ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; line-height: 1.7; }
.hx-sp .ht-check--miss { margin-top: 6px; }
@media (max-width: 860px) { .hx-sp .ht-step { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 26px 0; } }

/* steps: phases (kanban columns) */
.hx-ph { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.hx-ph-col { background: color-mix(in srgb, var(--brand) 6%, #fff); border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line)); border-radius: 22px; padding: 14px; }
.hx-ph-head { padding: 8px 8px 14px; }
.hx-ph-n { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.hx-ph-head h3 { margin: 4px 0 4px; font-size: 1.15rem; }
.hx-ph-head p { margin: 0 0 10px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.hx-ph-count { display: inline-block; font-size: .74rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--muted); border: 1px solid var(--line); }
.hx-ph-col.is-complete .hx-ph-count { background: #ecfbf2; color: #12a150; border-color: #c4efd5; }
.hx-ph-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hx-ph .ht-step { padding: 18px; border-radius: 16px; }
.hx-ph .ht-step::after { display: none; }
.hx-ph .ht-step-n { position: static; width: 32px; height: 32px; border-radius: 50%; font-size: .9rem; margin-bottom: 8px; }
.hx-ph .ht-step h3 { padding-top: 0; font-size: 1.02rem; }
.hx-ph .ht-step > p { font-size: .93rem; line-height: 1.6; }
.hx-ph .ht-step ul { font-size: .93rem; }
.hx-ph .ht-checks { grid-template-columns: 1fr; }
.hx-ph .ht-check { font-size: .86rem; }
@media (max-width: 1020px) { .hx-ph { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .hx-ph .ht-step { padding: 16px 14px; } }
.hx-bat-note .i, .hx-lq-note .i, .hx-cd-note .i, .hx-hero--battery .hx-hero-foot .i, .hx-hero--linkqr .hx-hero-foot .i,
.hx-hero--countdown .hx-hero-foot .i, .hx-hero--numbers .hx-hero-foot .i, .hx-hero--migrate .hx-hero-foot .i { display: inline-block; }
.hx-sp code, .hx-ph code, .hx-sc code, .hx-tk code { white-space: normal; overflow-wrap: anywhere; }

/* ==========================================================================
   Day 3 how-to variants: themes coral / jade / cobalt / plum; heroes relink,
   bizprofile, orgchart, matrix; steps ladder, lanes, roadmap, deck.
   ========================================================================== */
.hx-theme--coral { --brand: #c2410c; --brand-600: #9a3412; --brand-2: #fb923c; --brand-soft: #ffeddf; --t-deep: #1f0b04; --t-deep-2: #7c2d12; --t-tint: #fff8f3; --t-on-deep: #fdba74; --t-deep-text: #ead2c3; --t-glow: rgba(251,146,60,.3); }
.hx-theme--jade { --brand: #047857; --brand-600: #065f46; --brand-2: #10b981; --brand-soft: #dcf5ec; --t-deep: #03190f; --t-deep-2: #064e3b; --t-tint: #f1faf6; --t-on-deep: #6ee7b7; --t-deep-text: #bcdccf; --t-glow: rgba(16,185,129,.28); }
.hx-theme--cobalt { --brand: #1d4ed8; --brand-600: #1e40af; --brand-2: #60a5fa; --brand-soft: #e4ecff; --t-deep: #061233; --t-deep-2: #1e3a8a; --t-tint: #f4f7ff; --t-on-deep: #93c5fd; --t-deep-text: #c3d1ee; --t-glow: rgba(96,165,250,.3); }
.hx-theme--plum { --brand: #a21caf; --brand-600: #86198f; --brand-2: #e879f9; --brand-soft: #fbe8fd; --t-deep: #1d0620; --t-deep-2: #701a75; --t-tint: #fdf6fe; --t-on-deep: #f0abfc; --t-deep-text: #e3c8e6; --t-glow: rgba(232,121,249,.28); }
.hx-hero--relink .hx-hero-foot .i, .hx-hero--bizprofile .hx-hero-foot .i, .hx-hero--orgchart .hx-hero-foot .i, .hx-hero--matrix .hx-hero-foot .i { display: inline-block; }

/* relink: Host status board + diagnostic trail */
.hx-rl-board { background: #fff; color: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.42); }
.hx-rl-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--t-tint); border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 800; }
.hx-rl-top span { display: flex; align-items: center; gap: 8px; }
.hx-rl-top .i { width: 16px; height: 16px; color: var(--brand); }
.hx-rl-top i { font-style: normal; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.hx-rl-host { list-style: none; margin: 0; padding: 10px 12px; display: grid; gap: 6px; }
.hx-rl-host li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 0 10px; align-items: center; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); }
.hx-rl-dot { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; }
.hx-rl-host b { font-size: .86rem; line-height: 1.2; }
.hx-rl-host small { grid-column: 2; font-size: .74rem; color: var(--muted); }
.hx-rl-host em { grid-row: 1 / span 2; grid-column: 3; font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: #ecfbf2; color: #0f7a3d; }
.hx-rl-host li.is-down { border-color: #fbc4b4; background: #fff6f2; }
.hx-rl-host li.is-down .hx-rl-dot { background: #ef4444; box-shadow: 0 0 0 4px #fee2e2; animation: hxBlink 1.2s steps(2) infinite; }
.hx-rl-host li.is-down em { background: #fee2e2; color: #b91c1c; }
.hx-rl-trail { padding: 12px 16px 16px; border-top: 1px dashed var(--line); }
.hx-rl-tt { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.hx-rl-trail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; position: relative; }
.hx-rl-trail ol::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; border-left: 2px dotted #cbd5e1; }
.hx-rl-trail li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: center; }
.hx-rl-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e2e8f0; color: var(--muted); }
.hx-rl-ic .i { width: 14px; height: 14px; stroke-width: 3; }
.hx-rl-trail li.is-ok .hx-rl-ic { background: #12a150; color: #fff; }
.hx-rl-trail li.is-fail .hx-rl-ic { background: #ef4444; color: #fff; }
.hx-rl-trail li.is-next .hx-rl-ic { background: var(--brand); color: #fff; }
.hx-rl-trail b { display: block; font-size: .84rem; line-height: 1.25; }
.hx-rl-trail small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.35; }
.hx-rl-rows { margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hx-rl-rows div { padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.hx-rl-rows dt { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--t-on-deep); }
.hx-rl-rows dd { margin: 2px 0 0; color: #fff; font-weight: 700; font-size: .9rem; line-height: 1.3; }
.hx-rl-rows dd small { display: block; font-weight: 400; color: var(--t-deep-text); font-size: .78rem; line-height: 1.4; margin-top: 2px; }
.hx-rl-note { margin: 12px 0 0; font-size: .78rem; }
.hx-rl-note .i { width: 14px; height: 14px; vertical-align: -2px; color: var(--t-on-deep); display: inline-block; }
@media (max-width: 520px) { .hx-rl-rows { grid-template-columns: minmax(0, 1fr); } }

/* bizprofile: business profile card + what stays in the app / what goes through VoidFix */
.hx-bp-stage { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.hx-bp-phone { position: relative; background: #fff; border: 8px solid #0b0f17; border-radius: 32px; padding: 0 14px 16px; box-shadow: 0 30px 60px rgba(11,27,51,.2); color: var(--ink); text-align: center; overflow: hidden; }
.hx-bp-cover { height: 58px; margin: 0 -14px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.hx-bp-av { display: grid; place-items: center; width: 54px; height: 54px; margin: -28px auto 6px; border-radius: 50%; background: #fff; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.15); color: var(--brand); font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.hx-bp-name { display: block; font-family: var(--display); font-size: .98rem; }
.hx-bp-cat { display: inline-block; margin-top: 2px; font-size: .68rem; font-weight: 700; color: var(--muted); }
.hx-bp-hours { margin: 8px 0 4px; font-size: .72rem; color: #0f7a3d; font-weight: 700; display: flex; justify-content: center; gap: 4px; align-items: center; }
.hx-bp-hours .i { width: 12px; height: 12px; }
.hx-bp-about { margin: 0 0 10px; font-size: .7rem; line-height: 1.4; color: var(--muted); }
.hx-bp-h { display: block; text-align: left; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 8px 0 6px; }
.hx-bp-cat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.hx-bp-cat-list li { display: grid; gap: 3px; }
.hx-bp-cat-list span { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, var(--brand-soft), color-mix(in srgb, var(--brand-2) 35%, #fff)); }
.hx-bp-cat-list small { font-size: .58rem; line-height: 1.2; color: var(--body); }
.hx-bp-labels { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.hx-bp-labels li { font-size: .6rem; font-weight: 800; padding: 3px 7px; border-radius: 999px; color: #fff; background: hsl(calc(150 + var(--k) * 55) 55% 40%); }
.hx-bp-split { display: grid; gap: 12px; }
.hx-bp-col { border-radius: 18px; padding: 16px 16px 14px; }
.hx-bp-col h3 { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.hx-bp-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; line-height: 1.4; }
.hx-bp-col li { position: relative; padding-left: 18px; }
.hx-bp-col li::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border-radius: 50%; }
.hx-bp-col--app { background: #fff; border: 1px solid var(--line); }
.hx-bp-col--app h3 { color: var(--muted); }
.hx-bp-col--app li::before { background: #c9d2df; }
.hx-bp-col--gw { background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, #fff); color: var(--ink); }
.hx-bp-col--gw h3 { color: var(--brand); }
.hx-bp-col--gw li::before { background: var(--brand); }
.hx-bp-chips { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.hx-bp-chips li { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .86rem; color: var(--ink); font-weight: 700; }
.hx-bp-chips b { display: block; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.hx-bp-chips small { display: block; font-weight: 400; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.hx-bp-note { margin: 12px 0 0; font-size: .78rem; color: var(--muted); }
.hx-bp-note .i { width: 14px; height: 14px; vertical-align: -2px; color: var(--brand); display: inline-block; }
@media (max-width: 640px) { .hx-bp-stage { grid-template-columns: minmax(0, 1fr); } .hx-bp-phone { max-width: 240px; margin: 0 auto; width: 100%; } }

/* orgchart: blueprint tree from the agency login to client sub-accounts */
.hx-oc { margin: 48px auto 0; max-width: 1080px; border-radius: 26px; padding: 22px; border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 24px 24px, color-mix(in srgb, var(--brand) 22%, var(--t-deep)); }
.hx-oc-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; color: #fff; margin-bottom: 18px; }
.hx-oc-head b { display: flex; align-items: center; gap: 8px; font-family: var(--display); }
.hx-oc-head b .i { width: 18px; height: 18px; color: var(--t-on-deep); }
.hx-oc-head span { font-size: .78rem; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.08); }
.hx-oc-tree { display: grid; justify-items: center; gap: 22px; }
.hx-oc-root { position: relative; padding: 12px 22px; border-radius: 14px; background: #fff; color: var(--ink); text-align: center; box-shadow: 0 14px 30px rgba(0,0,0,.3); }
.hx-oc-root b { display: block; font-family: var(--display); }
.hx-oc-root small { font-size: .76rem; color: var(--muted); }
.hx-oc-root::after, .hx-oc-br li::after { content: ""; position: absolute; left: 50%; bottom: -23px; height: 22px; border-left: 2px dashed var(--t-on-deep); }
.hx-oc-br { list-style: none; margin: 0; padding: 18px 0 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; position: relative; border-top: 2px dashed var(--t-on-deep); }
.hx-oc-br li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 10px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.hx-oc-br li::before { content: ""; position: absolute; left: 50%; top: -20px; height: 18px; border-left: 2px dashed var(--t-on-deep); }
.hx-oc-ic { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-2); color: var(--t-deep); }
.hx-oc-ic .i { width: 18px; height: 18px; }
.hx-oc-br b { font-size: .92rem; }
.hx-oc-br small { font-size: .76rem; color: var(--t-deep-text); line-height: 1.35; }
.hx-oc-lv { list-style: none; margin: 0; padding: 18px 0 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; border-top: 2px dashed rgba(255,255,255,.25); }
.hx-oc-lv li { padding: 10px 12px; border-radius: 12px; background: #fff; color: var(--ink); border-top: 4px solid var(--brand-2); }
.hx-oc-lv b { display: block; font-size: .84rem; line-height: 1.25; }
.hx-oc-lv small { font-size: .72rem; color: var(--muted); line-height: 1.35; }
.hx-oc-stats { margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.hx-oc-stats div { padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,.22); }
.hx-oc-stats dt { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--t-on-deep); }
.hx-oc-stats dd { margin: 2px 0 0; color: #fff; font-weight: 700; font-size: .92rem; }
.hx-oc-stats dd small { display: block; font-weight: 400; color: var(--t-deep-text); font-size: .78rem; line-height: 1.4; }
@media (max-width: 760px) { .hx-oc { padding: 16px; } .hx-oc-br { grid-template-columns: minmax(0, 1fr); } .hx-oc-br li::after { display: none; } .hx-oc-br li::before { display: none; } }

/* matrix: clients x channels */
.hx-mx { background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); border-radius: 26px; padding: 20px; min-width: 0; }
.hx-mx-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; color: #fff; }
.hx-mx-head b { display: flex; align-items: center; gap: 8px; font-family: var(--display); }
.hx-mx-head b .i { width: 18px; height: 18px; color: var(--t-on-deep); }
.hx-mx-head span { font-size: .78rem; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.08); }
.hx-mx-wrap { background: #fff; border-radius: 16px; overflow: hidden; }
.hx-mx-t { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .8rem; color: var(--ink); }
.hx-mx-t th, .hx-mx-t td { padding: 9px 8px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; }
.hx-mx-t thead th:first-child, .hx-mx-t tbody th { width: 28%; }
.hx-mx-t thead th { background: var(--t-tint); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.hx-mx-t tbody th { font-weight: 800; font-size: .8rem; }
.hx-mx-t tr:last-child th, .hx-mx-t tr:last-child td { border-bottom: 0; }
.hx-mx-num { display: inline-block; white-space: nowrap; padding: 3px 6px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-600); font-weight: 700; font-size: .74rem; font-variant-numeric: tabular-nums; }
.hx-mx-none { color: #9aa6b8; font-size: .72rem; font-style: italic; }
@media (max-width: 960px) { .hx-hero-grid--flip .hx-mx { order: 2; } }
@media (max-width: 520px) { .hx-mx { padding: 12px; } .hx-mx-t th, .hx-mx-t td { padding: 7px 5px; } .hx-mx-num { padding: 2px 4px; font-size: .66rem; white-space: normal; } }

/* steps: ladder (diagnostic chain) */
.hx-ld { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; }
.hx-ld .ht-step { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 0 20px; padding: 0; border: 0; background: none; border-radius: 0; }
.hx-ld .ht-step::after { display: none; }
.hx-ld-rail { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 6px; }
.hx-ld-k { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.hx-ld .ht-step-n { position: static; width: 64px; height: 64px; border-radius: 50%; font-size: 1.3rem; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--brand) !important; }
.hx-ld-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow); }
.hx-ld-card h3 { margin: 0 0 8px; font-size: 1.16rem; }
.hx-ld-card > p { margin: 0 0 12px; color: var(--body); line-height: 1.65; }
.hx-ld-card ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; line-height: 1.65; }
.hx-ld .ht-step.is-done .hx-ld-card { border-left-color: #12a150; }
.hx-ld .ht-step.is-done .ht-step-n { box-shadow: 0 0 0 2px #12a150 !important; }
.hx-ld-link { grid-column: 2; display: flex; align-items: center; gap: 10px; padding: 12px 0 12px 22px; margin-left: 0; font-size: .8rem; font-weight: 700; color: var(--muted); position: relative; }
.hx-ld-link::before { content: ""; position: absolute; left: -63px; top: 0; bottom: 0; border-left: 3px dotted color-mix(in srgb, var(--brand) 45%, #fff); }
.hx-ld-link span::before { content: "\2193"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.hx-ld code { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 680px) {
  .hx-ld .ht-step { grid-template-columns: minmax(0, 1fr); }
  .hx-ld-rail { flex-direction: row; justify-content: flex-start; padding: 0 0 10px; }
  .hx-ld .ht-step-n { width: 44px; height: 44px; font-size: 1rem; }
  .hx-ld-link { grid-column: 1; padding-left: 0; } .hx-ld-link::before { display: none; }
  .hx-ld-card { padding: 18px 16px; } .hx-ld .ht-checks { grid-template-columns: 1fr; }
}

/* steps: lanes (two swimlanes) */
.hx-ln { max-width: 1120px; margin: 0 auto; position: relative; }
.hx-ln::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px dashed color-mix(in srgb, var(--brand) 30%, var(--line)); }
.hx-ln-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 14px; position: relative; }
.hx-ln-head span { text-align: center; padding: 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--t-deep); color: var(--t-on-deep); }
.hx-ln-head span + span { background: var(--brand); color: #fff; }
.hx-ln-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; position: relative; }
.hx-ln-list > .ht-step { width: calc(50% - 24px); }
.hx-ln-list > .hx-ln-1 { margin-left: auto; }
.hx-ln-list > .hx-ln-2 { width: 100%; }
.hx-ln-list > .hx-ln-0 + .hx-ln-0, .hx-ln-list > .hx-ln-1 + .hx-ln-1 { margin-top: -4px; }
.hx-ln .ht-step { padding: 20px 22px; border-radius: 18px; box-shadow: var(--shadow); }
.hx-ln .ht-step::after { display: none; }
.hx-ln .hx-ln-1 { border-top: 4px solid var(--brand); }
.hx-ln .hx-ln-0 { border-top: 4px solid var(--t-deep); }
.hx-ln .hx-ln-2 { border-top: 4px solid var(--brand-2); background: linear-gradient(90deg, #fff, var(--t-tint)); }
.hx-ln-tag { display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); margin-bottom: 8px; }
.hx-ln .ht-step-n { position: static; float: left; width: 36px; height: 36px; border-radius: 10px; font-size: .95rem; margin: 0 12px 4px 0; }
.hx-ln .ht-step h3 { padding-top: 4px; font-size: 1.08rem; }
.hx-ln .ht-step > p { clear: left; }
.hx-ln .ht-step > p, .hx-ln .ht-step ul { font-size: .95rem; }
.hx-ln .ht-step:not(.hx-ln-2) .ht-checks { grid-template-columns: 1fr; }
.hx-ln code { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .hx-ln::before, .hx-ln-head { display: none; }
  .hx-ln-list > .ht-step { width: 100%; margin-left: 0; }
  .hx-ln .ht-step { padding: 18px 16px; } .hx-ln .ht-checks { grid-template-columns: 1fr; }
}

/* steps: roadmap (milestone track + cards) */
.hx-rm-track { max-width: 1120px; margin: 0 auto 30px; }
.hx-rm-track ol { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: relative; }
.hx-rm-track ol::before { content: ""; position: absolute; left: 6%; right: 6%; top: 21px; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--brand) 20%, #fff); }
.hx-rm-track a { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 6px; text-decoration: none; color: var(--body); }
.hx-rm-dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--brand); color: var(--brand); font-weight: 800; font-family: var(--display); }
.hx-rm-track b { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-top: 4px; }
.hx-rm-track small { font-size: .78rem; line-height: 1.3; color: var(--muted); }
.hx-rm-track a:hover .hx-rm-dot { background: var(--brand-soft); }
.hx-rm-track a.is-done .hx-rm-dot { background: #12a150; border-color: #12a150; color: #fff; }
.hx-rm { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; gap: 16px; }
.hx-rm .ht-step { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 24px; border-radius: 20px; }
.hx-rm .ht-step::after { display: none; }
.hx-rm-side { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; border-right: 2px solid var(--brand-soft); padding-right: 16px; }
.hx-rm-mk { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); padding: 4px 10px; border-radius: 8px; background: var(--brand-soft); }
.hx-rm .ht-step-n { position: static; width: 48px; height: 48px; border-radius: 14px; }
.hx-rm .ht-step h3 { padding-top: 0; }
.hx-rm-body > p { margin: 0 0 12px; color: var(--body); line-height: 1.65; }
.hx-rm-body ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; line-height: 1.65; }
.hx-rm code { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .hx-rm-track ol { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px; }
  .hx-rm-track ol::before { display: none; }
  .hx-rm .ht-step { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px 16px; }
  .hx-rm-side { flex-direction: row; align-items: center; border-right: 0; padding-right: 0; }
  .hx-rm .ht-checks { grid-template-columns: 1fr; }
}

/* steps: deck (stacked sticky cards) */
.hx-dk { list-style: none; margin: 0 auto; padding: 0; max-width: 940px; display: grid; gap: 26px; }
.hx-dk .ht-step { position: sticky; top: calc(92px + var(--i) * 12px); padding: 28px 30px 24px; border-radius: 24px; overflow: hidden; box-shadow: 0 -8px 30px rgba(11,27,51,.08), var(--shadow); border-top: 5px solid var(--brand); }
.hx-dk .ht-step::after { display: none; }
.hx-dk-wm { position: absolute; right: 18px; top: -8px; font-family: var(--display); font-weight: 800; font-size: 7rem; line-height: 1; letter-spacing: -.05em; color: color-mix(in srgb, var(--brand) 9%, #fff); pointer-events: none; }
.hx-dk-top { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.hx-dk .ht-step-n { position: static; width: 40px; height: 40px; border-radius: 50%; font-size: 1rem; }
.hx-dk-k { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.hx-dk .ht-step h3 { position: relative; padding-top: 0; font-size: 1.24rem; }
.hx-dk .ht-step > p, .hx-dk .ht-step > ul { position: relative; }
.hx-dk code { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 760px) { .hx-dk .ht-step { position: relative; top: auto; padding: 22px 16px 18px; } .hx-dk-wm { font-size: 4.6rem; } .hx-dk .ht-checks { grid-template-columns: 1fr; } }
