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

:root {
  --canvas:         #f7f7f4;
  --canvas-soft:    #fafaf7;
  --surface-card:   #ffffff;
  --surface-strong: #e6e5e0;
  --hairline:       #e6e5e0;
  --hairline-soft:  #efeee8;
  --hairline-strong:#cfcdc4;
  --ink:            #26251e;
  --body:           #5a5852;
  --muted:          #807d72;
  --muted-soft:     #a09c92;
  --primary:        #f54e00;
  --primary-active: #d04200;
  --on-primary:     #ffffff;
  --success:        #1f8a65;
  --error:          #cf2d56;
  --radius-xs:      4px;
  --radius-sm:      6px;
  --radius-md:      8px;
  --radius-lg:      12px;
  --radius-xl:      16px;
  --radius-pill:    9999px;
  --section:        80px;
  --font-body:      'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono:      'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--canvas);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
ul[role="list"] { list-style: none; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(32px, 5vw, 72px); line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3.5vw, 36px); line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 26px; line-height: 1.25; letter-spacing: -0.013em; }
h4 { font-size: 22px; line-height: 1.3; letter-spacing: -0.005em; }

.rh-label {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.088em;
  text-transform: uppercase;
  color: var(--muted);
}

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

/* NAV */
.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;
  gap: 32px;
  width: 100%;
}

.rh-nav__logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}
.rh-nav__logo:hover { text-decoration: none; }

.rh-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.rh-nav__list li a {
  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__list li a:hover { color: var(--ink); background: var(--surface-strong); text-decoration: none; }
.rh-nav__list li a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.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-nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rh-nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.rh-nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.rh-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.rh-hero__label { margin-bottom: 20px; }
.rh-hero__title { margin-bottom: 20px; }
.rh-hero__desc { font-size: 18px; color: var(--body); line-height: 1.6; max-width: 520px; }

.rh-hero__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  aspect-ratio: 4/3;
  background: var(--surface-card);
}
.rh-hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* SECTION HEADER */
.rh-section-header {
  margin-bottom: 48px;
}
.rh-section-header .rh-label { margin-bottom: 12px; }
.rh-section-header h2 { max-width: 600px; }
.rh-section-header p { margin-top: 16px; color: var(--body); max-width: 560px; }

/* CARDS GRID */
.rh-cards {
  padding: var(--section) 0;
  border-bottom: 1px solid var(--hairline);
}

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

.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;
  aspect-ratio: 16/9;
  background: var(--surface-strong);
  margin-bottom: 4px;
}
.rh-card__img img { width: 100%; height: 100%; object-fit: cover; }

.rh-card__label { margin-bottom: 4px; }
.rh-card__title { font-size: 22px; font-weight: 400; color: var(--ink); letter-spacing: -0.005em; line-height: 1.3; }
.rh-card__desc { font-size: 14px; color: var(--body); line-height: 1.5; flex: 1; }
.rh-card__link { font-size: 14px; font-weight: 500; color: var(--ink); margin-top: auto; }
.rh-card__link:hover { text-decoration: underline; }

/* ARTICLE CARD LINK */
a.rh-card { color: inherit; display: flex; }
a.rh-card:hover { text-decoration: none; border-color: var(--hairline-strong); }

/* TOPICS BAND */
.rh-topics {
  padding: var(--section) 0;
  border-bottom: 1px solid var(--hairline);
}

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

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

.rh-topic-card__icon {
  width: 40px;
  height: 40px;
  background: var(--surface-strong);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.rh-topic-card h3 { font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.rh-topic-card p { font-size: 14px; color: var(--body); line-height: 1.6; }

/* ARTICLE PAGE */
.rh-article-layout {
  padding: 64px 0 var(--section);
}

.rh-article-layout__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: flex-start;
}

.rh-article__hero-img {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  aspect-ratio: 16/7;
  background: var(--surface-card);
}
.rh-article__hero-img img { width: 100%; height: 100%; object-fit: cover; }

.rh-article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

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

.rh-article__body { max-width: 720px; }
.rh-article__body h2 { margin: 40px 0 16px; }
.rh-article__body h3 { margin: 32px 0 12px; }
.rh-article__body p { margin-bottom: 20px; font-size: 16px; line-height: 1.7; color: var(--body); }
.rh-article__body ul, .rh-article__body ol { margin: 0 0 20px 24px; }
.rh-article__body li { margin-bottom: 8px; font-size: 16px; line-height: 1.6; color: var(--body); }
.rh-article__body a { color: var(--ink); text-decoration: underline; }
.rh-article__body a:hover { color: var(--primary); }

.rh-article__body .rh-ref-box {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 14px;
  color: var(--muted);
}
.rh-article__body .rh-ref-box a { color: var(--body); }

.rh-article__body .rh-highlight {
  background: var(--surface-card);
  border-left: 3px solid var(--hairline-strong);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}
.rh-article__body .rh-highlight p { margin-bottom: 0; font-size: 15px; color: var(--muted); }

/* SIDEBAR */
.rh-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 24px; }

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

.rh-sidebar__card h4 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 16px; letter-spacing: 0; }

.rh-sidebar__links { display: flex; flex-direction: column; gap: 12px; }
.rh-sidebar__links a { font-size: 14px; color: var(--body); border-bottom: 1px solid var(--hairline-soft); padding-bottom: 12px; }
.rh-sidebar__links a:last-child { border-bottom: none; padding-bottom: 0; }
.rh-sidebar__links a:hover { color: var(--ink); text-decoration: none; }

/* CONTACT FORM */
.rh-contact {
  padding: var(--section) 0;
  border-top: 1px solid var(--hairline);
}

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

.rh-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.rh-form__group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.rh-form__group input,
.rh-form__group textarea {
  background: var(--canvas);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  height: 44px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  width: 100%;
  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: auto; min-height: 120px; resize: vertical; }

.rh-form__group input::placeholder,
.rh-form__group textarea::placeholder {
  color: var(--muted-soft);
}

.rh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}

.rh-btn--primary {
  background: var(--ink);
  color: var(--canvas);
}
.rh-btn--primary:hover { background: #38372f; }
.rh-btn--primary:active { background: var(--primary-active); }

.rh-form__status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  display: none;
}
.rh-form__status--success {
  background: #e6f5f0;
  color: var(--success);
  border: 1px solid #b3dfd1;
}
.rh-form__status--error {
  background: #fdedf0;
  color: var(--error);
  border: 1px solid #f5b3c0;
}

/* COOKIE BANNER */
.rh-cookie {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--canvas);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 720px;
  width: calc(100% - 48px);
  z-index: 200;
  box-shadow: 0 4px 24px rgba(38,37,30,0.18);
}
.rh-cookie p { font-size: 14px; line-height: 1.5; flex: 1; }
.rh-cookie p a { color: var(--canvas); text-decoration: underline; }
.rh-cookie__actions { display: flex; gap: 8px; flex-shrink: 0; }

.rh-btn--cookie-accept {
  background: var(--primary);
  color: var(--on-primary);
  height: 40px;
  padding: 0 18px;
}
.rh-btn--cookie-accept:hover { background: var(--primary-active); }

.rh-btn--cookie-reject {
  background: transparent;
  color: var(--canvas);
  border: 1px solid rgba(247,247,244,0.3);
  height: 40px;
  padding: 0 18px;
}
.rh-btn--cookie-reject:hover { background: rgba(247,247,244,0.08); }

/* PAGE HEADER */
.rh-page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--hairline);
}
.rh-page-header .rh-label { margin-bottom: 16px; }
.rh-page-header h1 { max-width: 720px; margin-bottom: 16px; }
.rh-page-header p { font-size: 18px; color: var(--body); max-width: 600px; line-height: 1.6; }

/* ABOUT SECTIONS */
.rh-content-section {
  padding: var(--section) 0;
  border-bottom: 1px solid var(--hairline);
}
.rh-content-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.rh-content-section h2 { margin-bottom: 20px; }
.rh-content-section p { color: var(--body); line-height: 1.7; margin-bottom: 16px; }
.rh-content-section p:last-child { margin-bottom: 0; }

.rh-values {
  padding: var(--section) 0;
  border-bottom: 1px solid var(--hairline);
}
.rh-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.rh-value-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.rh-value-card h4 { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: 0; }
.rh-value-card p { font-size: 14px; color: var(--body); line-height: 1.6; margin: 0; }

/* PRIVACY / TERMS */
.rh-legal { padding: var(--section) 0; }
.rh-legal__body { max-width: 800px; }
.rh-legal__body h2 { margin: 40px 0 16px; font-size: 24px; }
.rh-legal__body h3 { margin: 28px 0 12px; font-size: 20px; }
.rh-legal__body p { margin-bottom: 16px; color: var(--body); line-height: 1.7; }
.rh-legal__body ul { margin: 0 0 16px 20px; }
.rh-legal__body li { margin-bottom: 6px; color: var(--body); line-height: 1.6; }
.rh-legal__body a { color: var(--ink); text-decoration: underline; }

/* DISCLAIMER */
.rh-disclaimer {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 0 0 40px;
  font-size: 14px;
  color: var(--muted);
}

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

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

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

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

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

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

.rh-footer__bottom {
  border-top: 1px solid var(--hairline);
}
.rh-footer__bottom .rh-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 24px;
  flex-wrap: wrap;
}
.rh-footer__bottom p { font-size: 13px; color: var(--muted); }
.rh-footer__bottom ul { display: flex; gap: 20px; }
.rh-footer__bottom ul a { font-size: 13px; color: var(--muted); }
.rh-footer__bottom ul a:hover { color: var(--ink); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .rh-hero__inner { grid-template-columns: 1fr; }
  .rh-hero__desc { max-width: 100%; }
  .rh-cards__grid { grid-template-columns: repeat(2, 1fr); }
  .rh-footer__inner { grid-template-columns: 1fr 1fr; }
  .rh-article-layout__inner { grid-template-columns: 1fr; }
  .rh-sidebar { position: static; }
  .rh-content-section__inner { grid-template-columns: 1fr; gap: 40px; }
  .rh-values__grid { grid-template-columns: repeat(2, 1fr); }
  .rh-topics__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section: 56px; }
  .rh-nav__list { 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__list.is-open { display: flex; }
  .rh-nav__burger { display: flex; }
  .rh-nav { position: relative; }
  .rh-cards__grid { grid-template-columns: 1fr; }
  .rh-footer__inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 32px; }
  .rh-form { padding: 24px; }
  .rh-cookie { flex-direction: column; align-items: flex-start; gap: 16px; bottom: 16px; }
  .rh-cookie__actions { width: 100%; }
  .rh-cookie__actions .rh-btn { flex: 1; justify-content: center; }
  .rh-values__grid { grid-template-columns: 1fr; }
  .rh-topics__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .rh-hero { padding: 40px 0; }
  h1 { font-size: 32px; }
}
