:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface2: #21262d;
  --surface3: #2d333b;
  --border: #30363d;
  --accent: #58a6ff;
  --accent2: #79c0ff;
  --text: #e6edf3;
  --sub: #8b949e;
  --muted: #6e7681;
  --green: #3fb950;
  --green-bg: rgba(63, 185, 80, 0.15);
  --blue-bg: rgba(88, 166, 255, 0.15);
  --r: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HERO */
.hero {
  padding: 72px 28px 40px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 14px;
}
.hero-logo {
  height: 56px;
  width: auto;
  border-radius: 6px;
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
}

.hero p {
  color: var(--sub);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto;
}

/* INDEX GRID */
.index-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 8px 28px 80px;
}

.index-row {
  display: grid;
  grid-template-columns: repeat(2, 286px);
  justify-content: center;
  gap: 16px;
}

.index-row.single {
  grid-template-columns: minmax(220px, 340px);
}

/* CARD */
.icard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 34px 29px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  align-items: center;
  text-align: center;
}

.icard::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.2s;
}

.icard:hover {
  background: var(--surface2);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.icard:hover::after {
  opacity: 1;
}

.icard h2 {
  font-size: 17px;
  font-weight: 700;
}

.icard-icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 8px;
}

.icard-sub {
  color: var(--sub);
  font-size: 13px;
  flex-grow: 1;
}

.icard-arrow {
  color: var(--accent);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  transition: transform 0.2s;
  position: static;
  margin-top: 8px;
}

.icard:hover .icard-arrow {
  transform: translateX(4px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    padding: 48px 20px 32px;
  }

  .index-grid {
    padding: 8px 20px 60px;
  }

  .index-row {
    grid-template-columns: 1fr;
  }

  .icard {
    padding: 26px 21px;
  }

  .icard-arrow {
    position: static;
  }
}
