/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0e;
  --surface: #111116;
  --surface2: #1a1a22;
  --lime: #c4f73d;
  --lime-dim: rgba(196, 247, 61, 0.12);
  --red: #e8353c;
  --red-dim: rgba(232, 53, 60, 0.12);
  --text: #f0efe8;
  --text-dim: rgba(240, 239, 232, 0.5);
  --text-mid: rgba(240, 239, 232, 0.75);
  --border: rgba(240, 239, 232, 0.08);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: 'Syne', sans-serif; line-height: 1.1; }

.eyebrow {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--lime);
}
.nav-tag {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-label {
  display: inline-block;
  background: var(--red-dim);
  border: 1px solid rgba(232, 53, 60, 0.3);
  color: var(--red);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.8rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  margin-bottom: 3.5rem;
  line-height: 1.75;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.meta-val {
  font-size: 0.85rem;
  color: var(--lime);
  font-weight: 500;
}
.meta-lab {
  font-size: 0.7rem;
  color: var(--text-dim);
}
.meta-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* === WHAT === */
.what {
  padding: 6rem 2rem;
  background: var(--surface);
}
.what-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.what-head {
  margin-bottom: 3rem;
}
.what-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-top: 0.5rem;
}
.what-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}
.what-card {
  background: var(--surface);
  padding: 2rem;
}
.what-icon {
  color: var(--lime);
  margin-bottom: 1rem;
}
.what-card h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}
.what-card p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* === SHEET PREVIEW === */
.sheet {
  padding: 6rem 2rem;
  background: var(--bg);
}
.sheet-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.sheet-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--text);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.sheet-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.sheet-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  min-width: 600px;
}
.sheet-table thead tr {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.sheet-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 500;
  white-space: nowrap;
}
.fade-col, .risk-col { text-align: center; }
.sheet-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 0.8rem;
  vertical-align: middle;
}
.sheet-table tr:last-child td { border-bottom: none; }
.sheet-table tr:nth-child(even) td { background: rgba(255,255,255,0.015); }
.player { color: var(--text); font-weight: 500; }
.fade-cell { text-align: center; }
.fade-badge {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(232,53,60,0.25);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.edge-cell { text-align: center; color: var(--lime); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.05em; }
.edge-high { color: var(--red); }
.sheet-legend {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-dim);
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fade-dot { background: var(--red); }
.edge-dot { background: var(--lime); }

/* === FADEIT === */
.fadeit {
  padding: 6rem 2rem;
  background: var(--surface);
}
.fadeit-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.fadeit-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text);
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}
.fadeit-content p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.fadeit-stats {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.fadeit-stat {
  border-left: 2px solid var(--lime);
  padding-left: 1.5rem;
}
.stat-big {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-lab {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* === COMMUNITIES === */
.communities {
  padding: 6rem 2rem;
  background: var(--bg);
}
.communities-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.communities-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.comm-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.comm-item {
  background: var(--surface);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.comm-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.comm-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  padding: 8rem 2rem;
  background: var(--surface);
  text-align: center;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}
.closing h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.closing p {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.75;
}

/* === FOOTER === */
.footer {
  padding: 3rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--lime);
}
.footer-note {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-meta { gap: 1.5rem; }
  .meta-sep { display: none; }
  .fadeit-inner { grid-template-columns: 1fr; gap: 3rem; }
  .what-grid { grid-template-columns: 1fr 1fr; }
  .sheet { padding: 4rem 1.5rem; }
  .communities { padding: 4rem 1.5rem; }
  .fadeit { padding: 4rem 1.5rem; }
  .what { padding: 4rem 1.5rem; }
  .closing { padding: 5rem 1.5rem; }
}
@media (max-width: 480px) {
  .what-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
}