:root {
  --bg: #efede6;
  --text: #171717;
  --muted: #6a6862;
  --line: #d6d1c6;
  --accent: #7a4f2a;
  --max-width: 760px;
}

body.dark {
  --bg: #151514;
  --text: #eee9de;
  --muted: #aaa399;
  --line: #34312d;
  --accent: #d2a36d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

button {
  font: inherit;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.note-page {
  max-width: 720px;
  padding-top: 60px;
  padding-bottom: 80px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 96px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  color: var(--muted);
}

.note-page .site-header {
  margin-bottom: 72px;
}

.name {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}

.theme-toggle {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 13px;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--accent);
}

.hero {
  margin-bottom: 72px;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.hero p,
.intro-text p {
  margin: 28px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

.now {
  border-left: 2px solid var(--accent);
  padding-left: 18px;
  margin-bottom: 84px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  display: inline-block;
}

.now-meta {
  margin-left: 6px;
  font-size: 12px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.now p:last-child {
  margin: 0;
  font-size: 20px;
}

section {
  margin-bottom: 84px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 28px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.section-title h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.section-title a {
  color: var(--muted);
  font-size: 14px;
}

.item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.item:first-child {
  padding-top: 0;
}

.meta {
  color: var(--muted);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.item h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.item p {
  margin: 0;
  color: var(--muted);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.note h1 {
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.15;
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: -0.03em;
}

.note .meta {
  margin-bottom: 48px;
}

.note p {
  margin: 20px 0;
  font-size: 18px;
  line-height: 1.7;
}

.note hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

.footer-note {
  margin-top: 96px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 72px;
  }

  nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}