:root {
    --canvas: #f7f7f4;
    --canvas-soft: #fafaf7;
    --surface-card: #ffffff;
    --surface-strong: #e6e5e0;
    --primary: #f54e00;
    --primary-active: #d04200;
    --ink: #26251e;
    --body: #5a5852;
    --body-strong: #26251e;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --on-primary: #ffffff;
    --hairline: #e6e5e0;
    --hairline-soft: #efeee8;
    --hairline-strong: #cfcdc4;
    --semantic-success: #1f8a65;
    --semantic-error: #cf2d56;
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-pill: 9999px;
    --font-sans: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    background-color: var(--canvas);
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

.rh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.rh-nav {
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.rh-nav__inner {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 32px;
}

.rh-nav__logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    white-space: nowrap;
    flex-shrink: 0;
}

.rh-nav__logo span { color: var(--primary); }

.rh-nav__menu {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: auto;
}

.rh-nav__menu li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: background 0.15s, color 0.15s;
    display: block;
}

.rh-nav__menu li a:hover,
.rh-nav__item--active a {
    background: var(--surface-strong);
    color: var(--ink);
}

.rh-nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.rh-nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.rh-hero {
    padding: 80px 0;
    border-bottom: 1px solid var(--hairline);
}

.rh-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.rh-hero__label {
    display: inline-flex;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-strong);
    border-radius: var(--radius-pill);
    padding: 4px 12px;
    margin-bottom: 20px;
}

.rh-hero__h1 {
    font-size: 48px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.72px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.rh-hero__desc {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
}

.rh-hero__img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
    aspect-ratio: 4/3;
}

.rh-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rh-section {
    padding: 80px 0;
}

.rh-section--alt {
    background: var(--canvas-soft);
    border-top: 1px solid var(--hairline-soft);
    border-bottom: 1px solid var(--hairline-soft);
}

.rh-section__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.rh-section__h2 {
    font-size: 36px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.72px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.rh-section__lead {
    font-size: 16px;
    color: var(--body);
    max-width: 640px;
    margin-bottom: 48px;
    line-height: 1.6;
}

.rh-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rh-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.15s;
}

.rh-card:hover { border-color: var(--hairline-strong); }

.rh-card__img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.rh-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.rh-card:hover .rh-card__img img { transform: scale(1.03); }

.rh-card__body { padding: 24px; }

.rh-card__tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    display: inline-block;
    margin-bottom: 10px;
}

.rh-card__h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 10px;
}

.rh-card__excerpt {
    font-size: 14px;
    color: var(--body);
    line-height: 1.55;
    margin-bottom: 20px;
}

.rh-card__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.rh-card__link:hover { color: var(--primary-active); }

.rh-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.rh-data-item {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
}

.rh-data-item__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.rh-data-item__value {
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.11px;
    font-family: var(--font-mono);
    margin-bottom: 4px;
}

.rh-data-item__note {
    font-size: 13px;
    color: var(--muted);
}

.rh-article-hero {
    padding: 60px 0 0;
    border-bottom: 1px solid var(--hairline);
}

.rh-article-hero__meta {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.rh-article-hero__h1 {
    font-size: 42px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.72px;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 780px;
}

.rh-article-hero__lead {
    font-size: 18px;
    color: var(--body);
    line-height: 1.6;
    max-width: 680px;
    margin-bottom: 32px;
}

.rh-article-hero__img {
    margin-top: 48px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    border: 1px solid var(--hairline);
    border-bottom: none;
    max-height: 460px;
}

.rh-article-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rh-article-body {
    padding: 60px 0 80px;
}

.rh-article-body .rh-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 64px;
    align-items: start;
}

.rh-prose h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.325px;
    margin: 40px 0 16px;
    line-height: 1.25;
}

.rh-prose h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 28px 0 12px;
}

.rh-prose p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.65;
    margin-bottom: 18px;
}

.rh-prose ul, .rh-prose ol {
    padding-left: 20px;
    margin-bottom: 18px;
}

.rh-prose ul { list-style: disc; }
.rh-prose ol { list-style: decimal; }

.rh-prose li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.65;
    margin-bottom: 6px;
}

.rh-prose strong { color: var(--body-strong); font-weight: 600; }

.rh-prose a { color: var(--primary); }
.rh-prose a:hover { color: var(--primary-active); }

.rh-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.rh-prose table th {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    padding: 10px 14px;
    border-bottom: 1px solid var(--hairline-strong);
}

.rh-prose table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--hairline-soft);
    color: var(--body);
    vertical-align: top;
}

.rh-prose table tr:last-child td { border-bottom: none; }

.rh-prose .rh-callout {
    background: var(--canvas-soft);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin: 24px 0;
    font-size: 15px;
    color: var(--body-strong);
}

.rh-sidebar {
    position: sticky;
    top: 84px;
}

.rh-sidebar__box {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.rh-sidebar__title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.rh-sidebar__list li {
    border-bottom: 1px solid var(--hairline-soft);
    padding: 10px 0;
}

.rh-sidebar__list li:last-child { border-bottom: none; }

.rh-sidebar__list a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body-strong);
    line-height: 1.4;
    display: block;
}

.rh-sidebar__list a:hover { color: var(--primary); }

.rh-sidebar__refs a {
    font-size: 13px;
    color: var(--muted);
    display: block;
    margin-bottom: 8px;
    word-break: break-word;
}

.rh-sidebar__refs a:hover { color: var(--primary); }

.rh-form-section {
    padding: 80px 0;
    border-top: 1px solid var(--hairline);
}

.rh-form-section__h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.325px;
    margin-bottom: 8px;
}

.rh-form-section__desc {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 32px;
}

.rh-form {
    max-width: 560px;
}

.rh-form__row { margin-bottom: 20px; }

.rh-form__row label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
}

.rh-form__row input,
.rh-form__row textarea {
    width: 100%;
    background: var(--surface-card);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-md);
    padding: 11px 16px;
    font-size: 15px;
    font-family: var(--font-sans);
    color: var(--ink);
    transition: border-color 0.15s;
    height: 44px;
}

.rh-form__row textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

.rh-form__row input:focus,
.rh-form__row textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.rh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ink);
    color: var(--canvas);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    height: 44px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 0.15s;
    font-family: var(--font-sans);
}

.rh-btn:hover { background: #3a3930; }

.rh-form__msg {
    margin-top: 16px;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    display: none;
}

.rh-form__msg--success {
    background: #e6f4ee;
    color: var(--semantic-success);
    border: 1px solid #b2d8c6;
}

.rh-cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--canvas);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    max-width: 600px;
    width: calc(100% - 48px);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    z-index: 999;
    box-shadow: 0 4px 24px rgba(38,37,30,0.18);
}

.rh-cookie-banner__text {
    font-size: 14px;
    line-height: 1.55;
    flex: 1;
}

.rh-cookie-banner__text a {
    color: var(--canvas);
    text-decoration: underline;
}

.rh-cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
}

.rh-cookie-btn {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: opacity 0.15s;
}

.rh-cookie-btn--accept {
    background: var(--primary);
    color: var(--on-primary);
}

.rh-cookie-btn--reject {
    background: transparent;
    color: var(--canvas);
    border: 1px solid rgba(247,247,244,0.3);
}

.rh-cookie-btn:hover { opacity: 0.85; }

.rh-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
}

.rh-footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 64px 24px 48px;
}

.rh-footer__brand {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    display: block;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.rh-footer__brand span { color: var(--primary); }

.rh-footer__col p,
.rh-footer__col address {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    font-style: normal;
}

.rh-footer__col a { color: var(--body); }
.rh-footer__col a:hover { color: var(--primary); }

.rh-footer__col strong {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.rh-footer__col ul li { margin-bottom: 8px; }
.rh-footer__col ul a { font-size: 14px; }

.rh-footer__bottom {
    border-top: 1px solid var(--hairline-soft);
    padding: 20px 24px;
}

.rh-footer__bottom .rh-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.rh-footer__bottom p {
    font-size: 13px;
    color: var(--muted);
}

.rh-footer__bottom a { color: var(--muted); }
.rh-footer__bottom a:hover { color: var(--primary); }

.rh-footer__disclaimer {
    font-size: 12px;
    color: var(--muted-soft);
    max-width: 560px;
    text-align: right;
}

.rh-page-hero {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
}

.rh-page-hero__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.rh-page-hero__h1 {
    font-size: 42px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.72px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.rh-page-hero__lead {
    font-size: 17px;
    color: var(--body);
    max-width: 640px;
    line-height: 1.6;
}

.rh-page-body {
    padding: 60px 0 80px;
}

.rh-page-body .rh-prose { max-width: 720px; }

.rh-updated {
    font-size: 13px;
    color: var(--muted-soft);
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--hairline-soft);
}

@media (max-width: 1024px) {
    .rh-cards { grid-template-columns: 1fr 1fr; }
    .rh-article-body .rh-container { grid-template-columns: 1fr; }
    .rh-sidebar { position: static; }
    .rh-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .rh-hero__inner { grid-template-columns: 1fr; }
    .rh-hero__h1 { font-size: 34px; }
    .rh-hero__img { display: none; }
    .rh-section__h2 { font-size: 28px; }
    .rh-article-hero__h1 { font-size: 30px; }
    .rh-page-hero__h1 { font-size: 30px; }
    .rh-nav__burger { display: flex; }
    .rh-nav__menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: 12px 16px;
        gap: 2px;
    }
    .rh-nav__menu.is-open { display: flex; }
    .rh-nav__menu li a { padding: 10px 12px; }
    .rh-cards { grid-template-columns: 1fr; }
    .rh-footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .rh-footer__bottom .rh-container { flex-direction: column; align-items: flex-start; }
    .rh-footer__disclaimer { text-align: left; }
    .rh-cookie-banner { flex-direction: column; gap: 14px; }
    .rh-data-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .rh-hero__h1 { font-size: 28px; }
    .rh-data-grid { grid-template-columns: 1fr; }
    .rh-cookie-banner__actions { flex-direction: row; }
}
