body {
  font: 17px '-apple-system', BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  letter-spacing: 0.015rem;
  color: #222;
  margin: 0;
  padding: 0;
  background: #fff;
}

a {
  color: #1a5ad7;
  text-decoration: none;
  background-color: #e8f2ff;
  padding: 0.15em 0.55em;
  border-radius: 0.45em;
  transition: background 0.15s ease, color 0.15s ease;
}

a:hover,
a:focus-visible {
  background-color: #d7e8ff;
}

a:active {
  background-color: #c9ddff;
}

a:visited {
  color: #244cab;
}

header {
  background: #f8f8f8;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
  color: #222;
  text-decoration: none;
}

.logo svg {
  height: 32px;
  width: 32px;
  margin-right: 0.5em;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1em;
}

nav a {
  font-weight: bold;
}

main {
  padding: 2em;
  line-height: 1.8;
}

body:not(.detail-page) main {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

footer {
  background: #f8f8f8;
  padding: 1em;
  text-align: center;
  font-size: 0.9em;
  color: #555;
  border-top: 1px solid #e0e0e0;
  margin-top: 2em;
}

.faq {
  margin-top: 2em;
}

.faq details {
  margin-bottom: 0.75em;
  padding: 0.5em 1em;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #f9f9f9;
}

.faq summary {
  font-weight: bold;
  cursor: pointer;
}

code {
  font-family: "Courier New", Courier, monospace;
  color: #0f0;
  background: #000;
  padding: 0.2em 0.4em;
  border-radius: 4px;
}

pre code {
  display: block;
  padding: 1em;
}

h2 {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 5px;
}

.detail-page h2 {
  text-align: left;
}

p.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  padding: 20px;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.icon-container {
  background-color: #eee;
  padding: 10px;
  border-radius: 10px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card h3 {
  font-size: 1.2em;
  font-weight: bold;
  text-transform: capitalize;
  margin: 0;
}

ul.mime-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

ul.mime-list li {
  display: flex;
  align-items: center;
  font-size: 0.9em;
  margin-bottom: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #1d4ed8;
  border-radius: 50%;
  margin-right: 8px;
}

.more {
  font-style: italic;
  color: #777;
  font-size: 0.9em;
}

.view-all {
  color: #1d4ed8;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
}

.view-all:hover {
  color: #1e40af;
}

.arrow {
  margin-left: 5px;
  font-size: 1em;
}

