:root {
  --bg: #0b0f19;
  --card-bg: rgba(255, 255, 255, 0.02);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.04);
}

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

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

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px
}

header {
  padding: 40px 0;
  border-bottom: 1px solid var(--border)
}

h1 {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f0abfc, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--text);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 24px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit
}

.card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15)
}

.iconwrap {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0
}

.content {
  flex: 1
}

.title {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 6px
}

.desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem
}

footer {
  color: var(--muted);
  text-align: center;
  padding: 28px 20px;
  font-size: 0.9rem
}

/* accessibility focus */
.card:focus {
  outline: 3px solid rgba(59, 130, 246, 0.28);
  outline-offset: 3px
}

@media (max-width:420px) {
  .iconwrap {
    width: 60px;
    height: 60px
  }
}
