/* Jimmy Ji — one column, plain text. Light by default; the theme button
   switches to dark (html[data-theme="dark"], set by theme.js). */

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #5f5f5f;
  --line: #e4e4e4;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #111111;
  --text: #ececec;
  --muted: #a3a3a3;
  --line: #2c2c2c;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main, footer {
  max-width: 640px;
  margin: 0 auto;
  padding-inline: 20px;
}

main { padding-top: clamp(48px, 10vw, 96px); }

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

p { margin: 0 0 1em; }

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.theme-toggle:hover { color: var(--text); border-color: var(--muted); }
.theme-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.theme-toggle[hidden] { display: none; }
.theme-toggle svg { width: 18px; height: 18px; }
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }

.avatar {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

h1 {
  margin: 24px 0 2px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.role { color: var(--muted); margin-bottom: 20px; }

.links { color: var(--muted); word-spacing: 0.25em; }
.links a { color: var(--text); word-spacing: normal; }

section { margin-top: 44px; }

h2 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
}

ul { margin: 0; padding-left: 1.1em; }
li { margin: 0 0 10px; padding-left: 2px; }
li::marker { color: var(--muted); }
strong { font-weight: 600; }

footer {
  margin-top: 56px;
  padding-bottom: 48px;
  color: var(--muted);
  font-size: 14px;
}
footer p {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
