:root {
    --hc-bg: #08090b;
    --hc-bg-soft: #0e1117;
    --hc-card: #121722;
    --hc-card-2: #171d2a;
    --hc-border: rgba(230, 185, 92, .18);
    --hc-border-soft: rgba(255, 255, 255, .08);
    --hc-text: #f7f3ea;
    --hc-muted: #a7acb8;
    --hc-gold: #e6b95c;
    --hc-gold-2: #ff9d2e;
    --hc-green: #33d17a;
    --hc-red: #ff6b6b;
    --hc-blue: #74c0fc;
    --hc-shadow: 0 24px 80px rgba(0, 0, 0, .38);
    --hc-radius: 22px;
    --hc-radius-sm: 14px;
    --hc-container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.hc-tools-body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 12% 8%, rgba(230, 185, 92, .12), transparent 30%),
        radial-gradient(circle at 84% 12%, rgba(255, 157, 46, .10), transparent 26%),
        linear-gradient(180deg, #07080a 0%, #0a0c10 45%, #07080a 100%);
    color: var(--hc-text);
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.hc-skip {
    position: absolute;
    left: -999px;
    top: 10px;
    background: var(--hc-gold);
    color: #121212;
    padding: 10px 14px;
    border-radius: 10px;
    z-index: 99;
}
.hc-skip:focus { left: 10px; }
.hc-container {
    width: min(var(--hc-container), calc(100% - 32px));
    margin: 0 auto;
}
.hc-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--hc-border-soft);
    background: rgba(7, 8, 10, .82);
    backdrop-filter: blur(14px);
}
.hc-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.hc-brand { display: grid; gap: 3px; }
.hc-brand-title {
    font-weight: 850;
    letter-spacing: -.03em;
    font-size: clamp(18px, 2vw, 24px);
}
.hc-brand-subtitle {
    color: var(--hc-muted);
    font-size: 12px;
    letter-spacing: .02em;
}
.hc-nav { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.hc-nav a {
    color: #cfd3dd;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 999px;
}
.hc-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.hc-nav .hc-nav-cta {
    color: #17110a;
    background: linear-gradient(135deg, var(--hc-gold), var(--hc-gold-2));
    box-shadow: 0 10px 24px rgba(230, 185, 92, .18);
}
.hc-hero { padding: clamp(38px, 7vw, 86px) 0 30px; }
.hc-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 28px;
    align-items: center;
}
.hc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hc-gold);
    background: rgba(230, 185, 92, .08);
    border: 1px solid var(--hc-border);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 16px;
}
.hc-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hc-gold);
    box-shadow: 0 0 0 6px rgba(230, 185, 92, .10);
}
.hc-hero h1,
.hc-section h2 {
    margin: 0;
    letter-spacing: -.06em;
    line-height: .98;
}
.hc-hero h1 { font-size: clamp(38px, 6.8vw, 78px); max-width: 920px; }
.hc-section h2 { font-size: clamp(28px, 4vw, 48px); }
.hc-lead {
    color: #c9ced8;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
    max-width: 760px;
    margin: 22px 0 0;
}
.hc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hc-btn,
.hc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 13px 17px;
    border-radius: 999px;
    border: 1px solid var(--hc-border-soft);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font-weight: 850;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.hc-btn:hover,
.hc-button:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .08); }
.hc-btn-primary,
.hc-button-primary {
    color: #17110a;
    border-color: rgba(230, 185, 92, .45);
    background: linear-gradient(135deg, var(--hc-gold), var(--hc-gold-2));
}
.hc-btn-dark { background: #0f131b; }
.hc-panel,
.hc-card,
.hc-tool-card,
.hc-result-card {
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.028));
    border: 1px solid var(--hc-border-soft);
    border-radius: var(--hc-radius);
    box-shadow: var(--hc-shadow);
}
.hc-panel { padding: clamp(20px, 3vw, 30px); }
.hc-mini-stats { display: grid; gap: 12px; }
.hc-mini-stat {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--hc-border-soft);
}
.hc-mini-stat strong { display: block; font-size: 28px; color: var(--hc-gold); letter-spacing: -.04em; }
.hc-mini-stat span { color: var(--hc-muted); font-size: 13px; line-height: 1.5; }
.hc-section { padding: 34px 0; }
.hc-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}
.hc-section-head p { color: var(--hc-muted); max-width: 690px; line-height: 1.7; margin: 10px 0 0; }
.hc-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hc-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hc-tool-card { padding: 22px; position: relative; overflow: hidden; min-height: 255px; }
.hc-tool-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(230,185,92,.14), transparent 34%);
    pointer-events: none;
}
.hc-tool-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: var(--hc-gold);
    background: rgba(230, 185, 92, .10);
    border: 1px solid var(--hc-border);
    font-size: 24px;
    margin-bottom: 16px;
}
.hc-tool-card h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.03em; }
.hc-tool-card p { color: var(--hc-muted); line-height: 1.65; margin: 0 0 18px; }
.hc-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    margin-top: 22px;
}
.hc-label { display: grid; gap: 8px; color: #dfe3ec; font-weight: 800; }
.hc-input {
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .055);
    color: #fff;
    padding: 0 15px;
    outline: none;
    width: 100%;
}
.hc-input:focus { border-color: rgba(230, 185, 92, .6); box-shadow: 0 0 0 4px rgba(230,185,92,.10); }
.hc-note {
    color: var(--hc-muted);
    line-height: 1.65;
    font-size: 14px;
}
.hc-alert {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.045);
    color: #dfe3ec;
    line-height: 1.6;
    margin-top: 16px;
}
.hc-alert-warn { border-color: rgba(255, 107, 107, .28); background: rgba(255, 107, 107, .08); }
.hc-results { margin-top: 24px; display: grid; gap: 18px; }
.hc-result-summary {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
}
.hc-score-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto;
    background:
        radial-gradient(circle at center, #111722 58%, transparent 59%),
        conic-gradient(var(--hc-green) calc(var(--score) * 1%), rgba(255,255,255,.12) 0);
    border: 1px solid var(--hc-border-soft);
}
.hc-score-circle strong { font-size: 44px; color: #fff; letter-spacing: -.06em; }
.hc-score-circle span { color: var(--hc-muted); font-size: 12px; }
.hc-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.hc-metric {
    padding: 15px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--hc-border-soft);
    border-radius: 16px;
}
.hc-metric b { display: block; font-size: 20px; letter-spacing: -.03em; }
.hc-metric span { display: block; color: var(--hc-muted); font-size: 12px; margin-top: 4px; }
.hc-check-list { display: grid; gap: 10px; }
.hc-check-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    padding: 15px;
    border-radius: 16px;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--hc-border-soft);
}
.hc-check-status {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 14px;
}
.hc-check-ok .hc-check-status { background: rgba(51, 209, 122, .16); color: var(--hc-green); }
.hc-check-warn .hc-check-status { background: rgba(255, 157, 46, .16); color: var(--hc-gold-2); }
.hc-check-title { font-weight: 850; color: #fff; margin-bottom: 4px; }
.hc-check-desc { color: var(--hc-muted); line-height: 1.55; font-size: 14px; }
.hc-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-weight: 850;
    font-size: 12px;
    white-space: nowrap;
}
.hc-badge-good { color: #0d1f16; background: var(--hc-green); }
.hc-badge-warn { color: #1d1206; background: var(--hc-gold-2); }
.hc-badge-muted { color: #dfe3ec; background: rgba(255,255,255,.10); }
.hc-table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--hc-border-soft); }
.hc-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.hc-table th,
.hc-table td { padding: 14px 16px; border-bottom: 1px solid var(--hc-border-soft); text-align: left; vertical-align: top; }
.hc-table th { color: var(--hc-gold); font-size: 13px; background: rgba(230,185,92,.05); }
.hc-table td { color: #dfe3ec; line-height: 1.55; }
.hc-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}
.hc-checklist label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 15px;
    border: 1px solid var(--hc-border-soft);
    border-radius: 16px;
    background: rgba(255,255,255,.035);
    cursor: pointer;
}
.hc-checklist input { width: 20px; height: 20px; accent-color: var(--hc-gold); }
.hc-checklist strong { display: block; margin-bottom: 4px; }
.hc-checklist span { color: var(--hc-muted); font-size: 13px; line-height: 1.5; }
.hc-progress {
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
    margin: 14px 0;
}
.hc-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--hc-gold), var(--hc-green));
    transition: width .25s ease;
}
.hc-sticky-box { position: sticky; top: 98px; }
.hc-copy-box {
    padding: 16px;
    border-radius: 16px;
    background: rgba(230,185,92,.08);
    border: 1px solid var(--hc-border);
    color: #efe6d2;
    line-height: 1.65;
}
.hc-footer { border-top: 1px solid var(--hc-border-soft); margin-top: 46px; }
.hc-footer-inner {
    min-height: 78px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--hc-muted);
    font-size: 14px;
}
.hc-footer a { color: var(--hc-gold); font-weight: 850; }
.hc-small { font-size: 12px; color: var(--hc-muted); }
.hc-code {
    display: inline-block;
    color: #fff;
    background: rgba(255,255,255,.08);
    padding: 2px 7px;
    border-radius: 8px;
}
@media (max-width: 920px) {
    .hc-header-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
    .hc-nav { justify-content: flex-start; }
    .hc-hero-grid,
    .hc-grid-3,
    .hc-grid-2,
    .hc-result-summary,
    .hc-checklist { grid-template-columns: 1fr; }
    .hc-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hc-form { grid-template-columns: 1fr; }
    .hc-button { width: 100%; }
    .hc-section-head { align-items: flex-start; flex-direction: column; }
    .hc-sticky-box { position: static; }
}
@media (max-width: 560px) {
    .hc-container { width: min(100% - 22px, var(--hc-container)); }
    .hc-nav a { font-size: 12px; padding: 9px 10px; }
    .hc-tool-card { min-height: auto; }
    .hc-check-item { grid-template-columns: auto 1fr; }
    .hc-check-item .hc-badge { grid-column: 2; width: max-content; }
    .hc-metrics { grid-template-columns: 1fr; }
    .hc-score-circle { width: 136px; height: 136px; }
}
