: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;
    --success:         #1f8a65;
    --error:           #cf2d56;

    --r-xs:   4px;
    --r-sm:   6px;
    --r-md:   8px;
    --r-lg:  12px;
    --r-xl:  16px;
    --r-pill: 9999px;

    --sp-xxs:  4px;
    --sp-xs:   8px;
    --sp-sm:  12px;
    --sp-base:16px;
    --sp-md:  20px;
    --sp-lg:  24px;
    --sp-xl:  32px;
    --sp-xxl: 48px;
    --sp-sec: 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 {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--body);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-base);
}

/* ── NAV ── */
.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 var(--sp-base);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-lg);
}
.rh-nav__wordmark {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.rh-nav__accent,
.rh-footer__accent { color: var(--primary); }
.rh-nav__menu {
    display: flex;
    align-items: center;
    gap: var(--sp-lg);
    list-style: none;
}
.rh-nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    transition: color .15s;
}
.rh-nav__link:hover,
.rh-nav__link--active { color: var(--ink); text-decoration: none; }
.rh-nav__link--active { border-bottom: 2px solid var(--primary); padding-bottom: 2px; }

.rh-nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--sp-xs);
}
.rh-nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}

/* ── HERO ── */
.rh-hero {
    padding: var(--sp-sec) 0 60px;
    background: var(--canvas);
}
.rh-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-base);
}
.rh-hero__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .88px;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--surface-strong);
    border-radius: var(--r-pill);
    padding: 4px 10px;
    margin-bottom: var(--sp-lg);
}
.rh-hero__h1 {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 820px;
    margin-bottom: var(--sp-lg);
}
.rh-hero__sub {
    font-size: 16px;
    color: var(--body);
    max-width: 580px;
    margin-bottom: var(--sp-xxl);
    line-height: 1.6;
}
.rh-hero__img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--r-lg);
    border: 1px solid var(--hairline);
}

/* ── SECTION HEADINGS ── */
.rh-section {
    padding: var(--sp-sec) 0;
}
.rh-section--alt { background: var(--canvas-soft); }
.rh-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-base);
}
.rh-section__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--sp-sm);
}
.rh-section__h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: var(--sp-xl);
}

/* ── CARD GRID ── */
.rh-grid {
    display: grid;
    gap: var(--sp-lg);
    grid-template-columns: repeat(3, 1fr);
}
.rh-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.rh-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.rh-card__body { padding: var(--sp-lg); flex: 1; display: flex; flex-direction: column; }
.rh-card__tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--sp-xs);
}
.rh-card__h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: var(--sp-xs);
}
.rh-card__excerpt {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    flex: 1;
    margin-bottom: var(--sp-md);
}
.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;
    transition: border-color .15s, color .15s;
    align-self: flex-start;
}
.rh-card__link:hover { color: var(--primary); border-color: var(--primary); text-decoration: none; }

/* ── FEATURE LIST ── */
.rh-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}
.rh-feature {
    padding: var(--sp-lg);
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
}
.rh-feature__num {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .88px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--sp-xs);
}
.rh-feature__h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--sp-xs);
}
.rh-feature__p { font-size: 14px; color: var(--body); line-height: 1.5; }

/* ── ARTICLE PAGE ── */
.rh-article {
    max-width: 740px;
    margin: var(--sp-sec) auto;
    padding: 0 var(--sp-base);
}
.rh-article__meta {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    margin-bottom: var(--sp-xl);
    flex-wrap: wrap;
}
.rh-article__tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .88px;
    text-transform: uppercase;
    background: var(--surface-strong);
    color: var(--ink);
    border-radius: var(--r-pill);
    padding: 4px 10px;
}
.rh-article__date { font-size: 13px; color: var(--muted); }
.rh-article__h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: var(--sp-lg);
}
.rh-article__lead {
    font-size: 18px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: var(--sp-xl);
    border-left: 3px solid var(--primary);
    padding-left: var(--sp-base);
}
.rh-article__img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--r-lg);
    border: 1px solid var(--hairline);
    margin-bottom: var(--sp-xl);
}
.rh-article__img-caption {
    font-size: 13px;
    color: var(--muted);
    margin-top: calc(-1 * var(--sp-lg));
    margin-bottom: var(--sp-xl);
}
.rh-article h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.015em;
    margin: var(--sp-xxl) 0 var(--sp-base);
}
.rh-article h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: var(--sp-xl) 0 var(--sp-sm);
}
.rh-article p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--sp-base);
}
.rh-article ul, .rh-article ol {
    margin: var(--sp-base) 0 var(--sp-base) var(--sp-xl);
    display: flex;
    flex-direction: column;
    gap: var(--sp-xs);
}
.rh-article li { font-size: 16px; color: var(--body); line-height: 1.6; }
.rh-article a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.rh-article a:hover { color: var(--primary); }
.rh-article__source {
    font-size: 13px;
    color: var(--muted);
    border-top: 1px solid var(--hairline);
    padding-top: var(--sp-lg);
    margin-top: var(--sp-xxl);
}
.rh-article__source a { color: var(--muted); }

.rh-article__nav {
    display: flex;
    justify-content: space-between;
    gap: var(--sp-lg);
    margin-top: var(--sp-xxl);
    padding-top: var(--sp-lg);
    border-top: 1px solid var(--hairline);
}
.rh-article__nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
}
.rh-article__nav a:hover { color: var(--primary); }

/* ── CONTACT FORM ── */
.rh-contact {
    max-width: 600px;
    margin: 0 auto;
}
.rh-form { display: flex; flex-direction: column; gap: var(--sp-base); }
.rh-form__group { display: flex; flex-direction: column; gap: var(--sp-xxs); }
.rh-form__label { font-size: 14px; font-weight: 500; color: var(--ink); }
.rh-form__input,
.rh-form__textarea {
    background: var(--surface-card);
    color: var(--ink);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--r-md);
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 16px;
    height: 44px;
    width: 100%;
    transition: border-color .15s;
}
.rh-form__textarea { height: auto; min-height: 120px; resize: vertical; }
.rh-form__input:focus,
.rh-form__textarea:focus {
    outline: none;
    border-color: var(--ink);
}
.rh-form__btn {
    background: var(--ink);
    color: var(--canvas);
    border: none;
    border-radius: var(--r-md);
    padding: 12px 20px;
    height: 44px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: opacity .15s;
    align-self: flex-start;
}
.rh-form__btn:hover { opacity: .8; }
.rh-form__btn:disabled { opacity: .5; cursor: not-allowed; }
.rh-form__msg {
    display: none;
    padding: var(--sp-sm) var(--sp-base);
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 500;
}
.rh-form__msg--success {
    background: #d1f0e6;
    color: var(--success);
}
.rh-form__msg--error {
    background: #fce4ea;
    color: var(--error);
}

/* ── PAGE CONTENT (about / privacy / terms) ── */
.rh-page {
    max-width: 740px;
    margin: var(--sp-sec) auto;
    padding: 0 var(--sp-base);
}
.rh-page__h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.025em;
    margin-bottom: var(--sp-xl);
}
.rh-page h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin: var(--sp-xxl) 0 var(--sp-base);
}
.rh-page h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: var(--sp-xl) 0 var(--sp-sm);
}
.rh-page p { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: var(--sp-base); }
.rh-page ul, .rh-page ol {
    margin: var(--sp-base) 0 var(--sp-base) var(--sp-xl);
    display: flex;
    flex-direction: column;
    gap: var(--sp-xs);
}
.rh-page li { font-size: 16px; color: var(--body); line-height: 1.6; }
.rh-page a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.rh-page a:hover { color: var(--primary); }
.rh-page__updated { font-size: 13px; color: var(--muted); margin-bottom: var(--sp-xxl); }

/* ── COOKIE BANNER ── */
.rh-cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--ink);
    color: var(--canvas);
    padding: var(--sp-base) var(--sp-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-lg);
    flex-wrap: wrap;
    transform: translateY(100%);
    transition: transform .3s ease;
}
.rh-cookie--visible { transform: translateY(0); }
.rh-cookie__text { font-size: 14px; line-height: 1.5; color: var(--canvas); flex: 1; min-width: 260px; }
.rh-cookie__text a { color: var(--canvas); text-decoration: underline; }
.rh-cookie__btns { display: flex; gap: var(--sp-sm); flex-shrink: 0; }
.rh-cookie__btn {
    border-radius: var(--r-md);
    padding: 10px 18px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.rh-cookie__btn--accept { background: var(--primary); color: var(--on-primary); }
.rh-cookie__btn--reject { background: transparent; color: var(--canvas); border: 1px solid rgba(255,255,255,.3); }

/* ── DIVIDER ── */
.rh-divider { height: 1px; background: var(--hairline); border: none; margin: 0; }

/* ── FOOTER ── */
.rh-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px var(--sp-base) 48px;
}
.rh-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-xxl);
    margin-bottom: var(--sp-xxl);
}
.rh-footer__wordmark {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: var(--sp-sm);
}
.rh-footer__tagline { font-size: 14px; color: var(--muted); line-height: 1.6; }
.rh-footer__heading { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: var(--sp-base); letter-spacing: .02em; text-transform: uppercase; }
.rh-footer__links { list-style: none; display: flex; flex-direction: column; gap: var(--sp-xs); }
.rh-footer__link { font-size: 14px; color: var(--body); transition: color .15s; }
.rh-footer__link:hover { color: var(--ink); text-decoration: none; }
.rh-footer__address p { font-size: 14px; color: var(--body); margin-bottom: var(--sp-xs); line-height: 1.5; }
.rh-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-base);
    padding-top: var(--sp-lg);
    border-top: 1px solid var(--hairline-soft);
    flex-wrap: wrap;
}
.rh-footer__copy, .rh-footer__legal { font-size: 13px; color: var(--muted); }
.rh-footer__legal { display: flex; gap: var(--sp-sm); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .rh-grid { grid-template-columns: repeat(2, 1fr); }
    .rh-features { 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__menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--sp-base);
        border-bottom: 1px solid var(--hairline);
        gap: var(--sp-base);
    }
    .rh-nav__menu--open { display: flex; }
    .rh-nav { position: sticky; }

    .rh-grid { grid-template-columns: 1fr; }
    .rh-features { grid-template-columns: 1fr; }
    .rh-footer__inner { grid-template-columns: 1fr; gap: var(--sp-xl); }
    .rh-footer__bottom { flex-direction: column; align-items: flex-start; }
    .rh-hero { padding: var(--sp-xxl) 0 var(--sp-xl); }
    .rh-section { padding: var(--sp-xxl) 0; }
}

@media (max-width: 640px) {
    .rh-article__nav { flex-direction: column; }
}
