:root {
  --bg: #0f1220;
  --bg-grad-1: #1a1f3a;
  --bg-grad-2: #0f1220;
  --card: #1a1e33;
  --card-hover: #232847;
  --border: #2c3252;
  --text: #eef1ff;
  --muted: #9aa2c7;
  --accent: #7c8cff;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f6ff;
    --bg-grad-1: #eef1ff;
    --bg-grad-2: #f4f6ff;
    --card: #ffffff;
    --card-hover: #f7f8ff;
    --border: #e2e6f5;
    --text: #1b1f38;
    --muted: #6b7299;
    --accent: #5566ee;
    --shadow: 0 8px 24px rgba(60, 70, 130, 0.12);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Noto Sans JP", Meiryo, sans-serif;
  color: var(--text);
  background: radial-gradient(
      1200px 600px at 50% -10%,
      var(--bg-grad-1),
      transparent
    ),
    var(--bg-grad-2);
  background-color: var(--bg);
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 20px 48px;
}

.hero {
  text-align: center;
  margin-bottom: 40px;
}

.logo {
  font-size: 56px;
  line-height: 1;
}

h1 {
  margin: 12px 0 8px;
  font-size: 2rem;
  letter-spacing: 0.02em;
}

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

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.card a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
}

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

.card .icon {
  font-size: 30px;
  flex: 0 0 auto;
}

.card .body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.card .title {
  font-weight: 600;
  font-size: 1.05rem;
}

.card .desc {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 2px;
}

.card .go {
  color: var(--accent);
  font-size: 1.3rem;
  flex: 0 0 auto;
  transition: transform 0.15s ease;
}

.card a:hover .go {
  transform: translateX(4px);
}

.foot {
  text-align: center;
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.82rem;
}
