:root {
  --bg: #fbfbfa;
  --panel: #ffffff;
  --text: #1a1d21;
  --muted: #6b7280;
  --accent: #16a34a;
  --accent2: #2563eb;
  --line: #e8e8e5;
  --code-bg: #f4f4f2;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 15% 0%, rgba(22,163,74,0.05), transparent 35%),
    radial-gradient(circle at 85% 100%, rgba(37,99,235,0.05), transparent 35%);
  background-attachment: fixed;
}
.wrap { max-width: 900px; margin: 0 auto; padding: 4rem 1.5rem; }

/* TERMINAL BAR */
.term-bar {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 2.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem; color: var(--muted);
}
.term-bar .dots { display: flex; gap: 0.4rem; }
.term-bar .dots span { width: 11px; height: 11px; border-radius: 50%; }
.term-bar .dots span:nth-child(1) { background: #ff5f57; }
.term-bar .dots span:nth-child(2) { background: #febc2e; }
.term-bar .dots span:nth-child(3) { background: #28c840; }
.term-bar .path { margin-left: auto; }
.term-bar .back {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 0.15rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  transition: border-color 0.15s, transform 0.15s;
}
.term-bar .back:hover {
  border-color: var(--accent);
  transform: translateX(-2px);
}

/* HERO */
.prompt { color: var(--accent); font-size: 0.95rem; margin-bottom: 1rem; }
.prompt::before { content: "dexield@dexcorp:~$ "; color: var(--muted); }
h1 {
  font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.1; margin-bottom: 0.75rem;
}
h1 .cursor {
  display: inline-block; width: 0.6ch; background: var(--accent);
  animation: blink 1s steps(1) infinite; margin-left: 2px; color: transparent;
}
@keyframes blink { 50% { opacity: 0; } }
.subtitle {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  white-space: normal;
  overflow-wrap: break-word;
}

/* SECTION TITLE */
.section-title {
  font-size: 0.8rem; color: var(--accent); font-weight: 600;
  margin: 2.5rem 0 1.25rem; letter-spacing: 0.05em;
}
.section-title::before { content: "// "; color: var(--muted); }

/* GRID + CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.tool-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem 1.3rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  display: flex; flex-direction: column; gap: 0.35rem;
  height: 100%;
}
.tool-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.tool-card .name {
  font-weight: 700; font-size: 1rem; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.tool-card .name .os {
  font-size: 0.65rem; color: var(--muted);
  border: 1px solid var(--line); padding: 0.05rem 0.4rem;
  border-radius: 3px; font-weight: 400; white-space: nowrap;
}
.tool-card .desc {
  color: var(--muted); font-size: 0.85rem; line-height: 1.5;
}

/* FOOTER */
footer {
  margin-top: 4rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; color: var(--muted); font-size: 0.8rem;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .wrap { padding: 2.5rem 1.25rem; }
  h1 { font-size: 1.8rem; }
  .grid { grid-template-columns: 1fr; }
}