/* =============================================================
   pay-level.css — 7th CPC Pay Level Pages
   Depends on index.css for: :root variables, .site-header,
   .site-footer, .container, .skip-link, .menu-toggle etc.
   ============================================================= */

/* ── extra tokens ─────────────────────────────────────────── */
:root {
    --brand-dim:    rgba(39,209,195,0.10);
    --brand-dim2:   rgba(39,209,195,0.06);
    --brand-border: rgba(39,209,195,0.20);
    --red-dim:      rgba(248,113,113,0.10);
    --red-border:   rgba(248,113,113,0.22);
}

/* ── breadcrumb ────────────────────────────────────────────── */
.page-breadcrumb {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin: 32px 0 22px;
}
.breadcrumb-scroll {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.breadcrumb-scroll::-webkit-scrollbar { display: none; }
.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 12px 18px;
    list-style: none;
    font-size: 0.92rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}
.breadcrumb-link, .breadcrumb-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.breadcrumb-link {
    color: #7dd3fc;
    text-decoration: none;
}
.breadcrumb-current {
    color: var(--text);
    font-weight: 600;
}
.breadcrumb-separator { color: #727272; }
.breadcrumb-home-icon { width: 15px; height: 15px; }

/* ── level hero ─────────────────────────────────────────────  */
.lhero { padding: 8px 0 32px; }
.lhero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.lhero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-dim);
    border: 1px solid var(--brand-border);
    border-radius: 999px;
    padding: 6px 14px 6px 10px;
    font-size: .74rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: .1em;
    text-transform: uppercase;
}
.lhero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%,100% { opacity: 1; }
    50% { opacity: .35; }
}
.lhero-pn {
    display: flex;
    align-items: center;
    gap: 8px;
}
.lhero-pn-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: .82rem;
    font-weight: 500;
    font-family: "Manrope", sans-serif;
    transition: border-color .18s, color .18s, background .18s;
    cursor: pointer;
    text-decoration: none;
}
.lhero-pn-btn:hover {
    border-color: rgba(255,255,255,.18);
    color: var(--text);
    background: var(--surface-soft);
}
.lhero-h1 {
    margin: 0 0 12px;
    font-size: clamp(2.1rem, 5vw, 3.8rem);
    line-height: 1;
    letter-spacing: -.04em;
    font-weight: 800;
}
.lhero-h1 em { font-style: normal; }
.lhero-sub {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 32px;
}
.lhero-sub strong {
    color: var(--text);
    font-weight: 600;
    background: rgba(255,255,255,.08);
    padding: 2px 8px;
    border-radius: 6px;
    margin: 0 4px;
}
.lhero-updated {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6a6a6a;
    margin: 0 0 16px;
    letter-spacing: .06em;
}
.lhero-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}
.lhero-quicklink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    color: var(--text);
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .18s, background .18s, transform .18s;
}
.lhero-quicklink:hover {
    border-color: rgba(255,255,255,.16);
    background: var(--surface-soft);
    transform: translateY(-1px);
}
.lhero-compare {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
}
.lhero-compare-label {
    width: 100%;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #8a8a8a;
}
.lhero-compare-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .18s, color .18s, background .18s;
}
.lhero-compare-link:hover {
    border-color: rgba(255,255,255,.16);
    color: var(--text);
    background: var(--surface-soft);
}


/* ── stat cards ─────────────────────────────────────────────  */
.stat-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.stat-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color .2s, background .2s;
}
.stat-card:hover {
    border-color: rgba(255,255,255,.14);
    background: var(--surface-soft);
}
.sc-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #8a8a8a;
}
.sc-value {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--text);
    font-feature-settings: "tnum";
}
.sc-note {
    font-size: .76rem;
    color: var(--muted);
    line-height: 1.5;
}


/* ── level tabs bar ─────────────────────────────────────────  */
.ltabs-bar {
    position: sticky;
    top: 76px;
    z-index: 10;
    background: rgba(11,11,11,.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 10px 0;
}
.ltabs-scroll {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 1px;
}
.ltabs-scroll::-webkit-scrollbar { display: none; }
.ltab {
    flex: 0 0 auto;
    padding: 7px 15px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--pill);
    color: var(--muted);
    font-size: .79rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s;
    text-decoration: none;
    font-family: "Manrope", sans-serif;
}
.ltab:hover {
    color: var(--text);
    border-color: rgba(255,255,255,.16);
}
.ltab.ltab-active {
    background: var(--brand);
    color: #032320;
    border-color: transparent;
    font-weight: 700;
}

/* ── page layout ─────────────────────────────────────────────  */
.lpage-area { padding: 32px 0 88px; }
.llayout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}
.lcontent { display: contents; }
#table-section { grid-column: 1 / -1; order: 1; }
#calc-section { grid-column: 1 / 2; order: 2; }
#cpc8-section { grid-column: 1 / 2; order: 3; }
#designations-section { grid-column: 1 / 2; order: 4; }
#faq-section { grid-column: 1 / 2; order: 5; }
.lsidebar {
    grid-column: 2 / 3;
    grid-row: 2 / 6;
    order: 6;
    position: sticky;
    top: 130px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── shared card shell ───────────────────────────────────────  */
.lcard {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
}
.lcard-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.lcard-icon { display: none; }
.lcard-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -.02em;
}
.lcard-subtitle {
    font-size: .78rem;
    color: var(--muted);
    margin-left: auto;
}

/* ── calculator panel ────────────────────────────────────────  */
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}
.calc-field { display: flex; flex-direction: column; gap: 6px; }
.calc-field label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: #8a8a8a;
}
.calc-select,
.calc-input {
    background: #0d0d0d;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 13px;
    color: var(--text);
    font-family: "Manrope", sans-serif;
    font-size: .91rem;
    outline: none;
    appearance: none;
    width: 100%;
    transition: border-color .18s;
}
.calc-select:focus,
.calc-input:focus { border-color: rgba(39,209,195,.4); }

.calc-divider {
    height: 1px;
    background: var(--line);
    margin: 14px 0;
}
.calc-rows { display: flex; flex-direction: column; gap: 2px; }
.calc-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    border-radius: 8px;
    transition: background .15s;
}
.calc-row:hover { background: rgba(255,255,255,.03); }
.calc-row-k { color: var(--muted); font-size: .88rem; }
.calc-row-v {
    color: var(--text);
    font-weight: 600;
    font-size: .9rem;
    font-feature-settings: "tnum";
}
.calc-row.cr-ded .calc-row-v { color: #f87171; }
.calc-row.cr-gross { border-top: 1px solid var(--line); margin-top: 4px; }
.calc-row.cr-gross .calc-row-k,
.calc-row.cr-gross .calc-row-v { font-weight: 700; color: var(--text); }

.calc-result {
    background: var(--brand-dim2);
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    gap: 10px;
    flex-wrap: wrap;
}
.calc-result-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--brand);
    line-height: 1.4;
}
.calc-result-note {
    font-size: .7rem;
    color: rgba(39,209,195,.6);
    font-weight: 400;
    margin-top: 3px;
}
.calc-result-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -.04em;
    font-feature-settings: "tnum";
    white-space: nowrap;
}

/* ── pay matrix table ────────────────────────────────────────  */
.ptable-wrap {
    overflow-x: auto;
    margin: 0 -24px;
    padding: 0 24px;
    max-height: 480px;
    overflow-y: auto;
}
.ptable-wrap::-webkit-scrollbar { width: 5px; height: 5px; }
.ptable-wrap::-webkit-scrollbar-track { background: transparent; }
.ptable-wrap::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 99px; }
.ptable {
    width: 100%;
    border-collapse: collapse;
    font-size: .83rem;
    min-width: 580px;
}
.ptable thead {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #161616;
}
.ptable thead th {
    padding: 10px 12px;
    text-align: right;
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #8a8a8a;
    background: #161616;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
.ptable thead th:first-child { text-align: left; }
.ptable tbody tr {
    border-bottom: 1px solid rgba(255,255,255,.025);
    transition: background .1s;
    cursor: pointer;
}
.ptable tbody tr:hover { background: rgba(255,255,255,.03); }
.ptable tbody tr.pt-active {
    background: rgba(39,209,195,.07);
}
.ptable tbody td {
    padding: 8px 12px;
    text-align: right;
    color: var(--muted);
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.ptable tbody td:first-child { text-align: left; }
.ptable tbody tr.pt-active td { color: var(--text); }
.pt-cell-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: .73rem;
    font-weight: 700;
    background: rgba(255,255,255,.05);
    color: #c8c8c8;
    font-feature-settings: "tnum";
}
.ptable tbody tr.pt-active .pt-cell-pill {
    background: rgba(39,209,195,.22);
    color: var(--brand);
}
.ptable tbody td.td-basic {
    color: var(--text);
    font-weight: 600;
}
.ptable tbody tr.pt-active td.td-basic { color: var(--brand); font-weight: 700; }

/* 8th CPC projected column */
.th-cpc8 {
    background: rgba(167,243,208,.06) !important;
    color: #5a8a75 !important;
    border-left: 1px solid rgba(167,243,208,.12);
}
.td-cpc8 {
    color: #6aab8e !important;
    font-weight: 600;
    border-left: 1px solid rgba(167,243,208,.07);
}
.ptable tbody tr.pt-active .td-cpc8 { color: #a7f3d0 !important; }

/* Entry row tag */
.pt-entry-tag {
    display: inline-block;
    font-size: .58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: rgba(39,209,195,.15);
    color: var(--brand);
    border-radius: 4px;
    padding: 1px 5px;
    margin-left: 5px;
    vertical-align: middle;
    line-height: 1.6;
}


/* ── 8th CPC projection ──────────────────────────────────────  */
.fitment-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.fitment-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: #8a8a8a;
    white-space: nowrap;
}
.fitment-range {
    flex: 1;
    min-width: 120px;
    height: 4px;
    border-radius: 999px;
    outline: none;
    cursor: pointer;
    appearance: none;
    background: rgba(255,255,255,.12);
    accent-color: var(--brand);
}
.fitment-range::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 999px;
}
.fitment-range::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand);
    border: 3px solid #0b0b0b;
    box-shadow: 0 0 0 2px rgba(39,209,195,.28);
    cursor: pointer;
    margin-top: -8px;
}
.fitment-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand);
    border: 3px solid #0b0b0b;
    cursor: pointer;
}
.fitment-display {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand);
    min-width: 44px;
    text-align: right;
    font-feature-settings: "tnum";
}
.fitment-ticks {
    display: flex;
    justify-content: space-between;
    font-size: .68rem;
    color: #666;
    margin-top: -16px;
    margin-bottom: 20px;
    padding: 0 2px;
}

.cpc-compare {
    display: grid;
    grid-template-columns: 1fr 32px 1fr;
    gap: 10px;
    align-items: center;
}
.cpc-col {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cpc-col.cpc-proj {
    background: rgba(39,209,195,.05);
    border-color: rgba(39,209,195,.18);
}
.cpc-col-lbl {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #8a8a8a;
}
.cpc-col.cpc-proj .cpc-col-lbl { color: var(--brand); }
.cpc-rows { display: flex; flex-direction: column; gap: 10px; }
.cpc-item { display: flex; flex-direction: column; gap: 2px; }
.cpc-item-k { font-size: .74rem; color: var(--muted); }
.cpc-item-v {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    font-feature-settings: "tnum";
}
.cpc-col.cpc-proj .cpc-item-v { color: #a7f3d0; }
.cpc-arrow-col {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 1.2rem;
    opacity: .6;
}
.cpc-increase {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(39,209,195,.1);
    border: 1px solid rgba(39,209,195,.2);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--brand);
    margin-top: 14px;
}
.cpc-note {
    font-size: .76rem;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 14px;
    padding: 12px 14px;
    background: rgba(255,255,255,.02);
    border-radius: 10px;
    border-left: 2px solid rgba(255,255,255,.08);
}

/* ── FAQ ─────────────────────────────────────────────────────  */
.lfaq-list { display: flex; flex-direction: column; gap: 10px; }
.lfaq-item {
    background: #101010;
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: border-color .2s, background .2s;
}
.lfaq-item[open] {
    background: var(--surface);
    border-color: rgba(255,255,255,.12);
}
.lfaq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .97rem;
    font-weight: 400;
    line-height: 1.45;
    user-select: none;
}
.lfaq-item summary::-webkit-details-marker { display: none; }
.lfaq-item summary::before {
    content: "+";
    flex: 0 0 auto;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 300;
    color: var(--text);
    width: 24px;
    text-align: center;
}
.lfaq-item[open] summary::before { content: "−"; }
.lfaq-answer {
    padding: 0 22px 18px 60px;
    color: var(--muted);
    line-height: 1.8;
    font-size: .88rem;
}
.lfaq-answer a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); }

/* ── sidebar ─────────────────────────────────────────────────  */
.sb-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
}
.sb-label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #8a8a8a;
    margin-bottom: 14px;
}
.sb-facts { display: flex; flex-direction: column; }
.sb-fact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    font-size: .83rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.sb-fact:last-child { border-bottom: none; padding-bottom: 0; }
.sb-fact-k { color: var(--muted); flex-shrink: 0; }
.sb-fact-v {
    color: var(--text);
    font-weight: 600;
    text-align: right;
    font-feature-settings: "tnum";
    word-break: break-word;
}
.sb-links { display: flex; flex-direction: column; gap: 6px; }
.sb-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.02);
    color: var(--muted);
    font-size: .83rem;
    transition: background .18s, color .18s, border-color .18s;
    text-decoration: none;
}
.sb-link:hover {
    background: var(--surface-soft);
    color: var(--text);
    border-color: rgba(255,255,255,.12);
}
.sb-link.sb-link-strong {
    background: var(--brand-dim2);
    border-color: var(--brand-border);
    color: var(--brand);
}
.sb-link.sb-link-strong:hover {
    background: rgba(39,209,195,.09);
    border-color: rgba(39,209,195,.28);
    color: #bdfcf5;
}
.sb-link-num {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(255,255,255,.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 700;
    color: #c8c8c8;
    flex: 0 0 auto;
}

/* ── hub page ─────────────────────────────────────────────────  */
.hub-hero { padding: 64px 0 40px; text-align: center; }
.hub-eyebrow {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .78rem;
    font-weight: 700;
    color: #8a8a8a;
}
.hub-h1 {
    margin: 0 0 18px;
    font-size: clamp(2.6rem, 6.5vw, 4.4rem);
    line-height: 1;
    letter-spacing: -.04em;
    font-weight: 800;
}
.hub-h1 em { font-style: normal; color: var(--brand); }
.hub-desc {
    max-width: 660px;
    margin: 0 auto 36px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}
.hub-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: .82rem;
    color: var(--muted);
    flex-wrap: wrap;
}
.hub-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 12px;
}
.hub-intent-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 26px auto 22px;
    max-width: 1040px;
    text-align: left;
}
.hub-intent-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hub-intent-label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #8a8a8a;
}
.hub-intent-card strong {
    font-size: .95rem;
    line-height: 1.45;
    letter-spacing: -.02em;
}
.hub-jump-shell {
    max-width: 1040px;
    margin: 22px auto 0;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.025);
}
.hub-jump-label {
    margin: 0 0 14px;
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: #8a8a8a;
}
.hub-jump-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.hub-jump-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .18s, background .18s, transform .18s;
}
.hub-jump-link:hover {
    border-color: rgba(255,255,255,.16);
    background: var(--surface-soft);
    transform: translateY(-1px);
}
.hub-section-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: #8a8a8a;
    margin: 0 0 18px;
}
.hub-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    padding: 0 0 80px;
}
.hub-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.hub-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: radial-gradient(circle at 80% 20%, rgba(39,209,195,.06), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.hub-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.16); background: var(--surface-soft); }
.hub-card:hover::after { opacity: 1; }
.hub-card.hc-group-a .hub-card-badge { background: rgba(39,209,195,.14); color: var(--brand); }
.hub-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.hub-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    font-size: .78rem;
    font-weight: 800;
    color: #c8c8c8;
}
.hub-card-group {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #6a6a6a;
}
.hub-card h2 {
    margin: 0;
    font-size: .98rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.3;
    color: var(--text);
}
.hub-card-post {
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.45;
}
.hub-card-pay {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -.04em;
    font-feature-settings: "tnum";
    line-height: 1;
}
.hub-card-inhand {
    font-size: .76rem;
    color: #5a8a85;
}
.hub-card-footer {
    margin-top: auto;
    font-size: .76rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.04);
}
.hub-card:hover .hub-card-footer { color: var(--text); }
.hub-card-arrow { font-size: .9rem; }

/* ── section header inside hub ─────────────────────────────── */
.hub-section {
    padding: 0 0 32px;
}
.hub-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.hub-section-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--brand-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: .9rem;
    flex: 0 0 auto;
}
.hub-section-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.025em;
}

/* ── info/content sections ─────────────────────────────────── */
.linfo-section { padding: 0 0 36px; }
.linfo-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
}
.linfo-card h2 {
    margin: 0 0 14px;
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: -.03em;
    line-height: 1.1;
}
.linfo-card p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.8;
}
.linfo-card p:last-child { margin: 0; }

/* ── responsive ──────────────────────────────────────────────  */
@media (max-width: 1120px) {
    .llayout { grid-template-columns: minmax(0, 1fr); }
    #calc-section, #cpc8-section, #faq-section { grid-column: 1 / -1; }
    .lsidebar { grid-column: 1 / -1; grid-row: auto; position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .hub-grid { grid-template-columns: repeat(3,1fr); }
    .hub-intent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .calc-grid { grid-template-columns: 1fr 1fr; }
    .stat-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 840px) {
    .stat-row { grid-template-columns: repeat(2, 1fr); }

    .cpc-compare { grid-template-columns: 1fr; }
    .cpc-arrow-col { display: none; }
    .hub-grid { grid-template-columns: repeat(2,1fr); }
    .hub-intent-grid { grid-template-columns: 1fr; }
    .lsidebar { grid-template-columns: 1fr; }
    .calc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .stat-row { grid-template-columns: 1fr; }
    .hub-grid { grid-template-columns: 1fr; }
    .lcard { padding: 18px; }
    .calc-grid { grid-template-columns: 1fr; }
    .lfaq-item summary { padding: 14px 16px; font-size: .92rem; }
    .lfaq-answer { padding: 0 16px 14px 52px; }
    .calc-result-value { font-size: 1.55rem; }
    .sc-value { font-size: 1.4rem; }
    .page-breadcrumb { margin: 16px 0 16px; }
    .breadcrumb-list { padding: 10px 14px; font-size: 0.84rem; gap: 8px; }
    .lhero { padding: 12px 0 24px; }
    .lhero-h1 { font-size: clamp(1.95rem, 9vw, 2.5rem); margin-bottom: 10px; }
    .lhero-updated { margin-bottom: 12px; }
    .lhero-sub { font-size: 0.98rem; margin-bottom: 24px; }
    .hub-hero { padding: 48px 0 32px; }
    .ptable-wrap { margin: 0 -18px; padding: 0 18px; }
}
