:root {
  --bg: #ffffff;
  --text: #1a1d23;
  --text-dim: #6b7280;
  --border: #e5e7eb;
  --accent: #4f46e5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* ---------- Header ---------- */

.header {
  border-bottom: 2px solid var(--text);
  padding-bottom: 16px;
  margin-bottom: 28px;
}

.header h1 {
  margin: 0 0 4px;
  font-size: 30px;
  letter-spacing: -0.01em;
}

.headline {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--text-dim);
}

.contact {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Sections ---------- */

section {
  margin-bottom: 28px;
}

h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  margin: 0 0 14px;
}

.entry {
  margin-bottom: 16px;
}

.entry:last-child {
  margin-bottom: 0;
}

.entry-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.entry-title {
  font-weight: 600;
  font-size: 15px;
}

.entry-link {
  font-weight: 400;
  font-size: 13px;
  margin-left: 6px;
}

.entry-date {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-dim);
}

.entry p {
  margin: 4px 0 0;
  font-size: 14px;
}

.entry ul {
  margin: 4px 0 0;
  padding-left: 20px;
  font-size: 14px;
}

.skills {
  font-size: 14px;
  margin: 0;
  line-height: 1.8;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  font-size: 12px;
  color: var(--text-dim);
}

/* ---------- Print ---------- */

@media print {
  .page {
    padding: 0;
    max-width: none;
  }
}
