:root {
  --bg: #e8ece7;
  --bg-glow: #d5ddd4;
  --ink: #162019;
  --muted: #5a6b60;
  --accent: #1f5c45;
  --panel: rgba(18, 24, 22, 0.92);
  --font-brand: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.45;
  background:
    radial-gradient(1200px 600px at 10% -10%, var(--bg-glow), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, #cfd9d1, transparent 55%),
    var(--bg);
}

.shell {
  width: min(30rem, calc(100% - 2.5rem));
  margin: 0;
  padding: 1.5rem 0;
  text-align: center;
  animation: rise 0.55s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.logo {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(2.8rem, 8vw, 3.6rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1;
}

.meaning {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.meaning [lang="ja"] {
  color: var(--ink);
  font-weight: 600;
}

.tag {
  margin: 1.1rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 26rem;
}

.commands {
  margin: 1.75rem auto 0;
  max-width: 26rem;
  text-align: left;
}

.commands-title {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.commands pre {
  margin: 0;
  padding: 0.95rem 1.05rem;
  border-radius: 2px;
  background: var(--panel);
  color: #d7ebe0;
  overflow-x: auto;
}

.commands code {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.65;
  white-space: pre;
}

.cta {
  margin: 1.75rem 0 0;
}

.cta a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.cta a:hover {
  color: var(--ink);
}
