:root {
  --background: #ffffff;
  --foreground: #0e1218;
  --border: #e1e8ef;
  --muted-foreground: #6b7f94;
  --primary: #3f8f64;
  --accent: #eef3f0;
}

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

html,
body {
  height: 100%;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

/* Hero */
.hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}

.hero-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.avatar {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.hero-name {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.muted {
  color: var(--muted-foreground);
  font-size: 13px;
}

.mobile-br {
  display: none;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: var(--foreground);
  font-size: 13px;
  border: 1px solid var(--border);
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

.links a:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--primary);
  text-decoration: none;
}

.links svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Sections */
.section {
  margin-top: 28px;
}

.section-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.about {
  font-size: 14px;
  color: var(--foreground);
}

.news {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.news li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 6px 0;
  align-items: start;
}

.news .date {
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  padding-top: 1px;
}

.news .news-text {
  font-size: 14px;
  color: var(--foreground);
}

/* Mobile */
@media (max-width: 560px) {
  .page {
    padding: 32px 20px 56px;
  }

  .hero {
    gap: 14px;
  }

  .hero-left {
    flex: 1 1 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
  }

  .avatar {
    width: 100px;
    height: 100px;
  }

  .hero h1 {
    font-size: 18px;
  }

  .mobile-br {
    display: inline;
  }

  .links a {
    padding: 6px 10px;
    font-size: 12px;
  }

  .news li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
