:root {
    --canvas: #f7f7f4;
    --canvas-soft: #fafaf7;
    --surface-card: #ffffff;
    --surface-strong: #e6e5e0;
    --primary: #f54e00;
    --primary-active: #d04200;
    --ink: #26251e;
    --body-color: #5a5852;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --on-primary: #ffffff;
    --hairline: #e6e5e0;
    --hairline-soft: #efeee8;
    --hairline-strong: #cfcdc4;
    --success: #1f8a65;
    --error: #cf2d56;
    --rounded-xs: 4px;
    --rounded-sm: 6px;
    --rounded-md: 8px;
    --rounded-lg: 12px;
    --rounded-xl: 16px;
    --rounded-pill: 9999px;
    --spacing-xxs: 4px;
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-base: 16px;
    --spacing-md: 20px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    --spacing-section: 80px;
    --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 {
    background: var(--canvas);
    color: var(--body-color);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--primary); }

address { font-style: normal; }

.rh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.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;
    justify-content: space-between;
    height: 64px;
    gap: var(--spacing-xl);
}

.rh-nav__logo {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 0;
}

.rh-nav__logo-text {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--ink);
}

.rh-nav__logo-tld {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.rh-nav__menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    margin: 0;
    padding: 0;
}

.rh-nav__menu a {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.15s;
}

.rh-nav__menu a:hover,
.rh-nav__menu a[aria-current="page"] {
    color: var(--primary);
}

.rh-nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    width: 40px;
    height: 40px;
}

.rh-nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.rh-nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rh-nav__burger.open span:nth-child(2) { opacity: 0; }
.rh-nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.rh-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    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(--rounded-pill);
    padding: 4px 10px;
    margin-bottom: var(--spacing-md);
}

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

.rh-hero__lead {
    font-size: 16px;
    color: var(--body-color);
    line-height: 1.6;
    margin-bottom: var(--spacing-xxl);
    max-width: 480px;
}

.rh-hero__image {
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

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

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

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

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

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

.rh-section__h3 {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin-bottom: var(--spacing-base);
}

.rh-section__intro {
    font-size: 16px;
    color: var(--body-color);
    line-height: 1.6;
    max-width: 640px;
    margin-bottom: var(--spacing-xxl);
}

.rh-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.rh-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.rh-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-lg);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s;
}

.rh-card:hover {
    border-color: var(--hairline-strong);
    color: inherit;
}

.rh-card__img {
    border-radius: var(--rounded-md);
    overflow: hidden;
    margin-bottom: var(--spacing-base);
    border: 1px solid var(--hairline-soft);
}

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

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

.rh-card__title {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.11px;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}

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

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

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

.rh-feature-item {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--hairline-soft);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
}

.rh-feature-item:last-child { border-bottom: none; }

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

.rh-feature-item__body h3 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.11px;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}

.rh-feature-item__body p {
    font-size: 16px;
    color: var(--body-color);
    line-height: 1.6;
}

.rh-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
}

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

.rh-form-group {
    margin-bottom: var(--spacing-base);
}

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

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

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

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

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

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

.rh-form-error.visible { display: block; }

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

.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 { border-color: var(--ink); color: var(--ink); }

.rh-btn--download {
    background: var(--ink);
    color: var(--canvas);
    padding: 12px 20px;
    height: 44px;
}

.rh-btn--download:hover { background: #3a3930; color: var(--canvas); }

.rh-btn--full { width: 100%; }

.rh-form-status {
    display: none;
    padding: var(--spacing-base);
    border-radius: var(--rounded-md);
    font-size: 14px;
    margin-top: var(--spacing-base);
    text-align: center;
}

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

.rh-form-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-size: 14px;
    color: var(--muted);
    margin-top: var(--spacing-base);
}

.rh-form-loading.visible { display: flex; }

.rh-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--hairline);
    border-top-color: var(--ink);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

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

.rh-breadcrumb__list {
    list-style: none;
    display: flex;
    gap: var(--spacing-xs);
    font-size: 13px;
    color: var(--muted);
}

.rh-breadcrumb__list li:not(:last-child)::after { content: '/'; margin-left: var(--spacing-xs); }
.rh-breadcrumb__list a { color: var(--muted); text-decoration: none; }
.rh-breadcrumb__list a:hover { color: var(--primary); }
.rh-breadcrumb__list li:last-child { color: var(--ink); }

.rh-article {
    padding: var(--spacing-section) 0;
}

.rh-article__header {
    margin-bottom: var(--spacing-xxl);
    max-width: 760px;
}

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

.rh-article__h1 {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.2px;
    color: var(--ink);
    margin-bottom: var(--spacing-lg);
}

.rh-article__meta {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: var(--spacing-base);
    flex-wrap: wrap;
}

.rh-article__meta time { color: var(--muted); }

.rh-article__lead-img {
    margin-bottom: var(--spacing-xxl);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.rh-article__lead-img img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.rh-article__lead-img figcaption {
    font-size: 13px;
    color: var(--muted);
    padding: var(--spacing-sm) var(--spacing-base);
    background: var(--canvas-soft);
    border-top: 1px solid var(--hairline-soft);
}

.rh-article__body {
    max-width: 760px;
}

.rh-article__body h2 {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin: var(--spacing-xxl) 0 var(--spacing-base);
}

.rh-article__body h3 {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin: var(--spacing-xl) 0 var(--spacing-sm);
}

.rh-article__body p {
    font-size: 16px;
    color: var(--body-color);
    line-height: 1.6;
    margin-bottom: var(--spacing-base);
}

.rh-article__body ul,
.rh-article__body ol {
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-base);
}

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

.rh-article__body a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.rh-article__body figure {
    margin: var(--spacing-xxl) 0;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.rh-article__body figure img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.rh-article__body figcaption {
    font-size: 13px;
    color: var(--muted);
    padding: var(--spacing-sm) var(--spacing-base);
    background: var(--canvas-soft);
    border-top: 1px solid var(--hairline-soft);
}

.rh-article__body blockquote {
    border-left: 3px solid var(--hairline-strong);
    padding: var(--spacing-sm) var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    color: var(--muted);
    font-size: 16px;
    font-style: italic;
}

.rh-article__body code {
    font-family: var(--font-mono);
    font-size: 13px;
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-xs);
    padding: 2px 6px;
    color: var(--ink);
}

.rh-article__updated {
    font-size: 13px;
    color: var(--muted-soft);
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-base);
    border-top: 1px solid var(--hairline-soft);
}

.rh-related {
    padding: var(--spacing-section) 0;
    border-top: 1px solid var(--hairline);
}

.rh-page {
    padding: var(--spacing-section) 0;
    max-width: 760px;
}

.rh-page h1 {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.2px;
    color: var(--ink);
    margin-bottom: var(--spacing-xxl);
}

.rh-page h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin: var(--spacing-xxl) 0 var(--spacing-sm);
}

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

.rh-page ul,
.rh-page ol {
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-base);
}

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

.rh-page__updated {
    font-size: 13px;
    color: var(--muted-soft);
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-base);
    border-top: 1px solid var(--hairline-soft);
}

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

.rh-footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xxl);
    padding: 64px var(--spacing-xl) 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.rh-footer__brand {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.3px;
    display: block;
    margin-bottom: var(--spacing-base);
}

.rh-footer__brand-tld { color: var(--primary); }

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

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

.rh-footer__col ul {
    list-style: none;
    padding: 0;
}

.rh-footer__col ul li {
    margin-bottom: var(--spacing-sm);
}

.rh-footer__col ul a {
    font-size: 14px;
    color: var(--body-color);
    text-decoration: none;
}

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

.rh-footer__col address p {
    font-size: 14px;
    color: var(--body-color);
    margin-bottom: var(--spacing-sm);
}

.rh-footer__col address a {
    color: var(--body-color);
    text-decoration: none;
}

.rh-footer__col address a:hover { color: var(--primary); }

.rh-footer__bottom {
    border-top: 1px solid var(--hairline);
    padding: var(--spacing-lg) 0;
}

.rh-footer__bottom .rh-container p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: var(--spacing-xs);
}

.rh-footer__bottom .rh-container a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.rh-cookie {
    display: none;
    position: fixed;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    width: calc(100% - var(--spacing-xl) * 2);
    max-width: 640px;
    background: var(--ink);
    color: var(--canvas);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
}

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

.rh-cookie__inner {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

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

.rh-cookie a { color: var(--canvas); }

.rh-cookie__btns {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.rh-articles-index {
    padding: var(--spacing-section) 0;
}

.rh-articles-index__h1 {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.2px;
    color: var(--ink);
    margin-bottom: var(--spacing-lg);
}

.rh-articles-index__lead {
    font-size: 16px;
    color: var(--body-color);
    line-height: 1.6;
    max-width: 640px;
    margin-bottom: var(--spacing-xxl);
}

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

.rh-info-block h3 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.11px;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}

.rh-info-block p {
    font-size: 15px;
    color: var(--body-color);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .rh-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .rh-hero__inner { grid-template-columns: 1fr; }
    .rh-hero__h1 { font-size: 44px; }
    .rh-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .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: var(--spacing-base) var(--spacing-xl);
        gap: var(--spacing-base);
    }
    .rh-nav__menu.open { display: flex; }
    .rh-nav { position: relative; }
    .rh-grid-3 { grid-template-columns: 1fr; }
    .rh-grid-2 { grid-template-columns: 1fr; }
    .rh-two-col { grid-template-columns: 1fr; }
    .rh-hero__h1 { font-size: 32px; letter-spacing: -0.8px; }
    .rh-article__h1 { font-size: 32px; letter-spacing: -0.8px; }
    .rh-section__h2 { font-size: 26px; }
    .rh-page h1 { font-size: 32px; }
    .rh-articles-index__h1 { font-size: 32px; }
    .rh-feature-item { grid-template-columns: 1fr; gap: var(--spacing-sm); }
    .rh-footer__inner { grid-template-columns: 1fr; }
    .rh-container { padding: 0 var(--spacing-base); }
    .rh-contact-form { padding: var(--spacing-xl); }
    .rh-cookie { bottom: var(--spacing-base); }
}

@media (max-width: 480px) {
    .rh-cookie__inner { flex-direction: column; align-items: flex-start; }
}
