@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400&display=swap');

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

:root {
    --canvas: #f7f7f4;
    --canvas-soft: #fafaf7;
    --surface-card: #ffffff;
    --surface-strong: #e6e5e0;
    --primary: #f54e00;
    --primary-active: #d04200;
    --hairline: #e6e5e0;
    --hairline-soft: #efeee8;
    --hairline-strong: #cfcdc4;
    --ink: #26251e;
    --body: #5a5852;
    --body-strong: #26251e;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --on-primary: #ffffff;
    --success: #1f8a65;
    --error: #cf2d56;
    --rounded-xs: 4px;
    --rounded-sm: 6px;
    --rounded-md: 8px;
    --rounded-lg: 12px;
    --rounded-xl: 16px;
    --rounded-pill: 9999px;
}

html { 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;
    font-weight: 400;
    line-height: 1.5;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--primary); }

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

ul[role="list"] { list-style: none; }

.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 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

.rh-nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.rh-nav__logo-mark {
    background: var(--ink);
    color: var(--canvas);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: var(--rounded-sm);
}

.rh-nav__logo-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.rh-nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    list-style: none;
}

.rh-nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    padding: 8px 12px;
    border-radius: var(--rounded-md);
    transition: color 0.15s, background 0.15s;
    text-decoration: none;
}

.rh-nav__link:hover { color: var(--ink); background: var(--surface-strong); }
.rh-nav__link--active { 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-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.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(--surface-strong); }

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

.rh-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.rh-hero__label {
    display: inline-flex;
    align-items: center;
    background: var(--surface-strong);
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--rounded-pill);
    margin-bottom: 24px;
}

.rh-hero__h1 {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    max-width: 760px;
    margin-bottom: 20px;
}

.rh-hero__sub {
    font-size: 16px;
    color: var(--body);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.rh-hero__featured {
    margin-top: 64px;
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.rh-hero__featured-img {
    height: 360px;
    object-fit: cover;
    width: 100%;
}

.rh-hero__featured-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

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

.rh-hero__featured-title {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.013em;
    color: var(--ink);
    line-height: 1.25;
}

.rh-hero__featured-excerpt {
    font-size: 15px;
    color: var(--body);
    line-height: 1.6;
}

.rh-hero__featured-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.rh-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--hairline);
}

.rh-section--alt { background: var(--canvas-soft); }

.rh-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.rh-section__header {
    margin-bottom: 40px;
}

.rh-section__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
    display: block;
}

.rh-section__h2 {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.2;
}

.rh-section__sub {
    font-size: 16px;
    color: var(--body);
    margin-top: 12px;
    max-width: 600px;
    line-height: 1.6;
}

.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(--rounded-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.rh-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.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.35;
}

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

.rh-card__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

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

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

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

.rh-fact__num {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 6px;
}

.rh-fact__label {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
}

.rh-article {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px;
}

.rh-article__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
    display: block;
}

.rh-article__h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 20px;
}

.rh-article__meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 40px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.rh-article__lead {
    font-size: 18px;
    color: var(--body-strong);
    line-height: 1.6;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--hairline);
}

.rh-article__img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--rounded-lg);
    margin-bottom: 40px;
}

.rh-article__img-caption {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    margin-top: -30px;
    margin-bottom: 40px;
}

.rh-article h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.013em;
    color: var(--ink);
    margin: 48px 0 16px;
    line-height: 1.25;
}

.rh-article h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 32px 0 12px;
}

.rh-article p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 20px;
}

.rh-article ul, .rh-article ol {
    margin: 0 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rh-article li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
}

.rh-article a { color: var(--primary); }
.rh-article a:hover { color: var(--primary-active); }

.rh-info-box {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin: 32px 0;
}

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

.rh-info-box p, .rh-info-box li {
    font-size: 14px !important;
    color: var(--body) !important;
}

.rh-article__related {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--hairline);
}

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

.rh-contact-form {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 40px;
    margin-top: 40px;
}

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

.rh-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    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(--rounded-md);
    padding: 12px 16px;
    height: 44px;
    font-size: 16px;
    color: var(--ink);
    font-family: inherit;
    transition: border-color 0.15s;
}

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

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

.rh-form-group input.invalid,
.rh-form-group textarea.invalid {
    border-color: var(--error);
}

.rh-form-error {
    font-size: 13px;
    color: var(--error);
    margin-top: 4px;
    display: none;
}

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

.rh-form-message--success {
    background: #e6f5f0;
    color: var(--success);
    border: 1px solid #b3ddd0;
}

.rh-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 64px 24px;
}

.rh-page__h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 12px;
}

.rh-page__updated {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--hairline);
}

.rh-page h2 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 40px 0 12px;
}

.rh-page h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin: 24px 0 8px;
}

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

.rh-page ul, .rh-page ol {
    margin: 0 0 16px 20px;
}

.rh-page li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 6px;
}

.rh-page a { color: var(--primary); }

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

.rh-breadcrumb__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.rh-breadcrumb__item a {
    color: var(--muted);
    text-decoration: none;
}

.rh-breadcrumb__item a:hover { color: var(--ink); }
.rh-breadcrumb__item--current { color: var(--ink); }
.rh-breadcrumb__sep { color: var(--hairline-strong); }

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

.rh-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
}

.rh-footer__logo {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    display: block;
    margin-bottom: 10px;
}

.rh-footer__tagline {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 280px;
}

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

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

.rh-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rh-footer__col a { font-size: 14px; color: var(--body); text-decoration: none; }
.rh-footer__col a:hover { color: var(--ink); }

.rh-footer__bottom {
    max-width: 1200px;
    margin: 48px auto 0;
    padding: 24px;
    border-top: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.rh-cookie {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 520px;
    background: var(--ink);
    color: var(--canvas);
    border-radius: var(--rounded-lg);
    padding: 20px 24px;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 24px rgba(38,37,30,0.18);
}

.rh-cookie.is-visible { display: block; }

.rh-cookie__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.rh-cookie__text a { color: var(--primary); }

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

.rh-btn-loading {
    opacity: 0.7;
    pointer-events: none;
}

@media (max-width: 1023px) {
    .rh-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .rh-fact-grid { grid-template-columns: repeat(2, 1fr); }
    .rh-hero__featured { grid-template-columns: 1fr; }
    .rh-hero__featured-img { height: 240px; }
    .rh-footer__inner { grid-template-columns: 1fr; gap: 40px; }
    .rh-footer__nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .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: 16px;
        gap: 4px;
    }
    .rh-nav__menu.is-open { display: flex; }
    .rh-nav__burger { display: flex; }
    .rh-nav { position: sticky; }
    .rh-grid-3 { grid-template-columns: 1fr; }
    .rh-grid-2 { grid-template-columns: 1fr; }
    .rh-fact-grid { grid-template-columns: repeat(2, 1fr); }
    .rh-hero { padding: 48px 0; }
    .rh-section { padding: 48px 0; }
    .rh-footer__nav { grid-template-columns: 1fr; }
    .rh-contact-form { padding: 24px; }
    .rh-cookie { left: 12px; right: 12px; bottom: 12px; }
}

@media (max-width: 479px) {
    .rh-fact-grid { grid-template-columns: 1fr; }
}
