:root {
  /* Orania-inspired: orange + blue + white */
  --bg: #ffffff;
  --ink: #0b1220;
  --muted: #4b5563;
  --orange: #e87722;
  --blue: #1f5ea8;
  --card: #f7f8fb;
  --border: rgba(11, 18, 32, 0.12);
  --shadow: 0 18px 50px rgba(11, 18, 32, 0.12);
  --shadow-soft: 0 10px 30px rgba(11, 18, 32, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--ink);
  background: radial-gradient(
      1100px 700px at 20% 10%,
      rgba(232, 119, 34, 0.14),
      transparent 60%
    ),
    radial-gradient(
      900px 650px at 88% 30%,
      rgba(31, 94, 168, 0.14),
      transparent 62%
    ),
    var(--bg);
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.wrap {
  width: min(980px, 100%);
}

header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 2px 18px;
}

.brand {
  display: grid;
  gap: 6px;
}

.title {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.15;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 820px) {
  header {
    padding-bottom: 14px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.tile {
  position: relative;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, #ffffff 0%, var(--card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
  overflow: hidden;
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      700px 220px at 12% -10%,
      rgba(232, 119, 34, 0.18),
      transparent 60%
    ),
    radial-gradient(
      560px 240px at 95% 0%,
      rgba(31, 94, 168, 0.18),
      transparent 58%
    );
  opacity: 0.9;
  pointer-events: none;
}

.tile > * {
  position: relative;
  z-index: 1;
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(11, 18, 32, 0.18);
}

.tile:focus-visible {
  outline: 3px solid rgba(31, 94, 168, 0.28);
  outline-offset: 3px;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.name {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
  font-weight: 720;
}

.hint {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

.pill {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11, 18, 32, 0.14);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

.pill.orange {
  color: #7a3000;
  border-color: rgba(232, 119, 34, 0.28);
  background: rgba(232, 119, 34, 0.12);
}

.pill.blue {
  color: #0b3f80;
  border-color: rgba(31, 94, 168, 0.28);
  background: rgba(31, 94, 168, 0.12);
}

.pill.white {
  color: var(--ink);
}

footer {
  margin-top: 14px;
  padding: 2px 2px 0;
  color: rgba(75, 85, 99, 0.85);
  font-size: 12px;
  line-height: 1.45;
}

.kbd {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;
  font-size: 11px;
  padding: 2px 6px;
  border: 1px solid rgba(11, 18, 32, 0.16);
  border-bottom-color: rgba(11, 18, 32, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  .tile {
    transition: none;
  }

  .tile:hover {
    transform: none;
  }
}

