:root {
  --line: #3a2458;
  --text: #f6f1ff;
  --muted: #c4b5d8;
  --accent: #c084fc;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Outfit, "Noto Sans JP", sans-serif;
  background:
    radial-gradient(800px 380px at 50% -8%, rgba(124, 58, 237, 0.32), transparent 62%),
    #100818;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.1rem;
}
.page { width: min(1040px, 100%); display: flex; flex-direction: column; gap: 0.75rem; }
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.hero, .code-card, .card {
  background: rgba(27, 16, 40, 0.94);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.hero, .code-card { padding: 1.25rem 1.3rem; text-align: center; }
h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 0.92; letter-spacing: -0.045em; margin: 0.3rem 0 0.7rem;
}
.bio, .code-card p { color: var(--muted); font-size: 0.98rem; }
.bio { max-width: 38rem; margin: 0 auto; }
.social-links, .code-actions { display: flex; justify-content: center; gap: 0.5rem; }
.social-links { margin-top: 0.9rem; }
.social-links a, .code-btn, .copy-btn {
  font-family: "JetBrains Mono", monospace;
  text-decoration: none; border-radius: 8px; font-size: 0.8rem; font-weight: 600;
}
.social-links a { color: var(--text); border: 1px solid var(--line); padding: 0.42rem 0.75rem; }
.social-links a:hover { border-color: var(--accent); }
.code-card h2 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.code-card p { margin-bottom: 0.85rem; }
.code-card strong { color: var(--text); font-family: "JetBrains Mono", monospace; letter-spacing: 0.04em; }
.code-btn, .copy-btn { padding: 0.65rem 0.9rem; cursor: pointer; }
.code-btn { background: var(--accent); color: #1a0b2e; }
.copy-btn { background: transparent; color: var(--text); border: 1px solid var(--line); }
.copy-btn.is-copied { background: var(--accent); color: #1a0b2e; border-color: var(--accent); }
.card { padding: 1rem 1.05rem 0.95rem; }
.card h2 { font-size: 1rem; text-align: center; margin-bottom: 0.7rem; }
.card ul { list-style: none; display: grid; gap: 0.4rem 1.2rem; }
.rig ul { grid-template-columns: 1fr 1fr; }
.desk ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; align-items: stretch; }
.split .card { display: flex; flex-direction: column; height: 100%; }
.split ul { flex: 1; align-content: space-evenly; }
.card li { color: var(--muted); font-size: 0.92rem; text-align: center; }
.card li span {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.08rem;
}
.news h2 { margin-bottom: 0.15rem; }
.news > p { text-align: center; color: var(--muted); font-size: 0.85rem; margin-bottom: 0.75rem; }
.news ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1.1rem;
}
.news li { text-align: left; }
.news a { color: var(--text); text-decoration: none; }
.news a:hover { color: var(--accent); }
.news li span {
  text-transform: none; letter-spacing: 0; font-size: 0.7rem; margin-top: 0.12rem;
}
footer {
  margin-top: 0.7rem; color: #8b7aa3;
  font-family: "JetBrains Mono", monospace; font-size: 0.72rem; text-align: center;
}
.toast {
  position: fixed; bottom: 1rem; left: 50%; transform: translate(-50%, 12px);
  background: #241433; border: 1px solid var(--line); color: var(--text);
  padding: 0.5rem 0.8rem; border-radius: 999px; opacity: 0; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 800px) {
  .news ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  body { justify-content: flex-start; }
  .rig ul, .desk ul, .split, .news ul { grid-template-columns: 1fr; }
}
