:root {
  --canvas: #f7f7f4;
  --canvas-soft: #fafaf7;
  --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;
}

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

html { scroll-behavior: smooth; }

body {
  background: 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: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

.rh-nav {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
}

.rh-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rh-nav__logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.11px;
  flex-shrink: 0;
}

.rh-nav__logo span { color: var(--primary); }

.rh-nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rh-nav__link {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--body);
  border-radius: var(--radius-md);
  transition: color 0.15s, background 0.15s;
}

.rh-nav__link:hover { color: var(--ink); background: var(--hairline-soft); }
.rh-nav__link--active { color: var(--ink); }

.rh-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
}

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

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

.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: 48px;
  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);
  background: var(--surface-strong);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  margin-bottom: 20px;
}

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

.rh-hero__lead {
  font-size: 18px;
  line-height: 1.5;
  color: var(--body);
  max-width: 480px;
}

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

.rh-section { padding: 80px 0; }
.rh-section--alt { background: var(--canvas-soft); }
.rh-section--bordered { border-top: 1px solid var(--hairline); }

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

.rh-section__label {
  display: inline-block;
  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: 12px;
}

.rh-section__sub {
  font-size: 16px;
  color: var(--body);
  max-width: 600px;
}

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

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

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

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

.rh-card__img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  border: 1px solid var(--hairline);
}

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

.rh-card__title {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.325px;
  color: var(--ink);
}

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

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

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

.rh-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

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

.rh-info-cell__value {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  margin-bottom: 4px;
}

.rh-info-cell__desc {
  font-size: 14px;
  color: var(--body);
}

.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(--radius-md);
  border: none;
  cursor: pointer;
  transition: background 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(--canvas-soft); }

.rh-article__wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.rh-article__breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

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

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

.rh-article__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-strong);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  margin-bottom: 16px;
}

.rh-article__title {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 16px;
}

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

.rh-article__hero-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  overflow: hidden;
  margin: 32px 0;
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}

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

.rh-article__body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin: 28px 0 12px;
}

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

.rh-article__body ul,
.rh-article__body ol {
  margin: 0 0 20px 0;
  padding-left: 20px;
  list-style: initial;
}

.rh-article__body ol { list-style: decimal; }

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

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

.rh-article__body strong { color: var(--ink); font-weight: 600; }

.rh-article__body figure {
  margin: 32px 0;
}

.rh-article__body figure img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.rh-article__body figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}

.rh-infobox {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
}

.rh-infobox__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.rh-infobox p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
}

.rh-table-wrap { overflow-x: auto; margin: 28px 0; }

.rh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.rh-table th {
  background: var(--surface-strong);
  color: var(--ink);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
}

.rh-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline-soft);
  color: var(--body);
  vertical-align: top;
}

.rh-table tr:last-child td { border-bottom: none; }
.rh-table tr:hover td { background: var(--canvas-soft); }

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

.rh-related__title {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  margin-bottom: 24px;
}

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

.rh-form__title {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  margin-bottom: 8px;
}

.rh-form__sub {
  font-size: 15px;
  color: var(--body);
  margin-bottom: 28px;
}

.rh-field {
  margin-bottom: 20px;
}

.rh-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

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

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

.rh-field textarea {
  height: auto;
  min-height: 100px;
  resize: vertical;
}

.rh-form__status {
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  display: none;
}

.rh-form__status--success {
  background: #edf7f3;
  color: var(--success);
  border: 1px solid #b8e0d2;
}

.rh-form__status--loading {
  color: var(--muted);
}

.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;
  max-width: 560px;
  width: calc(100% - 48px);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 999;
  box-shadow: 0 4px 24px rgba(38,37,30,0.18);
  flex-wrap: wrap;
}

.rh-cookie p {
  font-size: 14px;
  color: var(--canvas);
  flex: 1;
  min-width: 200px;
}

.rh-cookie a { color: var(--primary); text-decoration: underline; }

.rh-cookie__actions { display: flex; gap: 8px; flex-shrink: 0; }

.rh-cookie.is-hidden { display: none; }

.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 1fr 1fr 1fr;
  gap: 48px;
}

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

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

.rh-footer__col p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  margin-top: 8px;
}

.rh-footer__col strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 12px;
}

.rh-footer__col ul { display: flex; flex-direction: column; gap: 8px; }

.rh-footer__col a {
  font-size: 14px;
  color: var(--body);
  transition: color 0.15s;
}

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

.rh-footer__bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--muted);
}

.rh-page-header {
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--hairline);
}

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

.rh-page-header__title {
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 12px;
}

.rh-page-header__sub {
  font-size: 18px;
  color: var(--body);
  max-width: 600px;
}

.rh-prose {
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

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

.rh-prose h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 12px;
}

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

.rh-prose ul {
  margin: 0 0 20px 20px;
  list-style: disc;
}

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

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

.rh-updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .rh-hero__title { font-size: 40px; }
  .rh-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .rh-grid-3 { grid-template-columns: 1fr 1fr; }
  .rh-info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .rh-nav__hamburger { display: flex; }
  .rh-nav__menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
    gap: 4px;
  }
  .rh-nav__menu.is-open { display: flex; }
  .rh-hero__inner { grid-template-columns: 1fr; }
  .rh-hero__img { display: none; }
  .rh-hero__title { font-size: 32px; letter-spacing: -0.5px; }
  .rh-section__title { font-size: 26px; }
  .rh-grid-3 { grid-template-columns: 1fr; }
  .rh-grid-2 { grid-template-columns: 1fr; }
  .rh-info-grid { grid-template-columns: 1fr; }
  .rh-footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .rh-article__title { font-size: 28px; }
  .rh-page-header__title { font-size: 28px; }
  .rh-form-wrap { padding: 24px; }
  .rh-cookie { bottom: 12px; }
}

@media (max-width: 640px) {
  .rh-hero { padding: 48px 0; }
  .rh-section { padding: 48px 0; }
}
