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

html {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
  min-height: 100%;
}

a {
  color: #5B5EA6;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #3d3f7a;
}

/* ── Layout ── */
.home {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

/* ── Header ── */
.home-header {
  margin-bottom: 3rem;
}

.home-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  color: #111;
}

.home-tagline {
  font-family: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  color: #888;
  letter-spacing: 0.02em;
}

.home-rule {
  margin-top: 1.2rem;
  height: 2px;
  border: none;
  background: linear-gradient(90deg, #5B5EA6 0%, #8B5CF6 40%, #ddd 100%);
  border-radius: 1px;
}

/* ── Section ── */
.home-section {
  margin-bottom: 2.5rem;
}

.home-section-title {
  font-family: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 1rem;
}

/* ── About ── */
.about-list {
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #333;
}

.about-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #5B5EA6;
  font-weight: 700;
}

.about-list li a {
  border-bottom: 1px solid #d4d4f7;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.about-list li a:hover {
  border-bottom-color: #5B5EA6;
}

/* ── Post List ── */
.post-list {
  list-style: none;
}

.post-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f0f0f0;
  transition: border-color 0.2s ease;
}

.post-item:last-child {
  border-bottom: none;
}

.post-item:hover {
  border-bottom-color: #ddd;
}

.post-date {
  font-family: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: #aaa;
  flex-shrink: 0;
  min-width: 5.5rem;
}

.post-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
  transition: color 0.2s ease;
}

.post-item:hover .post-title {
  color: #5B5EA6;
}

/* ── Contact ── */
.contact-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.contact-links a {
  font-family: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: #666;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-links a:hover {
  color: #5B5EA6;
  border-bottom-color: #5B5EA6;
}

/* ── Footer ── */
.home-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
  font-family: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: #ccc;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .home {
    padding: 2.5rem 1.25rem 2rem;
  }

  .post-item {
    flex-direction: column;
    gap: 0.15rem;
  }

  .post-date {
    min-width: auto;
  }

  .contact-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}
