/* ==========================================================================
   HostPawa design system: public website
   --------------------------------------------------------------------------
   Loaded by layouts/main.php after components.css and core.css.
   Header, footer, heroes and the components only the public pages use.

   Contents
     1. Landing and tool pages (carried-over markup)
     2. Announcement bar     4. Footer
     3. Header and menus     5. Page heroes
     6. Public-only components
   ========================================================================== */

/* 1. Landing and tool pages
   ========================================================================== */
/* Mega menu, blog featured images, marketing landers/tools */

.site-header {
    position: relative;
    z-index: 50;
}
.mega-menu-intro-title {
    margin: 0;
    font-family: var(--hx-font-display);
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--hx-ink);
}
.mega-menu-title {
    margin: 0 0 0.75rem;
    padding: 0;
    border-bottom: 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
    color: var(--hx-muted);
}
.mega-link-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.15rem;
    min-width: 0;
    flex: 1 1 auto;
    text-align: left;
}


.blog-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem 0.85rem;
    animation: blog-rise 0.55s 0.1s var(--hx-ease) both;
}
.blog-share-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hx-muted);
}
.blog-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.blog-share-btn {
    display: inline-grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: var(--hx-r);
    border: 1px solid var(--hx-line);
    background: color-mix(in srgb, var(--hx-surface) 88%, transparent);
    color: var(--hx-ink);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.blog-share-btn:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--hx-brand) 45%, var(--hx-line));
    color: var(--hx-brand-text);
    background: var(--hx-surface);
}
.blog-share-copied {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hx-brand-text);
}
.blog-toc-title,
.blog-recent-title {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hx-muted);
}
.blog-cta-title {
    margin: 0 0 0.55rem;
    font-family: var(--hx-font-display);
    font-size: 1.28rem;
    line-height: 1.22;
    letter-spacing: -0.03em;
    color: var(--hx-ink);
}
.blog-cta-copy {
    margin: 0 0 0.95rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--hx-muted);
}
.blog-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.65rem;
    padding: 0.65rem 1rem;
    border-radius: var(--hx-r);
    background: var(--hx-brand);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 10px 22px -14px color-mix(in srgb, var(--hx-brand) 85%, transparent);
}
.blog-cta-btn:hover {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--hx-brand) 88%, var(--hx-night-2));
    box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--hx-brand) 90%, transparent);
}
@media (prefers-reduced-motion: reduce) {
    .blog-cta-btn:hover {
        transform: none;
    }
}
@keyframes blog-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .blog-share {
        animation: none;
    }
    .blog-share-btn:hover {
        transform: none;
    }
}
.admin-featured-preview {
    margin-top: 0.75rem;
}
.admin-featured-preview img {
    display: block;
    width: min(100%, 320px);
    height: auto;
    border-radius: var(--hx-r);
    border: 1px solid var(--hx-line);
}

.marketing-tool-form {
    max-width: 40rem;
}
.marketing-tool-row {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.marketing-tool-row input[type="text"] {
    flex: 1 1 16rem;
    min-height: 3rem;
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-r);
    padding: 0.7rem 0.9rem;
    font: inherit;
    background: var(--hx-surface);
    color: var(--hx-ink);
}

@media (max-width: 900px) {
    .mega-menu-intro-title {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Dynamic TLD landers (/domains/tld/{tld})
   ========================================================================== */
.tld-hero {
    position: relative;
    padding: 3.25rem 0 4.25rem;
    color: #fff;
    background: transparent;
    overflow: clip;
}
.tld-hero:has(.domain-tld-picker.is-open) {
    overflow: visible;
}
.tld-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 46rem;
    margin: 0 auto;
    text-align: center;
}
.tld-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin: 0 0 1.25rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.62);
}
.tld-breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}
.tld-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.tld-hero__brand {
    margin: 0 0 0.65rem;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
}
.tld-hero h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #fff;
}
.tld-hero__lead {
    margin: 0 auto 1.5rem;
    max-width: 36rem;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}
.tld-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
}
.tld-hero__search {
    max-width: 40rem;
    margin: 0 auto;
}
.tld-hero__search .domain-search-form {
    justify-content: center;
}
.tld-hero__search .search-input-wrap {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.tld-hero__hint {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.tld-hero__hint a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tld-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
    gap: 2.25rem 2.75rem;
    align-items: start;
}
.tld-intro__copy {
    display: grid;
    gap: 1.65rem;
}
.tld-intro__copy h2 {
    margin: 0 0 0.45rem;
    font-size: 1.25rem;
}
.tld-intro__copy p {
    margin: 0;
    color: var(--hx-muted);
    line-height: 1.6;
}
.tld-intro__aside {
    display: grid;
    gap: 1.15rem;
}
.tld-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}
.tld-benefits li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.55rem;
    align-items: start;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--hx-ink);
}
.tld-benefits__check {
    display: inline-flex;
    margin-top: 0.15rem;
    color: var(--hx-brand-text);
}
.tld-price-panel {
    padding: 1.35rem 1.4rem;
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-r-lg);
    background:
        var(--hx-surface);
}
.tld-price-panel__label {
    margin: 0 0 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hx-muted);
}
.tld-price-panel__amount {
    margin: 0;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--hx-ink);
    line-height: 1.1;
}
.tld-price-panel__amount--text {
    font-size: 1.65rem;
}
.tld-price-panel__note {
    margin: 0.45rem 0 1rem;
    font-size: 0.9rem;
    color: var(--hx-muted);
}
.tld-price-panel .btn-block { width: 100%; justify-content: center; }

.tld-pricing-wrap {
    overflow-x: auto;
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-r-lg);
    background: var(--hx-surface);
}
.tld-pricing-matrix {
    width: 100%;
    border-collapse: collapse;
    min-width: 32rem;
}
.tld-pricing-matrix th,
.tld-pricing-matrix td {
    padding: 0.95rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid var(--hx-line);
    font-size: 0.95rem;
}
.tld-pricing-matrix thead th {
    background: var(--hx-bg-alt);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hx-muted);
}
.tld-pricing-matrix tbody th {
    font-weight: 600;
    color: var(--hx-ink);
    white-space: nowrap;
}
.tld-pricing-matrix tbody tr:last-child th,
.tld-pricing-matrix tbody tr:last-child td {
    border-bottom: 0;
}
.tld-pricing-na { color: var(--hx-muted); }
.tld-pricing-footnote {
    margin: 1rem 0 0;
    text-align: center;
    color: var(--hx-muted);
    font-size: 0.92rem;
}

.tld-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}
.tld-related-chip {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-r-lg);
    background: var(--hx-surface);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.tld-related-chip:hover {
    border-color: rgba(var(--hx-brand-rgb), 0.45);
    transform: translateY(-2px);
}
.tld-related-chip strong {
    font-size: 1.05rem;
    color: var(--hx-ink);
}
.tld-related-chip span {
    font-size: 0.85rem;
    color: var(--hx-muted);
}

.tld-cta-bar {
    border-top: 1px solid var(--hx-line);
    background: var(--hx-bg-alt);
    padding: 1.35rem 0;
}
.tld-cta-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}
.tld-cta-bar h2 {
    margin: 0 0 0.25rem;
    font-size: 1.2rem;
}
.tld-cta-bar p {
    margin: 0;
    color: var(--hx-muted);
}
.tld-cta-bar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

@media (max-width: 900px) {
    .tld-intro { grid-template-columns: 1fr; }
    .tld-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .tld-hero { padding: 2.5rem 0 2.75rem; }
    .tld-related-grid { grid-template-columns: 1fr; }
    .tld-cta-bar__inner { align-items: stretch; }
    .tld-cta-bar__actions .btn { flex: 1 1 auto; justify-content: center; }
}


/* 2. Announcement bar
   ========================================================================== */
html.hx .hx-announce {
    background: var(--hx-night);
    color: var(--hx-night-text);
    font-size: 0.8125rem;
    line-height: 1.3;
    border-bottom: 1px solid var(--hx-night-line);
}
html.hx .hx-announce__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 2.375rem;
    padding-block: 0.5rem;
}
html.hx .hx-announce__facts {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--hx-night-muted);
    white-space: nowrap;
}
html.hx .hx-announce__facts li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
html.hx .hx-announce__facts li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hx-ok-on-night);
}
html.hx .hx-announce__msg {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    color: var(--hx-night-ink);
    font-weight: 500;
    text-decoration: none;
}
html.hx a.hx-announce__msg:hover { color: #fff; }
html.hx a.hx-announce__msg:hover .hx-announce__arrow { transform: translateX(3px); }
html.hx .hx-announce__arrow {
    flex: none;
    color: var(--hx-brand-on-night);
    transition: transform 0.2s var(--hx-ease);
}
html.hx .hx-announce__code {
    flex: none;
    padding: 0.15rem 0.45rem;
    font-family: var(--hx-font-mono);
    font-size: 0.75rem;
    border: 1px dashed var(--hx-night-line-strong);
    border-radius: var(--hx-r-sm);
    color: var(--hx-night-ink);
}
@media (max-width: 900px) {
    html.hx .hx-announce__facts:not(.hx-announce__facts--solo) { display: none; }
    html.hx .hx-announce__inner { justify-content: center; text-align: center; }
    html.hx .hx-announce__facts--solo li:nth-child(n + 3) { display: none; }
}
@media (max-width: 520px) {
    html.hx .hx-announce__facts--solo li:nth-child(n + 2) { display: none; }
}

/* 3. Header and menus
   ========================================================================== */
html.hx .hx-header {
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid var(--hx-line);
}
/* The blur lives on a pseudo-element: a backdrop-filter on the header itself
   would make it the containing block for the fixed mobile drawer. */
html.hx .hx-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: color-mix(in srgb, var(--hx-bg) 86%, transparent);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
}
html.hx .hx-header.is-stuck { box-shadow: 0 8px 24px -18px rgba(11, 16, 32, 0.35); }

html.hx .hx-header__bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: var(--hx-header-h);
    min-width: 0;
}

html.hx .hx-header .logo,
html.hx .hx-footer .logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex: none;
    font-family: var(--hx-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--hx-ink);
    text-decoration: none;
}
html.hx .hx-header .logo-image,
html.hx .hx-footer .logo-image {
    width: auto;
    height: 2.125rem;
    max-width: 9rem;
    object-fit: contain;
}
html.hx .hx-header .logo-text,
html.hx .hx-footer .logo-text { font-weight: 600; }

html.hx .hx-nav {
    flex: 1 1 auto;
    min-width: 0;
}
html.hx .hx-nav__list {
    display: flex;
    align-items: center;
    gap: 0.05rem;
    min-width: 0;
}
html.hx .hx-nav__item--compact { position: relative; }
html.hx .hx-nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    height: 2.25rem;
    padding: 0 0.55rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--hx-text);
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.16s ease, color 0.16s ease;
}
html.hx .hx-nav__trigger:hover,
html.hx .hx-nav__item.is-open > .hx-nav__trigger {
    background: var(--hx-surface-2);
    color: var(--hx-ink);
}
html.hx .hx-nav__item.is-current > .hx-nav__trigger { color: var(--hx-ink); }
html.hx .hx-nav__chevron {
    opacity: 0.55;
    transition: transform 0.2s var(--hx-ease);
}
html.hx [data-hx-menu].is-open > button .hx-nav__chevron { transform: rotate(180deg); }
html.hx .hx-nav__foot { display: none; }

html.hx .hx-mega {
    position: absolute;
    top: calc(100% + 1px);
    /* Match header content rail (logo → actions), not the padded container box */
    left: max(var(--hx-gutter), env(safe-area-inset-left));
    right: max(var(--hx-gutter), env(safe-area-inset-right));
    width: auto;
    max-width: var(--hx-container);
    z-index: 10;
    padding-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.22s var(--hx-ease), visibility 0s linear 0.22s;
}
html.hx .hx-mega--compact {
    left: -0.5rem;
    right: auto;
    width: 20rem;
    max-width: none;
}
html.hx .hx-nav__item.is-open > .hx-mega {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}
html.hx .hx-mega__inner {
    display: grid;
    gap: 0;
    background: var(--hx-surface);
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-r-lg);
    box-shadow: var(--hx-shadow-lg);
    overflow: hidden;
}
html.hx .hx-mega__inner--feature { grid-template-columns: minmax(0, 1fr) 17.5rem; }
html.hx .hx-mega__cols {
    display: grid;
    gap: 0.5rem 1.5rem;
    padding: 1.5rem;
}
html.hx .hx-mega__cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.hx .hx-mega__cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html.hx .hx-mega--compact .hx-mega__cols { padding: 0.75rem; }
html.hx .hx-mega--compact .hx-mega__title { display: none; }

html.hx .hx-mega__title {
    padding: 0 0.625rem 0.625rem;
    font-family: var(--hx-font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hx-muted);
}
html.hx .hx-mega__links { display: grid; gap: 0.125rem; }
html.hx .hx-mega__link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.55rem 0.625rem;
    border-radius: 8px;
    color: var(--hx-ink);
    text-decoration: none;
    transition: background-color 0.14s ease;
}
html.hx .hx-mega__link:hover,
html.hx .hx-mega__link[aria-current="page"] { background: var(--hx-surface-2); }
html.hx .hx-mega__icon {
    flex: none;
    margin-top: 0.15rem;
    color: var(--hx-muted);
    transition: color 0.14s ease;
}
html.hx .hx-mega__link:hover .hx-mega__icon,
html.hx .hx-mega__link[aria-current="page"] .hx-mega__icon { color: var(--hx-brand-text); }
html.hx .hx-mega__copy { display: grid; min-width: 0; }
html.hx .hx-mega__label {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--hx-ink);
}
html.hx .hx-mega__desc {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--hx-muted);
}
html.hx .hx-mega__feature {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--hx-surface-2);
    border-left: 1px solid var(--hx-line);
}
html.hx .hx-mega__feature-title {
    font-family: var(--hx-font-display);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.25;
    color: var(--hx-ink);
}
html.hx .hx-mega__feature-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--hx-muted);
}
html.hx .hx-mega__feature .hx-link {
    margin-top: auto;
    padding-top: 0.75rem;
    font-size: 0.875rem;
}

html.hx .hx-header__actions {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    margin-left: auto;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    max-width: 100%;
}
html.hx .hx-header .currency-switcher { margin: 0; }
html.hx .hx-header .currency-switcher select {
    height: 2.25rem;
    min-height: 0;
    padding: 0 1.35rem 0 0.55rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hx-text);
    background-color: transparent;
    background-image:
        linear-gradient(45deg, transparent 50%, currentColor 50%),
        linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: right 0.62rem center, right 0.34rem center;
    background-size: 0.28rem 0.28rem;
    background-repeat: no-repeat;
    border-color: transparent;
    border-radius: var(--hx-r);
    box-shadow: none;
}
html.hx .hx-header .currency-switcher select:hover {
    background-color: var(--hx-surface-2);
    color: var(--hx-ink);
}
html.hx .hx-header .theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: var(--hx-r);
    background: transparent;
    color: var(--hx-text);
    box-shadow: none;
    cursor: pointer;
}
html.hx .hx-header .theme-toggle:hover {
    background: var(--hx-surface-2);
    color: var(--hx-ink);
}
html.hx .hx-header__count {
    position: absolute;
    top: 0.2rem;
    right: 0.1rem;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.25rem;
    display: grid;
    place-items: center;
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1;
    color: var(--hx-on-brand);
    background: var(--hx-brand);
    border-radius: 999px;
}
html.hx .hx-header__login {
    display: inline-flex;
    align-items: center;
    height: 2.5rem;
    padding: 0 0.8rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--hx-ink);
    border-radius: var(--hx-r);
    text-decoration: none;
    white-space: nowrap;
}
html.hx .hx-header__login:hover { background: var(--hx-surface-2); }
html.hx .hx-header__cta {
    display: inline-flex;
    align-items: center;
    height: 2.25rem;
    min-height: 2.25rem;
    margin-left: 0.55rem;
    padding: 0 0.95rem;
}

html.hx .hx-account { position: relative; max-width: 11rem; }
html.hx .hx-account__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 100%;
    height: 2.25rem;
    padding: 0 0.55rem;
    border: 0;
    border-radius: var(--hx-r);
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hx-ink);
    cursor: pointer;
}
html.hx .hx-account__trigger > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
html.hx .hx-account__trigger:hover,
html.hx .hx-account.is-open .hx-account__trigger { background: var(--hx-surface-2); }
html.hx .hx-account__panel {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    z-index: 10;
    width: 15rem;
    padding: 0.5rem;
    background: var(--hx-surface);
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-r-lg);
    box-shadow: var(--hx-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.22s var(--hx-ease), visibility 0s linear 0.22s;
}
html.hx .hx-account.is-open .hx-account__panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}
html.hx .hx-account__name {
    padding: 0.5rem 0.625rem 0.6rem;
    margin-bottom: 0.25rem;
    font-size: 0.8125rem;
    color: var(--hx-muted);
    border-bottom: 1px solid var(--hx-line);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
html.hx .hx-account__list a,
html.hx .hx-account__logout button {
    display: block;
    width: 100%;
    padding: 0.5rem 0.625rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: left;
    color: var(--hx-ink);
    text-decoration: none;
    cursor: pointer;
}
html.hx .hx-account__list a:hover,
html.hx .hx-account__logout button:hover { background: var(--hx-surface-2); }
html.hx .hx-account__logout {
    margin-top: 0.25rem;
    padding-top: 0.25rem;
    border-top: 1px solid var(--hx-line);
}

html.hx .hx-burger {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    border-radius: var(--hx-r);
    background: transparent;
    cursor: pointer;
    position: relative;
}
html.hx .hx-burger span {
    position: absolute;
    left: 0.6875rem;
    width: 1.125rem;
    height: 1.5px;
    background: var(--hx-ink);
    border-radius: 2px;
    transition: transform 0.22s var(--hx-ease), opacity 0.16s ease;
}
html.hx .hx-burger span:nth-child(1) { top: 0.875rem; }
html.hx .hx-burger span:nth-child(2) { top: 1.21875rem; }
html.hx .hx-burger span:nth-child(3) { top: 1.5625rem; }
html.hx.hx-nav-open .hx-burger span:nth-child(1) { transform: translateY(0.34375rem) rotate(45deg); }
html.hx.hx-nav-open .hx-burger span:nth-child(2) { opacity: 0; }
html.hx.hx-nav-open .hx-burger span:nth-child(3) { transform: translateY(-0.34375rem) rotate(-45deg); }

/* Give nav room before items collide with currency / account actions */
@media (max-width: 1480px) {
    html.hx .hx-header__bar { gap: 0.85rem; }
    html.hx .hx-nav__trigger { padding: 0 0.45rem; font-size: 0.9rem; }
    html.hx .hx-header .currency-switcher--header { display: none; }
    html.hx .hx-header__cta { margin-left: 0.15rem; padding: 0.5rem 0.85rem; }
    html.hx .hx-account { max-width: 8.5rem; }
}

/* Drawer layout — earlier than before so About Us never sits under actions */
@media (max-width: 1240px) {
    html.hx .hx-burger { display: block; }
    html.hx .hx-header__login,
    html.hx .hx-header__cta,
    html.hx .hx-account,
    html.hx .hx-header .currency-switcher--header { display: none; }

    html.hx .hx-nav {
        position: fixed;
        inset: var(--hx-nav-top, var(--hx-header-h)) 0 0 0;
        z-index: 190;
        display: flex;
        flex-direction: column;
        background: var(--hx-bg);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.18s ease, transform 0.22s var(--hx-ease), visibility 0s linear 0.22s;
    }
    html.hx.hx-nav-open .hx-nav {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition-delay: 0s;
    }
    html.hx.hx-nav-open body { overflow: hidden; }

    html.hx .hx-nav__list {
        display: block;
        padding: 0.5rem var(--hx-gutter) 0;
    }
    html.hx .hx-nav__item { border-bottom: 1px solid var(--hx-line); }
    html.hx .hx-nav__trigger {
        width: 100%;
        height: 3.5rem;
        padding: 0;
        justify-content: space-between;
        font-size: 1.0625rem;
        font-weight: 600;
        color: var(--hx-ink);
        border-radius: 0;
    }
    html.hx .hx-nav__trigger:hover,
    html.hx .hx-nav__item.is-open > .hx-nav__trigger { background: transparent; }

    html.hx .hx-mega,
    html.hx .hx-mega--compact {
        position: static;
        width: auto;
        padding: 0 0 1rem;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
    html.hx .hx-nav__item.is-open > .hx-mega { display: block; }
    html.hx .hx-mega__inner,
    html.hx .hx-mega__inner--feature {
        display: block;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }
    html.hx .hx-mega__cols,
    html.hx .hx-mega--compact .hx-mega__cols {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
        padding: 0;
    }
    html.hx .hx-mega__title { padding-inline: 0; }
    html.hx .hx-mega__link { padding-inline: 0; }
    html.hx .hx-mega__link:hover,
    html.hx .hx-mega__link[aria-current="page"] { background: transparent; }
    html.hx .hx-mega__feature { display: none; }

    html.hx .hx-nav__foot {
        display: grid;
        gap: 0.625rem;
        margin-top: auto;
        padding: 1.5rem var(--hx-gutter) max(1.5rem, env(safe-area-inset-bottom));
    }
    html.hx .hx-nav__foot .btn-block + .btn-block,
    html.hx .hx-nav__foot form + .btn-block,
    html.hx .hx-nav__foot .btn-block + form { margin-top: 0; }
    html.hx .hx-nav__foot .currency-switcher { display: block; margin: 0; }
    html.hx .hx-nav__foot .currency-switcher select { width: 100%; }
}

/* 4. Footer
   ========================================================================== */
html.hx .hx-footer {
    background: var(--hx-night);
    color: var(--hx-night-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--hx-night-line);
}
html.hx .hx-footer a {
    color: var(--hx-night-text);
    text-decoration: none;
    transition: color 0.14s ease;
}
html.hx .hx-footer a:hover { color: #fff; }

html.hx .hx-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
    gap: 3rem 4rem;
    padding-block: clamp(3rem, 6vw, 4.5rem);
}
html.hx .hx-footer .logo,
html.hx .hx-footer .logo:hover { color: #fff; }
html.hx .hx-footer__tagline {
    margin-top: 1rem;
    max-width: 22rem;
    line-height: 1.6;
}
html.hx .hx-footer__contact {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.75rem;
}
html.hx .hx-footer__contact li { display: grid; gap: 0.1rem; }
html.hx .hx-footer__contact span,
html.hx .hx-footer__label,
html.hx .hx-footer__heading {
    font-family: var(--hx-font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hx-night-muted);
}
html.hx .hx-footer__contact a { overflow-wrap: anywhere; }
html.hx .hx-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.75rem;
}
html.hx .hx-footer__social a {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--hx-night-line);
    border-radius: 8px;
    color: var(--hx-night-text);
    transition: border-color 0.14s ease, background-color 0.14s ease, color 0.14s ease;
}
html.hx .hx-footer__social a:hover {
    border-color: var(--hx-night-line-strong);
    background: rgba(255, 255, 255, 0.06);
}

html.hx .hx-footer__cols {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
}
html.hx .hx-footer__heading {
    margin-bottom: 1rem;
    line-height: 1.4;
}
html.hx .hx-footer__col ul { display: grid; gap: 0.6rem; }
html.hx .hx-footer__col a { line-height: 1.4; }

html.hx .hx-footer__assure {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem 2.5rem;
    padding-block: 1.5rem;
    border-top: 1px solid var(--hx-night-line);
}
html.hx .hx-footer__pay {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}
html.hx .hx-footer__pay ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
html.hx .hx-footer__pay li,
html.hx .hx-footer__badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--hx-night-text);
    border: 1px solid var(--hx-night-line);
    border-radius: var(--hx-r-sm);
}
html.hx .hx-footer__seals {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
html.hx .hx-footer .accreditation-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}
html.hx .hx-footer .accreditation-badge {
    display: block;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
}
html.hx .hx-footer .accreditation-badge__img {
    width: auto;
    height: 2.75rem;
    object-fit: contain;
}
html.hx .hx-footer__status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
html.hx .hx-footer__status .hp-icon { color: var(--hx-ok-on-night); }

html.hx .hx-footer__bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    padding-block: 1.5rem 2rem;
    border-top: 1px solid var(--hx-night-line);
    font-size: 0.8125rem;
}
html.hx .hx-footer__copy { max-width: 44rem; line-height: 1.6; }
html.hx .hx-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}
html.hx .hx-footer__legal a { color: var(--hx-night-muted); }

@media (max-width: 1100px) {
    html.hx .hx-footer__top { grid-template-columns: minmax(0, 1fr); }
    html.hx .hx-footer__brand {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0 3rem;
    }
    html.hx .hx-footer__contact {
        grid-column: 2;
        grid-row: 1 / span 3;
        margin-top: 0;
    }
    html.hx .hx-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    html.hx .hx-footer__brand { display: block; }
    html.hx .hx-footer__contact { margin-top: 1.75rem; }
    html.hx .hx-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 5. Page heroes
   ========================================================================== */
html.hx .hx-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
html.hx .hx-backdrop__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse 85% 90% at 70% 0%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 85% 90% at 70% 0%, #000 20%, transparent 75%);
}
html.hx .hx-backdrop__glow {
    --hx-glow: rgba(var(--hx-brand-rgb), 0.5);
    position: absolute;
    top: -24rem;
    right: -14rem;
    width: 64rem;
    height: 46rem;
    background: radial-gradient(closest-side, var(--hx-glow), transparent);
    opacity: 0.75;
}
html.hx .hx-backdrop--orbit .hx-backdrop__grid,
html.hx .hx-backdrop--harbor .hx-backdrop__grid {
    -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 75%);
}
html.hx .hx-backdrop--orbit .hx-backdrop__glow {
    right: 50%;
    transform: translateX(50%);
}
html.hx .hx-backdrop--harbor .hx-backdrop__glow {
    right: auto;
    left: -18rem;
    opacity: 0.55;
}
html.hx .hx-backdrop--ember .hx-backdrop__glow {
    --hx-glow: color-mix(in srgb, var(--hx-accent) 34%, transparent);
    opacity: 0.6;
}
html.hx .hx-backdrop--signal .hx-backdrop__glow {
    --hx-glow: rgba(45, 212, 191, 0.26);
}
html.hx .hx-backdrop--studio .hx-backdrop__glow {
    --hx-glow: rgba(129, 140, 248, 0.34);
}

/* New hero used by the redesigned templates. */
html.hx .hx-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--hx-night);
    color: var(--hx-night-text);
    padding-block: clamp(3.5rem, 7vw, 6rem);
}
html.hx .hx-hero__inner {
    position: relative;
    z-index: 1;
}
html.hx .hx-hero--split .hx-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
}
html.hx .hx-hero__copy { max-width: 40rem; }
html.hx .hx-hero--center .hx-hero__copy {
    max-width: 46rem;
    margin-inline: auto;
    text-align: center;
}
html.hx .hx-hero h1 { color: var(--hx-night-ink); }
html.hx .hx-hero__lead {
    margin-top: 1.25rem;
    max-width: 36rem;
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
    line-height: 1.6;
    color: var(--hx-night-text);
}
html.hx .hx-hero--center .hx-hero__lead { margin-inline: auto; }
html.hx .hx-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}
html.hx .hx-hero--center .hx-hero__actions { justify-content: center; }
html.hx .hx-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.75rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--hx-night-muted);
}
html.hx .hx-hero--center .hx-hero__meta { justify-content: center; }
html.hx .hx-hero__meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
html.hx .hx-hero__meta .hp-icon { color: var(--hx-ok-on-night); }
html.hx .hx-hero__visual {
    position: relative;
    min-width: 0;
}

@media (max-width: 980px) {
    html.hx .hx-hero--split .hx-hero__inner { grid-template-columns: minmax(0, 1fr); }
    html.hx .hx-hero__copy { max-width: 44rem; }
}
@media (max-width: 520px) {
    html.hx .hx-hero__actions .btn { flex: 1 1 100%; }
}

/* Existing page hero (blog, support, company and tool pages). */
html.hx .page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(3.25rem, 6vw, 5rem) 0;
    text-align: left;
    background: var(--hx-night);
    color: var(--hx-night-text);
    border: 0;
    box-shadow: none;
    clip-path: none;
}
html.hx .page-hero-sm { padding: clamp(2.75rem, 5vw, 4rem) 0; }
html.hx .page-hero h1 {
    max-width: 22ch;
    margin-bottom: 0;
    color: var(--hx-night-ink);
}
html.hx .page-hero p {
    max-width: 38rem;
    margin: 1.1rem 0 0;
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
    line-height: 1.6;
    color: var(--hx-night-text);
}
html.hx .page-hero .service-hero-actions{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-top: 2rem;
}

html.hx .breadcrumbs {
    padding: 0;
    margin: 0 0 1.5rem;
    font-family: var(--hx-font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    background: none;
    border: 0;
}
html.hx .breadcrumbs ol,
html.hx .breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.25rem 0.5rem;
}
html.hx .breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--hx-night-muted);
}
html.hx .breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin: 0;
    color: currentColor;
    opacity: 0.5;
}
html.hx .breadcrumbs a {
    color: var(--hx-night-muted);
    text-decoration: none;
}
html.hx .breadcrumbs a:hover { color: #fff; }
html.hx .breadcrumbs [aria-current="page"] { color: var(--hx-night-text); }
html.hx .breadcrumbs:not(.breadcrumbs--embedded) {
    padding-block: 1rem;
    margin: 0;
    border-bottom: 1px solid var(--hx-line);
}
html.hx .breadcrumbs:not(.breadcrumbs--embedded) li,
html.hx .breadcrumbs:not(.breadcrumbs--embedded) a { color: var(--hx-muted); }
html.hx .breadcrumbs:not(.breadcrumbs--embedded) a:hover { color: var(--hx-brand-text); }
html.hx .breadcrumbs:not(.breadcrumbs--embedded) [aria-current="page"] { color: var(--hx-ink); }

/* 6. Public-only components
   ========================================================================== */
/* Search dock: a raised surface that holds the domain search */
html.hx .hx-searchdock {
    padding: clamp(1.25rem, 3vw, 2rem);
    background: var(--hx-surface);
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-r-xl);
    box-shadow: var(--hx-shadow-lg);
}
html.hx .hx-searchdock__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1.125rem;
}
html.hx .hx-searchdock__title {
    font-size: 1.25rem;
    letter-spacing: -0.018em;
}

html.hx .hx-segment {
    display: inline-flex;
    gap: 0.125rem;
    padding: 0.25rem;
    background: var(--hx-surface-2);
    border: 1px solid var(--hx-line);
    border-radius: 12px;
}
html.hx .hx-segment__item {
    padding: 0.4rem 0.9rem;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--hx-muted);
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
}
html.hx a.hx-segment__item:hover,
html.hx button.hx-segment__item:hover { color: var(--hx-ink); }
html.hx .hx-segment__item.is-active,
html.hx .hx-segment__item.active {
    background: var(--hx-surface);
    color: var(--hx-ink);
    box-shadow: var(--hx-shadow-sm), 0 0 0 1px var(--hx-line);
    cursor: default;
}

/* Client logos */
html.hx .hx-logos { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
html.hx .hx-logos__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem 3rem;
}
html.hx .hx-logos__label {
    flex: none;
    font-family: var(--hx-font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hx-muted);
}
html.hx .hx-logos__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem 2.75rem;
}
html.hx .hx-logos__list a,
html.hx .hx-logos__list span {
    display: block;
    font-family: var(--hx-font-display);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--hx-muted);
    text-decoration: none;
    transition: color 0.16s ease, opacity 0.16s ease;
}
html.hx .hx-logos__list a:hover { color: var(--hx-ink); }
html.hx .hx-logos__list img {
    width: auto;
    height: 1.75rem;
    max-width: 8.5rem;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.65;
    transition: filter 0.2s ease, opacity 0.2s ease;
}
html.hx .hx-logos__list a:hover img {
    filter: none;
    opacity: 1;
}
html.hx[data-theme="dark"] .hx-logos__list img { filter: grayscale(1) invert(1) brightness(1.6); }

/* Promo codes */
html.hx .hx-promos { padding-bottom: 0; }
html.hx .hx-promos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 1.25rem;
}
html.hx .hx-promo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--hx-surface);
    border: 1px dashed var(--hx-line-strong);
    border-radius: var(--hx-r-lg);
}
html.hx .hx-promo__value {
    font-family: var(--hx-font-display);
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--hx-brand-text);
}
html.hx .hx-promo__title {
    font-size: 1.0625rem;
    color: var(--hx-ink);
}
html.hx .hx-promo__meta {
    font-size: 0.875rem;
    color: var(--hx-muted);
}
html.hx .hx-promo__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
}
html.hx .hx-promo__code {
    padding: 0.3rem 0.625rem;
    font-family: var(--hx-font-mono);
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    color: var(--hx-ink);
    background: var(--hx-surface-2);
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-r-sm);
}

/* Testimonials */
html.hx .hx-quotes__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
html.hx .hx-quotes__grid--1 { grid-template-columns: minmax(0, 42rem); }
html.hx .hx-quotes__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.hx .hx-quote {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--hx-surface);
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-r-lg);
}
html.hx .hx-quote__stars {
    display: flex;
    gap: 0.15rem;
}
html.hx .hx-quote__stars svg { fill: var(--hx-line-strong); }
html.hx .hx-quote__stars svg.is-on { fill: var(--hx-accent); }
html.hx .hx-quote blockquote p {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--hx-ink);
}
html.hx .hx-quote figcaption {
    display: grid;
    gap: 0.1rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--hx-line);
    font-size: 0.875rem;
}
html.hx .hx-quote figcaption strong {
    font-weight: 600;
    color: var(--hx-ink);
}
html.hx .hx-quote figcaption span { color: var(--hx-muted); }
@media (max-width: 960px) {
    html.hx .hx-quotes__grid,
    html.hx .hx-quotes__grid--2 { grid-template-columns: minmax(0, 1fr); }
}

/* Index list: linked rows with an icon, title and one-line description */
html.hx .hx-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(2rem, 4vw, 4rem);
    border-top: 1px solid var(--hx-line-strong);
}
html.hx .hx-index__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--hx-line);
    color: var(--hx-text);
    text-decoration: none;
    transition: border-color 0.16s ease;
}
html.hx .hx-index__item:hover { border-bottom-color: var(--hx-brand-text); }
html.hx .hx-index__icon {
    flex: none;
    color: var(--hx-muted);
    transition: color 0.16s ease;
}
html.hx .hx-index__item:hover .hx-index__icon { color: var(--hx-brand-text); }
html.hx .hx-index__copy {
    display: grid;
    gap: 0.15rem;
    flex: 1 1 auto;
    min-width: 0;
}
html.hx .hx-index__copy strong {
    font-family: var(--hx-font-display);
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: -0.012em;
    color: var(--hx-ink);
}
html.hx .hx-index__copy span {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--hx-muted);
}
html.hx .hx-index__arrow {
    flex: none;
    color: var(--hx-muted);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.16s ease, transform 0.22s var(--hx-ease), color 0.16s ease;
}
html.hx .hx-index__item:hover .hx-index__arrow,
html.hx .hx-index__item:focus-visible .hx-index__arrow {
    opacity: 1;
    transform: none;
    color: var(--hx-brand-text);
}
@media (max-width: 760px) {
    html.hx .hx-index { grid-template-columns: minmax(0, 1fr); }
}

/* Blog post teaser */
html.hx .hx-post {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}
html.hx .hx-post__body {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}
html.hx .hx-post__media {
    display: block;
    aspect-ratio: 16 / 9;
    margin-bottom: 0.5rem;
    background: var(--hx-surface-2);
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-r-lg);
    overflow: hidden;
}
html.hx .hx-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--hx-ease);
}
html.hx .hx-post:hover .hx-post__media img { transform: scale(1.03); }
/* No featured image: a ruled panel instead of a stock placeholder. */
html.hx .hx-post__media--empty {
    aspect-ratio: 5 / 2;
    background-color: var(--hx-night);
    background-image:
        radial-gradient(ellipse 70% 110% at 88% 0%, rgba(var(--hx-brand-rgb), 0.6), transparent 70%),
        linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
    border-color: var(--hx-night-line);
}
html.hx .hx-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.875rem;
    font-family: var(--hx-font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hx-muted);
}
html.hx .hx-post__meta span { color: var(--hx-brand-text); }
html.hx .hx-post h2,
html.hx .hx-post h3 {
    font-size: 1.25rem;
    letter-spacing: -0.018em;
    line-height: 1.3;
}
html.hx .hx-post--lead h2,
html.hx .hx-post--lead h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); letter-spacing: -0.024em; }
html.hx .hx-post h2 a,
html.hx .hx-post h3 a {
    color: var(--hx-ink);
    text-decoration: none;
}
html.hx .hx-post h2 a:hover,
html.hx .hx-post h3 a:hover { color: var(--hx-brand-text); }
html.hx .hx-post__excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--hx-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.hx .hx-faq__more { margin-top: 1.5rem; }
