/* =========================================================
   Legendev — /notes/ build log
   Tokens from /shared/brand.css.
   ========================================================= */

.notes-main { max-width: 720px; padding: 56px 24px 90px; }
.notes-back {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--text-faint); text-transform: uppercase; transition: color .2s;
}
.notes-back:hover { color: var(--accent); }

/* index */
.notes-head h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 4.5vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; margin: 14px 0 10px; }
.notes-head p { color: var(--text-dim); max-width: 58ch; }
.notes-head .rss { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); }
.notes-head .rss a { color: var(--accent); }
.notes-list { margin-top: 40px; }
.note-item { display: block; padding: 22px 2px; border-bottom: 1px solid var(--border-soft); transition: padding-left .2s; }
.note-item:first-child { border-top: 1px solid var(--border-soft); }
.note-item:hover { padding-left: 10px; }
.note-item .meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); letter-spacing: 0.05em; }
.note-item h2 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin: 6px 0; }
.note-item:hover h2 { color: var(--accent); }
.note-item .teaser { color: var(--text-dim); font-size: 14.5px; }

/* post */
.post h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin: 14px 0 10px; }
.post .meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); letter-spacing: 0.05em; margin-bottom: 36px; }
.post p { color: var(--text-dim); font-size: 15.5px; line-height: 1.75; margin-bottom: 18px; }
.post p strong { color: var(--text); }
.post h2 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin: 32px 0 12px; color: var(--text); }
.post code { font-family: var(--font-mono); font-size: 0.88em; background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 4px; padding: 1px 6px; color: var(--text); }
.post pre {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px; overflow-x: auto; margin: 0 0 18px; line-height: 1.6;
}
.post pre code { background: none; border: 0; padding: 0; font-size: 12.5px; color: var(--text-dim); }
.post ul { margin: 0 0 18px 20px; color: var(--text-dim); font-size: 15px; line-height: 1.7; }
.post li { margin-bottom: 6px; }
.post .takeaway {
  border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; margin: 26px 0;
  color: var(--text); font-size: 15.5px;
}
.post-nav { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border-soft); }
.post-nav a { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }

.notes-footer { border-top: 1px solid var(--border-soft); padding: 26px 0; }
.notes-footer .container { font-size: 13px; color: var(--text-faint); }
.notes-footer a { color: var(--text-dim); }
.notes-footer a:hover { color: var(--accent); }
