* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f5f5f5;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  color: #5a5a5a;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.content {
  position: relative;
  z-index: 2;
  max-width: min(760px, 92vw);
  margin: 0 auto;
  padding: clamp(50px, 10vh, 90px) clamp(20px, 5vw, 40px) 100px;
}

a {
  color: #3a3a3a;
  text-decoration: none;
  position: relative;
  font-weight: 400;
}

a::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 66%;
  left: -0.1em;
  right: -0.1em;
  bottom: 0;
  transition: top 200ms cubic-bezier(0, 0.8, 0.13, 1);
  background-color: rgba(197, 197, 197, 0.5);
}

a:hover::after {
  top: 0;
}

.back {
  display: inline-block;
  font-size: 0.85em;
  color: #888;
  margin-bottom: 2.5em;
}

h1 {
  font-size: clamp(1.5rem, 3vw + 1rem, 2.1em);
  font-weight: 300;
  color: #2a2a2a;
  margin-bottom: 0.3em;
  line-height: 1.25;
}

.meta {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 2.5em;
}

.subtitle {
  font-size: 1.05em;
  color: #4a4a4a;
  font-weight: 300;
  margin-bottom: 2em;
  line-height: 1.6;
}

article h2 {
  font-size: 1.2em;
  font-weight: 500;
  color: #2a2a2a;
  margin: 1.8em 0 0.7em;
}

article h3 {
  font-size: 1.02em;
  font-weight: 500;
  color: #3a3a3a;
  margin: 1.5em 0 0.5em;
}

article p {
  font-size: 0.98em;
  line-height: 1.75;
  margin-bottom: 1.1em;
}

article ul,
article ol {
  margin: 0 0 1.1em 1.3em;
  line-height: 1.75;
  font-size: 0.98em;
}

article li {
  margin-bottom: 0.35em;
}

article strong {
  color: #2a2a2a;
  font-weight: 600;
}

article code {
  background: rgba(0, 0, 0, 0.05);
  padding: 0.15em 0.4em;
  font-size: 0.9em;
  font-family: "SF Mono", "Courier New", monospace;
}

blockquote {
  border-left: 2px solid #ccc;
  padding: 0.2em 0 0.2em 1.2em;
  margin: 1.3em 0;
  color: #777;
  font-size: 0.95em;
  font-style: italic;
}

.warning {
  border-left: 2px solid #b08900;
  background: rgba(176, 137, 0, 0.06);
  padding: 0.8em 1.2em;
  margin: 1.3em 0;
  font-size: 0.92em;
  color: #6a5400;
}

hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 2.5em 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.3em 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.88em;
}

th,
td {
  text-align: left;
  padding: 0.5em 0.8em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

th {
  color: #888;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.checklist {
  list-style: none;
  margin-left: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
}

.checklist input {
  margin-top: 0.35em;
  flex-shrink: 0;
}

.posts {
  list-style: none;
}

.posts li {
  margin-bottom: 1.4em;
  padding-bottom: 1.4em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

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

.posts .post-title {
  font-size: 1.1em;
  color: #2a2a2a;
  font-weight: 500;
  display: block;
  margin-bottom: 0.2em;
}

.posts .post-meta {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 0.4em;
}

.posts .post-excerpt {
  font-size: 0.92em;
  color: #5a5a5a;
  line-height: 1.6;
}
