@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;
    --card:            #ffffff;
    --surface-strong:  #e6e5e0;
    --primary:         #f54e00;
    --primary-active:  #d04200;
    --ink:             #26251e;
    --body:            #5a5852;
    --muted:           #807d72;
    --muted-soft:      #a09c92;
    --on-primary:      #ffffff;
    --hairline:        #e6e5e0;
    --hairline-soft:   #efeee8;
    --hairline-strong: #cfcdc4;
    --success:         #1f8a65;
    --error:           #cf2d56;
    --radius-xs:       4px;
    --radius-sm:       6px;
    --radius-md:       8px;
    --radius-lg:       12px;
    --radius-xl:       16px;
    --radius-pill:     9999px;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
ul[role="list"] { list-style: none; }

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

.rh-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
}
.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;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    flex-shrink: 0;
}
.rh-nav__logo-mark {
    color: var(--primary);
    font-size: 12px;
}
.rh-nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin-left: auto;
}
.rh-nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background 0.15s;
}
.rh-nav__link:hover,
.rh-nav__link--active {
    color: var(--ink);
    background: var(--surface-strong);
}
.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 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.rh-hero__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
}
.rh-hero__h1 {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.2px;
    color: var(--ink);
    margin-bottom: 20px;
}
.rh-hero__lead {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    max-width: 480px;
}
.rh-hero__img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--surface-strong);
}
.rh-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rh-section {
    padding: 80px 0;
    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__title {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 48px;
}
.rh-section__title--md {
    font-size: 26px;
    letter-spacing: -0.325px;
}

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

.rh-card {
    background: var(--card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rh-card--article {
    padding: 0;
    overflow: hidden;
}
.rh-card--article .rh-card__thumb {
    aspect-ratio: 16/9;
    background: var(--surface-strong);
    overflow: hidden;
}
.rh-card--article .rh-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.rh-card--article:hover .rh-card__thumb img { transform: scale(1.02); }
.rh-card--article .rh-card__body { padding: 20px 24px 24px; }
.rh-card__category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}
.rh-card__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
    margin-bottom: 8px;
}
.rh-card__title a { color: inherit; }
.rh-card__title a:hover { color: var(--primary); }
.rh-card__excerpt {
    font-size: 14px;
    color: var(--body);
    line-height: 1.55;
}
.rh-card__meta {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}
.rh-card__meta a { color: var(--muted); text-decoration: underline; }

.rh-article-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
}
.rh-article-header__inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}
.rh-article-header__cat {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.rh-article-header__h1 {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 16px;
}
.rh-article-header__lead {
    font-size: 18px;
    color: var(--body);
    line-height: 1.55;
    margin-bottom: 20px;
}
.rh-article-header__meta {
    font-size: 13px;
    color: var(--muted);
}

.rh-article-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}
.rh-article-body h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin: 48px 0 16px;
    line-height: 1.25;
}
.rh-article-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 32px 0 12px;
    line-height: 1.35;
}
.rh-article-body p { margin-bottom: 20px; color: var(--body); line-height: 1.7; }
.rh-article-body ul, .rh-article-body ol {
    margin: 0 0 20px 20px;
    color: var(--body);
    line-height: 1.7;
}
.rh-article-body li { margin-bottom: 6px; }
.rh-article-body a { color: var(--ink); text-decoration: underline; }
.rh-article-body a:hover { color: var(--primary); }
.rh-article-body figure {
    margin: 32px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
    background: var(--surface-strong);
}
.rh-article-body figure img { width: 100%; object-fit: cover; }
.rh-article-body figcaption {
    font-size: 13px;
    color: var(--muted);
    padding: 10px 16px;
    line-height: 1.4;
    background: var(--canvas-soft);
}
.rh-article-body blockquote {
    border-left: 3px solid var(--hairline-strong);
    padding: 16px 20px;
    margin: 24px 0;
    color: var(--muted);
    font-style: italic;
    background: var(--canvas-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.rh-article-body .rh-sources {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
    font-size: 13px;
    color: var(--muted);
}
.rh-article-body .rh-sources a { color: var(--muted); text-decoration: underline; }

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

.rh-page-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
}
.rh-page-header__inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}
.rh-page-header__h1 {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.2;
}
.rh-page-header__sub {
    font-size: 16px;
    color: var(--muted);
}
.rh-page-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}
.rh-page-body h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin: 36px 0 12px;
    line-height: 1.3;
}
.rh-page-body p { margin-bottom: 16px; line-height: 1.7; }
.rh-page-body ul { margin: 0 0 16px 20px; line-height: 1.7; }
.rh-page-body li { margin-bottom: 6px; }
.rh-page-body a { color: var(--ink); text-decoration: underline; }

.rh-form {
    background: var(--card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 32px;
}
.rh-form__group { margin-bottom: 20px; }
.rh-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
}
.rh-form input,
.rh-form textarea {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
    height: 44px;
    transition: border-color 0.15s;
}
.rh-form textarea { height: 120px; resize: vertical; }
.rh-form input:focus,
.rh-form textarea:focus {
    outline: none;
    border-color: var(--ink);
}
.rh-form__msg {
    display: none;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-top: 12px;
    background: #e8f5f0;
    color: var(--success);
    border: 1px solid #b8ddd0;
}
.rh-form__msg--visible { display: block; }

.rh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    padding: 0 18px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.rh-btn--primary { background: var(--primary); color: var(--on-primary); }
.rh-btn--primary:hover { background: var(--primary-active); }
.rh-btn--secondary {
    background: var(--card);
    color: var(--ink);
    border: 1px solid var(--hairline-strong);
}
.rh-btn--secondary:hover { background: var(--surface-strong); }
.rh-btn--ink { background: var(--ink); color: var(--canvas); height: 44px; padding: 0 20px; }
.rh-btn--ink:hover { background: #3a3830; }

.rh-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 0 48px;
}
.rh-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 3fr 3fr;
    gap: 48px;
    align-items: start;
}
.rh-footer__logo {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    display: inline-block;
    margin-bottom: 8px;
}
.rh-footer__tagline { font-size: 13px; color: var(--muted); line-height: 1.5; }
.rh-footer__nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.rh-footer__nav a { font-size: 14px; color: var(--body); }
.rh-footer__nav a:hover { color: var(--ink); }
.rh-footer__legal { font-size: 13px; color: var(--muted); line-height: 1.6; }
.rh-footer__legal a { color: var(--muted); text-decoration: underline; }

.rh-cookie {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 760px;
    background: var(--ink);
    color: var(--canvas);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    z-index: 999;
    box-shadow: 0 4px 24px rgba(38,37,30,0.2);
    display: none;
    flex-direction: column;
    gap: 12px;
}
.rh-cookie--visible { display: flex; }
.rh-cookie__text { font-size: 14px; line-height: 1.55; color: var(--canvas); }
.rh-cookie__text a { color: var(--canvas); text-decoration: underline; }
.rh-cookie__actions { display: flex; gap: 8px; }

.rh-disclaimer {
    background: var(--canvas-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    font-size: 13px;
    color: var(--muted);
    margin: 24px 0;
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .rh-hero__h1 { font-size: 38px; }
    .rh-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .rh-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .rh-nav__burger { display: flex; }
    .rh-nav__links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 24px;
        gap: 4px;
        margin-left: 0;
    }
    .rh-nav__links--open { display: flex; }
    .rh-nav__link { width: 100%; padding: 10px 12px; }
    .rh-hero__inner { grid-template-columns: 1fr; gap: 32px; }
    .rh-hero__h1 { font-size: 32px; }
    .rh-section__title { font-size: 28px; }
    .rh-grid-3, .rh-grid-2 { grid-template-columns: 1fr; }
    .rh-footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .rh-article-header__h1 { font-size: 28px; }
    .rh-form { padding: 24px 20px; }
}
@media (max-width: 640px) {
    .rh-hero { padding: 48px 0; }
    .rh-section { padding: 48px 0; }
    .rh-cookie { bottom: 12px; left: 12px; right: 12px; width: auto; transform: none; }
}
