/* ============================================================
   FutureOS — Help Center (Central de Ajuda) Stylesheet
   Exclusivo da pasta /blog/. Identidade própria em tema claro,
   contrastando com a index escura mas mantendo o roxo/índigo da marca.
   ============================================================ */

:root {
    --hd-primary: #4f46e5;
    --hd-primary-dark: #3730a3;
    --hd-primary-light: #6366f1;
    --hd-primary-soft: #eef2ff;
    --hd-accent: #8b5cf6;
    --hd-teal: #14b8a6;
    --hd-green: #10b981;
    --hd-amber: #f59e0b;
    --hd-rose: #f43f5e;
    --hd-sky: #0ea5e9;

    --hd-bg: #f8fafc;
    --hd-bg-card: #ffffff;
    --hd-bg-subtle: #f1f5f9;
    --hd-bg-inset: #e2e8f0;

    --hd-text-title: #0f172a;
    --hd-text-body: #334155;
    --hd-text-muted: #64748b;
    --hd-text-subtle: #94a3b8;

    --hd-border: #e2e8f0;
    --hd-border-strong: #cbd5e1;

    --hd-radius-sm: 8px;
    --hd-radius-md: 12px;
    --hd-radius-lg: 16px;
    --hd-radius-xl: 22px;
    --hd-radius-full: 9999px;

    --hd-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --hd-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --hd-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
    --hd-shadow-lg: 0 18px 46px rgba(15, 23, 42, 0.10);
    --hd-shadow-glow: 0 10px 30px rgba(79, 70, 229, 0.18);

    --hd-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --hd-container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.hd-body {
    font-family: var(--hd-font);
    background: var(--hd-bg);
    color: var(--hd-text-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: var(--hd-primary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--hd-primary-dark); }

.hd-container {
    width: 100%;
    max-width: var(--hd-container);
    margin: 0 auto;
    padding: 0 22px;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.hd-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hd-border);
}
.hd-topbar-inner {
    max-width: var(--hd-container);
    margin: 0 auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.hd-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px 6px 7px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 18px rgba(79, 70, 229, 0.10);
    text-decoration: none;
    color: inherit;
    transition: all .2s ease;
}
.hd-brand:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 24px rgba(79, 70, 229, 0.16);
    transform: translateY(-1px);
    text-decoration: none;
}
.hd-brand-icon {
    height: 38px;
    width: auto;
    display: block;
    flex-shrink: 0;
    transition: transform .2s ease;
}
.hd-brand:hover .hd-brand-icon { transform: scale(1.05); }
.hd-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.hd-brand-text strong {
    font-size: 18px;
    font-weight: 800;
    color: var(--hd-text-title);
    letter-spacing: -0.3px;
}
.hd-brand-text small {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--hd-primary);
}
.hd-nav { display: flex; align-items: center; gap: 6px; }
.hd-nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--hd-text-muted);
    padding: 8px 14px;
    border-radius: var(--hd-radius-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .18s ease;
}
.hd-nav-link:hover { color: var(--hd-text-title); background: var(--hd-bg-subtle); }
.hd-nav-chip {
    font-size: 13px;
    font-weight: 700;
    color: #065f46;
    background: #d1fae5;
    padding: 7px 14px;
    border-radius: var(--hd-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all .18s ease;
}
.hd-nav-chip:hover { background: #a7f3d0; color: #064e3b; }
.hd-nav-btn {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--hd-primary), var(--hd-accent));
    padding: 9px 16px;
    border-radius: var(--hd-radius-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--hd-shadow-xs);
    transition: transform .18s ease, box-shadow .18s ease;
}
.hd-nav-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--hd-shadow-glow);
}
.hd-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-md);
    width: 40px;
    height: 40px;
    font-size: 18px;
    color: var(--hd-text-title);
    cursor: pointer;
}
.hd-mobile-nav {
    display: none;
    flex-direction: column;
    padding: 10px 22px 18px;
    background: #fff;
    border-bottom: 1px solid var(--hd-border);
    gap: 6px;
}
.hd-mobile-nav.is-open { display: flex; }
.hd-mobile-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--hd-text-title);
    padding: 10px 12px;
    border-radius: var(--hd-radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
}
.hd-mobile-nav a:hover { background: var(--hd-bg-subtle); }

/* ============================================================
   HERO / SEARCH
   ============================================================ */
.hd-hero {
    background: radial-gradient(110% 90% at 50% 0%, #eef2ff 0%, #f8fafc 60%, #ffffff 100%);
    border-bottom: 1px solid var(--hd-border);
    padding: 68px 0 54px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hd-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 640px;
    height: 320px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 70%);
    pointer-events: none;
}
.hd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--hd-primary);
    background: #fff;
    border: 1px solid var(--hd-border);
    padding: 6px 14px;
    border-radius: var(--hd-radius-full);
    box-shadow: var(--hd-shadow-xs);
    margin-bottom: 18px;
}
.hd-hero h1 {
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 900;
    letter-spacing: -1.2px;
    color: var(--hd-text-title);
    line-height: 1.12;
    max-width: 820px;
    margin: 0 auto 16px;
}
.hd-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--hd-primary) 0%, var(--hd-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hd-hero-subtitle {
    font-size: 18px;
    color: var(--hd-text-muted);
    max-width: 620px;
    margin: 0 auto 34px;
}
.hd-search-wrap {
    max-width: 640px;
    margin: 0 auto 26px;
    position: relative;
}
.hd-search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--hd-border-strong);
    border-radius: var(--hd-radius-full);
    padding: 6px 10px 6px 20px;
    box-shadow: var(--hd-shadow-md);
    transition: all .2s ease;
}
.hd-search-box:focus-within {
    border-color: var(--hd-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14), var(--hd-shadow-md);
}
.hd-search-icon { color: var(--hd-primary); font-size: 17px; margin-right: 12px; }
.hd-search-box input {
    flex: 1;
    border: 0;
    outline: 0;
    font-size: 16px;
    font-family: inherit;
    color: var(--hd-text-title);
    background: transparent;
}
.hd-search-box input::placeholder { color: var(--hd-text-subtle); }
.hd-search-clear {
    display: none;
    background: var(--hd-bg-subtle);
    border: 0;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 13px;
    color: var(--hd-text-muted);
}
.hd-search-clear.is-visible { display: inline-flex; align-items: center; justify-content: center; }

/* Filter pills */
.hd-filter-pills {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.hd-pill {
    appearance: none;
    border: 1px solid var(--hd-border);
    background: #fff;
    color: var(--hd-text-body);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 15px;
    border-radius: var(--hd-radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: var(--hd-shadow-xs);
    transition: all .16s ease;
}
.hd-pill:hover { border-color: var(--hd-primary-light); color: var(--hd-primary); }
.hd-pill.is-active {
    background: linear-gradient(135deg, var(--hd-primary), var(--hd-accent));
    color: #fff;
    border-color: transparent;
    box-shadow: var(--hd-shadow-glow);
}

/* Quick shortcut chips */
.hd-shortcuts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--hd-text-muted);
}
.hd-shortcuts strong { color: var(--hd-text-title); font-weight: 700; }
.hd-chip {
    background: #fff;
    border: 1px solid var(--hd-border);
    color: var(--hd-text-body);
    padding: 5px 12px;
    border-radius: var(--hd-radius-full);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .16s ease;
}
.hd-chip:hover {
    border-color: var(--hd-primary);
    color: var(--hd-primary);
    transform: translateY(-1px);
}
.hd-chip i { color: var(--hd-primary); }

/* ============================================================
   SECTIONS
   ============================================================ */
.hd-section { padding: 58px 0; }
.hd-section-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}
.hd-sec-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--hd-radius-md);
    background: var(--hd-primary-soft);
    color: var(--hd-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}
.hd-section-head h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--hd-text-title);
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.hd-section-head p { font-size: 14px; color: var(--hd-text-muted); margin-top: 3px; }
.hd-section-head .hd-head-actions { margin-left: auto; }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.hd-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.hd-cat-card {
    background: var(--hd-bg-card);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: inherit;
    box-shadow: var(--hd-shadow-xs);
    transition: all .24s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.hd-cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hd-primary), var(--hd-accent));
    opacity: 0;
    transition: opacity .2s ease;
}
.hd-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hd-shadow-md);
    border-color: var(--hd-border-strong);
}
.hd-cat-card:hover::before { opacity: 1; }
.hd-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--hd-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.hd-cat-body { display: flex; flex-direction: column; gap: 6px; }
.hd-cat-body h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--hd-text-title);
    letter-spacing: -0.2px;
}
.hd-cat-body p {
    font-size: 13px;
    color: var(--hd-text-muted);
    line-height: 1.55;
    min-height: 58px;
}
.hd-cat-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--hd-primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 6px;
}

/* ============================================================
   ARTICLE CARDS & GRID
   ============================================================ */
.hd-article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.hd-article-card {
    background: var(--hd-bg-card);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--hd-shadow-xs);
    transition: all .24s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.hd-article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hd-shadow-md);
    border-color: #cbd5e1;
}
.hd-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.hd-cat-badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: var(--hd-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hd-role-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--hd-radius-full);
    letter-spacing: 0.2px;
}
.hd-role-master { background: #fef3c7; color: #92400e; }
.hd-role-func { background: #e0f2fe; color: #075985; }
.hd-role-both { background: #f1f5f9; color: #475569; }
.hd-card-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.3;
}
.hd-card-title a { color: var(--hd-text-title); }
.hd-card-title a:hover { color: var(--hd-primary); }
.hd-card-excerpt {
    font-size: 14px;
    color: var(--hd-text-muted);
    line-height: 1.6;
    flex: 1;
}
.hd-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--hd-border);
    font-size: 13px;
}
.hd-read-time { color: var(--hd-text-subtle); display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.hd-card-link {
    font-weight: 700;
    color: var(--hd-primary);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: gap .16s ease;
}
.hd-article-card:hover .hd-card-link { gap: 11px; }

/* Empty search state */
.hd-search-empty {
    display: none;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 1px dashed var(--hd-border-strong);
    border-radius: var(--hd-radius-lg);
    grid-column: 1 / -1;
}
.hd-search-empty.is-visible { display: block; }
.hd-search-empty i { font-size: 42px; color: var(--hd-text-subtle); margin-bottom: 14px; }
.hd-search-empty h3 { font-size: 18px; color: var(--hd-text-title); margin-bottom: 6px; }
.hd-search-empty p { font-size: 14px; color: var(--hd-text-muted); }

/* ============================================================
   STATUS GLOSSARY SECTION
   ============================================================ */
.hd-status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.hd-status-card {
    background: #fff;
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-md);
    padding: 18px;
    box-shadow: var(--hd-shadow-xs);
}
.hd-status-card strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 8px;
}
.hd-status-card p { font-size: 13px; color: var(--hd-text-muted); line-height: 1.55; }
.hd-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.hd-dot-amber { background: #f59e0b; }
.hd-dot-green { background: #10b981; }
.hd-dot-blue { background: #3b82f6; }
.hd-dot-purple { background: #8b5cf6; }
.hd-dot-red { background: #ef4444; }
.hd-dot-gray { background: #94a3b8; }
.hd-dot-teal { background: #14b8a6; }
.hd-dot-orange { background: #f97316; }

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.hd-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hd-faq-item {
    background: #fff;
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-md);
    box-shadow: var(--hd-shadow-xs);
    overflow: hidden;
    transition: border-color .18s ease;
}
.hd-faq-item:hover { border-color: var(--hd-border-strong); }
.hd-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-weight: 700;
    font-size: 15px;
    color: var(--hd-text-title);
    user-select: none;
}
.hd-faq-item summary::-webkit-details-marker { display: none; }
.hd-faq-arrow {
    color: var(--hd-text-muted);
    font-size: 13px;
    transition: transform .2s ease;
    flex-shrink: 0;
}
.hd-faq-item[open] .hd-faq-arrow { transform: rotate(180deg); color: var(--hd-primary); }
.hd-faq-item[open] { border-color: #cbd5e1; }
.hd-faq-answer {
    padding: 0 22px 20px;
    font-size: 14px;
    color: var(--hd-text-body);
    line-height: 1.7;
    border-top: 1px solid var(--hd-bg-subtle);
}
.hd-faq-answer p { margin-top: 12px; }
.hd-faq-answer ul, .hd-faq-answer ol { margin-top: 10px; padding-left: 20px; }
.hd-faq-answer li { margin: 6px 0; }
.hd-faq-answer a { font-weight: 600; }

/* ============================================================
   CTA SUPPORT BLOCK
   ============================================================ */
.hd-cta-box {
    background: linear-gradient(135deg, #312e81 0%, var(--hd-primary) 60%, var(--hd-accent) 100%);
    color: #fff;
    border-radius: var(--hd-radius-xl);
    padding: 44px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: var(--hd-shadow-glow);
    position: relative;
    overflow: hidden;
}
.hd-cta-box::after {
    content: '\f4ad';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 28px;
    bottom: -32px;
    font-size: 170px;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}
.hd-cta-content h2 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.6px;
    line-height: 1.15;
    margin-bottom: 8px;
}
.hd-cta-content p { font-size: 15px; color: rgba(255, 255, 255, 0.88); max-width: 560px; }
.hd-cta-btn {
    background: #fff;
    color: var(--hd-primary-dark);
    font-weight: 800;
    font-size: 14px;
    padding: 13px 24px;
    border-radius: var(--hd-radius-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    flex-shrink: 0;
    transition: transform .18s ease, box-shadow .18s ease;
}
.hd-cta-btn:hover {
    color: var(--hd-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

/* ============================================================
   ARTICLE DETAIL PAGE
   ============================================================ */
.hd-page { padding: 34px 0 70px; }
.hd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--hd-text-muted);
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.hd-crumb-sep { color: var(--hd-text-subtle); }
.hd-breadcrumb a { color: var(--hd-text-muted); font-weight: 500; }
.hd-breadcrumb a:hover { color: var(--hd-primary); }
.hd-breadcrumb [aria-current="page"] {
    color: var(--hd-text-title);
    font-weight: 600;
    max-width: 440px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hd-article-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.hd-article-title {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.14;
    color: var(--hd-text-title);
    margin-bottom: 26px;
    max-width: 900px;
}

/* Callouts */
.hd-callout {
    border-radius: var(--hd-radius-lg);
    padding: 22px 26px;
    margin: 28px 0;
    border: 1px solid;
}
.hd-callout-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.hd-callout p, .hd-callout li { font-size: 15px; line-height: 1.7; }
.hd-callout-answer {
    background: linear-gradient(135deg, #f5f3ff, #eef2ff);
    border-color: #c7d2fe;
    color: #1e1b4b;
}
.hd-callout-answer .hd-callout-head { color: var(--hd-primary); }
.hd-callout-info {
    background: #f0fdfa;
    border-color: #99f6e4;
    color: #134e4a;
}
.hd-callout-info .hd-callout-head { color: #0f766e; }
.hd-callout-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #78350f;
}
.hd-callout-warning .hd-callout-head { color: #b45309; }
.hd-callout-tip {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #064e3b;
}
.hd-callout-tip .hd-callout-head { color: #047857; }

/* Checklist inside callout */
.hd-checklist { list-style: none; margin-top: 6px; }
.hd-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0;
    font-size: 15px;
}
.hd-checklist li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--hd-green);
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Article content typography */
.hd-article-content {
    background: #fff;
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-xl);
    padding: 44px 50px;
    box-shadow: var(--hd-shadow-sm);
    margin-top: 8px;
}
.hd-article-content h2 {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--hd-text-title);
    margin-top: 40px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hd-article-content h2:first-of-type { margin-top: 0; }
.hd-h2-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--hd-radius-sm);
    background: var(--hd-primary-soft);
    color: var(--hd-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.hd-article-content h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--hd-text-title);
    margin-top: 28px;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.hd-article-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--hd-text-body);
    margin-bottom: 18px;
}
.hd-article-content strong { color: var(--hd-text-title); font-weight: 700; }
.hd-article-content ul, .hd-article-content ol {
    margin: 14px 0 22px 24px;
    font-size: 16px;
    line-height: 1.8;
}
.hd-article-content li { margin: 8px 0; color: var(--hd-text-body); }
.hd-article-content ol { padding-left: 6px; }

/* Numbered step list */
.hd-steps { list-style: none; counter-reset: hd-step; margin: 18px 0 28px; padding-left: 0 !important; }
.hd-steps li {
    counter-increment: hd-step;
    position: relative;
    padding-left: 56px;
    margin: 18px 0;
}
.hd-steps li::before {
    content: counter(hd-step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hd-primary), var(--hd-accent));
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--hd-shadow-xs);
}
.hd-steps li strong { font-size: 16px; display: block; margin-bottom: 3px; }

/* Path / screen highlight inline */
.hd-screen {
    background: var(--hd-bg-subtle);
    border: 1px solid var(--hd-border-strong);
    color: var(--hd-text-title);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.1px;
}
.hd-kbd {
    background: #fff;
    border: 1px solid var(--hd-border-strong);
    box-shadow: 0 1px 0 #94a3b8;
    color: var(--hd-text-title);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 5px;
}

/* Definition table */
.hd-table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
    font-size: 14px;
    border-radius: var(--hd-radius-md);
    overflow: hidden;
    box-shadow: var(--hd-shadow-xs);
}
.hd-table th, .hd-table td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid var(--hd-border);
}
.hd-table th {
    background: var(--hd-bg-subtle);
    color: var(--hd-text-title);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.hd-table tr:hover td { background: #fafcff; }

/* What happens next box */
.hd-next-box {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border: 1px solid #a7f3d0;
    border-radius: var(--hd-radius-lg);
    padding: 22px 26px;
    margin: 32px 0 16px;
}
.hd-next-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #047857;
    margin-bottom: 8px;
}
.hd-next-box p { color: #064e3b; margin-bottom: 0; font-size: 15px; }

/* Disclaimer inside article */
.hd-notice {
    font-size: 13px;
    color: var(--hd-text-muted);
    font-style: italic;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px dashed var(--hd-border);
}

/* Trouble / problems section under article */
.hd-trouble-section, .hd-related-section { margin-top: 40px; }

/* Feedback */
.hd-feedback-box {
    margin-top: 42px;
    background: #fff;
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-lg);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--hd-shadow-xs);
    flex-wrap: wrap;
}
.hd-feedback-text strong { display: block; font-size: 15px; color: var(--hd-text-title); margin-bottom: 2px; }
.hd-feedback-text span { font-size: 13px; color: var(--hd-text-muted); }
.hd-feedback-buttons { display: flex; gap: 10px; }
.hd-fb-btn {
    appearance: none;
    background: #fff;
    border: 1px solid var(--hd-border-strong);
    color: var(--hd-text-body);
    font-size: 13px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: var(--hd-radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all .16s ease;
}
.hd-fb-btn:hover { border-color: var(--hd-primary); color: var(--hd-primary); }
.hd-feedback-thanks {
    font-size: 14px;
    font-weight: 700;
    color: var(--hd-green);
    display: none;
}
.hd-feedback-thanks.is-visible { display: block; }

/* ============================================================
   CATEGORY HUB PAGE
   ============================================================ */
.hd-cat-hub-header {
    background: #fff;
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-xl);
    padding: 40px;
    margin: 30px 0 34px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--hd-shadow-xs);
}
.hd-hub-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--hd-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}
.hd-cat-hub-header h1 {
    font-size: 30px;
    font-weight: 900;
    color: var(--hd-text-title);
    letter-spacing: -0.6px;
    margin-bottom: 6px;
}
.hd-cat-hub-header p { font-size: 15px; color: var(--hd-text-muted); max-width: 660px; }
.hd-all-cats {
    margin-left: auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--hd-primary);
    white-space: nowrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.hd-footer {
    background: #fff;
    border-top: 1px solid var(--hd-border);
    padding: 60px 0 30px;
    margin-top: 70px;
    font-size: 14px;
}
.hd-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 44px;
}
.hd-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
    color: var(--hd-text-title);
    margin-bottom: 14px;
}
.hd-footer-logo img { height: 32px; width: auto; border-radius: 0; }
.hd-footer-brand p { color: var(--hd-text-muted); line-height: 1.65; max-width: 380px; font-size: 14px; }
.hd-disclaimer {
    margin-top: 14px;
    font-size: 12px;
    color: var(--hd-text-subtle);
    line-height: 1.6;
    max-width: 380px;
}
.hd-footer-col h4 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: var(--hd-text-title);
    margin-bottom: 16px;
}
.hd-footer-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hd-text-muted);
    padding: 5px 0;
    font-size: 13.5px;
    font-weight: 500;
    transition: color .16s ease, transform .16s ease;
}
.hd-footer-col a:hover { color: var(--hd-primary); transform: translateX(2px); }
.hd-footer-bottom {
    border-top: 1px solid var(--hd-border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--hd-text-subtle);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hd-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .hd-article-grid { grid-template-columns: repeat(2, 1fr); }
    .hd-status-grid { grid-template-columns: repeat(2, 1fr); }
    .hd-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hd-nav { display: none; }
    .hd-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .hd-hero { padding: 44px 0 38px; }
    .hd-hero-subtitle { font-size: 15px; }
    .hd-cat-grid { grid-template-columns: 1fr; }
    .hd-article-grid { grid-template-columns: 1fr; }
    .hd-status-grid { grid-template-columns: 1fr; }
    .hd-cta-box { flex-direction: column; text-align: center; padding: 32px 24px; }
    .hd-cta-content p { max-width: 100%; }
    .hd-cta-box::after { display: none; }
    .hd-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .hd-article-content { padding: 26px 20px; }
    .hd-steps li { padding-left: 50px; }
    .hd-cat-hub-header { flex-direction: column; text-align: center; padding: 28px 20px; }
    .hd-all-cats { margin-left: 0; }
    .hd-feedback-box { flex-direction: column; text-align: center; }
    .hd-table { font-size: 12px; }
    .hd-table th, .hd-table td { padding: 9px 10px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
