/* =========================================================
   ULTRALINK UK — Healthcare UK Service Pricing
   healthcare-uk-service-pricing.css · Premium SaaS
   ========================================================= */

.husp-page {
    --husp-primary: #1263fb;
    --husp-secondary: #0ea5e9;
    --husp-accent: #22c55e;
    --husp-accent-dark: #15803d;
    --husp-dark: #0a1628;
    --husp-muted: #64748b;
    --husp-line: rgba(10, 22, 40, 0.1);
    --husp-soft: #f4f7fc;
    --husp-radius: 18px;
    --husp-radius-lg: 24px;
    --husp-shadow: 0 12px 36px rgba(10, 22, 40, 0.06);
    --husp-shadow-hover: 0 22px 48px rgba(18, 99, 251, 0.14);
    --husp-grad-brand: linear-gradient(135deg, var(--husp-accent) 0%, var(--husp-primary) 100%);
    --husp-grad-dark: linear-gradient(135deg, #060d18 0%, #0a1628 48%, #0e2238 100%);
    color: var(--husp-dark);
}

.husp-page .husp-hero > .container,
.husp-page .husp-main > .container {
    width: 100%;
    max-width: 100%;
    padding-inline: clamp(20px, 3vw, 40px);
}

[class*="husp-"] { min-width: 0; }

.husp-page [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.husp-page [data-reveal].revealed {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .husp-page [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.husp-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.1);
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--husp-accent-dark);
}

.husp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--husp-grad-brand);
    color: #fff !important;
    box-shadow: 0 10px 32px rgba(18, 99, 251, 0.28);
    border: none;
}
.husp-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(18, 99, 251, 0.38);
}
.husp-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(18, 99, 251, 0.22);
    color: var(--husp-primary) !important;
    background: #fff;
}
.husp-btn-outline:hover {
    background: rgba(18, 99, 251, 0.06);
    transform: translateY(-2px);
}

/* Hero */
.husp-hero {
    position: relative;
    overflow: hidden;
    background: var(--husp-grad-dark);
    padding: calc(var(--header-h) + clamp(40px, 5vw, 64px)) 0 clamp(40px, 5vw, 64px);
    color: #fff;
}
.husp-page .husp-hero h1,
.husp-page .husp-hero p {
    color: #fff;
}
.husp-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.husp-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
}
.husp-hero-glow--1 {
    width: 460px;
    height: 460px;
    background: rgba(18, 99, 251, 0.2);
    top: -140px;
    right: -60px;
}
.husp-hero-glow--2 {
    width: 380px;
    height: 380px;
    background: rgba(34, 197, 94, 0.14);
    bottom: -140px;
    left: -80px;
}
.husp-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image:
        linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.45) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent);
}
.husp-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}
.husp-hero-copy {
    min-width: 0;
    width: 100%;
    max-width: min(100%, 920px);
    margin-inline: auto;
}
.husp-hero-copy h1 {
    margin: 0 auto;
    max-width: none;
    font-family: var(--font-head);
    font-size: clamp(1.85rem, 3.2vw, 2.85rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.025em;
    color: #ffffff;
    text-align: center;
    text-wrap: balance;
}

/* Layout */
.husp-main {
    padding: clamp(40px, 5vw, 64px) 0 var(--section-y);
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(18, 99, 251, 0.05), transparent 60%),
        linear-gradient(180deg, var(--husp-soft) 0%, #fff 32%);
}
.husp-layout {
    display: grid;
    grid-template-columns: minmax(240px, 260px) minmax(0, 1fr);
    gap: clamp(20px, 2.5vw, 32px);
    align-items: start;
    width: 100%;
}

/* Sidebar */
.husp-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    align-self: start;
    z-index: 4;
    height: fit-content;
    max-height: calc(100vh - var(--header-h) - 32px);
}
.husp-sidebar-panel {
    padding: clamp(20px, 2.4vw, 24px);
    border-radius: var(--husp-radius-lg);
    background: #fff;
    border: 1px solid var(--husp-line);
    box-shadow: var(--husp-shadow);
    max-height: inherit;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(18, 99, 251, 0.28) transparent;
}
.husp-sidebar-panel::-webkit-scrollbar {
    width: 6px;
}
.husp-sidebar-panel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(18, 99, 251, 0.28);
}
.husp-sidebar-kicker {
    display: block;
    margin-bottom: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--husp-accent-dark);
}
.husp-sidebar-title {
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--husp-line);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 750;
    color: var(--husp-dark);
}
.husp-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}
.husp-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: var(--husp-muted);
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.husp-sidebar-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(18, 99, 251, 0.08);
    border: 1px solid rgba(18, 99, 251, 0.1);
    color: var(--husp-primary);
    font-size: 0.82rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.husp-sidebar-label { flex: 1; min-width: 0; }
.husp-sidebar-chevron {
    flex-shrink: 0;
    font-size: 0.65rem;
    opacity: 0.35;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.husp-sidebar-link:hover {
    background: rgba(18, 99, 251, 0.04);
    border-color: rgba(18, 99, 251, 0.1);
    color: var(--husp-dark);
}
.husp-sidebar-link--active {
    background: linear-gradient(135deg, rgba(18, 99, 251, 0.08), rgba(34, 197, 94, 0.05));
    border-color: rgba(18, 99, 251, 0.18);
    box-shadow: 0 8px 24px rgba(18, 99, 251, 0.08);
    color: var(--husp-dark);
}
.husp-sidebar-link--active .husp-sidebar-icon {
    background: var(--husp-grad-brand);
    border-color: transparent;
    color: #fff;
}
.husp-sidebar-link--active .husp-sidebar-chevron {
    opacity: 1;
    transform: translateX(2px);
    color: var(--husp-primary);
}

/* Panel */
.husp-content { min-width: 0; }
.husp-panel {
    padding: clamp(24px, 3vw, 34px);
    border-radius: var(--husp-radius-lg);
    background: #fff;
    border: 1px solid var(--husp-line);
    box-shadow: var(--husp-shadow);
}
.husp-panel-head {
    margin-bottom: clamp(22px, 3vw, 30px);
}
.husp-panel-head h2 {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--husp-dark);
}

/* Tier summary cards */
.husp-tier-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    margin-bottom: clamp(28px, 3.5vw, 36px);
    align-items: stretch;
}
.husp-tier-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(10, 22, 40, 0.08);
    box-shadow: 0 4px 18px rgba(10, 22, 40, 0.05);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.husp-tier-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(10, 22, 40, 0.08);
    border-color: rgba(18, 99, 251, 0.14);
}
.husp-tier-card--featured {
    border-color: rgba(18, 99, 251, 0.16);
    box-shadow:
        0 16px 40px rgba(18, 99, 251, 0.14),
        0 6px 18px rgba(10, 22, 40, 0.06);
    transform: translateY(-4px);
    z-index: 1;
}
.husp-tier-card--featured::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--husp-grad-brand);
}
.husp-tier-card--featured:hover {
    transform: translateY(-6px);
    box-shadow:
        0 22px 48px rgba(18, 99, 251, 0.18),
        0 8px 22px rgba(10, 22, 40, 0.07);
}
.husp-tier-card-top {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 36px;
    padding: 16px 20px 0;
}
.husp-tier-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px clamp(20px, 2.5vw, 28px) clamp(32px, 3.5vw, 40px);
}
.husp-tier-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(18, 99, 251, 0.1);
    border: 1px solid rgba(18, 99, 251, 0.12);
    font-family: var(--font-head);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--husp-primary);
    line-height: 1;
}
.husp-tier-card-badge--placeholder {
    visibility: hidden;
    pointer-events: none;
}
.husp-tier-card h3 {
    margin: 0 0 14px;
    font-family: var(--font-head);
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--husp-dark);
}
.husp-tier-card-price {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin: 0;
    line-height: 1;
}
.husp-tier-card-price strong {
    font-family: var(--font-head);
    font-size: clamp(1.65rem, 2.8vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--husp-primary);
}
.husp-tier-card-price span {
    font-size: clamp(0.78rem, 1.2vw, 0.88rem);
    font-weight: 600;
    color: var(--husp-muted);
}
.husp-tier-card-note {
    margin: 10px 0 0;
    font-size: 0.76rem;
    color: var(--husp-muted);
}

/* Comparison block */
.husp-compare {
    margin-top: 8px;
    min-width: 0;
}
.husp-compare-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 16px;
    padding: 0 2px;
}
.husp-compare-head-copy {
    min-width: 0;
    flex: 1 1 auto;
}
.husp-compare-title {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--husp-dark);
}
.husp-table-scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(18, 99, 251, 0.08);
    border: 1px solid rgba(18, 99, 251, 0.14);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--husp-primary);
    white-space: nowrap;
}
.husp-table-scroll-hint i {
    font-size: 0.78rem;
    opacity: 0.85;
}
.husp-compare-shell {
    position: relative;
    border-radius: var(--husp-radius);
    overflow: hidden;
    border: 1px solid rgba(18, 99, 251, 0.12);
    background: #fff;
    box-shadow:
        var(--husp-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.husp-compare-shell::before,
.husp-compare-shell::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.husp-compare-shell::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), transparent);
}
.husp-compare-shell::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.96), transparent);
}
.husp-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(18, 99, 251, 0.35) transparent;
}
.husp-table-scroll:focus-visible {
    outline: 2px solid rgba(18, 99, 251, 0.45);
    outline-offset: -2px;
}
.husp-table-scroll::-webkit-scrollbar {
    height: 8px;
}
.husp-table-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(18, 99, 251, 0.35);
}
.husp-table-scroll::-webkit-scrollbar-track {
    background: rgba(18, 99, 251, 0.06);
}

.husp-table {
    width: 100%;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.84rem;
}
.husp-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        var(--husp-grad-dark);
    background-size: 44px 44px, 44px 44px, auto;
    color: #fff;
    border-bottom: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}
.husp-table thead tr {
    background: var(--husp-grad-dark);
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2);
}
.husp-table-feature-col {
    width: 28%;
    min-width: 180px;
    max-width: 220px;
    padding: 12px 14px !important;
    text-align: left;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #93c5fd;
    vertical-align: middle;
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.husp-tier-head {
    width: 24%;
    padding: 12px 12px !important;
    text-align: center;
    vertical-align: middle;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.husp-tier-head--featured {
    position: relative;
    background:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(180deg, rgba(18, 99, 251, 0.28) 0%, rgba(10, 22, 40, 0) 100%),
        var(--husp-grad-dark);
    background-size: 44px 44px, 44px 44px, auto, auto;
    box-shadow: inset 0 -2px 0 var(--husp-accent);
}
.husp-tier-head--featured::before {
    display: none;
}
.husp-tier-name {
    display: block;
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: #ffffff;
}
.husp-tier-price {
    display: block;
    margin-top: 4px;
    font-family: var(--font-head);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #ffffff;
}
.husp-tier-price small {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.62);
}
.husp-tier-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #bfdbfe;
}

/* Section rows */
.husp-section-row th {
    position: relative;
    padding: 16px 20px 16px 24px;
    background: linear-gradient(135deg, rgba(18, 99, 251, 0.07), rgba(34, 197, 94, 0.04));
    border-top: 1px solid var(--husp-line);
    border-bottom: 1px solid var(--husp-line);
    text-align: left;
}
.husp-section-row--pricing th {
    background: linear-gradient(135deg, rgba(18, 99, 251, 0.12), rgba(34, 197, 94, 0.07));
}
.husp-section-marker {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--husp-grad-brand);
}
.husp-section-marker--pricing {
    width: 5px;
}
.husp-section-copy { display: block; padding-left: 8px; }
.husp-section-title {
    display: block;
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--husp-accent-dark);
}
.husp-section-sub {
    display: block;
    margin-top: 4px;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--husp-muted);
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.5;
}

/* Data rows */
.husp-data-row:hover td,
.husp-data-row:hover th[scope="row"] {
    background: rgba(18, 99, 251, 0.025);
}
.husp-table tbody th[scope="row"] {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 28%;
    min-width: 180px;
    max-width: 220px;
    padding: 14px 16px;
    font-weight: 650;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--husp-dark);
    background: #f8fafc;
    border-bottom: 1px solid var(--husp-line);
    border-right: 1px solid var(--husp-line);
    vertical-align: middle;
    text-align: left;
    box-shadow: 4px 0 12px rgba(10, 22, 40, 0.04);
}
.husp-cell {
    padding: 14px 16px;
    line-height: 1.5;
    color: var(--husp-muted);
    border-bottom: 1px solid var(--husp-line);
    border-left: 1px solid var(--husp-line);
    vertical-align: middle;
    text-align: center;
    background: #fff;
    transition: background 0.15s ease;
}
.husp-cell--featured-col {
    background: rgba(34, 197, 94, 0.04);
    box-shadow: inset 1px 0 0 rgba(34, 197, 94, 0.12), inset -1px 0 0 rgba(34, 197, 94, 0.12);
}
.husp-cell--text {
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.55;
}
.husp-cell--text .husp-val {
    display: block;
    text-align: left;
    justify-content: flex-start;
}
.husp-val {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 100%;
    text-align: center;
    font-weight: 500;
}
.husp-val--yes {
    color: var(--husp-accent-dark);
    font-weight: 700;
}
.husp-val--yes i {
    flex-shrink: 0;
    font-size: 0.82rem;
    color: var(--husp-accent);
}
.husp-val--dash {
    color: rgba(100, 116, 139, 0.45);
    font-weight: 700;
    font-size: 1rem;
}
.husp-val--na {
    color: rgba(100, 116, 139, 0.55);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Pricing rows */
.husp-pricing-row th[scope="row"] {
    background: rgba(18, 99, 251, 0.05);
    font-weight: 700;
}
.husp-pricing-row .husp-cell--price {
    padding: 18px 16px;
    background: linear-gradient(180deg, rgba(18, 99, 251, 0.04), #fff);
}
.husp-pricing-row .husp-cell--price.husp-cell--featured-col {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.04));
}
.husp-cell--price strong {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    font-weight: 800;
    color: var(--husp-dark);
    white-space: nowrap;
}
.husp-cell--price.husp-cell--featured-col strong {
    color: var(--husp-accent-dark);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
}

/* Assumptions */
.husp-assumptions {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 24px;
    padding: 14px 18px 14px 20px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(10, 22, 40, 0.08);
    box-shadow: 0 6px 22px rgba(10, 22, 40, 0.05);
    overflow: hidden;
}
.husp-assumptions-marker {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--husp-grad-brand);
}
.husp-assumptions-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--husp-grad-brand);
    color: #fff;
    font-size: 0.92rem;
    box-shadow: 0 8px 18px rgba(18, 99, 251, 0.22);
}
.husp-assumptions-copy {
    flex: 1;
    min-width: 0;
    padding-top: 1px;
}
.husp-assumptions-text {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.6;
    font-weight: 500;
    color: var(--husp-dark);
}
.husp-assumptions-footnote {
    position: relative;
    margin: 8px 0 0;
    padding-left: 14px;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--husp-muted);
}
.husp-assumptions-footnote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--husp-accent);
    transform: translateY(-50%);
}
.husp-assumptions-footnote:last-child {
    margin-bottom: 0;
}
.husp-panel-cta {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

/* Empty state */
.husp-panel--empty { min-height: 360px; }
.husp-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 260px;
    padding: 24px;
    border-radius: var(--husp-radius);
    background: linear-gradient(180deg, var(--husp-soft) 0%, #fff 100%);
    border: 1px dashed rgba(18, 99, 251, 0.18);
    text-align: center;
}
.husp-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: var(--husp-grad-brand);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 12px 28px rgba(18, 99, 251, 0.22);
}
.husp-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Responsive */
@media (max-width: 1100px) {
    /* Tablet comparison table */
    .husp-compare-head {
        align-items: center;
        flex-wrap: wrap;
    }
    .husp-table {
        min-width: 760px;
        font-size: 0.82rem;
    }
    .husp-table-feature-col {
        width: 28%;
        min-width: 160px;
        max-width: 200px;
        padding: 11px 12px !important;
    }
    .husp-tier-head {
        width: 24%;
        min-width: 150px;
        padding: 11px 10px !important;
    }
    .husp-tier-name { font-size: 0.84rem; }
    .husp-tier-price { font-size: 0.92rem; }
    .husp-table tbody th[scope="row"] {
        min-width: 160px;
        max-width: 200px;
        padding: 12px 14px;
        font-size: 0.78rem;
    }
    .husp-cell {
        min-width: 150px;
        padding: 12px 14px;
    }
    .husp-section-row th {
        padding: 14px 16px 14px 20px;
    }
    .husp-compare-shell::after { opacity: 1; }
}

@media (max-width: 1024px) {
    .husp-layout { grid-template-columns: 1fr; }
    .husp-sidebar {
        position: static;
        max-height: none;
    }
    .husp-sidebar-panel {
        max-height: none;
        overflow-y: visible;
    }
    .husp-sidebar-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .husp-tier-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
    .husp-tier-card--featured { order: 0; transform: translateY(-2px); }
    .husp-tier-card-body { padding-bottom: clamp(28px, 3vw, 34px); }
}

@media (max-width: 768px) {
    .husp-sidebar-list { grid-template-columns: 1fr; }
    .husp-panel { padding: 18px 16px; }
    .husp-tier-cards { grid-template-columns: 1fr; gap: 14px; }
    .husp-tier-card--featured { transform: none; }
    .husp-tier-card--featured:hover { transform: translateY(-2px); }
    .husp-tier-card-top { min-height: 0; padding-top: 14px; }
    .husp-tier-card-badge--placeholder { display: none; }
    .husp-tier-card-body { padding: 4px 20px 28px; }
    .husp-compare-head {
        flex-direction: column;
        align-items: stretch;
    }
    .husp-table-scroll-hint {
        align-self: flex-start;
        font-size: 0.68rem;
    }
    .husp-table { min-width: 680px; }
    .husp-empty-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
    }
    .husp-empty-actions .btn { justify-content: center; }
    .husp-table tbody th[scope="row"] {
        position: static;
        box-shadow: none;
        min-width: 150px;
        max-width: 180px;
    }
}

@media (hover: none) {
    .husp-btn-primary:hover,
    .husp-btn-outline:hover,
    .husp-tier-card:hover { transform: none; }
    .husp-compare-shell::after { opacity: 1; }
}

@media (min-width: 1101px) {
    .husp-table-scroll-hint { display: none; }
}
