.note-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: var(--space-sm);
}
.note-back:hover { text-decoration: underline; }

.note-hero { padding-top: 72px; padding-bottom: var(--space-xl); }
.note-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.04;
  max-width: 20ch;
  color: var(--beige);
}

.note-hero .note-lede {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: rgba(227,219,207,0.82);
  max-width: 48ch;
  margin-top: var(--space-sm);
}

.note-body { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }

.note-body .wrap { max-width: 720px; margin-left: max(0px, calc((100% - 1100px) / 2)); }

.note-prose p {
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 1.35em;
  text-wrap: pretty;
}
.note-prose > p:first-child { font-size: 21px; }
.note-prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  color: var(--navy);
  margin-top: var(--space-lg);
  margin-bottom: 0.6em;
  text-wrap: balance;
}
.note-prose > h2:first-child { margin-top: 0; }
.note-prose strong { font-weight: 700; color: var(--navy); }

.note-prose ul { list-style: none; margin: 0 0 1.35em; padding: 0; }
.note-prose li {
  position: relative;
  padding-left: 26px;
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 14px;
  color: rgba(51,51,51,0.82);
  text-wrap: pretty;
}
.note-prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--accent-on-light);
  border-radius: 1px;
}

.note-close {
  border-left: 3px solid var(--accent-on-light);
  padding-left: var(--space-sm);
  margin-top: var(--space-lg);
}
.note-close p {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0;
}

.note-index-head { padding-bottom: var(--space-xl); }
.note-index-head h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1.02;
  max-width: 16ch;
  color: var(--beige);
}
.note-index-head p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: rgba(227,219,207,0.82);
  max-width: 52ch;
  margin-top: var(--space-sm);
}

.note-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.note-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid rgba(1,35,52,0.1);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.note-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.note-card-title {
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 12px;
  text-wrap: balance;
}
.note-card-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(51,51,51,0.82);
}

@media (prefers-reduced-motion: reduce) {
  .note-card { transition: border-color 0.18s ease; }
  .note-card:hover { transform: none; }
}

@media (width < 1024px) {
  .note-index-grid { grid-template-columns: 1fr; }
  .note-hero { padding-top: var(--space-md); }
  .note-body { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
  .note-prose p, .note-prose li { font-size: 18px; }
  .note-prose > p:first-child { font-size: 19px; }
}
