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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Header */







/* Language Dropdown */











/* Top bar */
.topbar {
  padding: 18px 24px 0;
}

.topbar-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 24px;
}

.topbar-split {
  justify-content: space-between;
}

.topbar .back-link {
  margin-bottom: 0;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-social a {
  color: #999;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.topbar-social a:hover {
  color: #111;
}

/* Hero */

.hero {
  padding: 40px 24px 56px;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
}

.hero-photo img {
  width: 160px;
  height: 160px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-text h1 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.hero-role {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  font-weight: 500;
}

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

.hero-role a:hover {
  text-decoration: underline;
}

.hero-bio {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 12px;
}

.hero-edu {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Sections */
.section {
  padding: 48px 24px;
  border-top: 1px solid #f0f0f0;
}

.section-inner {
  max-width: 720px;
  margin: 0 auto;
}

.section-inner h2 {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

/* Crypto Origin Section */
.crypto-origin-text {
  margin-bottom: 20px;
}

.crypto-origin-text p {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 12px;
}

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

.crypto-origin-text a:hover {
  text-decoration: underline;
}

/* Experience */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.experience-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.experience-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.experience-role {
  font-size: 16px;
  font-weight: 500;
  color: #111;
}

.experience-company {
  font-size: 15px;
  color: #aaa;
}

.experience-company::before {
  content: "\2014\00a0";
}

.experience-company a {
  color: inherit;
  text-decoration: none;
}

.experience-company a:hover {
  color: #2563eb;
}

.experience-location {
  font-size: 13px;
  color: #bbb;
}

.experience-location::before {
  content: "\00b7\00a0";
}

.experience-duration {
  font-size: 13px;
  color: #bbb;
}

.experience-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.5;
}

/* Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
  border: none;
  background: none;
  transition: color 0.2s;
  flex-wrap: wrap;
}

.card:hover {
  color: #2563eb;
}

.card-number {
  font-size: 18px;
  font-weight: 500;
  color: #aaa;
  margin-right: 4px;
  flex-shrink: 0;
}

.card-title {
  font-size: 18px;
  font-weight: 500;
  color: inherit;
}

.card-source {
  font-size: 15px;
  color: #aaa;
  margin-left: 4px;
}

.card-source::before {
  content: "\2014\00a0";
}

.card-arrow {
  flex-shrink: 0;
  color: #ccc;
  transition: color 0.2s;
  margin-left: 2px;
}

.card:hover .card-arrow {
  color: #2563eb;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 4px 10px;
  background: none;
  border-radius: 12px;
  font-size: 13px;
  color: #999;
  border: none;
}

/* Footer */
.footer {
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  padding: 40px 24px;
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-links a {
  color: #999;
  transition: color 0.2s;
  display: flex;
}

.footer-links a:hover {
  color: #111;
}

.footer-copy {
  font-size: 13px;
  color: #aaa;
}

/* Article / Predictions Page */
.article {
  padding: 36px 24px 64px;
}

.article-inner {
  max-width: 720px;
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  font-size: 14px;
  color: #2563eb;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}

.back-link:hover {
  color: #1d4ed8;
}

.article-title {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.article-subtitle {
  font-size: 15px;
  color: #888;
  margin-bottom: 40px;
}

.article-body h2 {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin-top: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.article-body p {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-body ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.article-body li {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 12px;
}

.article-divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 48px 0 32px;
}

.article-haiku {
  text-align: center;
  color: #888;
  font-size: 15px;
  line-height: 1.8;
}

.article-haiku em {
  font-style: italic;
}

.haiku-note {
  font-size: 13px;
  color: #bbb;
  margin-top: 12px;
  font-style: italic;
}

/* Mobile */
@media (max-width: 640px) {
  .hero {
    padding: 32px 24px 40px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .hero-photo img {
    width: 120px;
    height: 120px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .section {
    padding: 36px 24px;
  }

  .tags {
    justify-content: center;
  }

  /* Experience header: stack vertically */
  .experience-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .experience-company::before,
  .experience-location::before {
    content: "";
  }

  /* Cards: allow wrapping */
  .card {
    align-items: flex-start;
  }

  .card-title {
    font-size: 16px;
  }

  .card-source {
    font-size: 14px;
  }

  /* Header adjustments */


  /* Article page */
  .article {
    padding: 28px 24px 48px;
  }

  .article-title {
    font-size: 24px;
  }
}

