:root {
    --canvas: #000000;
    --surface-1: #15181e;
    --surface-2: #1f232b;
    --surface-3: #3b3d45;
    --hairline: #3b3d45;
    --hairline-soft: #252830;
    --ink: #ffffff;
    --ink-muted: #b2b6bd;
    --ink-subtle: #656a76;
    --accent-blue: #2b89ff;
    --accent-1: #7b42bc;
    --accent-2: #14c6cb;
    --accent-3: #1868f2;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-xxl: 24px;
    --radius-pill: 9999px;
}

* { box-sizing: border-box; }

body {
    background: var(--canvas);
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-weight: 500;
    line-height: 1.5;
}

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4, h5 {
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.rh-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 8px;
}

.rh-topnav {
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 50;
}
.rh-topnav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 32px;
}
.rh-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
}
.rh-logo span { color: var(--accent-1); }
.rh-nav { display: flex; gap: 28px; }
.rh-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-muted);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
.rh-nav a:hover, .rh-nav a.active {
    color: var(--ink);
    border-bottom-color: var(--accent-1);
}
.rh-burger {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.rh-burger span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    display: block;
}
.rh-mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--surface-1);
    border-bottom: 1px solid var(--hairline);
}
.rh-mobile-menu.open { display: flex; }
.rh-mobile-menu a {
    padding: 14px 24px;
    color: var(--ink-muted);
    border-bottom: 1px solid var(--hairline-soft);
}

@media (max-width: 900px) {
    .rh-nav { display: none; }
    .rh-burger { display: flex; }
}

.rh-hero {
    padding: 64px 32px 48px;
    max-width: 1280px;
    margin: 0 auto;
}
.rh-hero h1 {
    font-size: 48px;
    letter-spacing: -1.4px;
}
.rh-hero p.lead {
    font-size: 18px;
    color: var(--ink-muted);
    line-height: 1.65;
    max-width: 760px;
}

.rh-section {
    padding: 48px 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.rh-card {
    background: var(--surface-1);
    border: 1px solid var(--hairline-soft);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: 100%;
    transition: border-color 0.2s;
}
.rh-card:hover { border-color: var(--accent-1); }
.rh-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    background: var(--surface-2);
}
.rh-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.rh-card p {
    color: var(--ink-muted);
    font-size: 14px;
}

.rh-category-pill {
    display: inline-block;
    background: var(--surface-2);
    color: var(--ink-muted);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

.rh-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px;
}
.rh-sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
}
.rh-sidebar-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--ink-subtle);
    margin-bottom: 12px;
}
.rh-sidebar a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--ink-muted);
    border-radius: var(--radius-sm);
    margin-bottom: 2px;
}
.rh-sidebar a:hover, .rh-sidebar a.active {
    background: var(--surface-1);
    color: var(--ink);
}

@media (max-width: 900px) {
    .rh-layout { grid-template-columns: 1fr; }
    .rh-sidebar { position: static; display: flex; overflow-x: auto; gap: 8px; }
    .rh-sidebar a { white-space: nowrap; }
}

.rh-breadcrumb {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 32px 0;
    font-size: 13px;
}
.breadcrumb-item, .breadcrumb-item a { color: var(--ink-subtle); }
.breadcrumb-item.active { color: var(--ink-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--ink-subtle); }

.rh-article {
    max-width: 780px;
    margin: 0 auto;
    padding: 32px;
}
.rh-article h1 {
    font-size: 36px;
    margin-bottom: 16px;
}
.rh-article-image {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    border: 1px solid var(--hairline-soft);
}
.rh-article h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 12px;
    scroll-margin-top: 90px;
}
.rh-article p {
    color: var(--ink-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.rh-toc {
    background: var(--surface-1);
    border: 1px solid var(--hairline-soft);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin: 24px 0 32px;
}
.rh-toc ul { list-style: none; padding: 0; margin: 0; }
.rh-toc li { margin-bottom: 6px; }
.rh-toc a { color: var(--accent-blue); font-size: 14px; }

.rh-related-card {
    display: block;
    background: var(--surface-1);
    border: 1px solid var(--hairline-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
}
.rh-related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.rh-related-card-body { padding: 16px; }
.rh-related-card h4 {
    font-size: 15px;
    margin: 4px 0 0;
    color: var(--ink);
}

.rh-faq-item {
    background: var(--surface-1);
    border: 1px solid var(--hairline-soft);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    padding: 4px 20px;
}
.rh-faq-item summary {
    cursor: pointer;
    padding: 16px 0;
    font-weight: 600;
    font-size: 16px;
    list-style: none;
}
.rh-faq-item summary::-webkit-details-marker { display: none; }
.rh-faq-item summary::after {
    content: '+';
    float: right;
    color: var(--accent-2);
    font-size: 20px;
}
.rh-faq-item[open] summary::after { content: '–'; }
.rh-faq-item p {
    color: var(--ink-muted);
    padding-bottom: 16px;
}

.rh-cta-banner {
    background: var(--surface-1);
    border-radius: var(--radius-xxl);
    padding: 48px;
    text-align: center;
    margin: 48px 0;
}

.btn-rh-primary {
    background: #ffffff;
    color: #000000;
    border-radius: var(--radius-md);
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    border: none;
}
.btn-rh-primary:hover { background: #e6e6e6; color: #000; }

.form-control-rh {
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    color: var(--ink);
    border-radius: var(--radius-md);
    padding: 10px 14px;
}
.form-control-rh:focus {
    background: var(--surface-1);
    color: var(--ink);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 1px var(--accent-blue);
}
label.rh-label {
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 6px;
    display: block;
}

.rh-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 56px 32px 32px;
    font-size: 13px;
    color: var(--ink-muted);
}
.rh-footer-brand { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.rh-footer-brand span { color: var(--accent-1); }
.rh-footer-text { font-size: 13px; color: var(--ink-muted); line-height: 1.6; }
.rh-footer-disclaimer { font-size: 12px; color: var(--ink-subtle); line-height: 1.6; }
.rh-footer-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--ink-subtle); margin-bottom: 14px; }
.rh-footer-list { list-style: none; padding: 0; }
.rh-footer-list li { margin-bottom: 8px; }
.rh-footer-list a:hover { color: var(--ink); }
.rh-footer-hr { border-color: var(--hairline-soft); margin: 32px 0 16px; }
.rh-footer-copy { color: var(--ink-subtle); margin-top: 8px; }

.rh-cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--surface-1);
    border-top: 1px solid var(--hairline);
    padding: 20px 32px;
    z-index: 100;
    display: none;
}
.rh-cookie-banner.show { display: flex; }
.rh-cookie-banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.rh-cookie-banner p { margin: 0; font-size: 14px; color: var(--ink-muted); }
.rh-cookie-actions { display: flex; gap: 12px; }
.btn-rh-secondary {
    background: var(--surface-2);
    color: var(--ink);
    border-radius: var(--radius-md);
    padding: 8px 16px;
    font-size: 13px;
    border: none;
}

.rh-legal-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 32px;
}
.rh-legal-page h1 { font-size: 32px; margin-bottom: 24px; }
.rh-legal-page h2 { font-size: 20px; margin-top: 32px; margin-bottom: 12px; }
.rh-legal-page p, .rh-legal-page li { color: var(--ink-muted); line-height: 1.7; }

.rh-alert-success {
    background: rgba(0,202,142,0.1);
    border: 1px solid #00ca8e;
    color: #00ca8e;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-size: 14px;
    display: none;
}
