/* Arbitro GG — shared styles for the Rules Guides pages */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Exo+2:wght@300;400;500;600&display=swap');
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #08090d;
  --surface: #0f1117;
  --surface2: #161921;
  --border: #232840;
  --accent: #4a7cff;
  --accent2: #6f9dff;
  --text: #dce4f5;
  --text2: #9aa8c8;
  --text3: #5a6789;
  --kt: #e05a4a;
  --dnd: #e8c86a;
  --w40k: #46b077;
}
:root[data-theme="light"] {
  --bg: #eef1f7;
  --surface: #ffffff;
  --surface2: #f6f7fb;
  --border: #dde1ec;
  --accent: #3f6fe0;
  --accent2: #3f6fe0;
  --text: #1a2030;
  --text2: #4a5470;
  --text3: #7d859c;
  --kt: #a8291c;
  --dnd: #8a6c26;
  --w40k: #176b41;
}

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  padding: 24px 20px 80px;
}
.wrap { max-width: 780px; margin: 0 auto; }

/* Top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand-name { font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 15px; }
.brand-name span { color: var(--accent2); }
.topbar-cta {
  font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; padding: 7px 14px; border-radius: 5px;
  background: var(--accent); color: #fff;
}

article, .hub { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 40px clamp(20px, 5vw, 56px); }

.eyebrow { font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 8px; }
.eyebrow.kt { color: var(--kt); }
.eyebrow.dnd { color: var(--dnd); }
.eyebrow.w40k { color: var(--w40k); }

h1 { font-family: 'Rajdhani', sans-serif; font-size: clamp(26px, 5vw, 36px); font-weight: 700; line-height: 1.15; margin-bottom: 10px; }
.updated { color: var(--text3); font-size: 13px; margin-bottom: 28px; }
.lede { font-size: 17px; color: var(--text); margin-bottom: 28px; }

h2 { font-family: 'Rajdhani', sans-serif; font-size: 21px; font-weight: 700; margin: 34px 0 12px; }
h3 { font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700; margin: 22px 0 8px; color: var(--text); }
p { color: var(--text2); font-size: 15.5px; margin-bottom: 14px; }
ul, ol { margin: 0 0 16px 22px; }
li { color: var(--text2); font-size: 15.5px; margin-bottom: 7px; }
strong { color: var(--text); }
a { color: var(--accent2); }

.callout {
  background: var(--surface2); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 16px 20px; margin: 22px 0;
}
.callout .callout-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; color: var(--accent2); margin-bottom: 6px; }
.callout p:last-child { margin-bottom: 0; }

.faq { margin-top: 10px; }
.faq-q { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 15.5px; color: var(--text); margin: 18px 0 4px; }

/* CTA box */
.cta-box {
  margin: 36px 0 8px; padding: 24px; border-radius: 12px; text-align: center;
  background: linear-gradient(135deg, rgba(74,124,255,0.10), rgba(74,124,255,0.02));
  border: 1px solid var(--border);
}
.cta-box h2 { margin-top: 0; }
.cta-box p { color: var(--text2); }
.cta-btn {
  display: inline-block; margin-top: 8px; font-family: 'Rajdhani', sans-serif; font-size: 14px;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  padding: 11px 26px; border-radius: 6px; background: var(--accent); color: #fff;
}

/* Related guides */
.related { margin-top: 36px; }
.related h2 { margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: block; text-decoration: none; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 9px; padding: 14px 16px; transition: border-color 0.15s;
}
.related-card:hover { border-color: var(--accent); }
.related-card .rc-sys { font-family: 'Rajdhani', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text3); }
.related-card .rc-title { color: var(--text); font-size: 14.5px; font-weight: 600; margin-top: 2px; }

/* Hub-specific */
.hub-intro { font-size: 16px; color: var(--text2); margin-bottom: 28px; }
.hub-section { margin-bottom: 30px; }
.hub-section h2 { margin-bottom: 12px; }

/* Footer */
.page-footer { max-width: 780px; margin: 30px auto 0; text-align: center; color: var(--text3); font-size: 12.5px; }
.page-footer a { color: var(--text3); }
.disclaimer-note { font-size: 12.5px; color: var(--text3); font-style: italic; margin-top: 26px; border-top: 1px solid var(--border); padding-top: 18px; }
