/* pages/static/pages/css/home-enterprise.css
   Public home page (pages/home.html). Mobile first; RTL via logical properties; light/dark via [data-bs-theme].
   Colours are tokens on .hx (same palette as the pricing catalogue, subscriptions/css/catalog.css), never the
   theme's near-white --bs-secondary-color. Sections set their own padding (the theme pads every <section>). */

.hx {
    --hx-bg: #ffffff;
    --hx-tint: #f6f8fc;
    --hx-card: #ffffff;
    --hx-text: #121a2b;
    --hx-muted: #5b6475;
    --hx-line: #e3e7ef;
    --hx-brand: #2457d6;
    --hx-brand-2: #6a3df0;
    --hx-brand-soft: #e9efff;
    --hx-green: #0f8a5f;
    --hx-amber: #b26a00;
    --hx-rose: #c2365f;
    --hx-violet: #6a3df0;
    --hx-teal: #0b7f8a;
    --hx-radius: 18px;
    --hx-radius-sm: 12px;
    --hx-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 32px -8px rgba(16, 24, 40, .12);
    --hx-shadow-lg: 0 30px 70px -20px rgba(20, 35, 80, .35);
    --hx-ink: #0b1430;
    color: var(--hx-text);
    background: var(--hx-bg);
    overflow-x: clip;
}

[data-bs-theme="dark"] .hx {
    --hx-bg: #0d1220;
    --hx-tint: #121a2b;
    --hx-card: #172036;
    --hx-text: #eef1f7;
    --hx-muted: #a9b2c4;
    --hx-line: #273149;
    --hx-brand: #7aa0ff;
    --hx-brand-2: #a98bff;
    --hx-brand-soft: #1d2a4f;
    --hx-green: #4fd1a1;
    --hx-amber: #ffc46b;
    --hx-rose: #ff8fb0;
    --hx-violet: #b9a3ff;
    --hx-teal: #5fd6e0;
    --hx-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -8px rgba(0, 0, 0, .5);
    --hx-shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, .7);
}

.hx h1, .hx h2, .hx h3 { color: var(--hx-text); }
.hx p { color: var(--hx-muted); }

/* ---------------------------------------------------------------- layout */
section.hx-section { padding: 72px 0; position: relative; }
@media (min-width: 992px) { section.hx-section { padding: 104px 0; } }
.hx-tint { background: var(--hx-tint); }
.hx-narrow { max-width: 860px; }

.hx-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.hx-kicker {
    display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--hx-brand); margin-bottom: 12px;
}
.rtl .hx-kicker { letter-spacing: 0; }
.hx-h2 { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.hx-sub { font-size: 1.08rem; line-height: 1.7; margin: 0; }
.hx-sub-start { margin-bottom: 24px; }

/* ---------------------------------------------------------------- buttons */
.hx-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 1rem;
    text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.hx-btn:hover { transform: translateY(-1px); }
.hx-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(36, 87, 214, .4); }
.hx-btn-primary { background: var(--hx-brand); color: #fff; box-shadow: 0 10px 24px -10px var(--hx-brand); }
.hx-btn-primary:hover { color: #fff; background: color-mix(in srgb, var(--hx-brand) 88%, #000); }
[data-bs-theme="dark"] .hx-btn-primary, [data-bs-theme="dark"] .hx-btn-primary:hover { color: #0b1020; }
.hx-btn-ghost { background: var(--hx-card); color: var(--hx-text); border-color: var(--hx-line); }
.hx-btn-ghost:hover { color: var(--hx-brand); border-color: var(--hx-brand); }
.hx-btn-light { background: #fff; color: #142a6b; }
.hx-btn-light:hover { color: #142a6b; background: #eef2ff; }
.hx-btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.hx-btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, .1); border-color: #fff; }

/* RTL: the arrow's glyph (::before) is mirrored by core/css/l10n.css; the element itself must never be flipped too. */
[dir="rtl"] .hx .hx-arrow { transform: none !important; }
.hx-arrow { font-size: .95em; transition: translate .15s ease; }
a:hover > .hx-arrow, a:hover .hx-arrow { translate: 3px 0; }
[dir="rtl"] a:hover > .hx-arrow, [dir="rtl"] a:hover .hx-arrow { translate: -3px 0; }

/* ---------------------------------------------------------------- hero */
section.hx-hero {
    padding: 56px 0 72px;
    background:
        radial-gradient(900px 480px at 85% -10%, color-mix(in srgb, var(--hx-brand-2) 18%, transparent), transparent 70%),
        radial-gradient(800px 500px at -10% 20%, color-mix(in srgb, var(--hx-brand) 14%, transparent), transparent 70%),
        var(--hx-bg);
    overflow: hidden;
}
@media (min-width: 992px) { section.hx-hero { padding: 88px 0 112px; } }
.hx-hero-grid-bg {
    position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(var(--hx-line) 1px, transparent 1px), linear-gradient(90deg, var(--hx-line) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hx-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    background: var(--hx-card); border: 1px solid var(--hx-line); font-size: .85rem; font-weight: 600;
    color: var(--hx-text); box-shadow: var(--hx-shadow); margin-bottom: 22px;
}
.hx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hx-green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hx-green) 22%, transparent); }
.hx-hero-title { font-size: clamp(2.2rem, 1.3rem + 3.8vw, 3.9rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin-bottom: 20px; }
.rtl .hx-hero-title { letter-spacing: 0; line-height: 1.3; }
.hx-grad {
    background: linear-gradient(90deg, var(--hx-brand), var(--hx-brand-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hx-lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); line-height: 1.75; margin-bottom: 30px; max-width: 580px; }
.hx-hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hx-hero-points li { display: inline-flex; align-items: center; gap: 7px; font-size: .93rem; font-weight: 600; color: var(--hx-text); }
.hx-hero-points i { color: var(--hx-green); font-size: 1.1rem; }

/* hero illustration */
.hx-stage { position: relative; max-width: 520px; margin: 0 auto; padding: 24px 0 8px; min-height: 520px; }
.hx-phone {
    --hx-demo-bg: #1f2937; --hx-demo-accent: #f59e0b; --hx-demo-surface: #ffffff;
    position: relative; width: 268px; margin: 0 auto; padding: 12px; border-radius: 44px;
    background: #0b1020; box-shadow: var(--hx-shadow-lg), inset 0 0 0 2px #2a3350;
    rotate: -3deg;
}
[dir="rtl"] .hx-phone { rotate: 3deg; }
.hx-phone-notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 86px; height: 22px; border-radius: 14px; background: #0b1020; z-index: 2; }
.hx-phone-screen { border-radius: 34px; overflow: hidden; background: var(--hx-demo-surface); min-height: 476px; }
.hx-card-cover {
    height: 132px; position: relative;
    background: linear-gradient(135deg, var(--hx-demo-bg), color-mix(in srgb, var(--hx-demo-bg) 60%, var(--hx-demo-accent)));
}
.hx-card-logo {
    position: absolute; bottom: -34px; left: 50%; translate: -50% 0;
    width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center;
    background: var(--hx-demo-accent); color: #fff; font-size: 1.9rem; border: 4px solid var(--hx-demo-surface);
}
.hx-card-body { padding: 44px 18px 18px; text-align: center; color: #1b2233; }
.hx-card-name { font-weight: 800; font-size: 1.05rem; color: #141b2b !important; margin: 0; }
.hx-card-handle { font-size: .78rem; color: #6b7385 !important; margin: 2px 0 14px; }
.hx-card-actions { display: flex; justify-content: center; gap: 10px; margin-bottom: 14px; }
.hx-card-actions span {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: color-mix(in srgb, var(--hx-demo-accent) 14%, #fff); color: color-mix(in srgb, var(--hx-demo-accent) 75%, #000);
}
.hx-card-cta {
    display: block; padding: 11px; border-radius: 12px; font-weight: 700; font-size: .9rem; margin-bottom: 14px;
    background: var(--hx-demo-accent); color: #fff;
}
.hx-card-item {
    display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; margin-bottom: 8px;
    background: #f4f6fa; font-size: .82rem; font-weight: 600; text-align: start;
}
.hx-card-thumb { width: 38px; height: 38px; border-radius: 10px; flex: none; background: linear-gradient(135deg, color-mix(in srgb, var(--hx-demo-accent) 45%, #fff), var(--hx-demo-accent)); }

.hx-float {
    position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
    background: var(--hx-card); border: 1px solid var(--hx-line); border-radius: 14px; box-shadow: var(--hx-shadow);
    font-size: .82rem; min-width: 200px; z-index: 3;
    animation: hx-float 6s ease-in-out infinite;
}
[dir="rtl"] .hx-float { padding: 10px 10px 10px 14px; }
.hx-float strong { display: block; color: var(--hx-text); font-size: .86rem; }
.hx-float small { display: block; color: var(--hx-muted); }
.hx-float-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; font-size: 1.05rem; }
.hx-float-a { top: 70px; inset-inline-start: 0; }
.hx-float-b { top: 250px; inset-inline-end: 0; animation-delay: -2s; }
.hx-float-c { bottom: 36px; inset-inline-start: 12px; animation-delay: -4s; }
.hx-qr {
    position: absolute; top: 14px; inset-inline-end: 22px; z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 12px;
    background: var(--hx-card); border: 1px solid var(--hx-line); border-radius: 14px; box-shadow: var(--hx-shadow);
    font-size: .7rem; font-weight: 700; color: var(--hx-muted);
}
.hx-qr i { font-size: 2.1rem; color: var(--hx-text); line-height: 1; }
@keyframes hx-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .hx-float { animation: none; } .hx-btn, .hx-arrow, .hx-trade, .hx-res-card { transition: none; } }

@media (max-width: 575.98px) {
    .hx-stage { min-height: 0; padding-top: 8px; }
    .hx-phone { width: 236px; rotate: 0deg; }
    [dir="rtl"] .hx-phone { rotate: 0deg; }
    .hx-phone-screen { min-height: 420px; }
    .hx-float { min-width: 0; font-size: .76rem; }
    .hx-float-a { top: 40px; }
    .hx-float-b { top: 220px; }
    .hx-float-c { display: none; }
    .hx-qr { display: none; }
}

/* ---------------------------------------------------------------- facts */
section.hx-facts { padding: 0; margin-top: -28px; z-index: 2; }
.hx-facts-row {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0;
    background: var(--hx-card); border: 1px solid var(--hx-line); border-radius: var(--hx-radius); box-shadow: var(--hx-shadow);
}
.hx-facts-row > div { padding: 22px 20px; border-inline-end: 1px solid var(--hx-line); border-block-end: 1px solid var(--hx-line); }
.hx-facts-row > div:nth-child(2n) { border-inline-end: 0; }
.hx-facts-row > div:nth-child(n+3) { border-block-end: 0; }
.hx-facts-row dt { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 800; color: var(--hx-text); }
.hx-facts-row dd { margin: 4px 0 0; color: var(--hx-muted); font-size: .9rem; }
@media (min-width: 992px) {
    .hx-facts-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hx-facts-row > div { border-block-end: 0; padding: 28px; }
    .hx-facts-row > div:nth-child(2n) { border-inline-end: 1px solid var(--hx-line); }
    .hx-facts-row > div:last-child { border-inline-end: 0; }
}

/* ---------------------------------------------------------------- trades */
.hx-trades { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.hx-trade {
    --hx-t-accent: var(--hx-brand);
    position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; overflow: hidden;
    background: var(--hx-card); border: 1px solid var(--hx-line); border-radius: var(--hx-radius);
    text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hx-trade::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 4px;
    background: linear-gradient(90deg, var(--hx-t-accent), color-mix(in srgb, var(--hx-t-accent) 40%, transparent));
}
.hx-trade:hover { transform: translateY(-3px); box-shadow: var(--hx-shadow); border-color: color-mix(in srgb, var(--hx-t-accent) 45%, var(--hx-line)); }
.hx-trade-icon {
    width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 6px;
    background: color-mix(in srgb, var(--hx-t-accent) 14%, transparent); color: var(--hx-t-accent);
}
[data-bs-theme="dark"] .hx-trade-icon { color: color-mix(in srgb, var(--hx-t-accent) 70%, #fff); }
.hx-trade-name { font-weight: 800; font-size: 1.06rem; color: var(--hx-text); }
.hx-trade-text { color: var(--hx-muted); font-size: .92rem; line-height: 1.6; flex: 1; }
.hx-trade-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--hx-brand); margin-top: 6px; }
.hx-trade-enterprise { background: linear-gradient(150deg, #142a6b, #2a1a6e); border-color: transparent; }
.hx-trade-enterprise::before { display: none; }
.hx-trade-enterprise .hx-trade-icon { background: rgba(255, 255, 255, .12); color: #fff; }
.hx-trade-enterprise .hx-trade-name, .hx-trade-enterprise .hx-trade-more { color: #fff; }
.hx-trade-enterprise .hx-trade-text { color: rgba(255, 255, 255, .78); }

/* ---------------------------------------------------------------- bento */
.hx-bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .hx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) {
    .hx-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hx-tile-wide { grid-column: span 2; }
}
.hx-tile {
    padding: 26px; border-radius: var(--hx-radius); background: var(--hx-card); border: 1px solid var(--hx-line);
    display: flex; flex-direction: column;
}
.hx-tile h3 { font-size: 1.12rem; font-weight: 800; margin: 14px 0 8px; }
.hx-tile p { margin: 0; line-height: 1.65; font-size: .95rem; }
.hx-tile-icon, .hx-float-icon { color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.hx-tile-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; }
.is-blue { --c: var(--hx-brand); }
.is-green { --c: var(--hx-green); }
.is-amber { --c: var(--hx-amber); }
.is-violet { --c: var(--hx-violet); }
.is-rose { --c: var(--hx-rose); }
.is-teal { --c: var(--hx-teal); }
.hx-tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hx-tags li { padding: 5px 12px; border-radius: 999px; background: var(--hx-brand-soft); color: var(--hx-brand); font-size: .8rem; font-weight: 700; }
.hx-mini-chart { display: flex; align-items: flex-end; gap: 8px; height: 84px; margin-top: 20px; }
.hx-mini-chart span {
    flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, var(--hx-teal), color-mix(in srgb, var(--hx-teal) 25%, transparent));
}

/* ---------------------------------------------------------------- dashboard */
.hx .hx-dash .hx-h2, .hx-sub-start { text-align: start; }
.hx-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.hx-checks li { display: flex; gap: 14px; align-items: flex-start; }
.hx-checks i {
    flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem;
    background: var(--hx-brand-soft); color: var(--hx-brand);
}
.hx-checks span { color: var(--hx-muted); line-height: 1.6; font-size: .95rem; }
.hx-checks strong { display: block; color: var(--hx-text); font-size: 1rem; margin-bottom: 2px; }

.hx-dash {
    border-radius: var(--hx-radius); background: var(--hx-card); border: 1px solid var(--hx-line);
    box-shadow: var(--hx-shadow-lg); overflow: hidden;
}
.hx-dash-top { display: flex; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--hx-line); background: var(--hx-tint); }
.hx-dash-top span { width: 11px; height: 11px; border-radius: 50%; background: var(--hx-line); }
.hx-dash-top span:nth-child(1) { background: #ff6b6b; }
.hx-dash-top span:nth-child(2) { background: #ffc145; }
.hx-dash-top span:nth-child(3) { background: #3ccf82; }
.hx-dash-body { display: flex; min-height: 320px; }
.hx-dash-side {
    display: flex; flex-direction: column; gap: 6px; padding: 14px 10px; border-inline-end: 1px solid var(--hx-line);
    background: var(--hx-tint);
}
.hx-dash-side i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--hx-muted); font-size: 1.05rem; }
.hx-dash-side i.is-on { background: var(--hx-brand); color: #fff; }
.hx-dash-main { flex: 1; min-width: 0; padding: 18px; }
.hx-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.hx-kpis > div { padding: 14px; border-radius: 12px; border: 1px solid var(--hx-line); }
.hx-kpis small { display: block; color: var(--hx-muted); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-kpis strong { display: inline-block; font-size: 1.5rem; color: var(--hx-text); margin-inline-end: 6px; }
.hx-kpis em { font-style: normal; font-size: .75rem; font-weight: 700; color: var(--hx-muted); }
.hx-kpis em.up { color: var(--hx-green); }
.hx-dash-list > div { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--hx-line); }
.hx-dash-list > div:last-child { border-bottom: 0; }
.hx-pill { flex: none; min-width: 84px; text-align: center; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.hx-line { height: 9px; border-radius: 6px; background: var(--hx-line); }
.hx-line.w55 { width: 55%; } .hx-line.w60 { width: 60%; } .hx-line.w70 { width: 70%; } .hx-line.w80 { width: 80%; }
.hx-time { margin-inline-start: auto; font-size: .78rem; font-weight: 700; color: var(--hx-muted); }
@media (max-width: 575.98px) {
    .hx-dash-side { display: none; }
    .hx-kpis { gap: 8px; }
    .hx-kpis > div { padding: 10px; }
    .hx-kpis strong { font-size: 1.2rem; }
    .hx-pill { min-width: 70px; }
}

/* ---------------------------------------------------------------- steps */
.hx-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); counter-reset: none; }
@media (min-width: 768px) { .hx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .hx-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hx-steps li { position: relative; padding: 26px; border-radius: var(--hx-radius); background: var(--hx-card); border: 1px solid var(--hx-line); }
.hx-step-no {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-weight: 800; font-size: 1.1rem;
    background: linear-gradient(135deg, var(--hx-brand), var(--hx-brand-2)); color: #fff; margin-bottom: 16px;
}
.hx-steps h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 8px; }
.hx-steps p { margin: 0; font-size: .94rem; line-height: 1.65; }

/* ---------------------------------------------------------------- trust */
.hx-trust { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); height: 100%; }
@media (min-width: 768px) { .hx-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hx-trust > div { padding: 24px; border-radius: var(--hx-radius); border: 1px solid var(--hx-line); background: var(--hx-card); }
.hx-trust i { font-size: 1.6rem; color: var(--hx-brand); }
.hx-trust h3 { font-size: 1.04rem; font-weight: 800; margin: 12px 0 6px; }
.hx-trust p { margin: 0; font-size: .93rem; line-height: 1.6; }
.hx-local {
    height: 100%; padding: 28px; border-radius: var(--hx-radius); color: #fff;
    background: radial-gradient(400px 260px at 100% 0%, rgba(255, 255, 255, .14), transparent 70%), linear-gradient(160deg, #1d3fa8, #3a1f8f);
}
.hx-local-flag { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; margin-bottom: 18px; }
.hx-local ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hx-local li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, .92); font-size: .95rem; }
.hx-local li i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }

/* ---------------------------------------------------------------- resources */
.hx-res { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.hx-res-card {
    display: flex; flex-direction: column; padding: 24px; border-radius: var(--hx-radius); text-decoration: none;
    background: var(--hx-card); border: 1px solid var(--hx-line); transition: transform .18s ease, box-shadow .18s ease;
}
.hx-res-card:hover { transform: translateY(-3px); box-shadow: var(--hx-shadow); }
.hx-res-card > i { font-size: 1.6rem; color: var(--hx-brand); }
.hx-res-card h3 { font-size: 1.05rem; font-weight: 800; margin: 12px 0 6px; }
.hx-res-card p { flex: 1; margin: 0 0 14px; font-size: .93rem; line-height: 1.6; }
.hx-res-card > span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--hx-brand); }

/* ---------------------------------------------------------------- faq */
.hx-faq { display: grid; gap: 12px; }
.hx-faq details { border: 1px solid var(--hx-line); border-radius: var(--hx-radius-sm); background: var(--hx-card); }
.hx-faq summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 20px; font-weight: 700; color: var(--hx-text);
}
.hx-faq summary::-webkit-details-marker { display: none; }
.hx-faq summary::after {
    content: "\F282"; font-family: "bootstrap-icons"; flex: none; color: var(--hx-muted); transition: rotate .2s ease;
}
.hx-faq details[open] summary::after { rotate: 180deg; }
.hx-faq summary:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(36, 87, 214, .35); border-radius: var(--hx-radius-sm); }
.hx-faq details p { margin: 0; padding: 0 20px 18px; line-height: 1.7; }
