:root {
    --canvas: #f7f7f4;
    --canvas-soft: #fafaf7;
    --surface-card: #ffffff;
    --surface-strong: #e6e5e0;
    --primary: #f54e00;
    --primary-active: #d04200;
    --on-primary: #ffffff;
    --ink: #26251e;
    --body: #5a5852;
    --body-strong: #26251e;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --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;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
    background-color: var(--canvas);
    color: var(--body);
    font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--primary); }
ul { list-style: none; }

.rh-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.rh-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
    display: flex;
    align-items: center;
}

.rh-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.rh-nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 600;
    font-size: 16px;
}

.rh-nav__logo-mark {
    background: var(--ink);
    color: var(--canvas);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 6px;
    letter-spacing: 0.04em;
}

.rh-nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rh-nav__menu > li > a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--body-strong);
    border-radius: var(--radius-sm);
    line-height: 1.4;
    transition: color 0.15s, background 0.15s;
}

.rh-nav__menu > li > a:hover {
    color: var(--ink);
    background: var(--surface-strong);
}

.rh-nav__has-sub {
    position: relative;
}

.rh-nav__submenu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 8px;
    min-width: 240px;
    box-shadow: none;
}

.rh-nav__has-sub:hover .rh-nav__submenu,
.rh-nav__has-sub:focus-within .rh-nav__submenu {
    display: block;
}

.rh-nav__submenu li a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--body);
    border-radius: var(--radius-sm);
}

.rh-nav__submenu li a:hover {
    background: var(--canvas-soft);
    color: var(--ink);
}

.rh-nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.rh-nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 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-block;
    background: var(--surface-strong);
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    padding: 4px 10px;
    margin-bottom: 20px;
}

.rh-hero__title {
    font-size: 52px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--ink);
    margin-bottom: 20px;
}

.rh-hero__lead {
    font-size: 18px;
    line-height: 1.5;
    color: var(--body);
    margin-bottom: 32px;
    max-width: 480px;
}

.rh-hero__img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline);
    overflow: hidden;
    background: var(--surface-card);
    aspect-ratio: 4/3;
}

.rh-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rh-section {
    padding: 80px 0;
}

.rh-section + .rh-section {
    border-top: 1px solid var(--hairline-soft);
}

.rh-section__label {
    display: inline-block;
    background: var(--surface-strong);
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    padding: 4px 10px;
    margin-bottom: 16px;
}

.rh-section__title {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 16px;
}

.rh-section__subtitle {
    font-size: 18px;
    color: var(--body);
    max-width: 600px;
    margin-bottom: 48px;
}

.rh-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rh-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.rh-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rh-card__img {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 4px;
    aspect-ratio: 16/9;
    background: var(--canvas-soft);
}

.rh-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rh-card__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
}

.rh-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
}

.rh-card__body {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    flex: 1;
}

.rh-card__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
    display: inline-block;
    padding-bottom: 2px;
    margin-top: 4px;
}

.rh-card__link:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.rh-fact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--hairline);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.rh-fact-item {
    background: var(--surface-card);
    padding: 28px 24px;
}

.rh-fact-item__value {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 8px;
}

.rh-fact-item__label {
    font-size: 14px;
    color: var(--body);
}

.rh-info-band {
    background: var(--canvas-soft);
    border-top: 1px solid var(--hairline-soft);
    border-bottom: 1px solid var(--hairline-soft);
    padding: 60px 0;
}

.rh-info-band__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.rh-info-band__title {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin-bottom: 16px;
}

.rh-info-band__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rh-info-band__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--body);
    line-height: 1.5;
}

.rh-info-band__list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--muted);
    flex-shrink: 0;
    margin-top: 8px;
}

.rh-article-hero {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--hairline);
}

.rh-article-hero__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rh-article-hero__label {
    background: var(--surface-strong);
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    padding: 4px 10px;
}

.rh-article-hero__date {
    font-size: 13px;
    color: var(--muted);
}

.rh-article-hero__title {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -1px;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 16px;
    max-width: 760px;
}

.rh-article-hero__lead {
    font-size: 18px;
    color: var(--body);
    max-width: 680px;
    line-height: 1.6;
}

.rh-article-body {
    padding: 48px 0 80px;
}

.rh-article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.rh-prose {
    max-width: 720px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
}

.rh-prose h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin-top: 44px;
    margin-bottom: 16px;
    line-height: 1.25;
}

.rh-prose h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--body-strong);
    margin-top: 32px;
    margin-bottom: 12px;
}

.rh-prose p {
    margin-bottom: 20px;
}

.rh-prose ul, .rh-prose ol {
    margin-bottom: 20px;
    padding-left: 0;
}

.rh-prose ul li, .rh-prose ol li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.rh-prose ul li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--muted);
    position: absolute;
    left: 4px;
    top: 10px;
}

.rh-prose ol {
    counter-reset: list-counter;
}

.rh-prose ol li {
    counter-increment: list-counter;
}

.rh-prose ol li::before {
    content: counter(list-counter) '.';
    position: absolute;
    left: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    top: 2px;
}

.rh-prose strong {
    color: var(--body-strong);
    font-weight: 600;
}

.rh-prose a {
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
}

.rh-prose a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.rh-prose figure {
    margin: 32px 0;
}

.rh-prose figure img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline);
    width: 100%;
}

.rh-prose figcaption {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

.rh-prose blockquote {
    border-left: 3px solid var(--hairline-strong);
    padding: 12px 20px;
    margin: 24px 0;
    background: var(--canvas-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.rh-prose blockquote p {
    margin-bottom: 0;
    font-size: 15px;
    color: var(--body);
}

.rh-prose .rh-table-wrap {
    overflow-x: auto;
    margin-bottom: 24px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
}

.rh-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.rh-prose table th {
    background: var(--canvas-soft);
    padding: 12px 16px;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
    border-bottom: 1px solid var(--hairline);
}

.rh-prose table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--hairline-soft);
    color: var(--body);
    vertical-align: top;
}

.rh-prose table tr:last-child td {
    border-bottom: none;
}

.rh-aside {
    position: sticky;
    top: 84px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rh-aside-box {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.rh-aside-box__title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.rh-aside-box ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rh-aside-box ul li a {
    font-size: 14px;
    color: var(--body);
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid var(--hairline-soft);
}

.rh-aside-box ul li:last-child a {
    border-bottom: none;
}

.rh-aside-box ul li a:hover {
    color: var(--ink);
}

.rh-breadcrumb {
    padding: 16px 0;
    border-bottom: 1px solid var(--hairline-soft);
}

.rh-breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rh-breadcrumb__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}

.rh-breadcrumb__list li:not(:last-child)::after {
    content: '/';
    color: var(--hairline-strong);
}

.rh-breadcrumb__list li a {
    color: var(--muted);
}

.rh-breadcrumb__list li a:hover {
    color: var(--ink);
}

.rh-breadcrumb__list li:last-child {
    color: var(--body);
}

.rh-form {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 36px;
    max-width: 600px;
}

.rh-form-group {
    margin-bottom: 20px;
}

.rh-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--body-strong);
    margin-bottom: 6px;
}

.rh-form-group input,
.rh-form-group textarea {
    width: 100%;
    background: var(--surface-card);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    height: 44px;
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
    transition: border-color 0.15s;
}

.rh-form-group input:focus,
.rh-form-group textarea:focus {
    outline: none;
    border-color: var(--ink);
}

.rh-form-group textarea {
    height: 120px;
    resize: vertical;
}

.rh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
    font-family: inherit;
}

.rh-btn--primary {
    background: var(--primary);
    color: var(--on-primary);
}

.rh-btn--primary:hover {
    background: var(--primary-active);
    color: var(--on-primary);
}

.rh-btn--secondary {
    background: var(--surface-card);
    color: var(--ink);
    border: 1px solid var(--hairline-strong);
}

.rh-btn--secondary:hover {
    background: var(--canvas-soft);
}

.rh-btn--lg {
    height: 44px;
    padding: 0 20px;
    font-size: 15px;
}

.rh-form-status {
    display: none;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-top: 12px;
}

.rh-form-status.success {
    background: #e8f5f0;
    color: var(--semantic-success);
    border: 1px solid #b8ddd1;
    display: block;
}

.rh-form-status.error {
    background: #fdf0f3;
    color: var(--semantic-error);
    border: 1px solid #f5c0ce;
    display: block;
}

.rh-cookie {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: var(--ink);
    color: var(--canvas);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    width: 90%;
    max-width: 560px;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 4px 24px rgba(38,37,30,0.18);
}

.rh-cookie.hidden {
    display: none;
}

.rh-cookie__text {
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}

.rh-cookie__text a {
    color: var(--canvas);
    border-bottom: 1px solid rgba(247,247,244,0.4);
}

.rh-cookie__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.rh-cookie-btn {
    height: 36px;
    padding: 0 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.rh-cookie-btn--accept {
    background: var(--primary);
    color: var(--on-primary);
}

.rh-cookie-btn--reject {
    background: rgba(247,247,244,0.12);
    color: var(--canvas);
    border: 1px solid rgba(247,247,244,0.2);
}

.rh-page-hero {
    padding: 60px 0;
    border-bottom: 1px solid var(--hairline);
}

.rh-page-hero__title {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 12px;
}

.rh-page-hero__sub {
    font-size: 16px;
    color: var(--body);
    max-width: 560px;
}

.rh-page-body {
    padding: 48px 0 80px;
}

.rh-page-body h2 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.11px;
    color: var(--ink);
    margin-top: 40px;
    margin-bottom: 12px;
}

.rh-page-body p, .rh-page-body li {
    font-size: 15px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 12px;
}

.rh-page-body ul {
    padding-left: 0;
    margin-bottom: 20px;
}

.rh-page-body ul li {
    padding-left: 16px;
    position: relative;
}

.rh-page-body ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--muted);
}

.rh-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 0 48px;
}

.rh-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 32px;
    margin-bottom: 48px;
}

.rh-footer__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.rh-footer__tagline {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.rh-footer__heading {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

.rh-footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rh-footer__col ul li a {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
}

.rh-footer__col ul li a:hover {
    color: var(--ink);
}

.rh-footer__bottom {
    border-top: 1px solid var(--hairline-soft);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rh-footer__copy {
    font-size: 13px;
    color: var(--muted);
}

.rh-footer__copy a {
    color: var(--muted);
    border-bottom: 1px solid var(--hairline);
}

.rh-footer__disclaimer {
    font-size: 12px;
    color: var(--muted-soft);
}

@media (max-width: 1024px) {
    .rh-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .rh-footer__grid { grid-template-columns: 1fr 1fr; }
    .rh-article-layout { grid-template-columns: 1fr; }
    .rh-aside { position: static; }
}

@media (max-width: 768px) {
    .rh-nav__menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 0;
    }

    .rh-nav__menu.open {
        display: flex;
    }

    .rh-nav__has-sub .rh-nav__submenu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: var(--canvas-soft);
        border-radius: var(--radius-md);
        margin-top: 4px;
        padding: 8px;
    }

    .rh-nav__has-sub.sub-open .rh-nav__submenu {
        display: block;
    }

    .rh-nav__burger {
        display: flex;
    }

    .rh-hero__inner {
        grid-template-columns: 1fr;
    }

    .rh-hero__title { font-size: 32px; letter-spacing: -0.8px; }

    .rh-grid-3, .rh-grid-2 { grid-template-columns: 1fr; }

    .rh-section__title { font-size: 26px; }

    .rh-fact-grid { grid-template-columns: 1fr; }

    .rh-info-band__inner { grid-template-columns: 1fr; }

    .rh-article-hero__title { font-size: 28px; }

    .rh-footer__grid { grid-template-columns: 1fr; }

    .rh-form { padding: 24px; }

    .rh-cookie { bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; width: 100%; max-width: 100%; left: 0; transform: none; }
}

@media (max-width: 640px) {
    .rh-hero { padding: 48px 0; }
    .rh-section { padding: 56px 0; }
    .rh-hero__lead { font-size: 16px; }
}
