* { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --bg: #0d1117;
  --panel: #151b22;
  --panel-2: #1b241f;
  --text: #f2f5ee;
  --muted: #aeb8aa;
  --line: #303b35;
  --green: #7fb069;
  --gold: #d6a84f;
  --blue: #5da9e9;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
p { line-height: 1.65; }
.site-header {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 17, 23, .94);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.brand-mark { width: 24px; height: 24px; border: 2px solid #d9e5d6; background: linear-gradient(135deg, var(--green) 0 50%, var(--gold) 50%); }
nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
nav a { color: var(--muted); padding: 8px 10px; border-radius: 6px; font-size: 14px; }
nav a:hover { color: var(--text); background: #202832; }
.hero {
  min-height: 68vh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: center;
  gap: 28px;
  padding: clamp(48px, 9vw, 112px) clamp(18px, 5vw, 80px);
  background:
    linear-gradient(135deg, rgba(127,176,105,.18), transparent 42%),
    linear-gradient(45deg, rgba(93,169,233,.12), transparent 48%),
    var(--bg);
}
.hero-copy { max-width: 780px; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 800; margin: 0 0 12px; }
h1 { font-size: clamp(54px, 10vw, 128px); line-height: .9; margin: 0 0 22px; }
h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.05; margin: 0; }
h3 { margin: 0 0 8px; font-size: 22px; }
.lead { color: #d9dfd5; font-size: clamp(18px, 2.3vw, 25px); max-width: 760px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 6px; border: 1px solid var(--line); background: #18202a; font-weight: 750; }
.button.primary { background: var(--green); color: #071108; border-color: #a5ca91; }
.hero-card, .feature-grid article, .news-list article, .join-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(21, 27, 34, .92);
}
.hero-card { padding: 24px; }
.hero-card code, .join-panel code { display: inline-block; color: #f3d27a; background: #0b0f14; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; margin: 16px 0 6px; font-size: 18px; }
.content-band { padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 80px); border-top: 1px solid var(--line); }
.muted-band { background: #10161d; }
.section-heading { max-width: 820px; margin-bottom: 24px; }
.two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; color: var(--muted); font-size: 18px; }
.feature-grid { padding: clamp(34px, 6vw, 70px) clamp(18px, 5vw, 80px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; border-top: 1px solid var(--line); }
.feature-grid article { padding: 20px; min-height: 190px; }
.feature-grid p, .news-list p, .rules-list, footer { color: var(--muted); }
.news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.news-list article { padding: 20px; }
time { color: var(--green); font-weight: 750; font-size: 14px; }
.rules-list { font-size: 18px; line-height: 1.8; padding-left: 24px; }
.join-panel { margin: clamp(34px, 6vw, 70px) clamp(18px, 5vw, 80px); padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--panel-2); }
.join-panel p { color: var(--muted); margin-bottom: 0; }
.join-panel code { font-size: clamp(18px, 3vw, 30px); color: var(--text); white-space: nowrap; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 24px clamp(18px, 5vw, 80px); border-top: 1px solid var(--line); }
@media (max-width: 980px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; }
  .hero, .two-column, .news-list, .join-panel { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .join-panel { align-items: flex-start; flex-direction: column; }
  .join-panel code { white-space: normal; word-break: break-word; }
}
@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
  nav a { padding-left: 8px; padding-right: 8px; }
}
