:root {
  --text: #1c1c21;
  --muted: #5c5c66;
  --bg: #f6f6f3;
  --surface: #ffffff;
  --border: #e2e2e6;
  --accent: #1d4ed8;

  color: var(--text);
  background: var(--bg);
  font-family: system-ui, -apple-system, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  line-break: strict;
  overflow-wrap: anywhere;
  text-spacing-trim: trim-start;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #ededf0;
    --muted: #a6a6b0;
    --bg: #121214;
    --surface: #1c1c20;
    --border: #303037;
    --accent: #8cadff;
  }
}

body {
  margin: 0;
}

main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}

h1,
h2 {
  margin: 0;
  line-height: 1.4;
  word-break: auto-phrase;
  text-wrap: balance;
}

h1 {
  font-size: 2.25rem;
  letter-spacing: 0.01em;
}

h2 {
  margin-top: 2.5rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.hero p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.apps {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.app {
  display: grid;
  gap: 0.25rem;
  min-height: 48px;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.app:hover {
  border-color: var(--accent);
}

.app:focus-visible,
.back:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.app__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
}

.app__desc {
  font-size: 0.9375rem;
}

.app__path {
  color: var(--muted);
  font-size: 0.8125rem;
  font-family: ui-monospace, monospace;
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--accent);
  font-weight: 700;
}
