/* Set list — notepad with torn bottom edge */
.notepad {
  position: relative;
  background:
    repeating-linear-gradient(180deg,
      transparent 0 20px,
      rgba(60, 60, 100, 0.18) 20px 21px),
    var(--cream-light);
  padding: 10px 16px 18px;
  min-height: 200px;
}
.notepad::after {
  /* torn bottom edge */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 12px;
  background: var(--cream-light);
  clip-path: polygon(
    0 0, 4% 60%, 9% 30%, 14% 70%, 19% 40%, 24% 80%, 30% 35%, 36% 65%,
    42% 30%, 48% 70%, 54% 40%, 60% 75%, 66% 30%, 72% 65%, 78% 35%,
    84% 70%, 90% 40%, 96% 60%, 100% 30%, 100% 0
  );
}
.notepad__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 4px;
  margin-bottom: 8px;
}
.notepad__title {
  font-family: var(--f-type);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
}
.notepad__date {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-soft);
}
.notepad__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--f-type);
  font-size: 13px;
  color: var(--ink);
}
.notepad__list li {
  height: 20px;
  display: flex;
  align-items: center;
  letter-spacing: 0.06em;
  font-size: 12px;
}
.notepad__list .num { color: var(--red); margin-right: 10px; font-weight: 700; }

/* Link-in-bio variant — reuses notepad paper styling */
.notepad--links { padding-bottom: 42px; }
.notepad__list--links li {
  height: 21px;
  font-size: 12.5px;
  align-items: baseline;
  gap: 6px;
}
/* Lock the number column to a fixed width with tabular figures so every row's
   icon + text starts at the exact same x — otherwise the digit "04" can render
   ~1.5px wider than "01" in typewriter fonts and push the icon out of column. */
.notepad__list--links .num {
  display: inline-block;
  width: 18px;
  text-align: left;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  margin-right: 4px;
}
.notepad__list--links li a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  border-bottom: 1px dotted var(--ink-faint);
  padding-bottom: 1px;
  max-width: calc(100% - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color var(--hover-ms) var(--ease), border-color var(--hover-ms) var(--ease);
}
.notepad__list--links li a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}
.notepad__list--links .link-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  align-self: center;
  display: block;
  /* Circles are rotation-invariant — no counter-rotation needed.
     Icons rotate naturally with the card and stay visually clean. */
}
.notepad__sig--link {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: auto;
  font-family: var(--f-scribble);
  font-size: 17px;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px dashed var(--red);
  padding-bottom: 1px;
}
.notepad__sig--link:hover { color: var(--red-deep); }
