/* === Reset === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === Base === */
html {
  font-size: 16.5px;
}

body {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
  color: #333;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #333;
  text-decoration: underline;
  text-decoration-color: #ccc;
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s;
}

a:hover {
  text-decoration-color: #333;
}

/* === Site Header === */
header {
  margin-bottom: 3rem;
}

header h1 {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
}

header h1 a {
  color: #999;
  text-decoration: none;
}

header h1 a:hover {
  color: #555;
}

/* === Page Title (h1 in main) === */
main > h1 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #111;
  border: none;
  padding: 0;
  margin-bottom: 1.2rem;
}

/* === Stats Bar (blockquote > table) === */
blockquote {
  margin: 0 0 2rem;
  padding: 0;
  border: none;
  background: none;
}

blockquote table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  color: #888;
  letter-spacing: 0.03em;
}

blockquote table td {
  padding: 0;
  border: none;
  padding-right: 1.5rem;
}

/* === Section Dividers === */
hr {
  border: none;
  height: 1px;
  background: #e0e0e0;
  margin: 2.2rem 0;
}

/* === Section Headers === */
h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #222;
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border: none;
  border-bottom: 2px solid #e0e0e0;
}

/* === Article Lists === */
ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
}

li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #efefef;
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

li:last-child {
  border-bottom: none;
}

li p {
  margin: 0;
}

li p + p {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: #555;
}

li strong {
  font-weight: 500;
}

li strong a {
  color: #2256a0;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-color: #93b3d8;
  text-underline-offset: 3px;
}

li strong a:hover {
  text-decoration-style: solid;
  text-decoration-color: #2256a0;
}

/* em-dash separator between title and summary */
li code {
  font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, monospace;
  font-size: 0.82em;
  background: #f3f3f3;
  padding: 0.15em 0.35em;
  border-radius: 3px;
  color: #555;
}

/* === Footer metadata (table from trailing | in md) === */
main > table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

main > table td {
  border: none;
  padding: 0;
  padding-right: 1rem;
  font-size: 0.78rem;
  font-style: italic;
  color: #aaa;
}

/* === Italic text (timestamps etc) === */
main > p > em,
main > em {
  font-size: 0.8rem;
  color: #aaa;
  font-style: italic;
}

/* === Site Footer === */
footer {
  margin-top: 4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e8e8e8;
  font-size: 0.72rem;
  color: #bbb;
  letter-spacing: 0.03em;
}

footer a {
  color: #bbb;
}

footer a:hover {
  color: #888;
}

/* === Index Page === */
.brief-list {
  list-style: none;
  padding: 0;
}

.brief-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid #efefef;
  font-size: 0.95rem;
}

.brief-list li:last-child {
  border-bottom: none;
}

.brief-list a {
  color: #333;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brief-list a:hover {
  color: #000;
}

/* === Responsive === */
@media (max-width: 600px) {
  body {
    padding: 1.5rem 1rem 3rem;
  }

  blockquote table td {
    display: block;
    padding-right: 0;
  }
}
