:root {
  --rh-red: #C00;
  --rh-red-dark: #A00;
  --rh-black: #151515;
  --rh-gray-900: #1A1A1A;
  --rh-gray-800: #222;
  --rh-gray-700: #333;
  --rh-gray-600: #555;
  --rh-gray-400: #8A8D90;
  --rh-gray-200: #CCC;
  --rh-gray-100: #EAEAEA;
  --rh-white: #F5F5F5;
  --rh-blue: #004C99;
  --rh-blue-light: #6AA6D6;
  --rh-green: #2E6B28;
  --rh-font: 'Red Hat Display', 'Red Hat Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --rh-font-mono: 'Red Hat Mono', 'Fira Code', 'Cascadia Code', monospace;
}

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

body {
  font-family: var(--rh-font);
  background: #E5E5E5;
  color: var(--rh-gray-900);
  line-height: 1.6;
}

a { color: var(--rh-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  background: var(--rh-black);
  color: #DDD;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--rh-red);
}

.header-bar { display: none; }

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-content img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

.header-content h1 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.header-content h1 span {
  color: var(--rh-gray-400);
  font-weight: 300;
}

.header-nav {
  margin-left: auto;
  display: flex;
  gap: 1.5rem;
}

.header-nav a {
  color: var(--rh-gray-200);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.15s;
}

.header-nav a:hover {
  color: #FFF;
  text-decoration: none;
}

.hero {
  background: var(--rh-gray-900);
  color: #DDD;
  padding: 3rem 2rem;
  text-align: center;
}

.hero-content { position: relative; max-width: 780px; margin: 0 auto; }

.hero img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  color: #F0F0F0;
}

.hero p {
  font-size: 1rem;
  color: var(--rh-gray-400);
  max-width: 580px;
  margin: 0 auto 1.5rem;
}

.badge-row {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge-red { background: var(--rh-red); color: #FFF; }
.badge-blue { background: var(--rh-blue); color: #FFF; }
.badge-dark { background: var(--rh-gray-700); color: var(--rh-gray-200); border: 1px solid var(--rh-gray-600); }
.badge-green { background: var(--rh-green); color: #FFF; }

.install-box {
  background: var(--rh-gray-800);
  border: 1px solid var(--rh-gray-700);
  border-radius: 6px;
  padding: 0.85rem 1.25rem;
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.install-box code {
  font-family: var(--rh-font-mono);
  font-size: 0.825rem;
  color: var(--rh-blue-light);
  word-break: break-all;
}

.install-box .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rh-gray-400);
  margin-bottom: 0.3rem;
}

.main { max-width: 1200px; margin: 0 auto; padding: 2.5rem 2rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.card {
  background: #FFF;
  border-radius: 6px;
  padding: 1.5rem;
  border: 1px solid #D0D0D0;
}

.card:hover {
  border-color: #AAA;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card h3 .icon {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.icon-red { background: rgba(204,0,0,0.1); color: var(--rh-red); }
.icon-blue { background: rgba(0,76,153,0.1); color: var(--rh-blue); }
.icon-green { background: rgba(46,107,40,0.1); color: var(--rh-green); }

.card p { color: var(--rh-gray-600); font-size: 0.9rem; }

.card ul {
  list-style: none;
  margin-top: 0.6rem;
}

.card ul li {
  padding: 0.2rem 0;
  font-size: 0.825rem;
  color: var(--rh-gray-600);
  font-family: var(--rh-font-mono);
}

.card ul li::before {
  content: '- ';
  color: var(--rh-gray-400);
}

section { margin-bottom: 2.5rem; }

section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--rh-red);
  display: inline-block;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #FFF;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #D0D0D0;
  margin-bottom: 1.25rem;
}

th {
  background: var(--rh-gray-800);
  color: #DDD;
  text-align: left;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

td {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--rh-gray-100);
}

tr:hover td { background: #F8F8F8; }

td code {
  font-family: var(--rh-font-mono);
  font-size: 0.78rem;
  background: var(--rh-gray-100);
  padding: 0.12rem 0.35rem;
  border-radius: 3px;
}

pre {
  background: var(--rh-gray-900);
  color: #CCC;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  overflow-x: auto;
  font-family: var(--rh-font-mono);
  font-size: 0.825rem;
  line-height: 1.5;
  margin: 0.85rem 0;
}

code {
  font-family: var(--rh-font-mono);
  font-size: 0.825rem;
}

.site-footer {
  background: var(--rh-black);
  color: var(--rh-gray-400);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.8rem;
}

.site-footer a { color: var(--rh-red); }

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .header-content { padding: 0.65rem 1rem; }
  .header-nav { display: none; }
  .hero { padding: 2rem 1rem; }
  .hero h2 { font-size: 1.5rem; }
  .main { padding: 1.5rem 1rem; }
  .cards { grid-template-columns: 1fr; }
}
