:root {
  --bg: #f4f5f9;
  --panel-bg: #ffffff;
  --text: #1a1a2e;
  --muted: #6b7280;
  --border: #e2e4ea;
  --accent: #e94560;
  --accent-hover: #d63852;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.app {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem 3rem;
}

header {
  text-align: center;
  margin-bottom: 2.5rem;
}

header h1 {
  margin: 0 0 0.25rem;
  font-size: 2rem;
}

.subtitle {
  margin: 0;
  color: var(--muted);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.tool-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.tool-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.tool-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.tool-description {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

footer {
  text-align: center;
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .app {
    padding: 2rem 1rem;
  }

  header h1 {
    font-size: 1.5rem;
  }
}
