:root {
  --bg: #0a0c11;
  --bg-panel: #12151c;
  --bg-panel-hover: #171b24;
  --border: #232833;
  --orange: #ff8a1e;
  --cyan: #2de0e0;
  --text: #e6e8ec;
  --text-dim: #7c8493;
  --font-mono: ui-monospace, "Cascadia Code", "Consolas", "SFMono-Regular", "JetBrains Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(circle at 15% 0%, rgba(255, 138, 30, 0.06), transparent 40%),
    radial-gradient(circle at 85% 100%, rgba(45, 224, 224, 0.06), transparent 40%);
  color: var(--text);
  font-family: var(--font-mono);
}

/* Topbar */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__chevrons {
  display: inline-flex;
}

.chevron--orange {
  stroke: var(--orange);
}

.chevron--cyan {
  stroke: var(--cyan);
}

.brand__text {
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 15px;
}

.brand__cursor {
  color: var(--cyan);
  animation: blink 1.1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.topbar__prompt {
  font-size: 13px;
  color: var(--text-dim);
}

.topbar__prompt .prompt__accent {
  color: var(--cyan);
}

/* Grid */

main {
  padding: 48px 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid transparent;
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.tile:hover,
.tile:focus-visible {
  background: var(--bg-panel-hover);
  border-color: var(--orange);
  transform: translateY(-2px);
  outline: none;
}

.tile:hover .tile__icon,
.tile:focus-visible .tile__icon {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(45, 224, 224, 0.35);
}

.tile__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tile__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.tile__label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--text-dim);
}

.tile:hover .tile__label,
.tile:focus-visible .tile__label {
  color: var(--text);
}
