body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.6;
  margin: 0;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}

.page-nav, .nav-link {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.nav-link a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.nav-link a:hover {
  text-decoration: underline;
}

header {
  text-align: center;
  margin-bottom: 32px;
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
}

.subtitle {
  font-size: 1.25rem;
  color: #4b5563;
  font-style: italic;
}

#paired-content {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pair {
  margin-bottom: 20px;
  padding: 16px;
  border-left: 4px solid #dbeafe;
  transition: background 0.2s;
}

.pair:hover {
  background: #f1f5f9;
}

.es-text {
  font-size: 1.1rem;
  color: #1e40af;
  cursor: pointer;
  margin-bottom: 8px;
}

.es-text:hover {
  text-decoration: underline;
}

.jp-toggle {
  margin-top: 8px;
}

.toggle-btn {
  display: inline-block;
  color: #2563eb;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.toggle-btn:hover {
  background: #eff6ff;
}

.jp-text {
  font-size: 1rem;
  color: #991b1b;
  cursor: pointer;
  margin-top: 8px;
  padding: 8px;
  background: #fef2f2;
  border-radius: 6px;
}

.jp-text:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  margin-top: 48px;
  padding: 16px;
  color: #6b7280;
}

footer a {
  color: #2563eb;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}