/* =====================================================================
   HOME v2 — "Hunt mark" design system. Scoped under .hx.

   Built from the logo, not from a template:
     • the thin ring and the two slanted stems of the Hunt "H" (25°)
     • brand blue #0057a8, navy #004080, teal #4da1a9 as flat colour
     • editorial structure: numbered sections, hairline rules,
       start-aligned headings, real product imagery only
   Deliberately absent: gradient text, glass, floating cards, dot grids,
   pill badges, rounded-card soup.
   Dark mode: html[data-theme="dark"] swaps the tokens (bottom of file).
   ===================================================================== */

.hx {
    --hx-ink: #071d36;
    --hx-ink-2: #3a5068;
    --hx-ink-3: #66798e;
    --hx-bg: #ffffff;
    --hx-tone-bg: #f4f2ed;
    --hx-cell: #ffffff;
    --hx-rule: rgba(7, 29, 54, .12);
    --hx-rule-strong: #071d36;
    --hx-blue: #0057a8;
    --hx-link: #0057a8;
    --hx-teal: #4da1a9;
    --hx-teal-ink: #2d7c84;
    --hx-deep: #062a52;
    --hx-stem-a: #0057a8;
    --hx-stem-b: #4da1a9;
    --hx-best-cell: rgba(0, 87, 168, .06);
    --hx-good: #157a3e;
    --hx-bad: #b42318;
    --hx-ease: cubic-bezier(.2, .7, .2, 1);
    color: var(--hx-ink-2);
    background: var(--hx-bg);
    overflow-x: clip;
}
.hx *, .hx *::before, .hx *::after { box-sizing: border-box; }
.hx ul, .hx ol { list-style: none; margin: 0; padding: 0; }
.hx h1, .hx h2, .hx h3, .hx p, .hx figure, .hx blockquote { margin: 0; }
.hx a { text-decoration: none; }
.hx button { font-family: inherit; }
.hx .hx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hx :focus-visible { outline: 3px solid var(--hx-teal); outline-offset: 3px; }

/* ---------- The slant: a parallelogram at the logo's 25° ---------- */
.hx-slash {
    display: inline-block; width: 7px; height: 18px; flex-shrink: 0;
    background: var(--hx-teal); transform: skewX(-25deg);
    margin-inline-end: 12px; vertical-align: -3px;
}

/* ---------- Type ---------- */
.hx-h2 {
    font-size: clamp(28px, 3.3vw, 46px); line-height: 1.3; font-weight: 800;
    color: var(--hx-ink); letter-spacing: -.3px; max-width: 820px; text-wrap: balance;
}
[dir="ltr"] .hx-h2 { letter-spacing: -1px; line-height: 1.15; }
.hx-eyebrow { font-size: 15px; font-weight: 700; color: var(--hx-teal-ink); margin-bottom: 10px; }
.hx-num {
    display: flex; align-items: center; align-self: start; padding-top: 4px;
    font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; color: var(--hx-ink);
}

/* ---------- Links & buttons ---------- */
.hx-textlink {
    display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px;
    font-weight: 700; font-size: 15.5px; color: var(--hx-link);
    border-bottom: 1.5px solid currentColor; transition: color .2s, border-color .2s;
}
.hx-textlink i { font-size: 12px; transition: transform .25s var(--hx-ease); }
[dir="rtl"] .hx-textlink:hover i, [dir="rtl"] .hx-btn:hover i.fa-arrow-left { transform: translateX(-4px); }
[dir="ltr"] .hx-textlink:hover i, [dir="ltr"] .hx-btn:hover i.fa-arrow-right { transform: translateX(4px); }
.hx-textlink-onDark { color: #fff; border-bottom-color: rgba(255, 255, 255, .4); }
.hx-textlink-onDark:hover { color: #fff; border-bottom-color: #fff; }

.hx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 26px; border-radius: 4px; cursor: pointer;
    font-size: 16px; font-weight: 700; line-height: 1; border: 1.5px solid transparent;
    transition: background .2s, color .2s, border-color .2s;
}
.hx-btn i { font-size: 13px; transition: transform .25s var(--hx-ease); }
.hx-btn-onDark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.hx-btn-onDark:hover { background: #fff; color: var(--hx-deep); border-color: #fff; }
.hx-btn-light { background: #fff; color: var(--hx-deep); }
.hx-btn-light:hover { background: #e6f3f4; color: var(--hx-deep); }

/* =====================================================================
   HERO
   ===================================================================== */
.hx-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--hx-deep); color: #fff; padding-top: 40px; }
.hx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; }
.hx-hero-copy { padding-bottom: 36px; position: relative; z-index: 2; }

.hx-kicker { display: flex; align-items: center; font-size: 14px; font-weight: 700; letter-spacing: .3px; color: #8fd5da; margin-bottom: 18px; }
.hx-h1 { font-size: clamp(34px, 3.7vw, 54px); line-height: 1.24; font-weight: 900; color: #fff; letter-spacing: -.5px; }
[dir="ltr"] .hx-h1 { line-height: 1.08; letter-spacing: -1.4px; font-size: clamp(32px, 3.5vw, 50px); }
.hx-h1 > span { display: block; }
.hx-h1 em { font-style: normal; color: #7fd0d6; }
.hx-latin { font-family: 'Poppins', 'Cairo', sans-serif; font-weight: 800; letter-spacing: -1.5px; }
.hx-hero-lead { margin-top: 16px; max-width: 600px; font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, .78); }

/* App panel — the first offer on the page */
.hx-app {
    margin-top: 24px; max-width: 660px; display: flex; align-items: stretch;
    background: #fff; color: var(--hx-ink); border-radius: 4px; overflow: hidden;
}
.hx-app-main { flex: 1; min-width: 0; padding: 14px 18px 16px; border-top: 4px solid var(--hx-teal); }
.hx-app-head { display: flex; align-items: center; gap: 12px; }
.hx-app-icon { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(7, 29, 54, .1); }
.hx-app-title { font-size: 17px; font-weight: 800; color: #071d36; line-height: 1.4; }
.hx-app-sub { font-size: 13.5px; color: #5b6f84; line-height: 1.55; }
.hx-app-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hx-app-badges .sbadge { padding: 6px 14px; border-radius: 8px; }
.hx-app-qr {
    flex: 0 0 128px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    padding: 12px; background: #eef3f7; border-inline-start: 1px dashed rgba(7, 29, 54, .2); border-top: 4px solid #d5e3ea;
}
.hx-qr { display: block; width: 88px; height: 88px; padding: 6px; background: #fff; color: #071d36; }
.hx-qr svg { display: block; width: 100%; height: 100%; }
.hx-app-qr small { font-size: 11.5px; font-weight: 700; color: #5b6f84; text-align: center; line-height: 1.4; }

.hx-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 20px; }
.hx-hero-actions .hx-btn { min-height: 48px; }

/* The mark: ring + slanted stems + the real phone */
.hx-hero-stage { position: relative; min-height: 500px; }
.hx-ring {
    position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
    width: min(460px, 96%); aspect-ratio: 1; border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .22);
    animation: hx-ring 1.2s ease both;
}
@keyframes hx-ring { from { opacity: 0; transform: translate(-50%, -50%) scale(.92); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.hx-stem { position: absolute; bottom: 0; width: 72px; height: 112%; transform: skewX(-25deg); transform-origin: bottom; animation: hx-rise 1s var(--hx-ease) both; }
.hx-stem-b { animation-delay: .12s; }
@keyframes hx-rise { from { transform: skewX(-25deg) scaleY(0); } to { transform: skewX(-25deg) scaleY(1); } }
.hx-stem-a { left: 16%; background: var(--hx-stem-a); }
.hx-stem-b { left: 60%; background: var(--hx-stem-b); }
.hx-device {
    position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 1;
    height: min(490px, 100%); aspect-ratio: 500 / 1126;
    filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .45));
    animation: hx-up .8s .15s var(--hx-ease) both;
}
.hx-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
/* Screen box measured on the frame: x 22–479, y 18–1102 of 500×1126, corner r 56 */
.hx-screens { position: absolute; left: 4.4%; top: 1.6%; width: 91.6%; height: 96.36%; z-index: 1; overflow: hidden; border-radius: 12.2% / 5.16%; background: #fff; }
.hx-screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.hx-screen.is-on { opacity: 1; }
@keyframes hx-up { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
.hx-stage-note {
    position: absolute; bottom: 16px; left: 0; z-index: 3; margin: 0; max-width: 27%;
    padding-inline-start: 12px; border-inline-start: 2px solid var(--hx-teal);
    font-size: 12px; font-weight: 600; line-height: 1.5; color: rgba(255, 255, 255, .62);
}
.hx-stage-note span, .hx-stage-note b { display: block; }
.hx-stage-note b { font-size: 13.5px; color: #fff; }

.hx-figures { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, .16); background: var(--hx-deep); }
.hx-figures ul { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.hx-figures li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; padding-inline-end: 16px; }
.hx-figures li + li { border-inline-start: 1px solid rgba(255, 255, 255, .16); padding-inline-start: 22px; }
.hx-figures b { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 800; color: #fff; line-height: 1; direction: ltr; unicode-bidi: isolate; }
.hx-figures span { font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .66); }

/* =====================================================================
   CLIENTS — moving strip, title on the start side
   ===================================================================== */
.hx-clients { border-bottom: 1px solid var(--hx-rule); background: var(--hx-bg); }
.hx-clients-row { display: flex; align-items: center; gap: 32px; padding-top: 20px; padding-bottom: 20px; }
.hx-clients-title { flex: 0 0 210px; display: flex; align-items: center; font-size: 14.5px; font-weight: 700; line-height: 1.6; color: var(--hx-ink); }
.hx-marquee {
    flex: 1; min-width: 0; overflow: hidden; direction: ltr;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hx-marquee-track { display: flex; align-items: center; gap: 52px; width: max-content; animation: hx-marquee 48s linear infinite; }
.hx-marquee:hover .hx-marquee-track { animation-play-state: paused; }
.hx-logo { flex-shrink: 0; height: 60px; display: flex; align-items: center; }
.hx-logo img { max-height: 54px; max-width: 128px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.hx-logo:hover img { filter: none; opacity: 1; }
@keyframes hx-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 26px)); } }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.hx-section { padding: 104px 0; }
.hx-tone { background: var(--hx-tone-bg); }
.hx-head {
    display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px;
    padding-top: 22px; margin-bottom: 56px; border-top: 2px solid var(--hx-rule-strong);
}
.hx-head-stack { grid-template-columns: 1fr; gap: 16px; margin-bottom: 0; }

/* ---------- 02 Solutions index ---------- */
.hx-index { border-top: 1px solid var(--hx-rule); }
.hx-row {
    position: relative; display: grid; gap: 28px; align-items: baseline;
    grid-template-columns: 56px minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2.6fr);
    padding: 32px 0; border-bottom: 1px solid var(--hx-rule);
}
.hx-row::before {
    content: ""; position: absolute; inset-inline-start: -26px; top: 36px; width: 7px; height: 22px;
    background: var(--hx-teal); transform: skewX(-25deg) scaleY(0); transform-origin: bottom; transition: transform .3s var(--hx-ease);
}
.hx-row:hover::before { transform: skewX(-25deg) scaleY(1); }
.hx-row-num { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; color: var(--hx-ink-3); }
.hx-row-title h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.3; color: var(--hx-ink); transition: color .2s; }
.hx-row:hover .hx-row-title h3 { color: var(--hx-blue); }
.hx-tag { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--hx-ink-3); }
.hx-tag.is-new { color: #fff; background: var(--hx-teal); padding: 2px 10px; border-radius: 2px; }
.hx-row-desc { font-size: 16.5px; line-height: 1.85; }
.hx-row-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* ---------- 03 Inside the system ---------- */
.hx-show { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 44px; align-items: start; }
.hx-show-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--hx-rule); }
.hx-show-tab, .hx-mods-tab {
    appearance: none; position: relative; width: 100%; cursor: pointer; text-align: start;
    background: none; border: 0; border-bottom: 1px solid var(--hx-rule); color: var(--hx-ink-3);
}
.hx-show-tab { display: flex; gap: 16px; padding: 20px 0; }
.hx-show-n { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; min-width: 26px; padding-top: 3px; }
.hx-show-t b { display: block; font-size: 19px; font-weight: 800; color: var(--hx-ink-2); line-height: 1.4; }
.hx-show-t small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.7; color: var(--hx-ink-3); }
.hx-show-tab[aria-selected="true"] b { color: var(--hx-ink); }
.hx-show-tab[aria-selected="true"] .hx-show-n { color: var(--hx-teal-ink); }
.hx-show-tab::before, .hx-mods-tab::before {
    content: ""; position: absolute; inset-inline-start: -20px; top: 22px; width: 6px; height: 20px;
    background: var(--hx-teal); transform: skewX(-25deg) scaleY(0); transform-origin: bottom; transition: transform .3s var(--hx-ease);
}
.hx-show-tab[aria-selected="true"]::before, .hx-mods-tab[aria-selected="true"]::before { transform: skewX(-25deg) scaleY(1); }
.hx-show-tab:hover b, .hx-mods-tab:hover { color: var(--hx-ink); }
.hx-plate { background: var(--hx-cell); border: 1px solid var(--hx-rule); padding: 12px; animation: hx-in .4s var(--hx-ease); }
.hx-plate[hidden] { display: none; }
.hx-plate img { display: block; width: 100%; height: auto; border: 1px solid rgba(7, 29, 54, .08); }
.hx-plate figcaption { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--hx-ink-3); }
.hx-plate figcaption::before { content: ""; width: 5px; height: 13px; background: var(--hx-teal); transform: skewX(-25deg); }
@keyframes hx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 04 Industries ---------- */
.hx-ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hx-rule); border-inline-start: 1px solid var(--hx-rule); }
.hx-ind-grid li { border-bottom: 1px solid var(--hx-rule); border-inline-end: 1px solid var(--hx-rule); }
.hx-ind {
    position: relative; height: 100%; min-height: 228px; display: flex; flex-direction: column; gap: 8px;
    padding: 28px 24px; color: var(--hx-ink); transition: background .25s, color .25s;
}
.hx-ind-icon { font-size: 26px; color: var(--hx-blue); margin-bottom: auto; transition: color .25s; }
.hx-ind b { font-size: 19px; font-weight: 800; line-height: 1.4; padding-top: 28px; }
.hx-ind small { font-size: 14px; line-height: 1.7; color: var(--hx-ink-3); transition: color .25s; }
.hx-ind-go { position: absolute; top: 30px; inset-inline-end: 24px; font-size: 14px; color: var(--hx-ink-3); transition: transform .25s var(--hx-ease), color .25s; }
.hx-ind:hover { background: var(--hx-deep); color: #fff; }
.hx-ind:hover small { color: rgba(255, 255, 255, .7); }
.hx-ind:hover .hx-ind-icon { color: #8fd5da; }
.hx-ind:hover .hx-ind-go { color: #fff; }
[dir="rtl"] .hx-ind:hover .hx-ind-go { transform: translateX(-5px); }
[dir="ltr"] .hx-ind:hover .hx-ind-go { transform: translateX(5px); }

/* ---------- 05 Steps ---------- */
.hx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hx-steps li { padding: 0 28px 6px; border-inline-start: 1px solid var(--hx-rule); }
.hx-steps li:first-child { padding-inline-start: 0; border-inline-start: 0; }
.hx-step-n {
    display: block; margin-bottom: 24px; font-family: 'Poppins', sans-serif; font-size: 88px; font-weight: 800;
    line-height: 1; letter-spacing: -3px; color: transparent; -webkit-text-stroke: 1.5px var(--hx-teal);
}
.hx-steps h3 { font-size: 21px; font-weight: 800; color: var(--hx-ink); margin-bottom: 10px; line-height: 1.4; }
.hx-steps p { font-size: 15.5px; line-height: 1.9; }

/* ---------- 06 Modules ---------- */
.hx-mods { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 44px; align-items: start; }
.hx-mods-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--hx-rule); position: sticky; top: 96px; }
.hx-mods-tab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 0; font-size: 18px; font-weight: 700; }
.hx-mods-tab::before { top: 19px; }
.hx-mods-tab em { font-style: normal; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; color: var(--hx-ink-3); }
.hx-mods-tab[aria-selected="true"] { color: var(--hx-ink); }
.hx-mods-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; border-top: 1px solid var(--hx-rule); animation: hx-in .35s var(--hx-ease); }
.hx-mods-list[hidden] { display: none; }
.hx-mods-list li { border-bottom: 1px solid var(--hx-rule); }
.hx-mod { display: flex; align-items: center; gap: 14px; padding: 16px 0; font-size: 15.5px; font-weight: 700; line-height: 1.5; color: var(--hx-ink); transition: color .2s; }
.hx-mod > i:first-child { width: 22px; flex-shrink: 0; text-align: center; color: var(--hx-blue); }
.hx-mod-go { margin-inline-start: auto; font-size: 12px; color: var(--hx-ink-3); opacity: 0; transition: opacity .2s; }
a.hx-mod:hover { color: var(--hx-blue); }
a.hx-mod:hover .hx-mod-go { opacity: 1; }
.hx-mod.is-flagship { color: var(--hx-blue); }
.hx-mods-all { margin-top: 26px; }

/* ---------- 07 Why ---------- */
.hx-usp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; row-gap: 48px; }
.hx-usp li { padding-top: 22px; border-top: 1px solid var(--hx-rule); }
.hx-usp-icon { display: block; margin-bottom: 18px; font-size: 22px; color: var(--hx-blue); }
.hx-usp h3 { font-size: 20px; font-weight: 800; line-height: 1.45; color: var(--hx-ink); margin-bottom: 10px; }
.hx-usp p { font-size: 15.5px; line-height: 1.9; }

.hx-compare { margin-top: 88px; }
.hx-compare-title { font-size: 24px; font-weight: 800; color: var(--hx-ink); margin-bottom: 20px; }
.hx-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hx-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; }
.hx-table th, .hx-table td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--hx-rule); color: var(--hx-ink-2); }
.hx-table th:first-child, .hx-table td:first-child { text-align: start; font-weight: 700; color: var(--hx-ink); }
.hx-table thead th { font-size: 15px; font-weight: 700; color: var(--hx-ink-3); border-bottom: 2px solid var(--hx-rule-strong); }
.hx-table thead th.best { background: var(--hx-deep); color: #fff; border-bottom-color: var(--hx-deep); }
.hx-table td:nth-child(2) { background: var(--hx-best-cell); color: var(--hx-ink); font-weight: 800; }
.hx-table td.yes { color: var(--hx-good); }
.hx-table td:nth-child(2).yes { color: var(--hx-blue); }
.hx-table td.no { color: var(--hx-bad); }

/* ---------- 08 Voices ---------- */
.hx-voices-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.hx-voices-track::-webkit-scrollbar { display: none; }
.hx-voice { scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); grid-template-rows: auto 1fr; column-gap: 32px; }
.hx-voice-stars { grid-column: 1; display: flex; gap: 4px; font-size: 15px; color: var(--hx-rule); }
.hx-voice-stars .on { color: #f2b01e; }
.hx-voice blockquote { grid-column: 2; grid-row: 1 / span 2; }
.hx-voice-title { font-size: clamp(23px, 2.6vw, 36px); font-weight: 800; line-height: 1.45; color: var(--hx-ink); margin-bottom: 18px; max-width: 860px; }
.hx-voice-title::before { content: "\201C"; display: block; height: 52px; font-family: 'Poppins', serif; font-size: 110px; line-height: 1; color: var(--hx-teal); }
[dir="rtl"] .hx-voice-title::before { content: "\201D"; }
.hx-voice-body { font-size: 18px; line-height: 1.95; max-width: 860px; }
.hx-voice figcaption { grid-column: 1; grid-row: 2; align-self: end; padding-bottom: 6px; }
.hx-voice figcaption b { display: block; font-size: 17px; color: var(--hx-ink); }
.hx-voice figcaption span { display: block; font-size: 14px; line-height: 1.6; color: var(--hx-ink-3); }
.hx-voices-nav { display: flex; align-items: center; gap: 18px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--hx-rule); }
.hx-iconbtn {
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    background: transparent; color: var(--hx-ink); border: 1.5px solid var(--hx-rule-strong); transition: background .2s, color .2s;
}
.hx-iconbtn:hover { background: var(--hx-ink); color: var(--hx-bg); }
.hx-voices-count { font-family: 'Poppins', sans-serif; font-size: 15px; color: var(--hx-ink-3); direction: ltr; }
.hx-voices-count b { color: var(--hx-ink); }

/* ---------- 09 FAQ ---------- */
.hx-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.hx-faq-side { position: sticky; top: 100px; }
.hx-faq-help { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; font-size: 16px; }
.hx-faq-list { border-top: 2px solid var(--hx-rule-strong); }
.hx-qa { border-bottom: 1px solid var(--hx-rule); }
.hx-qa summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px;
    padding: 24px 0; font-size: 18px; font-weight: 700; line-height: 1.6; color: var(--hx-ink);
}
.hx-qa summary::-webkit-details-marker { display: none; }
.hx-qa summary i { position: relative; width: 16px; height: 16px; margin-top: 7px; flex-shrink: 0; color: var(--hx-teal-ink); }
.hx-qa summary i::before, .hx-qa summary i::after { content: ""; position: absolute; background: currentColor; }
.hx-qa summary i::before { left: 0; right: 0; top: 7px; height: 2px; }
.hx-qa summary i::after { top: 0; bottom: 0; left: 7px; width: 2px; transition: transform .25s var(--hx-ease); }
.hx-qa[open] summary i::after { transform: scaleY(0); }
.hx-qa p { padding-bottom: 26px; font-size: 16px; line-height: 1.95; max-width: 780px; }

/* ---------- Closing ---------- */
.hx-close { position: relative; overflow: hidden; isolation: isolate; padding: 72px 0; background: var(--hx-deep); color: #fff; }
.hx-close-mark { position: absolute; top: 0; bottom: 0; inset-inline-end: 8%; width: 200px; z-index: -1; }
.hx-close-mark i { position: absolute; bottom: -8%; width: 48px; height: 120%; transform: skewX(-25deg); transform-origin: bottom; }
.hx-close-mark i:first-child { left: 0; background: var(--hx-stem-a); }
.hx-close-mark i:last-child { left: 108px; background: var(--hx-stem-b); }
.hx-close h2 { font-size: clamp(28px, 3.4vw, 48px); font-weight: 900; line-height: 1.25; color: #fff; max-width: 24ch; text-wrap: balance; }
[dir="ltr"] .hx-close h2 { line-height: 1.05; letter-spacing: -2px; }
.hx-close p { margin-top: 12px; max-width: 600px; font-size: 16.5px; line-height: 1.8; color: rgba(255, 255, 255, .76); }
.hx-close-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 26px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
    .hx-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .hx-hero-copy { padding-bottom: 8px; }
    .hx-hero-stage { min-height: 480px; max-width: 560px; width: 100%; margin: 0 auto; }
    .hx-device { height: min(470px, 100%); }
    .hx-row { grid-template-columns: 44px minmax(0, 1fr); row-gap: 12px; }
    .hx-row-desc, .hx-row-links { grid-column: 2; }
    .hx-row-links { flex-direction: row; flex-wrap: wrap; gap: 20px; }
    .hx-show, .hx-mods, .hx-faq { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .hx-show-tabs, .hx-mods-tabs {
        position: static; flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--hx-rule);
        scrollbar-width: none; margin-inline: -24px; padding-inline: 24px;
    }
    .hx-show-tabs::-webkit-scrollbar, .hx-mods-tabs::-webkit-scrollbar { display: none; }
    .hx-show-tab, .hx-mods-tab { width: auto; flex-shrink: 0; border-bottom: 3px solid transparent; padding: 14px 0; margin-inline-end: 26px; }
    .hx-show-tab::before, .hx-mods-tab::before { display: none; }
    .hx-show-tab[aria-selected="true"], .hx-mods-tab[aria-selected="true"] { border-bottom-color: var(--hx-teal); }
    .hx-show-t small { display: none; }
    .hx-show-t b { font-size: 16px; white-space: nowrap; }
    .hx-mods-tab { font-size: 16px; white-space: nowrap; }
    .hx-ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
    .hx-steps li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
    .hx-usp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-voice { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; row-gap: 18px; }
    .hx-voice-stars, .hx-voice blockquote, .hx-voice figcaption { grid-column: 1; grid-row: auto; }
    .hx-faq-side { position: static; }
    .hx-app-qr { display: none; }
}

@media (max-width: 768px) {
    .hx .container { padding-left: 16px; padding-right: 16px; }
    .hx-hero { padding-top: 40px; }
    .hx-kicker { margin-bottom: 18px; }
    .hx-hero-lead { font-size: 16.5px; }
    .hx-app { margin-top: 26px; }
    .hx-app-main { padding: 16px; }
    .hx-hero-actions { gap: 18px; }
    .hx-hero-actions .hx-btn { flex: 1 1 100%; }
    .hx-hero-stage { min-height: 430px; }
    .hx-device { height: min(410px, 100%); }
    .hx-ring { width: 360px; }
    .hx-stem { width: 52px; }
    .hx-stage-note { display: none; }
    .hx-figures ul { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-figures li:last-child:nth-child(odd) { grid-column: 1 / -1; border-inline-start: 0; padding-inline-start: 0; }
    .hx-figures li { padding: 16px 0; flex-direction: column; gap: 4px; }
    .hx-figures li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
    .hx-figures li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .16); }
    .hx-figures b { font-size: 24px; }
    .hx-figures span { font-size: 13px; }

    .hx-clients-row { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
    .hx-clients-title { flex: none; font-size: 14px; }
    .hx-marquee { margin-inline: -16px; }
    .hx-marquee-track { gap: 36px; }
    .hx-logo { height: 48px; }
    .hx-logo img { max-height: 42px; max-width: 100px; }

    .hx-section { padding: 68px 0; }
    .hx-head { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 36px; }
    .hx-row { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
    .hx-row-num { display: none; }
    .hx-row-desc, .hx-row-links { grid-column: 1; }
    .hx-row::before { display: none; }
    .hx-show-tabs, .hx-mods-tabs { margin-inline: -16px; padding-inline: 16px; }
    .hx-plate { padding: 6px; }
    .hx-ind-grid { grid-template-columns: minmax(0, 1fr); }
    .hx-ind { min-height: 0; padding: 20px 18px; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; }
    .hx-ind-icon { grid-row: 1 / span 2; font-size: 22px; margin: 2px 0 0; }
    .hx-ind b { padding-top: 0; font-size: 17px; }
    .hx-ind-go { top: 22px; inset-inline-end: 18px; }
    .hx-steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
    .hx-steps li, .hx-steps li:nth-child(3) { padding: 26px 0; border-inline-start: 0; border-top: 1px solid var(--hx-rule); }
    .hx-steps li:first-child { border-top: 0; padding-top: 0; }
    .hx-step-n { font-size: 60px; margin-bottom: 12px; }
    .hx-mods-list { grid-template-columns: minmax(0, 1fr); }
    .hx-usp { grid-template-columns: minmax(0, 1fr); row-gap: 34px; }
    .hx-compare { margin-top: 60px; }
    .hx-voice-body { font-size: 16.5px; }
    .hx-qa summary { font-size: 16.5px; padding: 20px 0; }
    .hx-qa p { font-size: 15.5px; }
    .hx-close { padding: 56px 0; }
    .hx-close-mark { inset-inline-end: -60px; opacity: .5; }
    .hx-close-actions .hx-btn { flex: 1 1 100%; }
}

@media (max-width: 400px) {
    .hx-app-badges .sbadge { padding: 7px 12px; }
    .hx-hero-stage { min-height: 380px; }
    .hx-device { height: min(360px, 100%); }
}

@media (prefers-reduced-motion: reduce) {
    .hx *, .hx *::before, .hx *::after { animation: none !important; transition: none !important; }
    .hx-marquee { overflow-x: auto; }
}

/* =====================================================================
   DARK MODE — token swap (toggled by partials/theme-init)
   ===================================================================== */
html[data-theme="dark"] .hx {
    --hx-ink: #eef4fb;
    --hx-ink-2: #b6c6d8;
    --hx-ink-3: #8599b0;
    --hx-bg: #0a1320;
    --hx-tone-bg: #0d1827;
    --hx-cell: #101c2d;
    --hx-rule: rgba(238, 244, 251, .12);
    --hx-rule-strong: #eef4fb;
    --hx-blue: #6cb0f0;
    --hx-link: #7dbaf3;
    --hx-teal-ink: #6cc3ca;
    --hx-deep: #061a33;
    --hx-best-cell: rgba(108, 176, 240, .08);
    --hx-good: #4ade80;
    --hx-bad: #f87171;
}
/* Logos are dark artwork on white — they sit on light chips in dark mode. */
html[data-theme="dark"] .hx-logo { height: 64px; padding: 5px 14px; border-radius: 6px; background: #e6ecf2; }
html[data-theme="dark"] .hx-logo img { opacity: .82; }
/* The app panel stays light so the badges and QR read instantly. */
html[data-theme="dark"] .hx-app { background: #e9eef4; }
html[data-theme="dark"] .hx-app-qr { background: #dbe4ec; }
html[data-theme="dark"] .hx-plate img { border-color: rgba(238, 244, 251, .1); }
html[data-theme="dark"] .hx-ind:hover { background: #12335c; }
html[data-theme="dark"] .hx-table thead th.best { background: #0057a8; border-bottom-color: #0057a8; }
html[data-theme="dark"] .hx-hero, html[data-theme="dark"] .hx-figures, html[data-theme="dark"] .hx-close { background: var(--hx-deep); }
html[data-theme="dark"] .hx-hero { box-shadow: inset 0 -1px 0 rgba(238, 244, 251, .08); }

/* Short laptop screens (e.g. 1366×768): tighten the hero so the client
   strip still shows in the first screen. */
@media (min-width: 1101px) and (max-height: 820px) {
    .hx-hero { padding-top: 26px; }
    .hx-kicker { margin-bottom: 12px; }
    .hx-h1 { font-size: clamp(32px, 3.2vw, 46px); }
    [dir="ltr"] .hx-h1 { font-size: clamp(30px, 3vw, 42px); }
    .hx-hero-lead { margin-top: 10px; font-size: 16px; line-height: 1.75; }
    .hx-app { margin-top: 16px; }
    .hx-hero-actions { margin-top: 14px; }
    .hx-hero-copy { padding-bottom: 22px; }
    .hx-hero-stage { min-height: 430px; }
    .hx-device { height: min(420px, 100%); }
    .hx-ring { width: min(400px, 96%); }
    .hx-figures li { padding: 10px 0; }
    .hx-figures b { font-size: 21px; }
    .hx-clients-row { padding-top: 14px; padding-bottom: 14px; }
}

/* System screens auto-advance: a thin progress line on the active tab. */
.hx-show.is-auto .hx-show-tab[aria-selected="true"]::after {
    content: ""; position: absolute; bottom: -1px; inset-inline-start: 0; height: 2px; width: 100%;
    background: var(--hx-teal); transform-origin: left; animation: hx-progress 5s linear both;
}
[dir="rtl"] .hx-show.is-auto .hx-show-tab[aria-selected="true"]::after { transform-origin: right; }
.hx-show.is-paused .hx-show-tab[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes hx-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hx-voices-write { margin-inline-start: auto; background: none; border-top: 0; border-inline: 0; cursor: pointer; font-family: inherit; }
@media (max-width: 768px) {
    .hx-voices-nav { flex-wrap: wrap; }
    .hx-voices-write { margin-inline-start: 0; width: 100%; justify-content: center; }
}
.hx-faq-help .hx-voices-write { margin-inline-start: 0; width: auto; }

/* =====================================================================
   SHARED COMPONENTS FOR INNER PAGES
   ===================================================================== */

/* ---------- Page hero (inner pages) ---------- */
.hx-pagehero { position: relative; overflow: hidden; isolation: isolate; background: var(--hx-deep); color: #fff; padding: 56px 0 52px; }
.hx-pagehero-mark { position: absolute; top: 0; bottom: 0; inset-inline-end: 6%; width: 180px; z-index: -1; pointer-events: none; }
.hx-pagehero-mark i { position: absolute; bottom: -10%; width: 44px; height: 130%; transform: skewX(-25deg); transform-origin: bottom; animation: hx-rise 1s var(--hx-ease) both; }
.hx-pagehero-mark i:first-child { left: 0; background: var(--hx-stem-a); }
.hx-pagehero-mark i:last-child { left: 96px; background: var(--hx-stem-b); animation-delay: .12s; }
.hx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.hx-crumbs a { color: rgba(255, 255, 255, .82); }
.hx-crumbs a:hover { color: #fff; }
.hx-crumbs .sep { opacity: .45; }
.hx-pagehero h1 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 900; line-height: 1.25; color: #fff; max-width: 24ch; text-wrap: balance; }
[dir="ltr"] .hx-pagehero h1 { line-height: 1.1; letter-spacing: -1.2px; }
.hx-pagehero-lead { margin-top: 14px; max-width: 660px; font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, .78); }
.hx-pagehero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 26px; }

.hx-section-sm { padding: 64px 0; }

/* ---------- Buttons on light backgrounds ---------- */
.hx-btn-solid { background: var(--hx-ink); color: var(--hx-bg); }
.hx-btn-solid:hover { background: #0057a8; color: #fff; }
.hx-btn-line { background: transparent; color: var(--hx-ink); border-color: var(--hx-rule-strong); }
.hx-btn-line:hover { background: var(--hx-ink); color: var(--hx-bg); }
.hx-btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Two-column split: sticky aside + content ---------- */
.hx-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.hx-split-aside { position: sticky; top: 100px; }

/* ---------- Hairline cell grid (generic) ---------- */
.hx-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hx-rule); border-inline-start: 1px solid var(--hx-rule); }
.hx-cells-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hx-cells-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hx-cells > * { border-bottom: 1px solid var(--hx-rule); border-inline-end: 1px solid var(--hx-rule); }
.hx-cell { position: relative; height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; color: var(--hx-ink); transition: background .25s, color .25s; }
.hx-cell-icon { font-size: 24px; color: var(--hx-blue); transition: color .25s; }
.hx-cell h3 { font-size: 19px; font-weight: 800; line-height: 1.45; }
.hx-cell p { font-size: 15px; line-height: 1.8; color: var(--hx-ink-2); transition: color .25s; }
.hx-cell-go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--hx-link); }
a.hx-cell:hover { background: var(--hx-deep); color: #fff; }
a.hx-cell:hover p { color: rgba(255, 255, 255, .75); }
a.hx-cell:hover .hx-cell-icon { color: #8fd5da; }
a.hx-cell:hover .hx-cell-go { color: #fff; }

/* ---------- Simple bullet list with the slant marker ---------- */
.hx-list { display: grid; gap: 14px; }
.hx-list li { position: relative; padding-inline-start: 22px; font-size: 16px; line-height: 1.8; }
.hx-list li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 9px; width: 5px; height: 13px; background: var(--hx-teal); transform: skewX(-25deg); }

/* ---------- Forms ---------- */
.hx-form { display: grid; gap: 20px; }
.hx-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hx-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hx-label { font-size: 14.5px; font-weight: 700; color: var(--hx-ink); }
.hx-label .req { color: var(--hx-bad); }
.hx-input, .hx-select, .hx-textarea {
    width: 100%; font-family: inherit; font-size: 16px; line-height: 1.5; color: var(--hx-ink);
    background: var(--hx-cell); border: 1.5px solid var(--hx-rule); border-radius: 4px; padding: 13px 14px;
    transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.hx-select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; padding-inline-end: 38px; }
[dir="rtl"] .hx-select { background-position: 14px 52%, 20px 52%; }
.hx-input::placeholder, .hx-textarea::placeholder { color: var(--hx-ink-3); opacity: 1; }
.hx-input:focus, .hx-select:focus, .hx-textarea:focus { outline: none; border-color: var(--hx-blue); box-shadow: 0 0 0 3px rgba(0, 87, 168, .15); }
.hx-input.is-invalid, .hx-textarea.is-invalid, .hx-select.is-invalid { border-color: var(--hx-bad); }
.hx-textarea { min-height: 150px; resize: vertical; line-height: 1.8; }
.hx-hint { font-size: 13px; line-height: 1.6; color: var(--hx-ink-3); }
.hx-file { font-size: 14px; color: var(--hx-ink-2); }
.hx-alert { padding: 14px 16px; border-radius: 4px; font-size: 15px; font-weight: 600; line-height: 1.7; }
.hx-alert[hidden] { display: none; }
.hx-alert.is-ok { background: rgba(21, 122, 62, .1); color: var(--hx-good); }
.hx-alert.is-err { background: rgba(180, 35, 24, .08); color: var(--hx-bad); }
/* Star rating: radio inputs in reverse order so CSS can fill the stars "up to" the choice */
.hx-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 6px; direction: ltr; }
.hx-stars input { position: absolute; opacity: 0; pointer-events: none; }
.hx-stars label { font-size: 30px; line-height: 1; color: var(--hx-rule); cursor: pointer; transition: color .15s, transform .15s; }
.hx-stars label:hover, .hx-stars label:hover ~ label, .hx-stars input:checked ~ label { color: #f2b01e; }
.hx-stars input:focus-visible + label { outline: 3px solid var(--hx-teal); outline-offset: 2px; }

/* ---------- Long-form text (articles, legal, details) ---------- */
.hx-prose { max-width: 780px; font-size: 17px; line-height: 1.95; color: var(--hx-ink-2); overflow-wrap: anywhere; }
.hx-prose > *:first-child { margin-top: 0; }
.hx-prose h2 { margin: 46px 0 14px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; line-height: 1.4; color: var(--hx-ink); }
.hx-prose h3 { margin: 32px 0 10px; font-size: 21px; font-weight: 800; line-height: 1.45; color: var(--hx-ink); }
.hx-prose h4 { margin: 24px 0 8px; font-size: 18px; font-weight: 800; color: var(--hx-ink); }
.hx-prose p { margin: 0 0 18px; }
.hx .hx-prose ul, .hx .hx-prose ol { margin: 0 0 18px; padding-inline-start: 24px; }
.hx .hx-prose ul { list-style: disc; }
.hx .hx-prose ol { list-style: decimal; }
.hx-prose li { margin-bottom: 8px; }
.hx-prose li::marker { color: var(--hx-teal); }
.hx-prose a { color: var(--hx-link); text-decoration: underline; text-underline-offset: 3px; }
.hx-prose strong, .hx-prose b { color: var(--hx-ink); }
.hx-prose blockquote { margin: 26px 0; padding-inline-start: 18px; border-inline-start: 3px solid var(--hx-teal); font-weight: 600; color: var(--hx-ink); }
.hx-prose img, .hx-prose video, .hx-prose iframe { max-width: 100%; height: auto; border: 1px solid var(--hx-rule); }
.hx-prose figure { margin: 26px 0; }
.hx-prose figcaption { margin-top: 8px; font-size: 13.5px; color: var(--hx-ink-3); }
.hx-prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.hx-prose th, .hx-prose td { padding: 11px 12px; border-bottom: 1px solid var(--hx-rule); text-align: start; vertical-align: top; }
.hx-prose th { font-weight: 800; color: var(--hx-ink); border-bottom: 2px solid var(--hx-rule-strong); }
.hx-prose hr { border: 0; border-top: 1px solid var(--hx-rule); margin: 38px 0; }
.hx-prose code { font-size: .92em; padding: 2px 6px; background: var(--hx-tone-bg); border-radius: 3px; }
.hx-prose pre { overflow-x: auto; padding: 16px; background: var(--hx-tone-bg); border: 1px solid var(--hx-rule); }

@media (max-width: 1100px) {
    .hx-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .hx-split-aside { position: static; }
    .hx-cells, .hx-cells-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .hx-pagehero { padding: 36px 0 34px; }
    .hx-pagehero-mark { inset-inline-end: -40px; opacity: .45; }
    .hx-pagehero-lead { font-size: 16px; }
    .hx-pagehero-actions .hx-btn { flex: 1 1 100%; }
    .hx-section-sm { padding: 44px 0; }
    .hx-cells, .hx-cells-2, .hx-cells-4 { grid-template-columns: minmax(0, 1fr); }
    .hx-cell { padding: 22px 18px; }
    .hx-form-row { grid-template-columns: minmax(0, 1fr); }
    .hx-prose { font-size: 16px; }
    .hx-prose h2 { margin-top: 36px; }
}
html[data-theme="dark"] a.hx-cell:hover { background: #12335c; }
html[data-theme="dark"] .hx-input:focus, html[data-theme="dark"] .hx-select:focus, html[data-theme="dark"] .hx-textarea:focus { box-shadow: 0 0 0 3px rgba(108, 176, 240, .2); }

/* Review scores (form v2: software + support, out of 10) */
.hx-voice-scores { grid-column: 1; display: grid; gap: 14px; align-content: start; }
.hx-score { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 10px; }
.hx-score span { font-size: 13.5px; font-weight: 700; color: var(--hx-ink-3); }
.hx-score b { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; color: var(--hx-ink-3); direction: ltr; }
.hx-score b em { font-style: normal; font-size: 26px; font-weight: 800; color: var(--hx-ink); }
.hx-score i { grid-column: 1 / -1; height: 3px; background: var(--hx-rule); position: relative; overflow: hidden; }
.hx-score i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--v); background: var(--hx-teal); }
.hx-voice-label { margin: 14px 0 4px; font-size: 13px; font-weight: 800; letter-spacing: .3px; color: var(--hx-teal-ink); }
.hx-voice-label:first-child { margin-top: 0; }
@media (max-width: 1100px) {
    .hx-voice-scores { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; grid-column: 1; grid-row: auto; }
}

/* ---------- Review form (reviews/_fields.blade.php) ---------- */
    .hx-rv { max-width: 760px; margin: 0 auto; }
    .hx-rv-form { display: grid; gap: 36px; }
    .hx-rv-block { border: 0; margin: 0; padding: 22px 0 0; border-top: 2px solid var(--hx-rule-strong); display: grid; gap: 22px; min-width: 0; }
    .hx-rv-head { display: flex; align-items: center; gap: 4px; padding: 0; margin-bottom: 2px; float: left; width: 100%; }
    .hx-rv-head + * { clear: both; }
    .hx-rv-head b { font-size: 22px; font-weight: 800; color: var(--hx-ink); margin-inline-start: 10px; }

    .hx-scale { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
    .hx-scale input { position: absolute; opacity: 0; pointer-events: none; }
    .hx-scale label {
        height: 48px; display: grid; place-items: center; cursor: pointer; user-select: none;
        font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700; color: var(--hx-ink-2);
        background: var(--hx-cell); border: 1.5px solid var(--hx-rule); border-radius: 4px;
        transition: background .15s, color .15s, border-color .15s, transform .15s;
    }
    .hx-scale label:hover { border-color: var(--hx-blue); color: var(--hx-ink); }
    .hx-scale input:checked + label { background: var(--hx-deep); border-color: var(--hx-deep); color: #fff; transform: translateY(-2px); }
    .hx-scale input:focus-visible + label { outline: 3px solid var(--hx-teal); outline-offset: 2px; }
    .hx-scale.is-invalid label { border-color: var(--hx-bad); }
    .hx-scale-ends { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--hx-ink-3); }
    .hx-scale-val { font-size: 14px; color: var(--hx-ink); }

    .hx-rv-submit { width: 100%; min-height: 56px; font-size: 17px; }
    .hx-hint i { color: var(--hx-teal); }

    .hx-rv-done { text-align: center; padding: 28px 0; outline: none; }
    .hx-rv-done[hidden] { display: none; }
    .hx-rv-check { width: 72px; height: 72px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; font-size: 28px; color: #fff; background: var(--hx-teal); }
    .hx-rv-done .hx-h2 { margin: 0 auto; }
    .hx-rv-done p { margin: 14px auto 26px; max-width: 520px; font-size: 17px; line-height: 1.85; }

    html[data-theme="dark"] .hx-scale input:checked + label { background: #0057a8; border-color: #0057a8; }

    @media (max-width: 480px) {
        .hx-scale { grid-template-columns: repeat(5, minmax(0, 1fr)); }
        .hx-scale label { height: 46px; }
        .hx-rv-head b { font-size: 20px; }
    }

/* Tight Latin tracking reads well on desktop but glues words together on phones. */
@media (max-width: 768px) {
    [dir="ltr"] .hx-h1, [dir="ltr"] .hx-pagehero h1, [dir="ltr"] .hx-close h2 { letter-spacing: -.4px; }
    [dir="ltr"] .hx-h2 { letter-spacing: -.3px; }
}

/* Live visitor counter in the hero figures */
.hx-live-dot { display: inline-block; width: 8px; height: 8px; margin-inline-end: 7px; border-radius: 50%; background: #4ade80; vertical-align: 1px; animation: hx-live 2s ease-out infinite; }
@keyframes hx-live { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
