/* code-from-spec: ROOT/design/stylesheet@EMkQdfGAZvNhet9W_65fudhSYw0 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
}

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

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

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.3;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.25em;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

header {
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .site-name {
  font-weight: bold;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1.1em;
}

header .site-name:hover {
  text-decoration: none;
}

header nav {
  display: flex;
  gap: 24px;
}

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

header nav a:hover {
  text-decoration: underline;
}

main {
  padding: 40px 0;
}

footer {
  border-top: 1px solid #e5e5e5;
  padding: 32px 0;
  font-size: 0.875em;
  color: #666666;
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

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

footer .footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

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

code {
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", Consolas, monospace;
  font-size: 0.875em;
  background-color: #f5f5f5;
  padding: 2px 5px;
  border-radius: 3px;
}

pre {
  background-color: #f5f5f5;
  border-radius: 4px;
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 1em;
}

pre code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 0.9em;
}

.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-list li {
  margin-bottom: 2em;
}

.article-list .article-title {
  display: block;
  font-size: 1.1em;
  font-weight: bold;
  color: #2563eb;
  text-decoration: none;
  margin-bottom: 4px;
}

.article-list .article-title:hover {
  text-decoration: underline;
}

.article-list .article-date {
  display: block;
  font-size: 0.875em;
  color: #666666;
}

.rationale h2 {
  margin-top: 2.5em;
}

blockquote {
  border-left: 4px solid #2563eb;
  margin: 1.5em 0;
  padding: 8px 16px;
  color: #444444;
}

blockquote p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 16px;
  }

  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  header nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  h1 {
    font-size: 1.75em;
  }

  h2 {
    font-size: 1.35em;
  }

  h3 {
    font-size: 1.15em;
  }

  main {
    padding: 24px 0;
  }
}
